@arcdent/clauderc 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -20,10 +20,14 @@ enroll_key_file = "/Users/me/.config/clauderc/enroll.key"
|
|
|
20
20
|
|
|
21
21
|
```sh
|
|
22
22
|
clauderc run # 前台试跑,确认能连上中转服务器
|
|
23
|
+
clauderc start # 在后台运行,关掉终端也不停
|
|
24
|
+
clauderc stop # 结束后台运行
|
|
23
25
|
clauderc service install # 写开机自启的服务文件,按打印的命令启用
|
|
24
26
|
clauderc pair # 显示配对二维码,用 APP 扫码
|
|
25
27
|
clauderc devices # 列出已配对的手机
|
|
26
28
|
clauderc revoke <id> # 吊销一台手机
|
|
27
29
|
```
|
|
28
30
|
|
|
31
|
+
后台运行的进程号和日志写在配置文件同目录的 `agent.pid`、`agent.log`。开机自启的服务和 `clauderc start` 选一种用,不要同时开。
|
|
32
|
+
|
|
29
33
|
服务文件里写的是当前 Node.js 版本的 npm 全局目录下的程序路径。用 nvm 换了 Node.js 版本并在新版本下重装这个包后,要再执行一次 `clauderc service install`,否则服务还在跑旧目录里的程序。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcdent/clauderc",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "用手机查看和操作 Claude Code 后台会话:装在电脑上的目标机程序",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"bin": {
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"node": ">=18"
|
|
22
22
|
},
|
|
23
23
|
"optionalDependencies": {
|
|
24
|
-
"@arcdent/clauderc-darwin-arm64": "1.0.
|
|
25
|
-
"@arcdent/clauderc-darwin-x64": "1.0.
|
|
26
|
-
"@arcdent/clauderc-linux-arm64": "1.0.
|
|
27
|
-
"@arcdent/clauderc-linux-x64": "1.0.
|
|
24
|
+
"@arcdent/clauderc-darwin-arm64": "1.0.4",
|
|
25
|
+
"@arcdent/clauderc-darwin-x64": "1.0.4",
|
|
26
|
+
"@arcdent/clauderc-linux-arm64": "1.0.4",
|
|
27
|
+
"@arcdent/clauderc-linux-x64": "1.0.4"
|
|
28
28
|
}
|
|
29
29
|
}
|