@lcv-ideas-software/cross-review 4.2.1 → 4.2.3

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.
@@ -36,28 +36,29 @@ unavailable, the round retries on the same model or skips that peer
36
36
  hatch is an explicit operator override via `CROSS_REVIEW_<PROVIDER>_MODEL`
37
37
  env-var per host — a deliberate decision, never a silent downgrade.
38
38
 
39
- | Peer | Pin | Override env-var |
40
- | ---------------- | --------------------- | ------------------------------- |
41
- | OpenAI/Codex | `gpt-5.5` | `CROSS_REVIEW_OPENAI_MODEL` |
42
- | Anthropic/Claude | `claude-opus-4-7` | `CROSS_REVIEW_ANTHROPIC_MODEL` |
43
- | Google/Gemini | `gemini-2.5-pro` | `CROSS_REVIEW_GEMINI_MODEL` |
44
- | DeepSeek | `deepseek-v4-pro` | `CROSS_REVIEW_DEEPSEEK_MODEL` |
45
- | xAI/Grok | `grok-4-latest` | `CROSS_REVIEW_GROK_MODEL` |
46
- | Perplexity | `sonar-reasoning-pro` | `CROSS_REVIEW_PERPLEXITY_MODEL` |
39
+ | Peer | Pin | Override env-var |
40
+ | ---------------- | ------------------------ | ------------------------------- |
41
+ | OpenAI/Codex | `gpt-5.5` | `CROSS_REVIEW_OPENAI_MODEL` |
42
+ | Anthropic/Claude | `claude-opus-4-8` | `CROSS_REVIEW_ANTHROPIC_MODEL` |
43
+ | Google/Gemini | `gemini-3.1-pro-preview` | `CROSS_REVIEW_GEMINI_MODEL` |
44
+ | DeepSeek | `deepseek-v4-pro` | `CROSS_REVIEW_DEEPSEEK_MODEL` |
45
+ | xAI/Grok | `grok-4.3` | `CROSS_REVIEW_GROK_MODEL` |
46
+ | Perplexity | `sonar-reasoning-pro` | `CROSS_REVIEW_PERPLEXITY_MODEL` |
47
47
 
48
48
  Haiku and other low-capacity Anthropic models are intentionally excluded —
49
49
  the cross-review role requires advanced reasoning depth.
50
50
 
51
- Operator preference 2026-05-07: `gemini-2.5-pro` is the runtime default
52
- because under Google One AI Ultra subscription it carries 1k requests/day vs
53
- `gemini-3.1-pro-preview`'s 250 requests/day. Workspace policy: only
54
- `gemini-*-pro` variants 2.5 are permitted — no `*-flash` variants and no
55
- models below 2.5.
51
+ Google's deprecation schedule lists `gemini-2.5-pro` for shutdown on
52
+ 2026-10-16 and recommends `gemini-3.1-pro-preview` as the replacement.
53
+ Workspace policy remains: only `gemini-*-pro` variants >= 2.5 are permitted
54
+ for this peer; no `*-flash` variants and no models below 2.5. Operators can
55
+ still override the pin explicitly, but the default/canonical path follows the
56
+ documented replacement.
56
57
 
57
- `GROK_API_KEY` is the canonical auth variable for xAI. The pinned
58
- `grok-4-latest` model uses automatic reasoning in this runtime, so the
59
- adapter omits the explicit `reasoning.effort` field automatically unless a
60
- future operator-approved pin explicitly supports that parameter.
58
+ `GROK_API_KEY` is the canonical auth variable for xAI. The pinned `grok-4.3`
59
+ model accepts explicit `reasoning.effort` values through `high`; the adapter
60
+ clamps the shared effort scale so unsupported `xhigh`/`max` requests do not
61
+ reach the wire.
61
62
 
62
63
  `PERPLEXITY_API_KEY` is the canonical auth variable for Perplexity Sonar.
63
64
  Sonar billing has a 3rd dimension: per-1000-requests fee that scales with
@@ -70,11 +71,17 @@ to skip search for the synthesis step.
70
71
  Cross-review is optimized for correctness over latency and cost. Provider adapters explicitly request thinking/reasoning where the official APIs support it:
71
72
 
72
73
  - OpenAI/Codex: Responses API with reasoning effort `xhigh` by default.
73
- - Anthropic/Claude: adaptive thinking with omitted thinking display plus `output_config.effort=xhigh` by default on Opus 4.7.
74
- - Google/Gemini: automatic thinking budget for the pinned Gemini 2.5 Pro model; Gemini 3.x thinking-level notes are historical and apply only to an explicit operator-approved override.
74
+ - Anthropic/Claude: adaptive thinking with omitted thinking display plus `output_config.effort=xhigh` by default on Opus 4.8.
75
+ - Google/Gemini: high thinking level for the pinned Gemini 3.1 Pro Preview
76
+ model; the adapter keeps the Gemini 3 thinking path explicit because this
77
+ peer is used for complex reasoning and coding review.
75
78
  - DeepSeek: `thinking.type=enabled` with `reasoning_effort=max` by default.
