Merge pull request 'fix(install): make Gitea repo install-ready + canonical marketplace flow (#37)' (#1) from fix/install-path-gitea-marketplace into main
Some checks failed
Test / bun test (push) Failing after 26s
Some checks failed
Test / bun test (push) Failing after 26s
This commit is contained in:
commit
9dd22e3b3e
25
.claude-plugin/marketplace.json
Normal file
25
.claude-plugin/marketplace.json
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
"name": "molecule-channel",
|
||||||
|
"owner": {
|
||||||
|
"name": "Molecule AI",
|
||||||
|
"email": "support@moleculesai.app",
|
||||||
|
"url": "https://moleculesai.app"
|
||||||
|
},
|
||||||
|
"plugins": [
|
||||||
|
{
|
||||||
|
"name": "molecule",
|
||||||
|
"source": ".",
|
||||||
|
"description": "Bridges Molecule A2A traffic into a Claude Code session via MCP. Subscribe to one or more Molecule workspaces; A2A messages from peers surface as conversation turns; replies route back through Molecule's A2A endpoints.",
|
||||||
|
"version": "0.4.0-gitea.1",
|
||||||
|
"homepage": "https://git.moleculesai.app/molecule-ai/molecule-mcp-claude-channel",
|
||||||
|
"license": "Apache-2.0",
|
||||||
|
"keywords": [
|
||||||
|
"molecule",
|
||||||
|
"molecule-ai",
|
||||||
|
"a2a",
|
||||||
|
"channel",
|
||||||
|
"mcp"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "molecule",
|
"name": "molecule",
|
||||||
"description": "Molecule AI channel for Claude Code — bridges Molecule A2A traffic into a Claude Code session via MCP. Subscribe to one or more Molecule workspaces; A2A messages from peers surface as conversation turns; replies route back through Molecule's A2A endpoints.",
|
"description": "Molecule AI channel for Claude Code — bridges Molecule A2A traffic into a Claude Code session via MCP. Subscribe to one or more Molecule workspaces; A2A messages from peers surface as conversation turns; replies route back through Molecule's A2A endpoints.",
|
||||||
"version": "0.1.0",
|
"version": "0.4.0-gitea.1",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"molecule",
|
"molecule",
|
||||||
"molecule-ai",
|
"molecule-ai",
|
||||||
|
|||||||
20
README.md
20
README.md
@ -16,10 +16,22 @@ No tunnel. No public endpoint. The plugin self-registers each watched workspace
|
|||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
|
This plugin distributes through the Claude Code marketplace flow. From any shell:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
claude --channels plugin:molecule@Molecule-AI/molecule-mcp-claude-channel
|
# 1. Add the marketplace (one-time per machine)
|
||||||
|
claude plugin marketplace add https://git.moleculesai.app/molecule-ai/molecule-mcp-claude-channel.git
|
||||||
|
|
||||||
|
# 2. Install the plugin
|
||||||
|
claude plugin install molecule@molecule-channel
|
||||||
```
|
```
|
||||||
|
|
||||||
|
`molecule` is the plugin name (from `.claude-plugin/plugin.json`); `molecule-channel` is the marketplace name (from `.claude-plugin/marketplace.json`). Both live in the same repo — installing the marketplace makes the plugin available; installing the plugin enables it for your sessions.
|
||||||
|
|
||||||
|
To pin a specific version, append `#<tag>` to the marketplace URL — for example `…/molecule-mcp-claude-channel.git#v0.4.0-gitea.1`. Without a ref, you track `main`.
|
||||||
|
|
||||||
|
> **Note for users coming from the GitHub install path**: the GitHub `Molecule-AI` org was suspended on 2026-05-06 and is permanently gone. The earlier `claude --channels plugin:molecule@Molecule-AI/...` invocation no longer resolves. The new path (above) is the canonical replacement; behavior is unchanged.
|
||||||
|
|
||||||
On first launch the plugin creates `~/.claude/channels/molecule/` and exits with a config-missing error pointing at `.env`. Fill it in:
|
On first launch the plugin creates `~/.claude/channels/molecule/` and exits with a config-missing error pointing at `.env`. Fill it in:
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -43,9 +55,11 @@ The `.env` file is `chmod 600` after first read; tokens never appear in environm
|
|||||||
Re-launch Claude Code:
|
Re-launch Claude Code:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
claude --channels plugin:molecule@Molecule-AI/molecule-mcp-claude-channel
|
claude
|
||||||
```
|
```
|
||||||
|
|
||||||
|
(After the one-time `marketplace add` + `plugin install` above, the plugin loads automatically on every `claude` invocation; no per-launch flag needed.)
|
||||||
|
|
||||||
You should see on stderr:
|
You should see on stderr:
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -142,7 +156,7 @@ A2A messages can carry `Part` entries with `url` and `media_type`. The MVP deliv
|
|||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
Single-file MCP server. The whole bridge lives in `server.ts`. Open issues at [Molecule-AI/molecule-mcp-claude-channel](https://github.com/Molecule-AI/molecule-mcp-claude-channel/issues).
|
Single-file MCP server. The whole bridge lives in `server.ts`. Open issues at [molecule-ai/molecule-mcp-claude-channel](https://git.moleculesai.app/molecule-ai/molecule-mcp-claude-channel/issues).
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "molecule-mcp-claude-channel",
|
"name": "molecule-mcp-claude-channel",
|
||||||
"version": "0.3.0",
|
"version": "0.4.0-gitea.1",
|
||||||
"description": "Molecule AI channel for Claude Code — bridges A2A traffic into a Claude Code session via MCP",
|
"description": "Molecule AI channel for Claude Code — bridges A2A traffic into a Claude Code session via MCP",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user