@fibteq/myrel-runner 0.30.0 → 0.32.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,11 @@ 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
+ Every `muse exec` writes a temp folder with a new random name into its instructions, ahead of the conversation, so
173
+ the first model call of a resumed turn misses the provider's prompt cache and reads the whole session again (about
174
+ 2.5 minutes at 350k tokens). The runner passes `--context-compaction-soft-threshold 0.15`, so Muse Code summarizes
175
+ the session from about 150k tokens instead of 750k and that first call stays under a minute.
176
+
170
177
  On Ubuntu 23.10 and later, Codex's and Muse Code's sandboxes can fail every command with `bwrap: loopback: Failed
171
178
  RTM_NEWADDR: Operation not permitted`. Ubuntu's AppArmor gives programs without a profile no capabilities in a new user
172
179
  namespace (`kernel.apparmor_restrict_unprivileged_userns = 1`) and exempts only `/usr/bin/bwrap`, while both CLIs
@@ -251,7 +258,9 @@ OpenCode takes a whole config for one run in `OPENCODE_CONFIG_CONTENT`, so nothi
251
258
  `~/.config/opencode`: the run's servers, connectors, permission rules and skills folder (`skills.paths`) go there,
252
259
  merged over your own config, and the token stays in `MYREL_MCP_TOKEN`. Your model and provider logins are your own.
253
260
  opencode 2 runs `opencode run` through its background service, which would ignore that config, so the runner adds
254
- `--standalone` when `opencode --version` says 2 or later. Connectors' tools show up as `<connector>_<tool>`.
261
+ `--standalone` when `opencode --version` says 2 or later, and writes that config in OpenCode 2's native shape
262
+ (servers under `mcp.servers` with Code Mode off, so the run's tools stay tools of their own, and ordered
263
+ `permissions` rules). Connectors' tools show up as `<connector>_<tool>`.
255
264
 
256
265
  Hermes Agent's `hermes chat` runs every turn in a shared background gateway that takes MCP servers only from
257
266
  `~/.hermes/config.yaml`, so the runner uses its ACP server instead (`hermes acp`, which needs