Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(desktop): skip respawn after failed local update rollback
Yuewei-LL66b1fcea2f9b
diff --git a/apps/desktop/src/main/cindy-brain/index.ts b/apps/desktop/src/main/cindy-brain/index.tsindex f5a655a175..18ab9d7dd5 100644--- a/apps/desktop/src/main/cindy-brain/index.ts+++ b/apps/desktop/src/main/cindy-brain/index.ts@@ -5780,7 +5780,12 @@ export function registerGhostIpc(): void {}if ('rejection' in result) {restoreMarketRecord();- if (previousGhost) spawnIfResident(previousGhost);+ // 回滚失败 = 安装目录可能已是新字节或缺失,"旧版本还在"不成立,+ // 不得按旧 InstalledGhost 重启运行时(P1:那会拿旧批准跑未知字节)。+ if (previousGhost &&+ !(result.rejection.code === 'io' && result.rejection.rollbackFailed)) {+ spawnIfResident(previousGhost);+ }throwInstallError(result.rejection);}runtime.resetFuse(inspected.manifest.id); // 换了代码,给新版本干净的熔断记账