Skip to content

aitools: register Claude's official marketplace before install - #6485

Open
rclarey wants to merge 1 commit into
mainfrom
aitools-plugin-self-heal
Open

aitools: register Claude's official marketplace before install#6485
rclarey wants to merge 1 commit into
mainfrom
aitools-plugin-self-heal

Conversation

@rclarey

@rclarey rclarey commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Changes

No longer treat claude-plugins-official marketplace as built-in and manually install it before installing the databricks plugin.

This PR splits the two things an empty Source used to conflate: Source now only names the repo to marketplace add, and a new Shared flag marks a marketplace we don't own. Claude gets a real Source so the marketplace is added before the update+install, plus Shared=true so uninstall never de-registers the shared marketplace. The uninstall message is updated to match (it no longer claims to remove a Shared marketplace).

Why

The claude-plugins-official marketplace was not reliably registered locally (e.g. when ucode claude first installs Claude). The installer treated it as a built-in marketplace (empty Source) that must never be added, so the pre-install plugin marketplace update had nothing to refresh and the databricks plugin install failed with "not found in marketplace".

Tests

updated unit tests + manually verified via ucode claude (reliable repro)

Claude's databricks plugin lives in the claude-plugins-official
marketplace, which is not reliably registered locally. The installer
treated it as a built-in marketplace (empty Source) that must never be
added, so the pre-install `plugin marketplace update` had nothing to
refresh and the install failed with "not found in marketplace".

Split the two things an empty Source used to conflate: Source now only
names the repo to `marketplace add`, and a new Shared flag marks a
marketplace we don't own. Claude gets a real Source so the marketplace
is added before the update+install, plus Shared=true so uninstall never
de-registers the shared marketplace. The uninstall message is updated to
match (it no longer claims to remove a Shared marketplace).

Co-authored-by: Isaac <no-reply@databricks.com>

@parthban-db parthban-db left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM modulo comments.

Comment on lines +148 to +151
// claudeOfficialMarketplace is Claude Code's official marketplace, where the
// databricks plugin is published. It is not reliably registered locally, so the
// CLI adds it (from claudeOfficialMarketplaceSrc) before refreshing and
// installing, but never de-registers it since it is shared, not ours.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we keep this concise and include the source URL? The repo rule asks
external-tool behavior to link its source, while the install details are clear
from claudePlugin below. Ditto for the same details repeated on Shared and in
the installer.

Suggested change
// claudeOfficialMarketplace is Claude Code's official marketplace, where the
// databricks plugin is published. It is not reliably registered locally, so the
// CLI adds it (from claudeOfficialMarketplaceSrc) before refreshing and
// installing, but never de-registers it since it is shared, not ours.
// Source: https://github.com/anthropics/claude-plugins-official.

Marketplace: claudeOfficialMarketplace,
ID: databricksPluginID,
Source: "",
Source: claudeOfficialMarketplaceSrc,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you add a .nextchanges/cli/ entry for this? This fixes a user-visible
aitools install failure, so the repository's changelog rule applies.

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.

[aitools install] Skill install for Claude Code fails if claude-plugins-official not up to date

2 participants