fix(tui): deferred command output during streaming

- Queued transcript command panels until the active agent turn ends.

- Added regression coverage for slash-command output mounting exactly once.

Fixes #4806
This commit is contained in:
roboomp
2026-07-14 16:34:47 +00:00
parent ac2ea80fa3
commit d3f4830ceb
10 changed files with 121 additions and 2 deletions
@@ -59,7 +59,7 @@ function showMarkdownPanel(ctx: InteractiveModeContext, title: string, markdown:
block.addChild(new Spacer(1));
block.addChild(new Markdown(markdown.trim(), 1, 1, getMarkdownTheme()));
block.addChild(new DynamicBorder());
ctx.present(block);
ctx.presentCommandOutput(block);
}
export class CommandController {