@fibteq/myrel-runner 0.38.1 → 0.39.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.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Connects your computer to a Myrel server, so a project can work in one of your
4
4
  local folders with the coding CLI you already use: Claude Code, Codex CLI,
5
- Antigravity CLI, OpenCode, Hermes Agent, Cursor CLI, Muse Code or Kimi Code.
5
+ Antigravity CLI, OpenCode, Hermes Agent, Cursor CLI, Muse Code, Kimi Code or Qwen Code.
6
6
 
7
7
  - It opens an **outbound** WebSocket to the server. No port is opened, and it works behind NAT.
8
8
  - The server sends a task (a folder, a CLI and a prompt). The runner starts the CLI in that folder, streams its
@@ -19,7 +19,7 @@ Antigravity CLI, OpenCode, Hermes Agent, Cursor CLI, Muse Code or Kimi Code.
19
19
 
20
20
  ## Use
21
21
 
22
- Requires Node 22+ and at least one of `claude`, `codex`, `agy` (Antigravity CLI), `opencode`, `hermes` (Hermes Agent), `cursor-agent` (Cursor CLI), `muse` (Muse Code) or `kimi` (Kimi Code) on your `PATH`, already signed in. The runner looks for them again every few minutes, so one you install later shows up without a restart; on Windows it also reads the PATH saved in your user settings and the usual npm, pnpm, Scoop and winget folders. `myrel-runner status` lists the CLIs it could not find and why.
22
+ Requires Node 22+ and at least one of `claude`, `codex`, `agy` (Antigravity CLI), `opencode`, `hermes` (Hermes Agent), `cursor-agent` (Cursor CLI), `muse` (Muse Code), `kimi` (Kimi Code) or `qwen` (Qwen Code) on your `PATH`, already signed in. The runner looks for them again every few minutes, so one you install later shows up without a restart; on Windows it also reads the PATH saved in your user settings and the usual npm, pnpm, Scoop and winget folders. `myrel-runner status` lists the CLIs it could not find and why.
23
23
 
