rcwctl 0.1.2 → 0.1.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 +25 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -16,3 +16,28 @@ rcwctl --version
|
|
|
16
16
|
|
|
17
17
|
这些平台包直接把 `rcwctl` 二进制放进 npm tarball,所以 npm 镜像也能完整分发,不再依赖 GitHub Releases 的安装下载链路。
|
|
18
18
|
平台包本身也暴露 `rcwctl` 命令,但日常安装只需要元包。
|
|
19
|
+
|
|
20
|
+
## MCP
|
|
21
|
+
|
|
22
|
+
MCP 客户端可以直接用 `npx` 启动 stdio MCP 服务器,不需要自己下载二进制:
|
|
23
|
+
|
|
24
|
+
```json
|
|
25
|
+
{
|
|
26
|
+
"mcpServers": {
|
|
27
|
+
"rcw": {
|
|
28
|
+
"command": "npx",
|
|
29
|
+
"args": [
|
|
30
|
+
"-y",
|
|
31
|
+
"rcwctl",
|
|
32
|
+
"--server",
|
|
33
|
+
"ws://127.0.0.1:7800",
|
|
34
|
+
"--token",
|
|
35
|
+
"replace-with-control-token",
|
|
36
|
+
"mcp"
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
MCP 进程内存保存远控 session 和后台传输任务状态,不读写普通 CLI 的本地 session 文件。agent 发送或接收文件使用 `upload` / `download` 路径型工具;文件主体走流式 WebSocket binary frame,不走 base64 参数。`upload` / `download` 默认等待 60 秒,未完成就返回 `task_id`,后续用 `transfer_status` 查询。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rcwctl",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Meta package for the Remote Control for Windows CLI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
"rcwctl": "bin/rcwctl.js"
|
|
17
17
|
},
|
|
18
18
|
"optionalDependencies": {
|
|
19
|
-
"rcwctl-darwin-arm64": "0.1.
|
|
20
|
-
"rcwctl-darwin-x64": "0.1.
|
|
21
|
-
"rcwctl-linux-arm64": "0.1.
|
|
22
|
-
"rcwctl-linux-x64": "0.1.
|
|
23
|
-
"rcwctl-windows-arm64": "0.1.
|
|
24
|
-
"rcwctl-win32-x64": "0.1.
|
|
19
|
+
"rcwctl-darwin-arm64": "0.1.4",
|
|
20
|
+
"rcwctl-darwin-x64": "0.1.4",
|
|
21
|
+
"rcwctl-linux-arm64": "0.1.4",
|
|
22
|
+
"rcwctl-linux-x64": "0.1.4",
|
|
23
|
+
"rcwctl-windows-arm64": "0.1.4",
|
|
24
|
+
"rcwctl-win32-x64": "0.1.4"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
27
|
"test": "node --check bin/rcwctl.js && node scripts/check.js",
|