pitroom 0.13.0 → 0.14.0
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/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/CHANGELOG.md +10 -0
- package/README.md +21 -1
- package/dist/pitroom.mjs +3208 -2854
- package/gemini-extension.json +1 -1
- package/package.json +7 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pitroom",
|
|
3
3
|
"description": "A free pit crew for your expensive coding agent: the superpowers development workflow, run by cheap workers. Delegate research, fixes, tests, reviews and whole plans from Claude Code, Codex or any agent to OpenCode, Codex or Claude Code workers, with receipts that prove the savings.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.14.0",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "TahaAtas"
|
|
7
7
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pitroom",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "A free pit crew for your expensive coding agent: delegate research, fixes, tests, reviews and parallel investigations to cheap worker agents running your own models, with verified answers, exact diffs and cost receipts.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "TahaAtas"
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.14.0
|
|
4
|
+
|
|
5
|
+
### MCP server
|
|
6
|
+
- `pitroom mcp` serves Pitroom as a [Model Context Protocol](https://modelcontextprotocol.io) server on stdio, so any agent that speaks MCP (Cursor, Claude Desktop, Claude Code, Codex, Gemini CLI, …) can use it as tools instead of shell commands and skills: `pitroom_run` (read, isolate or write), `pitroom_wait`, `pitroom_status`, `pitroom_show`, `pitroom_review`, `pitroom_audit`, `pitroom_apply`, `pitroom_discard` and `pitroom_stop`, each with a JSON schema and hints (`apply` is marked destructive). Set it up with `claude mcp add pitroom -- pitroom mcp`, `codex mcp add pitroom -- pitroom mcp`, `gemini mcp add pitroom pitroom mcp`, or an `mcpServers` entry for Cursor and Claude Desktop (see the README).
|
|
7
|
+
- Each tool runs the matching `pitroom` command, so every rule of the CLI applies unchanged (permission profiles, git guard, isolation, read snapshots, cooldowns, audits) and the tools cannot drift from the CLI. A run is waited for up to `waitSeconds` (default 50, at most 540), then comes back as "still running" with its id for `pitroom_wait`. No new dependency: a small JSON-RPC implementation (protocol versions 2025-06-18, 2025-03-26 and 2024-11-05, batches, the standard error codes); only JSON reaches stdout.
|
|
8
|
+
- Tested against the protocol with a real server process, and with a real client: Gemini CLI connected, called `pitroom_run` for a question, got the worker's answer with its references verified and collected an audit. Limits: stdio only, no MCP resources, prompts or progress notifications yet (the agent polls with `pitroom_wait`).
|
|
9
|
+
|
|
10
|
+
### Fixes
|
|
11
|
+
- `pitroom stop` on a run whose process is still starting: the process has no signal handler yet and died on the signal, and the run showed "failed: worker process exited unexpectedly". `stop` now says first that a stop was asked for, and such a run is "stopped". This was the cause of a flaky test (`stop -g …`).
|
|
12
|
+
|
|
3
13
|
## 0.13.0
|
|
4
14
|
|
|
5
15
|
### Read snapshots
|
package/README.md
CHANGED
|
@@ -267,7 +267,25 @@ gemini extensions install https://github.com/ATASTECH/pitroom
|
|
|
267
267
|
npm i -g pitroom
|
|
268
268
|
```
|
|
269
269
|
|
|
270
|
-
**Any
|
|
270
|
+
**Any agent that speaks MCP (Cursor, Claude Desktop, and the three above too)**
|
|
271
|
+
|
|
272
|
+
Pitroom is also an [MCP](https://modelcontextprotocol.io) server on stdio: nine tools (`pitroom_run`, `pitroom_wait`, `pitroom_status`, `pitroom_show`, `pitroom_review`, `pitroom_audit`, `pitroom_apply`, `pitroom_discard`, `pitroom_stop`) instead of shell commands and skills. After `npm i -g pitroom`:
|
|
273
|
+
|
|
274
|
+
```bash
|
|
275
|
+
claude mcp add pitroom -- pitroom mcp
|
|
276
|
+
codex mcp add pitroom -- pitroom mcp
|
|
277
|
+
gemini mcp add pitroom pitroom mcp
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
or, for Cursor (`~/.cursor/mcp.json`), Claude Desktop (`claude_desktop_config.json`) and others:
|
|
281
|
+
|
|
282
|
+
```json
|
|
283
|
+
{ "mcpServers": { "pitroom": { "command": "pitroom", "args": ["mcp"] } } }
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
Each tool runs the matching `pitroom` command, so every rule of the CLI applies unchanged (permission profiles, git guard, isolation, read snapshots). A run is waited for up to `waitSeconds` (default 50), then comes back as "still running" with its id for `pitroom_wait`; keep it below your client's tool timeout. The server works in the directory the client starts it in.
|
|
287
|
+
|
|
288
|
+
**Any other agent (a plain shell) or just the CLI**
|
|
271
289
|
|
|
272
290
|
```bash
|
|
273
291
|
npm i -g pitroom
|
|
@@ -278,6 +296,7 @@ pitroom install
|
|
|
278
296
|
|---|---|
|
|
279
297
|
| Claude Code plugin | The 14 skills, the session-start hook that introduces Pitroom, and a card after each `pitroom` command. |
|
|
280
298
|
| Gemini CLI extension | The 14 skills and a short context file that introduces Pitroom (Gemini asks you to confirm the extension). Gemini CLI also works as a *worker*, which is separate: see [Workers](#workers). |
|
|
299
|
+
| MCP server | The nine tools above, for any agent that can use MCP servers. No skills: the tools describe themselves, and the server tells the agent how to start. |
|
|
281
300
|
| Codex plugin | The 14 skills, a session-start hook that introduces Pitroom (so it is known even when Codex drops skill descriptions because many are installed), and a card after each `pitroom` command. Codex asks you to trust the plugin's hooks once. The hooks call `pitroom`, which comes from npm (`npm i -g pitroom`). |
|
|
282
301
|
| npm + `pitroom install` | The CLI, and the skills linked into `~/.agents/skills` and `~/.claude/skills`. |
|
|
283
302
|
|
|
@@ -459,6 +478,7 @@ pitroom crew [-i] [-g NAME] "task 1" "task 2" … (or --task-file with --- sep
|
|
|
459
478
|
pitroom run -i --plan PLAN --step N [--tier T] ["notes"]
|
|
460
479
|
pitroom review [run | --range A..B [--plan PLAN]] [--tier T | -W T] [--bg]
|
|
461
480
|
pitroom audit RUN [-W worker]
|
|
481
|
+
pitroom mcp # serve Pitroom as MCP tools on stdio
|
|
462
482
|
pitroom cooldown [--clear]
|
|
463
483
|
pitroom plan status PLAN [--json] · pitroom plan note PLAN "Task N: …"
|
|
464
484
|
pitroom status|wait|watch [run… | -g NAME] wait: --any --brief --timeout · watch: --json|--brief --interval
|