Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(desktop): add sessions_spawn to tool groups

Jiang Bohan71cc8aee405f
diff --git a/apps/desktop/electron/ipc/agent.ts b/apps/desktop/electron/ipc/agent.ts
index a358b88a53..6162228682 100644
--- a/apps/desktop/electron/ipc/agent.ts
+++ b/apps/desktop/electron/ipc/agent.ts
@@ -13,6 +13,7 @@ const TOOL_GROUPS: Record<string, string[]> = {
'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'],
]
/**