{"_id":"@aiclude/claude-code-channel","_rev":"6-19216f641003d255bb50556ceb7b57a0","name":"@aiclude/claude-code-channel","dist-tags":{"latest":"0.3.2"},"versions":{"0.1.0":{"name":"@aiclude/claude-code-channel","version":"0.1.0","keywords":["mcp","claude-code","aiclude","channel","ai-agent","anthropic"],"author":{"name":"AICLUDE Team"},"license":"MIT","_id":"@aiclude/claude-code-channel@0.1.0","maintainers":[{"name":"aiclude","email":"admdev@aiclude.com"}],"bin":{"aiclude-channel":"dist/index.js"},"dist":{"shasum":"3347520cf99683fffa7b1d7265778c3aa6001980","tarball":"https://registry.npmjs.org/@aiclude/claude-code-channel/-/claude-code-channel-0.1.0.tgz","fileCount":14,"integrity":"sha512-GofRp2tjRdvi9ExO8DNd3tPMR2wj/AAnPf5FKJqHoKHRTnAc1Fyww5puA9cy2YgCpOcGpMqSziQ3cDVj/SD1Yw==","signatures":[{"sig":"MEUCIQC7RgMpp0yebe7EXZvKL1Vxt+s3Vp+stbM6PmaTKOAAbQIgJkaX5P6W2KPPajjTWrnkcNZ1QJVD00LvHM/yGLztRuM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34497},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"28eb5353a74d69caf4368567c9f9f913dee85672","scripts":{"dev":"ts-node --esm src/index.ts","build":"tsc","start":"node dist/index.js","publish:npm":"npm run build && npm publish --access public","prepublishOnly":"npm run build"},"_npmUser":{"name":"aiclude","email":"admdev@aiclude.com"},"_npmVersion":"10.8.2","description":"Claude Code Channel server for AICLUDE platform — bridge between AICLUDE agents and Claude Code sessions","directories":{},"_nodeVersion":"20.19.4","dependencies":{"zod":"^3.23.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.3.0","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-code-channel_0.1.0_1774605459231_0.6688131235215524","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@aiclude/claude-code-channel","version":"0.2.0","keywords":["mcp","claude-code","aiclude","channel","ai-agent","anthropic"],"author":{"name":"AICLUDE Team"},"license":"MIT","_id":"@aiclude/claude-code-channel@0.2.0","maintainers":[{"name":"aiclude","email":"admdev@aiclude.com"}],"bin":{"aiclude-channel":"dist/index.js"},"dist":{"shasum":"00a2fc56f11ee6a1c7cca4fc82a0334511a0d7d9","tarball":"https://registry.npmjs.org/@aiclude/claude-code-channel/-/claude-code-channel-0.2.0.tgz","fileCount":14,"integrity":"sha512-mQO0+Q7LKbcFjX1CYVUu4AnHW4WZvOjeEEXoE8Q6zujSzdWQGLI4NR8v+hap67MtQ9aU+4aPkQpBJomh1mZsSw==","signatures":[{"sig":"MEUCIQDfGtA8G9xiVCGghb4GOECrFSdXlTq0rjEP7Q2Qw2+t0wIgQg+rH7druEU8LDPKANVFyehaJw8a3lcBuqTTN5/8Z40=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35141},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"28eb5353a74d69caf4368567c9f9f913dee85672","scripts":{"dev":"ts-node --esm src/index.ts","build":"tsc","start":"node dist/index.js","publish:npm":"npm run build && npm publish --access public","prepublishOnly":"npm run build"},"_npmUser":{"name":"aiclude","email":"admdev@aiclude.com"},"_npmVersion":"10.8.2","description":"Claude Code Channel server for AICLUDE platform — bridge between AICLUDE agents and Claude Code sessions","directories":{},"_nodeVersion":"20.19.4","dependencies":{"zod":"^3.23.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.3.0","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-code-channel_0.2.0_1774605896733_0.2247141327685096","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@aiclude/claude-code-channel","version":"0.2.1","keywords":["mcp","claude-code","aiclude","channel","ai-agent","anthropic"],"author":{"name":"AICLUDE Team"},"license":"SEE LICENSE IN LICENSE","_id":"@aiclude/claude-code-channel@0.2.1","maintainers":[{"name":"aiclude","email":"admdev@aiclude.com"}],"bin":{"aiclude-channel":"dist/index.js"},"dist":{"shasum":"294e874191fff29338d26a9b7a67ebb3197c199c","tarball":"https://registry.npmjs.org/@aiclude/claude-code-channel/-/claude-code-channel-0.2.1.tgz","fileCount":15,"integrity":"sha512-zIBkP/Z5huwzBVfh2zJUcKWHco8E1xDFGjQMSYf5fnDZcEtk2JfDpEumo9Sp6Lf1ucKYmB4yJqTyXUa4ar3bbQ==","signatures":[{"sig":"MEUCIQDKp7r+JLR/lrrdVGxrv4l7G2wqKIFnh9kWEFzW5fivDAIgHhmgzFYysRN026N84raT17N4l0QoC4MaDieSuzXDv9E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36495},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"28eb5353a74d69caf4368567c9f9f913dee85672","scripts":{"dev":"ts-node --esm src/index.ts","build":"tsc","start":"node dist/index.js","publish:npm":"npm run build && npm publish --access public","prepublishOnly":"npm run build"},"_npmUser":{"name":"aiclude","email":"admdev@aiclude.com"},"_npmVersion":"10.8.2","description":"Claude Code Channel server for AICLUDE platform — bridge between AICLUDE agents and Claude Code sessions","directories":{},"_nodeVersion":"20.19.4","dependencies":{"zod":"^3.23.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.3.0","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-code-channel_0.2.1_1774608052703_0.7739995088389775","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@aiclude/claude-code-channel","version":"0.3.0","keywords":["mcp","claude-code","aiclude","channel","ai-agent","anthropic"],"author":{"name":"AICLUDE Team"},"license":"SEE LICENSE IN LICENSE","_id":"@aiclude/claude-code-channel@0.3.0","maintainers":[{"name":"aiclude","email":"admdev@aiclude.com"}],"bin":{"aiclude-channel":"dist/index.js"},"dist":{"shasum":"f6dc4ecba92592d3128f020e65b75d97098edef1","tarball":"https://registry.npmjs.org/@aiclude/claude-code-channel/-/claude-code-channel-0.3.0.tgz","fileCount":15,"integrity":"sha512-OEG8Yw3Hv6kmBFX2iYxefmUoiu+Z4pOhWEgJF1FDm/dBE0kq+HBRkTJPo9NwLmaoD3PQ7RGepNyM3bjWXvHhfA==","signatures":[{"sig":"MEQCIAMdkyL6NlSnBiLSQreDo9Gr8fysZehnijCf5nfHEQbzAiAXR2DCyIy9KvO15YiSrWr8leM27WZ1irAZcIwA5Hbi9g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33178},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"28eb5353a74d69caf4368567c9f9f913dee85672","scripts":{"dev":"ts-node --esm src/index.ts","build":"tsc","start":"node dist/index.js","publish:npm":"npm run build && npm publish --access public","prepublishOnly":"npm run build"},"_npmUser":{"name":"aiclude","email":"admdev@aiclude.com"},"_npmVersion":"10.8.2","description":"Claude Code Channel server for AICLUDE platform — bridge between AICLUDE agents and Claude Code sessions","directories":{},"_nodeVersion":"20.19.4","dependencies":{"ws":"^8.20.0","zod":"^3.23.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","@types/ws":"^8.18.1","typescript":"^5.3.0","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-code-channel_0.3.0_1774837207208_0.265743460348596","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@aiclude/claude-code-channel","version":"0.3.1","keywords":["mcp","claude-code","aiclude","channel","ai-agent","anthropic"],"author":{"name":"AICLUDE Team"},"license":"SEE LICENSE IN LICENSE","_id":"@aiclude/claude-code-channel@0.3.1","maintainers":[{"name":"aiclude","email":"admdev@aiclude.com"}],"bin":{"aiclude-channel":"dist/index.js"},"dist":{"shasum":"ef3e65a750823156c40d6a132e9d35e5ad0759de","tarball":"https://registry.npmjs.org/@aiclude/claude-code-channel/-/claude-code-channel-0.3.1.tgz","fileCount":15,"integrity":"sha512-dPcd5x0nlfUvQGGNvTQOV2zM5U2sLMe+T3LRVliA5XpZ7CE4cGpoYGhbVBnOZN0v/Tqw38mw2KR2SzOTw/o80Q==","signatures":[{"sig":"MEYCIQDsDgG2jNZFpzz4Dsz7gWSBoh4UI60asbrhsMK7k3P9YAIhAPdePcgTRxTfInaf+m6Vahgv6HA6nOGzL4OozUwi7Tw9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33183},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"28eb5353a74d69caf4368567c9f9f913dee85672","scripts":{"dev":"ts-node --esm src/index.ts","build":"tsc","start":"node dist/index.js","publish:npm":"npm run build && npm publish --access public","prepublishOnly":"npm run build"},"_npmUser":{"name":"aiclude","email":"admdev@aiclude.com"},"_npmVersion":"10.8.2","description":"Claude Code Channel server for AICLUDE platform — bridge between AICLUDE agents and Claude Code sessions","directories":{},"_nodeVersion":"20.19.4","dependencies":{"ws":"^8.20.0","zod":"^3.23.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","@types/ws":"^8.18.1","typescript":"^5.3.0","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/claude-code-channel_0.3.1_1774842622563_0.8432458177749249","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@aiclude/claude-code-channel","version":"0.3.2","description":"Claude Code Channel server for AICLUDE platform — bridge between AICLUDE agents and Claude Code sessions","type":"module","main":"dist/index.js","bin":{"aiclude-channel":"dist/index.js"},"scripts":{"build":"tsc","start":"node dist/index.js","dev":"ts-node --esm src/index.ts","prepublishOnly":"npm run build","publish:npm":"npm run build && npm publish --access public"},"keywords":["mcp","claude-code","aiclude","channel","ai-agent","anthropic"],"author":{"name":"AICLUDE Team"},"license":"SEE LICENSE IN LICENSE","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0","ws":"^8.20.0","zod":"^3.23.0"},"devDependencies":{"@types/node":"^20.10.0","@types/ws":"^8.18.1","ts-node":"^10.9.2","typescript":"^5.3.0"},"engines":{"node":">=18.0.0"},"_id":"@aiclude/claude-code-channel@0.3.2","gitHead":"15fe40ac4d39154faeaee7fa4e2d698f487d861f","types":"./dist/index.d.ts","_nodeVersion":"20.19.4","_npmVersion":"10.8.2","dist":{"integrity":"sha512-3w/kRVnEchLuv6RvAW0haQWFlLXqjOuc/CGoUnxRUaBePhnsgYU82OpozwAUyywlXYWa8AmnYqQsoTPAvc4UCQ==","shasum":"fd4626d830f998ba02b7927932ed6a5a06f60cb7","tarball":"https://registry.npmjs.org/@aiclude/claude-code-channel/-/claude-code-channel-0.3.2.tgz","fileCount":15,"unpackedSize":37050,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCFvghK0zJ1QyGLnBZ27vLvyxgUxrvdCg4swWToJO4szAIgYL80O0UMNtxz+bwSHCCHdZJRc6/k52kqmFpiBHtHg2s="}]},"_npmUser":{"name":"aiclude","email":"admdev@aiclude.com"},"directories":{},"maintainers":[{"name":"aiclude","email":"admdev@aiclude.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/claude-code-channel_0.3.2_1780434827375_0.9263657686132216"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-27T09:57:39.156Z","modified":"2026-06-02T21:13:47.697Z","0.1.0":"2026-03-27T09:57:39.367Z","0.2.0":"2026-03-27T10:04:56.888Z","0.2.1":"2026-03-27T10:40:52.848Z","0.3.0":"2026-03-30T02:20:07.354Z","0.3.1":"2026-03-30T03:50:22.702Z","0.3.2":"2026-06-02T21:13:47.563Z"},"author":{"name":"AICLUDE Team"},"license":"SEE LICENSE IN LICENSE","keywords":["mcp","claude-code","aiclude","channel","ai-agent","anthropic"],"description":"Claude Code Channel server for AICLUDE platform — bridge between AICLUDE agents and Claude Code sessions","maintainers":[{"name":"aiclude","email":"admdev@aiclude.com"}],"readme":"# @aiclude/claude-code-channel\n\nA bridge between [AICLUDE](https://aiclude.com) AI agents and Claude Code sessions via the MCP Channel protocol.\n\n> **Prerequisites:** You need an AICLUDE account. Configure your agent with a Coding Agent connection in the pipeline settings to get started.\n\n## Overview\n\nThis package allows AICLUDE agents to delegate code-related tasks — such as code analysis, refactoring, bug fixes, and file modifications — to a local Claude Code session, and receive results back in real-time.\n\n```\nAICLUDE Agent ◀══ WebSocket ══▶ Channel Server ──▶ Claude Code\n                                      ◀── reply ───┘\n```\n\nThe Channel Server connects to AICLUDE automatically — no port forwarding, tunnels, or URL configuration needed.\n\n## Setup (2 steps)\n\n### Step 1. Get Your Token\n\nIn the AICLUDE web console, go to your agent's **Pipeline** settings, click **Change to Coding Agent** in the generation stage, and follow the setup guide. A connection token will be generated — copy it.\n\n### Step 2. Add to `.mcp.json` and Run\n\nCreate or edit `.mcp.json` in your project root:\n\n```json\n{\n  \"mcpServers\": {\n    \"aiclude-channel\": {\n      \"command\": \"npx\",\n      \"args\": [\"@aiclude/claude-code-channel\", \"--token\", \"YOUR_TOKEN_HERE\"]\n    }\n  }\n}\n```\n\nThen start Claude Code:\n\n```bash\nclaude --dangerously-load-development-channels server:aiclude-channel\n```\n\nThat's it! The Channel Server automatically connects to AICLUDE using the info embedded in the token.\n\n## Options\n\n| Option | Description | Default |\n|--------|-------------|---------|\n| `--token, -t` | AICLUDE connection token (required) | — |\n| `--timeout` | Default task timeout in seconds | `300` |\n\nEnvironment variable `AICLUDE_TOKEN` is also supported.\n\n## How It Works\n\nThe Channel Server runs as a subprocess managed by Claude Code. It plays two roles:\n\n1. **MCP Channel** — Communicates with Claude Code over stdio using the `claude/channel` protocol.\n2. **WebSocket Client** — Maintains a persistent outbound connection to AICLUDE, receiving commands and sending results through the same channel.\n\n## Security\n\n- **Outbound-only** — The Channel Server initiates the connection; no ports are opened or exposed.\n- Token authentication — The connection token is verified server-side before accepting the WebSocket.\n- Automatic reconnection with exponential backoff on disconnection.\n- Request body size limits and concurrent job caps.\n\n## Requirements\n\n- Node.js 18+\n- Claude Code v2.1.80+\n- An AICLUDE account\n\n## License\n\nProprietary. Copyright (c) 2025-2026 AICLUDE. All rights reserved.\nThis software is licensed for use exclusively with the AICLUDE platform.\n","readmeFilename":"README.md"}