@yu_robotics/remote-cli-router 1.6.160 → 1.6.166

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 +8 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -61,6 +61,8 @@ Deduplication is not exactly once: a crash between card delivery and local ackno
61
61
 
62
62
  From CLI and Router 1.6.150, the same startup/hourly status read also checks native `rateLimitResetCredits.availableCount`. A **Codex Banked Reset** card is sent only when the current valid count exceeds the previous valid count for the same account. The first sample, account switches, and service restarts establish silent in-memory baselines. Equal counts and decreases do not create notices; decreases update the baseline (for example, 5 → 3 is silent, then 3 → 4 notifies). Missing or invalid counts are unknown, not zero, and retain the last valid count for that account. Credit details may be absent or capped and are not used to infer the count. Pending increases are replaced by newer increases and canceled after an observed decrease or account switch; ACKs stop retries for that event only, never suppress later growth. Banked delivery receipts stay in Router memory until notice expiry, bounded to 1,000 including in-flight creations. Lost-ACK retries after a CLI reconnect acknowledge the existing card after revalidating ownership instead of creating a duplicate; socket/action bindings remain invalidated. Router restarts or ambiguous creation outcomes can still duplicate delivery. Delivery is best effort, and the card shows the previous/current counts and increase at the latest check, not a live balance. The additive `bankedResetReminder` capability requires both peers to opt in, so older Routers never render the new notice as a weekly reset. The existing `maintenance.subscriptionInspection` setting controls both quota notices. No extra status request, model prompt, automatic reset-credit consumption, or expiry notice is added.
63
63
 
64
+ Claude tool-result content blocks are normalized to text by the CLI; embedded media and unknown payloads are not scanned for local files. Local image detection and forwarding are best-effort: failures do not fail the task or terminate the CLI. Web-result excerpts remain excluded from local-file scanning.
65
+
64
66
  ## Overview
65
67
 
66
68
  The router server acts as a bridge between Feishu messaging and developer machines running the remote-cli client. It handles:
@@ -398,6 +400,12 @@ docker compose logs --tail=100 router
398
400
 
399
401
  Back up `./router-data` before upgrades and do not use `docker compose down -v` for routine updates. Restrict the Router port to the trusted network. When diagnosing routing issues, inspect `/health` and the Router logs before restarting clients.
400
402
 
403
+ ## Session Resume
404
+
405
+ CLI 1.6.164 supports confirmed Pi native session connections and read-only Pi/Codex/Claude Code discovery. Adopted Pi history reloads before every remote turn; `/session detach` preserves it and `/session release` is removed. Foreground Pi `/new` and `/clear` also preserve old history and start independent IDs; new default names use native session IDs and persisted names are not overwritten on reopen. Worker/metadata cleanup is unchanged. Resume drafts keep ordinary messages in the current conversation until confirmation succeeds. Use only one side at a time. Local Pi windows may stay open but must use native `/resume` before their next local turn; automatic local refresh and writer locking are not provided. Existing Router command/response envelopes support the text workflow without a new wire capability. See the [session resume specification](../../SESSION_RESUME_SPEC.md).
406
+
407
+ From CLI 1.6.165, Pi connection and detach confirmations exclude simultaneous settings/context mutations and reject queued work, active delegated tasks, and automatic updates. One daemon reserves a selected Pi file before startup; successful connection/detach requires pointer persistence. Failed writes keep the previous association. Uncertain process cleanup keeps the selected file reserved; confirm Pi has exited before restarting the client to clear that quarantine. Discovery respects `PI_CODING_AGENT_DIR`, and Pi local reopen commands quote file paths. These guards do not lock unmanaged terminals or other CLI instances. Claude Code and Codex catalogs remain read-only; their executor, settings, and history behavior is unchanged.
408
+
401
409
  ## Documentation
402
410
 
403
411
  For full documentation, see the [project README](https://github.com/Yu-Robotics/remote-cli#readme).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yu_robotics/remote-cli-router",
3
- "version": "1.6.160",
3
+ "version": "1.6.166",
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",