@in-the-loop-labs/pair-review 5.2.1 → 5.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@in-the-loop-labs/pair-review",
3
- "version": "5.2.1",
3
+ "version": "5.2.2",
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": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pair-review",
3
- "version": "5.2.1",
3
+ "version": "5.2.2",
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": "code-critic",
3
- "version": "5.2.1",
3
+ "version": "5.2.2",
4
4
  "description": "AI-powered code review analysis — Run three-level AI analysis directly in your coding agent. Works standalone, no server required.",
5
5
  "author": {
6
6
  "name": "in-the-loop-labs",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pair-loop",
3
- "version": "5.2.1",
3
+ "version": "5.2.2",
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",
@@ -26,26 +26,54 @@ const BIN_DIR = path.join(__dirname, '..', '..', 'bin');
26
26
  * in the constructor's base args; individual models can override this via extra_args
27
27
  * (e.g., Haiku uses adaptive thinking for efficiency).
28
28
  *
29
- * Effort support by model (newest CLIs): Fable 5, Opus 5, Opus 4.8 / 4.7, and
30
- * Sonnet 5 support low|medium|high|xhigh|max; Opus 4.6 & Sonnet 4.6 support
31
- * low|medium|high|max (no xhigh); Haiku has no effort levels.
29
+ * Effort support by model (newest CLIs): Fable 5.1, Fable 5, Opus 5,
30
+ * Opus 4.8 / 4.7, and Sonnet 5 support low|medium|high|xhigh|max; Opus 4.6 &
31
+ * Sonnet 4.6 support low|medium|high|max (no xhigh); Haiku has no effort levels.
32
32
  */
33
33
  const CLAUDE_MODELS = [
34
34
  // ── Thorough tier ───────────────────────────────────────────────────────
35
+ {
36
+ id: 'fable-5.1-xhigh',
37
+ cli_model: 'claude-fable-5-1',
38
+ env: { CLAUDE_CODE_EFFORT_LEVEL: 'xhigh' },
39
+ name: 'Fable 5.1 XHigh',
40
+ tier: 'thorough',
41
+ tagline: 'Newest Fable',
42
+ description: 'Fable 5.1 (newest, most capable tier) with extra-high effort',
43
+ badge: 'Extra-High Effort',
44
+ badgeClass: 'badge-power',
45
+ // Every Fable generation is adaptive-thinking-only: an explicit
46
+ // "enabled"/"disabled" thinking mode is rejected by the API, so override the
47
+ // global `--thinking enabled` base arg (last occurrence wins in commander).
48
+ extra_args: ['--thinking', 'adaptive']
49
+ },
50
+ {
51
+ id: 'fable-5.1-high',
52
+ cli_model: 'claude-fable-5-1',
53
+ env: { CLAUDE_CODE_EFFORT_LEVEL: 'high' },
54
+ name: 'Fable 5.1 High',
55
+ tier: 'thorough',
56
+ tagline: 'Newest Fable',
57
+ description: 'Fable 5.1 with high effort — quicker than XHigh',
58
+ badge: 'High Effort',
59
+ badgeClass: 'badge-power',
60
+ extra_args: ['--thinking', 'adaptive']
61
+ },
35
62
  {
36
63
  id: 'fable-5-xhigh',
64
+ // The bare 'fable' alias intentionally stays pinned to Fable 5 (the same way
65
+ // 'opus' stays on opus-4.8-xhigh) so existing configs and --model fable
66
+ // invocations keep resolving to the generation they were written against.
37
67
  aliases: ['fable'],
38
68
  cli_model: 'claude-fable-5',
39
69
  env: { CLAUDE_CODE_EFFORT_LEVEL: 'xhigh' },
40
70
  name: 'Fable 5 XHigh',
41
71
  tier: 'thorough',
42
- tagline: 'New Model Tier',
43
- description: 'Fable 5 (new tier above Opus) with extra-high effort',
72
+ tagline: 'Previous Fable',
73
+ description: 'Fable 5 (previous Fable) with extra-high effort',
44
74
  badge: 'Extra-High Effort',
45
75
  badgeClass: 'badge-power',
46
- // Fable 5 is adaptive-thinking-only: an explicit "enabled"/"disabled"
47
- // thinking mode is rejected by the API, so override the global
48
- // `--thinking enabled` base arg (last occurrence wins in commander).
76
+ // Adaptive-thinking-only, as with Fable 5.1 above.
49
77
  extra_args: ['--thinking', 'adaptive']
50
78
  },
51
79
  {
@@ -54,7 +82,7 @@ const CLAUDE_MODELS = [
54
82
  env: { CLAUDE_CODE_EFFORT_LEVEL: 'high' },
55
83
  name: 'Fable 5 High',
56
84
  tier: 'thorough',
57
- tagline: 'New Model Tier',
85
+ tagline: 'Previous Fable',
58
86
  description: 'Fable 5 with high effort — quicker than XHigh',
59
87
  badge: 'High Effort',
60
88
  badgeClass: 'badge-power',
package/src/main.js CHANGED
@@ -229,7 +229,8 @@ OPTIONS:
229
229
  The web UI also starts for the human reviewer.
230
230
  --model <name> Override the AI model. Claude Code is the default provider.
231
231
  Available models: opus, sonnet, haiku (Claude Code);
232
- also: fable-5-xhigh, fable-5-high, opus-5-xhigh,
232
+ also: fable-5.1-xhigh, fable-5.1-high,
233
+ fable-5-xhigh, fable-5-high, opus-5-xhigh,
233
234
  opus-5-high, opus-4.8-xhigh, opus-4.8-high,
234
235
  opus-4.7-xhigh, opus-4.7-high, opus-4.6-high,
235
236
  opus-4.6-1m, sonnet-5-xhigh, sonnet-5-high,