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.
@@ -540,6 +540,7 @@ function rejectsDisabledThinking(model) {
540
540
  }
541
541
  var NO_FORCED_TOOL_PREFIXES = [
542
542
  "claude-fable-5-1",
543
+ "claude-fable-5-2",
543
544
  "claude-mythos-5-1",
544
545
  "claude-opus-5-5",
545
546
  "claude-sonnet-5-5"
@@ -1200,7 +1201,7 @@ async function sendOpenAICompatible(args) {
1200
1201
  // src/providers/registry.ts
1201
1202
  var DEFAULT_MODELS = {
1202
1203
  anthropic: "claude-opus-5-5",
1203
- openai: "gpt-6-sol",
1204
+ openai: "gpt-6.1-sol",
1204
1205
  xai: "grok-4-latest",
1205
1206
  mistral: "mistral-large-latest",
1206
1207
  groq: "llama-3.3-70b-versatile",
@@ -1210,11 +1211,11 @@ var DEFAULT_MODELS = {
1210
1211
  qwen: "qwen3.8-max"
1211
1212
  };
1212
1213
  var DEFAULT_FALLBACKS = {
1213
- // gpt-5.6 requires a billing-enabled account and is excluded from the free
1214
- // tier, so gpt-5 remains the broadly-available floor. One hop, not a
1215
- // ladder — an intermediate 5.5 step would just be another model to reason
1216
- // about.
1217
- openai: ["gpt-5"],
1214
+ // 6.1 Sol (default since 2026-11-03) may not be granted on every account
1215
+ // yet, so the previous default comes first: anyone who could reach Sol
1216
+ // yesterday still gets it. gpt-5 remains the broadly-available floor for
1217
+ // free-tier accounts, which can reach neither.
1218
+ openai: ["gpt-6-sol", "gpt-5"],
1218
1219
  // 3.8 Flash is recent enough that some projects won't have it yet.
1219
1220
  gemini: ["gemini-3.1-pro-preview"],
1220
1221
  // Opus 5.5 is new enough that an account could still be waiting on it.
@@ -1419,9 +1420,9 @@ function buildSuggestedUpgrade(toolName, assessment) {
1419
1420
 
1420
1421
  // src/core/super-mode.ts
1421
1422
  var SUPER_MODELS = {
1422
- // Fable 5.1 verified present on the account; 5 as the fallback for accounts
1423
- // that haven't been granted 5.1 yet.
1424
- anthropic: ["claude-fable-5-1", UPGRADE_MODEL],
1423
+ // Fable 5.2 verified present on the account 2026-11-10; 5.1 then 5 as the
1424
+ // fallbacks for accounts that haven't been granted the newer ones yet.
1425
+ anthropic: ["claude-fable-5-2", "claude-fable-5-1", UPGRADE_MODEL],
1425
1426
  // Astra is live (verified against the account's model list 2026-09-23).
1426
1427
  // The fallback is named explicitly rather than reusing CO_REASON_MODEL:
1427
1428
  // that constant means "OpenAI's top reasoning model" for the max-reasoning
@@ -1433,10 +1434,10 @@ var SUPER_MODELS = {
1433
1434
  // on it succeeded as recently as 2026-08-30 — so it is an unlisted alias
1434
1435
  // rather than a dead id.
1435
1436
  xai: [DEFAULT_MODELS["xai"]],
1436
- // 3.8 Flash is now BOTH the everyday default and the super pick for Gemini,
1437
- // so this can no longer borrow DEFAULT_MODELS as its fallback — that would
1438
- // repeat the same model and retry one that just failed. Named explicitly.
1439
- gemini: ["gemini-3.8-flash", "gemini-3.1-pro-preview"],
1437
+ // Argon is the super pick as of 2026-11-03 (live in Google's catalogue
1438
+ // and price table). It falls back to the everyday default, which is now a
1439
+ // different model again, so borrowing DEFAULT_MODELS no longer repeats it.
1440
+ gemini: ["gemini-4-argon", DEFAULT_MODELS["gemini"]],
1440
1441
  kimi: [DEFAULT_MODELS["kimi"]],
1441
1442
  qwen: [DEFAULT_MODELS["qwen"]]
1442
1443
  };
@@ -1561,7 +1562,7 @@ var pricing_default = {
1561
1562
  currency: "USD",
1562
1563
  unit: "per_1k_tokens",
1563
1564
  updated_at: "2026-09-06",
1564
- 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."
1565
+ 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."
1565
1566
  },
1566
1567
  anthropic: {
1567
1568
  _source: {
@@ -1627,6 +1628,11 @@ var pricing_default = {
1627
1628
  prompt_per_1k: 0.01,
1628
1629
  completion_per_1k: 0.05,
1629
1630
  cached_per_1k: 25e-5
1631
+ },
1632
+ "claude-fable-5-2": {
1633
+ prompt_per_1k: 8e-3,
1634
+ completion_per_1k: 0.04,
1635
+ cached_per_1k: 2e-4
1630
1636
  }
1631
1637
  },
1632
1638
  openai: {
@@ -1639,6 +1645,11 @@ var pricing_default = {
1639
1645
  completion_per_1k: 0.05,
1640
1646
  cached_per_1k: 1e-3
1641
1647
  },
1648
+ "gpt-6.1-sol": {
1649
+ prompt_per_1k: 2e-3,
1650
+ completion_per_1k: 0.01,
1651
+ cached_per_1k: 1e-4
1652
+ },
1642
1653
  "gpt-6-sol": {
1643
1654
  prompt_per_1k: 2e-3,
1644
1655
  completion_per_1k: 0.01,
@@ -1788,6 +1799,11 @@ var pricing_default = {
1788
1799
  completion_per_1k: 4e-4,
1789
1800
  cached_per_1k: 25e-6
1790
1801
  },
1802
+ "gemini-4-argon": {
1803
+ prompt_per_1k: 2e-3,
1804
+ completion_per_1k: 0.01,
1805
+ cached_per_1k: 1e-4
1806
+ },
1791
1807
  "gemini-3.8-flash": {
1792
1808
  prompt_per_1k: 75e-5,
1793
1809
  completion_per_1k: 375e-5,
@@ -1981,7 +1997,7 @@ var import_zod = require("zod");
1981
1997
 
1982
1998
  // src/server-meta.ts
1983
1999
  var SERVER_NAME = "crosscheck-agent";
1984
- var SERVER_VERSION = true ? "0.2.32" : "0.0.0-dev";
2000
+ var SERVER_VERSION = true ? "0.2.34" : "0.0.0-dev";
1985
2001
 
1986
2002
  // src/tools/audit.ts
1987
2003
  var import_node_fs4 = require("fs");
@@ -3558,9 +3574,10 @@ function numberOrNull(v) {
3558
3574
  var import_node_perf_hooks = require("perf_hooks");
3559
3575
 
3560
3576
  // src/core/co-reason.ts
3561
- var CO_REASON_MODEL = "gpt-6-sol";
3577
+ var CO_REASON_MODEL = "gpt-6.1-sol";
3562
3578
  var CO_REASON_ALTERNATE = "gpt-6-astra";
3563
3579
  var LABELS = {
3580
+ "gpt-6.1-sol": "GPT-6.1 Sol",
3564
3581
  "gpt-6-sol": "GPT-6 Sol",
3565
3582
  "gpt-6-astra": "GPT-6 Astra",
3566
3583
  "gpt-5.6-sol": "GPT-5.6 Sol"
@@ -12213,7 +12230,7 @@ var CHECK_INTERVAL_SECONDS = 3 * 24 * 60 * 60;
12213
12230
  var DEFAULT_PACKAGE = "crosscheck-cli";
12214
12231
  var FETCH_TIMEOUT_MS = 3e3;
12215
12232
  function engineVersion() {
12216
- return true ? "0.2.32" : "0.0.0-dev";
12233
+ return true ? "0.2.34" : "0.0.0-dev";
12217
12234
  }
12218
12235
  function defaultUpdateCachePath() {
12219
12236
  const base = process.env["CROSSCHECK_DATA_DIR"] || import_node_path12.default.join(import_node_os2.default.homedir() || import_node_os2.default.tmpdir(), ".crosscheck");