crosscheck-mcp 0.2.4 → 0.2.6

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.
@@ -12,7 +12,7 @@ var pricing_default = {
12
12
  currency: "USD",
13
13
  unit: "per_1k_tokens",
14
14
  updated_at: "2026-06-07",
15
- 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)."
15
+ 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)."
16
16
  },
17
17
  anthropic: {
18
18
  "claude-opus-4-5": { prompt_per_1k: 0.015, completion_per_1k: 0.075, cached_per_1k: 15e-4 },
@@ -60,6 +60,9 @@ var pricing_default = {
60
60
  "deepseek-chat": { prompt_per_1k: 27e-5, completion_per_1k: 11e-4, cached_per_1k: 7e-5 },
61
61
  "deepseek-reasoner": { prompt_per_1k: 55e-5, completion_per_1k: 22e-4, cached_per_1k: 14e-5 }
62
62
  },
63
+ kimi: {
64
+ "kimi-k3": { prompt_per_1k: 3e-3, completion_per_1k: 0.015, cached_per_1k: 3e-4 }
65
+ },
63
66
  _tiers: {
64
67
  low: {
65
68
  description: "Cheap, fast models for simple subtasks (extraction, formatting, short summaries).",
@@ -163,6 +166,14 @@ var PROVIDER_CAPS = {
163
166
  mistral: { family: "openai_chat", system_role: "inline", supports_temperature: true },
164
167
  groq: { family: "openai_chat", system_role: "inline", supports_temperature: true },
165
168
  deepseek: { family: "openai_chat", system_role: "inline", supports_temperature: true },
169
+ kimi: {
170
+ family: "openai_chat",
171
+ system_role: "inline",
172
+ // Kimi K3 is reasoning-class: it rejects temperature != 1 and wants
173
+ // max_completion_tokens (like OpenAI's gpt-5 / o-series).
174
+ supports_temperature: "model",
175
+ reasoning_prefixes: ["kimi-k3"]
176
+ },
166
177
  gemini: {
167
178
  family: "gemini",
168
179
  system_role: "separate",
@@ -737,7 +748,9 @@ var OPENAI_COMPAT_DEFAULT_URLS = {
737
748
  xai: "https://api.x.ai/v1/chat/completions",
738
749
  mistral: "https://api.mistral.ai/v1/chat/completions",
739
750
  groq: "https://api.groq.com/openai/v1/chat/completions",
740
- deepseek: "https://api.deepseek.com/v1/chat/completions"
751
+ deepseek: "https://api.deepseek.com/v1/chat/completions",
752
+ // Moonshot AI (Kimi). OpenAI-compatible chat completions endpoint.
753
+ kimi: "https://api.moonshot.ai/v1/chat/completions"
741
754
  };
742
755
  var OPENAI_COMPAT_NATIVE_STRUCTURED = /* @__PURE__ */ new Set([
743
756
  "openai"
@@ -905,7 +918,8 @@ var DEFAULT_MODELS = {
905
918
  mistral: "mistral-large-latest",
906
919
  groq: "llama-3.3-70b-versatile",
907
920
  deepseek: "deepseek-chat",
908
- gemini: "gemini-3.1-pro-preview"
921
+ gemini: "gemini-3.1-pro-preview",
922
+ kimi: "kimi-k3"
909
923
  };
910
924
  function buildProviders(opts) {
911
925
  const out = {};
@@ -919,7 +933,8 @@ function buildProviders(opts) {
919
933
  { name: "xai", keyEnv: "XAI_API_KEY", modelEnv: "XAI_MODEL", defaultModel: DEFAULT_MODELS["xai"] },
920
934
  { name: "mistral", keyEnv: "MISTRAL_API_KEY", modelEnv: "MISTRAL_MODEL", defaultModel: DEFAULT_MODELS["mistral"] },
921
935
  { name: "groq", keyEnv: "GROQ_API_KEY", modelEnv: "GROQ_MODEL", defaultModel: DEFAULT_MODELS["groq"] },
922
- { name: "deepseek", keyEnv: "DEEPSEEK_API_KEY", modelEnv: "DEEPSEEK_MODEL", defaultModel: DEFAULT_MODELS["deepseek"] }
936
+ { name: "deepseek", keyEnv: "DEEPSEEK_API_KEY", modelEnv: "DEEPSEEK_MODEL", defaultModel: DEFAULT_MODELS["deepseek"] },
937
+ { name: "kimi", keyEnv: "KIMI_API_KEY", modelEnv: "KIMI_MODEL", defaultModel: DEFAULT_MODELS["kimi"] }
923
938
  ];
924
939
  for (const s of openAiCompatSpec) {
925
940
  const apiKey = opts.env[s.keyEnv];
@@ -991,7 +1006,7 @@ import { z } from "zod";
991
1006
 
992
1007
  // src/server-meta.ts
993
1008
  var SERVER_NAME = "crosscheck-agent";
994
- var SERVER_VERSION = true ? "0.2.4" : "0.0.0-dev";
1009
+ var SERVER_VERSION = true ? "0.2.6" : "0.0.0-dev";
995
1010
 
996
1011
  // src/tools/audit.ts
997
1012
  import { readdirSync, readFileSync as readFileSync3, statSync } from "fs";
@@ -9554,7 +9569,8 @@ var KNOWN_PROVIDERS6 = [
9554
9569
  "gemini",
9555
9570
  "mistral",
9556
9571
  "groq",
9557
- "deepseek"
9572
+ "deepseek",
9573
+ "kimi"
9558
9574
  ];
9559
9575
  var USAGE_HINT = "Pass a 'providers' array to confer/debate/plan/review to pick an ad-hoc subset, e.g. providers=['openai','gemini']. Omit the field to use the configured active set.";
9560
9576
  function runListProviders(_args, opts) {
@@ -11122,7 +11138,7 @@ var CHECK_INTERVAL_SECONDS = 3 * 24 * 60 * 60;
11122
11138
  var DEFAULT_PACKAGE = "crosscheck-cli";
11123
11139
  var FETCH_TIMEOUT_MS = 3e3;
11124
11140
  function engineVersion() {
11125
- return true ? "0.2.4" : "0.0.0-dev";
11141
+ return true ? "0.2.6" : "0.0.0-dev";
11126
11142
  }
11127
11143
  function defaultUpdateCachePath() {
11128
11144
  const base = process.env["CROSSCHECK_DATA_DIR"] || path9.join(os.homedir() || os.tmpdir(), ".crosscheck");
@@ -12734,7 +12750,8 @@ var KEY_ENV = {
12734
12750
  grok: "XAI_API_KEY",
12735
12751
  groq: "GROQ_API_KEY",
12736
12752
  deepseek: "DEEPSEEK_API_KEY",
12737
- mistral: "MISTRAL_API_KEY"
12753
+ mistral: "MISTRAL_API_KEY",
12754
+ kimi: "KIMI_API_KEY"
12738
12755
  };
12739
12756
  function createCrosscheck(opts) {
12740
12757
  const env = {};