@fibteq/myrel-runner 0.29.0 → 0.31.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
@@ -143,11 +143,13 @@ and Myrel's tools, and a run that still stops says which permission stopped it.
143
143
  commands, or allow single ones under `permissions.allow` in `~/.gemini/antigravity-cli/settings.json` (e.g.
144
144
  `command(git)`).
145
145
 
146
- OpenCode has no sandbox for commands either, so below `full` its bash tool is denied: OpenCode then does not
146
+ OpenCode has no sandbox for commands either, so below `full` its command tool is denied: OpenCode then does not
147
147
  offer it at all, and the run goes on with files and Myrel's tools. Anything else that would ask (for example a
148
- permission you set to `ask` yourself) is declined and the run goes on too
149
- (`experimental.continue_loop_on_deny`). With `full`, `--auto` approves what would ask, but rules you set to `deny`
150
- still hold.
148
+ permission you set to `ask` yourself) is declined; on OpenCode 1 the run goes on too
149
+ (`experimental.continue_loop_on_deny`). OpenCode 2 dropped that flag and allows folders outside the project by
150
+ default, so there the runner writes OpenCode 2's native permission rules instead: below `full`, folders outside
151
+ the project's stay closed except the ones the run was given. With `full`, `--auto` approves what would ask, but
152
+ rules you set to `deny` still hold.
151
153
 
152
154
  Hermes Agent runs as an ACP server (`hermes acp`), whose session takes an edit mode: `default` (asks before
153
155
  edits) with `read`, `accept_edits` with `edit` and `auto`, `dont_ask` with `full`. What it asks permission for
@@ -167,6 +169,14 @@ that run only. With `read` its write and shell tools are taken away (its `:read-
167
169
  a command's approval). `full` is `--yolo`: no approval, no sandbox. Muse Code has no `--add-dir`, so below `full` it
168
170
  writes only in the project's main folder.
169
171
 
172
+ On Ubuntu 23.10 and later, Codex's and Muse Code's sandboxes can fail every command with `bwrap: loopback: Failed
173
+ RTM_NEWADDR: Operation not permitted`. Ubuntu's AppArmor gives programs without a profile no capabilities in a new user
174
+ namespace (`kernel.apparmor_restrict_unprivileged_userns = 1`) and exempts only `/usr/bin/bwrap`, while both CLIs
175
+ bring their own bubblewrap. `myrel-runner status` and the runner's log say so, and their runs are told to stop
176
+ retrying commands. `myrel-runner sandbox` shows what it found; `myrel-runner sandbox fix`, run as yourself, installs
177
+ `/etc/apparmor.d/myrel-runner-<you>` with sudo: a profile that lets only those binaries (by a pattern that still
178
+ matches after they update) make user namespaces, while the rest of the computer keeps the restriction.
179
+
170
180
  Kimi Code runs as an ACP server (`kimi acp`) like Hermes Agent, whose session takes a permission mode: `plan` with
171
181
  `read` (no edits but its own plan file), `default` with `edit` and `auto` (reads and edits inside the folder's git
172
182
  repository run, the rest asks) and `auto` ("never ask") with `full`. What it asks permission for is declined below
@@ -243,7 +253,9 @@ OpenCode takes a whole config for one run in `OPENCODE_CONFIG_CONTENT`, so nothi
243
253
  `~/.config/opencode`: the run's servers, connectors, permission rules and skills folder (`skills.paths`) go there,
244
254
  merged over your own config, and the token stays in `MYREL_MCP_TOKEN`. Your model and provider logins are your own.
245
255
  opencode 2 runs `opencode run` through its background service, which would ignore that config, so the runner adds
246
- `--standalone` when `opencode --version` says 2 or later. Connectors' tools show up as `<connector>_<tool>`.
256
+ `--standalone` when `opencode --version` says 2 or later, and writes that config in OpenCode 2's native shape
257
+ (servers under `mcp.servers` with Code Mode off, so the run's tools stay tools of their own, and ordered
258
+ `permissions` rules). Connectors' tools show up as `<connector>_<tool>`.
247
259
 
248
260
  Hermes Agent's `hermes chat` runs every turn in a shared background gateway that takes MCP servers only from
249
261
  `~/.hermes/config.yaml`, so the runner uses its ACP server instead (`hermes acp`, which needs