You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Restore the toggleable task-list panel above the prompt box
The task tool's writes and the director's onTasksChange callback survived
the OpenTUI cutover, but the chrome zone reading them only ever rendered a
single compact summary line, and the only toggle was a demo action that
overwrote the live data with hardcoded content. Give tasks their own
multi-row panel (chrome-state.ts's formatTasksPanel, mirroring the agents
panel's formatAgentsPanel but keyed on status rather than liveness) so each
task renders with a bracket status marker, distinct from the agents panel
below it. The task zone now takes boolean|number visibility and a real
row budget (TASKS_PANEL_MAX_VISIBLE, bounded and shrunk one row at a time
under space pressure) the same way agents already did, so it degrades
before the prompt box on a short terminal instead of growing unbounded or
disappearing in one step.
toggleTasksPanel hides/shows the panel independent of its live data — a
hidden flag on the shell that persists for the session while the raw task
list keeps updating underneath it, so un-hiding shows the current list
rather than a stale snapshot. The palette's toggle_task action now drives
this for real instead of stuffing fake content into the zone.
Also make RunnerHostDeps.subscribeChrome required rather than optional: an
omitted subscription used to type-check cleanly while silently freezing the
task/agents panels at their mount-time snapshot — the same
built-and-never-wired shape as the callback itself. runner-host.test.ts now
drives a live subscribeChrome notify through mountRunnerHost end to end and
asserts the panel actually repaints from it.
0 commit comments