@fibteq/myrel-runner 0.40.1 → 0.42.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 +9 -3
- package/dist/cli.js +277 -88
- package/dist/index.js +244 -55
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -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,
|
|
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,14 @@ 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
|
|
174
|
-
offer it at all, and the run goes on with files and Myrel's tools.
|
|
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 model
|
|
176
|
+
picked for it in Myrel (the project's, else your account's) or the run's own: one extra model call per command, on
|
|
177
|
+
your OpenCode account. From runner 0.42.0, commands that only look at the project's folders and repeats of one
|
|
178
|
+
already allowed in the turn need no call. Ordinary development work runs, and what the model is unsure about comes to
|
|
179
|
+
you as a card in the thread. `sudo`, SSH, keys, force pushes and publishing always do. The review reads the command,
|
|
180
|
+
not what it does, and there is still no sandbox, so a command it allows runs with your rights. On OpenCode 1, `auto` is the same as `edit`. Anything else that would ask (for example a
|
|
175
181
|
permission you set to `ask` yourself) is declined; on OpenCode 1 the run goes on too
|
|
176
182
|
(`experimental.continue_loop_on_deny`). OpenCode 2 dropped that flag and allows folders outside the project by
|
|
177
183
|
default, so there the runner writes OpenCode 2's native permission rules instead: below `full`, folders outside
|