crosscheck-mcp 0.2.8 → 0.2.10

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.
@@ -1186,7 +1186,7 @@ var PROVIDER_CAPS = {
1186
1186
  family: "anthropic",
1187
1187
  system_role: "separate",
1188
1188
  supports_temperature: "model",
1189
- reasoning_prefixes: ["claude-opus-4-7", "claude-opus-4-8", "claude-fable-5"]
1189
+ reasoning_prefixes: ["claude-opus-4-7", "claude-opus-4-8", "claude-opus-5", "claude-fable-5"]
1190
1190
  },
1191
1191
  openai: {
1192
1192
  family: "openai_chat",
@@ -1957,7 +1957,7 @@ async function sendOpenAICompatible(args) {
1957
1957
 
1958
1958
  // src/providers/registry.ts
1959
1959
  var DEFAULT_MODELS = {
1960
- anthropic: "claude-opus-4-8",
1960
+ anthropic: "claude-opus-5",
1961
1961
  openai: "gpt-5.5",
1962
1962
  xai: "grok-4-latest",
1963
1963
  mistral: "mistral-large-latest",
@@ -2180,7 +2180,7 @@ var import_zod = require("zod");
2180
2180
  // src/server-meta.ts
2181
2181
  init_cjs_shims();
2182
2182
  var SERVER_NAME = "crosscheck-agent";
2183
- var SERVER_VERSION = true ? "0.2.8" : "0.0.0-dev";
2183
+ var SERVER_VERSION = true ? "0.2.10" : "0.0.0-dev";
2184
2184
 
2185
2185
  // src/tools/audit.ts
2186
2186
  init_cjs_shims();
@@ -12471,7 +12471,7 @@ var CHECK_INTERVAL_SECONDS = 3 * 24 * 60 * 60;
12471
12471
  var DEFAULT_PACKAGE = "crosscheck-cli";
12472
12472
  var FETCH_TIMEOUT_MS = 3e3;
12473
12473
  function engineVersion() {
12474
- return true ? "0.2.8" : "0.0.0-dev";
12474
+ return true ? "0.2.10" : "0.0.0-dev";
12475
12475
  }
12476
12476
  function defaultUpdateCachePath() {
12477
12477
  const base = process.env["CROSSCHECK_DATA_DIR"] || import_node_path13.default.join(import_node_os2.default.homedir() || import_node_os2.default.tmpdir(), ".crosscheck");
@@ -14346,13 +14346,23 @@ function createServer(opts = {}) {
14346
14346
  const server = new import_server.Server(
14347
14347
  { name: SERVER_NAME, version: SERVER_VERSION },
14348
14348
  {
14349
- capabilities: { tools: {} },
14349
+ // listChanged: true + the oninitialized hook below tell a compliant
14350
+ // client to re-fetch tools/list on every fresh connection, instead of
14351
+ // trusting whatever schema it cached from a previous server process in
14352
+ // the same long-lived session — the mechanism a new tool arg (e.g. a
14353
+ // newly-added optional parameter) needs to actually become visible
14354
+ // without requiring a full client restart.
14355
+ capabilities: { tools: { listChanged: true } },
14350
14356
  // Surfaces the `xc` / `XC` prefix-routing convention to MCP
14351
14357
  // hosts that inject server instructions into the model's
14352
14358
  // context (e.g. Claude Code). See src/instructions.ts.
14353
14359
  instructions: renderInstructions()
14354
14360
  }
14355
14361
  );
14362
+ server.oninitialized = () => {
14363
+ void server.sendToolListChanged().catch(() => {
14364
+ });
14365
+ };
14356
14366
  const tools = buildToolRegistry(opts);
14357
14367
  server.setRequestHandler(import_types8.ListToolsRequestSchema, async () => ({
14358
14368
  tools: Array.from(tools.values()).map((t) => ({