BTerminal/v2/src/lib
Hibryda 07fc52b958 feat(v2): add agent teams support with subagent pane spawning and routing
Detect subagent tool_call events (Agent/Task/dispatch_agent), auto-spawn
child agent panes with parent/child navigation. Messages with parentId
are routed to child panes; parent session keeps its own messages.

- agents.svelte.ts: parent/child hierarchy fields, findChildByToolUseId,
  getChildSessions, parent-aware createAgentSession/removeAgentSession
- agent-dispatcher.ts: SUBAGENT_TOOL_NAMES detection, toolUseToChildPane
  routing map, spawnSubagentPane with auto-grouping under parent title
- AgentPane.svelte: parent link bar (SUB badge), children bar (chips
  with status colors), clickable navigation between parent/child
- SessionList.svelte: subagent panes show arrow icon instead of asterisk
2026-03-06 16:54:27 +01:00
..
adapters test(v2): add integration tests for layout, agent-bridge, and dispatcher 2026-03-06 15:42:34 +01:00
components feat(v2): add agent teams support with subagent pane spawning and routing 2026-03-06 16:54:27 +01:00
stores feat(v2): add agent teams support with subagent pane spawning and routing 2026-03-06 16:54:27 +01:00
styles feat(v2): add SSH management, ctx integration, themes, detached mode, auto-updater 2026-03-06 14:50:00 +01:00
utils test(v2): add vitest and cargo tests for sdk-messages, agent-tree, session, ctx 2026-03-06 15:10:12 +01:00
agent-dispatcher.test.ts test(v2): add integration tests for layout, agent-bridge, and dispatcher 2026-03-06 15:42:34 +01:00
agent-dispatcher.ts feat(v2): add agent teams support with subagent pane spawning and routing 2026-03-06 16:54:27 +01:00