The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fmt(js): `npm run fix` on merge (#134737)
hermes-seaeye[bot]3090ef773117
diff --git a/apps/desktop/electron/handoff-result.test.ts b/apps/desktop/electron/handoff-result.test.tsindex c201f0d4835..ed33ad49c14 100644--- a/apps/desktop/electron/handoff-result.test.ts+++ b/apps/desktop/electron/handoff-result.test.ts@@ -144,6 +144,7 @@ test('line 2 moved by the heartbeat inside the run still correlates its result',const home = tempHome()const now = Math.floor(Date.now() / 1000)const started_at = now - 900+const result = {ok: false,exit_code: 3,diff --git a/apps/desktop/electron/remote-update-marker-programs.test.ts b/apps/desktop/electron/remote-update-marker-programs.test.tsindex f95bf968d45..b80c2511354 100644--- a/apps/desktop/electron/remote-update-marker-programs.test.ts+++ b/apps/desktop/electron/remote-update-marker-programs.test.ts@@ -65,6 +65,7 @@ test.skipIf(!powershell)(try {writeFileSync(script, `${WINDOWS_MARKER_JUDGE_PS}\n${PS_DRIVER}`)+const { stdout } = await execFile(powershell!, ['-NoProfile','-ExecutionPolicy',@@ -73,6 +74,7 @@ test.skipIf(!powershell)(script,corpusPath])+const verdicts = Object.fromEntries(stdout.trim()diff --git a/apps/desktop/electron/windows-remote-lifecycle.test.ts b/apps/desktop/electron/windows-remote-lifecycle.test.tsindex 6b56cc2fd22..8dd81df0052 100644--- a/apps/desktop/electron/windows-remote-lifecycle.test.ts+++ b/apps/desktop/electron/windows-remote-lifecycle.test.ts@@ -268,9 +268,11 @@ test('Windows gates keep a dead marker while the checkout lock or a lease byte i}const deleteAt = spawnScript.indexOf('[IO.File]::Delete($marker)')+const guardAt = spawnScript.indexOf('if($verdict -eq "CLEAR" -and (Test-CheckoutLockHeld $checkoutRoots)){$verdict="HELD"}')+assert.ok(guardAt > 0 && guardAt < deleteAt, 'the checkout probe must precede the dead-marker delete')assert.match(probeScript,diff --git a/apps/desktop/src/app/shell/butterbar.tsx b/apps/desktop/src/app/shell/butterbar.tsxindex 08176b56a71..4f0d9542044 100644--- a/apps/desktop/src/app/shell/butterbar.tsx+++ b/apps/desktop/src/app/shell/butterbar.tsx@@ -17,10 +17,12 @@ export function Butterbar() {const items = useStore($butterbarItems)const [activeId, setActiveId] = useState<null | string>(null)const [paused, setPaused] = useState(false)+const index = Math.max(0,items.findIndex(item => item.id === activeId))+const item = items[index]const multiple = items.length > 1diff --git a/apps/desktop/src/components/assistant-ui/catalog-advanced-dialog.tsx b/apps/desktop/src/components/assistant-ui/catalog-advanced-dialog.tsxindex a368b8610ba..6f1cf4b1e81 100644--- a/apps/desktop/src/components/assistant-ui/catalog-advanced-dialog.tsx+++ b/apps/desktop/src/components/assistant-ui/catalog-advanced-dialog.tsx@@ -109,10 +109,12 @@ function CatalogAdvancedForm({ entry, fields, kind, onCancel, onInstall }: Catalconst profiles = useStore($profiles)const [agentHalf, setAgentHalf] = useState(true)const [desktopHalf, setDesktopHalf] = useState(entry.hasDesktopHalf)+// Empty when the chat's home is no named profile: the install then goes to the chat's own home.const [targetProfile, setTargetProfile] = useState(entry.targetProfile ? normalizeProfileKey(entry.targetProfile) : '')+const [enable, setEnable] = useState(true)const [force, setForce] = useState(false)const [pin, setPin] = useState(entry.sha ?? '')diff --git a/apps/desktop/src/i18n/zh_projects.ts b/apps/desktop/src/i18n/zh_projects.tsindex 79a80741433..453b34ff976 100644--- a/apps/desktop/src/i18n/zh_projects.ts+++ b/apps/desktop/src/i18n/zh_projects.ts@@ -68,8 +68,7 @@ export const zhProjects: NonNullable<TranslationOverrides['sidebar']>['projects'noBranches: '未找到分支',removeWorktree: '移除工作树',removeWorktreeFailed: '无法移除工作树(存在未提交更改?)',- removeWorktreeConfirm:- '从 git 中移除(删除工作树目录,但保留分支),或仅从侧边栏隐藏该泳道并将工作树保留在磁盘上。',+ removeWorktreeConfirm: '从 git 中移除(删除工作树目录,但保留分支),或仅从侧边栏隐藏该泳道并将工作树保留在磁盘上。',removeWorktreeDirty: '此工作树有未提交的更改。强制移除(丢弃这些更改),或仅隐藏泳道并保留在磁盘上。',forceRemove: '强制移除',enter: label => `打开 ${label}`,