autowonder 0.2.135 → 0.2.136
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 +10 -12
- package/package.json +1 -1
- package/vendor/autowonder-daemon-darwin-amd64 +0 -0
- package/vendor/autowonder-daemon-darwin-arm64 +0 -0
- package/vendor/autowonder-daemon-linux-amd64 +0 -0
- package/vendor/autowonder-daemon-linux-arm64 +0 -0
- package/vendor/autowonder-daemon-win32-amd64.exe +0 -0
- package/vendor/autowonder-daemon-win32-arm64.exe +0 -0
package/README.md
CHANGED
|
@@ -6,16 +6,16 @@ AutoWonder 本地 agent runtime。安装后启动 daemon,持续轮询本地 as
|
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
# Qoder CLI(模型使用 provider model ID;Context Window 使用固定档位)
|
|
9
|
-
npx -y autowonder@0.2.
|
|
9
|
+
npx -y autowonder@0.2.136 connect --ws-url <wss-endpoint> --token <executor-token> --executor-id <executor-id> --provider qoder --model qmodel_latest --reasoning-effort medium --context-window 260000
|
|
10
10
|
|
|
11
11
|
# Qoder CLI CN
|
|
12
|
-
npx -y autowonder@0.2.
|
|
12
|
+
npx -y autowonder@0.2.136 connect --ws-url <wss-endpoint> --token <executor-token> --executor-id <executor-id> --provider qodercn
|
|
13
13
|
|
|
14
14
|
# Claude Code
|
|
15
|
-
npx -y autowonder@0.2.
|
|
15
|
+
npx -y autowonder@0.2.136 connect --ws-url <wss-endpoint> --token <executor-token> --executor-id <executor-id> --provider claude
|
|
16
16
|
|
|
17
17
|
# Codex CLI
|
|
18
|
-
npx -y autowonder@0.2.
|
|
18
|
+
npx -y autowonder@0.2.136 connect --ws-url <wss-endpoint> --token <executor-token> --executor-id <executor-id> --provider codex --model gpt-5.5 --reasoning-effort medium
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
`connect` 会安装当前 npm 包内置的 daemon,并使用页面生成的 WebSocket endpoint、Token 和执行器 ID 建立连接。选择 Qoder 时需要 Node.js 20+;runtime 会在缺少 `qodercli` 时自动通过 npm 安装,并在尚未登录时打开 Qoder 浏览器登录。Claude Code 和 Codex CLI 仍需提前安装并登录。runtime 会继承当前用户的 HOME、环境变量和 CLI 登录状态。
|
|
@@ -44,7 +44,7 @@ npx -y autowonder@latest connect ...
|
|
|
44
44
|
|
|
45
45
|
## 发布构建
|
|
46
46
|
|
|
47
|
-
`npm run build` 和发布脚本只接受没有已跟踪或未跟踪改动的 Git worktree。脚本会把准确的 release commit 克隆到仓库外的 detached checkout
|
|
47
|
+
`npm run build` 和发布脚本只接受没有已跟踪或未跟踪改动的 Git worktree。脚本会把准确的 release commit 克隆到仓库外的 detached checkout,再从该目录构建四个平台的 daemon。
|
|
48
48
|
|
|
49
49
|
每个产物都必须在 Go BuildInfo 中报告相同的完整 commit、`vcs.modified=false` 和目标平台;本机产物的 `--self-check` 还必须与 npm 包版本、短 commit 和平台一致。任一检查失败都会在替换 `vendor` 或执行 `npm publish` 前终止。
|
|
50
50
|
|
|
@@ -62,7 +62,7 @@ mv "$queue/.assignment.tmp" "$queue/assignment.json"
|
|
|
62
62
|
也可以直接提交到本地 API:
|
|
63
63
|
|
|
64
64
|
```bash
|
|
65
|
-
npx -y autowonder@0.2.
|
|
65
|
+
npx -y autowonder@0.2.136 dispatch ./assignment.json
|
|
66
66
|
```
|
|
67
67
|
|
|
68
68
|
## 上传工单附件
|
|
@@ -70,7 +70,7 @@ npx -y autowonder@0.2.135 dispatch ./assignment.json
|
|
|
70
70
|
把本地需求/设计文档直接上传到工单,避免在会话里传递大文件:
|
|
71
71
|
|
|
72
72
|
```bash
|
|
73
|
-
npx -y autowonder@0.2.
|
|
73
|
+
npx -y autowonder@0.2.136 workitem upload --server-url <autowonder-server-url> --workitem-id <id> --file <filepath-1> --file <filepath-2> --json
|
|
74
74
|
```
|
|
75
75
|
|
|
76
76
|
上传令牌通过 MCP 工具 `autowonder.workitem_cli_upload_token` 签发,经 `--token` 或 `AUTOWONDER_UPLOAD_TOKEN` 环境变量传入。`--file` 可重复指定多个文件;`--json` 输出机器可读结果。失败时按错误类型返回不同退出码(401→3、403→4、404→5、409→6、413→7、其他 4xx→8、网络/重定向→9)。
|
|
@@ -78,8 +78,8 @@ npx -y autowonder@0.2.135 workitem upload --server-url <autowonder-server-url> -
|
|
|
78
78
|
## 管理 daemon
|
|
79
79
|
|
|
80
80
|
```bash
|
|
81
|
-
npx -y autowonder@0.2.
|
|
82
|
-
npx -y autowonder@0.2.
|
|
81
|
+
npx -y autowonder@0.2.136 status
|
|
82
|
+
npx -y autowonder@0.2.136 stop
|
|
83
83
|
```
|
|
84
84
|
|
|
85
85
|
默认 API 是 `http://127.0.0.1:34989`,日志位于 `~/.autowonder/daemon.log`。npm 包不包含任何 agent、MCP 或服务端凭证。
|
|
@@ -87,9 +87,7 @@ npx -y autowonder@0.2.135 stop
|
|
|
87
87
|
## 调试
|
|
88
88
|
|
|
89
89
|
```bash
|
|
90
|
-
npx -y autowonder@0.2.
|
|
90
|
+
npx -y autowonder@0.2.136 connect ... --debug
|
|
91
91
|
```
|
|
92
92
|
|
|
93
93
|
`--debug` 会让 CLI 以 `AUTOWONDER_DEBUG=1` 启动 daemon,把完整的 daemon 与 agent 活动(runtime 事件流、provider 事件解码、重试退避与会话门等待、空闲时的阻塞点)同时输出到控制台和会话调试日志。调试日志不做脱敏,仅用于本机排障;不传 `--debug` 时该环境变量不会注入。
|
|
94
|
-
|
|
95
|
-
另外,runtime 会为每个 dispatch 注入 `AUTOWONDER_DISPATCH_ID` 环境变量。它由 daemon 自动生成并随进程树继承,仅用于 daemon 在退出时回收 dispatch 遗留的后台进程,用户无需也不应手动设置。
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|