{"_id":"1sheng-agent","_rev":"2-87740f0b5d40ef9a5515d07ce4a4692e","name":"1sheng-agent","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"1sheng-agent","version":"0.1.0","license":"MIT","_id":"1sheng-agent@0.1.0","maintainers":[{"name":"kuangxb","email":"kuangxiongbo@gmail.com"}],"homepage":"https://github.com/kuangxiongbo/webaichat/tree/main/packages/1sheng-agent","bugs":{"url":"https://github.com/kuangxiongbo/webaichat/issues"},"bin":{"1sheng-agent":"bin/1sheng-agent.mjs"},"dist":{"shasum":"8a5dc59aa567c521b0cb0f15bf9afe9bcae3285f","tarball":"https://registry.npmjs.org/1sheng-agent/-/1sheng-agent-0.1.0.tgz","fileCount":4,"integrity":"sha512-XW8z5f1ZEOY82DEm+8RMiNV3eamtj+HbIeiS01Kr+mj1fd2wt1z4w81U6rMnupNuHn525KmCzN2QWi0Ym/pQnw==","signatures":[{"sig":"MEUCIQCHTiHuk55In038VZ7qxEdJZpHQS0NbhaEritt2yV7PDQIgPuhp+sCKzGCJT8OnKdqSH6CkBwynprMlCN2Su3TgT1w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8552},"type":"module","engines":{"node":">=22"},"gitHead":"d5fdb42ef6b56ebe14cd6cdb53ba4b61512b4695","_npmUser":{"name":"kuangxb","email":"kuangxiongbo@gmail.com"},"repository":{"url":"git+https://github.com/kuangxiongbo/webaichat.git","type":"git","directory":"packages/1sheng-agent"},"_npmVersion":"10.9.2","description":"1sheng Local Agent for connecting a personal computer workspace to WebAIChat","directories":{},"_nodeVersion":"22.16.0","dependencies":{"ws":"8.21.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/1sheng-agent_0.1.0_1787304548618_0.6628433018110156","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"1sheng-agent","version":"0.1.1","description":"1sheng Local Agent for connecting a personal computer workspace to WebAIChat","license":"MIT","type":"module","bin":{"1sheng-agent":"bin/1sheng-agent.mjs"},"engines":{"node":">=22"},"dependencies":{"ws":"8.21.0"},"repository":{"type":"git","url":"git+https://github.com/kuangxiongbo/webaichat.git","directory":"packages/1sheng-agent"},"homepage":"https://github.com/kuangxiongbo/webaichat/tree/main/packages/1sheng-agent","_id":"1sheng-agent@0.1.1","gitHead":"d5fdb42ef6b56ebe14cd6cdb53ba4b61512b4695","bugs":{"url":"https://github.com/kuangxiongbo/webaichat/issues"},"_nodeVersion":"22.16.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-FW5mkxM9S/MbkkH/jJtQTdiprVszDHuirytk/uTYd5G+m3bvG0z84BG2FIn7vzh+ywEmp0M5xroMIZedV1NIMA==","shasum":"463697e0e0838a0de84bbb9a03636b4bf002ddb6","tarball":"https://registry.npmjs.org/1sheng-agent/-/1sheng-agent-0.1.1.tgz","fileCount":4,"unpackedSize":8666,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEWZ5eZ7Eb3HczuRtd4ggCaRqyVIetzE3xvB8e2HtknwAiBocOaEaWr2xLAXOz5SygvaXuAg3zYAlUR4Xe1XdLmCJQ=="}]},"_npmUser":{"name":"kuangxb","email":"kuangxiongbo@gmail.com"},"directories":{},"maintainers":[{"name":"kuangxb","email":"kuangxiongbo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/1sheng-agent_0.1.1_1787304841802_0.66971697741531"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-21T09:29:08.412Z","modified":"2026-08-21T09:34:02.091Z","0.1.0":"2026-08-21T09:29:08.756Z","0.1.1":"2026-08-21T09:34:01.936Z"},"bugs":{"url":"https://github.com/kuangxiongbo/webaichat/issues"},"license":"MIT","homepage":"https://github.com/kuangxiongbo/webaichat/tree/main/packages/1sheng-agent","repository":{"type":"git","url":"git+https://github.com/kuangxiongbo/webaichat.git","directory":"packages/1sheng-agent"},"description":"1sheng Local Agent for connecting a personal computer workspace to WebAIChat","maintainers":[{"name":"kuangxb","email":"kuangxiongbo@gmail.com"}],"readme":"# 1sheng-agent\n\nConnect a personal computer workspace to WebAIChat through an outbound\nWebSocket connection.\n\n## Install\n\n```bash\nnpm install -g 1sheng-agent\n```\n\n## Pair and connect\n\nGenerate a one-time pairing code in WebAIChat under **工作空间 → 本地电脑**,\nthen run:\n\n```bash\n1sheng-agent pair --server https://your-webaichat-host --code ABCD1234\n1sheng-agent add-root ~/Documents --permission read\n1sheng-agent daemon\n```\n\nCheck the local binding with:\n\n```bash\n1sheng-agent status\n```\n\nThe local configuration is stored at `~/.1sheng/local-agent.json` with mode\n`0600`. Existing installations using `~/.olym/local-agent.json` remain\ncompatible with the WebAIChat bundled CLI.\n\nThe current protocol supports device pairing, outbound WebSocket connectivity,\nheartbeats, and declared local roots. It does not yet expose local file\noperations or command execution.\n","readmeFilename":"README.md"}