@dalmia/calibrate-mcp 0.0.25 → 0.0.27

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 (109) hide show
  1. package/bin/mcp-server.js +734 -405
  2. package/bin/mcp-server.js.map +25 -17
  3. package/esm/funcs/agentsLinkEvaluators.d.ts +16 -0
  4. package/esm/funcs/agentsLinkEvaluators.d.ts.map +1 -0
  5. package/esm/funcs/agentsLinkEvaluators.js +92 -0
  6. package/esm/funcs/agentsLinkEvaluators.js.map +1 -0
  7. package/esm/funcs/agentsListEvaluators.d.ts +16 -0
  8. package/esm/funcs/agentsListEvaluators.d.ts.map +1 -0
  9. package/esm/funcs/agentsListEvaluators.js +97 -0
  10. package/esm/funcs/agentsListEvaluators.js.map +1 -0
  11. package/esm/funcs/annotationTasksSetEvaluators.d.ts +16 -0
  12. package/esm/funcs/annotationTasksSetEvaluators.d.ts.map +1 -0
  13. package/esm/funcs/{annotationTasksLinkEvaluator.js → annotationTasksSetEvaluators.js} +8 -8
  14. package/esm/funcs/{annotationTasksLinkEvaluator.js.map → annotationTasksSetEvaluators.js.map} +1 -1
  15. package/esm/landing-page.js +1 -1
  16. package/esm/lib/config.d.ts +2 -2
  17. package/esm/lib/config.js +2 -2
  18. package/esm/mcp-server/mcp-server.js +1 -1
  19. package/esm/mcp-server/server.d.ts.map +1 -1
  20. package/esm/mcp-server/server.js +7 -3
  21. package/esm/mcp-server/server.js.map +1 -1
  22. package/esm/mcp-server/tools/agentsLinkEvaluators.d.ts +7 -0
  23. package/esm/mcp-server/tools/agentsLinkEvaluators.d.ts.map +1 -0
  24. package/esm/mcp-server/tools/agentsLinkEvaluators.js +36 -0
  25. package/esm/mcp-server/tools/agentsLinkEvaluators.js.map +1 -0
  26. package/esm/mcp-server/tools/agentsListEvaluators.d.ts +7 -0
  27. package/esm/mcp-server/tools/agentsListEvaluators.d.ts.map +1 -0
  28. package/esm/mcp-server/tools/agentsListEvaluators.js +35 -0
  29. package/esm/mcp-server/tools/agentsListEvaluators.js.map +1 -0
  30. package/esm/mcp-server/tools/annotationTasksSetEvaluators.d.ts +7 -0
  31. package/esm/mcp-server/tools/annotationTasksSetEvaluators.d.ts.map +1 -0
  32. package/esm/mcp-server/tools/annotationTasksSetEvaluators.js +38 -0
  33. package/esm/mcp-server/tools/annotationTasksSetEvaluators.js.map +1 -0
  34. package/esm/models/evaluatorcreate.d.ts +1 -1
  35. package/esm/models/evaluatordetailresponsecompact.d.ts +1 -1
  36. package/esm/models/evaluatorsetrequest.d.ts +6 -0
  37. package/esm/models/evaluatorsetrequest.d.ts.map +1 -0
  38. package/esm/models/evaluatorsetrequest.js +9 -0
  39. package/esm/models/evaluatorsetrequest.js.map +1 -0
  40. package/esm/models/evaluatorsetresponse.d.ts +9 -0
  41. package/esm/models/evaluatorsetresponse.d.ts.map +1 -0
  42. package/esm/models/evaluatorsetresponse.js +12 -0
  43. package/esm/models/evaluatorsetresponse.js.map +1 -0
  44. package/esm/models/linkevaluatorstoagentagentsagentuuidevaluatorspostop.d.ts +13 -0
  45. package/esm/models/linkevaluatorstoagentagentsagentuuidevaluatorspostop.d.ts.map +1 -0
  46. package/esm/models/linkevaluatorstoagentagentsagentuuidevaluatorspostop.js +19 -0
  47. package/esm/models/linkevaluatorstoagentagentsagentuuidevaluatorspostop.js.map +1 -0
  48. package/esm/models/listagentevaluatorsagentsagentuuidevaluatorsgetop.d.ts +14 -0
  49. package/esm/models/listagentevaluatorsagentsagentuuidevaluatorsgetop.d.ts.map +1 -0
  50. package/esm/models/listagentevaluatorsagentsagentuuidevaluatorsgetop.js +18 -0
  51. package/esm/models/listagentevaluatorsagentsagentuuidevaluatorsgetop.js.map +1 -0
  52. package/esm/models/listevaluatorsevaluatorsgetop.d.ts +1 -1
  53. package/esm/models/routersagentsevaluatorlinkrequest.d.ts +6 -0
  54. package/esm/models/routersagentsevaluatorlinkrequest.d.ts.map +1 -0
  55. package/esm/models/routersagentsevaluatorlinkrequest.js +8 -0
  56. package/esm/models/routersagentsevaluatorlinkrequest.js.map +1 -0
  57. package/esm/models/routersagentsevaluatorlinkresponse.d.ts +8 -0
  58. package/esm/models/routersagentsevaluatorlinkresponse.d.ts.map +1 -0
  59. package/esm/models/routersagentsevaluatorlinkresponse.js +10 -0
  60. package/esm/models/routersagentsevaluatorlinkresponse.js.map +1 -0
  61. package/esm/models/routersevaluatorsevaluatorresponse.d.ts +1 -1
  62. package/esm/models/settaskevaluatorsannotationtaskstaskuuidevaluatorsputop.d.ts +13 -0
  63. package/esm/models/settaskevaluatorsannotationtaskstaskuuidevaluatorsputop.d.ts.map +1 -0
  64. package/esm/models/settaskevaluatorsannotationtaskstaskuuidevaluatorsputop.js +19 -0
  65. package/esm/models/settaskevaluatorsannotationtaskstaskuuidevaluatorsputop.js.map +1 -0
  66. package/esm/tool-names.d.ts.map +1 -1
  67. package/esm/tool-names.js +10 -2
  68. package/esm/tool-names.js.map +1 -1
  69. package/package.json +1 -1
  70. package/src/funcs/agentsLinkEvaluators.ts +160 -0
  71. package/src/funcs/agentsListEvaluators.ts +165 -0
  72. package/src/funcs/{annotationTasksLinkEvaluator.ts → annotationTasksSetEvaluators.ts} +11 -11
  73. package/src/landing-page.ts +1 -1
  74. package/src/lib/config.ts +2 -2
  75. package/src/mcp-server/mcp-server.ts +1 -1
  76. package/src/mcp-server/server.ts +7 -3
  77. package/src/mcp-server/tools/agentsLinkEvaluators.ts +45 -0
  78. package/src/mcp-server/tools/agentsListEvaluators.ts +44 -0
  79. package/src/mcp-server/tools/annotationTasksSetEvaluators.ts +48 -0
  80. package/src/models/evaluatorsetrequest.ts +14 -0
  81. package/src/models/evaluatorsetresponse.ts +28 -0
  82. package/src/models/linkevaluatorstoagentagentsagentuuidevaluatorspostop.ts +42 -0
  83. package/src/models/listagentevaluatorsagentsagentuuidevaluatorsgetop.ts +46 -0
  84. package/src/models/routersagentsevaluatorlinkrequest.ts +17 -0
  85. package/src/models/routersagentsevaluatorlinkresponse.ts +23 -0
  86. package/src/models/settaskevaluatorsannotationtaskstaskuuidevaluatorsputop.ts +42 -0
  87. package/src/tool-names.ts +10 -2
  88. package/esm/funcs/annotationTasksLinkEvaluator.d.ts +0 -16
  89. package/esm/funcs/annotationTasksLinkEvaluator.d.ts.map +0 -1
  90. package/esm/mcp-server/tools/annotationTasksLinkEvaluator.d.ts +0 -7
  91. package/esm/mcp-server/tools/annotationTasksLinkEvaluator.d.ts.map +0 -1
  92. package/esm/mcp-server/tools/annotationTasksLinkEvaluator.js +0 -34
  93. package/esm/mcp-server/tools/annotationTasksLinkEvaluator.js.map +0 -1
  94. package/esm/models/evaluatorlinkrequest.d.ts +0 -6
  95. package/esm/models/evaluatorlinkrequest.d.ts.map +0 -1
  96. package/esm/models/evaluatorlinkrequest.js +0 -9
  97. package/esm/models/evaluatorlinkrequest.js.map +0 -1
  98. package/esm/models/evaluatorlinkresponse.d.ts +0 -6
  99. package/esm/models/evaluatorlinkresponse.d.ts.map +0 -1
  100. package/esm/models/evaluatorlinkresponse.js +0 -8
  101. package/esm/models/evaluatorlinkresponse.js.map +0 -1
  102. package/esm/models/linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop.d.ts +0 -13
  103. package/esm/models/linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop.d.ts.map +0 -1
  104. package/esm/models/linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop.js +0 -18
  105. package/esm/models/linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop.js.map +0 -1
  106. package/src/mcp-server/tools/annotationTasksLinkEvaluator.ts +0 -44
  107. package/src/models/evaluatorlinkrequest.ts +0 -14
  108. package/src/models/evaluatorlinkresponse.ts +0 -12
  109. package/src/models/linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop.ts +0 -42
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.25",
51395
+ sdkVersion: "0.0.27",
51396
51396
  genVersion: "2.915.1",
51397
- userAgent: "speakeasy-sdk/mcp-typescript 0.0.25 2.915.1 0.1.0 @dalmia/calibrate-mcp"
51397
+ userAgent: "speakeasy-sdk/mcp-typescript 0.0.27 2.915.1 0.1.0 @dalmia/calibrate-mcp"
51398
51398
  };
51399
51399
  });
51400
51400
 
@@ -53206,6 +53206,164 @@ exist or belongs to another org.
53206
53206
  };
53207
53207
  });
53208
53208
 
