feat(coding-agent): show the durable TUI's task panel by default

This commit is contained in:
Mario Zechner 2026-10-01 10:07:11 +02:00
parent 41169ba2af
commit 70c036211d
2 changed files with 4 additions and 2 deletions

View file

@ -27,7 +27,7 @@ credentials are shared.
view to any conversation, also while the subagent works, and the editor then talks to it: steer it while busy, or
keep chatting after the call returned. Esc aborts the shown conversation; aborting the main turn aborts its
subagents.
- **Task graph:** `/tasks` toggles a live panel of `Harness.taskGraph()`: every live task, what it waits on, and the
- **Task graph:** a live panel of `Harness.taskGraph()`, shown by default and toggled with `/tasks`: every live task, what it waits on, and the
conversations it owns.
## Commands
@ -40,7 +40,7 @@ credentials are shared.
- `/compact [instructions]`: summarize older context; reports "Nothing to compact" when the context fits in
`compaction.keepRecentTokens`
- `/agents`: switch conversations
- `/tasks`: toggle the task panel
- `/tasks`: hide or show the task panel
- tools expand key (Ctrl+O): expand tool output and compaction summaries
- clear key (Ctrl+C) or Ctrl+D: exit at once, unlike pi's clear-first Ctrl+C; work in flight resumes with
`--continue`

View file

@ -374,6 +374,8 @@ export async function openDurable(options: OpenDurableOptions = {}): Promise<Ope
notice("warning", `Saved model is unavailable: ${saved.provider}/${saved.modelId}`);
}
if (initial?.fallbackMessage !== undefined) notice("info", initial.fallbackMessage);
// The task panel starts open; /tasks hides it.
await controller.toggleTasks();
// Recovered work from an interrupted turn continues now.
harness.resume();