@yu_robotics/remote-cli-router 1.6.117 → 1.6.121
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 +15 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Router server for [remote-cli](https://www.npmjs.com/package/@yu_robotics/remote-cli) — manages message forwarding between Feishu (Lark) and local CLI clients via WebSocket.
|
|
4
4
|
|
|
5
|
+
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).
|
|
6
|
+
|
|
5
7
|
## Overview
|
|
6
8
|
|
|
7
9
|
The router server acts as a bridge between Feishu messaging and developer machines running the remote-cli client. It handles:
|
|
@@ -12,7 +14,7 @@ The router server acts as a bridge between Feishu messaging and developer machin
|
|
|
12
14
|
- **Image message forwarding** for Feishu images to supported backends, plus Codex native image output and local image files returned by any backend
|
|
13
15
|
- **Client service management** is handled by the local CLI; the Router remains a separate long-running server process
|
|
14
16
|
- **Queued task cards** appear at execution time for capable clients, with the thread, workspace, task preview, and remaining queue count; older clients retain waiting cards
|
|
15
|
-
- **Delegated task progress** uses the existing reply and approval cards. With a supporting local CLI,
|
|
17
|
+
- **Delegated task progress** uses the existing reply and approval cards. With a supporting local CLI, Claude Code, Codex, Pi, AGY, OpenCode, Kimi Code, ZCode, and DSH can work within the selected thread; the Router does not run or select workers. From CLI 1.6.95, managed delegation accepts only a different backend. An unrestricted coordinator launches unrestricted workers; sandboxed coordinators have no eligible workers until cross-backend sandbox translation is supported. Native backend task/subagent tools are unchanged. Other backend approval options still apply. This policy is enforced on the local CLI and requires upgrading it. See [Cross-backend Delegation](../../README.md#cross-backend-delegation).
|
|
16
18
|
- **WebSocket connections** from local clients
|
|
17
19
|
- **Feishu long connection** for receiving and sending messages
|
|
18
20
|
- **Task recovery** with compatible clients: resume output on a usable surviving card or create a new one, with an independent gap notice and plain-text handling of resumed fragments; failed card creation or recovery-notice updates are not acknowledged as successful recovery
|
|
@@ -150,7 +152,18 @@ The Feishu command reference includes the cross-backend `/status`, `/context`, a
|
|
|
150
152
|
CLI 1.6.93 makes `/cd` to a different directory start fresh conversations for all backends in that thread, including inactive ones. Returning to the old directory does not restore its old conversations. Same-directory `/cd` and backend-only switches preserve context. Thread settings and native history files remain intact. The CLI enforces this behavior without a protocol change; upgrading only the Router does not change an older CLI's directory behavior.
|
|
151
153
|
|
|
152
154
|
With CLI 1.6.84 or newer, `/status` also shows `Delegation: on/off (current thread)`.
|
|
153
|
-
The CLI reads this
|
|
155
|
+
The CLI reads this effective setting without initializing delegation or starting workers.
|
|
156
|
+
|
|
157
|
+
From CLI 1.6.121, new and existing threads without a saved delegation preference
|
|
158
|
+
default to on. Explicit `/delegation off` choices remain off across upgrades,
|
|
159
|
+
context resets, backend switches, and restarts; `/delegation on` re-enables it.
|
|
160
|
+
There is no historical thread migration or automatic worker launch. Upgrade
|
|
161
|
+
and restart the local CLI, not just the Router, to obtain the new default.
|
|
162
|
+
The Router protocol is unchanged, and older CLIs retain their existing default.
|
|
163
|
+
|
|
164
|
+
From CLI 1.6.118, `/status` shows DSH's official recharge and bonus wallet balances when available. Native official-account sign-in is required; API-key-only or custom-provider setup does not supply these wallets. Amounts retain their native decimal precision and currency; balances are not token usage or plan quota. The query does not create or change an ACP conversation. Its owned process uses the same log-upload and telemetry suppression as the DSH executor, is stopped after the query, and omits the balance section on failure or timeout. No other backend or Router protocol changes are required.
|
|
165
|
+
From CLI 1.6.120, Claude SDK `[claude-code:unrecognized_model]` records with a valid `{model, query_source: "sdk"}` payload are omitted from Feishu streaming/results and Claude slash-command error details. Model names are not hard-coded. Other diagnostics, malformed or unexpected records, actual errors, exit status, and assistant reply text are retained. The persistent Claude process's raw stderr remains in local CLI logs; this presentation filter does not disable Claude Code telemetry or change the configured model, other backends, or the Router protocol.
|
|
166
|
+
|
|
154
167
|
Older CLIs keep their existing status output.
|
|
155
168
|
|
|
156
169
|
## Architecture
|
package/package.json
CHANGED