@dalmia/calibrate-mcp 0.0.21 → 0.0.22

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.
Files changed (77) hide show
  1. package/bin/mcp-server.js +75 -35
  2. package/bin/mcp-server.js.map +19 -16
  3. package/esm/landing-page.js +1 -1
  4. package/esm/lib/config.d.ts +2 -2
  5. package/esm/lib/config.js +2 -2
  6. package/esm/mcp-server/mcp-server.js +1 -1
  7. package/esm/mcp-server/server.js +1 -1
  8. package/esm/models/agentsummary.d.ts +32 -0
  9. package/esm/models/agentsummary.d.ts.map +1 -0
  10. package/esm/models/agentsummary.js +26 -0
  11. package/esm/models/agentsummary.js.map +1 -0
  12. package/esm/models/annotationtaskresponse.js +1 -1
  13. package/esm/models/annotationtaskresponse.js.map +1 -1
  14. package/esm/models/evaluatorliveversionsummary.d.ts +13 -0
  15. package/esm/models/evaluatorliveversionsummary.d.ts.map +1 -0
  16. package/esm/models/evaluatorliveversionsummary.js +12 -0
  17. package/esm/models/evaluatorliveversionsummary.js.map +1 -0
  18. package/esm/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.d.ts +2 -2
  19. package/esm/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.d.ts.map +1 -1
  20. package/esm/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.js +2 -2
  21. package/esm/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.js.map +1 -1
  22. package/esm/models/gettestendpointteststestuuidgetop.d.ts +2 -2
  23. package/esm/models/gettestendpointteststestuuidgetop.d.ts.map +1 -1
  24. package/esm/models/gettestendpointteststestuuidgetop.js +2 -2
  25. package/esm/models/gettestendpointteststestuuidgetop.js.map +1 -1
  26. package/esm/models/listagentsagentsgetop.d.ts +2 -2
  27. package/esm/models/listagentsagentsgetop.d.ts.map +1 -1
  28. package/esm/models/listagentsagentsgetop.js +2 -2
  29. package/esm/models/listagentsagentsgetop.js.map +1 -1
  30. package/esm/models/listteststestsgetop.d.ts +2 -2
  31. package/esm/models/listteststestsgetop.d.ts.map +1 -1
  32. package/esm/models/listteststestsgetop.js +2 -2
  33. package/esm/models/listteststestsgetop.js.map +1 -1
  34. package/esm/models/routersevaluatorsevaluatorresponse.d.ts +2 -2
  35. package/esm/models/routersevaluatorsevaluatorresponse.d.ts.map +1 -1
  36. package/esm/models/routersevaluatorsevaluatorresponse.js +2 -2
  37. package/esm/models/routersevaluatorsevaluatorresponse.js.map +1 -1
  38. package/esm/models/testlistconfig.d.ts +6 -0
  39. package/esm/models/testlistconfig.d.ts.map +1 -0
  40. package/esm/models/testlistconfig.js +8 -0
  41. package/esm/models/testlistconfig.js.map +1 -0
  42. package/esm/models/testlistresponse.d.ts +49 -0
  43. package/esm/models/testlistresponse.d.ts.map +1 -0
  44. package/esm/models/testlistresponse.js +33 -0
  45. package/esm/models/testlistresponse.js.map +1 -0
  46. package/esm/models/{routersteststestresponse.d.ts → testresponse.d.ts} +7 -7
  47. package/esm/models/testresponse.d.ts.map +1 -0
  48. package/esm/models/{routersteststestresponse.js → testresponse.js} +5 -5
  49. package/esm/models/testresponse.js.map +1 -0
  50. package/esm/models/updatetestendpointteststestuuidputop.d.ts +2 -2
  51. package/esm/models/updatetestendpointteststestuuidputop.d.ts.map +1 -1
  52. package/esm/models/updatetestendpointteststestuuidputop.js +2 -2
  53. package/esm/models/updatetestendpointteststestuuidputop.js.map +1 -1
  54. package/package.json +1 -1
  55. package/src/landing-page.ts +1 -1
  56. package/src/lib/config.ts +2 -2
  57. package/src/mcp-server/mcp-server.ts +1 -1
  58. package/src/mcp-server/server.ts +1 -1
  59. package/src/models/agentsummary.ts +53 -0
  60. package/src/models/annotationtaskresponse.ts +1 -1
  61. package/src/models/evaluatorliveversionsummary.ts +33 -0
  62. package/src/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.ts +5 -7
  63. package/src/models/gettestendpointteststestuuidgetop.ts +3 -6
  64. package/src/models/listagentsagentsgetop.ts +3 -6
  65. package/src/models/listteststestsgetop.ts +5 -5
  66. package/src/models/routersevaluatorsevaluatorresponse.ts +5 -5
  67. package/src/models/testlistconfig.ts +13 -0
  68. package/src/models/testlistresponse.ts +75 -0
  69. package/src/models/{routersteststestresponse.ts → testresponse.ts} +7 -11
  70. package/src/models/updatetestendpointteststestuuidputop.ts +3 -6
  71. package/esm/models/routersagentteststestresponse.d.ts +0 -41
  72. package/esm/models/routersagentteststestresponse.d.ts.map +0 -1
  73. package/esm/models/routersagentteststestresponse.js +0 -31
  74. package/esm/models/routersagentteststestresponse.js.map +0 -1
  75. package/esm/models/routersteststestresponse.d.ts.map +0 -1
  76. package/esm/models/routersteststestresponse.js.map +0 -1
  77. package/src/models/routersagentteststestresponse.ts +0 -65
package/bin/mcp-server.js CHANGED
@@ -51392,9 +51392,9 @@ var init_config = __esm(() => {
51392
51392
  SDK_METADATA = {
51393
51393
  language: "typescript",
51394
51394
  openapiDocVersion: "0.1.0",
51395
- sdkVersion: "0.0.21",
51395
+ sdkVersion: "0.0.22",
51396
51396
  genVersion: "2.915.1",
51397
- userAgent: "speakeasy-sdk/mcp-typescript 0.0.21 2.915.1 0.1.0 @dalmia/calibrate-mcp"
51397
+ userAgent: "speakeasy-sdk/mcp-typescript 0.0.22 2.915.1 0.1.0 @dalmia/calibrate-mcp"
51398
51398
  };
51399
51399
  });
51400
51400
 
@@ -53206,17 +53206,34 @@ exist or belongs to another org.
53206
53206
  };
53207
53207
  });
53208
53208
 
53209
+ // src/models/agentsummary.ts
53210
+ var AgentSummaryType$zodSchema, AgentSummary$zodSchema;
53211
+ var init_agentsummary = __esm(() => {
53212
+ init_zod();
53213
+ AgentSummaryType$zodSchema = _enum([
53214
+ "agent",
53215
+ "connection"
53216
+ ]).describe("- `agent`: built inside Calibrate\n- `connection`: your existing agent connected to Calibrate");
53217
+ AgentSummary$zodSchema = object({
53218
+ connection_verified: boolean2().nullable().optional().describe("Whether the agent's connection has been verified, for a `type=connection` agent"),
53219
+ name: string2().describe("Name of the agent"),
53220
+ type: AgentSummaryType$zodSchema.describe("- `agent`: built inside Calibrate\n- `connection`: your existing agent connected to Calibrate"),
53221
+ updated_at: string2().describe("When the agent was last updated (ISO 8601 UTC)"),
53222
+ uuid: string2().describe("ID of the agent")
53223
+ });
53224
+ });
53225
+
53209
53226
  // src/models/listagentsagentsgetop.ts
53210
53227
  var ListAgentsAgentsGetRequest$zodSchema, ListAgentsAgentsGetResponse$zodSchema;
53211
53228
  var init_listagentsagentsgetop = __esm(() => {
53212
53229
  init_zod();
53230
+ init_agentsummary();
53213
53231
  init_httpvalidationerror();
53214
- init_routersagentsagentresponse();
53215
53232
  ListAgentsAgentsGetRequest$zodSchema = object({
53216
53233
  xAPIKey: string2().nullable().optional()
53217
53234
  });
53218
53235
  ListAgentsAgentsGetResponse$zodSchema = union([
53219
- array(RoutersAgentsAgentResponse$zodSchema).describe("Successful Response"),
53236
+ array(AgentSummary$zodSchema).describe("Successful Response"),
53220
53237
  HTTPValidationError$zodSchema
53221
53238
  ]);
53222
53239
  });
@@ -54520,23 +54537,33 @@ var init_agentTestsLink2 = __esm(() => {
54520
54537
  };
54521
54538
  });
54522
54539
 
54523
- // src/models/routersagentteststestresponse.ts
54524
- var RoutersAgentTestsTestResponseType$zodSchema, RoutersAgentTestsTestResponse$zodSchema;
54525
- var init_routersagentteststestresponse = __esm(() => {
54540
+ // src/models/testlistconfig.ts
54541
+ var TestListConfig$zodSchema;
54542
+ var init_testlistconfig = __esm(() => {
54526
54543
  init_zod();
54527
- RoutersAgentTestsTestResponseType$zodSchema = _enum([
54544
+ TestListConfig$zodSchema = object({
54545
+ description: string2().nullable().optional().describe("Short description of the test, shown in list views and searched on")
54546
+ });
54547
+ });
54548
+
54549
+ // src/models/testlistresponse.ts
54550
+ var TestListResponseType$zodSchema, TestListResponse$zodSchema;
54551
+ var init_testlistresponse = __esm(() => {
54552
+ init_zod();
54553
+ init_testlistconfig();
54554
+ TestListResponseType$zodSchema = _enum([
54528
54555
  "response",
54529
54556
  "tool_call",
54530
54557
  "conversation"
54531
- ]).describe("What the test checks:\n- `response`: judges the reply the agent generates\n- `tool_call`: checks the tool calls the agent makes\n- `conversation`: judges the full conversation after the agent replies");
54532
- RoutersAgentTestsTestResponse$zodSchema = object({
54533
- config: record(string2(), any()).nullable().optional().describe("Test configuration"),
54558
+ ]).describe("What the test judges:\n\n- `response`: judges the generated reply\n- `tool_call`: diffs the generated tool calls\n- `conversation`: judges the full conversation\n");
54559
+ TestListResponse$zodSchema = object({
54560
+ config: TestListConfig$zodSchema.nullable().optional().describe("Trimmed config carrying only the test's description. Fetch the test by ID for the full config and evaluators"),
54534
54561
  created_at: string2().describe("When the test was created (ISO 8601 UTC)"),
54535
54562
  name: string2().describe("Name of the test"),
54536
- type: RoutersAgentTestsTestResponseType$zodSchema.describe("What the test checks:\n- `response`: judges the reply the agent generates\n- `tool_call`: checks the tool calls the agent makes\n- `conversation`: judges the full conversation after the agent replies"),
54563
+ type: TestListResponseType$zodSchema.describe("What the test judges:\n\n- `response`: judges the generated reply\n- `tool_call`: diffs the generated tool calls\n- `conversation`: judges the full conversation\n"),
54537
54564
  updated_at: string2().describe("When the test was last updated (ISO 8601 UTC)"),
54538
- uuid: string2().describe("Test ID")
54539
- });
54565
+ uuid: string2().describe("Unique ID for the test")
54566
+ }).describe("Trimmed test shape for list/index endpoints. The full config and hydrated\nevaluators live on the detail endpoint (`GET /tests/{uuid}`); the list keeps\nonly what list and attach-dropdown views render.");
54540
54567
  });
54541
54568
 
54542
54569
  // src/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.ts
@@ -54544,13 +54571,13 @@ var GetAgentTestsEndpointAgentTestsAgentAgentUuidTestsGetRequest$zodSchema, GetA
54544
54571
  var init_getagenttestsendpointagenttestsagentagentuuidtestsgetop = __esm(() => {
54545
54572
  init_zod();
54546
54573
  init_httpvalidationerror();
54547
- init_routersagentteststestresponse();
54574
+ init_testlistresponse();
54548
54575
  GetAgentTestsEndpointAgentTestsAgentAgentUuidTestsGetRequest$zodSchema = object({
54549
54576
  agent_uuid: string2().describe("Agent whose linked tests to list"),
54550
54577
  xAPIKey: string2().nullable().optional()
54551
54578
  });
54552
54579
  GetAgentTestsEndpointAgentTestsAgentAgentUuidTestsGetResponse$zodSchema = union([
54553
- array(RoutersAgentTestsTestResponse$zodSchema).describe("Successful Response"),
54580
+ array(TestListResponse$zodSchema).describe("Successful Response"),
54554
54581
  HTTPValidationError$zodSchema
54555
54582
  ]);
54556
54583
  });
@@ -55723,7 +55750,7 @@ var init_annotationtaskresponse = __esm(() => {
55723
55750
  AnnotationTaskResponse$zodSchema = object({
55724
55751
  created_at: string2().describe("When the task was created (ISO 8601 UTC)"),
55725
55752
  description: string2().nullable().optional().describe("The task's description"),
55726
- evaluators: array(record(string2(), any())).optional().describe("The evaluators linked to this task, in display order, each with its live version's rubric"),
55753
+ evaluators: array(record(string2(), any())).optional().describe("The evaluators linked to this task, in display order. Fetching one task by ID enriches each with its live version's rubric. Listing tasks returns lightweight metadata (uuid, name, type, position) only"),
55727
55754
  item_count: int().nullable().optional().describe("Number of items in the task"),
55728
55755
  items: array(record(string2(), any())).optional().describe("The task's items, each with its agreement stats. You get these when you fetch one task by ID, not when you list tasks"),
55729
55756
  jobs: array(record(string2(), any())).optional().describe("The task's labelling jobs. You get these when you fetch one task by ID, not when you list tasks"),
@@ -57461,11 +57488,24 @@ var init_evaluatorsGet2 = __esm(() => {
57461
57488
  };
57462
57489
  });
57463
57490
 
57491
+ // src/models/evaluatorliveversionsummary.ts
57492
+ var EvaluatorLiveVersionSummary$zodSchema;
57493
+ var init_evaluatorliveversionsummary = __esm(() => {
57494
+ init_zod();
57495
+ init_variablespec();
57496
+ EvaluatorLiveVersionSummary$zodSchema = object({
57497
+ judge_model: string2().describe("The model that runs the judge, named the way its provider does, for example `openai/gpt-4.1` or `anthropic/claude-sonnet-4`"),
57498
+ uuid: string2().describe("Version ID"),
57499
+ variables: array(VariableSpec$zodSchema).nullable().optional().describe("Declared prompt variables"),
57500
+ version_number: int().describe("The version's number. The first version is 1, and it goes up by one for each new version of the evaluator")
57501
+ }).describe("Slim view of the live version for list results, carrying only what the list needs.");
57502
+ });
57503
+
57464
57504
  // src/models/routersevaluatorsevaluatorresponse.ts
57465
57505
  var RoutersEvaluatorsEvaluatorResponseEvaluatorType$zodSchema, RoutersEvaluatorsEvaluatorResponseDataType$zodSchema, RoutersEvaluatorsEvaluatorResponseOutputType$zodSchema, RoutersEvaluatorsEvaluatorResponse$zodSchema;
57466
57506
  var init_routersevaluatorsevaluatorresponse = __esm(() => {
57467
57507
  init_zod();
57468
- init_evaluatorversionresponse();
57508
+ init_evaluatorliveversionsummary();
57469
57509
  RoutersEvaluatorsEvaluatorResponseEvaluatorType$zodSchema = _enum([
57470
57510
  "tts",
57471
57511
  "stt",
@@ -57487,7 +57527,7 @@ var init_routersevaluatorsevaluatorresponse = __esm(() => {
57487
57527
  description: string2().nullable().optional().describe("What the evaluator checks"),
57488
57528
  evaluator_type: RoutersEvaluatorsEvaluatorResponseEvaluatorType$zodSchema.describe("What the evaluator judges:\n\n- `tts`: TTS audio\n- `stt`: one transcript\n- `llm`: a reply with its conversation history\n- `llm-general`: a standalone input and output pair\n- `conversation`: a full conversation\n"),
57489
57529
  is_default: boolean2().describe("True for a built-in default evaluator, which you can't edit. False for an evaluator you created, which you can edit and add versions to"),
57490
- live_version: EvaluatorVersionResponse$zodSchema.nullable().optional().describe("The version that is currently live"),
57530
+ live_version: EvaluatorLiveVersionSummary$zodSchema.nullable().optional().describe("The version that is currently live"),
57491
57531
  live_version_id: string2().nullable().optional().describe("ID of the version that is currently live"),
57492
57532
  name: string2().describe("Evaluator name"),
57493
57533
  output_type: RoutersEvaluatorsEvaluatorResponseOutputType$zodSchema.describe("How the evaluator scores:\n\n- `binary`: pass or fail\n- `rating`: a numeric score, using the scale in `output_config`\n"),
@@ -58031,21 +58071,21 @@ Requires a Calibrate API key (CALIBRATE_API_KEY).
58031
58071
  };
58032
58072
  });
58033
58073
 
58034
- // src/models/routersteststestresponse.ts
58035
- var RoutersTestsTestResponseType$zodSchema, RoutersTestsTestResponse$zodSchema;
58036
- var init_routersteststestresponse = __esm(() => {
58074
+ // src/models/testresponse.ts
58075
+ var TestResponseType$zodSchema, TestResponse$zodSchema;
58076
+ var init_testresponse = __esm(() => {
58037
58077
  init_zod();
58038
- RoutersTestsTestResponseType$zodSchema = _enum([
58078
+ TestResponseType$zodSchema = _enum([
58039
58079
  "response",
58040
58080
  "tool_call",
58041
58081
  "conversation"
58042
58082
  ]).describe("What the test judges:\n\n- `response`: judges the generated reply\n- `tool_call`: diffs the generated tool calls\n- `conversation`: judges the full conversation\n");
58043
- RoutersTestsTestResponse$zodSchema = object({
58083
+ TestResponse$zodSchema = object({
58044
58084
  config: record(string2(), any()).nullable().optional().describe("The stored config: `history`, `evaluation`, and an optional `settings`"),
58045
58085
  created_at: string2().describe("When the test was created (ISO 8601 UTC)"),
58046
58086
  evaluators: array(record(string2(), any())).optional().describe("Linked evaluators, resolved to their current live version at read time"),
58047
58087
  name: string2().describe("Name of the test"),
58048
- type: RoutersTestsTestResponseType$zodSchema.describe("What the test judges:\n\n- `response`: judges the generated reply\n- `tool_call`: diffs the generated tool calls\n- `conversation`: judges the full conversation\n"),
58088
+ type: TestResponseType$zodSchema.describe("What the test judges:\n\n- `response`: judges the generated reply\n- `tool_call`: diffs the generated tool calls\n- `conversation`: judges the full conversation\n"),
58049
58089
  updated_at: string2().describe("When the test was last updated (ISO 8601 UTC)"),
58050
58090
  uuid: string2().describe("Unique ID for the test")
58051
58091
  });
@@ -58056,13 +58096,13 @@ var GetTestEndpointTestsTestUuidGetRequest$zodSchema, GetTestEndpointTestsTestUu
58056
58096
  var init_gettestendpointteststestuuidgetop = __esm(() => {
58057
58097
  init_zod();
58058
58098
  init_httpvalidationerror();
58059
- init_routersteststestresponse();
58099
+ init_testresponse();
58060
58100
  GetTestEndpointTestsTestUuidGetRequest$zodSchema = object({
58061
58101
  test_uuid: string2().describe("Test to retrieve"),
58062
58102
  xAPIKey: string2().nullable().optional()
58063
58103
  });
58064
58104
  GetTestEndpointTestsTestUuidGetResponse$zodSchema = union([
58065
- RoutersTestsTestResponse$zodSchema,
58105
+ TestResponse$zodSchema,
58066
58106
  HTTPValidationError$zodSchema
58067
58107
  ]);
58068
58108
  });
@@ -58191,12 +58231,12 @@ var ListTestsTestsGetRequest$zodSchema, ListTestsTestsGetResponse$zodSchema;
58191
58231
  var init_listteststestsgetop = __esm(() => {
58192
58232
  init_zod();
58193
58233
  init_httpvalidationerror();
58194
- init_routersteststestresponse();
58234
+ init_testlistresponse();
58195
58235
  ListTestsTestsGetRequest$zodSchema = object({
58196
58236
  xAPIKey: string2().nullable().optional()
58197
58237
  });
58198
58238
  ListTestsTestsGetResponse$zodSchema = union([
58199
- array(RoutersTestsTestResponse$zodSchema).describe("Successful Response"),
58239
+ array(TestListResponse$zodSchema).describe("Successful Response"),
58200
58240
  HTTPValidationError$zodSchema
58201
58241
  ]);
58202
58242
  });
@@ -58344,7 +58384,7 @@ var UpdateTestEndpointTestsTestUuidPutRequest$zodSchema, UpdateTestEndpointTests
58344
58384
  var init_updatetestendpointteststestuuidputop = __esm(() => {
58345
58385
  init_zod();
58346
58386
  init_httpvalidationerror();
58347
- init_routersteststestresponse();
58387
+ init_testresponse();
58348
58388
  init_testupdate();
58349
58389
  UpdateTestEndpointTestsTestUuidPutRequest$zodSchema = object({
58350
58390
  body: TestUpdate$zodSchema,
@@ -58352,7 +58392,7 @@ var init_updatetestendpointteststestuuidputop = __esm(() => {
58352
58392
  xAPIKey: string2().nullable().optional()
58353
58393
  });
58354
58394
  UpdateTestEndpointTestsTestUuidPutResponse$zodSchema = union([
58355
- RoutersTestsTestResponse$zodSchema,
58395
+ TestResponse$zodSchema,
58356
58396
  HTTPValidationError$zodSchema
58357
58397
  ]);
58358
58398
  });
@@ -58481,7 +58521,7 @@ fields to change (name, config). Returns the updated test. Fails with
58481
58521
  function createMCPServer(deps) {
58482
58522
  const server = new McpServer({
58483
58523
  name: "CalibrateMcp",
58484
- version: "0.0.21"
58524
+ version: "0.0.22"
58485
58525
  });
58486
58526
  const getClient = deps.getSDK || (() => new CalibrateMcpCore({
58487
58527
  security: deps.security,
@@ -59687,7 +59727,7 @@ http_headers = { "api-key-auth" = "YOUR_API_KEY_AUTH" }`;
59687
59727
  <h1>Instructions</h1>
59688
59728
  <p>One-click installation for Claude Desktop users</p>
59689
59729
  <div class="instruction-item">
59690
- <a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.21/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
59730
+ <a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.22/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
59691
59731
  \uD83D\uDCE5 Download MCP Bundle
59692
59732
  </a>
59693
59733
  </div>
@@ -62339,7 +62379,7 @@ var routes = buildRouteMap({
62339
62379
  var app = buildApplication(routes, {
62340
62380
  name: "mcp",
62341
62381
  versionInfo: {
62342
- currentVersion: "0.0.21"
62382
+ currentVersion: "0.0.22"
62343
62383
  }
62344
62384
  });
62345
62385
  run(app, process4.argv.slice(2), buildContext(process4));
@@ -62347,5 +62387,5 @@ export {
62347
62387
  app
62348
62388
  };
62349
62389
 
62350
- //# debugId=5A6E6EE0E3BB397164756E2164756E21
62390
+ //# debugId=5D121DD9360E345064756E2164756E21
62351
62391
  //# sourceMappingURL=mcp-server.js.map