@fibteq/myrel-runner 0.29.0 → 0.30.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 -0
- package/dist/cli.js +105 -92
- package/dist/index.js +75 -73
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -167,6 +167,14 @@ that run only. With `read` its write and shell tools are taken away (its `:read-
|
|
|
167
167
|
a command's approval). `full` is `--yolo`: no approval, no sandbox. Muse Code has no `--add-dir`, so below `full` it
|
|
168
168
|
writes only in the project's main folder.
|
|
169
169
|
|
|
170
|
+
On Ubuntu 23.10 and later, Codex's and Muse Code's sandboxes can fail every command with `bwrap: loopback: Failed
|
|
171
|
+
RTM_NEWADDR: Operation not permitted`. Ubuntu's AppArmor gives programs without a profile no capabilities in a new user
|
|
172
|
+
namespace (`kernel.apparmor_restrict_unprivileged_userns = 1`) and exempts only `/usr/bin/bwrap`, while both CLIs
|
|
173
|
+
bring their own bubblewrap. `myrel-runner status` and the runner's log say so, and their runs are told to stop
|
|
174
|
+
retrying commands. `myrel-runner sandbox` shows what it found; `myrel-runner sandbox fix`, run as yourself, installs
|
|
175
|
+
`/etc/apparmor.d/myrel-runner-<you>` with sudo: a profile that lets only those binaries (by a pattern that still
|
|
176
|
+
matches after they update) make user namespaces, while the rest of the computer keeps the restriction.
|
|
177
|
+
|
|
170
178
|
Kimi Code runs as an ACP server (`kimi acp`) like Hermes Agent, whose session takes a permission mode: `plan` with
|
|
171
179
|
`read` (no edits but its own plan file), `default` with `edit` and `auto` (reads and edits inside the folder's git
|
|
172
180
|
repository run, the rest asks) and `auto` ("never ask") with `full`. What it asks permission for is declined below
|