@yu_robotics/remote-cli-router 1.6.194 → 1.6.196

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 +26 -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,29 @@ 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. From CLI 1.6.196, historical, missing,
635
+ or unreadable worker metadata alone does not block ordinary chat, supported
636
+ native commands, or compaction. Existing conversations and conversations after
637
+ `/clear` or `/new` can continue without deleting recovery records. This does not
638
+ confirm that historical workers exited or make their lanes reusable: managed
639
+ worker storage, artifact integration, and cleanup retain their ownership checks.
640
+ Identified live workers and current-process workspace conflicts remain protected.
641
+ Direct-backend shutdown and durable reset storage must succeed before clearing
642
+ is acknowledged. Upgrade the local CLI; a Router-only upgrade does not enable
643
+ this recovery path.
644
+
645
+ Shutting down an active request reports cancellation once.
646
+ Unsupported native commands return their backend-specific error even while
647
+ worker recovery is pending. Commands that execute backend work still honor
648
+ the worker shutdown and workspace checks.
649
+
626
650
  ## Session Resume
627
651
 
628
652
  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.196",
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",