chore: initial scaffolding for SynthesisAgent.ClaudePlugin

Stdio MCP server registered as a Claude Code --channels source. Receives
inbound events from SynthesisAgent.OpenclawPlugin and emits
notifications/claude/channel to push them into the running Claude turn loop.
Forwards tools/call requests back to OpenClaw for execution.

Capability declaration uses experimental.claude/channel — required nesting
discovered 2026-05-14 against the official Anthropic discord plugin source.
This commit is contained in:
zhi
2026-05-14 09:41:14 +00:00
commit cb94464060
7 changed files with 340 additions and 0 deletions

18
package.json Normal file
View File

@@ -0,0 +1,18 @@
{
"name": "synthesis-claude-plugin",
"version": "0.0.1",
"license": "Apache-2.0",
"type": "module",
"bin": "./server.ts",
"scripts": {
"start": "bun install --no-summary && bun server.ts"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.0.0",
"ws": "^8.18.0",
"zod": "^3.23.0"
},
"devDependencies": {
"@types/ws": "^8.5.10"
}
}