From 2f659e9b97e82bbefc7df091850b0a72f8e8e7ad Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Wed, 18 Feb 2026 02:01:16 +0900 Subject: [PATCH] fix(cli-run): improve agent header and think block spacing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add newlines around agent header for visual separation, dim the thinking label, and add trailing newline after think block close. 🤖 Generated with [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode) assistance --- src/cli/run/output-renderer.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/cli/run/output-renderer.ts b/src/cli/run/output-renderer.ts index 15d3308d9..1bea3b269 100644 --- a/src/cli/run/output-renderer.ts +++ b/src/cli/run/output-renderer.ts @@ -15,6 +15,8 @@ export function renderAgentHeader( const variantSuffix = variant ? ` (${variant})` : "" const modelLabel = model ? pc.dim(`${modelBase}${variantSuffix}`) : "" + process.stdout.write("\n") + if (modelLabel) { process.stdout.write(` ${modelLabel} \n`) } @@ -22,14 +24,16 @@ export function renderAgentHeader( if (agentLabel) { process.stdout.write(` ${pc.dim("└─")} ${agentLabel} \n`) } + + process.stdout.write("\n") } export function openThinkBlock(): void { - process.stdout.write("\n ┃ Thinking: ") + process.stdout.write(`\n ${pc.dim("┃ Thinking:")} `) } export function closeThinkBlock(): void { - process.stdout.write(" \n") + process.stdout.write(" \n\n") } export function writePaddedText(