@linzumi/cli 1.0.305 → 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 CHANGED
@@ -54,42 +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
- - A message waiting on a thread whose startup restoration ran out of time is
58
- now visible on the thread. Before, it waited silently and the only signal
59
- was an ops alarm. Now its row in the queued-prompts card reads "Still
60
- restoring the agent session on <computer> - your message is queued", with
61
- how long it has waited. The message starts by itself once the restoration
62
- succeeds.
63
- - If two restoration attempts in a row run out of time, the row changes to
64
- "Needs attention" and offers a **Retry** button. Retry asks Commander on that
65
- computer to try the restoration again (a new runner control,
66
- `retry_session_restoration`), and the row goes back to "Still restoring".
67
- The message stays queued throughout; a timer never fails it.
68
- - Recovery after a restart or reconnect now respects a steering message that
69
- was already delivered to the running turn. It no longer posts a false
70
- "never executed" failure for it or treats the agent session as dead. When
71
- Codex reports that a session's archived rollout is missing, that session is
72
- now rebuilt instead of the thread staying stuck.
73
- - Ordinary Codex message, reasoning and function-call completions no longer
74
- fill Commander logs with false `unknown_completed_item` warnings. Real
75
- custom-tool correlation problems are still reported.
76
-
77
- This also keeps every fix from 1.0.304 and earlier. That includes keeping
78
- messages waiting, instead of failing them, when a startup restoration only ran
79
- out of its work window, and the re-drive: a new message or reconnect retries a
80
- refused restoration at most once, and three consecutive retries refused on
81
- durable evidence report a terminal failure. Also kept: ignoring late failures
82
- from superseded connections or restoration attempts,
83
- held reconnect and follow-up controls always reaching a terminal outcome, the
84
- startup credential rebind, closed-window reporting, update-drain admissions,
85
- readiness without waiting for the journal inventory, credential-bound runner
86
- sockets, startup outcome custody, and the earlier reconnect, startup-timeout,
87
- retained-answer recovery and journal-cleanup improvements. Recovery still
88
- preserves uncertain outcomes and conflicting durable evidence. Update
89
- Commander to use these changes; publishing the package does not restart an
90
- already running Commander. The "Still restoring" and "Needs attention" rows
91
- also need a Linzumi server that includes #11743, and the steering-recovery fix
92
- is partly server-side (#11734).
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.
93
107
 
94
108
  ## Manual Runner Setup
95
109
 
@@ -98,7 +112,7 @@ Install the CLI or run it with `npx`:
98
112
  ```bash
99
113
  npm install -g @linzumi/cli@latest
100
114
  npx -y @linzumi/cli@latest connect --supervise --workspace your-workspace
101
- npx -y @linzumi/cli@1.0.305 --version
115
+ npx -y @linzumi/cli@1.0.306 --version
102
116
  linzumi --version
103
117
  ```
104
118