Skip to content

fix(web): Command Code shows up in Settings > Providers - #327

Merged
jayleaton merged 1 commit into
jayleaton:mainfrom
GrantCharge:fix/web-commandcode-provider-client
Nov 30, 2026
Merged

jayleaton merged 1 commit into
jayleaton:mainfrom
GrantCharge:fix/web-commandcode-provider-client

Conversation

@GrantCharge

Copy link
Copy Markdown

Problem

Command Code is signed in and its server driver is registered, but Settings > Providers > Command Code says: "This instance uses commandcode, which is not available in this build." No models are listed. Seen on 0.1.12-nightly.20261128.559001 in a remote web/desktop client.

The cause: the server's built-in driver list includes CommandCodeDriver, but the web client's providerClients list (packages/client-runtime/src/providerClients.ts) has no commandcode entry. The settings page then finds no client definition for that driver.

Change

Add a commandcode entry to providerClients, using the existing CommandCodeSettings schema from @t3tools/contracts. It does not add a new provider, new server code or new settings. It is 6 lines in one file.

Scope

Bug fix. The provider already ships on the server, and the docs (docs/user/providers-commandcode.md) tell users to enable it in Settings > Providers. That step cannot work today. Issues are disabled on this repo, so there is no issue to link. I searched open PRs for "command code" and found none.

Verification

  • client-runtime typecheck: 0 errors.
  • client-runtime tests: 206 files, 2638 tests passed.
  • Code check: in the shipped nightly web bundle, commandcode appears in the model-name maps but not in the provider client list. The settings page prints the message above when the list has no match.

Not checked: I did not build Ada with this change or look at the settings page afterwards. I did not add a test. No screenshots.

Claude Sonnet 5.5, via Claude Code.

The server registers the Command Code driver, but the web client's provider
list leaves it out. Settings then says the driver "is not available in this
build" and shows no models, even when Command Code is signed in.

Register the existing CommandCodeSettings schema in providerClients.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:XS labels Nov 30, 2026

@jayleaton jayleaton left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @GrantCharge, this is a good catch. The entry matches the other inline provider clients, commandcode is the server driver's id with the same CommandCodeSettings schema, and all 12 built-in drivers now have a client entry. Web and mobile both read this list, so neither needs anything else. client-runtime and the settings tests pass (3,016 tests).

@jayleaton
jayleaton merged commit 08273f9 into jayleaton:main Nov 30, 2026
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants