Repository navigation
fix: hide the upstream Claude Agent provider - #467
Merged
Merged
Conversation
Keep the SDK tree on disk for sync, but do not register it or show it in connect, catalog, settings, TUI, or CLI menus. Anthropic stays on ClaudePlugin.
Skip claude-agent when config builds providers, and share isHiddenProvider across app, TUI, and CLI lists so an old server cannot show it.
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.
Issue for this PR
No linked issue. Hide the upstream Claude Agent SDK provider so it cannot appear in shuvcode.
Type of change
What does this PR do?
The upstream Claude Agent SDK tree stays on disk (
packages/core/src/plugin/provider/claude-agent/**and its tests) so a later sync does not have to resurrect a deleted tree. It is not a product provider. Anthropic stays@shuvcode/claude-plugin(ClaudePlugin).ProviderPluginsno longer imports or listsClaudeAgentPlugin, and drops plugin idopencode.provider.claude-agentif a merge puts it back.ClaudeAgentPluginis a no-op. The on-disk tests still callmake.claude-agentfrom integrations, providers, and voice model lists.AGENTS.mdandPLAN-fresh-v2-rewrite.mdtell future merges not to register it again.The optional
@anthropic-ai/claude-agent-sdkpeer and#claude-agent-sdkalias stay so the dormant source still typechecks. They are not wired to a selectable provider.How did you verify your code works?
bun typecheckinpackages/core,packages/app,packages/tui, andpackages/cli. The pre-push hook typechecked the workspace: 40 tasks successful.packages/core/test/plugin/bundled-subscriptions.test.ts:ClaudePluginis inProviderPluginsand still registers Anthropicclaude-pro-max. Plugin idopencode.provider.claude-agentis absent. Running the productClaudeAgentPluginexport does not register an integration or a provider.packages/core/test/plugin/provider/claude-agent/plugin.test.tsstill passes (19 tests) throughmake.order.test.ts, TUIintegration-options.test.ts, CLIauth-login-choices.test.ts, andvoice/tools.test.tspass.Visual
Screenshots / recordings
No live recording. The menus are the filtered lists covered above.
Checklist