Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/electron/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@proma/electron",
"version": "0.14.17",
"version": "0.14.18",
"description": "Proma next gen ai software with general agents - Electron App",
"main": "dist/main.cjs",
"author": {
Expand Down
6 changes: 1 addition & 5 deletions apps/electron/src/main/lib/agent-session-context-prompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,8 @@ function getSessionCleanerSkillName(workspaceSlug?: string): string {
: 'session-cleaner'
}

function getSessionCliCommandPrefix(): string {
return getBundledCliPath() ? '"$PROMA_CLI"' : 'proma'
}

function buildSessionCliAccessGuide(sessionId: string, historyPath: string, workspaceSlug?: string): string {
const cli = getSessionCliCommandPrefix()
const cli = 'proma'
const skillName = getSessionCleanerSkillName(workspaceSlug)
return [
`优先使用 session-cleaner skill(${skillName})读取当前会话历史;它是 Proma CLI 的薄封装,会把 Agent JSONL 清洗为干净对话。`,
Expand Down