Skip to content

Improve todo and reasoning presentation - #43

Open
zcmx wants to merge 1 commit into
theblazehen:mainfrom
zcmx:improve/todo-reasoning-ui
Open

Improve todo and reasoning presentation#43
zcmx wants to merge 1 commit into
theblazehen:mainfrom
zcmx:improve/todo-reasoning-ui

Conversation

@zcmx

@zcmx zcmx commented Aug 12, 2026

Copy link
Copy Markdown

Changes

Make todo and reasoning blocks easier to read in chat.

  • Render todowrite and todoread as structured task lists instead of raw JSON.
  • Show task status, priority, and overall progress.
  • Visually distinguish completed and cancelled tasks.
  • Show a short contextual title for collapsed reasoning blocks instead of repeating Reasoning.
  • Read the title from metadata or the first meaningful reasoning line.
  • Remove bold Markdown markers from collapsed titles.
  • Keep the expanded reasoning content unchanged so Markdown formatting still works.
  • Fall back to the standard tool view when the todo payload format is unknown.

Model persistence, foreground recovery, the apply-patch widget, and the hardened build are not included.

Verification

  • TodoToolWidgetTest
  • ReasoningTitleTest
  • git diff --check

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