Files
clawd/package.json
stswangzhiping 884b0dc50a feat(openclaw): persist config as ~/.openclaw/openclaw.json
- Read gateway token/port via JSON.parse (same structure as former YAML)
- Update claw.cutos.ai origin by replacing URLs in JSON string fields
- Export resolveOpenclawConfigFile() for frpc + client
- Drop js-yaml dependency
- install: ExecStartPre touches openvfd only if nodes exist (3528-friendly)
- Add tools/deploy-rsync.sh for syncing /opt/clawd over SSH

Made-with: Cursor
2026-03-27 13:49:23 +08:00

29 lines
535 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": {
"ssh2": "^1.17.0",
"systeminformation": "^5.25.0",
"ws": "^8.18.0"
}
}