@fibteq/myrel-runner 0.40.0 → 0.41.0

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
@@ -19,7 +19,7 @@ Antigravity CLI, OpenCode, Hermes Agent, Cursor CLI, Muse Code, Kimi Code or Qwe
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), `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.
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, and on macOS and Linux the usual install folders (`~/.local/bin`, `~/.opencode/bin`, `~/.bun/bin`, `~/.npm-global/bin`, pnpm's and Volta's). `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
@@ -45,7 +45,7 @@ cache) and registers it to start at login:
45
45
  | Linux | systemd user service `myrel-runner.service` | `journalctl --user -u myrel-runner` |
46
46
  | Windows | `myrel-runner.vbs` in the Startup folder | `~/.myrel-runner/runner.log` |
47
47
 
48
- It keeps the `PATH` of the terminal you install it from, which is where it finds `claude`, `codex` and `agy`.
48
+ It keeps the `PATH` of the terminal you install it from, which is where it finds `claude`, `codex` and `agy`, then the usual install folders.
49
49
  On macOS and Linux it restarts after a crash, but not after a clean stop (the computer was removed in Myrel, or
50
50
  `myrel-runner start` was run somewhere else with the same pairing). `myrel-runner update` installs the newest version
51
51
  from npm and restarts the background runner on it once its running tasks finish (at most 10 minutes; `--now` restarts
@@ -130,7 +130,7 @@ Claude's consumer terms do not allow sharing a login with someone else. Needs ru
130
130
  |---|---|---|---|---|---|---|
131
131
  | `read` | `--permission-mode plan` | `--sandbox read-only` | `--mode plan` | edit and bash denied | `--mode ask` | `--approval-mode never --disable-write --disable-shell` |
132
132
  | `edit` (default) | `--permission-mode acceptEdits` | `--sandbox workspace-write` | `--mode accept-edits` | edit allowed, bash denied | `--sandbox enabled` | `--approval-mode never --trust-workspace` |
133
- | `auto` | `--permission-mode auto` | `--sandbox workspace-write` | `--mode accept-edits` | edit allowed, bash denied | `--sandbox enabled` | `--approval-mode never --trust-workspace` |
133
+ | `auto` | `--permission-mode auto` | `--sandbox workspace-write` | `--mode accept-edits` | edit allowed, each command reviewed (OpenCode 2; denied on 1) | `--sandbox enabled` | `--approval-mode never --trust-workspace` |
134
134
  | `full` | `--permission-mode bypassPermissions` | `--sandbox danger-full-access` | `--dangerously-skip-permissions` | edit and bash allowed, `--auto` | `--force --sandbox disabled` | `--yolo` |
135
135
 
136
136
  With `auto`, Claude Code's auto mode decides which steps are safe to run (tests, git commit, builds) and runs them;
@@ -170,8 +170,13 @@ and Myrel's tools, and a run that still stops says which permission stopped it.
170
170
  commands, or allow single ones under `permissions.allow` in `~/.gemini/antigravity-cli/settings.json` (e.g.
171
171
  `command(git)`).
172
172
 
173
- OpenCode has no sandbox for commands either, so below `full` its command tool is denied: OpenCode then does not
174
- offer it at all, and the run goes on with files and Myrel's tools. Anything else that would ask (for example a
173
+ OpenCode has no sandbox for commands either, so with `read` and `edit` its command tool is denied: OpenCode then does
174
+ not offer it at all, and the run goes on with files and Myrel's tools. With `auto` on OpenCode 2 (runner 0.41.0 or
175
+ later; verified with 2.4.0) a plugin the runner adds for the run judges each command before it runs, with the run's
176
+ own model (one extra model call per command, on your OpenCode account): ordinary development work runs, and what it
177
+ is unsure about comes to you as a card in the thread. `sudo`, SSH, keys, force pushes and publishing always do. The
178
+ review reads the command, not what it does, and there is still no sandbox, so a command it allows runs with your
179
+ rights. On OpenCode 1, `auto` is the same as `edit`. Anything else that would ask (for example a
175
180
  permission you set to `ask` yourself) is declined; on OpenCode 1 the run goes on too
176
181
  (`experimental.continue_loop_on_deny`). OpenCode 2 dropped that flag and allows folders outside the project by
177
182
  default, so there the runner writes OpenCode 2's native permission rules instead: below `full`, folders outside