@mu-crew/mu 3.5.0 → 3.6.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/dist/cli.js +9 -8
- package/dist/cli.js.map +1 -1
- package/dist/extension/mu-pi.js +65 -1
- package/dist/extension/mu-pi.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/docs/guide/dispatch.md +2 -1
- package/docs/guide/getting-started.md +8 -3
- package/docs/reference/env.md +1 -1
- package/package.json +1 -1
package/docs/guide/dispatch.md
CHANGED
|
@@ -114,7 +114,8 @@ mu task wait auth/build auth/docs --first --on-stall exit --json
|
|
|
114
114
|
commits. If the worker closed without committing, it says so.
|
|
115
115
|
- Exit codes: `0` met, `5` timeout, `6` the owner's pane died,
|
|
116
116
|
`7` the owner sat in `needs_input` for `--stuck-after` seconds
|
|
117
|
-
(default
|
|
117
|
+
(default 120). Exit 7 is the default; `--on-stall warn` keeps
|
|
118
|
+
polling instead.
|
|
118
119
|
|
|
119
120
|
Exit 7 has several causes: the worker finished but did not close, it
|
|
120
121
|
asked a question, or it hit a prompt. In each case, run
|
|
@@ -126,10 +126,15 @@ The exit code tells you what happened:
|
|
|
126
126
|
| `0` | the task closed | merge the work |
|
|
127
127
|
| `5` | `--timeout` expired (default 600 s) | wait again |
|
|
128
128
|
| `6` | the worker's pane died and the task went back to `OPEN` | spawn and claim again |
|
|
129
|
-
| `7` | the worker sat in `needs_input` for
|
|
129
|
+
| `7` | the worker sat in `needs_input` for 2 minutes | `mu agent read worker-1 -w auth`, then answer it |
|
|
130
130
|
|
|
131
|
-
|
|
132
|
-
the
|
|
131
|
+
`--on-stall exit` is the default; it is spelled out above so older mu
|
|
132
|
+
versions behave the same. With `--on-stall warn`, a stalled worker only
|
|
133
|
+
prints a warning and the wait keeps running.
|
|
134
|
+
|
|
135
|
+
A pi worker that ends its turn while it still owns an `IN_PROGRESS`
|
|
136
|
+
task gets one reminder to close it or say why not, so exit 7 mostly
|
|
137
|
+
means it is blocked or asking something.
|
|
133
138
|
|
|
134
139
|
## Merge the commit
|
|
135
140
|
|
package/docs/reference/env.md
CHANGED
|
@@ -68,7 +68,7 @@ pi agent's `--command`. mu never reads them back.
|
|
|
68
68
|
| --- | --- | --- |
|
|
69
69
|
| `MU_DELEGATE` | `0` hides the `mu_delegate` tool. `mu doctor` reports it. | unset: shown |
|
|
70
70
|
| `MU_DELEGATE_MAX` | Most delegates one pi session runs at once. Further calls queue, up to four times this; past that `mu_delegate` refuses. A positive integer. | `16` |
|
|
71
|
-
| `MU_NUDGE` | `0` turns off the keep-driving nudge
|
|
71
|
+
| `MU_NUDGE` | `0` turns off both nudges: the keep-driving nudge (one reminder when an orchestrator ends a turn with dispatched work still IN_PROGRESS) and the close nudge (one reminder when a mu-spawned pi worker ends a turn still owning an IN_PROGRESS task). `mu doctor` reports it. | unset: on |
|
|
72
72
|
| `MU_PI_HOME` | Root under which `mu link pi` writes `.pi/` and `.agents/`. | `$HOME` |
|
|
73
73
|
| `PI_CODING_AGENT_DIR` | Read only. pi's agent dir, checked for a linked murmur extension. | `~/.pi/agent` |
|
|
74
74
|
| `MU_EXTENSION_ENTRY` | Test only. Built extension the `mu link pi` shim imports. | `dist/extension/mu-pi.js` |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mu-crew/mu",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"description": "A persistent, observable crew of pi agents running in one tmux or herdr session per workstream, coordinated through a built-in task DAG.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|