@linzumi/cli 1.0.304 → 1.0.306
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 +51 -26
- package/dist/cloud-supervisor.mjs +89 -89
- package/dist/hosted-coding-account-worker.js +18 -18
- package/dist/index.js +370 -370
- package/dist/mcp-server.mjs +50 -50
- package/dist/remote-codex-harness-worker.js +102 -102
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -54,31 +54,56 @@ the work side runs locally. This npm package is the local half.
|
|
|
54
54
|
|
|
55
55
|
## What's new in this release
|
|
56
56
|
|
|
57
|
-
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
57
|
+
- A recovery restart no longer leaves Commander stuck draining. Before, when
|
|
58
|
+
recovering a broken execution leg, Commander could signal itself to restart
|
|
59
|
+
and then drain forever without starting a replacement, so new jobs and
|
|
60
|
+
reconnects to dormant threads were refused until someone restarted it by
|
|
61
|
+
hand (one production runner drained for ten hours). Now the supervisor
|
|
62
|
+
starts the replacement, including a same-version one, and the running
|
|
63
|
+
Commander keeps serving until the new one proves it is ready. Busy threads
|
|
64
|
+
stay with their current owner. If the replacement fails to start or take
|
|
65
|
+
over, Commander keeps admitting work and reports the failure with a reason.
|
|
66
|
+
- Stop now works on a thread whose finished turn still holds its agent
|
|
67
|
+
process after a lost acknowledgment. Before, Stop could be refused and the
|
|
68
|
+
messages queued behind that turn stayed stranded. Now Commander recovers
|
|
69
|
+
that exact owner, keeps the completed answer and the queued messages, and
|
|
70
|
+
pauses the thread; the pause is server-owned and survives reconnects and
|
|
71
|
+
restarts.
|
|
72
|
+
- Stop on a running turn is now bounded: if the agent does not stop,
|
|
73
|
+
Commander retires exactly that worker process and confirms it exited.
|
|
74
|
+
Replacement workers are never touched.
|
|
75
|
+
- A finished answer whose acknowledgment was lost after a reconnect is no
|
|
76
|
+
longer left as unfinished work that blocks the next message. Commander now
|
|
77
|
+
records the exact lease and frame the answer was published under and
|
|
78
|
+
replays it with that identity across reconnects and restarts.
|
|
79
|
+
- New assistant tools for permission requests: the assistant can list your
|
|
80
|
+
pending permission requests across jobs, answer one on your explicit
|
|
81
|
+
instruction, and change a job's permission mode.
|
|
82
|
+
|
|
83
|
+
This also keeps every fix from 1.0.305 and earlier: the "Still restoring" and
|
|
84
|
+
"Needs attention" rows (with Retry) for messages waiting on a startup
|
|
85
|
+
restoration, steering-aware recovery, keeping messages waiting instead of
|
|
86
|
+
failing them when a restoration only ran out of time, the bounded re-drive of
|
|
87
|
+
refused restorations, ignoring late failures from superseded connections or
|
|
88
|
+
restoration attempts, held reconnect and follow-up controls always reaching a
|
|
89
|
+
terminal outcome, the startup credential rebind, closed-window reporting,
|
|
90
|
+
update-drain admissions, readiness without waiting for the journal inventory,
|
|
91
|
+
credential-bound runner sockets, startup outcome custody, and the earlier
|
|
92
|
+
reconnect, startup-timeout, retained-answer recovery and journal-cleanup
|
|
93
|
+
improvements. Recovery still preserves uncertain outcomes and conflicting
|
|
94
|
+
durable evidence. Update Commander to use these changes; publishing the
|
|
95
|
+
package does not restart an already running Commander. The recovery-restart
|
|
96
|
+
repair runs inside the supervisor process, which does not replace its own code
|
|
97
|
+
during a live handoff. After an automatic update to this release, a supervisor
|
|
98
|
+
still running older code refuses a recovery restart explicitly instead of
|
|
99
|
+
draining forever. The repair itself takes effect only when the supervisor
|
|
100
|
+
process runs this release: auto-update never replaces the supervisor's own code, so
|
|
101
|
+
after updating, stop the running Commander and start it again from a CLI on this
|
|
102
|
+
release, for example `npx -y @linzumi/cli@latest connect --supervise --workspace
|
|
103
|
+
your-workspace`. Upgrade a global install first with
|
|
104
|
+
`npm i -g @linzumi/cli@latest`; a service that launches an older install path
|
|
105
|
+
keeps the older supervisor. The permission-request tools need a Linzumi server that includes
|
|
106
|
+
#11900.
|
|
82
107
|
|
|
83
108
|
## Manual Runner Setup
|
|
84
109
|
|
|
@@ -87,7 +112,7 @@ Install the CLI or run it with `npx`:
|
|
|
87
112
|
```bash
|
|
88
113
|
npm install -g @linzumi/cli@latest
|
|
89
114
|
npx -y @linzumi/cli@latest connect --supervise --workspace your-workspace
|
|
90
|
-
npx -y @linzumi/cli@1.0.
|
|
115
|
+
npx -y @linzumi/cli@1.0.306 --version
|
|
91
116
|
linzumi --version
|
|
92
117
|
```
|
|
93
118
|
|