feat(tui): the backend choice reads like a choice - #224
Open
plombeer31 wants to merge 2 commits into
Open
Conversation
The three options said what each backend is, never what it costs. "Local models (llama.cpp) — download and run locally" does not mention that the download is 2.7–22 GB; nothing said the custom-endpoint path downloads nothing at all. Privacy, money and time are the thing being chosen between, so they are on the screen now. Details are wrapped by hand into two lines rather than left to Ink, and the labels share a 20-column measure so the details line up as a column of their own — a ragged left edge makes three comparable options read as three unrelated ones. The visible [1]/[2]/[3] prefixes are gone; the digits still work and the footer still says so.
This was referenced Aug 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #223 → #222 → #220.
Why
The three options told the operator what each backend is, never what it costs them. "Local models (llama.cpp) — download and run locally" does not say the download is 2.7–22 GB; "Cloud models — configure API key and pick a model" does not say it is the fastest way to a working agent; nothing said the custom-endpoint path downloads nothing at all. Those trade-offs — privacy, money, time — are the thing being chosen between.
After
Details are wrapped by hand into two lines rather than left to Ink, and the labels share a 20-column measure so the details line up as a column of their own — a ragged left edge there makes three comparable options read as three unrelated ones. The
[1]/[2]/[3]prefixes are gone from the rows; the digits still work and the footer still says so.The
rowDetailstier fromonboarding-fitalready governs whether the details are drawn at all, so a narrow terminal gets the labels alone.Tests
onboarding-screen.test.tsxasserts the cost phrases are present and that the screen no longer contains "not reachable" or "ECONNREFUSED" — the failure report this screen used to open with.Captured at 100×30; matches the reviewed design exactly.