Repository navigation
Closed
Labels
enhancementNew feature or request
Description
Problem
The standalone TUI onboarding foundation now exists, but the entry and model-configuration experience is still fragmented:
- A fresh empty session has little product identity or task guidance.
/modellists models across connections but cannot search by model, provider, or connection./setupstops after provider + API key, even though the connection contract already owns model curation throughenabledModelIds.- Setup completion still leaves the running TUI with a stale model-choice snapshot, so newly configured models are not immediately available from
/model.
This issue originally tracked first-run onboarding. It now tracks the smallest coherent completion of that standalone TUI entry and configuration journey.
Desired outcome
Empty-session home
- Render a compact four-line lowercase ASCII
makawordmark in Maka blue. - Present a short Chinese-first tagline and static command-center hints for direct input,
/session,/model, and/setup. - Keep focus in the bottom editor; the home content is informative, not a second interactive menu.
- Show the same home after
/new; fall back to a plainmakamark when the terminal is too narrow for the ASCII wordmark.
Searchable /model
- Keep the existing cross-connection model list and session rebinding behavior.
- Add one bottom search field that matches model ID/display name, provider label/type, and connection name/slug.
- Keep a bounded visible result list with clear current/connection metadata, an empty state, and
↑↓/Enter/Escbehavior. - Leave typed
/model <id>behavior unchanged.
Three-step /setup
- Search providers; mark existing connections as
已设置. - Enter and verify an API key. Existing connections may leave the field blank to reuse the stored secret or enter a new value to rotate it.
- Search and multi-select enabled models. New connections start with no models selected; existing connections preserve their enabled set.
Spacetoggles selection and at least one model is required before saving.
Navigation and state rules:
Escalways moves back one level: models → key → provider → close.- Query, draft, and selection state survive while the wizard remains open.
- Late async verification results cannot overwrite a screen the user has already left.
- Loading, errors, empty results, saving, and success remain inside the bottom frame; they do not append a transcript
Note. - Success shows the enabled-model count and closes on
Enter.
Activation rules:
- Saving authoritatively refreshes the running TUI's ready model choices, so the new models are immediately available from
/model. - Setup does not automatically switch the current session.
- Setup only establishes a default connection when no default exists, including first run; in-session setup does not replace an existing default.
- User-facing default-model selection is not part of
/setup; storage only maintains the valid compatibility value required by the existing connection contract.
Delivery
Completed foundation:
- feat(cli): standalone first-run API-key onboarding in the TUI #1177 — standalone first-run API-key onboarding and
/setup - feat(cli): redesign onboarding wizard around the input field #1181 — input-driven provider search, bottom-frame status, and key-step back navigation
Remaining independently mergeable seams:
- Seam 1 — redesign the empty-session home
- Seam 2 — add searchable cross-connection
/model - Seam 3 — complete
/setupmodel curation and live model-choice refresh
Each seam starts from the latest main, has its own worktree/branch/PR, and remains independently revertible.
Out of scope
- OAuth login flows
- Custom Base URL provider onboarding
- Manual model-ID entry
- Global/user default-model settings
- Automatically switching the active session after setup
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity
feat(cli): standalone first-run API-key onboarding in the TUI (#1177)
feat(cli): redesign onboarding wizard around the input field
[-]feat(cli): standalone first-run onboarding in the TUI[/-][+]feat(cli): finish standalone TUI entry and model configuration[/+]feat(cli): add searchable cross-connection /model picker
feat(cli): add searchable cross-connection /model picker
feat(cli): brand the empty-session TUI home with a maka wordmark
feat(cli): brand the empty-session TUI home with a maka wordmark (#1242)
test(cli): cover every /model search match criterion
feat(cli): add searchable cross-connection /model picker (#1239)
feat(cli): complete /setup model curation with live model-choice refresh
feat(cli): complete /setup model curation with live model-choice refr…
Astro-Han commentedon Jul 20, 2026
Closed by #1244