From 71cc8aee405f73729d231b45e52f939d30b7f8dd Mon Sep 17 00:00:00 2001 From: Jiang Bohan Date: Thu, 5 Feb 2026 03:41:45 +0800 Subject: [PATCH] fix(desktop): add sessions_spawn to tool groups The sessions_spawn tool was not showing in the desktop tools UI because TOOL_GROUPS and ALL_KNOWN_TOOLS were missing the subagent group. Co-Authored-By: Claude Opus 4.5 --- apps/desktop/electron/ipc/agent.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/desktop/electron/ipc/agent.ts b/apps/desktop/electron/ipc/agent.ts index a358b88a..61622286 100644 --- a/apps/desktop/electron/ipc/agent.ts +++ b/apps/desktop/electron/ipc/agent.ts @@ -13,6 +13,7 @@ const TOOL_GROUPS: Record = { 'group:runtime': ['exec', 'process'], 'group:web': ['web_search', 'web_fetch'], 'group:memory': ['memory_get', 'memory_set', 'memory_delete', 'memory_list'], + 'group:subagent': ['sessions_spawn'], } // All known tool names (for display when agent not available) @@ -21,6 +22,7 @@ const ALL_KNOWN_TOOLS = [ ...TOOL_GROUPS['group:runtime'], ...TOOL_GROUPS['group:web'], ...TOOL_GROUPS['group:memory'], + ...TOOL_GROUPS['group:subagent'], ] /**