@yu_robotics/remote-cli-router 1.6.208 → 1.6.210

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 +9 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,6 +6,8 @@ From Router 1.6.205, public `/health` responses expose health and connection cou
6
6
 
7
7
  Rate-limited binding requests return HTTP 429 with `Retry-After`. Admission uses the direct socket peer and ignores `X-Forwarded-For`; devices behind a shared proxy or NAT share a peer budget. Unregistered connections have a fixed 30-second registration deadline that heartbeats cannot extend, a 16 KiB message limit, and limits of 64 pending connections per peer and 512 globally. Registered WebSocket messages have a 16 MiB limit, including cumulative fragmented messages. Existing monitoring should use the health status and connection count instead of the removed device list.
8
8
 
9
+ From CLI 1.6.210, managed workers receive fixed delegation instructions once per confirmed native conversation. Follow-up tasks keep their own objective, current workspace and checkpoint, external-link warnings, and required outputs. Fresh or unconfirmed contexts receive the full instructions again. Worker conversation reuse is preserved; this does not archive or delete sessions.
10
+
9
11
  From CLI 1.6.204, Claude Code model aliases show the alias name followed by the native resolved model ID, preserving provider prefixes. If the resolved ID is unavailable, the native display name is used. Direct model and Default labels, selection values, and other backends remain unchanged.
10
12
 
11
13
  Backend executable discovery is local-client behavior. CLI 1.6.119 supplements Linux/macOS startup PATH and honors configured backend commands across detection and execution, preserving ZCode's native unset/empty-command lookup. Upgrade and restart the client to obtain this fix; upgrading only the Router does not repair an older client's environment. Valid client services need no reinstallation. The Router runtime, wire protocol, and existing compatibility requirements are unchanged. See [Backend Executable Discovery](../../README.md#backend-executable-discovery).
@@ -518,9 +520,9 @@ From 1.6.168, `directoryCards` is an optional capability requiring `settingsCard
518
520
  With CLI 1.6.84 or newer, `/status` also shows `Delegation: on/off (current thread)`.
519
521
  The CLI reads this effective setting without initializing delegation or starting workers.
520
522
 
521
- From CLI 1.6.207, managed Git checkpoints preserve repository-local symbolic links when they replace tracked directories, without traversing stale indexed children or changing the source index. This is a local CLI change; the Router protocol remains unchanged. External links remain disabled unless the local configuration grants the exact repository root, link path, and canonical shared target. Granted links keep their original text in Git artifacts and point to the original shared target in worker checkouts; target contents are never copied. Changes through a shared link affect the original target directly and are not captured, merged, reverted, or backed up by delegation artifacts. Concurrent workers may access the same shared target. Worktrees are not an OS sandbox.
523
+ From CLI 1.6.209, new managed Git tasks automatically preserve ordinary external symbolic links without requiring a per-link whitelist. Git artifacts retain the original link text, while worker checkouts map external links to their original canonical targets so relative links do not change meaning after relocation. Target contents are never copied. Changes through a shared link affect the original target directly and are not captured, merged, reverted, or backed up by delegation artifacts. Concurrent workers may access the same shared target. Worktrees are not an OS sandbox, and these checks do not restrict arbitrary filesystem access by a full-permission backend. This is a local CLI change; the Router protocol remains unchanged. Repository-local links, including links replacing tracked directories, still retain their existing checkpoint behavior without traversing stale indexed children or changing the source index.
522
524
 
523
- Configure shared links through the local CLI setting `delegation.sharedSymlinks`; `remote-cli config set delegation.sharedSymlinks <json-array>` accepts the array below the `sharedSymlinks` key. Use your host's absolute canonical paths for `root` and `target`, and a Git-relative path with forward slashes for `path`:
525
+ CLI 1.6.206 through 1.6.208 require explicit grants through the local setting `delegation.sharedSymlinks`. The setting remains supported for compatibility; ordinary external links on CLI 1.6.209 no longer need new entries. `remote-cli config set delegation.sharedSymlinks <json-array>` accepts the array below the `sharedSymlinks` key. Use your host's absolute canonical paths for `root` and `target`, and a Git-relative path with forward slashes for `path`:
524
526
 
525
527
  ```json
526
528
  {
@@ -536,7 +538,11 @@ Configure shared links through the local CLI setting `delegation.sharedSymlinks`
536
538
  }
537
539
  ```
538
540
 
539
- Each grant names one existing native symbolic link and one existing canonical shared target; wildcards, directory-prefix grants, dangling links, and grants inside nested repositories are not supported. File and directory targets are supported. Git metadata, managed worker storage, and targets overlapping the project root are rejected. Configuration accepts at most 64 grants and 16 KiB of serialized grant data; recorded link bindings are limited to 32 KiB so tasks retain readable recovery records. The example paths are placeholders. Windows JSON paths require escaped backslashes, native symlink privileges, and Git `core.symlinks=true`; no regular-file or junction fallback is created. From CLI 1.6.208, each new managed Git task reads the current shared-link grants from the local configuration, so adding or removing grants takes effect without restarting the CLI or conversation. CLI 1.6.207 requires a restart after configuration changes. Running tasks and saved artifacts retain their recorded link bindings for execution and closeout; a policy change cannot revoke access already held by an active process. Invalid or unreadable policy prevents new managed admission rather than reusing stale grants. Shared-target content remains live and outside artifact review and rollback. Changing or staging the shared link node holds the checkout for recovery. Conservative cleanup can retain a mapped checkout when safe removal cannot be confirmed.
541
+ Automatic discovery includes tracked and nonignored external link nodes in the outer repository, including links replacing tracked directories. Unrelated ignored links remain ignored. File and directory targets must exist and resolve to canonical locations; dangling links, cycles, external links inside nested repositories, Git administrative data, repository-root targets, managed worker storage, and targets overlapping the project root remain unsupported. At most 64 external bindings and 16 KiB of serialized target records are admitted; recorded link bindings are limited to 32 KiB so tasks retain readable recovery records. Discovery inspects link and target metadata without enumerating external directories or reading external file contents.
542
+
543
+ Existing explicit grants remain exact consistency checks for their repository, link path, and target. Wildcards and directory-prefix grants are not supported. Remove or repair stale entries when links move; malformed or unreadable policy still prevents new managed admission instead of reusing stale grants. Removing a grant on CLI 1.6.209 does not disable automatic admission of that ordinary external link. Each new managed Git task reads current settings without restarting the CLI or conversation, as introduced in CLI 1.6.208; CLI 1.6.207 needs a restart to reload grants. The example paths are placeholders. Windows JSON paths require escaped backslashes, native symlink privileges, and Git `core.symlinks=true`; no regular-file or junction fallback is created.
544
+
545
+ Running tasks and saved artifacts retain their recorded link bindings for execution and closeout; collection does not discover additional external links. A policy change cannot revoke access already held by an active process. Shared-target content remains live and outside artifact review and rollback. Changing or staging a shared link node holds the checkout for recovery. Automatic integration and cleanup retain their path and link checks; conservative cleanup can retain a mapped checkout when safe removal cannot be confirmed.
540
546
 
541
547
  From CLI 1.6.121, new and existing threads without a saved delegation preference
542
548
  default to on. Explicit `/delegation off` choices remain off across upgrades,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yu_robotics/remote-cli-router",
3
- "version": "1.6.208",
3
+ "version": "1.6.210",
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",