reevesagents 1.2.0 → 1.3.1

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,66 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.3.1](https://github.com/mertkayacs/reevesagents/compare/v1.3.0...v1.3.1) (2026-06-26)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **i18n:** Turkish consistency (Effort->Çaba; action hint eylem->işlem) ([6be8bac](https://github.com/mertkayacs/reevesagents/commit/6be8baccbc2b0b5ae3a7af62c00b8f6c181bc947))
9
+ * **i18n:** word-by-word correctness audit of all 9 languages ([a9ee6a8](https://github.com/mertkayacs/reevesagents/commit/a9ee6a878c27b8ac352c89923ccc58cedbebade7))
10
+ * **tui:** size columns and borders by display width, not code units ([f008ffc](https://github.com/mertkayacs/reevesagents/commit/f008ffc82725de4d975b958ff3a350ca08b275a2))
11
+ * **tui:** use the compact Settings layout until the body fits the full view ([2bd5a95](https://github.com/mertkayacs/reevesagents/commit/2bd5a95ac97571a0a180f02f5eda6fc2396251aa))
12
+ * **web:** make agent cards readable and dialogs robust at all sizes ([2a8ed4d](https://github.com/mertkayacs/reevesagents/commit/2a8ed4d18d113c942895f9c0016d1fec4a484c47))
13
+
14
+
15
+ ### Features
16
+
17
+ * **cli:** ease fresh-agent friction in spawn ([840c25a](https://github.com/mertkayacs/reevesagents/commit/840c25a9a91e8aa8ed60fa6d0e8bf7f022e068c0))
18
+ * **i18n:** localize dynamic TUI strings (agent counts, pagination, status context) ([4fe24e3](https://github.com/mertkayacs/reevesagents/commit/4fe24e375b3a8e45237adf9f091e245a19293aa5))
19
+ * **i18n:** localize the Config editor field labels ([e24d85e](https://github.com/mertkayacs/reevesagents/commit/e24d85e590a723fcbb2526d4469c260d36e6a95d))
20
+ * **i18n:** localize the remaining TUI dialog, doctor, and run-view strings ([aa6c7cf](https://github.com/mertkayacs/reevesagents/commit/aa6c7cf711ba29890f1119940b21db05b0dec8c7))
21
+ * **i18n:** wire localization for the web Doctor/About/Config/Presets dialogs and Auth/Effort fields ([34810f2](https://github.com/mertkayacs/reevesagents/commit/34810f27b8d4b8f47cd0f168e0cc68920deeea09))
22
+
23
+ # [1.3.0](https://github.com/mertkayacs/reevesagents/compare/v0.7.0...v1.3.0) (2026-06-23)
24
+
25
+
26
+ ### Bug Fixes
27
+
28
+ * address critical-review findings across web, i18n, and docs ([0ca9718](https://github.com/mertkayacs/reevesagents/commit/0ca9718166efa7aa0849dd62fbda0c55af51664b))
29
+ * clamp the read tool line count to a positive value ([10c3a28](https://github.com/mertkayacs/reevesagents/commit/10c3a28d87b1b5886850667796f3e0a9793f16a5))
30
+ * **cli:** resolve bin symlink before entrypoint check ([33d0ee4](https://github.com/mertkayacs/reevesagents/commit/33d0ee490ac61123c1791ae72c48e3bfba86483e))
31
+ * correct run-head detection, session reuse, and head-run lifecycle ([5c904cf](https://github.com/mertkayacs/reevesagents/commit/5c904cf74446e666ddf18100b74b123f55de56d0))
32
+ * guard the read line count and blank run names ([01a6918](https://github.com/mertkayacs/reevesagents/commit/01a6918b292189a0ca97d40952504ac8adf49670))
33
+ * make attach-all idempotent for already-attached hosts ([226e1aa](https://github.com/mertkayacs/reevesagents/commit/226e1aa5f579a998d52cd7d3de4c5ab1e84955f6))
34
+ * redact approvals before returning them from the store ([d8ef7e2](https://github.com/mertkayacs/reevesagents/commit/d8ef7e2dc39c523777469517dda4cbbe615aa707))
35
+ * return an error when read targets a missing agent ([b75b798](https://github.com/mertkayacs/reevesagents/commit/b75b79855cd479eb2cdb9f11aab2ea1e07297180))
36
+ * **scripts:** correct render-mascot brand paths after the tui/ move ([b1c3854](https://github.com/mertkayacs/reevesagents/commit/b1c3854a1d579fed258209511326a230718acde1))
37
+ * tighten MCP attach detection and surface CLI errors ([1c5e2d0](https://github.com/mertkayacs/reevesagents/commit/1c5e2d0506a4b97ddb0c3a33a80a0df26592984e))
38
+
39
+
40
+ ### Features
41
+
42
+ * add Agent Control to the Web UI as a first-class feature ([f97da03](https://github.com/mertkayacs/reevesagents/commit/f97da03f88bdd1c73101bbda5e22b6b50174c7d6))
43
+ * add lean agent control MCP server ([eafd520](https://github.com/mertkayacs/reevesagents/commit/eafd5201677dfcd95a37ef89be348f4f820a7208))
44
+ * add MCP installer engine for attaching to host CLIs ([e74bd7c](https://github.com/mertkayacs/reevesagents/commit/e74bd7cd8968bbdaecf4eb4da09cb868f1a2d669))
45
+ * add reevesagents mcp subcommand ([f9e6b46](https://github.com/mertkayacs/reevesagents/commit/f9e6b46c2c00b1f16f4ff640010d4b1e6fd3cc66))
46
+ * add Russian as the tenth UI language ([c949a57](https://github.com/mertkayacs/reevesagents/commit/c949a57802507c4e3cd52a8a38eadfd8389a27dd))
47
+ * add the Agent Control TUI screen to attach the MCP to host CLIs ([3c52cb4](https://github.com/mertkayacs/reevesagents/commit/3c52cb45d99707aab0bd35d92939bcfe51284e78))
48
+ * cap agents per run on MCP spawn (max_agents) ([9ac5f43](https://github.com/mertkayacs/reevesagents/commit/9ac5f43f8f00735bd711fe7ebaa19d3fdb00df94))
49
+ * **cli:** agents, config, and preset commands + spawn auth/effort ([a14a752](https://github.com/mertkayacs/reevesagents/commit/a14a752a7a6d4a0467785910622c1bfa7b3827d5))
50
+ * **cli:** bring the CLI to parity with the TUI and Web UI ([ce549d9](https://github.com/mertkayacs/reevesagents/commit/ce549d94c5050863dae83508419b0df40c464f4f))
51
+ * **core:** config-edit + preset save/spawn domain helpers ([80e0080](https://github.com/mertkayacs/reevesagents/commit/80e0080cfe387af46aa487cfa8df0a5d1fe99169))
52
+ * **i18n:** complete all 10 languages and restructure into per-language files ([c79aa7f](https://github.com/mertkayacs/reevesagents/commit/c79aa7fbaabb211e2c9ee90ace24486acc26a9b1))
53
+ * **i18n:** German translations for the newer screens ([35bf4ae](https://github.com/mertkayacs/reevesagents/commit/35bf4aed36dd82beb3f809760144db68301c9afb))
54
+ * make the host CLI the head of an MCP session's run ([faa92b9](https://github.com/mertkayacs/reevesagents/commit/faa92b9b09c90d7dc58ae6c16f3586e779adfb5e))
55
+ * **mcp:** add an open tool and make every tool description self-explanatory ([8a5733b](https://github.com/mertkayacs/reevesagents/commit/8a5733b03ec77ac83305dbd232851dcc6409ccdf))
56
+ * **mcp:** add delete tools and spawn permission controls ([a29934d](https://github.com/mertkayacs/reevesagents/commit/a29934d003288f7755776dd176ab1e831db5a060))
57
+ * **mcp:** config, preset, host, and doctor tools ([4f50d35](https://github.com/mertkayacs/reevesagents/commit/4f50d35e68884d5bac65495c18cb90172086326b))
58
+ * **mcp:** expose provider and model catalog over the agent-control MCP ([93ea9aa](https://github.com/mertkayacs/reevesagents/commit/93ea9aa4d7034053c966555bb4baebf1cea40bb5))
59
+ * **parity:** approvals in TUI and web, plus Doctor, About, and agent prompt in web ([a7d322d](https://github.com/mertkayacs/reevesagents/commit/a7d322da58be78ca08fd44ea10f597587d9d41a6))
60
+ * **tui:** config editor + presets screen + wizard auth picker ([953aea8](https://github.com/mertkayacs/reevesagents/commit/953aea8c5056063191bd07eee7d0ee3e54e4b973))
61
+ * **tui:** set auth mode and effort when adding an agent to a live run ([b0aa43e](https://github.com/mertkayacs/reevesagents/commit/b0aa43e3bf985e08ece54eda57f788b0e00bb455))
62
+ * **web:** config + presets panels and auth/effort selectors ([96a342d](https://github.com/mertkayacs/reevesagents/commit/96a342d4d39ad8e8e9620f4194155c4441cbed84))
63
+
3
64
  Entries before `0.9.0` describe internal development milestones from the reorganized pre-release history. The first public prerelease is `0.9.0`.
4
65
 
5
66
  ## 1.2.0 - Language And Web UX Polish