refactor(cli-run): stream reasoning text instead of summarized thinking line
Replace the single-line "Thinking: <summary>" rendering with direct streaming of reasoning tokens via writePaddedText. Removes maybePrintThinkingLine and renderThinkingLine in favor of incremental output with dim styling. 🤖 Generated with assistance of [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
@@ -35,6 +35,8 @@ export interface EventState {
|
||||
lastThinkingSummary: string
|
||||
/** Whether text stream is currently at line start (for padding) */
|
||||
textAtLineStart: boolean
|
||||
/** Whether reasoning stream is currently at line start (for padding) */
|
||||
thinkingAtLineStart: boolean
|
||||
}
|
||||
|
||||
export function createEventState(): EventState {
|
||||
@@ -60,5 +62,6 @@ export function createEventState(): EventState {
|
||||
messageRoleById: {},
|
||||
lastThinkingSummary: "",
|
||||
textAtLineStart: true,
|
||||
thinkingAtLineStart: false,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user