crosscheck-mcp 0.2.0 → 0.2.1
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/node-stdio.cjs +6 -5
- package/dist/node-stdio.cjs.map +1 -1
- package/dist/node-stdio.js +6 -5
- package/dist/node-stdio.js.map +1 -1
- package/dist/pricing.json +5 -3
- package/package.json +1 -1
package/dist/node-stdio.cjs
CHANGED
|
@@ -1202,7 +1202,7 @@ var PROVIDER_CAPS = {
|
|
|
1202
1202
|
family: "gemini",
|
|
1203
1203
|
system_role: "separate",
|
|
1204
1204
|
supports_temperature: true,
|
|
1205
|
-
reasoning_prefixes: ["gemini-2.5-pro"]
|
|
1205
|
+
reasoning_prefixes: ["gemini-3.1-pro", "gemini-3.5-flash", "gemini-2.5-pro"]
|
|
1206
1206
|
}
|
|
1207
1207
|
};
|
|
1208
1208
|
function isReasoningModel(provider, model) {
|
|
@@ -1675,7 +1675,8 @@ function parseGeminiResponse(opts) {
|
|
|
1675
1675
|
const u = r["usageMetadata"] ?? {};
|
|
1676
1676
|
const prompt = Math.trunc(Number(u["promptTokenCount"] ?? 0)) || 0;
|
|
1677
1677
|
const cached = Math.trunc(Number(u["cachedContentTokenCount"] ?? 0)) || 0;
|
|
1678
|
-
const
|
|
1678
|
+
const thoughts = Math.trunc(Number(u["thoughtsTokenCount"] ?? 0)) || 0;
|
|
1679
|
+
const completion = (Math.trunc(Number(u["candidatesTokenCount"] ?? 0)) || 0) + thoughts;
|
|
1679
1680
|
const total = Math.trunc(Number(u["totalTokenCount"] ?? 0)) || 0;
|
|
1680
1681
|
const usage = {
|
|
1681
1682
|
provider: "gemini",
|
|
@@ -1949,7 +1950,7 @@ var DEFAULT_MODELS = {
|
|
|
1949
1950
|
mistral: "mistral-large-latest",
|
|
1950
1951
|
groq: "llama-3.3-70b-versatile",
|
|
1951
1952
|
deepseek: "deepseek-chat",
|
|
1952
|
-
gemini: "gemini-
|
|
1953
|
+
gemini: "gemini-3.1-pro-preview"
|
|
1953
1954
|
};
|
|
1954
1955
|
function buildProviders(opts) {
|
|
1955
1956
|
const out = {};
|
|
@@ -12224,7 +12225,7 @@ var CHECK_INTERVAL_SECONDS = 3 * 24 * 60 * 60;
|
|
|
12224
12225
|
var DEFAULT_PACKAGE = "crosscheck-cli";
|
|
12225
12226
|
var FETCH_TIMEOUT_MS = 3e3;
|
|
12226
12227
|
function engineVersion() {
|
|
12227
|
-
return true ? "0.2.
|
|
12228
|
+
return true ? "0.2.1" : "0.0.0-dev";
|
|
12228
12229
|
}
|
|
12229
12230
|
function defaultUpdateCachePath() {
|
|
12230
12231
|
const base = process.env["CROSSCHECK_DATA_DIR"] || import_node_path13.default.join(import_node_os2.default.homedir() || import_node_os2.default.tmpdir(), ".crosscheck");
|
|
@@ -13771,7 +13772,7 @@ async function flush() {
|
|
|
13771
13772
|
|
|
13772
13773
|
// src/server.ts
|
|
13773
13774
|
var SERVER_NAME = "crosscheck-agent";
|
|
13774
|
-
var SERVER_VERSION = true ? "0.2.
|
|
13775
|
+
var SERVER_VERSION = true ? "0.2.1" : "0.0.0-dev";
|
|
13775
13776
|
function extractRunSummaryText(out) {
|
|
13776
13777
|
if (out === null || typeof out !== "object" || Array.isArray(out)) return void 0;
|
|
13777
13778
|
const rs = out["run_summary"];
|