autowonder 0.2.13 → 0.2.14
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
CHANGED
|
@@ -6,13 +6,13 @@ AutoWonder 本地 agent runtime。安装后启动 daemon,持续轮询本地 as
|
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
# Qoder CLI
|
|
9
|
-
npx -y autowonder@0.2.
|
|
9
|
+
npx -y autowonder@0.2.14 connect --ws-url <wss-endpoint> --token <executor-token> --executor-id <executor-id> --provider qoder --model Qwen3.7-Max --reasoning-effort medium --context-window 131072
|
|
10
10
|
|
|
11
11
|
# Claude Code
|
|
12
|
-
npx -y autowonder@0.2.
|
|
12
|
+
npx -y autowonder@0.2.14 connect --ws-url <wss-endpoint> --token <executor-token> --executor-id <executor-id> --provider claude
|
|
13
13
|
|
|
14
14
|
# Codex CLI
|
|
15
|
-
npx -y autowonder@0.2.
|
|
15
|
+
npx -y autowonder@0.2.14 connect --ws-url <wss-endpoint> --token <executor-token> --executor-id <executor-id> --provider codex --model gpt-5.5 --reasoning-effort medium
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
`connect` 会安装当前 npm 包内置的 daemon,并使用页面生成的 WebSocket endpoint、Token 和执行器 ID 建立连接。目标机器必须提前安装并登录对应的 Qoder CLI、Claude Code 或 Codex CLI;runtime 会继承当前用户的 HOME、环境变量和 CLI 登录状态。
|
|
@@ -31,14 +31,14 @@ mv "$queue/.assignment.tmp" "$queue/assignment.json"
|
|
|
31
31
|
也可以直接提交到本地 API:
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
|
-
npx -y autowonder@0.2.
|
|
34
|
+
npx -y autowonder@0.2.14 dispatch ./assignment.json
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
## 管理 daemon
|
|
38
38
|
|
|
39
39
|
```bash
|
|
40
|
-
npx -y autowonder@0.2.
|
|
41
|
-
npx -y autowonder@0.2.
|
|
40
|
+
npx -y autowonder@0.2.14 status
|
|
41
|
+
npx -y autowonder@0.2.14 stop
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
默认 API 是 `http://127.0.0.1:34989`,日志位于 `~/.autowonder/daemon.log`。npm 包不包含任何 agent、MCP 或服务端凭证。
|
package/bin/cli.js
CHANGED
|
@@ -322,7 +322,7 @@ async function cmdConnect(args) {
|
|
|
322
322
|
executorId,
|
|
323
323
|
provider,
|
|
324
324
|
name: flags.name || `daemon_${provider}_${executorId}`,
|
|
325
|
-
maxTasks: parseInt(flags["max-tasks"] || "
|
|
325
|
+
maxTasks: parseInt(flags["max-tasks"] || "3", 10),
|
|
326
326
|
};
|
|
327
327
|
saveConfig(config);
|
|
328
328
|
|
|
@@ -369,7 +369,7 @@ async function cmdStart(args) {
|
|
|
369
369
|
const providers = detectProvider();
|
|
370
370
|
const provider = flags.provider || providers[0] || "claude";
|
|
371
371
|
const addr = flags.addr || DEFAULT_API_ADDR;
|
|
372
|
-
const maxTasks = flags["max-tasks"] || "
|
|
372
|
+
const maxTasks = flags["max-tasks"] || "3";
|
|
373
373
|
|
|
374
374
|
log(`Starting daemon (provider=${provider}, addr=${addr})...`);
|
|
375
375
|
|
|
@@ -537,7 +537,7 @@ function cmdHelp() {
|
|
|
537
537
|
|
|
538
538
|
Options:
|
|
539
539
|
--provider <name> Agent provider: claude, codex, qoder (default: auto-detect)
|
|
540
|
-
--max-tasks <n> Max concurrent dispatches (default:
|
|
540
|
+
--max-tasks <n> Max concurrent dispatches (default: 3)
|
|
541
541
|
--addr <host:port> Local API address (default: 127.0.0.1:34989)
|
|
542
542
|
--ws-url <url> Executor WebSocket endpoint
|
|
543
543
|
--token <token> Executor authentication token
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|