@linzumi/cli 1.0.306 → 1.0.308

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,29 @@ 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
+ - Files your coding agent generates in a Linzumi task worktree (the
58
+ `~/.linzumi/worktrees/<repository>/<task>` checkouts) can now be uploaded
59
+ and attached. Before, those uploads were refused when Commander was started
60
+ from the original checkout. A linked checkout is accepted only when Git
61
+ itself registers it as a worktree of the same repository as the folder
62
+ Commander trusts; a directory's name alone grants nothing. Files in the
63
+ trusted folder and in Downloads work as before, and unrelated repositories,
64
+ unregistered paths, hidden path segments below an accepted folder, symlink
65
+ escapes and non-regular files are still refused.
66
+
67
+ This also keeps everything from 1.0.307 and earlier: the assistant tools for
68
+ sending messages as you, listing valid job-start options with typed start
69
+ refusals, the canonical job archive, and project management (those need a
70
+ Linzumi server that includes #12020 or later); the recovery-restart repair;
71
+ Stop on a thread whose finished turn still holds its agent process; bounded
72
+ Stop retirement; replay of a finished answer whose acknowledgment was lost;
73
+ the permission-request tools; the "Still restoring" and "Needs attention"
74
+ rows; and the earlier reconnect, startup and journal-cleanup improvements.
75
+ Update Commander to use these changes; publishing the package does not restart
76
+ an already running Commander. The recovery-restart repair still requires the
77
+ supervisor process itself to run 1.0.306 or later, so a supervisor on older
78
+ code needs `connect --supervise` relaunched from a current CLI, for example
79
+ `npx -y @linzumi/cli@latest connect --supervise --workspace your-workspace`.
107
80
 
108
81
  ## Manual Runner Setup
109
82
 
@@ -112,7 +85,7 @@ Install the CLI or run it with `npx`:
112
85
  ```bash
113
86
  npm install -g @linzumi/cli@latest
114
87
  npx -y @linzumi/cli@latest connect --supervise --workspace your-workspace
115
- npx -y @linzumi/cli@1.0.306 --version
88
+ npx -y @linzumi/cli@1.0.308 --version
116
89
  linzumi --version
117
90
  ```
118
91