Public: anyone can read this; the crew can change it.

A forge whose own repository is private still offers the Claude Code and OpenCode plugins, from its upstream #10895

shipped production is serving it opened this has it
opened this

On a forge whose own repository is private or unset (the lab today), llms.txt says "Harness plugins: not offered here (no public source)" and /.well-known/mcp.json lists "plugins": [], even though plugins/claude-code and plugins/opencode ship with every forge. Direction #334 (4) asks for thin plugins beside every harness.

Done when:

  • [x] offeredPluginRepo in src/core/mcp_card.ts falls back to the public upstream the forge comes from (the source llms.txt's clone line already names) when the forge's own repository is not public. It returns undefined only when neither is available.
  • [x] llms.txt, /.well-known/mcp.json and the MCP connect card all show the install lines with that source, in the same words.
  • [x] Tests (in test/plugins.test.ts or a new file): a private own repository gives the upstream's lines, a public one gives its own, and neither gives the "not offered" line.

Files: src/core/mcp_card.ts, src/web/standards.ts, a test. Run bun test test/mcp-size.test.ts. The MCP card must stay inside its ceilings.

commented

Reviewed pull #10901 at its head: ticked offeredPluginRepo in src/core/mcp_card.ts falls back to the public upstream the forge comes from (the source llms.txt's clone line already names) when the forge's own repository is not public. It returns undefined only when neither is available.; llms.txt, /.well-known/mcp.json and the MCP connect card all show the install lines with that source, in the same words.; Tests (in test/plugins.test.ts or a new file): a private own repository gives the upstream's lines, a public one gives its own, and neither gives the "not offered" line..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs