Skip to content

feat: provider/model catalog Connections across Desktop, server, and TUI - #196

Merged
wangtsiao merged 13 commits into
7df-lab:mainfrom
wangtsiao:feat/desktop-provider-model-settings
Sep 4, 2026
Merged

wangtsiao merged 13 commits into
7df-lab:mainfrom
wangtsiao:feat/desktop-provider-model-settings

Conversation

@wangtsiao

Copy link
Copy Markdown
Contributor

Summary

  • Replace legacy model_bindings/provider_vendor with a providers.json catalog and provider/model Connection selections end-to-end (protocol → config → core → server → CLI/TUI → Desktop).
  • Add Desktop Connection settings (logos, model editor, migrations), provider discover/upsert APIs, and catalog-aware turn routing.
  • Refresh docs/specs and re-enable workspace cargo clippy in CI.

Test plan

  • Local: cargo fmt, cargo check --workspace --all-targets, cargo clippy --workspace --all-targets -- -D warnings, cargo test --workspace
  • CI green on this PR
  • Spot-check Desktop provider connect/edit and model picker after catalog migration
  • Spot-check TUI onboarding / model switch with provider/model refs

wangtsiao and others added 13 commits September 5, 2026 02:34
Introduce providers.json catalog types, drop provider_vendor, and
normalize reasoning effort aliases to on/off for adapters.
Add catalog/migration/runtime modules, connection persistence, and
legacy model_bindings migration onto provider/model overlays.
Replace model_binding/preset paths with catalog-backed selection,
provider request maps, and updated conversation/query fixtures.
Update OpenAI/Anthropic adapters and router for provider/model
selection; include related safety/mcp clippy cleanups.
Wire provider APIs, discovery, session model resolution, and e2e
tests onto provider/model catalog selections.
Update prompt/doctor routing, client surfaces, and TUI onboarding
to the catalog Connection contract.
Ship Desktop Connection settings, provider logos, migration helpers,
SDK wiring, and chat streaming/error UX for the catalog model.
Update configuration docs/specs/READMEs for providers.json and
uncomment workspace clippy in GitHub Actions.
Unblocks workspace clippy on Linux CI after re-enabling -D warnings.

Co-authored-by: Cursor <cursoragent@cursor.com>
Linux-only clippy path failed CI after re-enabling -D warnings.

Co-authored-by: Cursor <cursoragent@cursor.com>
Matches newer clippy unnecessary_sort_by on CI rustc 1.98.

Co-authored-by: Cursor <cursoragent@cursor.com>
Box large rollback Errs and apply checked_div / Option::filter /
useless_conversion / question_mark cleanups so CI stable clippy passes.

Co-authored-by: Cursor <cursoragent@cursor.com>
…lippy

EOF

Co-authored-by: Cursor <cursoragent@cursor.com>
@wangtsiao
wangtsiao merged commit 4627107 into 7df-lab:main Sep 4, 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