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): pass bundled source when toggling skill receipt enabled

Yuewei-LL220d62dea762
diff --git a/apps/desktop/src/main/cindy-brain/GhostManager.ts b/apps/desktop/src/main/cindy-brain/GhostManager.ts
index 647e186241..b978e38ffc 100644
--- a/apps/desktop/src/main/cindy-brain/GhostManager.ts
+++ b/apps/desktop/src/main/cindy-brain/GhostManager.ts
@@ -3451,7 +3451,7 @@ export class GhostManager {
await this.receiptStore.write({
...current.receipt,
enabled,
- });
+ }, { skillSourceDir: sourceDir });
await this.finishTrustedBundledPublish(manifest.id, pendingPublish);
this.untrustedApprovals.delete(this.isolationKey(manifest.id));
return true;