@yu_robotics/remote-cli-router 1.6.176 → 1.6.177
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 +16 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -354,11 +354,7 @@ Older CLIs keep their existing status output.
|
|
|
354
354
|
|
|
355
355
|
## Architecture
|
|
356
356
|
|
|
357
|
-
|
|
358
|
-
Mobile Phone -> Feishu -> Router Server -> WebSocket -> Local CLI -> AI Backend
|
|
359
|
-
|
|
|
360
|
-
Mobile Phone <- Feishu <- Router Server <- WebSocket <- Local CLI <- Results
|
|
361
|
-
```
|
|
357
|
+

|
|
362
358
|
|
|
363
359
|
## Nginx Reverse Proxy
|
|
364
360
|
|
|
@@ -436,6 +432,21 @@ docker compose logs --tail=100 router
|
|
|
436
432
|
|
|
437
433
|
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.
|
|
438
434
|
|
|
435
|
+
From CLI 1.6.177, `/clear` and its `/new` alias reset the entire current
|
|
436
|
+
thread's conversation context: all direct backend session bindings and every
|
|
437
|
+
managed worker conversation, across backends and parallel worker lanes. The
|
|
438
|
+
working directory, files, Git artifacts, archived native transcripts, login,
|
|
439
|
+
backend/model/effort selections, delegation preference, and sandbox grants are
|
|
440
|
+
preserved. Other threads are unaffected. A later backend switch starts fresh
|
|
441
|
+
instead of restoring a pre-clear binding. Busy tasks, queued work, and workers
|
|
442
|
+
with unconfirmed shutdowns must settle before clearing. Reset intent is saved
|
|
443
|
+
before any session binding changes. A persisted reset intent blocks old
|
|
444
|
+
conversations until clearing succeeds, including after a CLI restart. If
|
|
445
|
+
clearing fails, resolve the reported problem and retry `/clear` or `/new`.
|
|
446
|
+
Service shutdown waits for retained cleanup and reports unconfirmed native exits
|
|
447
|
+
before acknowledging completion.
|
|
448
|
+
Single-worker **Clear context** controls still reset only the selected worker.
|
|
449
|
+
|
|
439
450
|
## Session Resume
|
|
440
451
|
|
|
441
452
|
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).
|
package/package.json
CHANGED