@yu_robotics/remote-cli 1.6.223 → 1.6.225
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 +33 -0
- package/dist/client/MessageHandler.d.ts.map +1 -1
- package/dist/client/MessageHandler.js +5 -4
- package/dist/client/MessageHandler.js.map +1 -1
- package/dist/client/WebSocketClient.d.ts +3 -0
- package/dist/client/WebSocketClient.d.ts.map +1 -1
- package/dist/client/WebSocketClient.js +16 -0
- package/dist/client/WebSocketClient.js.map +1 -1
- package/dist/commands/delegationStorage.d.ts +3 -1
- package/dist/commands/delegationStorage.d.ts.map +1 -1
- package/dist/commands/delegationStorage.js +17 -1
- package/dist/commands/delegationStorage.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +1 -0
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/start.d.ts.map +1 -1
- package/dist/commands/start.js +2 -0
- package/dist/commands/start.js.map +1 -1
- package/dist/delegation/DelegatedWorkspaceManager.d.ts +15 -0
- package/dist/delegation/DelegatedWorkspaceManager.d.ts.map +1 -1
- package/dist/delegation/DelegatedWorkspaceManager.js +45 -2
- package/dist/delegation/DelegatedWorkspaceManager.js.map +1 -1
- package/dist/delegation/DelegationManager.d.ts +1 -0
- package/dist/delegation/DelegationManager.d.ts.map +1 -1
- package/dist/delegation/DelegationManager.js +41 -7
- package/dist/delegation/DelegationManager.js.map +1 -1
- package/dist/delegation/LegacyWorkspaceCleanup.d.ts +14 -1
- package/dist/delegation/LegacyWorkspaceCleanup.d.ts.map +1 -1
- package/dist/delegation/LegacyWorkspaceCleanup.js +324 -4
- package/dist/delegation/LegacyWorkspaceCleanup.js.map +1 -1
- package/dist/delegation/WorkspaceDisposal.d.ts +1 -1
- package/dist/delegation/WorkspaceDisposal.d.ts.map +1 -1
- package/dist/delegation/WorkspaceDisposal.js +5 -1
- package/dist/delegation/WorkspaceDisposal.js.map +1 -1
- package/dist/files/AutomaticFileEnrollment.d.ts +17 -0
- package/dist/files/AutomaticFileEnrollment.d.ts.map +1 -0
- package/dist/files/AutomaticFileEnrollment.js +40 -0
- package/dist/files/AutomaticFileEnrollment.js.map +1 -0
- package/dist/maintenance/release-notes.json +1 -1
- package/dist/output/OutputFiles.d.ts.map +1 -1
- package/dist/output/OutputFiles.js +4 -2
- package/dist/output/OutputFiles.js.map +1 -1
- package/dist/output/OutputPublication.d.ts +33 -0
- package/dist/output/OutputPublication.d.ts.map +1 -0
- package/dist/output/OutputPublication.js +78 -0
- package/dist/output/OutputPublication.js.map +1 -0
- package/dist/output/OutputSnapshots.d.ts +5 -0
- package/dist/output/OutputSnapshots.d.ts.map +1 -1
- package/dist/output/OutputSnapshots.js +91 -19
- package/dist/output/OutputSnapshots.js.map +1 -1
- package/dist/types/config.d.ts +1 -0
- package/dist/types/config.d.ts.map +1 -1
- package/native/prebuilds/darwin-arm64/managed_native.node +0 -0
- package/native/prebuilds/darwin-arm64/manifest.json +1 -1
- package/native/prebuilds/darwin-x64/managed_native.node +0 -0
- package/native/prebuilds/darwin-x64/manifest.json +1 -1
- package/native/prebuilds/win32-arm64/managed_native.node +0 -0
- package/native/prebuilds/win32-arm64/manifest.json +1 -1
- package/native/prebuilds/win32-x64/managed_native.node +0 -0
- package/native/prebuilds/win32-x64/manifest.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -593,6 +593,31 @@ survive disposable checkout removal.
|
|
|
593
593
|
The local CLI owns this lifecycle; native backends, non-Git FIFO scheduling,
|
|
594
594
|
Router protocol, and old-peer compatibility are unchanged.
|
|
595
595
|
|
|
596
|
+
On Linux hosts with the existing disposal proofs, CLI 1.6.225 automatically
|
|
597
|
+
discards verified temporary checkouts of terminated workers whose artifact capture
|
|
598
|
+
failed. Completion is
|
|
599
|
+
recorded durably so a missing artifact does not repeatedly block later replies.
|
|
600
|
+
This can discard unsubmitted worker files; rerun the worker if its output is
|
|
601
|
+
needed. Valid pending artifacts retain the ordinary review and integration flow.
|
|
602
|
+
Cleanup is limited to the exact owned checkout and its Git registration; external
|
|
603
|
+
symlink targets, the coordinator checkout, and native conversation history are
|
|
604
|
+
preserved. Active workers, conflicting ownership, and unsafe filesystem boundaries
|
|
605
|
+
remain excluded from automatic removal. Potential credential files are held;
|
|
606
|
+
unchanged tracked environment templates are allowed only after comparison with the
|
|
607
|
+
worker input. macOS and Windows retain their existing conservative workspace
|
|
608
|
+
policy. This behavior requires a CLI upgrade.
|
|
609
|
+
|
|
610
|
+
A local operator can retry one eligible failed worker without stopping unrelated
|
|
611
|
+
workers or the daemon:
|
|
612
|
+
|
|
613
|
+
```bash
|
|
614
|
+
remote-cli delegation storage discard-failed --task <task-id> --lane <lane-id>
|
|
615
|
+
```
|
|
616
|
+
|
|
617
|
+
The command verifies the same target, exit and filesystem evidence as automatic
|
|
618
|
+
cleanup. It does not discard normal pending artifacts. The separate historical
|
|
619
|
+
`scan`, `plan` and `discard` maintenance flow retains its offline requirements.
|
|
620
|
+
|
|
596
621
|
From CLI 1.6.138, already settled artifact receipts are validated without requiring
|
|
597
622
|
an idle source workspace; another busy thread does not reopen completed delivery.
|
|
598
623
|
Pending or unverifiable outcomes still require closeout, and history reconciliation
|
|
@@ -846,6 +871,14 @@ See the project [CHANGELOG.md](../../CHANGELOG.md) for release notes and user-vi
|
|
|
846
871
|
|
|
847
872
|
## Retrieve Output Files
|
|
848
873
|
|
|
874
|
+
Worker file links are captured as private snapshots before temporary workspaces are reclaimed. Worker output does not directly create file cards or export-failure notices. A file becomes visible only when the coordinator explicitly selects it in its reply; selection uses the existing snapshot or a verified export instead of rereading a removed worker path. Unselected worker snapshots stay hidden across timers, reconnects and restarts, and retain the same quotas and expiry. Direct coordinator-file failures still produce a notice. Previously published receipts remain usable so existing file cards are not withdrawn. New worker receipts use a private filename format that older clients do not load; a hidden snapshot does not become public merely by downgrading the CLI.
|
|
875
|
+
|
|
876
|
+
From CLI and Router 1.6.224, existing initialized devices automatically request file-key approval over a supported HTTPS connection when Router files are enabled. Feishu sends the existing bound owner one approval card; no terminal enrollment command or copied binding code is needed. Devices that already authenticate with an approved key do not show another card. Preparing a local key alone does not approve it. Text operation remains available while approval is pending; successful approval reconnects the CLI with its saved key.
|
|
877
|
+
|
|
878
|
+
CLI `files.autoEnroll` defaults to `true`; set it to `false` to suppress automatic enrollment requests. This is separate from Router `files.enabled` and does not revoke an already approved identity. New `init --without-files` setups persist this opt-out; older releases did not record that choice. Explicit `remote-cli files enable` remains available for manual approval or recovery. Automatic requests expire after 24 hours. Expired requests, uncertain card delivery, or admission limits remain held instead of creating replacement cards; use the manual enrollment command for recovery.
|
|
879
|
+
|
|
880
|
+
Router 1.6.224 presents file entries and transfer tasks with colored status headers, prominent filenames, compact file metadata, and primary Get file or Retry actions. Expiry times use a readable absolute UTC format. Completed transfers show a delivery confirmation; uncertain sends remain clearly marked and are never retried automatically. This changes presentation only; retrieval still requires the existing button click and device authorization.
|
|
881
|
+
|
|
849
882
|
With CLI and Router 1.6.223, plain `remote-cli init` requests device binding and file-key approval together by default:
|
|
850
883
|
|
|
851
884
|
```bash
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageHandler.d.ts","sourceRoot":"","sources":["../../src/client/MessageHandler.ts"],"names":[],"mappings":"AAKA,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,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAOxD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AA6HxD;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;I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iBjB,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;CA4B/B"}
|
|
@@ -2381,6 +2381,7 @@ You can also use natural language commands to control Claude Code CLI.`,
|
|
|
2381
2381
|
}
|
|
2382
2382
|
const openId = this.getMessageOpenId(messageId);
|
|
2383
2383
|
const thread = this.threadManager.getThread(threadId);
|
|
2384
|
+
const outputGeneration = thread?.delegationWorkspaceGeneration ?? 0;
|
|
2384
2385
|
if (goalRequest && thread && (0, DelegationSettings_1.isDelegationEnabled)(thread)) {
|
|
2385
2386
|
throw new Error('Turn managed delegation off before starting a native goal.');
|
|
2386
2387
|
}
|
|
@@ -2418,8 +2419,8 @@ You can also use natural language commands to control Claude Code CLI.`,
|
|
|
2418
2419
|
outputExports.set(entry.file, entry);
|
|
2419
2420
|
},
|
|
2420
2421
|
onOutputFiles: this.outputFiles ? async (links, cwd, taskId, final) => {
|
|
2421
|
-
await this.outputFiles.capture(links, { messageId, threadId, taskId,
|
|
2422
|
-
generation:
|
|
2422
|
+
await this.outputFiles.capture(links, { messageId, threadId, taskId, owner: openId,
|
|
2423
|
+
generation: outputGeneration, cwd, source: 'worker' }, final);
|
|
2423
2424
|
} : undefined,
|
|
2424
2425
|
isWorkspaceBusy: cwd => this.threadManager.listThreads().some(other => {
|
|
2425
2426
|
if (other.id === threadId && isCurrent() || !this.threadPool.isThreadBusy(other.id))
|
|
@@ -2664,8 +2665,8 @@ You can also use natural language commands to control Claude Code CLI.`,
|
|
|
2664
2665
|
|| (scope && (suppressed || scope.hasPendingResults())) ? '' : result.output ?? '';
|
|
2665
2666
|
queueLocalImages(visibleResult);
|
|
2666
2667
|
if (this.outputFiles) {
|
|
2667
|
-
await this.outputFiles.capture(outputLinks, { messageId, threadId, taskId: messageId,
|
|
2668
|
-
generation:
|
|
2668
|
+
await this.outputFiles.capture(outputLinks, { messageId, threadId, taskId: messageId, owner: openId,
|
|
2669
|
+
generation: outputGeneration, cwd: imageCwd, source: 'workspace', exports: [...outputExports.values()] }, visibleResult);
|
|
2669
2670
|
}
|
|
2670
2671
|
await imageDelivery?.drain();
|
|
2671
2672
|
}
|