rclaude 0.2.0 → 0.2.1

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.
Files changed (2) hide show
  1. package/README.md +35 -35
  2. package/package.json +27 -27
package/README.md CHANGED
@@ -1,35 +1,35 @@
1
- # rclaude
2
-
3
- 在本地终端使用远端 Claude Code,文件和命令在自己的电脑执行。
4
-
5
- ```sh
6
- npm install -g rclaude
7
- rclaude --version
8
- rclaude login
9
- rclaude
10
- ```
11
-
12
- 需要 Node.js 22 或以上。npm 自动安装当前系统、CPU 架构对应的客户端,
13
- 支持 Windows、macOS、Linux 的 x64 / ARM64,无安装脚本。
14
-
15
- 默认连接 `https://rclaude.xyz`,`rclaude login` 会打开浏览器授权。
16
- 收到试用 Token 后,可以直接登录:
17
-
18
- ```sh
19
- rclaude login --token YOUR_TOKEN
20
- rclaude
21
- ```
22
-
23
- 一个 Token 绑定一台设备;普通账号最多绑定两台设备。
24
- Token 与浏览器登录共用设备名额,可在网页断开设备并删除绑定。
25
-
26
- ```sh
27
- rclaude -p "你的问题"
28
- rclaude --read-only
29
- rclaude login --url https://your-platform.example
30
- rclaude logout
31
- ```
32
-
33
- 默认允许修改本地文件和执行命令。`--read-only` 可以收紧权限。
34
- 凭证存放在 `~/.rclaude`,模型凭据保留在服务端,客户端无需安装 Claude Code。
35
- 本包不包含 Claude Code、模型凭据或试用 Token。
1
+ # rclaude
2
+
3
+ 在本地终端使用远端 Claude Code,文件和命令在自己的电脑执行。
4
+
5
+ ```sh
6
+ npm install -g rclaude
7
+ rclaude --version
8
+ rclaude login
9
+ rclaude
10
+ ```
11
+
12
+ 需要 Node.js 22 或以上。npm 自动安装当前系统、CPU 架构对应的客户端,
13
+ 支持 Windows、macOS、Linux 的 x64 / ARM64,无安装脚本。
14
+
15
+ 默认连接 `https://rclaude.xyz`,`rclaude login` 会打开浏览器授权。
16
+ 0.2.1 起,客户端接口优先使用加速线路,连接失败自动回退官网,无需更换登录配置。
17
+ 收到试用 Token 后,可以直接登录:
18
+
19
+ ```sh
20
+ rclaude login --token YOUR_TOKEN
21
+ rclaude
22
+ ```
23
+
24
+ 一个 Token 绑定一台设备;普通账号最多绑定两台设备。
25
+ Token 与浏览器登录共用设备名额,可在网页断开设备并删除绑定。
26
+
27
+ ```sh
28
+ rclaude -p "你的问题"
29
+ rclaude --read-only
30
+ rclaude logout
31
+ ```
32
+
33
+ 默认允许修改本地文件和执行命令。`--read-only` 可以收紧权限。
34
+ 凭证存放在 `~/.rclaude`,模型凭据保留在服务端,客户端无需安装 Claude Code。
35
+ 本包不包含 Claude Code、模型凭据或试用 Token。
package/package.json CHANGED
@@ -1,27 +1,27 @@
1
- {
2
- "name": "rclaude",
3
- "version": "0.2.0",
4
- "description": "Use remote Claude Code with tools running on your own device",
5
- "bin": {
6
- "rclaude": "bin/rclaude.cjs"
7
- },
8
- "engines": {
9
- "node": ">=22"
10
- },
11
- "os": ["win32", "darwin", "linux"],
12
- "cpu": ["x64", "arm64"],
13
- "files": ["bin/", "notices/"],
14
- "optionalDependencies": {
15
- "@rclaude/win32-x64": "0.2.0",
16
- "@rclaude/win32-arm64": "0.2.0",
17
- "@rclaude/darwin-x64": "0.2.0",
18
- "@rclaude/darwin-arm64": "0.2.0",
19
- "@rclaude/linux-x64": "0.2.0",
20
- "@rclaude/linux-arm64": "0.2.0"
21
- },
22
- "keywords": ["claude", "cli", "ssh", "remote"],
23
- "publishConfig": {
24
- "access": "public",
25
- "registry": "https://registry.npmjs.org/"
26
- }
27
- }
1
+ {
2
+ "name": "rclaude",
3
+ "version": "0.2.1",
4
+ "description": "Use remote Claude Code with tools running on your own device",
5
+ "bin": {
6
+ "rclaude": "bin/rclaude.cjs"
7
+ },
8
+ "engines": {
9
+ "node": ">=22"
10
+ },
11
+ "os": ["win32", "darwin", "linux"],
12
+ "cpu": ["x64", "arm64"],
13
+ "files": ["bin/", "notices/"],
14
+ "optionalDependencies": {
15
+ "@rclaude/win32-x64": "0.2.1",
16
+ "@rclaude/win32-arm64": "0.2.1",
17
+ "@rclaude/darwin-x64": "0.2.1",
18
+ "@rclaude/darwin-arm64": "0.2.1",
19
+ "@rclaude/linux-x64": "0.2.1",
20
+ "@rclaude/linux-arm64": "0.2.1"
21
+ },
22
+ "keywords": ["claude", "cli", "ssh", "remote"],
23
+ "publishConfig": {
24
+ "access": "public",
25
+ "registry": "https://registry.npmjs.org/"
26
+ }
27
+ }