Skip to content

build(tui): migrate to dappco.re/go/render@v0.18.0#20

Merged
Snider merged 1 commit into
mainfrom
lane/render
Jul 23, 2026
Merged

build(tui): migrate to dappco.re/go/render@v0.18.0#20
Snider merged 1 commit into
mainfrom
lane/render

Conversation

@Snider

@Snider Snider commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

go-render graduated to the dappco.re/go/render namespace; go-inference follows. Namespace rename + engine/display reorg paths, and the v0.18.0 API deltas (theme→AdaptiveColor, app View()tui.View, v2 viewport/textinput/messages, lipgloss-v2 sizing). Bubble Tea/Lip Gloss v1 pins unchanged. 420 cli/tui tests green (re-verified).

🤖 Generated with Claude Code
Co-Authored-By: Virgil virgil@lethean.io

Summary by CodeRabbit

  • Bug Fixes

    • Improved terminal interface reliability by preventing unintended interactive terminal modes during workspace checks and automated environments.
    • Preserved viewport position and scrolling behaviour across transcript and review panels.
    • Improved terminal rendering consistency, including sizing, styling, and clean output capture.
  • Refactor

    • Updated the terminal interface foundation for more consistent keyboard, mouse, layout, and rendering behaviour.
    • Refreshed supporting components and libraries.

go-html graduated to the render namespace; go-inference follows. Namespace
rename (dappco.re/go/html -> dappco.re/go/render) + the engine/display reorg
(display/tui/*, engine/{html,ctml,teabox}). v0.18.0 API deltas fixed: theme
style.Color -> style.AdaptiveColor.Resolve; app/overlay View() string ->
tui.View; v2 viewport/textinput constructors + setters; v2 key/mouse messages;
lipgloss v2 total-dimension sizing. Bubble Tea / Lip Gloss v1 pins unchanged.
Gates: go build ./cli/... + go test ./cli/tui/... green (420 tui tests).

Co-Authored-By: Virgil <virgil@lethean.io>
@Snider
Snider merged commit 071af6a into main Jul 23, 2026
2 of 4 checks passed
@Snider
Snider deleted the lane/render branch July 23, 2026 17:50
@coderabbitai

coderabbitai Bot commented Jul 23, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 63ca441d-56d6-48a3-83a1-7a2dee67c24d

📥 Commits

Reviewing files that changed from the base of the PR and between b488697 and c5f8b72.

⛔ Files ignored due to path filters (1)
  • cli/go.sum is excluded by !**/*.sum
📒 Files selected for processing (33)
  • cli/data.go
  • cli/go.mod
  • cli/tui/agentadapter_test.go
  • cli/tui/agentoverlay.go
  • cli/tui/agentoverlay_test.go
  • cli/tui/app.go
  • cli/tui/app_test.go
  • cli/tui/dataoverlay.go
  • cli/tui/dataoverlay_test.go
  • cli/tui/datapanel.go
  • cli/tui/inspector.go
  • cli/tui/inspector_test.go
  • cli/tui/keymap.go
  • cli/tui/keymap_test.go
  • cli/tui/layout.go
  • cli/tui/layout_test.go
  • cli/tui/markdown.go
  • cli/tui/overlayframe.go
  • cli/tui/palette.go
  • cli/tui/palette_test.go
  • cli/tui/picker.go
  • cli/tui/picker_test.go
  • cli/tui/service.go
  • cli/tui/settings.go
  • cli/tui/settings_test.go
  • cli/tui/stream.go
  • cli/tui/style.go
  • cli/tui/tabs.go
  • cli/tui/tabs_test.go
  • cli/tui/tools.go
  • cli/tui/tui.go
  • cli/tui/tui_test.go
  • cli/tui/work.go

📝 Walkthrough

Walkthrough

The CLI TUI migrates from the legacy HTML TUI packages to the render/display stack, adopts typed input and view APIs, updates viewport and widget sizing, refreshes dependencies, and adapts tests and headless rendering assertions.

Changes

TUI render-stack migration

Layer / File(s) Summary
Render backend and dependency wiring
cli/go.mod, cli/tui/{datapanel,inspector,keymap,markdown,overlayframe,palette,picker,service,settings,stream,style,tabs,tools,work}.go
Rendering, styling, widget, list, markdown, and indirect dependencies now use the updated render packages and versions.
Application input and viewport flow
cli/tui/app.go, cli/tui/layout.go, cli/tui/style.go, cli/tui/tui.go
Keyboard and mouse handling use typed messages; viewport access uses methods and setters; View() returns tea.View; interactive program options and headless output are updated.
Overlay and widget APIs
cli/tui/agentoverlay.go, cli/tui/dataoverlay.go, cli/tui/palette.go
Overlays use KeyPressMsg, option-based viewport construction, and widget sizing setters.
Test input and output adaptation
cli/data.go, cli/tui/*_test.go
Tests use shared keypress helpers, updated view accessors, ANSI-stripped output checks, and the documented non-interactive data-review seam.

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 golangci-lint (2.12.2)

Error: can't load config: unsupported version of the configuration: "" See https://golangci-lint.run/docs/product/migration-guide for migration instructions
The command is terminated due to an error: can't load config: unsupported version of the configuration: "" See https://golangci-lint.run/docs/product/migration-guide for migration instructions

Warning

Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

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