Repository navigation
feat: Claude Code plugin marketplace entry — /plugin install billion-context@billion-context - #2312
Conversation
📦 Built Package ArtifactBranch: Option A — Install this exact build (recommended)npm install -g billion-context@0.0.2456-pr.2312.d6ab279This exact version is immutable and reproducible. The rolling Option B — Download artifact
tar xzf billion-context-pr2312.tgz
npm install -g packageInstall instructions are refreshed on each push. |
[bot] 🏷 Review in progress — preliminary status: PR diff itself: clean. 5 files, +53/-0, all related to the marketplace entry. Verified the installer-behavior claims in CI is red, but NOT because of this PR: the only failed check ( Two small flaws found in the PR diff itself, fixing directly on the branch (labeled commits):
Full structured conclusion follows shortly. |
[bot] 🏷 Review complete. Two small flaws fixed directly on the branch (labeled commits); the red CI check is a pre-existing master problem, now tracked as #2314. Pushed to this branch (on top of e6f4436):
Structured review (七问):
CI on new head (7d3a0e2): 22/23 green — all test matrix (ubuntu+windows × node 22/24), all real-client e2e lanes, registry e2e, guards. Sole failure = 判定:PR 实质就绪。建议先落 #2314 的一行 master 修复再合并(或你选择覆盖这个已知红 check —— 失败与本 diff 无关,证据在 #2314)。I can't merge PRs — please merge yourself: #2312 |
22c19e0 to
3468d5a
Compare
…context@billion-context - .claude-plugin/marketplace.json + plugin.json: this repo doubles as a Claude Code marketplace (add ranxianglei/billion-context) - commands/bili-setup.md: one slash command drives 'bili plugin install claude' (checks the CLI, installs bili if missing, reports, tells the user to restart); the plugin itself ships no hooks/MCP entries — the native installer stays the single source of truth, so nothing double-registers - README (EN/zh): marketplace install path under Option 1 native channels Verified locally with the real claude binary (2.1.247): marketplace add (repo path) -> install (user scope, v0.1.186) -> /billion-context:bili-setup headless run with a live model endpoint — claude executed the installer, the managed settings block + /acp-cache + MCP pin landed in the sandbox config, always-on cost ~25 tok.
3468d5a to
95b1c71
Compare
📦 Merged Build PublishedThis merge to master was published as npm install -g billion-context@0.0.97-master.86191d6 # this exact build
npm install -g billion-context@master # always the newest merged build
|
What
This repo now doubles as a Claude Code plugin marketplace, so claude users get the one-command install path every other host family already has:
Files
.claude-plugin/marketplace.json+.claude-plugin/plugin.json— repo-root marketplace listing itself as a plugin (source: "./").commands/bili-setup.md— the single slash command: checksbili --version,npm install -g billion-contextif missing, runsbili plugin install claude, reports the installer output verbatim, tells the user to restart. Frontmatterallowed-toolsrestricts it to those three commands.Design decision: installer-first, no self-hosted hooks
The plugin deliberately ships no
hooks/and no.mcp.json. The real lane install (bili plugin install claude) writes the managed settings block + SessionStart hook + MCP registration — it stays the single source of truth. If the plugin carried its own SessionStart hook we'd get two hooks racing to spawn two proxies, and a plugin-scope MCP entry would collide with the user-scope one the installer registers. The plugin is just the installer + onboarding; always-on cost measured byclaude plugin details: ~25 tok.Verification (real claude 2.1.247, sandbox config dir)
claude plugin marketplace add <repo>claude plugin install billion-context@billion-contextclaude plugin details billion-context/billion-context:bili-setupwith a live model endpointbili --version→bili plugin install claude→ reported verbatim → exit 0; sandbox settings.json got the full managed block (ANTHROPIC_BASE_URLpinned,DISABLE_AUTO_COMPACT=1, SessionStart hook,/acp-cache, MCP pin)Notes
versionin the manifests is informational (Claude marketplaces don't enforce sync) — matches package.json 0.1.186 today.billion-context(unified name across all platforms — same decision as the opencode ecosystem entry #53678)./plugin marketplace add ranxianglei/billion-contextimmediately.