agent-zero/webui/components/sidebar/AGENTS.md
Alessandro b704a0e3f5
Some checks are pending
Build And Publish Docker Images / plan (push) Waiting to run
Build And Publish Docker Images / build (push) Blocked by required conditions
Add inspectable parallel tool calls
- add a parallel wrapper and runtime for concurrent background tool calls
- run parallel call_subordinate jobs as child chats with visible subagent steps that match normal subordinate args
- render parallel child tool steps with normal tool-call args while keeping job handles in wrapper results and prompt extras
- group parallel child chats in the sidebar with persistent accordion and caret behavior
- add prompt, extension, DOX, and regression coverage
2026-06-12 15:23:14 +02:00

1.4 KiB

Sidebar Components DOX

Purpose

  • Own left sidebar layout, chat/task lists, top actions, and bottom preferences components.

Ownership

  • left-sidebar.html and sidebar-store.js own sidebar shell and shared state.
  • top-section/ owns header and quick actions.
  • chats/ owns chat list UI and state.
  • tasks/ owns task list UI and state.
  • bottom/ owns lower sidebar controls and preferences panel.

Local Contracts

  • Preserve responsive sidebar behavior and collapsed/expanded state.
  • Keep chat and task list updates compatible with WebSocket state sync.
  • Contexts with parent_context_id render as indented children beneath their parent chat; they must remain selectable while hidden from the top-level chat list.
  • Chat tree expand/collapse controls use a parent-only leading slot and must not consume normal chat row text margin.
  • A restored selected parent chat with children auto-expands once during context hydration unless the user has already toggled it.
  • The Tasks list is reserved for scheduler-backed task contexts and must not be used for chat-bound parallel children.
  • Avoid text or controls overflowing fixed sidebar widths.

Work Guidance

  • Coordinate navigation and state changes with WebSocket sync and chat/project stores.

Verification

  • Smoke-test sidebar collapse, chat list, task list, quick actions, and preferences after changes.

Child DOX Index

No child DOX files.