Skip to content

feat(providers): allow disabling providers - #48

Closed
0disoft wants to merge 1 commit into
lidge-jun:mainfrom
0disoft:task/disable-providers
Closed

feat(providers): allow disabling providers#48
0disoft wants to merge 1 commit into
lidge-jun:mainfrom
0disoft:task/disable-providers

Conversation

@0disoft

@0disoft 0disoft commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a disabled provider flag so users can hide a provider without deleting its saved configuration.
  • Exclude disabled providers from routing, routed model gathering, catalog/model listings, and ChatGPT sidecar provider selection.
  • Add Providers-page Enable/Disable actions, status/default badges, and localized copy.
  • Reject disabling the current default provider so routing cannot be left without a live default.

Validation

  • bun test tests/router.test.ts tests/codex-catalog.test.ts tests/server-auth.test.ts
  • bun run typecheck
  • cd gui && bun run build

@lidge-jun

Copy link
Copy Markdown
Owner

Manually merged into dev (commit 55d525b) with conflict resolution against the provider-context-cap work. Verified: tsc clean, 778 tests pass, GUI build OK. Closing since the fork PR can't be auto-detected as merged.

@lidge-jun lidge-jun closed this Jun 29, 2026
lidge-jun added a commit that referenced this pull request Sep 3, 2026
…3397)

* feat(gui): page polish — Providers, Logs, Subagents, Combos, Routing

The small items the roadmap grouped into one phase:

- Providers: the overview subtitle is gone; the recently-used list folds behind a closed
  details. The Korean "checked N ago" string doubled 전 when the time was 방금 전.
- Logs: the subtitle is gone (the table and filters say what the page is).
- Subagents: the picker-order hint is a focusable info button beside the 5/5 counter; the
  guidance toggle, ultra mode and its editor sit behind a closed 고급 details under the two
  daily decisions (먼저 부를 모델, Codex 설정에도 저장).
- Combos: the search box renders only once a combo exists. The inline first-combo editor
  stays (four tests pin it as a deliberate flow; recorded in 002 #48).
- Routing: the dry-run form renders only with a draft; the analytics panel only with
  profiles. An empty beta tab is one card, not three.

Plan: devlog/_plan/260904_dashboard_minimal/080_page_polish.md.

* fix(gui): keep the Providers section landmark, fold the surface switch into Subagents 고급, gate dry-run on a selected profile

Review blockers on the 080 lane: the recent-usage details replaced the <section> (its
aria-label/aria-busy landmark) instead of sitting inside it; the v1/base/v2 switch that 030
moved here is policy too and belongs in the same 고급 disclosure as guidance and ultra mode;
and startCreate() also makes a draft, so gating the dry-run form on draft showed a disabled
form during creation — it now needs a selected existing profile.

* test(gui): name the routing dry-run gate correctly

---------

Co-authored-by: jun <jun@lidge.dev>
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.

2 participants