reevesagents 1.3.0 → 1.3.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.
package/AGENTS.md ADDED
@@ -0,0 +1,183 @@
1
+ # AGENTS.md
2
+
3
+ **English** · [Deutsch](AGENTS.de.md) · [Français](AGENTS.fr.md) · [Español](AGENTS.es.md) · [Português](AGENTS.pt.md) · [Italiano](AGENTS.it.md) · [Türkçe](AGENTS.tr.md) · [Русский](AGENTS.ru.md) · [简体中文](AGENTS.zh-Hans.md) · [العربية](AGENTS.ar.md)
4
+
5
+ How an AI coding agent drives ReevesAgents. This file is the operator's guide for
6
+ the tool itself. It does not change how agents behave in your own projects.
7
+
8
+ ReevesAgents runs AI coding CLIs (Claude Code, Codex, Kimi, Qwen, OpenCode, Hermes,
9
+ and others) side by side, each as a real CLI in its own tmux window. One agent can
10
+ spawn, steer, and supervise the rest. State lives in local JSON under `~/.reeves`.
11
+ No API keys, no database, no background daemon.
12
+
13
+ ## Two ways to use it
14
+
15
+ 1. **Drive the CLI directly.** Run `reevesagents spawn ...` to start agents, then
16
+ `runs`, `peek`, `send`, and `stop` to watch and steer them. Good for scripts and
17
+ one-off orchestration.
18
+ 2. **Let your host CLI drive others over MCP.** `reevesagents attach <cli>` gives that
19
+ CLI a set of agent-control tools (spawn, send_text, read, kill, ...). After you
20
+ restart the CLI, a single session can spawn a team and direct it. This is the core
21
+ feature. See [docs/mcp.md](docs/mcp.md).
22
+
23
+ ## Setup check first
24
+
25
+ ```sh
26
+ reevesagents doctor
27
+ ```
28
+
29
+ Reports tmux, Node, the `~/.reeves` state dir, and which provider CLIs are installed
30
+ and CLI-compatible (it inspects each CLI's `--help`). It cannot test whether a CLI is
31
+ signed in, so an installed but signed-out CLI still passes here. Run it before spawning
32
+ so a run does not fail on a missing CLI; `peek` (below) catches a window left sitting at
33
+ a login screen. `reevesagents doctor --json` returns the same as machine-readable JSON.
34
+
35
+ Requirements: Node 20.19+, tmux 3.0+, and at least one provider CLI installed and
36
+ authenticated. macOS, Linux, or WSL (native Windows is not a target).
37
+
38
+ ## Install
39
+
40
+ ```sh
41
+ pnpm add -g reevesagents # or: npm install -g reevesagents
42
+ ```
43
+
44
+ No-install run: `pnpm dlx reevesagents doctor`.
45
+
46
+ ## Spawn agents
47
+
48
+ Each agent is written as `provider[:nickname[:model]]`; nickname and model are
49
+ optional. The first agent leads the run; the rest join it as workers.
50
+
51
+ ```sh
52
+ # A Claude Code lead, a second Claude Code reviewer, two Codex workers, one Kimi worker.
53
+ reevesagents spawn cc:lead cc:review codex:api codex:tests kimi:docs \
54
+ --name "feature x" --skip \
55
+ --prompt "Build feature X. Lead coordinates; each worker takes a slice."
56
+ ```
57
+
58
+ Before it starts anything, `spawn` checks that every named provider CLI is on PATH and
59
+ names any that are missing, so a typo or an uninstalled CLI fails fast instead of
60
+ half-starting a run. On success it prints the run id, each agent's id, and the exact
61
+ `peek`/`send`/`open` commands to drive them.
62
+
63
+ Useful `spawn` flags: `--name <run>`, `--cwd <dir>` (defaults to the current dir),
64
+ `--prompt <text>` (pasted into every agent on startup), `--skip` (launch agents without
65
+ their own permission prompts; use it when no human is there to approve), `--run <run-id>`
66
+ (add agents to an existing run instead of starting a new one), `--json` (print the run
67
+ and agent ids as JSON instead of text).
68
+
69
+ ## Provider ids and aliases
70
+
71
+ Run `reevesagents providers` (add `--json` for a machine list). Any alias works as the
72
+ provider in a spawn spec.
73
+
74
+ | id | provider | common aliases |
75
+ | ---------- | ------------ | --------------------------- |
76
+ | `cc` | Claude Code | `claude`, `claude-code` |
77
+ | `codex` | Codex CLI | `codex-cli` |
78
+ | `kimi` | Kimi Code | `kimi-code` |
79
+ | `qwen` | Qwen Code | `qwen-code` |
80
+ | `opencode` | OpenCode CLI | `open_code` |
81
+ | `hermes` | Hermes | |
82
+ | `pi` | Pi | |
83
+ | `aider` | Aider | |
84
+ | `deepseek` | DeepSeek CLI | `deepseek-cli` |
85
+
86
+ ## Watch and steer running agents
87
+
88
+ ```sh
89
+ reevesagents runs # list live runs (add --json for scripts)
90
+ reevesagents agents <run-id> # list the agents in one run
91
+ reevesagents peek <agent-id> -n 40 # recent output from one agent
92
+ reevesagents send <agent-id> "do X" # paste text at the agent's prompt
93
+ reevesagents key <agent-id> enter # submit it (send does not submit on its own)
94
+ reevesagents interrupt <agent-id> # ctrl-c the agent
95
+ reevesagents open <run-id|agent-id> # jump to its tmux window
96
+ ```
97
+
98
+ `send` only pastes; follow it with `key <agent-id> enter` to submit. Keys accepted by
99
+ `key`: `enter`, `escape`, `backspace`, `tab`, `space`, `up`, `down`, `left`, `right`,
100
+ `ctrl-c`.
101
+
102
+ ## Stop cleanly
103
+
104
+ ```sh
105
+ reevesagents stop <run-id> --yes # end a whole run and tear down its tmux session
106
+ reevesagents kill <agent-id> --yes # end one agent
107
+ ```
108
+
109
+ `stop` and `kill` are the only destructive commands, so they refuse to run without
110
+ `--yes`.
111
+
112
+ ## A worked example: five agents, then drive them
113
+
114
+ The scenario "install reevesagents, spawn two Claude, two Codex, and one Kimi, and put
115
+ them to work" from start to finish.
116
+
117
+ ```sh
118
+ # 1. Confirm the five CLIs are installed and compatible.
119
+ reevesagents doctor
120
+
121
+ # 2. Start the team. --skip so workers do not stop for their own permission prompts.
122
+ reevesagents spawn cc:lead cc:review codex:api codex:tests kimi:docs \
123
+ --name "feature x" --skip \
124
+ --prompt "Build feature X. Lead coordinates; each worker owns one slice."
125
+
126
+ # 3. spawn prints each agent id. List them all, or read one.
127
+ reevesagents agents <run-id>
128
+ reevesagents peek <agent-id> -n 40
129
+
130
+ # 4. Steer: paste a message, then submit it.
131
+ reevesagents send <agent-id> "rebase on main, then run the tests"
132
+ reevesagents key <agent-id> enter
133
+
134
+ # 5. Add a worker to the same run later.
135
+ reevesagents spawn codex:perf --run <run-id> --skip --prompt "profile the hot path"
136
+
137
+ # 6. End the run when done.
138
+ reevesagents stop <run-id> --yes
139
+ ```
140
+
141
+ Driving it from a host CLI over MCP instead of the shell, the same scenario is one
142
+ instruction: "Use reevesagents to start a team, a Claude Code lead, a second Claude Code
143
+ reviewer, two Codex workers (api and tests), and a Kimi worker for docs. Skip permission
144
+ prompts, give them the brief, then watch and report progress." The host calls the
145
+ spawn/read/send tools itself. See [docs/mcp.md](docs/mcp.md).
146
+
147
+ ## Do and don't
148
+
149
+ Do:
150
+
151
+ - Run `doctor` before a spawn, and make sure every provider you name is installed **and
152
+ signed in**. doctor cannot test sign-in; if a window stalls, `peek` shows the login screen.
153
+ - Treat `spawn` as fire-and-forget. It returns ids, not answers. Poll with `runs`,
154
+ `agents <run-id>`, and `peek <agent-id> -n 40` to see what a team is doing.
155
+ - Submit input in two steps: `send <agent-id> "..."` pastes, `key <agent-id> enter` submits.
156
+ - Pass `--skip` when no human will sit and approve prompts, or workers stall at the first one.
157
+ - Use `--json` (on `spawn`, `runs`, `agents`, `providers`, `doctor`) when a script or an
158
+ agent needs to read ids and state instead of text.
159
+ - Name providers by id or any alias from `reevesagents providers` (`cc` or `claude`, `codex`, `kimi`, ...).
160
+
161
+ Don't:
162
+
163
+ - Don't expect `spawn` to hand back an agent's result; start the team, then read it.
164
+ - Don't `send` and assume it ran; nothing submits until you `key <agent-id> enter`.
165
+ - Don't spawn a provider that is missing or signed out; spawn refuses the first, and the
166
+ second leaves a window parked at a login prompt that never does the work.
167
+ - Don't run `stop` or `kill` without `--yes`; they are the only destructive commands.
168
+ - Don't target native Windows; run inside WSL with tmux and the CLIs installed there.
169
+ - Don't paste secrets into a `--prompt` or `send`; output is captured and shown through `peek` and the web UI.
170
+
171
+ ## Scripting notes
172
+
173
+ - `spawn`, `runs`, `agents`, `providers`, and `doctor` all accept `--json`.
174
+ - `spawn --json` prints the run id and every agent id; capture those, or read them back
175
+ from `runs --json` and `agents <run-id> --json`.
176
+ - Override the state dir with `REEVES_REGISTRY` and the config file with `REEVES_CONFIG`
177
+ to keep a scripted run isolated from `~/.reeves`.
178
+
179
+ ## More
180
+
181
+ - [README](README.md): full feature tour and every command.
182
+ - [docs/GUIDE.md](docs/GUIDE.md): step-by-step user guide.
183
+ - [docs/mcp.md](docs/mcp.md): the agent-control MCP design and tool list.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.3.2](https://github.com/mertkayacs/reevesagents/compare/v1.3.1...v1.3.2) (2026-07-02)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **providers:** show auth-mode and effort pickers only where they apply ([43fc16d](https://github.com/mertkayacs/reevesagents/commit/43fc16dae8e4544c6a40218956e3bee7cfafeb96))
9
+
10
+ ## [1.3.1](https://github.com/mertkayacs/reevesagents/compare/v1.3.0...v1.3.1) (2026-06-26)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **i18n:** Turkish consistency (Effort->Çaba; action hint eylem->işlem) ([6be8bac](https://github.com/mertkayacs/reevesagents/commit/6be8baccbc2b0b5ae3a7af62c00b8f6c181bc947))
16
+ * **i18n:** word-by-word correctness audit of all 9 languages ([a9ee6a8](https://github.com/mertkayacs/reevesagents/commit/a9ee6a878c27b8ac352c89923ccc58cedbebade7))
17
+ * **tui:** size columns and borders by display width, not code units ([f008ffc](https://github.com/mertkayacs/reevesagents/commit/f008ffc82725de4d975b958ff3a350ca08b275a2))
18
+ * **tui:** use the compact Settings layout until the body fits the full view ([2bd5a95](https://github.com/mertkayacs/reevesagents/commit/2bd5a95ac97571a0a180f02f5eda6fc2396251aa))
19
+ * **web:** make agent cards readable and dialogs robust at all sizes ([2a8ed4d](https://github.com/mertkayacs/reevesagents/commit/2a8ed4d18d113c942895f9c0016d1fec4a484c47))
20
+
21
+
22
+ ### Features
23
+
24
+ * **cli:** ease fresh-agent friction in spawn ([840c25a](https://github.com/mertkayacs/reevesagents/commit/840c25a9a91e8aa8ed60fa6d0e8bf7f022e068c0))
25
+ * **i18n:** localize dynamic TUI strings (agent counts, pagination, status context) ([4fe24e3](https://github.com/mertkayacs/reevesagents/commit/4fe24e375b3a8e45237adf9f091e245a19293aa5))
26
+ * **i18n:** localize the Config editor field labels ([e24d85e](https://github.com/mertkayacs/reevesagents/commit/e24d85e590a723fcbb2526d4469c260d36e6a95d))
27
+ * **i18n:** localize the remaining TUI dialog, doctor, and run-view strings ([aa6c7cf](https://github.com/mertkayacs/reevesagents/commit/aa6c7cf711ba29890f1119940b21db05b0dec8c7))
28
+ * **i18n:** wire localization for the web Doctor/About/Config/Presets dialogs and Auth/Effort fields ([34810f2](https://github.com/mertkayacs/reevesagents/commit/34810f27b8d4b8f47cd0f168e0cc68920deeea09))
29
+
3
30
  # [1.3.0](https://github.com/mertkayacs/reevesagents/compare/v0.7.0...v1.3.0) (2026-06-23)
4
31
 
5
32
 
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
  [![license](https://img.shields.io/npm/l/reevesagents.svg)](LICENSE)
9
9
  [![CI](https://img.shields.io/github/actions/workflow/status/mertkayacs/reevesagents/test.yml?branch=master&label=CI)](https://github.com/mertkayacs/reevesagents/actions/workflows/test.yml)
10
10
 
11
- **English** · [Deutsch](README.de.md) · [Français](README.fr.md) · [Español](README.es.md) · [Português](README.pt.md) · [Italiano](README.it.md) · [Türkçe](README.tr.md) · [Русский](README.ru.md) · [简体中文](README.zh-Hans.md) · [العربية](README.ar.md)
11
+ **English** · [Deutsch](docs/i18n/README.de.md) · [Français](docs/i18n/README.fr.md) · [Español](docs/i18n/README.es.md) · [Português](docs/i18n/README.pt.md) · [Italiano](docs/i18n/README.it.md) · [Türkçe](docs/i18n/README.tr.md) · [Русский](docs/i18n/README.ru.md) · [简体中文](docs/i18n/README.zh-Hans.md) · [العربية](docs/i18n/README.ar.md)
12
12
 
13
13
  *Create and drive AI agents from other agents. ReevesAgents is a free, local workspace where coding agents (such as Claude Code, Codex, Hermes, DeepSeek, and Kimi) run side by side, and one agent can spawn, steer, and supervise the rest. No API keys, and no changes to your existing Agent.md or Claude.md.*
14
14
 
@@ -29,6 +29,8 @@ That is the whole idea: one AI agent creates and drives the others. An agent CLI
29
29
 
30
30
  Now your agent CLI can **create and drive other agents**: start an agent on a task, send it text or keypresses, read what it is doing, and approve or deny what it requests. One Claude Code agent can run a team of Codex and Claude Code agents on separate issues. To disconnect later, run `reevesagents detach claude`.
31
31
 
32
+ Prefer to script it from the command line instead? [AGENTS.md](AGENTS.md) is the operator's guide written for agents: provider ids and aliases, the `spawn` spec, and how to watch and steer a running team.
33
+
32
34
  Prefer to set it up by hand? Turn it on from the **Agent control** screen in the TUI or Web UI; see [Agent control](#agent-control) below.
33
35
 
34
36
  The TUI and the local Web UI driving the same run:
@@ -119,6 +119,8 @@ var PROVIDER_REGISTRY = {
119
119
  helpRequirements: [
120
120
  { feature: "skip permissions", tokens: ["--dangerously-skip-permissions"] }
121
121
  ],
122
+ supportsAuthMode: true,
123
+ supportsEffort: true,
122
124
  buildArgs: ({ permissions, model, auth_mode, effort }) => {
123
125
  const args = [];
124
126
  if (permissions === "skip") args.push("--dangerously-skip-permissions");
@@ -308,6 +310,12 @@ function normalizeProvider(value) {
308
310
  if (typeof value !== "string") return null;
309
311
  return PROVIDER_ALIASES[value.trim().toLowerCase()] ?? null;
310
312
  }
313
+ function providerSupportsAuthMode(provider) {
314
+ return PROVIDER_REGISTRY[provider]?.supportsAuthMode === true;
315
+ }
316
+ function providerSupportsEffort(provider) {
317
+ return PROVIDER_REGISTRY[provider]?.supportsEffort === true;
318
+ }
311
319
  function buildCommand(opts) {
312
320
  const { provider, permissions, model, auth_mode = "default", effort = "default" } = opts;
313
321
  if (!isProvider(provider)) {
@@ -1970,6 +1978,8 @@ export {
1970
1978
  PROVIDERS,
1971
1979
  isProvider,
1972
1980
  normalizeProvider,
1981
+ providerSupportsAuthMode,
1982
+ providerSupportsEffort,
1973
1983
  buildCommand,
1974
1984
  detectAvailable,
1975
1985
  colors,
@@ -2032,4 +2042,4 @@ export {
2032
2042
  stopRun,
2033
2043
  openTmuxTarget
2034
2044
  };
2035
- //# sourceMappingURL=chunk-65LHCGPC.js.map
2045
+ //# sourceMappingURL=chunk-36SYE7IU.js.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  stateRoot
4
- } from "./chunk-65LHCGPC.js";
4
+ } from "./chunk-36SYE7IU.js";
5
5
 
6
6
  // src/core/tui-open.ts
7
7
  import { mkdirSync, readFileSync, writeFileSync } from "fs";
@@ -26,4 +26,4 @@ export {
26
26
  readTuiOpenToken,
27
27
  writeTuiOpenToken
28
28
  };
29
- //# sourceMappingURL=chunk-4W6MVOPK.js.map
29
+ //# sourceMappingURL=chunk-5Q5XP5QI.js.map
@@ -28,7 +28,7 @@ async function startTuiWebServer() {
28
28
  const { checkWebExtras, webExtrasMessage } = await import("./extras-25AF6TAR.js");
29
29
  const extras = await checkWebExtras();
30
30
  if (!extras.ok) throw new Error(webExtrasMessage(extras.missing));
31
- const { startWebServer } = await import("./server-ZJKAIRL5.js");
31
+ const { startWebServer } = await import("./server-Y4HMP3OI.js");
32
32
  return startWebServer({ open: true });
33
33
  }
34
34
  async function closeTuiWebServer() {
@@ -48,4 +48,4 @@ export {
48
48
  startWebFromTui,
49
49
  closeTuiWebServer
50
50
  };
51
- //# sourceMappingURL=chunk-5DOCQLT7.js.map
51
+ //# sourceMappingURL=chunk-GUM4JMVF.js.map