@yu_robotics/remote-cli-router 1.6.205 → 1.6.207

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 +20 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -518,6 +518,26 @@ From 1.6.168, `directoryCards` is an optional capability requiring `settingsCard
518
518
  With CLI 1.6.84 or newer, `/status` also shows `Delegation: on/off (current thread)`.
519
519
  The CLI reads this effective setting without initializing delegation or starting workers.
520
520
 
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.
522
+
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`:
524
+
525
+ ```json
526
+ {
527
+ "delegation": {
528
+ "sharedSymlinks": [
529
+ {
530
+ "root": "/path/to/project",
531
+ "path": "skills/shared-resource",
532
+ "target": "/path/to/shared-resource"
533
+ }
534
+ ]
535
+ }
536
+ }
537
+ ```
538
+
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. After changing this setting, restart the local CLI when active tasks have finished so it reloads the configuration before starting new workers; saved tasks retain their recorded link bindings for artifact closeout. 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.
540
+
521
541
  From CLI 1.6.121, new and existing threads without a saved delegation preference
522
542
  default to on. Explicit `/delegation off` choices remain off across upgrades,
523
543
  context resets, backend switches, and restarts; `/delegation on` re-enables it.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yu_robotics/remote-cli-router",
3
- "version": "1.6.205",
3
+ "version": "1.6.207",
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",