fix(cli-run): improve agent header and think block spacing
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
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user