@dalmia/calibrate-mcp 0.0.56 → 0.0.57

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/bin/mcp-server.js CHANGED
@@ -1435,7 +1435,7 @@ var init_versions = __esm(() => {
1435
1435
  version2 = {
1436
1436
  major: 4,
1437
1437
  minor: 6,
1438
- patch: 1
1438
+ patch: 2
1439
1439
  };
1440
1440
  });
1441
1441
 
@@ -1575,7 +1575,7 @@ function handlePropertyResult(result, final, key, input, optin, optout) {
1575
1575
  return;
1576
1576
  }
1577
1577
  if (result.value === undefined) {
1578
- if (isPresent) {
1578
+ if (isPresent || optin === "defaulted" && !isOptionalOut) {
1579
1579
  final.value[key] = undefined;
1580
1580
  }
1581
1581
  } else {
@@ -2502,16 +2502,16 @@ var init_schemas = __esm(() => {
2502
2502
  doc.write(`
2503
2503
  if (${id}.issues.length) {${prefixStr(id, k)}
2504
2504
  }
2505
-
2506
- if (${id}.value === undefined) {
2507
- if (${isPresent}) {
2508
- newResult[${k}] = undefined;
2509
- }
2510
- } else {
2505
+ `);
2506
+ if (optin === "defaulted") {
2507
+ doc.write(`newResult[${k}] = ${id}.value;`);
2508
+ } else {
2509
+ doc.write(`
2510
+ if (${id}.value !== undefined || ${isPresent}) {
2511
2511
  newResult[${k}] = ${id}.value;
2512
2512
  }
2513
-
2514
2513
  `);
2514
+ }
2515
2515
  }
2516
2516
  }
2517
2517
  doc.write(`payload.value = newResult;`);
@@ -52802,9 +52802,9 @@ var init_config = __esm(() => {
52802
52802
  SDK_METADATA = {
52803
52803
  language: "typescript",
52804
52804
  openapiDocVersion: "0.1.0",
52805
- sdkVersion: "0.0.56",
52805
+ sdkVersion: "0.0.57",
52806
52806
  genVersion: "2.915.1",
52807
- userAgent: "speakeasy-sdk/mcp-typescript 0.0.56 2.915.1 0.1.0 @dalmia/calibrate-mcp"
52807
+ userAgent: "speakeasy-sdk/mcp-typescript 0.0.57 2.915.1 0.1.0 @dalmia/calibrate-mcp"
52808
52808
  };
52809
52809
  });
52810
52810
 
@@ -61599,7 +61599,7 @@ hits its trace limit.
61599
61599
  function createMCPServer(deps) {
61600
61600
  const server = new McpServer({
61601
61601
  name: "CalibrateMcp",
61602
- version: "0.0.56"
61602
+ version: "0.0.57"
61603
61603
  });
61604
61604
  const getClient = deps.getSDK || (() => new CalibrateMcpCore({
61605
61605
  security: deps.security,
@@ -62888,7 +62888,7 @@ http_headers = { "api-key-auth" = "YOUR_API_KEY_AUTH" }`;
62888
62888
  <h1>Instructions</h1>
62889
62889
  <p>One-click installation for Claude Desktop users</p>
62890
62890
  <div class="instruction-item">
62891
- <a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.56/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
62891
+ <a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.57/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
62892
62892
  \uD83D\uDCE5 Download MCP Bundle
62893
62893
  </a>
62894
62894
  </div>
@@ -65772,7 +65772,7 @@ var routes = buildRouteMap({
65772
65772
  var app = buildApplication(routes, {
65773
65773
  name: "mcp",
65774
65774
  versionInfo: {
65775
- currentVersion: "0.0.56"
65775
+ currentVersion: "0.0.57"
65776
65776
  }
65777
65777
  });
65778
65778
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -65780,5 +65780,5 @@ export {
65780
65780
  app
65781
65781
  };
65782
65782
 
65783
- //# debugId=C691CAC01B9B4A3564756E2164756E21
65783
+ //# debugId=4CA7B963874437F364756E2164756E21
65784
65784
  //# sourceMappingURL=mcp-server.js.map