@fibteq/myrel-runner 0.21.1 → 0.22.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
@@ -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.
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.
23
23
 
24
24
  ```sh
25
25
  npx myrel-runner pair ABCD-1234 --server https://myrel.example.com # code from Myrel > Devices
@@ -104,9 +104,17 @@ Read-only tasks (`--access read`) always run in the folder itself.
104
104
  | `full` | `--permission-mode bypassPermissions` | `--sandbox danger-full-access` | `--dangerously-skip-permissions` | edit and bash allowed, `--auto` | `--force --sandbox disabled` | `--yolo` |
105
105
 
106
106
  With `auto`, Claude Code's auto mode decides which steps are safe to run (tests, git commit, builds) and runs them;
107
- the ones it would ask about come to you as a card in the thread. Your Claude account must have auto mode; Codex and
108
- Antigravity CLI cannot ask mid-run, so for them `auto` is the same as `edit` (Antigravity's own auto mode needs its
109
- terminal sandbox and is missing on business accounts).
107
+ the ones it would ask about come to you as a card in the thread. Your Claude account must have auto mode. For Codex
108
+ and Antigravity CLI `auto` is the same as `edit` (Antigravity's own auto mode needs its terminal sandbox and is
109
+ missing on business accounts).
110
+
111
+ Codex runs as its app server (`codex app-server`, one process per turn) where the installed Codex has one, and as
112
+ `codex exec --json` otherwise. The sandbox is the same either way (the table above). As a thread's agent with `edit`
113
+ or `auto`, the app server runs with approval policy `on-request`: a step its sandbox does not allow (a command that
114
+ needs the network such as `git push`, a file outside the folders) comes to you as the same card Claude Code's
115
+ questions use, and the step waits for your answer. With `read` and `full`, and with `codex exec`, nothing is asked:
116
+ such a step fails and the run goes on. Stopping a turn from Myrel interrupts it the way Codex's own Stop does, so the
117
+ session is whole for the next turn. Set `MYREL_CODEX_EXEC=1` in the runner's environment to keep `codex exec`.
110
118
 
111
119
  Antigravity CLI is stricter than Codex below `full`: there is no sandbox where its commands run on their own. A
112
120
  command, a web page or a file outside the folders needs approval, which it cannot ask for when Myrel runs it, and
@@ -161,7 +169,8 @@ level does not allow on its own (with `edit`: `git commit`, `git push`, tests) i
161
169
  Allow commands this turn, Don't run), so there is no need to restart the runner with `--access full` for one task. A
162
170
  file change inside the folders with `read` is declined as before. With `full`, Claude Code then runs with
163
171
  `acceptEdits` and commands and web tools pre-allowed instead of `bypassPermissions`, so only files outside the folders
164
- are asked about. Codex, 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
172
+ are asked about. Codex asks the same way for what its sandbox does not allow, when it runs as its app server (see
173
+ 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
165
174
  `external_directory` allow rules, Kimi Code as the session's `additionalDirectories`).
166
175
 
167
176
  Tasks in the same Myrel thread continue the same Claude Code session (`--resume`), so follow-ups keep context.