@fibteq/myrel-runner 0.40.1 → 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 +8 -3
- package/dist/cli.js +186 -77
- package/dist/index.js +164 -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,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
|
|
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 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
|