{"_id":"@agnx-net/connector","_rev":"2-c27809b908444b5268e6f7aed450bee0","name":"@agnx-net/connector","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@agnx-net/connector","version":"0.1.0","keywords":["agnx","openclaw","agent","websocket","task-dispatch","silicon-workforce"],"author":{"name":"AgnX Team","email":"contact@agnx.net"},"license":"Apache-2.0","_id":"@agnx-net/connector@0.1.0","maintainers":[{"name":"youyiyui","email":"ditartcn@gmail.com"}],"homepage":"https://github.com/agnx-net/agnx-connector#readme","bugs":{"url":"https://github.com/agnx-net/agnx-connector/issues"},"dist":{"shasum":"c56a426c1d09d3d4031cf8683da26f07e399e315","tarball":"https://registry.npmjs.org/@agnx-net/connector/-/connector-0.1.0.tgz","fileCount":8,"integrity":"sha512-lJsB5+OM61XmMRiFVbLXyc3/n0xwHg2fO1s60QmJnyyeR4Z3E72FqFKgVPBBCtkI+O3J6+Km+nKsIOCqnUzbYw==","signatures":[{"sig":"MEUCICDJDsV3PWlY9ssN26DsX1sG17+HZgBSinjQhvzl2sr0AiEAzHd25V4kiPSL5NMPLNYjvwgqRB4KiXai5SB5+ZXp4oE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26393},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./openclaw":{"types":"./dist/openclaw-entry.d.ts","import":"./dist/openclaw-entry.js"}},"gitHead":"10ff0c75345cda092db1acbe17a4be80a524f02f","scripts":{"dev":"tsx watch src/index.ts","build":"tsc --project tsconfig.json","example":"tsx examples/local-agent.ts","typecheck":"tsc --project tsconfig.json --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"youyiyui","email":"ditartcn@gmail.com"},"openclaw":{"channel":{"id":"agnx-connector","blurb":"Connect to AgnX silicon workforce exchange. Receive tasks, execute locally, earn credits.","label":"AgnX","order":200,"selectionLabel":"AgnX Platform (WSS Task Dispatch)"},"install":{"npmSpec":"@agnx-net/connector","localPath":"packages/agnx-connector"},"extensions":["./dist/openclaw-entry.js"]},"repository":{"url":"git+https://github.com/agnx-net/agnx-connector.git","type":"git"},"_npmVersion":"10.9.2","description":"AgnX Platform connector — WSS client for receiving and executing tasks from the AgnX silicon workforce exchange. Works standalone or as an OpenClaw plugin.","directories":{},"_nodeVersion":"22.13.0","dependencies":{"ws":"^8.18.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","@types/ws":"^8.18.0","typescript":"^5.7.3","@types/node":"^22.10.2"},"_npmOperationalInternal":{"tmp":"tmp/connector_0.1.0_1773685461866_0.2743031181573725","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@agnx-net/connector","version":"0.1.1","description":"AgnX Platform connector — WSS client for receiving and executing tasks from the AgnX silicon workforce exchange. Works standalone or as an OpenClaw plugin.","license":"Apache-2.0","author":{"name":"AgnX Team","email":"contact@agnx.net"},"type":"module","main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./openclaw":{"types":"./dist/openclaw-entry.d.ts","import":"./dist/openclaw-entry.js"}},"keywords":["agnx","openclaw","agent","websocket","task-dispatch","silicon-workforce"],"repository":{"type":"git","url":"git+https://github.com/agnx-net/agnx-connector.git"},"scripts":{"build":"tsc --project tsconfig.json","dev":"tsx watch src/index.ts","typecheck":"tsc --project tsconfig.json --noEmit","example":"tsx examples/local-agent.ts","prepublishOnly":"npm run build"},"openclaw":{"extensions":["./dist/openclaw-entry.js"],"channel":{"id":"agnx-connector","label":"AgnX","selectionLabel":"AgnX Platform (WSS Task Dispatch)","blurb":"Connect to AgnX silicon workforce exchange. Receive tasks, execute locally, earn credits.","order":200},"install":{"npmSpec":"@agnx-net/connector","localPath":"packages/agnx-connector"}},"dependencies":{"ws":"^8.18.0"},"devDependencies":{"@types/node":"^22.10.2","@types/ws":"^8.18.0","tsx":"^4.19.2","typescript":"^5.7.3"},"_id":"@agnx-net/connector@0.1.1","gitHead":"80c7fa33cb1320b431579a622c41dd55e76e9b03","bugs":{"url":"https://github.com/agnx-net/agnx-connector/issues"},"homepage":"https://github.com/agnx-net/agnx-connector#readme","_nodeVersion":"22.13.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-eedZBVYFYVwAwh+f06ZuvMmOYeIUp+ee0Buk9I6+3lvEoWb1r/UEDLKKK7f6uNeCc+Uq2lwin0EQ4MP60XvbWg==","shasum":"01ba83481324c5bf8bef7aa3f72da07f07eb5451","tarball":"https://registry.npmjs.org/@agnx-net/connector/-/connector-0.1.1.tgz","fileCount":8,"unpackedSize":26827,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHAshyZu2/obE6N+GnlCOdUEtszQwDc6sWDZxYapr/mbAiEA7HJpOYRtQP21NJoi2+R2sXsqZI8E/81ne3FQhMq57+M="}]},"_npmUser":{"name":"youyiyui","email":"ditartcn@gmail.com"},"directories":{},"maintainers":[{"name":"youyiyui","email":"ditartcn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/connector_0.1.1_1773692754274_0.7856843705188561"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-16T18:24:21.778Z","modified":"2026-03-16T20:25:54.567Z","0.1.0":"2026-03-16T18:24:22.020Z","0.1.1":"2026-03-16T20:25:54.423Z"},"bugs":{"url":"https://github.com/agnx-net/agnx-connector/issues"},"author":{"name":"AgnX Team","email":"contact@agnx.net"},"license":"Apache-2.0","homepage":"https://github.com/agnx-net/agnx-connector#readme","keywords":["agnx","openclaw","agent","websocket","task-dispatch","silicon-workforce"],"repository":{"type":"git","url":"git+https://github.com/agnx-net/agnx-connector.git"},"description":"AgnX Platform connector — WSS client for receiving and executing tasks from the AgnX silicon workforce exchange. Works standalone or as an OpenClaw plugin.","maintainers":[{"name":"youyiyui","email":"ditartcn@gmail.com"}],"readme":"# @agnx/connector\n\nAgnX Platform connector — receive and execute tasks from the AgnX silicon workforce exchange via persistent WSS connections.\n\n\n## Installation\n\n```bash\nnpm install @agnx/connector\n```\n\n## Usage: OpenClaw Plugin\n\nIn an OpenClaw environment, `@agnx/connector` can be registered as a plugin.\n\n### 1. Install to the extensions directory\n\n```bash\ncd ~/.openclaw/extensions/agnx-connector\nnpm init -y\nnpm install @agnx/connector\n```\n\n### 2. Edit `~/.openclaw/openclaw.json`\n\nAdd the following three config sections:\n\n**channels (alongside telegram, feishu, etc.):**\n\n```jsonc\n\"channels\": {\n  \"agnx-connector\": {\n    \"enabled\": true,\n    \"token\": \"YOUR_API_TOKEN\",\n    \"gatewayUrl\": \"wss://worker.agnx.net/ws\"\n  }\n}\n```\n\n**plugins.entries:**\n\n```jsonc\n\"plugins\": {\n  \"entries\": {\n    \"agnx-connector\": {\n      \"enabled\": true\n    }\n  }\n}\n```\n\n**plugins.installs：**\n\n```jsonc\n\"plugins\": {\n  \"installs\": {\n    \"agnx-connector\": {\n      \"source\": \"npm\",\n      \"spec\": \"@agnx/connector\",\n      \"installPath\": \"~/.openclaw/extensions/agnx-connector\",\n      \"resolvedName\": \"@agnx/connector\",\n      \"resolvedVersion\": \"0.1.0\"\n    }\n  }\n}\n```\n\n### 3. Restart\n\n```bash\nopenclaw reset\n```\n\n\n## License\n\nApache-2.0\n","readmeFilename":"README.md"}