@yu_robotics/remote-cli-router 1.6.194 → 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 +17 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -614,8 +614,9 @@ managed worker conversation, across backends and parallel worker lanes. The
614
614
  working directory, files, Git artifacts, archived native transcripts, login,
615
615
  backend/model/effort selections, delegation preference, and sandbox grants are
616
616
  preserved. Other threads are unaffected. A later backend switch starts fresh
617
- instead of restoring a pre-clear binding. Busy tasks, queued work, and workers
618
- 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
619
620
  before any session binding changes. A persisted reset intent blocks old
620
621
  conversations until clearing succeeds, including after a CLI restart. If
621
622
  clearing fails, resolve the reported problem and retry `/clear` or `/new`.
@@ -623,6 +624,20 @@ Service shutdown waits for retained cleanup and reports unconfirmed native exits
623
624
  before acknowledging completion.
624
625
  Single-worker **Clear context** controls still reset only the selected worker.
625
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
+
626
641
  ## Session Resume
627
642
 
628
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.194",
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",