Files
clawd/package.json
stswangzhiping 935d5ba176 fix: 用 js-yaml 正确解析 config.yaml 获取 dashboard token
替换正则提取方式,使用 js-yaml 解析 YAML 文件,
通过 config.gateway.auth.token 和 config.gateway.port 读取字段。

Made-with: Cursor
2026-03-24 17:00:33 +08:00

30 lines
560 B
JSON

{
"name": "clawd",
"version": "0.1.0",
"description": "Claw Box daemon - connects local Linux box to claw.cutos.ai via WebSocket",
"main": "lib/client.js",
"bin": {
"clawd": "./bin/clawd.js"
},
"scripts": {
"start": "node bin/clawd.js"
},
"keywords": [
"claw",
"iot",
"websocket",
"daemon"
],
"author": "stswangzhiping",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"js-yaml": "^4.1.1",
"ssh2": "^1.17.0",
"systeminformation": "^5.25.0",
"ws": "^8.18.0"
}
}