Skip to content

fix(tui): separate thinking header from markdown body#29028

Merged
rekram1-node merged 3 commits into
devfrom
adjust-tui-thinking
May 25, 2026
Merged

fix(tui): separate thinking header from markdown body#29028
rekram1-node merged 3 commits into
devfrom
adjust-tui-thinking

Conversation

@rekram1-node
Copy link
Copy Markdown
Collaborator

Summary

  • render reasoning headers as explicit styled text in collapsed and expanded states
  • render expanded reasoning Markdown as a separate body beneath the header
  • extract the leading summary title for the header and keep body alignment/state styling consistent

Testing

  • bun test test/cli/tui/thinking.test.ts
  • bun typecheck
  • bunx prettier --check src/cli/cmd/tui/context/thinking.ts src/cli/cmd/tui/routes/session/index.tsx src/cli/cmd/tui/feature-plugins/system/session-v2.tsx test/cli/tui/thinking.test.ts

@rekram1-node
Copy link
Copy Markdown
Collaborator Author

/review

1 similar comment
@rekram1-node
Copy link
Copy Markdown
Collaborator Author

/review

Comment thread packages/opencode/src/cli/cmd/tui/context/thinking.ts Outdated
@rekram1-node
Copy link
Copy Markdown
Collaborator Author

/review

Comment thread packages/opencode/src/cli/cmd/tui/context/thinking.ts
@rekram1-node
Copy link
Copy Markdown
Collaborator Author

/review

@rekram1-node rekram1-node merged commit 03bb53c into dev May 25, 2026
9 of 10 checks passed
@rekram1-node rekram1-node deleted the adjust-tui-thinking branch May 25, 2026 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant