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。

Merge pull request #7657 from makecindy/feature/local-plugin-sharing

Lizic8ccb06de52a
diff --cc apps/desktop/src/main/cindy-brain/index.ts
index b0226ec5e4,29112d195a..5b931c58a3
--- a/apps/desktop/src/main/cindy-brain/index.ts
+++ b/apps/desktop/src/main/cindy-brain/index.ts
@@@ -8267,9 -8231,9 +8305,10 @@@ export function registerGhostIpc(): voi
setEnabled: async (id, enabled, approval, assertCurrent) => { await setGhostEnabledForUser(id, enabled, approval, assertCurrent); },
uninstall: async (id, _approval, assertCurrent) => { assertCurrent(); await uninstallGhostAndCleanup(id, { assertCurrent }); },
installFile: installRemoteGhostFile,
+ installShare: (snapshot, prompt, assertScope) => requireRemotePluginManagementServices().installShare(snapshot, prompt, assertScope),
});
mobilePluginPages = new MobilePluginPages({
+ answerModelPicker: (pageId, requestId, route) => getGhostModelPicker().resolve(pageId, requestId, route),
management: remotePluginManagement,
list: availableGhosts,
listOrder: () => {