@fibteq/myrel-runner 0.25.0 → 0.26.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 +10 -2
- package/dist/cli.js +72 -70
- package/dist/index.js +56 -54
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -64,7 +64,8 @@ From runner 0.14.0 the background runner can be updated and set up from **Myrel
|
|
|
64
64
|
connect within 2 minutes while the server is reachable, it puts the previous copy back and restarts on it; the card
|
|
65
65
|
says so. The state across the restart is in `~/.myrel-runner/update.json`.
|
|
66
66
|
- **Settings**: the access level, worktrees and **Update by itself** (auto-update: looks for a newer version every
|
|
67
|
-
6 hours and installs it when no task is running
|
|
67
|
+
6 hours and installs it when no task is running, waiting up to 6 hours for running tasks rather than 10 minutes, so
|
|
68
|
+
it does not cut turns short; **Update** while it waits uses the 10 minutes). They are saved in `config.json` on the computer.
|
|
68
69
|
`myrel-runner settings` shows and changes the same ones here, and `myrel-runner settings remote off` stops Myrel from
|
|
69
70
|
changing them (only this computer can turn it back on).
|
|
70
71
|
|
|
@@ -117,6 +118,12 @@ such a step fails and the run goes on. Stopping a turn from Myrel interrupts it
|
|
|
117
118
|
session is whole for the next turn. A message you write in the thread while it works goes into the running turn at
|
|
118
119
|
once (`turn/steer`, runner 0.23.0 or later), instead of with its next call to one of Myrel's tools. Set `MYREL_CODEX_EXEC=1` in the runner's environment to keep `codex exec`.
|
|
119
120
|
|
|
121
|
+
Claude Code takes the prompt as streaming input (`--input-format stream-json`, runner 0.26.0 or later, where the
|
|
122
|
+
installed Claude Code has `--replay-user-messages`). A message you write in the thread while it works goes into the
|
|
123
|
+
running turn at its next step, after the tool it is running, instead of with its next call to one of Myrel's tools.
|
|
124
|
+
Stopping a turn from Myrel interrupts it the way Esc does in Claude Code, so the session is whole for the next turn.
|
|
125
|
+
Set `MYREL_CLAUDE_ONESHOT=1` in the runner's environment to give it the prompt on a stdin that ends at once, as before.
|
|
126
|
+
|
|
120
127
|
Subagents show in the thread's Terminal tab (runner 0.24.0 or later): Claude Code's Agent tool and the agents Codex's
|
|
121
128
|
app server spawns each get a line when they start (with what they are for) and when they end (with their answer), and
|
|
122
129
|
their steps show indented under their name. Codex subagents' tokens count toward the turn's usage. From 0.25.0 the
|
|
@@ -291,7 +298,8 @@ node packages/myrel-runner/dist/cli.js --help
|
|
|
291
298
|
2. Merge it. The [Release myrel-runner](../../.github/workflows/release-runner.yml) workflow then tests, builds and
|
|
292
299
|
publishes both packages whose version is not on npm yet (it can also be run by hand from the Actions tab).
|
|
293
300
|
It uses npm trusted publishing: once, on npmjs.com, open each package's **Settings > Trusted publishing**, choose
|
|
294
|
-
GitHub Actions and enter `Fibteq-Inc`, `
|
|
301
|
+
GitHub Actions and enter `Fibteq-Inc`, `Myrel`, `release-runner.yml` and the environment `release` (which only main
|
|
302
|
+
can use, so a workflow pushed to another branch cannot publish).
|
|
295
303
|
|
|
296
304
|
By hand instead (needs an npm account in the `fibteq` npm organization), runner first, then the short name, with
|
|
297
305
|
`pnpm` (it replaces `workspace:` versions and uses the built files from `publishConfig`):
|