24
24
  ```sh
25
25
  npx myrel-runner pair ABCD-1234 --server https://myrel.example.com # code from Myrel > Devices
@@ -216,6 +216,12 @@ repository run, the rest asks) and `auto` ("never ask") with `full`. What it ask
216
216
  below `full` its shell commands are declined; its `yolo` mode would run them all but system commands (shutdown,
217
217
  `mkfs`), so `auto` stays with `edit` as for Codex. Rules you set to `deny` in its config always hold.
218
218
 
219
+ Qwen Code runs as an ACP server too (`qwen --acp`): `default` with `read`, edits without asking with `edit`
220
+ (`acceptEdits` in 1.x, `auto-edit` in 0.x), its safety classifier with `auto` and `yolo` with `full`. What it asks
221
+ permission for is declined below `full`, except the run's own MCP tools. Qwen Code 0.x ends the whole turn when a step
222
+ is declined, so there the tools it would ask about are left out of the run (`--exclude-tools`): commands, `monitor` and
223
+ `web_fetch` below `auto`, file edits too with `read`, and its own question tool at every level.
224
+
219
225
  With `edit`, the CLI can change files in the folder but cannot run commands that would need your approval. Use
220
226
  `full` only for folders and projects you trust: it lets the CLI run any command without asking.
221
227
 
@@ -232,8 +238,8 @@ Allow commands this turn, Don't run), so there is no need to restart the runner
232
238
  file change inside the folders with `read` is declined as before. With `full`, Claude Code then runs with
233
239
  `acceptEdits` and commands and web tools pre-allowed instead of `bypassPermissions`, so only files outside the folders
234
240
  are asked about. Codex asks the same way for what its sandbox does not allow, when it runs as its app server (see
235
- above). Antigravity CLI, OpenCode, Hermes Agent, Cursor CLI, Muse Code and Kimi Code cannot ask mid-run, so they stay inside the folders (OpenCode gets them as
236
- `external_directory` allow rules, Kimi Code as the session's `additionalDirectories`).
241
+ above). Antigravity CLI, OpenCode, Hermes Agent, Cursor CLI, Muse Code, Kimi Code and Qwen Code cannot ask mid-run, so they stay inside the folders (OpenCode gets them as
242
+ `external_directory` allow rules, Kimi Code as the session's `additionalDirectories`, Qwen Code as both and `--add-dir`).
237
243
 
238
244
  Tasks in the same Myrel thread continue the same Claude Code session (`--resume`), so follow-ups keep context.
239
245
 
@@ -270,11 +276,12 @@ decisions, artifacts, memory, routines) added over MCP:
270
276
  | Cursor CLI | `mcp.json` of a plugin folder of the run (`--plugin-dir`, `--approve-mcps`), allowed with `Mcp(plugin-myrel-myrel:*)` in a `cli-config.json` of the run (`CURSOR_CONFIG_DIR`) |
271
277
  | Muse Code | `-c 'mcpServers.myrel={"url":…,"headers":{"Authorization":"${MYREL_MCP_AUTH}"}}'`, run with `--approval-mode never` |
272
278
  | Kimi Code | `mcpServers` of ACP's `session/new` (or `session/resume`), the token in its `Authorization` header, its tools allowed when it asks |
279
+ | Qwen Code | `mcpServers` of ACP's `session/new` (or `session/resume`), the token in its `Authorization` header, its tools allowed when it asks |
273
280
 
274
281
  The MCP endpoint is `<server>/api/agent-mcp/<thread>` and its token is valid only for that turn. Config files holding
275
282
  it are readable only by you and deleted when the run ends; Codex gets it in its environment instead. The whole turn
276
283
  uses your own CLI login. Needs myrel-runner 0.4.0 or later for Claude Code, 0.5.0 or later for Codex, 0.13.0 or later
277
- for Antigravity CLI, 0.15.0 or later for OpenCode, 0.16.0 or later for Hermes Agent, 0.17.0 or later for Cursor CLI, 0.19.0 or later for Muse Code, 0.20.0 or later for Kimi Code.
284
+ for Antigravity CLI, 0.15.0 or later for OpenCode, 0.16.0 or later for Hermes Agent, 0.17.0 or later for Cursor CLI, 0.19.0 or later for Muse Code, 0.20.0 or later for Kimi Code, 0.39.0 or later for Qwen Code.
278
285
 
279
286
  Antigravity CLI takes MCP servers only from its global config, never for one run. So the runner adds one fixed
280
287
  server there, the bridge, and an allow rule for its tools; the rest of both files stays as it is. Each run hands the
@@ -328,6 +335,19 @@ servers in `mcp.json` load too, but only the run's are allowed without asking. S
328
335
  skills folder, which Kimi Code may read. Detection checks that `kimi --version` prints a bare version (the archived
329
336
  Python kimi-cli prints `kimi, version …`). Sign in once with `kimi login`.
330
337
 
338
+ Qwen Code (`qwen`, the npm package `@qwen-code/qwen-code` or its own installer) runs as an ACP server (`qwen --acp`)
339
+ for the same reason: its `-p` flags differ between 0.x and the 1.x previews, while ACP takes the run's MCP servers per
340
+ session in both. A run is `session/new` (or `session/resume`) with the run's servers, `session/set_mode`, then
341
+ `session/prompt`; the project's other folders and the skills folder go in as `--add-dir` and, in 1.x, as the
342
+ session's `additionalDirectories`. Nothing is written to your `~/.qwen`. Qwen Code asks about every MCP tool and names
343
+ it `mcp__<server>__<tool>` in the request; only the run's are allowed without asking, your own servers in
344
+ `settings.json` load too. It runs on the model set in Qwen Code: 0.x has no command that lists its models, and the
345
+ 1.x previews' ACP session offers only the current one, so Myrel shows no model picker for it yet. Detection checks
346
+ that `qwen --version` prints a bare version. Sign in or set up a provider once by starting `qwen`. In the terminal, a
347
+ message shows once it is whole (ACP sends it in pieces), a CodeMode step names the tools its script calls (the
348
+ script's own calls are not reported one by one), and a subagent (its Agent tool) shows starting and ending; one in the
349
+ background ends with Qwen Code's notice that it finished.
350
+
331
351
  Projects without a local folder are worked in the cloud by OpenCode, in the thread's own sandbox.
332
352
 
333
353
  ### For apps that run it (the desktop app)