Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(test): 更新 chatInputSessionFocus 测试断言以匹配新 pluginAvailableIds 检查
Shinkua85c538f4836
diff --git a/apps/desktop/src/renderer/__tests__/chatInputSessionFocus.test.ts b/apps/desktop/src/renderer/__tests__/chatInputSessionFocus.test.tsindex 693e691072..bac8e65c5f 100644--- a/apps/desktop/src/renderer/__tests__/chatInputSessionFocus.test.ts+++ b/apps/desktop/src/renderer/__tests__/chatInputSessionFocus.test.ts@@ -134,7 +134,7 @@ describe('ChatInput session switch focus contract', () => {),).toHaveLength(1);expect(capabilitySelectionBlock).toContain("selectedItem.type === 'plugin-command'");- expect(capabilitySelectionBlock).toContain('!ghost?.enabled || !ghost.manifest.command');+ expect(capabilitySelectionBlock).toContain('!ghost?.enabled');expect(capabilitySelectionBlock).toContain('placeGhostAtComposerStart(editor, ghost, installedGhostsRef.current);',);