Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

fix(desktop): 修复 drain 后 workingDir 过期 + zh-TW 重复 key

Shinku2ad1f149c959
diff --git a/apps/desktop/src/main/maker-ipc/title.ts b/apps/desktop/src/main/maker-ipc/title.ts
index 7c2b63cb24..75336216fb 100644
--- a/apps/desktop/src/main/maker-ipc/title.ts
+++ b/apps/desktop/src/main/maker-ipc/title.ts
@@ -491,6 +491,7 @@ export function registerMakerTitleIpc(options: RegisterMakerTitleIpcOptions = {}
source: sessions.source,
status: sessions.status,
agentKind: sessions.agentKind,
+ workingDir: sessions.workingDir,
})
.from(sessions)
.where(eq(sessions.id, sessionId));
@@ -521,7 +522,7 @@ export function registerMakerTitleIpc(options: RegisterMakerTitleIpcOptions = {}
sessionId,
agentKind,
messages,
- ...(sessionRow.workingDir ? { workingDir: sessionRow.workingDir } : {}),
+ ...(latestSessionRow.workingDir ? { workingDir: latestSessionRow.workingDir } : {}),
}),
};
} finally {
diff --git a/apps/desktop/src/renderer/i18n/locales/zh-TW/common.json b/apps/desktop/src/renderer/i18n/locales/zh-TW/common.json
index b3c0355ede..a05a2b5648 100644
--- a/apps/desktop/src/renderer/i18n/locales/zh-TW/common.json
+++ b/apps/desktop/src/renderer/i18n/locales/zh-TW/common.json
@@ -3801,13 +3801,6 @@
"collapseDiff": "收起",
"description": "權限無變化的更新會自動完成;涉及權限變更的需要你逐項確認。",
"versionRange": "v{{from}} → v{{to}}",
- "permissionChanged": "權限有變更",
- "reviewOutdated": "權限差異已過期",
- "rereview": "重新審閱",
- "reviewDiff": "檢視並確認",
- "collapseDiff": "收起",
- "approve": "同意並更新",
- "skip": "跳過此項",
"statusPending": "排隊中",
"statusInstalling": "更新中…",
"statusDone": "已更新",