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.
- package/dist/browser-ext.cjs +25 -8
- package/dist/browser-ext.cjs.map +1 -1
- package/dist/browser-ext.js +25 -8
- package/dist/browser-ext.js.map +1 -1
- package/dist/node-stdio.cjs +19 -6
- package/dist/node-stdio.cjs.map +1 -1
- package/dist/node-stdio.js +19 -6
- package/dist/node-stdio.js.map +1 -1
- package/dist/pricing.json +4 -1
- package/package.json +1 -1
package/dist/browser-ext.cjs
CHANGED
|
@@ -45,7 +45,7 @@ var pricing_default = {
|
|
|
45
45
|
currency: "USD",
|
|
46
46
|
unit: "per_1k_tokens",
|
|
47
47
|
updated_at: "2026-06-07",
|
|
48
|
-
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)."
|
|
48
|
+
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)."
|
|
49
49
|
},
|
|
50
50
|
anthropic: {
|
|
51
51
|
"claude-opus-4-5": { prompt_per_1k: 0.015, completion_per_1k: 0.075, cached_per_1k: 15e-4 },
|
|
@@ -93,6 +93,9 @@ var pricing_default = {
|
|
|
93
93
|
"deepseek-chat": { prompt_per_1k: 27e-5, completion_per_1k: 11e-4, cached_per_1k: 7e-5 },
|
|
94
94
|
"deepseek-reasoner": { prompt_per_1k: 55e-5, completion_per_1k: 22e-4, cached_per_1k: 14e-5 }
|
|
95
95
|
},
|
|
96
|
+
kimi: {
|
|
97
|
+
"kimi-k3": { prompt_per_1k: 3e-3, completion_per_1k: 0.015, cached_per_1k: 3e-4 }
|
|
98
|
+
},
|
|
96
99
|
_tiers: {
|
|
97
100
|
low: {
|
|
98
101
|
description: "Cheap, fast models for simple subtasks (extraction, formatting, short summaries).",
|
|
@@ -196,6 +199,14 @@ var PROVIDER_CAPS = {
|
|
|
196
199
|
mistral: { family: "openai_chat", system_role: "inline", supports_temperature: true },
|
|
197
200
|
groq: { family: "openai_chat", system_role: "inline", supports_temperature: true },
|
|
198
201
|
deepseek: { family: "openai_chat", system_role: "inline", supports_temperature: true },
|
|
202
|
+
kimi: {
|
|
203
|
+
family: "openai_chat",
|
|
204
|
+
system_role: "inline",
|
|
205
|
+
// Kimi K3 is reasoning-class: it rejects temperature != 1 and wants
|
|
206
|
+
// max_completion_tokens (like OpenAI's gpt-5 / o-series).
|
|
207
|
+
supports_temperature: "model",
|
|
208
|
+
reasoning_prefixes: ["kimi-k3"]
|
|
209
|
+
},
|
|
199
210
|
gemini: {
|
|
200
211
|
family: "gemini",
|
|
201
212
|
system_role: "separate",
|
|
@@ -770,7 +781,9 @@ var OPENAI_COMPAT_DEFAULT_URLS = {
|
|
|
770
781
|
xai: "https://api.x.ai/v1/chat/completions",
|
|
771
782
|
mistral: "https://api.mistral.ai/v1/chat/completions",
|
|
772
783
|
groq: "https://api.groq.com/openai/v1/chat/completions",
|
|
773
|
-
deepseek: "https://api.deepseek.com/v1/chat/completions"
|
|
784
|
+
deepseek: "https://api.deepseek.com/v1/chat/completions",
|
|
785
|
+
// Moonshot AI (Kimi). OpenAI-compatible chat completions endpoint.
|
|
786
|
+
kimi: "https://api.moonshot.ai/v1/chat/completions"
|
|
774
787
|
};
|
|
775
788
|
var OPENAI_COMPAT_NATIVE_STRUCTURED = /* @__PURE__ */ new Set([
|
|
776
789
|
"openai"
|
|
@@ -938,7 +951,8 @@ var DEFAULT_MODELS = {
|
|
|
938
951
|
mistral: "mistral-large-latest",
|
|
939
952
|
groq: "llama-3.3-70b-versatile",
|
|
940
953
|
deepseek: "deepseek-chat",
|
|
941
|
-
gemini: "gemini-3.1-pro-preview"
|
|
954
|
+
gemini: "gemini-3.1-pro-preview",
|
|
955
|
+
kimi: "kimi-k3"
|
|
942
956
|
};
|
|
943
957
|
function buildProviders(opts) {
|
|
944
958
|
const out = {};
|
|
@@ -952,7 +966,8 @@ function buildProviders(opts) {
|
|
|
952
966
|
{ name: "xai", keyEnv: "XAI_API_KEY", modelEnv: "XAI_MODEL", defaultModel: DEFAULT_MODELS["xai"] },
|
|
953
967
|
{ name: "mistral", keyEnv: "MISTRAL_API_KEY", modelEnv: "MISTRAL_MODEL", defaultModel: DEFAULT_MODELS["mistral"] },
|
|
954
968
|
{ name: "groq", keyEnv: "GROQ_API_KEY", modelEnv: "GROQ_MODEL", defaultModel: DEFAULT_MODELS["groq"] },
|
|
955
|
-
{ name: "deepseek", keyEnv: "DEEPSEEK_API_KEY", modelEnv: "DEEPSEEK_MODEL", defaultModel: DEFAULT_MODELS["deepseek"] }
|
|
969
|
+
{ name: "deepseek", keyEnv: "DEEPSEEK_API_KEY", modelEnv: "DEEPSEEK_MODEL", defaultModel: DEFAULT_MODELS["deepseek"] },
|
|
970
|
+
{ name: "kimi", keyEnv: "KIMI_API_KEY", modelEnv: "KIMI_MODEL", defaultModel: DEFAULT_MODELS["kimi"] }
|
|
956
971
|
];
|
|
957
972
|
for (const s of openAiCompatSpec) {
|
|
958
973
|
const apiKey = opts.env[s.keyEnv];
|
|
@@ -1024,7 +1039,7 @@ var import_zod = require("zod");
|
|
|
1024
1039
|
|
|
1025
1040
|
// src/server-meta.ts
|
|
1026
1041
|
var SERVER_NAME = "crosscheck-agent";
|
|
1027
|
-
var SERVER_VERSION = true ? "0.2.
|
|
1042
|
+
var SERVER_VERSION = true ? "0.2.6" : "0.0.0-dev";
|
|
1028
1043
|
|
|
1029
1044
|
// src/tools/audit.ts
|
|
1030
1045
|
var import_node_fs4 = require("fs");
|
|
@@ -9570,7 +9585,8 @@ var KNOWN_PROVIDERS6 = [
|
|
|
9570
9585
|
"gemini",
|
|
9571
9586
|
"mistral",
|
|
9572
9587
|
"groq",
|
|
9573
|
-
"deepseek"
|
|
9588
|
+
"deepseek",
|
|
9589
|
+
"kimi"
|
|
9574
9590
|
];
|
|
9575
9591
|
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.";
|
|
9576
9592
|
function runListProviders(_args, opts) {
|
|
@@ -11138,7 +11154,7 @@ var CHECK_INTERVAL_SECONDS = 3 * 24 * 60 * 60;
|
|
|
11138
11154
|
var DEFAULT_PACKAGE = "crosscheck-cli";
|
|
11139
11155
|
var FETCH_TIMEOUT_MS = 3e3;
|
|
11140
11156
|
function engineVersion() {
|
|
11141
|
-
return true ? "0.2.
|
|
11157
|
+
return true ? "0.2.6" : "0.0.0-dev";
|
|
11142
11158
|
}
|
|
11143
11159
|
function defaultUpdateCachePath() {
|
|
11144
11160
|
const base = process.env["CROSSCHECK_DATA_DIR"] || import_node_path12.default.join(import_node_os2.default.homedir() || import_node_os2.default.tmpdir(), ".crosscheck");
|
|
@@ -12750,7 +12766,8 @@ var KEY_ENV = {
|
|
|
12750
12766
|
grok: "XAI_API_KEY",
|
|
12751
12767
|
groq: "GROQ_API_KEY",
|
|
12752
12768
|
deepseek: "DEEPSEEK_API_KEY",
|
|
12753
|
-
mistral: "MISTRAL_API_KEY"
|
|
12769
|
+
mistral: "MISTRAL_API_KEY",
|
|
12770
|
+
kimi: "KIMI_API_KEY"
|
|
12754
12771
|
};
|
|
12755
12772
|
function createCrosscheck(opts) {
|
|
12756
12773
|
const env = {};
|