cli-relay 1.0.1 → 1.0.2

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 +16 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,6 +6,22 @@ Resume-by-reference delegation across codex, agy, claude-code (command-code: fre
6
6
  Built 2026-08-16/17, inspired by DeepSeek Harness's subagent architecture but deliberately
7
7
  smaller — see design history below before re-deriving any of this from scratch.
8
8
 
9
+ ## Built for your agent to drive, not just for you to type
10
+
11
+ cli-relay is designed to be called *by your own coding agent* as a tool, not only typed by
12
+ hand. Every `fresh`/`resume` call returns one structured JSON object on stdout — a native
13
+ session id, the model's answer, exit code, timing/signal info — specifically so an agent can
14
+ parse the result and decide what to do next without guessing at free-form text. Exit codes are
15
+ deliberate and stable (0 success, 1 general error, 2 usage error, 3 "ran but produced no usable
16
+ answer" — see Exit codes below) so an agent's own control flow can branch on them directly.
17
+
18
+ In practice that means: point your daily-driver agent (Claude Code, Codex, whatever you're
19
+ already using) at this README and ask it to use `cli-relay` to delegate a task to a different
20
+ backend, or to resume a thread from three days ago — it has everything it needs in this file
21
+ and in `cli-relay doctor`'s output to do that itself, without you hand-holding it through the
22
+ CLI's own flags. Nothing about this requires an agent, though — every command works exactly the
23
+ same typed directly into a terminal by hand.
24
+
9
25
  ## Installation
10
26
 
11
27
  Requires Node.js 18.17 or newer.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cli-relay",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Persistent CLI router for resuming named sessions across AI coding-agent backends.",
5
5
  "type": "module",
6
6
  "bin": {