crosscheck-mcp 0.2.32 → 0.2.34

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.
@@ -507,6 +507,7 @@ function rejectsDisabledThinking(model) {
507
507
  }
508
508
  var NO_FORCED_TOOL_PREFIXES = [
509
509
  "claude-fable-5-1",
510
+ "claude-fable-5-2",
510
511
  "claude-mythos-5-1",
511
512
  "claude-opus-5-5",
512
513
  "claude-sonnet-5-5"
@@ -1167,7 +1168,7 @@ async function sendOpenAICompatible(args) {
1167
1168
  // src/providers/registry.ts
1168
1169
  var DEFAULT_MODELS = {
1169
1170
  anthropic: "claude-opus-5-5",
1170
- openai: "gpt-6-sol",
1171
+ openai: "gpt-6.1-sol",
1171
1172
  xai: "grok-4-latest",
1172
1173
  mistral: "mistral-large-latest",
1173
1174
  groq: "llama-3.3-70b-versatile",
@@ -1177,11 +1178,11 @@ var DEFAULT_MODELS = {
1177
1178
  qwen: "qwen3.8-max"
1178
1179
  };
1179
1180
  var DEFAULT_FALLBACKS = {
1180
- // gpt-5.6 requires a billing-enabled account and is excluded from the free
1181
- // tier, so gpt-5 remains the broadly-available floor. One hop, not a
1182
- // ladder — an intermediate 5.5 step would just be another model to reason
1183
- // about.
1184
- openai: ["gpt-5"],
1181
+ // 6.1 Sol (default since 2026-11-03) may not be granted on every account
1182
+ // yet, so the previous default comes first: anyone who could reach Sol
1183
+ // yesterday still gets it. gpt-5 remains the broadly-available floor for
1184
+ // free-tier accounts, which can reach neither.
1185
+ openai: ["gpt-6-sol", "gpt-5"],
1185
1186
  // 3.8 Flash is recent enough that some projects won't have it yet.
1186
1187
  gemini: ["gemini-3.1-pro-preview"],
1187
1188
  // Opus 5.5 is new enough that an account could still be waiting on it.
@@ -1386,9 +1387,9 @@ function buildSuggestedUpgrade(toolName, assessment) {
1386
1387
 
1387
1388
  // src/core/super-mode.ts
1388
1389
  var SUPER_MODELS = {
1389
- // Fable 5.1 verified present on the account; 5 as the fallback for accounts
1390
- // that haven't been granted 5.1 yet.
1391
- anthropic: ["claude-fable-5-1", UPGRADE_MODEL],
1390
+ // Fable 5.2 verified present on the account 2026-11-10; 5.1 then 5 as the
1391
+ // fallbacks for accounts that haven't been granted the newer ones yet.
1392
+ anthropic: ["claude-fable-5-2", "claude-fable-5-1", UPGRADE_MODEL],
1392
1393
  // Astra is live (verified against the account's model list 2026-09-23).
1393
1394
  // The fallback is named explicitly rather than reusing CO_REASON_MODEL:
1394
1395
  // that constant means "OpenAI's top reasoning model" for the max-reasoning
@@ -1400,10 +1401,10 @@ var SUPER_MODELS = {
1400
1401
  // on it succeeded as recently as 2026-08-30 — so it is an unlisted alias
1401
1402
  // rather than a dead id.
1402
1403
  xai: [DEFAULT_MODELS["xai"]],
1403
- // 3.8 Flash is now BOTH the everyday default and the super pick for Gemini,
1404
- // so this can no longer borrow DEFAULT_MODELS as its fallback — that would
1405
- // repeat the same model and retry one that just failed. Named explicitly.
1406
- gemini: ["gemini-3.8-flash", "gemini-3.1-pro-preview"],
1404
+ // Argon is the super pick as of 2026-11-03 (live in Google's catalogue
1405
+ // and price table). It falls back to the everyday default, which is now a
1406
+ // different model again, so borrowing DEFAULT_MODELS no longer repeats it.
1407
+ gemini: ["gemini-4-argon", DEFAULT_MODELS["gemini"]],
1407
1408
  kimi: [DEFAULT_MODELS["kimi"]],
1408
1409
  qwen: [DEFAULT_MODELS["qwen"]]
1409
1410
  };
@@ -1528,7 +1529,7 @@ var pricing_default = {
1528
1529
  currency: "USD",
1529
1530
  unit: "per_1k_tokens",
1530
1531
  updated_at: "2026-09-06",
1531
- notes: "Prices reflect public list pricing per provider. cached_per_1k applies to prompt tokens served from prompt-cache (Anthropic) or input-cache (OpenAI) when supported. Update when providers change rates. Missing models fall back to cost=0 with estimated=true. 2026-06-07: removed decommissioned gemini-2.0-flash / gemini-2.0-flash-lite (Google returns 404) and replaced the low-tier lite model with gemini-2.5-flash-lite. 2026-06-08: bumped the default Anthropic model to claude-opus-4-8. Kept gemini-2.5-pro as the Gemini default (gemini-3.1-pro-preview measured ~2.2x the cost at $2/$12 per M \u2014 output-token dominated by ~1.5k thinking tokens \u2014 so not worth it for a 1-of-4 panel voice). 2026-06-09: corrected rates verified against live provider pricing pages \u2014 gemini-2.5-pro output $5->$10/M; gemini-2.5-flash $0.15/$0.60 -> $0.30/$2.50; gpt-5 $5/$15 -> $1.25/$10 (cached $0.125); grok-4-latest input $5->$3/M (legacy grok-4 tier). Anthropic opus/sonnet/haiku rates confirmed unchanged. Older/unused models (gpt-4o, o1, o3, grok-3) not all re-verified. 2026-07-02: added claude-fable-5 as the optional reasoning-upgrade model (used only for the lead reasoning seat when the operator bumps a heavy task). 2026-07-04: set claude-fable-5 to its real pay-as-you-go API price effective 2026-07-07 \u2014 $10/M input ($0.01/1k), $50/M output ($0.05/1k), cached at 10% of input ($0.001/1k). Dropped the estimated flag. Note: Fable 5 is cheaper than opus-4-8 on both input and output. 2026-07-09: Google retired gemini-2.5-pro AND gemini-3-pro-preview (both now 404 'no longer available'). Moved the Gemini default to gemini-3.1-pro-preview ($2/M in, $12/M out, cache $0.20/M \u2014 the newest working pro; note it's a preview and may need another bump) and added gemini-3.5-flash ($1.50/M in, $9/M out, cache $0.15/M \u2014 GA) to the low/cheap tier. Removed the dead gemini-2.5-pro rate. IMPORTANT: gemini-3.x are heavy thinking models \u2014 thoughtsTokenCount (billed as output) is now folded into completion_tokens in the adapter, so cost reflects reasoning tokens. 2026-07-13: bumped the default OpenAI model to gpt-5.5 ($5/M in, $30/M out, cached $0.50/M \u2014 verified live). Note gpt-5.5 is markedly pricier than gpt-5 ($1.25/$10): ~4x input, 3x output. Kept gpt-5 in the table for cost lookups on pinned installs. 2026-07-16: added gpt-5.6 at the Sol (flagship) tier \u2014 $5/M in, $30/M out, cached $0.50/M (cache-write $6.25/M not modeled). gpt-5.6 is the second premium voice for the max-reasoning co-reasoner (runs alongside claude-fable-5 when an OpenAI key is set). Terra/Luna tiers not added (unused). 2026-07-17: added Moonshot AI (Kimi) provider with kimi-k3, base URL https://api.moonshot.ai/v1. Confirmed real rates \u2014 $3.00/M input (cache miss, $0.003/1k), $15.00/M output ($0.015/1k), $0.30/M cache-hit input ($0.0003/1k); 1M-token context. Kimi K3 is reasoning-class (temperature must be 1; uses max_completion_tokens). 2026-07-24: added claude-opus-5 ($5/M in, $25/M out, cached $0.50/M -- 10% of input, matching this table's existing cache-discount ratio) and made it the default anthropic model (was claude-opus-4-8). Fable 5 remains the reasoning-upgrade/super-mode target, unchanged. 2026-08-04: added Alibaba Cloud Qwen provider (OpenAI-compatible, DashScope international endpoint https://dashscope-intl.aliyuncs.com/compatible-mode/v1) with default model qwen3.8-max -- confirmed business pricing $2.00/M input ($0.002/1k), $6.00/M output ($0.006/1k), cache estimated at 10% of input ($0.0002/1k, not independently confirmed). Also added qwen3.7-max as a fallback tier at $1.25/M in ($0.00125/1k) / $3.75/M out ($0.00375/1k). Note: the model string initially configured (qwen-v3.8 / qwen-v3.7) does not exist on DashScope and 404s -- live-probed the real key against qwen3.8-max, qwen3.7-max, qwen3-max, qwen-max, and qwen-plus, all of which work; corrected the default and pricing keys to qwen3.8-max/qwen3.7-max and fixed QWEN_MODEL in both .env files to match. Qwen's Max tier is a standard instruct model, not reasoning-class -- normal temperature/max_tokens handling. 2026-09-06: added gpt-6-astra at published list rates ($10/$50 per Mtok, $1/Mtok cache read; the $12.50/Mtok cache-WRITE rate has no field in this schema and is not modelled). gemini-3.8-flash now carries Google's published paid-tier rates ($0.75/$3.75/$0.075 per Mtok). THESE DOUBLE ON 2027-01-01 ($1.50/$7.50/$0.15) and this schema has no effective-date support, so they must be updated by hand on that date or every Gemini cost will read half of actual. claude-fable-5-1 now carries published rates ($10/$50/$0.25 per Mtok). Note its cache-read rate is 4x cheaper than claude-fable-5's, so the two must not be assumed to track each other. No inferred rows remain. All three were previously absent, which silently recorded their cost as $0."
1532
+ notes: "Prices reflect public list pricing per provider. cached_per_1k applies to prompt tokens served from prompt-cache (Anthropic) or input-cache (OpenAI) when supported. Update when providers change rates. Missing models fall back to cost=0 with estimated=true. 2026-06-07: removed decommissioned gemini-2.0-flash / gemini-2.0-flash-lite (Google returns 404) and replaced the low-tier lite model with gemini-2.5-flash-lite. 2026-06-08: bumped the default Anthropic model to claude-opus-4-8. Kept gemini-2.5-pro as the Gemini default (gemini-3.1-pro-preview measured ~2.2x the cost at $2/$12 per M \u2014 output-token dominated by ~1.5k thinking tokens \u2014 so not worth it for a 1-of-4 panel voice). 2026-06-09: corrected rates verified against live provider pricing pages \u2014 gemini-2.5-pro output $5->$10/M; gemini-2.5-flash $0.15/$0.60 -> $0.30/$2.50; gpt-5 $5/$15 -> $1.25/$10 (cached $0.125); grok-4-latest input $5->$3/M (legacy grok-4 tier). Anthropic opus/sonnet/haiku rates confirmed unchanged. Older/unused models (gpt-4o, o1, o3, grok-3) not all re-verified. 2026-07-02: added claude-fable-5 as the optional reasoning-upgrade model (used only for the lead reasoning seat when the operator bumps a heavy task). 2026-07-04: set claude-fable-5 to its real pay-as-you-go API price effective 2026-07-07 \u2014 $10/M input ($0.01/1k), $50/M output ($0.05/1k), cached at 10% of input ($0.001/1k). Dropped the estimated flag. Note: Fable 5 is cheaper than opus-4-8 on both input and output. 2026-07-09: Google retired gemini-2.5-pro AND gemini-3-pro-preview (both now 404 'no longer available'). Moved the Gemini default to gemini-3.1-pro-preview ($2/M in, $12/M out, cache $0.20/M \u2014 the newest working pro; note it's a preview and may need another bump) and added gemini-3.5-flash ($1.50/M in, $9/M out, cache $0.15/M \u2014 GA) to the low/cheap tier. Removed the dead gemini-2.5-pro rate. IMPORTANT: gemini-3.x are heavy thinking models \u2014 thoughtsTokenCount (billed as output) is now folded into completion_tokens in the adapter, so cost reflects reasoning tokens. 2026-07-13: bumped the default OpenAI model to gpt-5.5 ($5/M in, $30/M out, cached $0.50/M \u2014 verified live). Note gpt-5.5 is markedly pricier than gpt-5 ($1.25/$10): ~4x input, 3x output. Kept gpt-5 in the table for cost lookups on pinned installs. 2026-07-16: added gpt-5.6 at the Sol (flagship) tier \u2014 $5/M in, $30/M out, cached $0.50/M (cache-write $6.25/M not modeled). gpt-5.6 is the second premium voice for the max-reasoning co-reasoner (runs alongside claude-fable-5 when an OpenAI key is set). Terra/Luna tiers not added (unused). 2026-07-17: added Moonshot AI (Kimi) provider with kimi-k3, base URL https://api.moonshot.ai/v1. Confirmed real rates \u2014 $3.00/M input (cache miss, $0.003/1k), $15.00/M output ($0.015/1k), $0.30/M cache-hit input ($0.0003/1k); 1M-token context. Kimi K3 is reasoning-class (temperature must be 1; uses max_completion_tokens). 2026-07-24: added claude-opus-5 ($5/M in, $25/M out, cached $0.50/M -- 10% of input, matching this table's existing cache-discount ratio) and made it the default anthropic model (was claude-opus-4-8). Fable 5 remains the reasoning-upgrade/super-mode target, unchanged. 2026-08-04: added Alibaba Cloud Qwen provider (OpenAI-compatible, DashScope international endpoint https://dashscope-intl.aliyuncs.com/compatible-mode/v1) with default model qwen3.8-max -- confirmed business pricing $2.00/M input ($0.002/1k), $6.00/M output ($0.006/1k), cache estimated at 10% of input ($0.0002/1k, not independently confirmed). Also added qwen3.7-max as a fallback tier at $1.25/M in ($0.00125/1k) / $3.75/M out ($0.00375/1k). Note: the model string initially configured (qwen-v3.8 / qwen-v3.7) does not exist on DashScope and 404s -- live-probed the real key against qwen3.8-max, qwen3.7-max, qwen3-max, qwen-max, and qwen-plus, all of which work; corrected the default and pricing keys to qwen3.8-max/qwen3.7-max and fixed QWEN_MODEL in both .env files to match. Qwen's Max tier is a standard instruct model, not reasoning-class -- normal temperature/max_tokens handling. 2026-09-06: added gpt-6-astra at published list rates ($10/$50 per Mtok, $1/Mtok cache read; the $12.50/Mtok cache-WRITE rate has no field in this schema and is not modelled). gemini-3.8-flash now carries Google's published paid-tier rates ($0.75/$3.75/$0.075 per Mtok). THESE DOUBLE ON 2027-01-01 ($1.50/$7.50/$0.15) and this schema has no effective-date support, so they must be updated by hand on that date or every Gemini cost will read half of actual. claude-fable-5-1 now carries published rates ($10/$50/$0.25 per Mtok). Note its cache-read rate is 4x cheaper than claude-fable-5's, so the two must not be assumed to track each other. No inferred rows remain. All three were previously absent, which silently recorded their cost as $0. 2026-11-10: added claude-fable-5-2 at published list rates ($8/$40 per Mtok, $0.20/Mtok cache read; cache writes $10 (5m) / $16 (1h) per Mtok not modelled) and made it the head of the Anthropic super chain (falls back to claude-fable-5-1, then claude-fable-5). It is priced BELOW Fable 5.1, so the two must not be assumed to track each other."
1532
1533
  },
1533
1534
  anthropic: {
1534
1535
  _source: {
@@ -1594,6 +1595,11 @@ var pricing_default = {
1594
1595
  prompt_per_1k: 0.01,
1595
1596
  completion_per_1k: 0.05,
1596
1597
  cached_per_1k: 25e-5
1598
+ },
1599
+ "claude-fable-5-2": {
1600
+ prompt_per_1k: 8e-3,
1601
+ completion_per_1k: 0.04,
1602
+ cached_per_1k: 2e-4
1597
1603
  }
1598
1604
  },
1599
1605
  openai: {
@@ -1606,6 +1612,11 @@ var pricing_default = {
1606
1612
  completion_per_1k: 0.05,
1607
1613
  cached_per_1k: 1e-3
1608
1614
  },
1615
+ "gpt-6.1-sol": {
1616
+ prompt_per_1k: 2e-3,
1617
+ completion_per_1k: 0.01,
1618
+ cached_per_1k: 1e-4
1619
+ },
1609
1620
  "gpt-6-sol": {
1610
1621
  prompt_per_1k: 2e-3,
1611
1622
  completion_per_1k: 0.01,
@@ -1755,6 +1766,11 @@ var pricing_default = {
1755
1766
  completion_per_1k: 4e-4,
1756
1767
  cached_per_1k: 25e-6
1757
1768
  },
1769
+ "gemini-4-argon": {
1770
+ prompt_per_1k: 2e-3,
1771
+ completion_per_1k: 0.01,
1772
+ cached_per_1k: 1e-4
1773
+ },
1758
1774
  "gemini-3.8-flash": {
1759
1775
  prompt_per_1k: 75e-5,
1760
1776
  completion_per_1k: 375e-5,
@@ -1948,7 +1964,7 @@ import { z } from "zod";
1948
1964
 
1949
1965
  // src/server-meta.ts
1950
1966
  var SERVER_NAME = "crosscheck-agent";
1951
- var SERVER_VERSION = true ? "0.2.32" : "0.0.0-dev";
1967
+ var SERVER_VERSION = true ? "0.2.34" : "0.0.0-dev";
1952
1968
 
1953
1969
  // src/tools/audit.ts
1954
1970
  import { readdirSync, readFileSync as readFileSync3, statSync } from "fs";
@@ -3525,9 +3541,10 @@ function numberOrNull(v) {
3525
3541
  import { performance as performance2 } from "perf_hooks";
3526
3542
 
3527
3543
  // src/core/co-reason.ts
3528
- var CO_REASON_MODEL = "gpt-6-sol";
3544
+ var CO_REASON_MODEL = "gpt-6.1-sol";
3529
3545
  var CO_REASON_ALTERNATE = "gpt-6-astra";
3530
3546
  var LABELS = {
3547
+ "gpt-6.1-sol": "GPT-6.1 Sol",
3531
3548
  "gpt-6-sol": "GPT-6 Sol",
3532
3549
  "gpt-6-astra": "GPT-6 Astra",
3533
3550
  "gpt-5.6-sol": "GPT-5.6 Sol"
@@ -12197,7 +12214,7 @@ var CHECK_INTERVAL_SECONDS = 3 * 24 * 60 * 60;
12197
12214
  var DEFAULT_PACKAGE = "crosscheck-cli";
12198
12215
  var FETCH_TIMEOUT_MS = 3e3;
12199
12216
  function engineVersion() {
12200
- return true ? "0.2.32" : "0.0.0-dev";
12217
+ return true ? "0.2.34" : "0.0.0-dev";
12201
12218
  }
12202
12219
  function defaultUpdateCachePath() {
12203
12220
  const base = process.env["CROSSCHECK_DATA_DIR"] || path9.join(os.homedir() || os.tmpdir(), ".crosscheck");