@yu_robotics/remote-cli-router 1.6.137 → 1.6.141

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 +46 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -72,9 +72,42 @@ old Routers remain compatible and old CLIs keep their existing behavior. The
72
72
  Other overlapping requests are rejected rather than globally queued. This does
73
73
  not add peer communication or modify native backends or Router execution.
74
74
  Sibling results are not explicitly forwarded; a reused same-backend lane retains
75
- its own earlier task context. Uncertain setup or cleanup retains the occupied
75
+ its own earlier task context. Uncertain native startup or exit retains the occupied
76
76
  global slot until the local CLI restarts.
77
77
 
78
+ From CLI 1.6.139, Git delegation has no fixed repository size or file-count
79
+ limits during snapshots, artifact collection, or checkout verification. Git
80
+ command deadlines and buffered-output limits still apply. Path, ownership,
81
+ artifact-integrity, and unknown-file checks remain in place. This is local CLI
82
+ behavior; upgrading only the Router does not remove an older CLI's limits.
83
+
84
+ From CLI 1.6.141, local initialized submodules and embedded repositories also
85
+ contribute staged, unstaged, and nonignored working files. Their Git metadata and
86
+ history are not copied into the worker; explicit integration preserves every
87
+ source HEAD, index, and gitlink. Uninitialized submodule paths stay empty without
88
+ fetching a remote. Worker-created nested repositories or changes to those empty
89
+ paths require manual recovery and explicit retention, even with unchanged files.
90
+ Nested worktrees sharing an ancestor, external metadata pointers, partial clones,
91
+ and nested-local filter commands require recovery or exclusion. System/global
92
+ Git configuration remains trusted; the existing Git transfer deadline still applies.
93
+ A hard kill can leave a transfer quarantine requiring manual cleanup after its
94
+ processes exit. Tracked submodules also matched by outer ignore rules currently
95
+ fail admission; reconcile those rules before delegating.
96
+
97
+ From CLI 1.6.140, managed Git preparation, repository-lock waits, and artifact
98
+ collection are awaited separately from native startup/stop deadlines. Slots and
99
+ source reservations remain held until owned operations settle, even on cancellation;
100
+ no late worker is launched. Failed collection after confirmed exit preserves only
101
+ the affected lane and files for recovery rather than quarantining the source.
102
+ Individual Git command deadlines remain; cancellation may wait for Git to settle.
103
+ Slow launch/cancel tools return the accepted task ID and a pending status before
104
+ the adapter timeout; poll that ID with `remote_cli_result`, not a new delegation.
105
+ The response does not claim cancellation cleanup or workspace release is complete.
106
+ Checkpoints reject `assume-unchanged` and `skip-worktree` entries rather than
107
+ omitting hidden edits or treating missing sparse files as deletions. Resolve those
108
+ flags and sparse checkouts explicitly; the source index is never modified.
109
+ These changes require a CLI upgrade; Router protocol and native backends are unchanged.
110
+
78
111
  From CLI 1.6.135, the local CLI automatically reclaims verified successful
79
112
  no-change or successfully applied worker checkout directories and recreates them
80
113
  at their stable lane paths when needed. Conversation pointers and artifact refs
@@ -96,6 +129,13 @@ artifacts. A deliberate retain settles the decision without claiming delivery.
96
129
  The Router renders existing progress/error messages; no new protocol, automatic
97
130
  merge, or old-request replay is introduced. Older CLIs keep their current behavior.
98
131
 
132
+ From CLI 1.6.138, already settled artifact receipts are validated without requiring
133
+ an idle source workspace; another busy thread does not reopen completed delivery.
134
+ Pending or unverifiable outcomes still require closeout, and history reconciliation
135
+ still requires the source lease. Reused Git lanes remain reusable after confirmed
136
+ failures before checkout preparation starts; uncertain checkout or executor setup
137
+ continues to preserve the lane for manual recovery.
138
+
99
139
  From CLI and Router 1.6.137, finished Worker cards expose **Clear context**
100
140
  outside folded details, including failed tasks that established a worker lane.
101
141
  The button disconnects only that worker's native conversation continuation.
@@ -106,7 +146,11 @@ Only the original user can operate the control on its original device. Running
106
146
  workers, unconfirmed shutdowns, and stale cards after lane reuse are rejected.
107
147
  **Context cleared** appears only after CLI acknowledgement; timeouts and failures
108
148
  allow explicit retry. An interrupted clear stays non-resumable until a retry
109
- finishes. Controls require both peers to advertise `workerContextReset`; old
149
+ finishes. From CLI 1.6.138, retrying an old shared-directory lane's clear after a
150
+ replacement has been created clears only the old continuation, without reviving
151
+ that lane or scheduling the replacement for deletion. Ambiguous duplicate lanes
152
+ are preserved for manual recovery; independent Git worker lanes remain reusable.
153
+ Controls require both peers to advertise `workerContextReset`; old
110
154
  peers retain their existing behavior. Card controls expire on Router restart,
111
155
  after 24 hours, or when their bounded cache is evicted; use a newer card or the
112
156
  existing thread-scoped `/delegation reset [backend]` command when idle.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yu_robotics/remote-cli-router",
3
- "version": "1.6.137",
3
+ "version": "1.6.141",
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",