You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bramble: fix excessive line breaks in Codex thinking output (#41)
* bramble: fix excessive line breaks in Codex thinking output
Each streaming thinking delta from Codex was creating a separate
OutputLine, causing each word to appear on its own line with a 💭
prefix. Accumulate thinking deltas into a single line, matching the
existing text accumulation pattern.
Also consolidate AppendStreamingDelta into the session package so
both the live Manager and codexlogview replay parser share one
implementation with overlap-aware deduplication.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Address PR review: fix truncation guards and show 💭 only once
- Exclude OutputTypeThinking from the post-switch single-line
truncation guard in both output.go and view.go, since thinking
content is now multi-line after accumulation.
- Update view.go's formatOutputLine to use the shared
formatThinkingContent helper instead of single-line truncate.
- Show 💭 prefix only on the first line of thinking content;
continuation lines are indented with spaces.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Use plain concatenation for live streaming deltas in Manager
AppendStreamingDelta's overlap detection can produce false positives
for live streaming where deltas are non-overlapping token chunks
(e.g. "..." followed by "..." would be deduped). Revert the Manager
to plain += concatenation; keep AppendStreamingDelta only for the
codexlogview replay parser where protocol log deltas may overlap.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments