Repository navigation
Manage provider availability in Settings and CLI - #4548
Merged
Merged
Conversation
…n enable Store disabled providers as disabledProviderIds so Enable removes the entry and installed-only agents return to CLI-based discovery. Skip a project's last-used provider when it is disabled. Forget a plugin's provider preferences on uninstall, read disabled providers once per listing, and tidy imports and formatting. Co-Authored-By: Claude Opus 5.5 <[email protected]>
ymichael
force-pushed
the
bb/investigate-and-fix-issue-4490-thr_97aycgkhga
branch
from
September 30, 2026 17:36
7c49bf5 to
c86aa6f
Compare
bb.experimental_providers entries now carry kind, using the providerKind vocabulary. Only "agent" is accepted until another kind has a consumer. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A stale Settings -> General save carried disabledProviderIds and could silently re-enable a provider. Keep the list under its own settings key, changed only through the provider enable/disable route, so general settings reads and writes no longer include it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
ymichael
deleted the
bb/investigate-and-fix-issue-4490-thr_97aycgkhga
branch
September 30, 2026 20:49
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.
Human comments
What was wrong
BB automatically exposed installed ACP agents without a per-provider opt-out. Keeping OpenCode installed for other tools also made it available in BB, while disabling the ACP plugin removed sibling agents too. Providers whose plugins were disabled also disappeared from provider settings, making them difficult to re-enable.
What changed
disabledProviderIdsunder its own settings key, outside Settings → General, so only the provider enable/disable route changes it. A stale general-settings save can no longer re-enable a provider, and a general-settings PUT that includes the field gets 400. Enable removes the entry, so a re-enabled installed-only agent such asacp-opencodeagain appears only where its CLI is installed. Uninstalling a plugin forgets its providers' disabled state.bb.experimental_providersmanifest metadata ([{ kind: "agent", id, displayName }];kinduses theproviderKindvocabulary and accepts only"agent"until another kind has a consumer) and saved provider identities. Enabling a provider also enables its supplying plugin when necessary, while preserving sibling opt-outs. ACP background capability probing skips disabled providers.bb provider list --all,bb provider enable/disable <providerId>, SDKproviders.catalog()/providers.setEnabled(), and corresponding HTTP routes. Update the CLI guide, skills, configuration docs, and Plugin Guide; record the experimental manifest field in the API audit list.This implements the issue's core provider-management option rather than an ACP-only setting. It adds no daemon wire changes or database migration. Enabling a provider does not install its CLI or authenticate it.
How you verified
pnpm exec turbo run typecheck --filter=@bb/server --filter=@bb/app --filter=@bb/cli --filter=bb-plugin-provider-acppassed.server.test.tspassed: 18 tests. CLI provider command-output tests passed: 8 tests.provider-management.test.ts(5 tests) and the Providers settings UI tests pass. Full sdk, db and app suites passed before the rebase; the full server suite had 3 unrelated failures (two native plugin-loading tests that pass alone, and aninstall-machine-scripttimeout).pnpm start:worktreeinstance with real installed providers (Codex, Claude Code, Pi, Cursor, opencode, omp): UI/CLI/API disable and enable, sibling Cursor turns, picker, default clearing, project-default fallback, disabled-plugin catalog, restart persistence, in-flight turn completion. A stale general-settings save was reproduced re-enabling a provider before the fix and verified harmless after it.git diff --checkpassed.pnpm start:worktreeapp and source CLI: enable/disable, plugin re-enable, default selection, disabled spawn rejection, restart persistence, disabled-provider logos, and aligned desktop/mobile rows. The compact menu leaves the app root free ofinertandaria-hidden.Fixes #4490