@linzumi/cli 1.0.306 → 1.0.307

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,56 +54,40 @@ 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 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.
57
+ This release adds new assistant tools. Each one needs a Linzumi server that
58
+ includes #12020 or later.
59
+
60
+ - The assistant can send ordinary messages as you, on your behalf
61
+ (`linzumi_send_message`), only in your own Assistant conversation and only
62
+ when you explicitly ask it to send, tell, post or reply something. The
63
+ message is posted as you and marked as sent by your assistant. If the
64
+ destination is ambiguous, nothing is sent and it asks which one you meant.
65
+ - Before starting a coding job, the assistant can list the valid computers,
66
+ harnesses, models, reasoning efforts and execution modes
67
+ (`linzumi_list_job_start_options`) and picks only from that list. A refused
68
+ start now names the field, the rejected value and the valid options, and a
69
+ successful start reports the settings the job actually uses.
70
+ - Archiving a job through the assistant now works exactly like the sidebar's
71
+ "Archive job": the job leaves the active lists, history is kept, and it can
72
+ be unarchived. When the job still has live descendant jobs, the assistant
73
+ asks whether to keep them (archiving only this job) or archive the whole
74
+ subtree before doing anything.
75
+ - The assistant can manage projects: edit a project's details, archive and
76
+ unarchive it, link or unlink a project directory on your computer, and
77
+ delete a project (two-step, and never a project that has jobs).
78
+
79
+ This also keeps every fix from 1.0.306 and earlier: the recovery-restart
80
+ repair (the supervisor starts the replacement instead of draining forever),
81
+ Stop on a thread whose finished turn still holds its agent process, bounded
82
+ Stop retirement, replay of a finished answer whose acknowledgment was lost,
83
+ the permission-request tools, the "Still restoring" and "Needs attention" rows
84
+ (with Retry), steering-aware recovery, and the earlier reconnect, startup and
85
+ journal-cleanup improvements. Update Commander to use these changes;
86
+ publishing the package does not restart an already running Commander. As with
87
+ 1.0.306, the recovery-restart repair runs only once the supervisor process
88
+ itself runs 1.0.306 or later, so a supervisor still on older code needs
89
+ `connect --supervise` relaunched from a current CLI, for example
90
+ `npx -y @linzumi/cli@latest connect --supervise --workspace your-workspace`.
107
91
 
108
92
  ## Manual Runner Setup
109
93
 
@@ -112,7 +96,7 @@ Install the CLI or run it with `npx`:
112
96
  ```bash
113
97
  npm install -g @linzumi/cli@latest
114
98
  npx -y @linzumi/cli@latest connect --supervise --workspace your-workspace
115
- npx -y @linzumi/cli@1.0.306 --version
99
+ npx -y @linzumi/cli@1.0.307 --version
116
100
  linzumi --version
117
101
  ```
118
102