@cordfuse/llmux 0.13.3 → 0.13.5

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 +24 -18
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -5,25 +5,31 @@
5
5
  [![license](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
6
6
  [![node](https://img.shields.io/node/v/@cordfuse/llmux.svg?label=node)](./packages/llmux/package.json)
7
7
 
8
- Run every AI agent CLI under a single daemon. One named tmux session per
9
- agent. Drive any of them from a terminal (`llmux session attach`), a REST
10
- or WebSocket API, or a phone browser over Tailscale. Sessions survive
11
- daemon restarts; attach is raw-TTY (`Ctrl+]` to detach).
12
-
13
- ### Headless `claude -p`
14
-
15
- The obvious way to script Claude Code is `claude -p "prompt"` (and similar
16
- non-interactive modes in codex, gemini, etc.). That spawns a fresh
17
- short-lived child per call: no shared conversation, no in-session OAuth,
18
- no `/commands`, no persistent tool state, no MCP context. Each call
19
- starts cold.
8
+ Run every AI agent CLI under a single daemon. Each spawn is its own named
9
+ tmux session own cwd, own flags, own conversation. Run three claude
10
+ sessions across three different repos side-by-side, or one each of claude
11
+ / codex / gemini, or fifteen of each — there's no per-agent cap and no
12
+ shared state. Drive any of them from a terminal (`llmux session attach`),
13
+ a REST or WebSocket API, or a phone browser over Tailscale. Sessions
14
+ survive daemon restarts; attach is raw-TTY (`Ctrl+]` to detach).
15
+
16
+ ### `claude -p` is metered. llmux isn't.
17
+
18
+ Every major agent CLI ships a one-shot mode `claude -p "prompt"` and
19
+ the codex / gemini / qwen / amp equivalents. The catch: even when you
20
+ authed via OAuth on a flat-rate subscription (Claude Pro/Max, ChatGPT
21
+ Plus, Gemini Advanced, …), `-p`-style calls now route to the **metered
22
+ API billing bucket** — real per-token dollars on top of your monthly
23
+ subscription. Script a few hundred `-p` calls a day and the subscription
24
+ stops mattering.
20
25
 
21
26
  llmux drives the **interactive** agent process — the same TUI a human
22
- launches — over `tmux send-keys`. Spawn `claude` once, fire prompts at the
23
- same live agent forever from any client (CLI, REST, WebSocket, web).
24
- The agent runs unmodified and doesn't know it's being driven headlessly.
25
- Tool state persists across prompts. Conversations are resumable from any
26
- client.
27
+ launches — over `tmux send-keys`. Interactive use stays on the
28
+ subscription billing path: same OAuth, same flat rate, no per-token API
29
+ surcharge. Spawn `claude` once, fire prompts at the same live agent
30
+ forever from any client (CLI, REST, WebSocket, web). The agent runs
31
+ unmodified and doesn't know it's being driven headlessly. Tool state and
32
+ conversation persist across prompts; resume from any client.
27
33
 
28
34
  ### OAuth from your phone, on a headless box
29
35
 
@@ -40,7 +46,7 @@ toolbar (Esc / Tab / Ctrl / arrows / shell chars), watch tool calls
40
46
  stream in. No "mobile app" — it's the same daemon serving a real
41
47
  terminal over a WebSocket.
42
48
 
43
- > **Status:** v0.13.3 — daemon + CLI client consolidated into one binary
49
+ > **Status:** v0.13.5 — daemon + CLI client consolidated into one binary
44
50
  > (`llmux`). Auth, tokens, mobile picker, conversation resume, Claude Code
45
51
  > history adapter shipped. See [CHANGELOG.md](./CHANGELOG.md).
46
52
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cordfuse/llmux",
3
- "version": "0.13.3",
3
+ "version": "0.13.5",
4
4
  "description": "tmux-based AI agent dispatcher — REST/WS daemon + CLI client in one binary",
5
5
  "license": "MIT",
6
6
  "type": "module",