@fibteq/myrel-runner 0.28.2 → 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 +15 -0
- package/dist/cli.js +106 -93
- package/dist/index.js +79 -77
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -69,6 +69,13 @@ From runner 0.14.0 the background runner can be updated and set up from **Myrel
|
|
|
69
69
|
`myrel-runner settings` shows and changes the same ones here, and `myrel-runner settings remote off` stops Myrel from
|
|
70
70
|
changing them (only this computer can turn it back on).
|
|
71
71
|
|
|
72
|
+
- **Usage** (from runner 0.29.0): the card shows how busy the computer is: CPU since the last reading, memory used
|
|
73
|
+
of the total (on Linux what the kernel says is still available, on macOS what Activity Monitor counts as used), swap
|
|
74
|
+
on Linux, free space on the disk the runner's home is on, and how many CLIs it is running for Myrel. The runner
|
|
75
|
+
measures with each of its pings (every 25 seconds, with the connection it keeps anyway) and sends numbers only: no
|
|
76
|
+
process names, paths or user names. Myrel keeps the latest reading while the computer is connected and stores
|
|
77
|
+
nothing; only you see it, on your own Devices page. `myrel-runner settings stats off` stops sending it.
|
|
78
|
+
|
|
72
79
|
A runner started with `myrel-runner start` in a terminal cannot restart itself, so the card shows the command
|
|
73
80
|
instead; the desktop app's runner updates with the app. Runners before 0.14.0 need `npx myrel-runner@latest update`
|
|
74
81
|
once.
|
|
@@ -160,6 +167,14 @@ that run only. With `read` its write and shell tools are taken away (its `:read-
|
|
|
160
167
|
a command's approval). `full` is `--yolo`: no approval, no sandbox. Muse Code has no `--add-dir`, so below `full` it
|
|
161
168
|
writes only in the project's main folder.
|
|
162
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
|
+
|
|
163
178
|
Kimi Code runs as an ACP server (`kimi acp`) like Hermes Agent, whose session takes a permission mode: `plan` with
|
|
164
179
|
`read` (no edits but its own plan file), `default` with `edit` and `auto` (reads and edits inside the folder's git
|
|
165
180
|
repository run, the rest asks) and `auto` ("never ask") with `full`. What it asks permission for is declined below
|