{"_id":"@agen2/connect","_rev":"8-6cb6380ac6bc17dc6c5c4b1d00ea0195","name":"@agen2/connect","dist-tags":{"latest":"0.8.0"},"versions":{"0.1.0":{"name":"@agen2/connect","version":"0.1.0","license":"MIT","_id":"@agen2/connect@0.1.0","maintainers":[{"name":"agen2","email":"wf.ttt@icloud.com"}],"bin":{"agen2-connect":"index.mjs"},"dist":{"shasum":"481c648831fa29de31ceb5cddd387ec1013ef54e","tarball":"https://registry.npmjs.org/@agen2/connect/-/connect-0.1.0.tgz","fileCount":3,"integrity":"sha512-Qr6m1+QcOyU37fpICEPEI8amAeIZrFbEK8v7FfKdLfUVwqW0uONvSPuV5kxY09BUn1Oh2N/kbkkU6GQ7LoRlVg==","signatures":[{"sig":"MEUCIDVyXRVWPGcCY+PL/heIozw3UP2gXWWHp/uoc07TXOMmAiEAjBDGIog6mwA45kZyrzGtRBVEwO+P/PU9L8tCZ0xvFxg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10150},"type":"module","engines":{"node":">=18"},"_npmUser":{"name":"agen2","email":"wf.ttt@icloud.com"},"_npmVersion":"10.9.4","description":"agen2 connector — links your locally-installed AI agent CLIs to the agen2 server with one command.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"ws":"^8.18.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/connect_0.1.0_1780232734564_0.3771003647563047","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@agen2/connect","version":"0.2.0","license":"MIT","_id":"@agen2/connect@0.2.0","maintainers":[{"name":"agen2","email":"wf.ttt@icloud.com"}],"bin":{"agen2-connect":"index.mjs"},"dist":{"shasum":"52f7202a0dcc14c7417edbacaf5d73ef968dcbef","tarball":"https://registry.npmjs.org/@agen2/connect/-/connect-0.2.0.tgz","fileCount":3,"integrity":"sha512-sWC3wNfNBDGEpbYhKQJosbT74sL0NxGzfcNd5V3iirjHxhHPYpU4hSfJcoq9R5atrVTaZyKeGUwoyVihSVgIEw==","signatures":[{"sig":"MEQCIFCLgwcX2ZNScI4Gx61Cfi1hb0Vil6wsFiSM5XctO3StAiA/X3FDVzW1rtq5FVlpeaUQA3H7INzsIiHf428gCb5HSg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10638},"type":"module","engines":{"node":">=18"},"_npmUser":{"name":"agen2","email":"wf.ttt@icloud.com"},"_npmVersion":"10.9.4","description":"agen2 connector — links your locally-installed AI agent CLIs to the agen2 server with one command.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"ws":"^8.18.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/connect_0.2.0_1780239385412_0.18565842013428058","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@agen2/connect","version":"0.3.0","license":"MIT","_id":"@agen2/connect@0.3.0","maintainers":[{"name":"agen2","email":"wf.ttt@icloud.com"}],"bin":{"agen2-connect":"index.mjs"},"dist":{"shasum":"9a412c8d07eb6fa4675b0bd8f7e4f383e464e962","tarball":"https://registry.npmjs.org/@agen2/connect/-/connect-0.3.0.tgz","fileCount":3,"integrity":"sha512-ruFEJdf7LgtzgsCpCEjulwfhLl5Lgn3HXkm7fbRS+F8hfLZoZpBjKpR5Kijofz9qhKkOWHTMm+rw4Uk5XVnozw==","signatures":[{"sig":"MEYCIQCmTnUoz5YmqFUnElVEzKQIP2SpAZBQmuGtHuVFkaiJwwIhAPJRxUanXjmPs+4XdG+Hz1Aq9Sh2EMlRRfAEmsvujQXy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11013},"type":"module","engines":{"node":">=18"},"_npmUser":{"name":"agen2","email":"wf.ttt@icloud.com"},"_npmVersion":"10.9.4","description":"agen2 connector — links your locally-installed AI agent CLIs to the agen2 server with one command.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"ws":"^8.18.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/connect_0.3.0_1780318104533_0.46995972327209756","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@agen2/connect","version":"0.4.0","license":"MIT","_id":"@agen2/connect@0.4.0","maintainers":[{"name":"agen2","email":"wf.ttt@icloud.com"}],"bin":{"agen2-connect":"index.mjs"},"dist":{"shasum":"60c6cc5c395cfe54ee374d01d045162f9926e6ac","tarball":"https://registry.npmjs.org/@agen2/connect/-/connect-0.4.0.tgz","fileCount":3,"integrity":"sha512-kfyivw68IVKrGCR6ra+rTgd2Eqj3WxadxJky0NIIIrelM/kkwTw/XI+SevMLQTdGc3gvJaSjcrf84hxJjSwldQ==","signatures":[{"sig":"MEUCIQC8QXaynX50pR0Rxm5WPZN/Wx4ooUB0nPhp7+UTlkuzMQIgRxp2AEO5IL2Tx1iN2hKbaQ7uSNyG1zpDzy0iZ/vTnqs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11799},"type":"module","engines":{"node":">=18"},"_npmUser":{"name":"agen2","email":"wf.ttt@icloud.com"},"_npmVersion":"10.9.4","description":"agen2 connector — links your locally-installed AI agent CLIs to the agen2 server with one command.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"ws":"^8.18.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/connect_0.4.0_1780325273004_0.06098337445079327","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@agen2/connect","version":"0.5.0","license":"MIT","_id":"@agen2/connect@0.5.0","maintainers":[{"name":"agen2","email":"wf.ttt@icloud.com"}],"bin":{"agen2-connect":"index.mjs"},"dist":{"shasum":"2c3f3a0e56016188913517cb440ddc65fafd69ce","tarball":"https://registry.npmjs.org/@agen2/connect/-/connect-0.5.0.tgz","fileCount":3,"integrity":"sha512-PjSLrJCv0TjMPjpjljgUQ7u9O7xSPxKaUmQgVLLksg5kfMiPuNYnJdLxuodmSR2Qw6Qm9jm4lHuxYPG2A45peQ==","signatures":[{"sig":"MEQCIGZChADA6OiMLjTL8J/QD2D5J/oVRutUSKQ57BvRa+HiAiALjNEi89g7c5yhibNs9HB3mXftLRJGVPOcejLfZNf2pw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12414},"type":"module","engines":{"node":">=18"},"_npmUser":{"name":"agen2","email":"wf.ttt@icloud.com"},"_npmVersion":"10.9.4","description":"agen2 connector — links your locally-installed AI agent CLIs to the agen2 server with one command.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"ws":"^8.18.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/connect_0.5.0_1780755616141_0.2771536233971479","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@agen2/connect","version":"0.6.0","license":"MIT","_id":"@agen2/connect@0.6.0","maintainers":[{"name":"agen2","email":"wf.ttt@icloud.com"}],"bin":{"agen2-connect":"index.mjs"},"dist":{"shasum":"f09a3ae448e09f3e74a47cc093d11b7fcbf193bc","tarball":"https://registry.npmjs.org/@agen2/connect/-/connect-0.6.0.tgz","fileCount":3,"integrity":"sha512-emDk9nOal5P/JBawlohyB4znUsYpgZk0rlCBVeBMCVZE9Sv+uUFOxD8Rbw5DsyMVR5Rz37CxKML8gh3N408dEA==","signatures":[{"sig":"MEUCIHN/toqn/883PQy8eCaVMrZTsadywA9lXbw0/BN/tks2AiEAhD+HURKGL4QGmMKaRwAk8gjYXd3lKWUV4s74VJmkR7c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13247},"type":"module","engines":{"node":">=18"},"_npmUser":{"name":"agen2","email":"wf.ttt@icloud.com"},"_npmVersion":"10.9.4","description":"agen2 connector — links your locally-installed AI agent CLIs to the agen2 server with one command.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"ws":"^8.18.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/connect_0.6.0_1780757138367_0.4422883277591527","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@agen2/connect","version":"0.7.0","license":"MIT","_id":"@agen2/connect@0.7.0","maintainers":[{"name":"agen2","email":"wf.ttt@icloud.com"}],"bin":{"agen2-connect":"index.mjs"},"dist":{"shasum":"3a23191c7ec7c906f0de68e3e8116ee0aed1d555","tarball":"https://registry.npmjs.org/@agen2/connect/-/connect-0.7.0.tgz","fileCount":3,"integrity":"sha512-1LOkksv2tjb0yrbMPsQSnKYujenmqK7+NOOimRTg56JFJo7qIIzmBuP7AxN2QkpP1JjuidKVa4gRr55eLrRYwA==","signatures":[{"sig":"MEQCIHjIwUX8yVWAGHt/c9UJkGCHfDRwsv/eIPg3ll4uFlaYAiAHhVknL6mw/JUbFpDRdiYIP0d1wCYAIQ3fH2sfLbBTUA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14752},"type":"module","engines":{"node":">=18"},"_npmUser":{"name":"agen2","email":"wf.ttt@icloud.com"},"_npmVersion":"10.9.4","description":"agen2 connector — links your locally-installed AI agent CLIs to the agen2 server with one command.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"ws":"^8.18.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/connect_0.7.0_1780758134562_0.886950020418805","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@agen2/connect","version":"0.8.0","description":"agen2 connector — links your locally-installed AI agent CLIs to the agen2 server with one command.","type":"module","bin":{"agen2-connect":"index.mjs"},"engines":{"node":">=18"},"dependencies":{"ws":"^8.18.0"},"license":"MIT","_id":"@agen2/connect@0.8.0","_nodeVersion":"22.22.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-XgXX8daIgo2x0yLa2PgjpeYLotaZg/VO/xzhsGwyCadPJVwcR/tADC+u/SU46VllCYlCmPn4La2hb7Dljjrejg==","shasum":"6cb49dc5628c9de8d85a5df5a0a1b873ef74bc26","tarball":"https://registry.npmjs.org/@agen2/connect/-/connect-0.8.0.tgz","fileCount":3,"unpackedSize":16905,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCFLORpmLlI1Kcm1AGt/o2HG5tpIKMmmm+5LaCCOOHOSAIhAJ/+A0g/txI9NrXpX5IfAzHy2e96+nR+mStl5/PSmbVV"}]},"_npmUser":{"name":"agen2","email":"wf.ttt@icloud.com"},"directories":{},"maintainers":[{"name":"agen2","email":"wf.ttt@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/connect_0.8.0_1780837468893_0.6258688489910613"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-31T13:05:34.433Z","modified":"2026-06-07T13:04:29.147Z","0.1.0":"2026-05-31T13:05:34.703Z","0.2.0":"2026-05-31T14:56:25.545Z","0.3.0":"2026-06-01T12:48:24.678Z","0.4.0":"2026-06-01T14:47:53.151Z","0.5.0":"2026-06-06T14:20:16.278Z","0.6.0":"2026-06-06T14:45:38.520Z","0.7.0":"2026-06-06T15:02:14.697Z","0.8.0":"2026-06-07T13:04:29.037Z"},"license":"MIT","description":"agen2 connector — links your locally-installed AI agent CLIs to the agen2 server with one command.","maintainers":[{"name":"agen2","email":"wf.ttt@icloud.com"}],"readme":"# @agen2/connect\n\nOne-command connector for [Agent to Dashboard](https://dash.agentto.net). It links the AI\nagent CLIs already installed on your machine (Hermes, Claude Code, ClawClaude,\nOpenClaw, …) to your agen2 account, so you can chat with them from the agen2 web\nUI — including from your phone.\n\n## Use\n\nLog in to agen2, open **我的 / Account**, copy your key, then run:\n\n```bash\nnpx @agen2/connect@latest --auth-url <你的账号密钥>\n```\n\nThat's it. The connector:\n\n- detects which agent CLIs you have installed,\n- registers each as one of *your* agents on the server (the key proves ownership),\n- answers chats by running the local CLI on your machine.\n\nKeep the window open — it's your live agent endpoint, and it auto-reconnects if\nthe connection drops.\n\n## Notes\n\n- The server address is fixed. Self-hosting? override with `--server ws://host:port/api/agent-realtime` or `AGEN2_URL`.\n- Your key is private; anyone with it can connect as you. Rotate it from the account page if leaked.\n- Requires Node ≥ 18.\n","readmeFilename":"README.md"}