@yu_robotics/remote-cli-router 1.6.193 → 1.6.195

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.
Files changed (2) hide show
  1. package/README.md +29 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -281,6 +281,18 @@ is never sufficient. It covers members of that group;
281
281
  background processes that escape using `setsid` or `setpgid` are not covered and
282
282
  must not write into disposable worker checkouts.
283
283
 
284
+ From CLI 1.6.194, disposable worker finalization verifies supported Git LFS
285
+ files against their saved pointers and locally available payloads outside the
286
+ worker checkout. Unchanged LFS files no longer fail solely because they use
287
+ `filter=lfs`. The same byte checks support conservative checkout reclamation
288
+ without changing its stricter cleanup policy. Missing or mismatched payloads,
289
+ unsafe storage paths and unsupported
290
+ transformations retain the checkout for recovery. Verification does not download
291
+ LFS objects or automatically repair previously failed worker records. Keep the
292
+ shared local LFS objects needed for recovery: private Git artifact refs are not
293
+ a separate payload backup, and external LFS pruning can remove those objects.
294
+ Upgrade the local CLI to use this behavior; a Router-only upgrade does not enable it.
295
+
284
296
  Cleanup uses durable intent and receipt records. Failed removals are retried on
285
297
  startup and while idle; cleanup failure does not undo integration or turn a
286
298
  successful task into a failed task. Failed/retained receipts support reconstruction
@@ -602,8 +614,9 @@ managed worker conversation, across backends and parallel worker lanes. The
602
614
  working directory, files, Git artifacts, archived native transcripts, login,
603
615
  backend/model/effort selections, delegation preference, and sandbox grants are
604
616
  preserved. Other threads are unaffected. A later backend switch starts fresh
605
- instead of restoring a pre-clear binding. Busy tasks, queued work, and workers
606
- with unconfirmed shutdowns must settle before clearing. Reset intent is saved
617
+ instead of restoring a pre-clear binding. Direct-backend shutdown must be
618
+ confirmed before clearing; managed-worker recovery follows the rules below.
619
+ Reset intent is saved
607
620
  before any session binding changes. A persisted reset intent blocks old
608
621
  conversations until clearing succeeds, including after a CLI restart. If
609
622
  clearing fails, resolve the reported problem and retry `/clear` or `/new`.
@@ -611,6 +624,20 @@ Service shutdown waits for retained cleanup and reports unconfirmed native exits
611
624
  before acknowledging completion.
612
625
  Single-worker **Clear context** controls still reset only the selected worker.
613
626
 
627
+ From CLI 1.6.195, `/clear` and `/new` separate conversation recovery from
628
+ managed-worker cleanup. A fresh worker conversation generation excludes old
629
+ worker contexts and artifact obligations from subsequent turns. Old files,
630
+ artifacts, native history, and pending cleanup records remain available for
631
+ recovery; an uncertain worker is never treated as stopped or made reusable.
632
+ Worker cleanup may continue after cancellation without holding the conversation
633
+ open. Conflicting execution remains restricted while a worker may still write,
634
+ including when delegation is disabled. Missing or unreadable legacy process
635
+ evidence can still block execution after clearing; recovery commands remain
636
+ available, and offline recovery must establish that old writers have stopped.
637
+ Direct-backend shutdown and durable reset storage must succeed before clearing
638
+ is acknowledged. Upgrade the local CLI; a Router-only upgrade does not enable
639
+ this recovery path.
640
+
614
641
  ## Session Resume
615
642
 
616
643
  CLI 1.6.164 supports confirmed Pi native session connections and read-only Pi/Codex/Claude Code discovery. Adopted Pi history reloads before every remote turn; `/session detach` preserves it and `/session release` is removed. Foreground Pi `/new` and `/clear` also preserve old history and start independent IDs; new default names use native session IDs and persisted names are not overwritten on reopen. Worker/metadata cleanup is unchanged. Resume drafts keep ordinary messages in the current conversation until confirmation succeeds. Use only one side at a time. Local Pi windows may stay open but must use native `/resume` before their next local turn; automatic local refresh and writer locking are not provided. Existing Router command/response envelopes support the text workflow without a new wire capability. See the [session resume specification](../../SESSION_RESUME_SPEC.md).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yu_robotics/remote-cli-router",
3
- "version": "1.6.193",
3
+ "version": "1.6.195",
4
4
  "description": "Router server for remote CLI - message forwarding between Feishu and local clients",
5
5
  "main": "dist/cli.js",
6
6
  "types": "dist/cli.d.ts",