@fibteq/myrel-runner 0.41.0 → 0.42.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 +11 -5
- package/dist/cli.js +172 -92
- package/dist/index.js +140 -60
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -172,17 +172,23 @@ commands, or allow single ones under `permissions.allow` in `~/.gemini/antigravi
|
|
|
172
172
|
|
|
173
173
|
OpenCode has no sandbox for commands either, so with `read` and `edit` its command tool is denied: OpenCode then does
|
|
174
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
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
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
|
|
180
181
|
permission you set to `ask` yourself) is declined; on OpenCode 1 the run goes on too
|
|
181
182
|
(`experimental.continue_loop_on_deny`). OpenCode 2 dropped that flag and allows folders outside the project by
|
|
182
183
|
default, so there the runner writes OpenCode 2's native permission rules instead: below `full`, folders outside
|
|
183
184
|
the project's stay closed except the ones the run was given. With `full`, `--auto` approves what would ask, but
|
|
184
185
|
rules you set to `deny` still hold.
|
|
185
186
|
|
|
187
|
+
OpenCode 2 asks once, on screen, before its first web search. A run has no screen to ask on, so its searches are
|
|
188
|
+
cancelled until you choose: pick a provider in OpenCode yourself, or set `"websearch": { "provider": "random" }`
|
|
189
|
+
(or `false` to turn it off) in `~/.config/opencode/opencode.json`. OpenCode exits with an error after such a
|
|
190
|
+
cancelled search; from runner 0.42.1 a run that went on and answered is not shown as failed for it.
|
|
191
|
+
|
|
186
192
|
Hermes Agent runs as an ACP server (`hermes acp`), whose session takes an edit mode: `default` (asks before
|
|
187
193
|
edits) with `read`, `accept_edits` with `edit` and `auto`, `dont_ask` with `full`. What it asks permission for
|
|
188
194
|
(dangerous commands, sensitive files, edits with `read`) is declined below `full` and allowed with `full`. Its
|