76
- - Grok: the pinned `grok-4-latest` model uses xAI automatic reasoning without
77
- the explicit `reasoning.effort` field.
79
+ - Grok: the pinned `grok-4.3` model accepts explicit `reasoning.effort`;
80
+ unsupported shared-scale values are clamped to the nearest supported value.
81
+ - Perplexity: the pinned `sonar-reasoning-pro` model accepts an explicit
82
+ `reasoning_effort` enum (`minimal`/`low`/`medium`/`high`, `high` by default);
83
+ `clampEffortForPerplexity` narrows the shared effort scale into that range
84
+ (`none`/`minimal` → `minimal`; `xhigh`/`max` → `high`).
78
85
 
79
86
  ## Historical Documentation Refresh — 2026-05-05
80
87
 
@@ -85,18 +92,19 @@ above and enforced by `src/peers/model-selection.ts`.
85
92
  - OpenAI: GPT-5.5 is the current recommended frontier model for complex
86
93
  reasoning/coding, with Responses API reasoning effort values through `xhigh`
87
94
  and 1M context / 128K output.
88
- - Anthropic: Claude Opus 4.7 is the generally available complex-reasoning and
89
- agentic-coding default; current docs expose 1M context and adaptive thinking.
90
- - Google Gemini: Gemini 3.1 Pro Preview was the advanced Gemini 3.1 option at
91
- the time; Gemini 3 Pro Preview was deprecated/shut down and must stay out of
92
- current pins and downgrade chains.
95
+ - Anthropic: Claude Opus 4.8 supersedes Opus 4.7 as the current
96
+ complex-reasoning and agentic-coding default; current docs retain the same
97
+ regular price tier as 4.7.
98
+ - Google Gemini: Gemini 3.1 Pro Preview is the documented replacement for
99
+ Gemini 2.5 Pro. Gemini 3 Pro Preview was deprecated/shut down and must stay
100
+ out of current pins and downgrade chains.
93
101
  - DeepSeek: DeepSeek-V4 exposes `deepseek-v4-pro` and `deepseek-v4-flash`;
94
102
  legacy `deepseek-chat` and `deepseek-reasoner` were scheduled for
95
103
  discontinuation on 2026-07-24 and must stay out of current pins and
96
104
  downgrade chains.
97
- - xAI Grok: historical Grok notes covered explicit-effort models that predate
98
- the current `grok-4-latest` pin. Current runtime behavior is defined above:
99
- omit explicit `reasoning.effort` for `grok-4-latest`.
105
+ - xAI Grok: historical Grok notes covered aliases and explicit-effort models
106
+ that predate the current concrete `grok-4.3` pin. Current runtime behavior
107
+ is defined above: send clamped explicit `reasoning.effort` for `grok-4.3`.
100
108
 
101
109
  ## Important
102
110
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lcv-ideas-software/cross-review",
3
- "version": "4.2.1",
3
+ "version": "4.2.3",
4
4
  "description": "API-first MCP server for multi-model cross-review with unanimous convergence gates.",
5
5
  "type": "module",
6
6
  "main": "dist/src/mcp/server.js",
@@ -24,11 +24,12 @@
24
24
  "dev": "tsx src/mcp/server.ts",
25
25
  "dashboard": "tsx src/dashboard/server.ts",
26
26
  "smoke": "tsx scripts/smoke.ts",
27
+ "provider-refresh-smoke": "tsx scripts/provider-refresh-smoke.ts",
27
28
  "runtime-smoke": "npm --registry=https://registry.npmjs.org run build && tsx scripts/runtime-smoke.ts",
28
29
  "runtime-default-smoke": "tsx scripts/runtime-default-smoke.ts",
29
30
  "api-streaming-smoke": "tsx scripts/api-streaming-smoke.ts",
30
31
  "release:verify-registry": "node scripts/verify-registry-dist.mjs",
31
- "test": "npm --registry=https://registry.npmjs.org run build && npm --registry=https://registry.npmjs.org run smoke && npm --registry=https://registry.npmjs.org run runtime-smoke",
32
+ "test": "npm --registry=https://registry.npmjs.org run build && npm --registry=https://registry.npmjs.org run provider-refresh-smoke && npm --registry=https://registry.npmjs.org run smoke && npm --registry=https://registry.npmjs.org run runtime-smoke",
32
33
  "lint": "eslint . --max-warnings=0",
33
34
  "format": "prettier --write .",
34
35
  "format:check": "prettier --check .",
@@ -40,7 +41,7 @@
40
41
  "check": "npm --registry=https://registry.npmjs.org run format:check && npm --registry=https://registry.npmjs.org run lint && npm --registry=https://registry.npmjs.org run biome && npm --registry=https://registry.npmjs.org run typecheck"
41
42
  },
42
43
  "dependencies": {
43
- "@anthropic-ai/sdk": "^0.97.1",
44
+ "@anthropic-ai/sdk": "^0.100.1",
44
45
  "@google/genai": "^2.5.0",
45
46
  "@modelcontextprotocol/sdk": "^1.29.0",
46
47
  "openai": "^6.38.0",
@@ -58,6 +59,7 @@
58
59
  "@types/node": "^25.9.1",
59
60
  "@types/proper-lockfile": "^4.1.4",
60
61
  "eslint": "^10.4.0",
62
+ "eslint-config-prettier": "^10.1.8",
61
63
  "prettier": "^3.8.3",
62
64
  "tsx": "^4.22.3",
63
65
  "typescript": "^6.0.3",
@@ -90,6 +92,7 @@
90
92
  "deepseek",
91
93
  "grok",
92
94
  "xai",
95
+ "perplexity",
93
96
  "api"
94
97
  ]
95
98
  }