@yu_robotics/remote-cli 1.6.204 → 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.
- package/README.md +24 -0
- package/dist/client/MessageHandler.d.ts.map +1 -1
- package/dist/client/MessageHandler.js +2 -1
- package/dist/client/MessageHandler.js.map +1 -1
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +9 -0
- package/dist/commands/config.js.map +1 -1
- package/dist/config/ConfigManager.d.ts +3 -4
- package/dist/config/ConfigManager.d.ts.map +1 -1
- package/dist/config/ConfigManager.js +4 -4
- package/dist/config/ConfigManager.js.map +1 -1
- package/dist/delegation/DelegatedWorkspaceManager.d.ts +13 -1
- package/dist/delegation/DelegatedWorkspaceManager.d.ts.map +1 -1
- package/dist/delegation/DelegatedWorkspaceManager.js +127 -15
- package/dist/delegation/DelegatedWorkspaceManager.js.map +1 -1
- package/dist/delegation/DelegationManager.d.ts +1 -1
- package/dist/delegation/DelegationManager.d.ts.map +1 -1
- package/dist/delegation/DelegationManager.js +3 -2
- package/dist/delegation/DelegationManager.js.map +1 -1
- package/dist/delegation/GitCheckpoint.d.ts +10 -2
- package/dist/delegation/GitCheckpoint.d.ts.map +1 -1
- package/dist/delegation/GitCheckpoint.js +278 -42
- package/dist/delegation/GitCheckpoint.js.map +1 -1
- package/dist/delegation/SharedSymlinks.d.ts +46 -0
- package/dist/delegation/SharedSymlinks.d.ts.map +1 -0
- package/dist/delegation/SharedSymlinks.js +216 -0
- package/dist/delegation/SharedSymlinks.js.map +1 -0
- package/dist/maintenance/release-notes.json +1 -1
- package/dist/types/config.d.ts +4 -0
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/config.js +0 -3
- package/dist/types/config.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Remote control Claude Code, AGY CLI, Codex CLI, OpenCode CLI, Kimi Code CLI, ZCode, or Pi from anywhere using your mobile phone through Feishu (Lark) messaging.
|
|
4
4
|
|
|
5
|
+
From Router 1.6.205, public `/health` responses expose health and connection counts without device identifiers. The unauthenticated HTTP `/api/feishu/card-callback` endpoint is retired; card actions use the existing Feishu long connection. Binding requests and unregistered WebSocket connections have bounded admission. Existing CLI registration, enrolled-device proofs, and protocol version 1 remain supported. This does not introduce message encryption or require device rebinding.
|
|
6
|
+
|
|
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
|
+
|
|
5
9
|
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.
|
|
6
10
|
|
|
7
11
|

|
|
@@ -258,6 +262,26 @@ command alternative for clients without settings cards.
|
|
|
258
262
|
|
|
259
263
|
### Threads & Machines
|
|
260
264
|
|
|
265
|
+
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.
|
|
266
|
+
|
|
267
|
+
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`:
|
|
268
|
+
|
|
269
|
+
```json
|
|
270
|
+
{
|
|
271
|
+
"delegation": {
|
|
272
|
+
"sharedSymlinks": [
|
|
273
|
+
{
|
|
274
|
+
"root": "/path/to/project",
|
|
275
|
+
"path": "skills/shared-resource",
|
|
276
|
+
"target": "/path/to/shared-resource"
|
|
277
|
+
}
|
|
278
|
+
]
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
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.
|
|
284
|
+
|
|
261
285
|
From CLI 1.6.121, new and existing threads without a saved preference enable
|
|
262
286
|
delegation by default. Their selected backend can assign bounded tasks to eligible
|
|
263
287
|
installed, authenticated backends. Claude Code, Codex, Pi, AGY, OpenCode, Kimi
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageHandler.d.ts","sourceRoot":"","sources":["../../src/client/MessageHandler.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MessageHandler.d.ts","sourceRoot":"","sources":["../../src/client/MessageHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAQpD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAgK,MAAM,UAAU,CAAC;AACzM,OAAO,EAAE,kBAAkB,EAAE,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AAiB;IAezB,OAAO,CAAC,eAAe;IAiBvB,OAAO,CAAC,WAAW;IAgBnB,OAAO,CAAC,cAAc;IAgBtB,OAAO,CAAC,sBAAsB;IAyB9B,OAAO,CAAC,YAAY;IAUpB,OAAO,CAAC,oBAAoB;IAe5B,OAAO,CAAC,YAAY;IAgBpB,OAAO,CAAC,SAAS;IAiBjB,OAAO,CAAC,qBAAqB;IAmB7B,OAAO,CAAC,YAAY;IA2DpB,OAAO,CAAC,qBAAqB;IAI7B,8EAA8E;YAChE,sBAAsB;IAcpC,OAAO,CAAC,aAAa;IAerB,OAAO,CAAC,YAAY;IAMpB,OAAO,CAAC,gBAAgB;IAYxB,uFAAuF;YACzE,sBAAsB;IAsBpC,mFAAmF;YACrE,eAAe;YAuDf,mBAAmB;IA0BjC,OAAO,CAAC,YAAY;YAUN,cAAc;YAuBd,oBAAoB;IAgHlC;;OAEG;IACG,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CA2B/B"}
|
|
@@ -4,6 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.MessageHandler = void 0;
|
|
7
|
+
const DelegatedWorkspaceManager_1 = require("../delegation/DelegatedWorkspaceManager");
|
|
7
8
|
const FileInbox_1 = require("../files/FileInbox");
|
|
8
9
|
const DeviceIdentity_1 = require("../files/DeviceIdentity");
|
|
9
10
|
const crypto_1 = require("crypto");
|
|
@@ -210,7 +211,7 @@ class MessageHandler {
|
|
|
210
211
|
for (const delivery of this.imageDeliveries.values())
|
|
211
212
|
delivery.invalidatePending();
|
|
212
213
|
});
|
|
213
|
-
this.delegation = new DelegationManager_1.DelegationManager(directoryGuard, undefined, undefined, undefined, undefined, undefined, new DelegatedWorkerSessionStore_1.DelegatedWorkerSessionStore(undefined, threadManager.contextResets));
|
|
214
|
+
this.delegation = new DelegationManager_1.DelegationManager(directoryGuard, undefined, undefined, undefined, undefined, undefined, new DelegatedWorkerSessionStore_1.DelegatedWorkerSessionStore(undefined, threadManager.contextResets), new DelegatedWorkspaceManager_1.DelegatedWorkspaceManager(undefined, undefined, () => this.config.getSharedSymlinks()));
|
|
214
215
|
this.settingsCatalogReader = new SettingsCatalog_1.SettingsCatalogReader(directoryGuard);
|
|
215
216
|
this.settingsService = new SettingsService_1.SettingsService({
|
|
216
217
|
state: id => this.settingsState(id),
|