Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(orca): 计划锁的插件在册判定接受命名空间实例标识
Zhang Yunjin0255f43c9ba6
diff --git a/apps/desktop/src/main/maker-ipc/register.ts b/apps/desktop/src/main/maker-ipc/register.tsindex 2e99a0ada4..e4d6248f08 100644--- a/apps/desktop/src/main/maker-ipc/register.ts+++ b/apps/desktop/src/main/maker-ipc/register.ts@@ -14945,8 +14945,14 @@ export function registerMakerIpc(maker: Maker, options: RegisterMakerIpcOptions)if (epoch !== getCurrentDbClientSnapshot()) throw new Error('account changed');// 仅"插件已卸载(任务归属确实撤销)"解除计划锁;停用 / 未批准可恢复,重新启用后// 计划仍会继续,保持锁定(fail closed)。+ //+ // 收据里存的是**存储 part**(带命名空间时形如 `_ns__acme__helper`),只按+ // manifest.id 查会把它当成「不在册」,于是仍被计划引用的 Worker 被人改名,+ // 收据续期也随之失效。先按实例标识解一次,再退回 manifest.id。const pluginInstalled =- receipt !== undefined && findAvailableGhostForAuthorization(receipt.pluginId) !== null;+ receipt !== undefined &&+ (findAvailableGhostForAuthorization(receipt.pluginId) !== null ||+ findGhostForInstanceId(receipt.pluginId) !== null);return isTeamPlanLabelLockedByReceipt(receipt, pluginInstalled, labels);},markWorkerIdle: async (workerId) => {