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): 补 remoteHostId 到 Host capability handoff effect 依赖数组

Shinku34b4385d0397
diff --git a/apps/desktop/src/renderer/components/new-chat/ChatInput.tsx b/apps/desktop/src/renderer/components/new-chat/ChatInput.tsx
index de452825b0..fe856d9789 100644
--- a/apps/desktop/src/renderer/components/new-chat/ChatInput.tsx
+++ b/apps/desktop/src/renderer/components/new-chat/ChatInput.tsx
@@ -3620,7 +3620,7 @@ export function ChatInput({
{ silent: true },
);
focusComposerEndNextFrame(editor);
- }, [editor, ghostsForCommand, installedGhosts, storageKey, deviceLinkDeviceId]);
+ }, [editor, ghostsForCommand, installedGhosts, storageKey, deviceLinkDeviceId, remoteHostId]);
// browser-comment-chip:挂载 / 会话切换时从草稿恢复评论胶囊。
useEffect(() => {