@in-the-loop-labs/pair-review 5.0.3 → 5.1.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/README.md +24 -3
- package/package.json +4 -3
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin-code-critic/.claude-plugin/plugin.json +1 -1
- package/plugin-pair-loop/.claude-plugin/plugin.json +1 -1
- package/public/js/vendor/pierre-diffs-worker.js +3446 -5992
- package/public/js/vendor/pierre-diffs.js +731 -1047
- package/src/ai/abort-signal-wiring.js +91 -46
- package/src/ai/antigravity-provider.js +31 -5
- package/src/ai/claude-cli.js +8 -2
- package/src/ai/claude-provider.js +34 -5
- package/src/ai/codex-provider.js +31 -5
- package/src/ai/copilot-provider.js +28 -4
- package/src/ai/cursor-agent-provider.js +32 -5
- package/src/ai/executable-provider.js +8 -2
- package/src/ai/index.js +1 -0
- package/src/ai/muse-provider.js +1224 -0
- package/src/ai/opencode-provider.js +31 -5
- package/src/ai/pi-provider.js +29 -4
- package/src/ai/provider.js +111 -28
- package/src/ai/stream-parser.js +71 -0
- package/src/config.js +35 -2
- package/src/database.js +96 -16
- package/src/git/fetch-helpers.js +48 -0
- package/src/git/pack-cleanup.js +120 -0
- package/src/git/worktree.js +65 -43
- package/src/main.js +176 -27
- package/src/routes/pr.js +2 -3
package/README.md
CHANGED
|
@@ -67,7 +67,7 @@ pair-review is a local web application for keeping humans in the loop with AI co
|
|
|
67
67
|
- **Local-First**: All data and processing happens on your machine - no cloud dependencies
|
|
68
68
|
- **GitHub-Familiar UI**: Interface feels instantly familiar to GitHub users
|
|
69
69
|
- **Human-in-the-Loop**: AI suggests, you decide
|
|
70
|
-
- **Multiple AI Providers**: Support for Claude, Antigravity, Codex, Copilot, OpenCode, Cursor, and
|
|
70
|
+
- **Multiple AI Providers**: Support for Claude, Antigravity, Codex, Copilot, OpenCode, Cursor, Pi, and Muse. Use your existing subscription!
|
|
71
71
|
- **Progressive**: Start simple with manual review, add AI analysis when you need it
|
|
72
72
|
|
|
73
73
|
## Workflows
|
|
@@ -578,6 +578,7 @@ pair-review supports several environment variables for customizing behavior:
|
|
|
578
578
|
| `PAIR_REVIEW_OPENCODE_CMD` | Custom command to invoke OpenCode CLI | `opencode` |
|
|
579
579
|
| `PAIR_REVIEW_CURSOR_AGENT_CMD` | Custom command to invoke Cursor Agent CLI | `agent` |
|
|
580
580
|
| `PAIR_REVIEW_PI_CMD` | Custom command to invoke Pi CLI | `pi` |
|
|
581
|
+
| `PAIR_REVIEW_MUSE_CMD` | Custom command to invoke Muse Code CLI | `muse` |
|
|
581
582
|
|
|
582
583
|
**Note:** `GITHUB_TOKEN` is the standard environment variable used by many GitHub tools (gh CLI, GitHub Actions, etc.). When set, it takes precedence over the `github_token` field in the config file.
|
|
583
584
|
|
|
@@ -635,12 +636,32 @@ pair-review integrates with AI providers via their CLI tools:
|
|
|
635
636
|
- **OpenCode**: Uses OpenCode CLI (requires model configuration)
|
|
636
637
|
- **Cursor**: Uses Cursor Agent CLI (streaming output with sandbox mode)
|
|
637
638
|
- **Pi**: Uses Pi coding agent CLI (requires model configuration)
|
|
639
|
+
- **Muse**: Uses Meta's Muse Code CLI (`muse`), a terminal coding agent released in beta in August 2026 and powered by the Muse Spark 1.2 model. Install it with the single shell command from Meta's Muse Code install instructions (macOS/Linux), then authenticate once with `muse login` (credentials are stored in `~/.config/muse/auth.json`). pair-review drives it headlessly via `muse exec --json`. Within pair-review, Muse is analysis-only: the CLI exposes no ACP server mode, so there is no Muse chat provider.
|
|
638
640
|
|
|
639
641
|
You can select your preferred provider and model in the repository settings UI.
|
|
640
642
|
|
|
641
643
|
#### Built-in vs. Configurable Providers
|
|
642
644
|
|
|
643
|
-
Most providers (Claude, Antigravity, Codex, Copilot) come with built-in model definitions. **OpenCode and Pi are different** - they have no built-in models and require you to configure which models to use.
|
|
645
|
+
Most providers (Claude, Antigravity, Codex, Copilot, Muse) come with built-in model definitions. **OpenCode and Pi are different** - they have no built-in models and require you to configure which models to use.
|
|
646
|
+
|
|
647
|
+
##### Muse models and the contributor tradeoff
|
|
648
|
+
|
|
649
|
+
Muse exposes its built-in models as reasoning-effort variants over two underlying CLI models:
|
|
650
|
+
|
|
651
|
+
| Model ID | Tier | Underlying CLI model |
|
|
652
|
+
|----------|------|----------------------|
|
|
653
|
+
| `muse-spark-1.2-ultra` | thorough | `muse-spark-1.2` |
|
|
654
|
+
| `muse-spark-1.2-contributor-ultra` | thorough | `muse-spark-1.2-contributor` |
|
|
655
|
+
| `muse-spark-1.2-xhigh` | thorough | `muse-spark-1.2` |
|
|
656
|
+
| `muse-spark-1.2-contributor-xhigh` | thorough | `muse-spark-1.2-contributor` |
|
|
657
|
+
| `muse-spark-1.2-high` | balanced (**default**) | `muse-spark-1.2` |
|
|
658
|
+
| `muse-spark-1.2-contributor-high` | balanced | `muse-spark-1.2-contributor` |
|
|
659
|
+
| `muse-spark-1.2-low` | fast | `muse-spark-1.2` |
|
|
660
|
+
| `muse-spark-1.2-contributor-low` | fast | `muse-spark-1.2-contributor` |
|
|
661
|
+
|
|
662
|
+
`muse-spark-1.2` and `muse-spark` are convenience aliases for `muse-spark-1.2-high`. `muse-spark-1.2-contributor` is likewise an alias for `muse-spark-1.2-contributor-high` — worth knowing because it is the bare CLI model name, so `--model muse-spark-1.2-contributor` selects the data-sharing tier described below rather than erroring out.
|
|
663
|
+
|
|
664
|
+
The `-contributor` models are substantially cheaper ($0.10/M input, $0.20/M output versus $1.25/M and $4.25/M) **because Meta may use their content for product improvement**. Since a code review sends your diff and surrounding source to the model, pair-review deliberately defaults to the non-contributor `muse-spark-1.2-high` — opting into data sharing is always an explicit choice you make by selecting a `-contributor` model, whether by its full ID or by that alias.
|
|
644
665
|
|
|
645
666
|
#### Configuring Custom Models
|
|
646
667
|
|
|
@@ -822,7 +843,7 @@ Configure your preferred models in `providers.pi.models` — see [AI Provider Co
|
|
|
822
843
|
}
|
|
823
844
|
```
|
|
824
845
|
|
|
825
|
-
Available chat provider IDs: `pi`, `claude`, `codex`, `copilot-acp`, `opencode-acp`, `cursor-acp`. Each supports `command`, `args` (replaces defaults), `extra_args` (appends), and `env` overrides. Codex chat also supports `sandbox`: use `workspace-write` by default, or `read-only` for discussion-only sessions. (Antigravity
|
|
846
|
+
Available chat provider IDs: `pi`, `claude`, `codex`, `copilot-acp`, `opencode-acp`, `cursor-acp`. Each supports `command`, `args` (replaces defaults), `extra_args` (appends), and `env` overrides. Codex chat also supports `sandbox`: use `workspace-write` by default, or `read-only` for discussion-only sessions. (Antigravity and Muse are analysis-only providers — neither CLI has an ACP mode, so there are no Antigravity or Muse chat providers.)
|
|
826
847
|
|
|
827
848
|
**Keyboard shortcut:** Press `p` then `c` to toggle the chat panel.
|
|
828
849
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@in-the-loop-labs/pair-review",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "Your AI-powered code review partner - Close the feedback loop with AI coding agents",
|
|
5
5
|
"main": "src/server.js",
|
|
6
6
|
"bin": {
|
|
@@ -51,7 +51,8 @@
|
|
|
51
51
|
"cursor",
|
|
52
52
|
"copilot",
|
|
53
53
|
"codex",
|
|
54
|
-
"antigravity"
|
|
54
|
+
"antigravity",
|
|
55
|
+
"muse"
|
|
55
56
|
],
|
|
56
57
|
"author": "Tim Perkins",
|
|
57
58
|
"license": "Apache-2.0",
|
|
@@ -67,7 +68,7 @@
|
|
|
67
68
|
"@agentclientprotocol/sdk": "^0.14.1",
|
|
68
69
|
"@modelcontextprotocol/sdk": "^1.25.3",
|
|
69
70
|
"@octokit/rest": "^19.0.11",
|
|
70
|
-
"@pierre/diffs": "^1.
|
|
71
|
+
"@pierre/diffs": "^1.2.12",
|
|
71
72
|
"better-sqlite3": "^12.11.1",
|
|
72
73
|
"express": "^4.18.2",
|
|
73
74
|
"glob": "^13.0.6",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pair-review",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "pair-review app integration — Open PRs and local changes in the pair-review web UI, run server-side AI analysis, and address review feedback. Requires the pair-review MCP server.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "in-the-loop-labs",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pair-loop",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "Agent-orchestrated review loop — implement, review with pair-review multi-model councils via the headless CLI, triage, fix, and repeat until a final review returns no blockers. MCP-independent.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "in-the-loop-labs",
|