53209
+ // src/models/routersagentsevaluatorlinkrequest.ts
53210
+ var RoutersAgentsEvaluatorLinkRequest$zodSchema;
53211
+ var init_routersagentsevaluatorlinkrequest = __esm(() => {
53212
+ init_zod();
53213
+ RoutersAgentsEvaluatorLinkRequest$zodSchema = object({
53214
+ evaluator_ids: array(string2()).describe("The evaluators to link to the agent. Ones that are already linked are skipped. Each must be one you created or a built-in default")
53215
+ });
53216
+ });
53217
+
53218
+ // src/models/routersagentsevaluatorlinkresponse.ts
53219
+ var RoutersAgentsEvaluatorLinkResponse$zodSchema;
53220
+ var init_routersagentsevaluatorlinkresponse = __esm(() => {
53221
+ init_zod();
53222
+ RoutersAgentsEvaluatorLinkResponse$zodSchema = object({
53223
+ already_linked: array(string2()).describe("Evaluator IDs skipped because they were already linked"),
53224
+ linked: array(string2()).describe("Evaluator IDs newly linked by this request"),
53225
+ message: string2().describe("Confirmation that the evaluators were linked")
53226
+ });
53227
+ });
53228
+
53229
+ // src/models/linkevaluatorstoagentagentsagentuuidevaluatorspostop.ts
53230
+ var LinkEvaluatorsToAgentAgentsAgentUuidEvaluatorsPostRequest$zodSchema, LinkEvaluatorsToAgentAgentsAgentUuidEvaluatorsPostResponse$zodSchema;
53231
+ var init_linkevaluatorstoagentagentsagentuuidevaluatorspostop = __esm(() => {
53232
+ init_zod();
53233
+ init_httpvalidationerror();
53234
+ init_routersagentsevaluatorlinkrequest();
53235
+ init_routersagentsevaluatorlinkresponse();
53236
+ LinkEvaluatorsToAgentAgentsAgentUuidEvaluatorsPostRequest$zodSchema = object({
53237
+ agent_uuid: string2().describe("The agent to link the evaluators to"),
53238
+ body: RoutersAgentsEvaluatorLinkRequest$zodSchema,
53239
+ xAPIKey: string2().nullable().optional()
53240
+ });
53241
+ LinkEvaluatorsToAgentAgentsAgentUuidEvaluatorsPostResponse$zodSchema = union([
53242
+ RoutersAgentsEvaluatorLinkResponse$zodSchema,
53243
+ HTTPValidationError$zodSchema
53244
+ ]);
53245
+ });
53246
+
53247
+ // src/funcs/agentsLinkEvaluators.ts
53248
+ function agentsLinkEvaluators(client$, request, options) {
53249
+ return new APIPromise($do3(client$, request, options));
53250
+ }
53251
+ async function $do3(client$, request, options) {
53252
+ const parsed$ = safeParse4(request, (value$) => LinkEvaluatorsToAgentAgentsAgentUuidEvaluatorsPostRequest$zodSchema.parse(value$), "Input validation failed");
53253
+ if (!parsed$.ok) {
53254
+ return [parsed$, { status: "invalid" }];
53255
+ }
53256
+ const payload$ = parsed$.value;
53257
+ const body$ = encodeJSON("body", payload$.body, { explode: true });
53258
+ const pathParams$ = {
53259
+ agent_uuid: encodeSimple("agent_uuid", payload$.agent_uuid, {
53260
+ explode: false,
53261
+ charEncoding: "percent"
53262
+ })
53263
+ };
53264
+ const path$ = pathToFunc("/agents/{agent_uuid}/evaluators")(pathParams$);
53265
+ const headers$ = new Headers(compactMap({
53266
+ "Content-Type": "application/json",
53267
+ Accept: "application/json",
53268
+ "X-API-Key": encodeSimple("X-API-Key", payload$.xAPIKey, {
53269
+ explode: false,
53270
+ charEncoding: "none"
53271
+ })
53272
+ }));
53273
+ const securityInput = await extractSecurity(client$._options.security);
53274
+ const requestSecurity = resolveGlobalSecurity(securityInput);
53275
+ const context = {
53276
+ options: client$._options,
53277
+ baseURL: options?.serverURL ?? client$._baseURL ?? "",
53278
+ operationID: "link_evaluators_to_agent_agents__agent_uuid__evaluators_post",
53279
+ oAuth2Scopes: null,
53280
+ resolvedSecurity: requestSecurity,
53281
+ securitySource: client$._options.security,
53282
+ retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
53283
+ retryCodes: options?.retryCodes || [
53284
+ "429",
53285
+ "500",
53286
+ "502",
53287
+ "503",
53288
+ "504"
53289
+ ]
53290
+ };
53291
+ const requestRes = client$._createRequest(context, {
53292
+ security: requestSecurity,
53293
+ method: "POST",
53294
+ baseURL: options?.serverURL,
53295
+ path: path$,
53296
+ headers: headers$,
53297
+ body: body$,
53298
+ userAgent: client$._options.userAgent,
53299
+ timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
53300
+ }, options);
53301
+ if (!requestRes.ok) {
53302
+ return [requestRes, { status: "invalid" }];
53303
+ }
53304
+ const req$ = requestRes.value;
53305
+ const doResult = await client$._do(req$, {
53306
+ context,
53307
+ errorCodes: [],
53308
+ retryConfig: context.retryConfig,
53309
+ retryCodes: context.retryCodes
53310
+ });
53311
+ if (!doResult.ok) {
53312
+ return [doResult, { status: "request-error", request: req$ }];
53313
+ }
53314
+ return [doResult, {
53315
+ status: "complete",
53316
+ request: req$,
53317
+ response: doResult.value
53318
+ }];
53319
+ }
53320
+ var init_agentsLinkEvaluators = __esm(() => {
53321
+ init_encodings();
53322
+ init_primitives();
53323
+ init_schemas4();
53324
+ init_security();
53325
+ init_url();
53326
+ init_linkevaluatorstoagentagentsagentuuidevaluatorspostop();
53327
+ init_async();
53328
+ });
53329
+
53330
+ // src/mcp-server/tools/agentsLinkEvaluators.ts
53331
+ var args3, tool$agentsLinkEvaluators;
53332
+ var init_agentsLinkEvaluators2 = __esm(() => {
53333
+ init_agentsLinkEvaluators();
53334
+ init_linkevaluatorstoagentagentsagentuuidevaluatorspostop();
53335
+ init_tools();
53336
+ args3 = {
53337
+ request: LinkEvaluatorsToAgentAgentsAgentUuidEvaluatorsPostRequest$zodSchema
53338
+ };
53339
+ tool$agentsLinkEvaluators = {
53340
+ name: "link-evaluators-to-agent",
53341
+ description: `Link one or more evaluators to an agent, skipping any already linked.
53342
+ Each evaluator must be one you created or a built-in default, and the
53343
+ agent must be in your workspace.
53344
+ `,
53345
+ scopes: ["write"],
53346
+ annotations: {
53347
+ title: "Link evaluators to an agent",
53348
+ destructiveHint: false,
53349
+ idempotentHint: true,
53350
+ openWorldHint: true,
53351
+ readOnlyHint: false
53352
+ },
53353
+ args: args3,
53354
+ tool: async (client, args4, ctx) => {
53355
+ const [result] = await agentsLinkEvaluators(client, args4.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53356
+ if (!result.ok) {
53357
+ return {
53358
+ content: [{ type: "text", text: result.error.message }],
53359
+ isError: true
53360
+ };
53361
+ }
53362
+ return formatResult(result.value);
53363
+ }
53364
+ };
53365
+ });
53366
+
53209
53367
  // src/models/agentsummary.ts
53210
53368
  var AgentSummaryType$zodSchema, AgentSummary$zodSchema;
53211
53369
  var init_agentsummary = __esm(() => {
@@ -53256,9 +53414,9 @@ var init_listagentsagentsgetop = __esm(() => {
53256
53414
 
53257
53415
  // src/funcs/agentsList.ts
53258
53416
  function agentsList(client$, request, options) {
53259
- return new APIPromise($do3(client$, request, options));
53417
+ return new APIPromise($do4(client$, request, options));
53260
53418
  }
53261
- async function $do3(client$, request, options) {
53419
+ async function $do4(client$, request, options) {
53262
53420
  const parsed$ = safeParse4(request, (value$) => ListAgentsAgentsGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
53263
53421
  if (!parsed$.ok) {
53264
53422
  return [parsed$, { status: "invalid" }];
@@ -53337,12 +53495,12 @@ var init_agentsList = __esm(() => {
53337
53495
  });
53338
53496
 
53339
53497
  // src/mcp-server/tools/agentsList.ts
53340
- var args3, tool$agentsList;
53498
+ var args4, tool$agentsList;
53341
53499
  var init_agentsList2 = __esm(() => {
53342
53500
  init_agentsList();
53343
53501
  init_listagentsagentsgetop();
53344
53502
  init_tools();
53345
- args3 = {
53503
+ args4 = {
53346
53504
  request: ListAgentsAgentsGetRequest$zodSchema.optional()
53347
53505
  };
53348
53506
  tool$agentsList = {
@@ -53354,15 +53512,231 @@ API key (CALIBRATE_API_KEY).
53354
53512
  `,
53355
53513
  scopes: ["read"],
53356
53514
  annotations: {
53357
- title: "List agents",
53515
+ title: "List agents",
53516
+ destructiveHint: false,
53517
+ idempotentHint: false,
53518
+ openWorldHint: true,
53519
+ readOnlyHint: true
53520
+ },
53521
+ args: args4,
53522
+ tool: async (client, args5, ctx) => {
53523
+ const [result] = await agentsList(client, args5.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53524
+ if (!result.ok) {
53525
+ return {
53526
+ content: [{ type: "text", text: result.error.message }],
53527
+ isError: true
53528
+ };
53529
+ }
53530
+ return formatResult(result.value);
53531
+ }
53532
+ };
53533
+ });
53534
+
53535
+ // src/models/variablespec.ts
53536
+ var VariableSpec$zodSchema;
53537
+ var init_variablespec = __esm(() => {
53538
+ init_zod();
53539
+ VariableSpec$zodSchema = object({
53540
+ default: string2().nullable().optional().describe("Default value used when you omit this variable. Omit for no default"),
53541
+ description: string2().nullable().optional().describe("What the variable is for. Omit if self-evident"),
53542
+ name: string2().describe('Name of a `{{"{{"}}placeholder}}` used in the system prompt')
53543
+ });
53544
+ });
53545
+
53546
+ // src/models/evaluatorliveversionsummary.ts
53547
+ var EvaluatorLiveVersionSummary$zodSchema;
53548
+ var init_evaluatorliveversionsummary = __esm(() => {
53549
+ init_zod();
53550
+ init_variablespec();
53551
+ EvaluatorLiveVersionSummary$zodSchema = object({
53552
+ 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`"),
53553
+ uuid: string2().describe("Version ID"),
53554
+ variables: array(VariableSpec$zodSchema).nullable().optional().describe("Declared prompt variables"),
53555
+ 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")
53556
+ }).describe("Slim view of the live version for list results, carrying only what the list needs.");
53557
+ });
53558
+
53559
+ // src/models/routersevaluatorsevaluatorresponse.ts
53560
+ var RoutersEvaluatorsEvaluatorResponseEvaluatorType$zodSchema, RoutersEvaluatorsEvaluatorResponseDataType$zodSchema, RoutersEvaluatorsEvaluatorResponseOutputType$zodSchema, RoutersEvaluatorsEvaluatorResponse$zodSchema;
53561
+ var init_routersevaluatorsevaluatorresponse = __esm(() => {
53562
+ init_zod();
53563
+ init_evaluatorliveversionsummary();
53564
+ RoutersEvaluatorsEvaluatorResponseEvaluatorType$zodSchema = _enum([
53565
+ "tts",
53566
+ "stt",
53567
+ "llm",
53568
+ "llm-general",
53569
+ "conversation"
53570
+ ]).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");
53571
+ RoutersEvaluatorsEvaluatorResponseDataType$zodSchema = _enum([
53572
+ "text",
53573
+ "audio"
53574
+ ]).describe("The modality the judge reads:\n\n- `text`\n- `audio`\n");
53575
+ RoutersEvaluatorsEvaluatorResponseOutputType$zodSchema = _enum([
53576
+ "binary",
53577
+ "rating"
53578
+ ]).describe("How the evaluator scores:\n\n- `binary`: pass or fail\n- `rating`: a numeric score, using the scale in `output_config`\n");
53579
+ RoutersEvaluatorsEvaluatorResponse$zodSchema = object({
53580
+ created_at: string2().describe("When the evaluator was created (ISO 8601 UTC)"),
53581
+ data_type: RoutersEvaluatorsEvaluatorResponseDataType$zodSchema.describe("The modality the judge reads:\n\n- `text`\n- `audio`\n"),
53582
+ description: string2().nullable().optional().describe("What the evaluator checks"),
53583
+ 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"),
53584
+ 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"),
53585
+ live_version: EvaluatorLiveVersionSummary$zodSchema.nullable().optional().describe("The version that is currently live"),
53586
+ live_version_id: string2().nullable().optional().describe("ID of the version that is currently live"),
53587
+ name: string2().describe("Evaluator name"),
53588
+ 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"),
53589
+ slug: string2().nullable().optional().describe("Stable slug for a built-in default evaluator"),
53590
+ updated_at: string2().describe("When the evaluator was last updated (ISO 8601 UTC)"),
53591
+ uuid: string2().describe("Evaluator ID")
53592
+ });
53593
+ });
53594
+
53595
+ // src/models/paginatedresponseevaluatorresponse.ts
53596
+ var PaginatedResponseEvaluatorResponse$zodSchema;
53597
+ var init_paginatedresponseevaluatorresponse = __esm(() => {
53598
+ init_zod();
53599
+ init_routersevaluatorsevaluatorresponse();
53600
+ PaginatedResponseEvaluatorResponse$zodSchema = object({
53601
+ items: array(RoutersEvaluatorsEvaluatorResponse$zodSchema).describe("The page of results"),
53602
+ limit: int().nullable().optional().describe("The applied `limit` (null when unbounded)"),
53603
+ offset: int().default(0).describe("The applied `offset`"),
53604
+ total: int().describe("Total number of items matching the query, before pagination")
53605
+ });
53606
+ });
53607
+
53608
+ // src/models/listagentevaluatorsagentsagentuuidevaluatorsgetop.ts
53609
+ var ListAgentEvaluatorsAgentsAgentUuidEvaluatorsGetRequest$zodSchema, ListAgentEvaluatorsAgentsAgentUuidEvaluatorsGetResponse$zodSchema;
53610
+ var init_listagentevaluatorsagentsagentuuidevaluatorsgetop = __esm(() => {
53611
+ init_zod();
53612
+ init_httpvalidationerror();
53613
+ init_paginatedresponseevaluatorresponse();
53614
+ ListAgentEvaluatorsAgentsAgentUuidEvaluatorsGetRequest$zodSchema = object({
53615
+ agent_uuid: string2().describe("The agent whose evaluators to list"),
53616
+ limit: int().describe("Maximum number of items to return. Omit for no limit (all items)").nullable().optional(),
53617
+ offset: int().default(0).describe("Number of items to skip before returning results"),
53618
+ q: string2().describe("Case-insensitive substring search on `name`. Blank is a no-op").nullable().optional(),
53619
+ xAPIKey: string2().nullable().optional()
53620
+ });
53621
+ ListAgentEvaluatorsAgentsAgentUuidEvaluatorsGetResponse$zodSchema = union([
53622
+ PaginatedResponseEvaluatorResponse$zodSchema,
53623
+ HTTPValidationError$zodSchema
53624
+ ]);
53625
+ });
53626
+
53627
+ // src/funcs/agentsListEvaluators.ts
53628
+ function agentsListEvaluators(client$, request, options) {
53629
+ return new APIPromise($do5(client$, request, options));
53630
+ }
53631
+ async function $do5(client$, request, options) {
53632
+ const parsed$ = safeParse4(request, (value$) => ListAgentEvaluatorsAgentsAgentUuidEvaluatorsGetRequest$zodSchema.parse(value$), "Input validation failed");
53633
+ if (!parsed$.ok) {
53634
+ return [parsed$, { status: "invalid" }];
53635
+ }
53636
+ const payload$ = parsed$.value;
53637
+ const body$ = null;
53638
+ const pathParams$ = {
53639
+ agent_uuid: encodeSimple("agent_uuid", payload$.agent_uuid, {
53640
+ explode: false,
53641
+ charEncoding: "percent"
53642
+ })
53643
+ };
53644
+ const path$ = pathToFunc("/agents/{agent_uuid}/evaluators")(pathParams$);
53645
+ const query$ = encodeFormQuery({
53646
+ limit: payload$.limit,
53647
+ offset: payload$.offset,
53648
+ q: payload$.q
53649
+ });
53650
+ const headers$ = new Headers(compactMap({
53651
+ Accept: "application/json",
53652
+ "X-API-Key": encodeSimple("X-API-Key", payload$.xAPIKey, {
53653
+ explode: false,
53654
+ charEncoding: "none"
53655
+ })
53656
+ }));
53657
+ const securityInput = await extractSecurity(client$._options.security);
53658
+ const requestSecurity = resolveGlobalSecurity(securityInput);
53659
+ const context = {
53660
+ options: client$._options,
53661
+ baseURL: options?.serverURL ?? client$._baseURL ?? "",
53662
+ operationID: "list_agent_evaluators_agents__agent_uuid__evaluators_get",
53663
+ oAuth2Scopes: null,
53664
+ resolvedSecurity: requestSecurity,
53665
+ securitySource: client$._options.security,
53666
+ retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
53667
+ retryCodes: options?.retryCodes || [
53668
+ "429",
53669
+ "500",
53670
+ "502",
53671
+ "503",
53672
+ "504"
53673
+ ]
53674
+ };
53675
+ const requestRes = client$._createRequest(context, {
53676
+ security: requestSecurity,
53677
+ method: "GET",
53678
+ baseURL: options?.serverURL,
53679
+ path: path$,
53680
+ headers: headers$,
53681
+ query: query$,
53682
+ body: body$,
53683
+ userAgent: client$._options.userAgent,
53684
+ timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
53685
+ }, options);
53686
+ if (!requestRes.ok) {
53687
+ return [requestRes, { status: "invalid" }];
53688
+ }
53689
+ const req$ = requestRes.value;
53690
+ const doResult = await client$._do(req$, {
53691
+ context,
53692
+ errorCodes: [],
53693
+ retryConfig: context.retryConfig,
53694
+ retryCodes: context.retryCodes
53695
+ });
53696
+ if (!doResult.ok) {
53697
+ return [doResult, { status: "request-error", request: req$ }];
53698
+ }
53699
+ return [doResult, {
53700
+ status: "complete",
53701
+ request: req$,
53702
+ response: doResult.value
53703
+ }];
53704
+ }
53705
+ var init_agentsListEvaluators = __esm(() => {
53706
+ init_encodings();
53707
+ init_primitives();
53708
+ init_schemas4();
53709
+ init_security();
53710
+ init_url();
53711
+ init_listagentevaluatorsagentsagentuuidevaluatorsgetop();
53712
+ init_async();
53713
+ });
53714
+
53715
+ // src/mcp-server/tools/agentsListEvaluators.ts
53716
+ var args5, tool$agentsListEvaluators;
53717
+ var init_agentsListEvaluators2 = __esm(() => {
53718
+ init_agentsListEvaluators();
53719
+ init_listagentevaluatorsagentsagentuuidevaluatorsgetop();
53720
+ init_tools();
53721
+ args5 = {
53722
+ request: ListAgentEvaluatorsAgentsAgentUuidEvaluatorsGetRequest$zodSchema
53723
+ };
53724
+ tool$agentsListEvaluators = {
53725
+ name: "list-agent-evaluators",
53726
+ description: `List the evaluators linked to an agent, most recently linked first.
53727
+ Returns each evaluator's UUID, name, type, and live version summary.
53728
+ `,
53729
+ scopes: ["read"],
53730
+ annotations: {
53731
+ title: "List evaluators linked to an agent",
53358
53732
  destructiveHint: false,
53359
53733
  idempotentHint: false,
53360
53734
  openWorldHint: true,
53361
53735
  readOnlyHint: true
53362
53736
  },
53363
- args: args3,
53364
- tool: async (client, args4, ctx) => {
53365
- const [result] = await agentsList(client, args4.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53737
+ args: args5,
53738
+ tool: async (client, args6, ctx) => {
53739
+ const [result] = await agentsListEvaluators(client, args6.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53366
53740
  if (!result.ok) {
53367
53741
  return {
53368
53742
  content: [{ type: "text", text: result.error.message }],
@@ -53412,9 +53786,9 @@ var init_resolveagentnamesagentsresolvepostop = __esm(() => {
53412
53786
 
53413
53787
  // src/funcs/agentsResolve.ts
53414
53788
  function agentsResolve(client$, request, options) {
53415
- return new APIPromise($do4(client$, request, options));
53789
+ return new APIPromise($do6(client$, request, options));
53416
53790
  }
53417
- async function $do4(client$, request, options) {
53791
+ async function $do6(client$, request, options) {
53418
53792
  const parsed$ = safeParse4(request, (value$) => ResolveAgentNamesAgentsResolvePostRequest$zodSchema.parse(value$), "Input validation failed");
53419
53793
  if (!parsed$.ok) {
53420
53794
  return [parsed$, { status: "invalid" }];
@@ -53488,12 +53862,12 @@ var init_agentsResolve = __esm(() => {
53488
53862
  });
53489
53863
 
53490
53864
  // src/mcp-server/tools/agentsResolve.ts
53491
- var args4, tool$agentsResolve;
53865
+ var args6, tool$agentsResolve;
53492
53866
  var init_agentsResolve2 = __esm(() => {
53493
53867
  init_agentsResolve();
53494
53868
  init_resolveagentnamesagentsresolvepostop();
53495
53869
  init_tools();
53496
- args4 = {
53870
+ args6 = {
53497
53871
  request: ResolveAgentNamesAgentsResolvePostRequest$zodSchema
53498
53872
  };
53499
53873
  tool$agentsResolve = {
@@ -53511,9 +53885,9 @@ of UUIDs. Does not create or modify agents.
53511
53885
  openWorldHint: true,
53512
53886
  readOnlyHint: true
53513
53887
  },
53514
- args: args4,
53515
- tool: async (client, args5, ctx) => {
53516
- const [result] = await agentsResolve(client, args5.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53888
+ args: args6,
53889
+ tool: async (client, args7, ctx) => {
53890
+ const [result] = await agentsResolve(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53517
53891
  if (!result.ok) {
53518
53892
  return {
53519
53893
  content: [{ type: "text", text: result.error.message }],
@@ -53555,9 +53929,9 @@ var init_updateagentendpointagentsagentuuidputop = __esm(() => {
53555
53929
 
53556
53930
  // src/funcs/agentsUpdate.ts
53557
53931
  function agentsUpdate(client$, request, options) {
53558
- return new APIPromise($do5(client$, request, options));
53932
+ return new APIPromise($do7(client$, request, options));
53559
53933
  }
53560
- async function $do5(client$, request, options) {
53934
+ async function $do7(client$, request, options) {
53561
53935
  const parsed$ = safeParse4(request, (value$) => UpdateAgentEndpointAgentsAgentUuidPutRequest$zodSchema.parse(value$), "Input validation failed");
53562
53936
  if (!parsed$.ok) {
53563
53937
  return [parsed$, { status: "invalid" }];
@@ -53637,12 +54011,12 @@ var init_agentsUpdate = __esm(() => {
53637
54011
  });
53638
54012
 
53639
54013
  // src/mcp-server/tools/agentsUpdate.ts
53640
- var args5, tool$agentsUpdate;
54014
+ var args7, tool$agentsUpdate;
53641
54015
  var init_agentsUpdate2 = __esm(() => {
53642
54016
  init_agentsUpdate();
53643
54017
  init_updateagentendpointagentsagentuuidputop();
53644
54018
  init_tools();
53645
- args5 = {
54019
+ args7 = {
53646
54020
  request: UpdateAgentEndpointAgentsAgentUuidPutRequest$zodSchema
53647
54021
  };
53648
54022
  tool$agentsUpdate = {
@@ -53659,9 +54033,9 @@ Fails with 404 if the agent does not exist or belongs to another org.
53659
54033
  openWorldHint: true,
53660
54034
  readOnlyHint: false
53661
54035
  },
53662
- args: args5,
53663
- tool: async (client, args6, ctx) => {
53664
- const [result] = await agentsUpdate(client, args6.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54036
+ args: args7,
54037
+ tool: async (client, args8, ctx) => {
54038
+ const [result] = await agentsUpdate(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53665
54039
  if (!result.ok) {
53666
54040
  return {
53667
54041
  content: [{ type: "text", text: result.error.message }],
@@ -53714,9 +54088,9 @@ var init_verifyagentconnectionagentsagentuuidverifyconnectionpostop = __esm(() =
53714
54088
 
53715
54089
  // src/funcs/agentsVerifyConnection.ts
53716
54090
  function agentsVerifyConnection(client$, request, options) {
53717
- return new APIPromise($do6(client$, request, options));
54091
+ return new APIPromise($do8(client$, request, options));
53718
54092
  }
53719
- async function $do6(client$, request, options) {
54093
+ async function $do8(client$, request, options) {
53720
54094
  const parsed$ = safeParse4(request, (value$) => VerifyAgentConnectionAgentsAgentUuidVerifyConnectionPostRequest$zodSchema.parse(value$), "Input validation failed");
53721
54095
  if (!parsed$.ok) {
53722
54096
  return [parsed$, { status: "invalid" }];
@@ -53796,12 +54170,12 @@ var init_agentsVerifyConnection = __esm(() => {
53796
54170
  });
53797
54171
 
53798
54172
  // src/mcp-server/tools/agentsVerifyConnection.ts
53799
- var args6, tool$agentsVerifyConnection;
54173
+ var args8, tool$agentsVerifyConnection;
53800
54174
  var init_agentsVerifyConnection2 = __esm(() => {
53801
54175
  init_agentsVerifyConnection();
53802
54176
  init_verifyagentconnectionagentsagentuuidverifyconnectionpostop();
53803
54177
  init_tools();
53804
- args6 = {
54178
+ args8 = {
53805
54179
  request: VerifyAgentConnectionAgentsAgentUuidVerifyConnectionPostRequest$zodSchema
53806
54180
  };
53807
54181
  tool$agentsVerifyConnection = {
@@ -53816,9 +54190,9 @@ var init_agentsVerifyConnection2 = __esm(() => {
53816
54190
  openWorldHint: true,
53817
54191
  readOnlyHint: false
53818
54192
  },
53819
- args: args6,
53820
- tool: async (client, args7, ctx) => {
53821
- const [result] = await agentsVerifyConnection(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54193
+ args: args8,
54194
+ tool: async (client, args9, ctx) => {
54195
+ const [result] = await agentsVerifyConnection(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53822
54196
  if (!result.ok) {
53823
54197
  return {
53824
54198
  content: [{ type: "text", text: result.error.message }],
@@ -53874,9 +54248,9 @@ var init_runagentbenchmarkagenttestsagentagentuuidbenchmarkpostop = __esm(() =>
53874
54248
 
53875
54249
  // src/funcs/agentTestsBenchmark.ts
53876
54250
  function agentTestsBenchmark(client$, request, options) {
53877
- return new APIPromise($do7(client$, request, options));
54251
+ return new APIPromise($do9(client$, request, options));
53878
54252
  }
53879
- async function $do7(client$, request, options) {
54253
+ async function $do9(client$, request, options) {
53880
54254
  const parsed$ = safeParse4(request, (value$) => RunAgentBenchmarkAgentTestsAgentAgentUuidBenchmarkPostRequest$zodSchema.parse(value$), "Input validation failed");
53881
54255
  if (!parsed$.ok) {
53882
54256
  return [parsed$, { status: "invalid" }];
@@ -53956,12 +54330,12 @@ var init_agentTestsBenchmark = __esm(() => {
53956
54330
  });
53957
54331
 
53958
54332
  // src/mcp-server/tools/agentTestsBenchmark.ts
53959
- var args7, tool$agentTestsBenchmark;
54333
+ var args9, tool$agentTestsBenchmark;
53960
54334
  var init_agentTestsBenchmark2 = __esm(() => {
53961
54335
  init_agentTestsBenchmark();
53962
54336
  init_runagentbenchmarkagenttestsagentagentuuidbenchmarkpostop();
53963
54337
  init_tools();
53964
- args7 = {
54338
+ args9 = {
53965
54339
  request: RunAgentBenchmarkAgentTestsAgentAgentUuidBenchmarkPostRequest$zodSchema
53966
54340
  };
53967
54341
  tool$agentTestsBenchmark = {
@@ -53976,9 +54350,9 @@ var init_agentTestsBenchmark2 = __esm(() => {
53976
54350
  openWorldHint: true,
53977
54351
  readOnlyHint: false
53978
54352
  },
53979
- args: args7,
53980
- tool: async (client, args8, ctx) => {
53981
- const [result] = await agentTestsBenchmark(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54353
+ args: args9,
54354
+ tool: async (client, args10, ctx) => {
54355
+ const [result] = await agentTestsBenchmark(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
53982
54356
  if (!result.ok) {
53983
54357
  return {
53984
54358
  content: [{ type: "text", text: result.error.message }],
@@ -54137,9 +54511,9 @@ var init_getbenchmarkstatusagenttestsbenchmarktaskidgetop = __esm(() => {
54137
54511
 
54138
54512
  // src/funcs/agentTestsGetBenchmark.ts
54139
54513
  function agentTestsGetBenchmark(client$, request, options) {
54140
- return new APIPromise($do8(client$, request, options));
54514
+ return new APIPromise($do10(client$, request, options));
54141
54515
  }
54142
- async function $do8(client$, request, options) {
54516
+ async function $do10(client$, request, options) {
54143
54517
  const parsed$ = safeParse4(request, (value$) => GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetRequest$zodSchema.parse(value$), "Input validation failed");
54144
54518
  if (!parsed$.ok) {
54145
54519
  return [parsed$, { status: "invalid" }];
@@ -54223,12 +54597,12 @@ var init_agentTestsGetBenchmark = __esm(() => {
54223
54597
  });
54224
54598
 
54225
54599
  // src/mcp-server/tools/agentTestsGetBenchmark.ts
54226
- var args8, tool$agentTestsGetBenchmark;
54600
+ var args10, tool$agentTestsGetBenchmark;
54227
54601
  var init_agentTestsGetBenchmark2 = __esm(() => {
54228
54602
  init_agentTestsGetBenchmark();
54229
54603
  init_getbenchmarkstatusagenttestsbenchmarktaskidgetop();
54230
54604
  init_tools();
54231
- args8 = {
54605
+ args10 = {
54232
54606
  request: GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetRequest$zodSchema
54233
54607
  };
54234
54608
  tool$agentTestsGetBenchmark = {
@@ -54243,9 +54617,9 @@ var init_agentTestsGetBenchmark2 = __esm(() => {
54243
54617
  openWorldHint: true,
54244
54618
  readOnlyHint: true
54245
54619
  },
54246
- args: args8,
54247
- tool: async (client, args9, ctx) => {
54248
- const [result] = await agentTestsGetBenchmark(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54620
+ args: args10,
54621
+ tool: async (client, args11, ctx) => {
54622
+ const [result] = await agentTestsGetBenchmark(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54249
54623
  if (!result.ok) {
54250
54624
  return {
54251
54625
  content: [{ type: "text", text: result.error.message }],
@@ -54301,9 +54675,9 @@ var init_getagenttestrunstatusagenttestsruntaskidgetop = __esm(() => {
54301
54675
 
54302
54676
  // src/funcs/agentTestsGetRun.ts
54303
54677
  function agentTestsGetRun(client$, request, options) {
54304
- return new APIPromise($do9(client$, request, options));
54678
+ return new APIPromise($do11(client$, request, options));
54305
54679
  }
54306
- async function $do9(client$, request, options) {
54680
+ async function $do11(client$, request, options) {
54307
54681
  const parsed$ = safeParse4(request, (value$) => GetAgentTestRunStatusAgentTestsRunTaskIdGetRequest$zodSchema.parse(value$), "Input validation failed");
54308
54682
  if (!parsed$.ok) {
54309
54683
  return [parsed$, { status: "invalid" }];
@@ -54387,12 +54761,12 @@ var init_agentTestsGetRun = __esm(() => {
54387
54761
  });
54388
54762
 
54389
54763
  // src/mcp-server/tools/agentTestsGetRun.ts
54390
- var args9, tool$agentTestsGetRun;
54764
+ var args11, tool$agentTestsGetRun;
54391
54765
  var init_agentTestsGetRun2 = __esm(() => {
54392
54766
  init_agentTestsGetRun();
54393
54767
  init_getagenttestrunstatusagenttestsruntaskidgetop();
54394
54768
  init_tools();
54395
- args9 = {
54769
+ args11 = {
54396
54770
  request: GetAgentTestRunStatusAgentTestsRunTaskIdGetRequest$zodSchema
54397
54771
  };
54398
54772
  tool$agentTestsGetRun = {
@@ -54411,9 +54785,9 @@ run-agent-tests-batch.
54411
54785
  openWorldHint: true,
54412
54786
  readOnlyHint: true
54413
54787
  },
54414
- args: args9,
54415
- tool: async (client, args10, ctx) => {
54416
- const [result] = await agentTestsGetRun(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54788
+ args: args11,
54789
+ tool: async (client, args12, ctx) => {
54790
+ const [result] = await agentTestsGetRun(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54417
54791
  if (!result.ok) {
54418
54792
  return {
54419
54793
  content: [{ type: "text", text: result.error.message }],
@@ -54463,9 +54837,9 @@ var init_createagenttestlinksagenttestspostop = __esm(() => {
54463
54837
 
54464
54838
  // src/funcs/agentTestsLink.ts
54465
54839
  function agentTestsLink(client$, request, options) {
54466
- return new APIPromise($do10(client$, request, options));
54840
+ return new APIPromise($do12(client$, request, options));
54467
54841
  }
54468
- async function $do10(client$, request, options) {
54842
+ async function $do12(client$, request, options) {
54469
54843
  const parsed$ = safeParse4(request, (value$) => CreateAgentTestLinksAgentTestsPostRequest$zodSchema.parse(value$), "Input validation failed");
54470
54844
  if (!parsed$.ok) {
54471
54845
  return [parsed$, { status: "invalid" }];
@@ -54539,12 +54913,12 @@ var init_agentTestsLink = __esm(() => {
54539
54913
  });
54540
54914
 
54541
54915
  // src/mcp-server/tools/agentTestsLink.ts
54542
- var args10, tool$agentTestsLink;
54916
+ var args12, tool$agentTestsLink;
54543
54917
  var init_agentTestsLink2 = __esm(() => {
54544
54918
  init_agentTestsLink();
54545
54919
  init_createagenttestlinksagenttestspostop();
54546
54920
  init_tools();
54547
- args10 = {
54921
+ args12 = {
54548
54922
  request: CreateAgentTestLinksAgentTestsPostRequest$zodSchema
54549
54923
  };
54550
54924
  tool$agentTestsLink = {
@@ -54559,9 +54933,9 @@ var init_agentTestsLink2 = __esm(() => {
54559
54933
  openWorldHint: true,
54560
54934
  readOnlyHint: false
54561
54935
  },
54562
- args: args10,
54563
- tool: async (client, args11, ctx) => {
54564
- const [result] = await agentTestsLink(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54936
+ args: args12,
54937
+ tool: async (client, args13, ctx) => {
54938
+ const [result] = await agentTestsLink(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54565
54939
  if (!result.ok) {
54566
54940
  return {
54567
54941
  content: [{ type: "text", text: result.error.message }],
@@ -54636,9 +55010,9 @@ var init_getagenttestsendpointagenttestsagentagentuuidtestsgetop = __esm(() => {
54636
55010
 
54637
55011
  // src/funcs/agentTestsListForAgent.ts
54638
55012
  function agentTestsListForAgent(client$, request, options) {
54639
- return new APIPromise($do11(client$, request, options));
55013
+ return new APIPromise($do13(client$, request, options));
54640
55014
  }
54641
- async function $do11(client$, request, options) {
55015
+ async function $do13(client$, request, options) {
54642
55016
  const parsed$ = safeParse4(request, (value$) => GetAgentTestsEndpointAgentTestsAgentAgentUuidTestsGetRequest$zodSchema.parse(value$), "Input validation failed");
54643
55017
  if (!parsed$.ok) {
54644
55018
  return [parsed$, { status: "invalid" }];
@@ -54723,12 +55097,12 @@ var init_agentTestsListForAgent = __esm(() => {
54723
55097
  });
54724
55098
 
54725
55099
  // src/mcp-server/tools/agentTestsListForAgent.ts
54726
- var args11, tool$agentTestsListForAgent;
55100
+ var args13, tool$agentTestsListForAgent;
54727
55101
  var init_agentTestsListForAgent2 = __esm(() => {
54728
55102
  init_agentTestsListForAgent();
54729
55103
  init_getagenttestsendpointagenttestsagentagentuuidtestsgetop();
54730
55104
  init_tools();
54731
- args11 = {
55105
+ args13 = {
54732
55106
  request: GetAgentTestsEndpointAgentTestsAgentAgentUuidTestsGetRequest$zodSchema
54733
55107
  };
54734
55108
  tool$agentTestsListForAgent = {
@@ -54743,9 +55117,9 @@ var init_agentTestsListForAgent2 = __esm(() => {
54743
55117
  openWorldHint: true,
54744
55118
  readOnlyHint: true
54745
55119
  },
54746
- args: args11,
54747
- tool: async (client, args12, ctx) => {
54748
- const [result] = await agentTestsListForAgent(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55120
+ args: args13,
55121
+ tool: async (client, args14, ctx) => {
55122
+ const [result] = await agentTestsListForAgent(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54749
55123
  if (!result.ok) {
54750
55124
  return {
54751
55125
  content: [{ type: "text", text: result.error.message }],
@@ -54857,9 +55231,9 @@ var init_getagenttestrunsagenttestsagentagentuuidrunsgetop = __esm(() => {
54857
55231
 
54858
55232
  // src/funcs/agentTestsListRunsForAgent.ts
54859
55233
  function agentTestsListRunsForAgent(client$, request, options) {
54860
- return new APIPromise($do12(client$, request, options));
55234
+ return new APIPromise($do14(client$, request, options));
54861
55235
  }
54862
- async function $do12(client$, request, options) {
55236
+ async function $do14(client$, request, options) {
54863
55237
  const parsed$ = safeParse4(request, (value$) => GetAgentTestRunsAgentTestsAgentAgentUuidRunsGetRequest$zodSchema.parse(value$), "Input validation failed");
54864
55238
  if (!parsed$.ok) {
54865
55239
  return [parsed$, { status: "invalid" }];
@@ -54946,12 +55320,12 @@ var init_agentTestsListRunsForAgent = __esm(() => {
54946
55320
  });
54947
55321
 
54948
55322
  // src/mcp-server/tools/agentTestsListRunsForAgent.ts
54949
- var args12, tool$agentTestsListRunsForAgent;
55323
+ var args14, tool$agentTestsListRunsForAgent;
54950
55324
  var init_agentTestsListRunsForAgent2 = __esm(() => {
54951
55325
  init_agentTestsListRunsForAgent();
54952
55326
  init_getagenttestrunsagenttestsagentagentuuidrunsgetop();
54953
55327
  init_tools();
54954
- args12 = {
55328
+ args14 = {
54955
55329
  request: GetAgentTestRunsAgentTestsAgentAgentUuidRunsGetRequest$zodSchema
54956
55330
  };
54957
55331
  tool$agentTestsListRunsForAgent = {
@@ -54966,9 +55340,9 @@ var init_agentTestsListRunsForAgent2 = __esm(() => {
54966
55340
  openWorldHint: true,
54967
55341
  readOnlyHint: true
54968
55342
  },
54969
- args: args12,
54970
- tool: async (client, args13, ctx) => {
54971
- const [result] = await agentTestsListRunsForAgent(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55343
+ args: args14,
55344
+ tool: async (client, args15, ctx) => {
55345
+ const [result] = await agentTestsListRunsForAgent(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
54972
55346
  if (!result.ok) {
54973
55347
  return {
54974
55348
  content: [{ type: "text", text: result.error.message }],
@@ -55009,9 +55383,9 @@ var init_runagenttestagenttestsagentagentuuidrunpostop = __esm(() => {
55009
55383
 
55010
55384
  // src/funcs/agentTestsRun.ts
55011
55385
  function agentTestsRun(client$, request, options) {
55012
- return new APIPromise($do13(client$, request, options));
55386
+ return new APIPromise($do15(client$, request, options));
55013
55387
  }
55014
- async function $do13(client$, request, options) {
55388
+ async function $do15(client$, request, options) {
55015
55389
  const parsed$ = safeParse4(request, (value$) => RunAgentTestAgentTestsAgentAgentUuidRunPostRequest$zodSchema.parse(value$), "Input validation failed");
55016
55390
  if (!parsed$.ok) {
55017
55391
  return [parsed$, { status: "invalid" }];
@@ -55091,12 +55465,12 @@ var init_agentTestsRun = __esm(() => {
55091
55465
  });
55092
55466
 
55093
55467
  // src/mcp-server/tools/agentTestsRun.ts
55094
- var args13, tool$agentTestsRun;
55468
+ var args15, tool$agentTestsRun;
55095
55469
  var init_agentTestsRun2 = __esm(() => {
55096
55470
  init_agentTestsRun();
55097
55471
  init_runagenttestagenttestsagentagentuuidrunpostop();
55098
55472
  init_tools();
55099
- args13 = {
55473
+ args15 = {
55100
55474
  request: RunAgentTestAgentTestsAgentAgentUuidRunPostRequest$zodSchema
55101
55475
  };
55102
55476
  tool$agentTestsRun = {
@@ -55115,9 +55489,9 @@ or 404.
55115
55489
  openWorldHint: true,
55116
55490
  readOnlyHint: false
55117
55491
  },
55118
- args: args13,
55119
- tool: async (client, args14, ctx) => {
55120
- const [result] = await agentTestsRun(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55492
+ args: args15,
55493
+ tool: async (client, args16, ctx) => {
55494
+ const [result] = await agentTestsRun(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55121
55495
  if (!result.ok) {
55122
55496
  return {
55123
55497
  content: [{ type: "text", text: result.error.message }],
@@ -55200,9 +55574,9 @@ var init_runtestsbatchagenttestsrunpostop = __esm(() => {
55200
55574
 
55201
55575
  // src/funcs/agentTestsRunBatch.ts
55202
55576
  function agentTestsRunBatch(client$, request, options) {
55203
- return new APIPromise($do14(client$, request, options));
55577
+ return new APIPromise($do16(client$, request, options));
55204
55578
  }
55205
- async function $do14(client$, request, options) {
55579
+ async function $do16(client$, request, options) {
55206
55580
  const parsed$ = safeParse4(request, (value$) => RunTestsBatchAgentTestsRunPostRequest$zodSchema.optional().parse(value$), "Input validation failed");
55207
55581
  if (!parsed$.ok) {
55208
55582
  return [parsed$, { status: "invalid" }];
@@ -55276,12 +55650,12 @@ var init_agentTestsRunBatch = __esm(() => {
55276
55650
  });
55277
55651
 
55278
55652
  // src/mcp-server/tools/agentTestsRunBatch.ts
55279
- var args14, tool$agentTestsRunBatch;
55653
+ var args16, tool$agentTestsRunBatch;
55280
55654
  var init_agentTestsRunBatch2 = __esm(() => {
55281
55655
  init_agentTestsRunBatch();
55282
55656
  init_runtestsbatchagenttestsrunpostop();
55283
55657
  init_tools();
55284
- args14 = {
55658
+ args16 = {
55285
55659
  request: RunTestsBatchAgentTestsRunPostRequest$zodSchema.optional()
55286
55660
  };
55287
55661
  tool$agentTestsRunBatch = {
@@ -55300,9 +55674,9 @@ task_id values to poll with get-agent-test-run.
55300
55674
  openWorldHint: true,
55301
55675
  readOnlyHint: false
55302
55676
  },
55303
- args: args14,
55304
- tool: async (client, args15, ctx) => {
55305
- const [result] = await agentTestsRunBatch(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55677
+ args: args16,
55678
+ tool: async (client, args17, ctx) => {
55679
+ const [result] = await agentTestsRunBatch(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55306
55680
  if (!result.ok) {
55307
55681
  return {
55308
55682
  content: [{ type: "text", text: result.error.message }],
@@ -55368,9 +55742,9 @@ var init_bulkcreateitemsannotationtaskstaskuuiditemspostop = __esm(() => {
55368
55742
 
55369
55743
  // src/funcs/annotationTasksAddItems.ts
55370
55744
  function annotationTasksAddItems(client$, request, options) {
55371
- return new APIPromise($do15(client$, request, options));
55745
+ return new APIPromise($do17(client$, request, options));
55372
55746
  }
55373
- async function $do15(client$, request, options) {
55747
+ async function $do17(client$, request, options) {
55374
55748
  const parsed$ = safeParse4(request, (value$) => BulkCreateItemsAnnotationTasksTaskUuidItemsPostRequest$zodSchema.parse(value$), "Input validation failed");
55375
55749
  if (!parsed$.ok) {
55376
55750
  return [parsed$, { status: "invalid" }];
@@ -55450,12 +55824,12 @@ var init_annotationTasksAddItems = __esm(() => {
55450
55824
  });
55451
55825
 
55452
55826
  // src/mcp-server/tools/annotationTasksAddItems.ts
55453
- var args15, tool$annotationTasksAddItems;
55827
+ var args17, tool$annotationTasksAddItems;
55454
55828
  var init_annotationTasksAddItems2 = __esm(() => {
55455
55829
  init_annotationTasksAddItems();
55456
55830
  init_bulkcreateitemsannotationtaskstaskuuiditemspostop();
55457
55831
  init_tools();
55458
- args15 = {
55832
+ args17 = {
55459
55833
  request: BulkCreateItemsAnnotationTasksTaskUuidItemsPostRequest$zodSchema
55460
55834
  };
55461
55835
  tool$annotationTasksAddItems = {
@@ -55470,9 +55844,9 @@ var init_annotationTasksAddItems2 = __esm(() => {
55470
55844
  openWorldHint: true,
55471
55845
  readOnlyHint: false
55472
55846
  },
55473
- args: args15,
55474
- tool: async (client, args16, ctx) => {
55475
- const [result] = await annotationTasksAddItems(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55847
+ args: args17,
55848
+ tool: async (client, args18, ctx) => {
55849
+ const [result] = await annotationTasksAddItems(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55476
55850
  if (!result.ok) {
55477
55851
  return {
55478
55852
  content: [{ type: "text", text: result.error.message }],
@@ -55531,9 +55905,9 @@ var init_createannotationtaskendpointannotationtaskspostop = __esm(() => {
55531
55905
 
55532
55906
  // src/funcs/annotationTasksCreate.ts
55533
55907
  function annotationTasksCreate(client$, request, options) {
55534
- return new APIPromise($do16(client$, request, options));
55908
+ return new APIPromise($do18(client$, request, options));
55535
55909
  }
55536
- async function $do16(client$, request, options) {
55910
+ async function $do18(client$, request, options) {
55537
55911
  const parsed$ = safeParse4(request, (value$) => CreateAnnotationTaskEndpointAnnotationTasksPostRequest$zodSchema.parse(value$), "Input validation failed");
55538
55912
  if (!parsed$.ok) {
55539
55913
  return [parsed$, { status: "invalid" }];
@@ -55607,12 +55981,12 @@ var init_annotationTasksCreate = __esm(() => {
55607
55981
  });
55608
55982
 
55609
55983
  // src/mcp-server/tools/annotationTasksCreate.ts
55610
- var args16, tool$annotationTasksCreate;
55984
+ var args18, tool$annotationTasksCreate;
55611
55985
  var init_annotationTasksCreate2 = __esm(() => {
55612
55986
  init_annotationTasksCreate();
55613
55987
  init_createannotationtaskendpointannotationtaskspostop();
55614
55988
  init_tools();
55615
- args16 = {
55989
+ args18 = {
55616
55990
  request: CreateAnnotationTaskEndpointAnnotationTasksPostRequest$zodSchema
55617
55991
  };
55618
55992
  tool$annotationTasksCreate = {
@@ -55627,9 +56001,9 @@ var init_annotationTasksCreate2 = __esm(() => {
55627
56001
  openWorldHint: true,
55628
56002
  readOnlyHint: false
55629
56003
  },
55630
- args: args16,
55631
- tool: async (client, args17, ctx) => {
55632
- const [result] = await annotationTasksCreate(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56004
+ args: args18,
56005
+ tool: async (client, args19, ctx) => {
56006
+ const [result] = await annotationTasksCreate(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55633
56007
  if (!result.ok) {
55634
56008
  return {
55635
56009
  content: [{ type: "text", text: result.error.message }],
@@ -55700,9 +56074,9 @@ var init_startevaluatorrunannotationtaskstaskuuidevaluatorrunspostop = __esm(()
55700
56074
 
55701
56075
  // src/funcs/annotationTasksCreateEvaluatorRun.ts
55702
56076
  function annotationTasksCreateEvaluatorRun(client$, request, options) {
55703
- return new APIPromise($do17(client$, request, options));
56077
+ return new APIPromise($do19(client$, request, options));
55704
56078
  }
55705
- async function $do17(client$, request, options) {
56079
+ async function $do19(client$, request, options) {
55706
56080
  const parsed$ = safeParse4(request, (value$) => StartEvaluatorRunAnnotationTasksTaskUuidEvaluatorRunsPostRequest$zodSchema.parse(value$), "Input validation failed");
55707
56081
  if (!parsed$.ok) {
55708
56082
  return [parsed$, { status: "invalid" }];
@@ -55782,12 +56156,12 @@ var init_annotationTasksCreateEvaluatorRun = __esm(() => {
55782
56156
  });
55783
56157
 
55784
56158
  // src/mcp-server/tools/annotationTasksCreateEvaluatorRun.ts
55785
- var args17, tool$annotationTasksCreateEvaluatorRun;
56159
+ var args19, tool$annotationTasksCreateEvaluatorRun;
55786
56160
  var init_annotationTasksCreateEvaluatorRun2 = __esm(() => {
55787
56161
  init_annotationTasksCreateEvaluatorRun();
55788
56162
  init_startevaluatorrunannotationtaskstaskuuidevaluatorrunspostop();
55789
56163
  init_tools();
55790
- args17 = {
56164
+ args19 = {
55791
56165
  request: StartEvaluatorRunAnnotationTasksTaskUuidEvaluatorRunsPostRequest$zodSchema
55792
56166
  };
55793
56167
  tool$annotationTasksCreateEvaluatorRun = {
@@ -55802,9 +56176,9 @@ var init_annotationTasksCreateEvaluatorRun2 = __esm(() => {
55802
56176
  openWorldHint: true,
55803
56177
  readOnlyHint: false
55804
56178
  },
55805
- args: args17,
55806
- tool: async (client, args18, ctx) => {
55807
- const [result] = await annotationTasksCreateEvaluatorRun(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56179
+ args: args19,
56180
+ tool: async (client, args20, ctx) => {
56181
+ const [result] = await annotationTasksCreateEvaluatorRun(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55808
56182
  if (!result.ok) {
55809
56183
  return {
55810
56184
  content: [{ type: "text", text: result.error.message }],
@@ -55858,9 +56232,9 @@ var init_getannotationtaskendpointannotationtaskstaskuuidgetop = __esm(() => {
55858
56232
 
55859
56233
  // src/funcs/annotationTasksGet.ts
55860
56234
  function annotationTasksGet(client$, request, options) {
55861
- return new APIPromise($do18(client$, request, options));
56235
+ return new APIPromise($do20(client$, request, options));
55862
56236
  }
55863
- async function $do18(client$, request, options) {
56237
+ async function $do20(client$, request, options) {
55864
56238
  const parsed$ = safeParse4(request, (value$) => GetAnnotationTaskEndpointAnnotationTasksTaskUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
55865
56239
  if (!parsed$.ok) {
55866
56240
  return [parsed$, { status: "invalid" }];
@@ -55939,12 +56313,12 @@ var init_annotationTasksGet = __esm(() => {
55939
56313
  });
55940
56314
 
55941
56315
  // src/mcp-server/tools/annotationTasksGet.ts
55942
- var args18, tool$annotationTasksGet;
56316
+ var args20, tool$annotationTasksGet;
55943
56317
  var init_annotationTasksGet2 = __esm(() => {
55944
56318
  init_annotationTasksGet();
55945
56319
  init_getannotationtaskendpointannotationtaskstaskuuidgetop();
55946
56320
  init_tools();
55947
- args18 = {
56321
+ args20 = {
55948
56322
  request: GetAnnotationTaskEndpointAnnotationTasksTaskUuidGetRequest$zodSchema
55949
56323
  };
55950
56324
  tool$annotationTasksGet = {
@@ -55959,9 +56333,9 @@ var init_annotationTasksGet2 = __esm(() => {
55959
56333
  openWorldHint: true,
55960
56334
  readOnlyHint: true
55961
56335
  },
55962
- args: args18,
55963
- tool: async (client, args19, ctx) => {
55964
- const [result] = await annotationTasksGet(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56336
+ args: args20,
56337
+ tool: async (client, args21, ctx) => {
56338
+ const [result] = await annotationTasksGet(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55965
56339
  if (!result.ok) {
55966
56340
  return {
55967
56341
  content: [{ type: "text", text: result.error.message }],
@@ -56051,9 +56425,9 @@ var init_taskagreementannotationtaskstaskuuidagreementgetop = __esm(() => {
56051
56425
 
56052
56426
  // src/funcs/annotationTasksGetAgreement.ts
56053
56427
  function annotationTasksGetAgreement(client$, request, options) {
56054
- return new APIPromise($do19(client$, request, options));
56428
+ return new APIPromise($do21(client$, request, options));
56055
56429
  }
56056
- async function $do19(client$, request, options) {
56430
+ async function $do21(client$, request, options) {
56057
56431
  const parsed$ = safeParse4(request, (value$) => TaskAgreementAnnotationTasksTaskUuidAgreementGetRequest$zodSchema.parse(value$), "Input validation failed");
56058
56432
  if (!parsed$.ok) {
56059
56433
  return [parsed$, { status: "invalid" }];
@@ -56137,12 +56511,12 @@ var init_annotationTasksGetAgreement = __esm(() => {
56137
56511
  });
56138
56512
 
56139
56513
  // src/mcp-server/tools/annotationTasksGetAgreement.ts
56140
- var args19, tool$annotationTasksGetAgreement;
56514
+ var args21, tool$annotationTasksGetAgreement;
56141
56515
  var init_annotationTasksGetAgreement2 = __esm(() => {
56142
56516
  init_annotationTasksGetAgreement();
56143
56517
  init_taskagreementannotationtaskstaskuuidagreementgetop();
56144
56518
  init_tools();
56145
- args19 = {
56519
+ args21 = {
56146
56520
  request: TaskAgreementAnnotationTasksTaskUuidAgreementGetRequest$zodSchema
56147
56521
  };
56148
56522
  tool$annotationTasksGetAgreement = {
@@ -56157,9 +56531,9 @@ var init_annotationTasksGetAgreement2 = __esm(() => {
56157
56531
  openWorldHint: true,
56158
56532
  readOnlyHint: true
56159
56533
  },
56160
- args: args19,
56161
- tool: async (client, args20, ctx) => {
56162
- const [result] = await annotationTasksGetAgreement(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56534
+ args: args21,
56535
+ tool: async (client, args22, ctx) => {
56536
+ const [result] = await annotationTasksGetAgreement(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56163
56537
  if (!result.ok) {
56164
56538
  return {
56165
56539
  content: [{ type: "text", text: result.error.message }],
@@ -56236,9 +56610,9 @@ var init_getevaluatorrunjobannotationtaskstaskuuidevaluatorrunsjobuuidgetop = __
56236
56610
 
56237
56611
  // src/funcs/annotationTasksGetEvaluatorRun.ts
56238
56612
  function annotationTasksGetEvaluatorRun(client$, request, options) {
56239
- return new APIPromise($do20(client$, request, options));
56613
+ return new APIPromise($do22(client$, request, options));
56240
56614
  }
56241
- async function $do20(client$, request, options) {
56615
+ async function $do22(client$, request, options) {
56242
56616
  const parsed$ = safeParse4(request, (value$) => GetEvaluatorRunJobAnnotationTasksTaskUuidEvaluatorRunsJobUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
56243
56617
  if (!parsed$.ok) {
56244
56618
  return [parsed$, { status: "invalid" }];
@@ -56321,12 +56695,12 @@ var init_annotationTasksGetEvaluatorRun = __esm(() => {
56321
56695
  });
56322
56696
 
56323
56697
  // src/mcp-server/tools/annotationTasksGetEvaluatorRun.ts
56324
- var args20, tool$annotationTasksGetEvaluatorRun;
56698
+ var args22, tool$annotationTasksGetEvaluatorRun;
56325
56699
  var init_annotationTasksGetEvaluatorRun2 = __esm(() => {
56326
56700
  init_annotationTasksGetEvaluatorRun();
56327
56701
  init_getevaluatorrunjobannotationtaskstaskuuidevaluatorrunsjobuuidgetop();
56328
56702
  init_tools();
56329
- args20 = {
56703
+ args22 = {
56330
56704
  request: GetEvaluatorRunJobAnnotationTasksTaskUuidEvaluatorRunsJobUuidGetRequest$zodSchema
56331
56705
  };
56332
56706
  tool$annotationTasksGetEvaluatorRun = {
@@ -56341,9 +56715,9 @@ var init_annotationTasksGetEvaluatorRun2 = __esm(() => {
56341
56715
  openWorldHint: true,
56342
56716
  readOnlyHint: true
56343
56717
  },
56344
- args: args20,
56345
- tool: async (client, args21, ctx) => {
56346
- const [result] = await annotationTasksGetEvaluatorRun(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56718
+ args: args22,
56719
+ tool: async (client, args23, ctx) => {
56720
+ const [result] = await annotationTasksGetEvaluatorRun(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56347
56721
  if (!result.ok) {
56348
56722
  return {
56349
56723
  content: [{ type: "text", text: result.error.message }],
@@ -56436,9 +56810,9 @@ var init_tasksummaryannotationtaskstaskuuidsummarygetop = __esm(() => {
56436
56810
 
56437
56811
  // src/funcs/annotationTasksGetSummary.ts
56438
56812
  function annotationTasksGetSummary(client$, request, options) {
56439
- return new APIPromise($do21(client$, request, options));
56813
+ return new APIPromise($do23(client$, request, options));
56440
56814
  }
56441
- async function $do21(client$, request, options) {
56815
+ async function $do23(client$, request, options) {
56442
56816
  const parsed$ = safeParse4(request, (value$) => TaskSummaryAnnotationTasksTaskUuidSummaryGetRequest$zodSchema.parse(value$), "Input validation failed");
56443
56817
  if (!parsed$.ok) {
56444
56818
  return [parsed$, { status: "invalid" }];
@@ -56529,12 +56903,12 @@ var init_annotationTasksGetSummary = __esm(() => {
56529
56903
  });
56530
56904
 
56531
56905
  // src/mcp-server/tools/annotationTasksGetSummary.ts
56532
- var args21, tool$annotationTasksGetSummary;
56906
+ var args23, tool$annotationTasksGetSummary;
56533
56907
  var init_annotationTasksGetSummary2 = __esm(() => {
56534
56908
  init_annotationTasksGetSummary();
56535
56909
  init_tasksummaryannotationtaskstaskuuidsummarygetop();
56536
56910
  init_tools();
56537
- args21 = {
56911
+ args23 = {
56538
56912
  request: TaskSummaryAnnotationTasksTaskUuidSummaryGetRequest$zodSchema
56539
56913
  };
56540
56914
  tool$annotationTasksGetSummary = {
@@ -56549,9 +56923,9 @@ var init_annotationTasksGetSummary2 = __esm(() => {
56549
56923
  openWorldHint: true,
56550
56924
  readOnlyHint: true
56551
56925
  },
56552
- args: args21,
56553
- tool: async (client, args22, ctx) => {
56554
- const [result] = await annotationTasksGetSummary(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56926
+ args: args23,
56927
+ tool: async (client, args24, ctx) => {
56928
+ const [result] = await annotationTasksGetSummary(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56555
56929
  if (!result.ok) {
56556
56930
  return {
56557
56931
  content: [{ type: "text", text: result.error.message }],
@@ -56563,64 +56937,57 @@ var init_annotationTasksGetSummary2 = __esm(() => {
56563
56937
  };
56564
56938
  });
56565
56939
 
56566
- // src/models/evaluatorlinkrequest.ts
56567
- var EvaluatorLinkRequest$zodSchema;
56568
- var init_evaluatorlinkrequest = __esm(() => {
56569
- init_zod();
56570
- EvaluatorLinkRequest$zodSchema = object({
56571
- evaluator_id: string2().describe("The evaluator to link. Must be one you created or a built-in default")
56572
- });
56573
- });
56574
-
56575
- // src/models/evaluatorlinkresponse.ts
56576
- var EvaluatorLinkResponse$zodSchema;
56577
- var init_evaluatorlinkresponse = __esm(() => {
56940
+ // src/models/paginatedresponseannotationtaskresponse.ts
56941
+ var PaginatedResponseAnnotationTaskResponse$zodSchema;
56942
+ var init_paginatedresponseannotationtaskresponse = __esm(() => {
56578
56943
  init_zod();
56579
- EvaluatorLinkResponse$zodSchema = object({
56580
- message: string2().describe("Confirmation that the evaluator was linked")
56944
+ init_annotationtaskresponse();
56945
+ PaginatedResponseAnnotationTaskResponse$zodSchema = object({
56946
+ items: array(AnnotationTaskResponse$zodSchema).describe("The page of results"),
56947
+ limit: int().nullable().optional().describe("The applied `limit` (null when unbounded)"),
56948
+ offset: int().default(0).describe("The applied `offset`"),
56949
+ total: int().describe("Total number of items matching the query, before pagination")
56581
56950
  });
56582
56951
  });
56583
56952
 
56584
- // src/models/linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop.ts
56585
- var LinkEvaluatorToTaskAnnotationTasksTaskUuidEvaluatorsPostRequest$zodSchema, LinkEvaluatorToTaskAnnotationTasksTaskUuidEvaluatorsPostResponse$zodSchema;
56586
- var init_linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop = __esm(() => {
56953
+ // src/models/listannotationtasksannotationtasksgetop.ts
56954
+ var ListAnnotationTasksAnnotationTasksGetRequest$zodSchema, ListAnnotationTasksAnnotationTasksGetResponse$zodSchema;
56955
+ var init_listannotationtasksannotationtasksgetop = __esm(() => {
56587
56956
  init_zod();
56588
- init_evaluatorlinkrequest();
56589
- init_evaluatorlinkresponse();
56590
56957
  init_httpvalidationerror();
56591
- LinkEvaluatorToTaskAnnotationTasksTaskUuidEvaluatorsPostRequest$zodSchema = object({
56592
- body: EvaluatorLinkRequest$zodSchema,
56593
- task_uuid: string2().describe("Annotation task to act on"),
56958
+ init_paginatedresponseannotationtaskresponse();
56959
+ ListAnnotationTasksAnnotationTasksGetRequest$zodSchema = object({
56960
+ limit: int().describe("Maximum number of items to return. Omit for no limit (all items)").nullable().optional(),
56961
+ offset: int().default(0).describe("Number of items to skip before returning results"),
56962
+ q: string2().describe("Case-insensitive substring search on `name`. Blank is a no-op").nullable().optional(),
56594
56963
  xAPIKey: string2().nullable().optional()
56595
56964
  });
56596
- LinkEvaluatorToTaskAnnotationTasksTaskUuidEvaluatorsPostResponse$zodSchema = union([
56597
- EvaluatorLinkResponse$zodSchema,
56965
+ ListAnnotationTasksAnnotationTasksGetResponse$zodSchema = union([
56966
+ PaginatedResponseAnnotationTaskResponse$zodSchema,
56598
56967
  HTTPValidationError$zodSchema
56599
56968
  ]);
56600
56969
  });
56601
56970
 
56602
- // src/funcs/annotationTasksLinkEvaluator.ts
56603
- function annotationTasksLinkEvaluator(client$, request, options) {
56604
- return new APIPromise($do22(client$, request, options));
56971
+ // src/funcs/annotationTasksList.ts
56972
+ function annotationTasksList(client$, request, options) {
56973
+ return new APIPromise($do24(client$, request, options));
56605
56974
  }
56606
- async function $do22(client$, request, options) {
56607
- const parsed$ = safeParse4(request, (value$) => LinkEvaluatorToTaskAnnotationTasksTaskUuidEvaluatorsPostRequest$zodSchema.parse(value$), "Input validation failed");
56975
+ async function $do24(client$, request, options) {
56976
+ const parsed$ = safeParse4(request, (value$) => ListAnnotationTasksAnnotationTasksGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
56608
56977
  if (!parsed$.ok) {
56609
56978
  return [parsed$, { status: "invalid" }];
56610
56979
  }
56611
56980
  const payload$ = parsed$.value;
56612
- const body$ = encodeJSON("body", payload$.body, { explode: true });
56613
- const pathParams$ = {
56614
- task_uuid: encodeSimple("task_uuid", payload$.task_uuid, {
56615
- explode: false,
56616
- charEncoding: "percent"
56617
- })
56618
- };
56619
- const path$ = pathToFunc("/annotation-tasks/{task_uuid}/evaluators")(pathParams$);
56981
+ const body$ = null;
56982
+ const path$ = pathToFunc("/annotation-tasks")();
56983
+ const query$ = encodeFormQuery({
56984
+ limit: payload$?.limit,
56985
+ offset: payload$?.offset,
56986
+ q: payload$?.q
56987
+ });
56620
56988
  const headers$ = new Headers(compactMap({
56621
- "Content-Type": "application/json",
56622
56989
  Accept: "application/json",
56623
- "X-API-Key": encodeSimple("X-API-Key", payload$.xAPIKey, {
56990
+ "X-API-Key": encodeSimple("X-API-Key", payload$?.xAPIKey, {
56624
56991
  explode: false,
56625
56992
  charEncoding: "none"
56626
56993
  })
@@ -56630,7 +56997,7 @@ async function $do22(client$, request, options) {
56630
56997
  const context = {
56631
56998
  options: client$._options,
56632
56999
  baseURL: options?.serverURL ?? client$._baseURL ?? "",
56633
- operationID: "link_evaluator_to_task_annotation_tasks__task_uuid__evaluators_post",
57000
+ operationID: "list_annotation_tasks_annotation_tasks_get",
56634
57001
  oAuth2Scopes: null,
56635
57002
  resolvedSecurity: requestSecurity,
56636
57003
  securitySource: client$._options.security,
@@ -56645,10 +57012,11 @@ async function $do22(client$, request, options) {
56645
57012
  };
56646
57013
  const requestRes = client$._createRequest(context, {
56647
57014
  security: requestSecurity,
56648
- method: "POST",
57015
+ method: "GET",
56649
57016
  baseURL: options?.serverURL,
56650
57017
  path: path$,
56651
57018
  headers: headers$,
57019
+ query: query$,
56652
57020
  body: body$,
56653
57021
  userAgent: client$._options.userAgent,
56654
57022
  timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
@@ -56672,40 +57040,40 @@ async function $do22(client$, request, options) {
56672
57040
  response: doResult.value
56673
57041
  }];
56674
57042
  }
56675
- var init_annotationTasksLinkEvaluator = __esm(() => {
57043
+ var init_annotationTasksList = __esm(() => {
56676
57044
  init_encodings();
56677
57045
  init_primitives();
56678
57046
  init_schemas4();
56679
57047
  init_security();
56680
57048
  init_url();
56681
- init_linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop();
57049
+ init_listannotationtasksannotationtasksgetop();
56682
57050
  init_async();
56683
57051
  });
56684
57052
 
56685
- // src/mcp-server/tools/annotationTasksLinkEvaluator.ts
56686
- var args22, tool$annotationTasksLinkEvaluator;
56687
- var init_annotationTasksLinkEvaluator2 = __esm(() => {
56688
- init_annotationTasksLinkEvaluator();
56689
- init_linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop();
57053
+ // src/mcp-server/tools/annotationTasksList.ts
57054
+ var args24, tool$annotationTasksList;
57055
+ var init_annotationTasksList2 = __esm(() => {
57056
+ init_annotationTasksList();
57057
+ init_listannotationtasksannotationtasksgetop();
56690
57058
  init_tools();
56691
- args22 = {
56692
- request: LinkEvaluatorToTaskAnnotationTasksTaskUuidEvaluatorsPostRequest$zodSchema
57059
+ args24 = {
57060
+ request: ListAnnotationTasksAnnotationTasksGetRequest$zodSchema.optional()
56693
57061
  };
56694
- tool$annotationTasksLinkEvaluator = {
56695
- name: "link-evaluator-to-task",
56696
- description: `Link an evaluator to an annotation task, appending it to the display order.
57062
+ tool$annotationTasksList = {
57063
+ name: "list-annotation-tasks",
57064
+ description: `List your annotation tasks with their linked evaluators.
56697
57065
  `,
56698
- scopes: ["write"],
57066
+ scopes: ["read"],
56699
57067
  annotations: {
56700
- title: "Link evaluator to task",
57068
+ title: "List annotation tasks",
56701
57069
  destructiveHint: false,
56702
- idempotentHint: true,
57070
+ idempotentHint: false,
56703
57071
  openWorldHint: true,
56704
- readOnlyHint: false
57072
+ readOnlyHint: true
56705
57073
  },
56706
- args: args22,
56707
- tool: async (client, args23, ctx) => {
56708
- const [result] = await annotationTasksLinkEvaluator(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57074
+ args: args24,
57075
+ tool: async (client, args25, ctx) => {
57076
+ const [result] = await annotationTasksList(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56709
57077
  if (!result.ok) {
56710
57078
  return {
56711
57079
  content: [{ type: "text", text: result.error.message }],
@@ -56717,57 +57085,67 @@ var init_annotationTasksLinkEvaluator2 = __esm(() => {
56717
57085
  };
56718
57086
  });
56719
57087
 
56720
- // src/models/paginatedresponseannotationtaskresponse.ts
56721
- var PaginatedResponseAnnotationTaskResponse$zodSchema;
56722
- var init_paginatedresponseannotationtaskresponse = __esm(() => {
57088
+ // src/models/evaluatorsetrequest.ts
57089
+ var EvaluatorSetRequest$zodSchema;
57090
+ var init_evaluatorsetrequest = __esm(() => {
56723
57091
  init_zod();
56724
- init_annotationtaskresponse();
56725
- PaginatedResponseAnnotationTaskResponse$zodSchema = object({
56726
- items: array(AnnotationTaskResponse$zodSchema).describe("The page of results"),
56727
- limit: int().nullable().optional().describe("The applied `limit` (null when unbounded)"),
56728
- offset: int().default(0).describe("The applied `offset`"),
56729
- total: int().describe("Total number of items matching the query, before pagination")
57092
+ EvaluatorSetRequest$zodSchema = object({
57093
+ evaluator_ids: array(string2()).describe("The full ordered set of evaluators the task should end up linked to, in display order. Missing ones are unlinked, new ones are linked, and the order sets their position. Send an empty list to unlink all. Each must be one you created or a built-in default")
56730
57094
  });
56731
57095
  });
56732
57096
 
56733
- // src/models/listannotationtasksannotationtasksgetop.ts
56734
- var ListAnnotationTasksAnnotationTasksGetRequest$zodSchema, ListAnnotationTasksAnnotationTasksGetResponse$zodSchema;
56735
- var init_listannotationtasksannotationtasksgetop = __esm(() => {
57097
+ // src/models/evaluatorsetresponse.ts
57098
+ var EvaluatorSetResponse$zodSchema;
57099
+ var init_evaluatorsetresponse = __esm(() => {
57100
+ init_zod();
57101
+ EvaluatorSetResponse$zodSchema = object({
57102
+ evaluator_ids: array(string2()).describe("The task's evaluator IDs after the update, in display order"),
57103
+ linked: array(string2()).describe("Evaluator IDs newly linked by this request"),
57104
+ message: string2().describe("Confirmation that the task's evaluators were updated"),
57105
+ unlinked: array(string2()).describe("Evaluator IDs unlinked by this request")
57106
+ });
57107
+ });
57108
+
57109
+ // src/models/settaskevaluatorsannotationtaskstaskuuidevaluatorsputop.ts
57110
+ var SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest$zodSchema, SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutResponse$zodSchema;
57111
+ var init_settaskevaluatorsannotationtaskstaskuuidevaluatorsputop = __esm(() => {
56736
57112
  init_zod();
57113
+ init_evaluatorsetrequest();
57114
+ init_evaluatorsetresponse();
56737
57115
  init_httpvalidationerror();
56738
- init_paginatedresponseannotationtaskresponse();
56739
- ListAnnotationTasksAnnotationTasksGetRequest$zodSchema = object({
56740
- limit: int().describe("Maximum number of items to return. Omit for no limit (all items)").nullable().optional(),
56741
- offset: int().default(0).describe("Number of items to skip before returning results"),
56742
- q: string2().describe("Case-insensitive substring search on `name`. Blank is a no-op").nullable().optional(),
57116
+ SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest$zodSchema = object({
57117
+ body: EvaluatorSetRequest$zodSchema,
57118
+ task_uuid: string2().describe("Annotation task to act on"),
56743
57119
  xAPIKey: string2().nullable().optional()
56744
57120
  });
56745
- ListAnnotationTasksAnnotationTasksGetResponse$zodSchema = union([
56746
- PaginatedResponseAnnotationTaskResponse$zodSchema,
57121
+ SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutResponse$zodSchema = union([
57122
+ EvaluatorSetResponse$zodSchema,
56747
57123
  HTTPValidationError$zodSchema
56748
57124
  ]);
56749
57125
  });
56750
57126
 
56751
- // src/funcs/annotationTasksList.ts
56752
- function annotationTasksList(client$, request, options) {
56753
- return new APIPromise($do23(client$, request, options));
57127
+ // src/funcs/annotationTasksSetEvaluators.ts
57128
+ function annotationTasksSetEvaluators(client$, request, options) {
57129
+ return new APIPromise($do25(client$, request, options));
56754
57130
  }
56755
- async function $do23(client$, request, options) {
56756
- const parsed$ = safeParse4(request, (value$) => ListAnnotationTasksAnnotationTasksGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
57131
+ async function $do25(client$, request, options) {
57132
+ const parsed$ = safeParse4(request, (value$) => SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest$zodSchema.parse(value$), "Input validation failed");
56757
57133
  if (!parsed$.ok) {
56758
57134
  return [parsed$, { status: "invalid" }];
56759
57135
  }
56760
57136
  const payload$ = parsed$.value;
56761
- const body$ = null;
56762
- const path$ = pathToFunc("/annotation-tasks")();
56763
- const query$ = encodeFormQuery({
56764
- limit: payload$?.limit,
56765
- offset: payload$?.offset,
56766
- q: payload$?.q
56767
- });
57137
+ const body$ = encodeJSON("body", payload$.body, { explode: true });
57138
+ const pathParams$ = {
57139
+ task_uuid: encodeSimple("task_uuid", payload$.task_uuid, {
57140
+ explode: false,
57141
+ charEncoding: "percent"
57142
+ })
57143
+ };
57144
+ const path$ = pathToFunc("/annotation-tasks/{task_uuid}/evaluators")(pathParams$);
56768
57145
  const headers$ = new Headers(compactMap({
57146
+ "Content-Type": "application/json",
56769
57147
  Accept: "application/json",
56770
- "X-API-Key": encodeSimple("X-API-Key", payload$?.xAPIKey, {
57148
+ "X-API-Key": encodeSimple("X-API-Key", payload$.xAPIKey, {
56771
57149
  explode: false,
56772
57150
  charEncoding: "none"
56773
57151
  })
@@ -56777,7 +57155,7 @@ async function $do23(client$, request, options) {
56777
57155
  const context = {
56778
57156
  options: client$._options,
56779
57157
  baseURL: options?.serverURL ?? client$._baseURL ?? "",
56780
- operationID: "list_annotation_tasks_annotation_tasks_get",
57158
+ operationID: "set_task_evaluators_annotation_tasks__task_uuid__evaluators_put",
56781
57159
  oAuth2Scopes: null,
56782
57160
  resolvedSecurity: requestSecurity,
56783
57161
  securitySource: client$._options.security,
@@ -56792,11 +57170,10 @@ async function $do23(client$, request, options) {
56792
57170
  };
56793
57171
  const requestRes = client$._createRequest(context, {
56794
57172
  security: requestSecurity,
56795
- method: "GET",
57173
+ method: "PUT",
56796
57174
  baseURL: options?.serverURL,
56797
57175
  path: path$,
56798
57176
  headers: headers$,
56799
- query: query$,
56800
57177
  body: body$,
56801
57178
  userAgent: client$._options.userAgent,
56802
57179
  timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
@@ -56820,40 +57197,44 @@ async function $do23(client$, request, options) {
56820
57197
  response: doResult.value
56821
57198
  }];
56822
57199
  }
56823
- var init_annotationTasksList = __esm(() => {
57200
+ var init_annotationTasksSetEvaluators = __esm(() => {
56824
57201
  init_encodings();
56825
57202
  init_primitives();
56826
57203
  init_schemas4();
56827
57204
  init_security();
56828
57205
  init_url();
56829
- init_listannotationtasksannotationtasksgetop();
57206
+ init_settaskevaluatorsannotationtaskstaskuuidevaluatorsputop();
56830
57207
  init_async();
56831
57208
  });
56832
57209
 
56833
- // src/mcp-server/tools/annotationTasksList.ts
56834
- var args23, tool$annotationTasksList;
56835
- var init_annotationTasksList2 = __esm(() => {
56836
- init_annotationTasksList();
56837
- init_listannotationtasksannotationtasksgetop();
57210
+ // src/mcp-server/tools/annotationTasksSetEvaluators.ts
57211
+ var args25, tool$annotationTasksSetEvaluators;
57212
+ var init_annotationTasksSetEvaluators2 = __esm(() => {
57213
+ init_annotationTasksSetEvaluators();
57214
+ init_settaskevaluatorsannotationtaskstaskuuidevaluatorsputop();
56838
57215
  init_tools();
56839
- args23 = {
56840
- request: ListAnnotationTasksAnnotationTasksGetRequest$zodSchema.optional()
56841
- };
56842
- tool$annotationTasksList = {
56843
- name: "list-annotation-tasks",
56844
- description: `List your annotation tasks with their linked evaluators.
57216
+ args25 = {
57217
+ request: SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest$zodSchema
57218
+ };
57219
+ tool$annotationTasksSetEvaluators = {
57220
+ name: "set-task-evaluators",
57221
+ description: `Replace the task's linked evaluators with exactly the given ordered
57222
+ set: new ids are linked, omitted ids are unlinked, and the list order
57223
+ sets their display position. Send an empty list to unlink all. Each
57224
+ evaluator must be one you created or a built-in default, and the task
57225
+ must be in your workspace.
56845
57226
  `,
56846
- scopes: ["read"],
57227
+ scopes: ["write"],
56847
57228
  annotations: {
56848
- title: "List annotation tasks",
57229
+ title: "Set an annotation task's evaluators",
56849
57230
  destructiveHint: false,
56850
- idempotentHint: false,
57231
+ idempotentHint: true,
56851
57232
  openWorldHint: true,
56852
- readOnlyHint: true
57233
+ readOnlyHint: false
56853
57234
  },
56854
- args: args23,
56855
- tool: async (client, args24, ctx) => {
56856
- const [result] = await annotationTasksList(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57235
+ args: args25,
57236
+ tool: async (client, args26, ctx) => {
57237
+ const [result] = await annotationTasksSetEvaluators(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56857
57238
  if (!result.ok) {
56858
57239
  return {
56859
57240
  content: [{ type: "text", text: result.error.message }],
@@ -56914,9 +57295,9 @@ var init_bulkupdateitemsannotationtaskstaskuuiditemsputop = __esm(() => {
56914
57295
 
56915
57296
  // src/funcs/annotationTasksUpdateItems.ts
56916
57297
  function annotationTasksUpdateItems(client$, request, options) {
56917
- return new APIPromise($do24(client$, request, options));
57298
+ return new APIPromise($do26(client$, request, options));
56918
57299
  }
56919
- async function $do24(client$, request, options) {
57300
+ async function $do26(client$, request, options) {
56920
57301
  const parsed$ = safeParse4(request, (value$) => BulkUpdateItemsAnnotationTasksTaskUuidItemsPutRequest$zodSchema.parse(value$), "Input validation failed");
56921
57302
  if (!parsed$.ok) {
56922
57303
  return [parsed$, { status: "invalid" }];
@@ -56996,12 +57377,12 @@ var init_annotationTasksUpdateItems = __esm(() => {
56996
57377
  });
56997
57378
 
56998
57379
  // src/mcp-server/tools/annotationTasksUpdateItems.ts
56999
- var args24, tool$annotationTasksUpdateItems;
57380
+ var args26, tool$annotationTasksUpdateItems;
57000
57381
  var init_annotationTasksUpdateItems2 = __esm(() => {
57001
57382
  init_annotationTasksUpdateItems();
57002
57383
  init_bulkupdateitemsannotationtaskstaskuuiditemsputop();
57003
57384
  init_tools();
57004
- args24 = {
57385
+ args26 = {
57005
57386
  request: BulkUpdateItemsAnnotationTasksTaskUuidItemsPutRequest$zodSchema
57006
57387
  };
57007
57388
  tool$annotationTasksUpdateItems = {
@@ -57016,9 +57397,9 @@ var init_annotationTasksUpdateItems2 = __esm(() => {
57016
57397
  openWorldHint: true,
57017
57398
  readOnlyHint: false
57018
57399
  },
57019
- args: args24,
57020
- tool: async (client, args25, ctx) => {
57021
- const [result] = await annotationTasksUpdateItems(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57400
+ args: args26,
57401
+ tool: async (client, args27, ctx) => {
57402
+ const [result] = await annotationTasksUpdateItems(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57022
57403
  if (!result.ok) {
57023
57404
  return {
57024
57405
  content: [{ type: "text", text: result.error.message }],
@@ -57052,17 +57433,6 @@ var init_outputconfig = __esm(() => {
57052
57433
  });
57053
57434
  });
57054
57435
 
57055
- // src/models/variablespec.ts
57056
- var VariableSpec$zodSchema;
57057
- var init_variablespec = __esm(() => {
57058
- init_zod();
57059
- VariableSpec$zodSchema = object({
57060
- default: string2().nullable().optional().describe("Default value used when you omit this variable. Omit for no default"),
57061
- description: string2().nullable().optional().describe("What the variable is for. Omit if self-evident"),
57062
- name: string2().describe('Name of a `{{"{{"}}placeholder}}` used in the system prompt')
57063
- });
57064
- });
57065
-
57066
57436
  // src/models/evaluatorversioncreate.ts
57067
57437
  var EvaluatorVersionCreate$zodSchema;
57068
57438
  var init_evaluatorversioncreate = __esm(() => {
@@ -57136,9 +57506,9 @@ var init_createevaluatorendpointevaluatorspostop = __esm(() => {
57136
57506
 
57137
57507
  // src/funcs/evaluatorsCreate.ts
57138
57508
  function evaluatorsCreate(client$, request, options) {
57139
- return new APIPromise($do25(client$, request, options));
57509
+ return new APIPromise($do27(client$, request, options));
57140
57510
  }
57141
- async function $do25(client$, request, options) {
57511
+ async function $do27(client$, request, options) {
57142
57512
  const parsed$ = safeParse4(request, (value$) => CreateEvaluatorEndpointEvaluatorsPostRequest$zodSchema.parse(value$), "Input validation failed");
57143
57513
  if (!parsed$.ok) {
57144
57514
  return [parsed$, { status: "invalid" }];
@@ -57212,12 +57582,12 @@ var init_evaluatorsCreate = __esm(() => {
57212
57582
  });
57213
57583
 
57214
57584
  // src/mcp-server/tools/evaluatorsCreate.ts
57215
- var args25, tool$evaluatorsCreate;
57585
+ var args27, tool$evaluatorsCreate;
57216
57586
  var init_evaluatorsCreate2 = __esm(() => {
57217
57587
  init_evaluatorsCreate();
57218
57588
  init_createevaluatorendpointevaluatorspostop();
57219
57589
  init_tools();
57220
- args25 = {
57590
+ args27 = {
57221
57591
  request: CreateEvaluatorEndpointEvaluatorsPostRequest$zodSchema
57222
57592
  };
57223
57593
  tool$evaluatorsCreate = {
@@ -57232,9 +57602,9 @@ var init_evaluatorsCreate2 = __esm(() => {
57232
57602
  openWorldHint: true,
57233
57603
  readOnlyHint: false
57234
57604
  },
57235
- args: args25,
57236
- tool: async (client, args26, ctx) => {
57237
- const [result] = await evaluatorsCreate(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57605
+ args: args27,
57606
+ tool: async (client, args28, ctx) => {
57607
+ const [result] = await evaluatorsCreate(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57238
57608
  if (!result.ok) {
57239
57609
  return {
57240
57610
  content: [{ type: "text", text: result.error.message }],
@@ -57291,9 +57661,9 @@ var init_createversionevaluatorsevaluatoruuidversionspostop = __esm(() => {
57291
57661
 
57292
57662
  // src/funcs/evaluatorsCreateVersion.ts
57293
57663
  function evaluatorsCreateVersion(client$, request, options) {
57294
- return new APIPromise($do26(client$, request, options));
57664
+ return new APIPromise($do28(client$, request, options));
57295
57665
  }
57296
- async function $do26(client$, request, options) {
57666
+ async function $do28(client$, request, options) {
57297
57667
  const parsed$ = safeParse4(request, (value$) => CreateVersionEvaluatorsEvaluatorUuidVersionsPostRequest$zodSchema.parse(value$), "Input validation failed");
57298
57668
  if (!parsed$.ok) {
57299
57669
  return [parsed$, { status: "invalid" }];
@@ -57373,12 +57743,12 @@ var init_evaluatorsCreateVersion = __esm(() => {
57373
57743
  });
57374
57744
 
57375
57745
  // src/mcp-server/tools/evaluatorsCreateVersion.ts
57376
- var args26, tool$evaluatorsCreateVersion;
57746
+ var args28, tool$evaluatorsCreateVersion;
57377
57747
  var init_evaluatorsCreateVersion2 = __esm(() => {
57378
57748
  init_evaluatorsCreateVersion();
57379
57749
  init_createversionevaluatorsevaluatoruuidversionspostop();
57380
57750
  init_tools();
57381
- args26 = {
57751
+ args28 = {
57382
57752
  request: CreateVersionEvaluatorsEvaluatorUuidVersionsPostRequest$zodSchema
57383
57753
  };
57384
57754
  tool$evaluatorsCreateVersion = {
@@ -57393,9 +57763,9 @@ var init_evaluatorsCreateVersion2 = __esm(() => {
57393
57763
  openWorldHint: true,
57394
57764
  readOnlyHint: false
57395
57765
  },
57396
- args: args26,
57397
- tool: async (client, args27, ctx) => {
57398
- const [result] = await evaluatorsCreateVersion(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57766
+ args: args28,
57767
+ tool: async (client, args29, ctx) => {
57768
+ const [result] = await evaluatorsCreateVersion(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57399
57769
  if (!result.ok) {
57400
57770
  return {
57401
57771
  content: [{ type: "text", text: result.error.message }],
@@ -57479,9 +57849,9 @@ var init_getevaluatorendpointevaluatorsevaluatoruuidgetop = __esm(() => {
57479
57849
 
57480
57850
  // src/funcs/evaluatorsGet.ts
57481
57851
  function evaluatorsGet(client$, request, options) {
57482
- return new APIPromise($do27(client$, request, options));
57852
+ return new APIPromise($do29(client$, request, options));
57483
57853
  }
57484
- async function $do27(client$, request, options) {
57854
+ async function $do29(client$, request, options) {
57485
57855
  const parsed$ = safeParse4(request, (value$) => GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
57486
57856
  if (!parsed$.ok) {
57487
57857
  return [parsed$, { status: "invalid" }];
@@ -57564,12 +57934,12 @@ var init_evaluatorsGet = __esm(() => {
57564
57934
  });
57565
57935
 
57566
57936
  // src/mcp-server/tools/evaluatorsGet.ts
57567
- var args27, tool$evaluatorsGet;
57937
+ var args29, tool$evaluatorsGet;
57568
57938
  var init_evaluatorsGet2 = __esm(() => {
57569
57939
  init_evaluatorsGet();
57570
57940
  init_getevaluatorendpointevaluatorsevaluatoruuidgetop();
57571
57941
  init_tools();
57572
- args27 = {
57942
+ args29 = {
57573
57943
  request: GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetRequest$zodSchema
57574
57944
  };
57575
57945
  tool$evaluatorsGet = {
@@ -57584,9 +57954,9 @@ var init_evaluatorsGet2 = __esm(() => {
57584
57954
  openWorldHint: true,
57585
57955
  readOnlyHint: true
57586
57956
  },
57587
- args: args27,
57588
- tool: async (client, args28, ctx) => {
57589
- const [result] = await evaluatorsGet(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57957
+ args: args29,
57958
+ tool: async (client, args30, ctx) => {
57959
+ const [result] = await evaluatorsGet(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57590
57960
  if (!result.ok) {
57591
57961
  return {
57592
57962
  content: [{ type: "text", text: result.error.message }],
@@ -57598,68 +57968,6 @@ var init_evaluatorsGet2 = __esm(() => {
57598
57968
  };
57599
57969
  });
57600
57970
 
57601
- // src/models/evaluatorliveversionsummary.ts
57602
- var EvaluatorLiveVersionSummary$zodSchema;
57603
- var init_evaluatorliveversionsummary = __esm(() => {
57604
- init_zod();
57605
- init_variablespec();
57606
- EvaluatorLiveVersionSummary$zodSchema = object({
57607
- 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`"),
57608
- uuid: string2().describe("Version ID"),
57609
- variables: array(VariableSpec$zodSchema).nullable().optional().describe("Declared prompt variables"),
57610
- 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")
57611
- }).describe("Slim view of the live version for list results, carrying only what the list needs.");
57612
- });
57613
-
57614
- // src/models/routersevaluatorsevaluatorresponse.ts
57615
- var RoutersEvaluatorsEvaluatorResponseEvaluatorType$zodSchema, RoutersEvaluatorsEvaluatorResponseDataType$zodSchema, RoutersEvaluatorsEvaluatorResponseOutputType$zodSchema, RoutersEvaluatorsEvaluatorResponse$zodSchema;
57616
- var init_routersevaluatorsevaluatorresponse = __esm(() => {
57617
- init_zod();
57618
- init_evaluatorliveversionsummary();
57619
- RoutersEvaluatorsEvaluatorResponseEvaluatorType$zodSchema = _enum([
57620
- "tts",
57621
- "stt",
57622
- "llm",
57623
- "llm-general",
57624
- "conversation"
57625
- ]).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");
57626
- RoutersEvaluatorsEvaluatorResponseDataType$zodSchema = _enum([
57627
- "text",
57628
- "audio"
57629
- ]).describe("The modality the judge reads:\n\n- `text`\n- `audio`\n");
57630
- RoutersEvaluatorsEvaluatorResponseOutputType$zodSchema = _enum([
57631
- "binary",
57632
- "rating"
57633
- ]).describe("How the evaluator scores:\n\n- `binary`: pass or fail\n- `rating`: a numeric score, using the scale in `output_config`\n");
57634
- RoutersEvaluatorsEvaluatorResponse$zodSchema = object({
57635
- created_at: string2().describe("When the evaluator was created (ISO 8601 UTC)"),
57636
- data_type: RoutersEvaluatorsEvaluatorResponseDataType$zodSchema.describe("The modality the judge reads:\n\n- `text`\n- `audio`\n"),
57637
- description: string2().nullable().optional().describe("What the evaluator checks"),
57638
- 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"),
57639
- 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"),
57640
- live_version: EvaluatorLiveVersionSummary$zodSchema.nullable().optional().describe("The version that is currently live"),
57641
- live_version_id: string2().nullable().optional().describe("ID of the version that is currently live"),
57642
- name: string2().describe("Evaluator name"),
57643
- 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"),
57644
- slug: string2().nullable().optional().describe("Stable slug for a built-in default evaluator"),
57645
- updated_at: string2().describe("When the evaluator was last updated (ISO 8601 UTC)"),
57646
- uuid: string2().describe("Evaluator ID")
57647
- });
57648
- });
57649
-
57650
- // src/models/paginatedresponseevaluatorresponse.ts
57651
- var PaginatedResponseEvaluatorResponse$zodSchema;
57652
- var init_paginatedresponseevaluatorresponse = __esm(() => {
57653
- init_zod();
57654
- init_routersevaluatorsevaluatorresponse();
57655
- PaginatedResponseEvaluatorResponse$zodSchema = object({
57656
- items: array(RoutersEvaluatorsEvaluatorResponse$zodSchema).describe("The page of results"),
57657
- limit: int().nullable().optional().describe("The applied `limit` (null when unbounded)"),
57658
- offset: int().default(0).describe("The applied `offset`"),
57659
- total: int().describe("Total number of items matching the query, before pagination")
57660
- });
57661
- });
57662
-
57663
57971
  // src/models/listevaluatorsevaluatorsgetop.ts
57664
57972
  var ListEvaluatorsEvaluatorsGetEvaluatorType$zodSchema, ListEvaluatorsEvaluatorsGetDataType$zodSchema, ListEvaluatorsEvaluatorsGetRequest$zodSchema, ListEvaluatorsEvaluatorsGetResponse$zodSchema;
57665
57973
  var init_listevaluatorsevaluatorsgetop = __esm(() => {
@@ -57694,9 +58002,9 @@ var init_listevaluatorsevaluatorsgetop = __esm(() => {
57694
58002
 
57695
58003
  // src/funcs/evaluatorsList.ts
57696
58004
  function evaluatorsList(client$, request, options) {
57697
- return new APIPromise($do28(client$, request, options));
58005
+ return new APIPromise($do30(client$, request, options));
57698
58006
  }
57699
- async function $do28(client$, request, options) {
58007
+ async function $do30(client$, request, options) {
57700
58008
  const parsed$ = safeParse4(request, (value$) => ListEvaluatorsEvaluatorsGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
57701
58009
  if (!parsed$.ok) {
57702
58010
  return [parsed$, { status: "invalid" }];
@@ -57778,12 +58086,12 @@ var init_evaluatorsList = __esm(() => {
57778
58086
  });
57779
58087
 
57780
58088
  // src/mcp-server/tools/evaluatorsList.ts
57781
- var args28, tool$evaluatorsList;
58089
+ var args30, tool$evaluatorsList;
57782
58090
  var init_evaluatorsList2 = __esm(() => {
57783
58091
  init_evaluatorsList();
57784
58092
  init_listevaluatorsevaluatorsgetop();
57785
58093
  init_tools();
57786
- args28 = {
58094
+ args30 = {
57787
58095
  request: ListEvaluatorsEvaluatorsGetRequest$zodSchema.optional()
57788
58096
  };
57789
58097
  tool$evaluatorsList = {
@@ -57798,9 +58106,9 @@ var init_evaluatorsList2 = __esm(() => {
57798
58106
  openWorldHint: true,
57799
58107
  readOnlyHint: true
57800
58108
  },
57801
- args: args28,
57802
- tool: async (client, args29, ctx) => {
57803
- const [result] = await evaluatorsList(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58109
+ args: args30,
58110
+ tool: async (client, args31, ctx) => {
58111
+ const [result] = await evaluatorsList(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57804
58112
  if (!result.ok) {
57805
58113
  return {
57806
58114
  content: [{ type: "text", text: result.error.message }],
@@ -57929,9 +58237,9 @@ var init_bulkuploadteststestsbulkpostop = __esm(() => {
57929
58237
 
57930
58238
  // src/funcs/testsBulkCreate.ts
57931
58239
  function testsBulkCreate(client$, request, options) {
57932
- return new APIPromise($do29(client$, request, options));
58240
+ return new APIPromise($do31(client$, request, options));
57933
58241
  }
57934
- async function $do29(client$, request, options) {
58242
+ async function $do31(client$, request, options) {
57935
58243
  const parsed$ = safeParse4(request, (value$) => BulkUploadTestsTestsBulkPostRequest$zodSchema.parse(value$), "Input validation failed");
57936
58244
  if (!parsed$.ok) {
57937
58245
  return [parsed$, { status: "invalid" }];
@@ -58005,12 +58313,12 @@ var init_testsBulkCreate = __esm(() => {
58005
58313
  });
58006
58314
 
58007
58315
  // src/mcp-server/tools/testsBulkCreate.ts
58008
- var args29, tool$testsBulkCreate;
58316
+ var args31, tool$testsBulkCreate;
58009
58317
  var init_testsBulkCreate2 = __esm(() => {
58010
58318
  init_testsBulkCreate();
58011
58319
  init_bulkuploadteststestsbulkpostop();
58012
58320
  init_tools();
58013
- args29 = {
58321
+ args31 = {
58014
58322
  request: BulkUploadTestsTestsBulkPostRequest$zodSchema
58015
58323
  };
58016
58324
  tool$testsBulkCreate = {
@@ -58027,9 +58335,9 @@ tests including their UUIDs.
58027
58335
  openWorldHint: true,
58028
58336
  readOnlyHint: false
58029
58337
  },
58030
- args: args29,
58031
- tool: async (client, args30, ctx) => {
58032
- const [result] = await testsBulkCreate(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58338
+ args: args31,
58339
+ tool: async (client, args32, ctx) => {
58340
+ const [result] = await testsBulkCreate(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58033
58341
  if (!result.ok) {
58034
58342
  return {
58035
58343
  content: [{ type: "text", text: result.error.message }],
@@ -58088,9 +58396,9 @@ var init_createtestendpointtestspostop = __esm(() => {
58088
58396
 
58089
58397
  // src/funcs/testsCreate.ts
58090
58398
  function testsCreate(client$, request, options) {
58091
- return new APIPromise($do30(client$, request, options));
58399
+ return new APIPromise($do32(client$, request, options));
58092
58400
  }
58093
- async function $do30(client$, request, options) {
58401
+ async function $do32(client$, request, options) {
58094
58402
  const parsed$ = safeParse4(request, (value$) => CreateTestEndpointTestsPostRequest$zodSchema.parse(value$), "Input validation failed");
58095
58403
  if (!parsed$.ok) {
58096
58404
  return [parsed$, { status: "invalid" }];
@@ -58164,12 +58472,12 @@ var init_testsCreate = __esm(() => {
58164
58472
  });
58165
58473
 
58166
58474
  // src/mcp-server/tools/testsCreate.ts
58167
- var args30, tool$testsCreate;
58475
+ var args32, tool$testsCreate;
58168
58476
  var init_testsCreate2 = __esm(() => {
58169
58477
  init_testsCreate();
58170
58478
  init_createtestendpointtestspostop();
58171
58479
  init_tools();
58172
- args30 = {
58480
+ args32 = {
58173
58481
  request: CreateTestEndpointTestsPostRequest$zodSchema
58174
58482
  };
58175
58483
  tool$testsCreate = {
@@ -58186,9 +58494,9 @@ Requires a Calibrate API key (CALIBRATE_API_KEY).
58186
58494
  openWorldHint: true,
58187
58495
  readOnlyHint: false
58188
58496
  },
58189
- args: args30,
58190
- tool: async (client, args31, ctx) => {
58191
- const [result] = await testsCreate(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58497
+ args: args32,
58498
+ tool: async (client, args33, ctx) => {
58499
+ const [result] = await testsCreate(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58192
58500
  if (!result.ok) {
58193
58501
  return {
58194
58502
  content: [{ type: "text", text: result.error.message }],
@@ -58238,9 +58546,9 @@ var init_gettestendpointteststestuuidgetop = __esm(() => {
58238
58546
 
58239
58547
  // src/funcs/testsGet.ts
58240
58548
  function testsGet(client$, request, options) {
58241
- return new APIPromise($do31(client$, request, options));
58549
+ return new APIPromise($do33(client$, request, options));
58242
58550
  }
58243
- async function $do31(client$, request, options) {
58551
+ async function $do33(client$, request, options) {
58244
58552
  const parsed$ = safeParse4(request, (value$) => GetTestEndpointTestsTestUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
58245
58553
  if (!parsed$.ok) {
58246
58554
  return [parsed$, { status: "invalid" }];
@@ -58319,12 +58627,12 @@ var init_testsGet = __esm(() => {
58319
58627
  });
58320
58628
 
58321
58629
  // src/mcp-server/tools/testsGet.ts
58322
- var args31, tool$testsGet;
58630
+ var args33, tool$testsGet;
58323
58631
  var init_testsGet2 = __esm(() => {
58324
58632
  init_testsGet();
58325
58633
  init_gettestendpointteststestuuidgetop();
58326
58634
  init_tools();
58327
- args31 = {
58635
+ args33 = {
58328
58636
  request: GetTestEndpointTestsTestUuidGetRequest$zodSchema
58329
58637
  };
58330
58638
  tool$testsGet = {
@@ -58341,9 +58649,9 @@ exist or belongs to another org.
58341
58649
  openWorldHint: true,
58342
58650
  readOnlyHint: true
58343
58651
  },
58344
- args: args31,
58345
- tool: async (client, args32, ctx) => {
58346
- const [result] = await testsGet(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58652
+ args: args33,
58653
+ tool: async (client, args34, ctx) => {
58654
+ const [result] = await testsGet(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58347
58655
  if (!result.ok) {
58348
58656
  return {
58349
58657
  content: [{ type: "text", text: result.error.message }],
@@ -58375,9 +58683,9 @@ var init_listteststestsgetop = __esm(() => {
58375
58683
 
58376
58684
  // src/funcs/testsList.ts
58377
58685
  function testsList(client$, request, options) {
58378
- return new APIPromise($do32(client$, request, options));
58686
+ return new APIPromise($do34(client$, request, options));
58379
58687
  }
58380
- async function $do32(client$, request, options) {
58688
+ async function $do34(client$, request, options) {
58381
58689
  const parsed$ = safeParse4(request, (value$) => ListTestsTestsGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
58382
58690
  if (!parsed$.ok) {
58383
58691
  return [parsed$, { status: "invalid" }];
@@ -58456,12 +58764,12 @@ var init_testsList = __esm(() => {
58456
58764
  });
58457
58765
 
58458
58766
  // src/mcp-server/tools/testsList.ts
58459
- var args32, tool$testsList;
58767
+ var args34, tool$testsList;
58460
58768
  var init_testsList2 = __esm(() => {
58461
58769
  init_testsList();
58462
58770
  init_listteststestsgetop();
58463
58771
  init_tools();
58464
- args32 = {
58772
+ args34 = {
58465
58773
  request: ListTestsTestsGetRequest$zodSchema.optional()
58466
58774
  };
58467
58775
  tool$testsList = {
@@ -58478,9 +58786,9 @@ before creating runs.
58478
58786
  openWorldHint: true,
58479
58787
  readOnlyHint: true
58480
58788
  },
58481
- args: args32,
58482
- tool: async (client, args33, ctx) => {
58483
- const [result] = await testsList(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58789
+ args: args34,
58790
+ tool: async (client, args35, ctx) => {
58791
+ const [result] = await testsList(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58484
58792
  if (!result.ok) {
58485
58793
  return {
58486
58794
  content: [{ type: "text", text: result.error.message }],
@@ -58537,9 +58845,9 @@ var init_updatetestendpointteststestuuidputop = __esm(() => {
58537
58845
 
58538
58846
  // src/funcs/testsUpdate.ts
58539
58847
  function testsUpdate(client$, request, options) {
58540
- return new APIPromise($do33(client$, request, options));
58848
+ return new APIPromise($do35(client$, request, options));
58541
58849
  }
58542
- async function $do33(client$, request, options) {
58850
+ async function $do35(client$, request, options) {
58543
58851
  const parsed$ = safeParse4(request, (value$) => UpdateTestEndpointTestsTestUuidPutRequest$zodSchema.parse(value$), "Input validation failed");
58544
58852
  if (!parsed$.ok) {
58545
58853
  return [parsed$, { status: "invalid" }];
@@ -58619,12 +58927,12 @@ var init_testsUpdate = __esm(() => {
58619
58927
  });
58620
58928
 
58621
58929
  // src/mcp-server/tools/testsUpdate.ts
58622
- var args33, tool$testsUpdate;
58930
+ var args35, tool$testsUpdate;
58623
58931
  var init_testsUpdate2 = __esm(() => {
58624
58932
  init_testsUpdate();
58625
58933
  init_updatetestendpointteststestuuidputop();
58626
58934
  init_tools();
58627
- args33 = {
58935
+ args35 = {
58628
58936
  request: UpdateTestEndpointTestsTestUuidPutRequest$zodSchema
58629
58937
  };
58630
58938
  tool$testsUpdate = {
@@ -58641,9 +58949,9 @@ fields to change (name, config). Returns the updated test. Fails with
58641
58949
  openWorldHint: true,
58642
58950
  readOnlyHint: false
58643
58951
  },
58644
- args: args33,
58645
- tool: async (client, args34, ctx) => {
58646
- const [result] = await testsUpdate(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58952
+ args: args35,
58953
+ tool: async (client, args36, ctx) => {
58954
+ const [result] = await testsUpdate(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58647
58955
  if (!result.ok) {
58648
58956
  return {
58649
58957
  content: [{ type: "text", text: result.error.message }],
@@ -58659,16 +58967,16 @@ fields to change (name, config). Returns the updated test. Fails with
58659
58967
  function createMCPServer(deps) {
58660
58968
  const server = new McpServer({
58661
58969
  name: "CalibrateMcp",
58662
- version: "0.0.25"
58970
+ version: "0.0.27"
58663
58971
  });
58664
58972
  const getClient = deps.getSDK || (() => new CalibrateMcpCore({
58665
58973
  security: deps.security,
58666
58974
  serverURL: deps.serverURL,
58667
58975
  serverIdx: deps.serverIdx,
58668
58976
  debugLogger: deps.logger.level === "debug" ? {
58669
- log: (...args34) => console.log(...args34),
58670
- group: (...args34) => console.group(...args34),
58671
- groupEnd: (...args34) => console.groupEnd(...args34)
58977
+ log: (...args36) => console.log(...args36),
58978
+ group: (...args36) => console.group(...args36),
58979
+ groupEnd: (...args36) => console.groupEnd(...args36)
58672
58980
  } : undefined
58673
58981
  }));
58674
58982
  const scopes = new Set(deps.scopes);
@@ -58684,6 +58992,8 @@ function createMCPServer(deps) {
58684
58992
  tool(tool$agentsList);
58685
58993
  tool(tool$agentsGet);
58686
58994
  tool(tool$agentsUpdate);
58995
+ tool(tool$agentsListEvaluators);
58996
+ tool(tool$agentsLinkEvaluators);
58687
58997
  tool(tool$testsBulkCreate);
58688
58998
  tool(tool$testsCreate);
58689
58999
  tool(tool$testsList);
@@ -58704,7 +59014,7 @@ function createMCPServer(deps) {
58704
59014
  tool(tool$annotationTasksCreate);
58705
59015
  tool(tool$annotationTasksList);
58706
59016
  tool(tool$annotationTasksGet);
58707
- tool(tool$annotationTasksLinkEvaluator);
59017
+ tool(tool$annotationTasksSetEvaluators);
58708
59018
  tool(tool$annotationTasksAddItems);
58709
59019
  tool(tool$annotationTasksUpdateItems);
58710
59020
  tool(tool$annotationTasksCreateEvaluatorRun);
@@ -58723,7 +59033,9 @@ var init_server2 = __esm(() => {
58723
59033
  init_tools();
58724
59034
  init_agentsCreate2();
58725
59035
  init_agentsGet2();
59036
+ init_agentsLinkEvaluators2();
58726
59037
  init_agentsList2();
59038
+ init_agentsListEvaluators2();
58727
59039
  init_agentsResolve2();
58728
59040
  init_agentsUpdate2();
58729
59041
  init_agentsVerifyConnection2();
@@ -58742,8 +59054,8 @@ var init_server2 = __esm(() => {
58742
59054
  init_annotationTasksGetAgreement2();
58743
59055
  init_annotationTasksGetEvaluatorRun2();
58744
59056
  init_annotationTasksGetSummary2();
58745
- init_annotationTasksLinkEvaluator2();
58746
59057
  init_annotationTasksList2();
59058
+ init_annotationTasksSetEvaluators2();
58747
59059
  init_annotationTasksUpdateItems2();
58748
59060
  init_evaluatorsCreate2();
58749
59061
  init_evaluatorsCreateVersion2();
@@ -58800,6 +59112,19 @@ exist or belongs to another org.
58800
59112
  description: `Update an existing agent by UUID within the caller's org. Supply the
58801
59113
  fields to change (name, type, config). Returns the updated agent.
58802
59114
  Fails with 404 if the agent does not exist or belongs to another org.
59115
+ `
59116
+ },
59117
+ {
59118
+ name: "list-agent-evaluators",
59119
+ description: `List the evaluators linked to an agent, most recently linked first.
59120
+ Returns each evaluator's UUID, name, type, and live version summary.
59121
+ `
59122
+ },
59123
+ {
59124
+ name: "link-evaluators-to-agent",
59125
+ description: `Link one or more evaluators to an agent, skipping any already linked.
59126
+ Each evaluator must be one you created or a built-in default, and the
59127
+ agent must be in your workspace.
58803
59128
  `
58804
59129
  },
58805
59130
  {
@@ -58925,8 +59250,12 @@ run-agent-tests-batch.
58925
59250
  `
58926
59251
  },
58927
59252
  {
58928
- name: "link-evaluator-to-task",
58929
- description: `Link an evaluator to an annotation task, appending it to the display order.
59253
+ name: "set-task-evaluators",
59254
+ description: `Replace the task's linked evaluators with exactly the given ordered
59255
+ set: new ids are linked, omitted ids are unlinked, and the list order
59256
+ sets their display position. Send an empty list to unlink all. Each
59257
+ evaluator must be one you created or a built-in default, and the task
59258
+ must be in your workspace.
58930
59259
  `
58931
59260
  },
58932
59261
  {
@@ -59865,7 +60194,7 @@ http_headers = { "api-key-auth" = "YOUR_API_KEY_AUTH" }`;
59865
60194
  <h1>Instructions</h1>
59866
60195
  <p>One-click installation for Claude Desktop users</p>
59867
60196
  <div class="instruction-item">
59868
- <a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.25/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
60197
+ <a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.27/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
59869
60198
  \uD83D\uDCE5 Download MCP Bundle
59870
60199
  </a>
59871
60200
  </div>
@@ -62517,7 +62846,7 @@ var routes = buildRouteMap({
62517
62846
  var app = buildApplication(routes, {
62518
62847
  name: "mcp",
62519
62848
  versionInfo: {
62520
- currentVersion: "0.0.25"
62849
+ currentVersion: "0.0.27"
62521
62850
  }
62522
62851
  });
62523
62852
  run(app, process4.argv.slice(2), buildContext(process4));
@@ -62525,5 +62854,5 @@ export {
62525
62854
  app
62526
62855
  };
62527
62856
 
62528
- //# debugId=4F09830EB4B94F2464756E2164756E21
62857
+ //# debugId=1323100A9108A08C64756E2164756E21
62529
62858
  //# sourceMappingURL=mcp-server.js.map