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.js
CHANGED
|
@@ -1178,7 +1178,7 @@ var PROVIDER_CAPS = {
|
|
|
1178
1178
|
family: "gemini",
|
|
1179
1179
|
system_role: "separate",
|
|
1180
1180
|
supports_temperature: true,
|
|
1181
|
-
reasoning_prefixes: ["gemini-2.5-pro"]
|
|
1181
|
+
reasoning_prefixes: ["gemini-3.1-pro", "gemini-3.5-flash", "gemini-2.5-pro"]
|
|
1182
1182
|
}
|
|
1183
1183
|
};
|
|
1184
1184
|
function isReasoningModel(provider, model) {
|
|
@@ -1651,7 +1651,8 @@ function parseGeminiResponse(opts) {
|
|
|
1651
1651
|
const u = r["usageMetadata"] ?? {};
|
|
1652
1652
|
const prompt = Math.trunc(Number(u["promptTokenCount"] ?? 0)) || 0;
|
|
1653
1653
|
const cached = Math.trunc(Number(u["cachedContentTokenCount"] ?? 0)) || 0;
|
|
1654
|
-
const
|
|
1654
|
+
const thoughts = Math.trunc(Number(u["thoughtsTokenCount"] ?? 0)) || 0;
|
|
1655
|
+
const completion = (Math.trunc(Number(u["candidatesTokenCount"] ?? 0)) || 0) + thoughts;
|
|
1655
1656
|
const total = Math.trunc(Number(u["totalTokenCount"] ?? 0)) || 0;
|
|
1656
1657
|
const usage = {
|
|
1657
1658
|
provider: "gemini",
|
|
@@ -1925,7 +1926,7 @@ var DEFAULT_MODELS = {
|
|
|
1925
1926
|
mistral: "mistral-large-latest",
|
|
1926
1927
|
groq: "llama-3.3-70b-versatile",
|
|
1927
1928
|
deepseek: "deepseek-chat",
|
|
1928
|
-
gemini: "gemini-
|
|
1929
|
+
gemini: "gemini-3.1-pro-preview"
|
|
1929
1930
|
};
|
|
1930
1931
|
function buildProviders(opts) {
|
|
1931
1932
|
const out = {};
|
|
@@ -12220,7 +12221,7 @@ var CHECK_INTERVAL_SECONDS = 3 * 24 * 60 * 60;
|
|
|
12220
12221
|
var DEFAULT_PACKAGE = "crosscheck-cli";
|
|
12221
12222
|
var FETCH_TIMEOUT_MS = 3e3;
|
|
12222
12223
|
function engineVersion() {
|
|
12223
|
-
return true ? "0.2.
|
|
12224
|
+
return true ? "0.2.1" : "0.0.0-dev";
|
|
12224
12225
|
}
|
|
12225
12226
|
function defaultUpdateCachePath() {
|
|
12226
12227
|
const base = process.env["CROSSCHECK_DATA_DIR"] || path10.join(os.homedir() || os.tmpdir(), ".crosscheck");
|
|
@@ -13767,7 +13768,7 @@ async function flush() {
|
|
|
13767
13768
|
|
|
13768
13769
|
// src/server.ts
|
|
13769
13770
|
var SERVER_NAME = "crosscheck-agent";
|
|
13770
|
-
var SERVER_VERSION = true ? "0.2.
|
|
13771
|
+
var SERVER_VERSION = true ? "0.2.1" : "0.0.0-dev";
|
|
13771
13772
|
function extractRunSummaryText(out) {
|
|
13772
13773
|
if (out === null || typeof out !== "object" || Array.isArray(out)) return void 0;
|
|
13773
13774
|
const rs = out["run_summary"];
|