Skip to content

fix(mecatui): simplify thinking summary headings - #2602

Merged
jbeda merged 1 commit into
mainfrom
fix/mecatui-reasoning-headings
Oct 29, 2026
Merged

jbeda merged 1 commit into
mainfrom
fix/mecatui-reasoning-headings

Conversation

@jbeda

@jbeda jbeda commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Render standalone **Heading** lines in thinking summaries as bold, preserving the existing muted color and italics.
  • Keep all other reasoning text literal, with existing line breaks and wrapping; do not add full Markdown rendering.
  • Remove the separate disclaimer line while retaining the summary header and F9 expand/collapse control.
  • Keep reading anchors aligned with rendered headings, wrapped headers, and blank lines.

Verification

  • task test
  • task lint
  • task test:race
  • go run ./cmd/mecademo — verified tool call, permission ask/approval, and final result
  • Focused independent review found no leftover full-Markdown implementation or other issues.

Regression coverage includes light/dark styling, literal inline Markdown, incomplete streamed headings, terminal-control sanitization, narrow-width wrapping, and reading-position restoration on resize.

API compatibility

Client-side presentation only. No wire, Go API, or stored-data changes; no API major or feature identifier changes and no upgrade coordination required.

Render standalone bold-marked headings without full Markdown processing, retain muted italic reasoning text, and remove the redundant disclaimer line.

Co-authored-by: Mecatl <[email protected]>
@jbeda
jbeda merged commit 6c43f49 into main Oct 29, 2026
40 checks passed
@jbeda
jbeda deleted the fix/mecatui-reasoning-headings branch October 29, 2026 14:26
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Nov 18, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant