Skip to content

v0.1.3: Bubble Tea v2 migration, virtual chat list, and release prep#1

Merged
wzhejunqiu merged 8 commits into
mainfrom
v0.1.3
Jun 20, 2026
Merged

v0.1.3: Bubble Tea v2 migration, virtual chat list, and release prep#1
wzhejunqiu merged 8 commits into
mainfrom
v0.1.3

Conversation

@wzhejunqiu

Copy link
Copy Markdown
Owner

Summary

  • Migrate TUI stack to Bubble Tea v2 (charm.land/*/v2) with declarative tea.View, typed mouse/key messages, and HP layer removal
  • Add chat area virtual list (LineCatalog) with on-demand styled rendering for long transcripts
  • Deliver v0.1.3 deferred items: sub-agent @ expansion, double-click/shift selection, IsSensitiveAbs unexport
  • Close remaining ACCEPTANCE §6.2 suggested tests; expand CHANGELOG (Fixed + perf note)

Breaking

  • Bubble Tea v1 → v2 import paths and message types (KeyPressMsg, typed mouse msgs, PasteMsg)
  • WithAltScreen / WithMouseCellMotion replaced by tea.View fields

Test plan

  • make test
  • make test-tui
  • make lint / make vet / make verify-release
  • Manual TUI matrix (ACCEPTANCE §7) before tag v0.1.3

Made with Cursor

wzhejunqiu and others added 8 commits June 20, 2026 20:20
Capture requirements, design, acceptance, and a three-round audit for
the charm.land v2 upgrade, HP removal chain, and deferred v0.1.2 items.

Co-authored-by: Cursor <cursoragent@cursor.com>
Close gaps found against v0.1.2 code: toolVP HP removal, PromptCh dual
channel, virtual-list YOffset/resize, safeModel View passthrough, and tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
Move the interactive stack to charm.land v2, replace HP viewport sync with
LineCatalog windowed rendering and chatScrollY, and complete deferred items
(AtExpander in subagents, IsSensitiveAbs cleanup, selection/clipboard updates).
Fix /resume and startup history load to scroll to the latest messages.

Co-authored-by: Cursor <cursoragent@cursor.com>
…ild for TUI chat

Avoid materializing the full styled transcript by rendering only the visible viewport window and incrementally updating plain lines from the first dirty block.

Co-authored-by: Cursor <cursoragent@cursor.com>
Invalidate stale resume list fetches when the picker closes, resync completion
after SessionResumed, and reserve overlay rows in Layout so command lists stay
visible above the footer even with long transcripts.

Co-authored-by: Cursor <cursoragent@cursor.com>
Tab in slash completion now applies the cursor item like Enter, instead of always selecting the first entry.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add verify-charm-v2 to CI, passthrough safe_model fallback View metadata,
and tests for worktree @ expand, virtual list, and v2 TUI behaviors.
Sync v0.1.3 acceptance docs to implemented status.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add the remaining §6.2 suggested tests, update ACCEPTANCE checkboxes,
expand CHANGELOG with Fixed entries and perf note, and refresh v0.1.3 docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
@wzhejunqiu wzhejunqiu merged commit 5e4be64 into main Jun 20, 2026
5 checks passed
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