@dalmia/calibrate-mcp 0.0.43 → 0.0.45

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 (61) hide show
  1. package/bin/mcp-server.js +418 -230
  2. package/bin/mcp-server.js.map +17 -11
  3. package/esm/funcs/agentTestsBulkUnlink.d.ts +16 -0
  4. package/esm/funcs/agentTestsBulkUnlink.d.ts.map +1 -0
  5. package/esm/funcs/agentTestsBulkUnlink.js +86 -0
  6. package/esm/funcs/agentTestsBulkUnlink.js.map +1 -0
  7. package/esm/funcs/agentTestsListForAgent.js +2 -0
  8. package/esm/funcs/agentTestsListForAgent.js.map +1 -1
  9. package/esm/landing-page.js +1 -1
  10. package/esm/lib/config.d.ts +2 -2
  11. package/esm/lib/config.js +2 -2
  12. package/esm/mcp-server/mcp-server.js +1 -1
  13. package/esm/mcp-server/server.d.ts.map +1 -1
  14. package/esm/mcp-server/server.js +3 -1
  15. package/esm/mcp-server/server.js.map +1 -1
  16. package/esm/mcp-server/tools/agentTestsBulkUnlink.d.ts +7 -0
  17. package/esm/mcp-server/tools/agentTestsBulkUnlink.d.ts.map +1 -0
  18. package/esm/mcp-server/tools/agentTestsBulkUnlink.js +39 -0
  19. package/esm/mcp-server/tools/agentTestsBulkUnlink.js.map +1 -0
  20. package/esm/models/agenttestbulkdelete.d.ts +7 -0
  21. package/esm/models/agenttestbulkdelete.d.ts.map +1 -0
  22. package/esm/models/agenttestbulkdelete.js +10 -0
  23. package/esm/models/agenttestbulkdelete.js.map +1 -0
  24. package/esm/models/agenttestrunlistitem.d.ts +2 -1
  25. package/esm/models/agenttestrunlistitem.d.ts.map +1 -1
  26. package/esm/models/agenttestrunlistitem.js +2 -1
  27. package/esm/models/agenttestrunlistitem.js.map +1 -1
  28. package/esm/models/agenttestsbulkunlinkresponse.d.ts +7 -0
  29. package/esm/models/agenttestsbulkunlinkresponse.d.ts.map +1 -0
  30. package/esm/models/agenttestsbulkunlinkresponse.js +9 -0
  31. package/esm/models/agenttestsbulkunlinkresponse.js.map +1 -0
  32. package/esm/models/bulkdeleteagenttestlinksagenttestsbulkunlinkpostop.d.ts +12 -0
  33. package/esm/models/bulkdeleteagenttestlinksagenttestsbulkunlinkpostop.d.ts.map +1 -0
  34. package/esm/models/bulkdeleteagenttestlinksagenttestsbulkunlinkpostop.js +16 -0
  35. package/esm/models/bulkdeleteagenttestlinksagenttestsbulkunlinkpostop.js.map +1 -0
  36. package/esm/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.d.ts +22 -0
  37. package/esm/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.d.ts.map +1 -1
  38. package/esm/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.js +18 -1
  39. package/esm/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.js.map +1 -1
  40. package/esm/models/runlistevaluator.d.ts +13 -0
  41. package/esm/models/runlistevaluator.d.ts.map +1 -0
  42. package/esm/models/runlistevaluator.js +9 -0
  43. package/esm/models/runlistevaluator.js.map +1 -0
  44. package/esm/tool-names.d.ts.map +1 -1
  45. package/esm/tool-names.js +4 -0
  46. package/esm/tool-names.js.map +1 -1
  47. package/package.json +1 -1
  48. package/src/funcs/agentTestsBulkUnlink.ts +151 -0
  49. package/src/funcs/agentTestsListForAgent.ts +2 -0
  50. package/src/landing-page.ts +1 -1
  51. package/src/lib/config.ts +2 -2
  52. package/src/mcp-server/mcp-server.ts +1 -1
  53. package/src/mcp-server/server.ts +3 -1
  54. package/src/mcp-server/tools/agentTestsBulkUnlink.ts +48 -0
  55. package/src/models/agenttestbulkdelete.ts +16 -0
  56. package/src/models/agenttestrunlistitem.ts +7 -3
  57. package/src/models/agenttestsbulkunlinkresponse.ts +19 -0
  58. package/src/models/bulkdeleteagenttestlinksagenttestsbulkunlinkpostop.ts +42 -0
  59. package/src/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.ts +31 -1
  60. package/src/models/runlistevaluator.ts +27 -0
  61. package/src/tool-names.ts +4 -0
package/bin/mcp-server.js CHANGED
@@ -51946,9 +51946,9 @@ var init_config = __esm(() => {
51946
51946
  SDK_METADATA = {
51947
51947
  language: "typescript",
51948
51948
  openapiDocVersion: "0.1.0",
51949
- sdkVersion: "0.0.43",
51949
+ sdkVersion: "0.0.45",
51950
51950
  genVersion: "2.915.1",
51951
- userAgent: "speakeasy-sdk/mcp-typescript 0.0.43 2.915.1 0.1.0 @dalmia/calibrate-mcp"
51951
+ userAgent: "speakeasy-sdk/mcp-typescript 0.0.45 2.915.1 0.1.0 @dalmia/calibrate-mcp"
51952
51952
  };
51953
51953
  });
51954
51954
 
@@ -54938,6 +54938,160 @@ var init_agentTestsBenchmark2 = __esm(() => {
54938
54938
  };
54939
54939
  });
54940
54940
 
54941
+ // src/models/agenttestbulkdelete.ts
54942
+ var AgentTestBulkDelete$zodSchema;
54943
+ var init_agenttestbulkdelete = __esm(() => {
54944
+ init_zod();
54945
+ AgentTestBulkDelete$zodSchema = object({
54946
+ agent_uuid: string2().describe("Agent to unlink tests from"),
54947
+ test_uuids: array(string2()).describe("Tests to unlink from the agent")
54948
+ });
54949
+ });
54950
+
54951
+ // src/models/agenttestsbulkunlinkresponse.ts
54952
+ var AgentTestsBulkUnlinkResponse$zodSchema;
54953
+ var init_agenttestsbulkunlinkresponse = __esm(() => {
54954
+ init_zod();
54955
+ AgentTestsBulkUnlinkResponse$zodSchema = object({
54956
+ deleted_count: int().describe("Number of links removed. Tests that were not linked are excluded"),
54957
+ message: string2().describe("Confirmation message")
54958
+ });
54959
+ });
54960
+
54961
+ // src/models/bulkdeleteagenttestlinksagenttestsbulkunlinkpostop.ts
54962
+ var BulkDeleteAgentTestLinksAgentTestsBulkUnlinkPostRequest$zodSchema, BulkDeleteAgentTestLinksAgentTestsBulkUnlinkPostResponse$zodSchema;
54963
+ var init_bulkdeleteagenttestlinksagenttestsbulkunlinkpostop = __esm(() => {
54964
+ init_zod();
54965
+ init_agenttestbulkdelete();
54966
+ init_agenttestsbulkunlinkresponse();
54967
+ init_httpvalidationerror();
54968
+ BulkDeleteAgentTestLinksAgentTestsBulkUnlinkPostRequest$zodSchema = object({
54969
+ body: AgentTestBulkDelete$zodSchema,
54970
+ xAPIKey: string2().nullable().optional()
54971
+ });
54972
+ BulkDeleteAgentTestLinksAgentTestsBulkUnlinkPostResponse$zodSchema = union([
54973
+ AgentTestsBulkUnlinkResponse$zodSchema,
54974
+ HTTPValidationError$zodSchema
54975
+ ]);
54976
+ });
54977
+
54978
+ // src/funcs/agentTestsBulkUnlink.ts
54979
+ function agentTestsBulkUnlink(client$, request, options) {
54980
+ return new APIPromise($do10(client$, request, options));
54981
+ }
54982
+ async function $do10(client$, request, options) {
54983
+ const parsed$ = safeParse4(request, (value$) => BulkDeleteAgentTestLinksAgentTestsBulkUnlinkPostRequest$zodSchema.parse(value$), "Input validation failed");
54984
+ if (!parsed$.ok) {
54985
+ return [parsed$, { status: "invalid" }];
54986
+ }
54987
+ const payload$ = parsed$.value;
54988
+ const body$ = encodeJSON("body", payload$.body, { explode: true });
54989
+ const path$ = pathToFunc("/agent-tests/bulk-unlink")();
54990
+ const headers$ = new Headers(compactMap({
54991
+ "Content-Type": "application/json",
54992
+ Accept: "application/json",
54993
+ "X-API-Key": encodeSimple("X-API-Key", payload$.xAPIKey, {
54994
+ explode: false,
54995
+ charEncoding: "none"
54996
+ })
54997
+ }));
54998
+ const securityInput = await extractSecurity(client$._options.security);
54999
+ const requestSecurity = resolveGlobalSecurity(securityInput);
55000
+ const context = {
55001
+ options: client$._options,
55002
+ baseURL: options?.serverURL ?? client$._baseURL ?? "",
55003
+ operationID: "bulk_delete_agent_test_links_agent_tests_bulk_unlink_post",
55004
+ oAuth2Scopes: null,
55005
+ resolvedSecurity: requestSecurity,
55006
+ securitySource: client$._options.security,
55007
+ retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
55008
+ retryCodes: options?.retryCodes || [
55009
+ "429",
55010
+ "500",
55011
+ "502",
55012
+ "503",
55013
+ "504"
55014
+ ]
55015
+ };
55016
+ const requestRes = client$._createRequest(context, {
55017
+ security: requestSecurity,
55018
+ method: "POST",
55019
+ baseURL: options?.serverURL,
55020
+ path: path$,
55021
+ headers: headers$,
55022
+ body: body$,
55023
+ userAgent: client$._options.userAgent,
55024
+ timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
55025
+ }, options);
55026
+ if (!requestRes.ok) {
55027
+ return [requestRes, { status: "invalid" }];
55028
+ }
55029
+ const req$ = requestRes.value;
55030
+ const doResult = await client$._do(req$, {
55031
+ context,
55032
+ errorCodes: [],
55033
+ retryConfig: context.retryConfig,
55034
+ retryCodes: context.retryCodes
55035
+ });
55036
+ if (!doResult.ok) {
55037
+ return [doResult, { status: "request-error", request: req$ }];
55038
+ }
55039
+ return [doResult, {
55040
+ status: "complete",
55041
+ request: req$,
55042
+ response: doResult.value
55043
+ }];
55044
+ }
55045
+ var init_agentTestsBulkUnlink = __esm(() => {
55046
+ init_encodings();
55047
+ init_primitives();
55048
+ init_schemas4();
55049
+ init_security();
55050
+ init_url();
55051
+ init_bulkdeleteagenttestlinksagenttestsbulkunlinkpostop();
55052
+ init_async();
55053
+ });
55054
+
55055
+ // src/mcp-server/tools/agentTestsBulkUnlink.ts
55056
+ var args10, tool$agentTestsBulkUnlink;
55057
+ var init_agentTestsBulkUnlink2 = __esm(() => {
55058
+ init_agentTestsBulkUnlink();
55059
+ init_bulkdeleteagenttestlinksagenttestsbulkunlinkpostop();
55060
+ init_tools();
55061
+ args10 = {
55062
+ request: BulkDeleteAgentTestLinksAgentTestsBulkUnlinkPostRequest$zodSchema
55063
+ };
55064
+ tool$agentTestsBulkUnlink = {
55065
+ name: "bulk-unlink-agent-tests",
55066
+ description: `Remove one or more tests from an agent in a single call. The tests
55067
+ themselves are kept and stay available to other agents; only the links
55068
+ to this agent go. Tests that were not linked are skipped, so
55069
+ deleted_count can be lower than the number of ids sent. Fails with 404
55070
+ when the agent is not in the caller's org and 400 when test_uuids is
55071
+ empty.
55072
+ `,
55073
+ scopes: ["write"],
55074
+ annotations: {
55075
+ title: "Unlink tests from an agent",
55076
+ destructiveHint: true,
55077
+ idempotentHint: true,
55078
+ openWorldHint: true,
55079
+ readOnlyHint: false
55080
+ },
55081
+ args: args10,
55082
+ tool: async (client, args11, ctx) => {
55083
+ const [result] = await agentTestsBulkUnlink(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55084
+ if (!result.ok) {
55085
+ return {
55086
+ content: [{ type: "text", text: result.error.message }],
55087
+ isError: true
55088
+ };
55089
+ }
55090
+ return formatResult(result.value);
55091
+ }
55092
+ };
55093
+ });
55094
+
54941
55095
  // src/models/judgeresult.ts
54942
55096
  var JudgeResult$zodSchema;
54943
55097
  var init_judgeresult = __esm(() => {
@@ -55087,9 +55241,9 @@ var init_getbenchmarkstatusagenttestsbenchmarktaskidgetop = __esm(() => {
55087
55241
 
55088
55242
  // src/funcs/agentTestsGetBenchmark.ts
55089
55243
  function agentTestsGetBenchmark(client$, request, options) {
55090
- return new APIPromise($do10(client$, request, options));
55244
+ return new APIPromise($do11(client$, request, options));
55091
55245
  }
55092
- async function $do10(client$, request, options) {
55246
+ async function $do11(client$, request, options) {
55093
55247
  const parsed$ = safeParse4(request, (value$) => GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetRequest$zodSchema.parse(value$), "Input validation failed");
55094
55248
  if (!parsed$.ok) {
55095
55249
  return [parsed$, { status: "invalid" }];
@@ -55173,12 +55327,12 @@ var init_agentTestsGetBenchmark = __esm(() => {
55173
55327
  });
55174
55328
 
55175
55329
  // src/mcp-server/tools/agentTestsGetBenchmark.ts
55176
- var args10, tool$agentTestsGetBenchmark;
55330
+ var args11, tool$agentTestsGetBenchmark;
55177
55331
  var init_agentTestsGetBenchmark2 = __esm(() => {
55178
55332
  init_agentTestsGetBenchmark();
55179
55333
  init_getbenchmarkstatusagenttestsbenchmarktaskidgetop();
55180
55334
  init_tools();
55181
- args10 = {
55335
+ args11 = {
55182
55336
  request: GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetRequest$zodSchema
55183
55337
  };
55184
55338
  tool$agentTestsGetBenchmark = {
@@ -55193,9 +55347,9 @@ var init_agentTestsGetBenchmark2 = __esm(() => {
55193
55347
  openWorldHint: true,
55194
55348
  readOnlyHint: true
55195
55349
  },
55196
- args: args10,
55197
- tool: async (client, args11, ctx) => {
55198
- const [result] = await agentTestsGetBenchmark(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55350
+ args: args11,
55351
+ tool: async (client, args12, ctx) => {
55352
+ const [result] = await agentTestsGetBenchmark(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55199
55353
  if (!result.ok) {
55200
55354
  return {
55201
55355
  content: [{ type: "text", text: result.error.message }],
@@ -55252,9 +55406,9 @@ var init_getagenttestrunstatusagenttestsruntaskidgetop = __esm(() => {
55252
55406
 
55253
55407
  // src/funcs/agentTestsGetRun.ts
55254
55408
  function agentTestsGetRun(client$, request, options) {
55255
- return new APIPromise($do11(client$, request, options));
55409
+ return new APIPromise($do12(client$, request, options));
55256
55410
  }
55257
- async function $do11(client$, request, options) {
55411
+ async function $do12(client$, request, options) {
55258
55412
  const parsed$ = safeParse4(request, (value$) => GetAgentTestRunStatusAgentTestsRunTaskIdGetRequest$zodSchema.parse(value$), "Input validation failed");
55259
55413
  if (!parsed$.ok) {
55260
55414
  return [parsed$, { status: "invalid" }];
@@ -55338,12 +55492,12 @@ var init_agentTestsGetRun = __esm(() => {
55338
55492
  });
55339
55493
 
55340
55494
  // src/mcp-server/tools/agentTestsGetRun.ts
55341
- var args11, tool$agentTestsGetRun;
55495
+ var args12, tool$agentTestsGetRun;
55342
55496
  var init_agentTestsGetRun2 = __esm(() => {
55343
55497
  init_agentTestsGetRun();
55344
55498
  init_getagenttestrunstatusagenttestsruntaskidgetop();
55345
55499
  init_tools();
55346
- args11 = {
55500
+ args12 = {
55347
55501
  request: GetAgentTestRunStatusAgentTestsRunTaskIdGetRequest$zodSchema
55348
55502
  };
55349
55503
  tool$agentTestsGetRun = {
@@ -55362,9 +55516,9 @@ run-agent-tests-batch.
55362
55516
  openWorldHint: true,
55363
55517
  readOnlyHint: true
55364
55518
  },
55365
- args: args11,
55366
- tool: async (client, args12, ctx) => {
55367
- const [result] = await agentTestsGetRun(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55519
+ args: args12,
55520
+ tool: async (client, args13, ctx) => {
55521
+ const [result] = await agentTestsGetRun(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55368
55522
  if (!result.ok) {
55369
55523
  return {
55370
55524
  content: [{ type: "text", text: result.error.message }],
@@ -55414,9 +55568,9 @@ var init_createagenttestlinksagenttestspostop = __esm(() => {
55414
55568
 
55415
55569
  // src/funcs/agentTestsLink.ts
55416
55570
  function agentTestsLink(client$, request, options) {
55417
- return new APIPromise($do12(client$, request, options));
55571
+ return new APIPromise($do13(client$, request, options));
55418
55572
  }
55419
- async function $do12(client$, request, options) {
55573
+ async function $do13(client$, request, options) {
55420
55574
  const parsed$ = safeParse4(request, (value$) => CreateAgentTestLinksAgentTestsPostRequest$zodSchema.parse(value$), "Input validation failed");
55421
55575
  if (!parsed$.ok) {
55422
55576
  return [parsed$, { status: "invalid" }];
@@ -55490,12 +55644,12 @@ var init_agentTestsLink = __esm(() => {
55490
55644
  });
55491
55645
 
55492
55646
  // src/mcp-server/tools/agentTestsLink.ts
55493
- var args12, tool$agentTestsLink;
55647
+ var args13, tool$agentTestsLink;
55494
55648
  var init_agentTestsLink2 = __esm(() => {
55495
55649
  init_agentTestsLink();
55496
55650
  init_createagenttestlinksagenttestspostop();
55497
55651
  init_tools();
55498
- args12 = {
55652
+ args13 = {
55499
55653
  request: CreateAgentTestLinksAgentTestsPostRequest$zodSchema
55500
55654
  };
55501
55655
  tool$agentTestsLink = {
@@ -55510,9 +55664,9 @@ var init_agentTestsLink2 = __esm(() => {
55510
55664
  openWorldHint: true,
55511
55665
  readOnlyHint: false
55512
55666
  },
55513
- args: args12,
55514
- tool: async (client, args13, ctx) => {
55515
- const [result] = await agentTestsLink(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55667
+ args: args13,
55668
+ tool: async (client, args14, ctx) => {
55669
+ const [result] = await agentTestsLink(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55516
55670
  if (!result.ok) {
55517
55671
  return {
55518
55672
  content: [{ type: "text", text: result.error.message }],
@@ -55568,16 +55722,24 @@ var init_paginatedresponsetestlistresponse = __esm(() => {
55568
55722
  });
55569
55723
 
55570
55724
  // src/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.ts
55571
- var GetAgentTestsEndpointAgentTestsAgentAgentUuidTestsGetRequest$zodSchema, GetAgentTestsEndpointAgentTestsAgentAgentUuidTestsGetResponse$zodSchema;
55725
+ var QMode$zodSchema, GetAgentTestsEndpointAgentTestsAgentAgentUuidTestsGetRequest$zodSchema, GetAgentTestsEndpointAgentTestsAgentAgentUuidTestsGetResponse$zodSchema;
55572
55726
  var init_getagenttestsendpointagenttestsagentagentuuidtestsgetop = __esm(() => {
55573
55727
  init_zod();
55574
55728
  init_httpvalidationerror();
55575
55729
  init_paginatedresponsetestlistresponse();
55730
+ QMode$zodSchema = _enum([
55731
+ "contains",
55732
+ "starts_with",
55733
+ "ends_with",
55734
+ "exact"
55735
+ ]).describe("How to match `q` against the searched fields");
55576
55736
  GetAgentTestsEndpointAgentTestsAgentAgentUuidTestsGetRequest$zodSchema = object({
55577
55737
  agent_uuid: string2().describe("Agent whose linked tests to list"),
55578
55738
  limit: int().describe("Maximum number of items to return. Omit for no limit (all items)").nullable().optional(),
55579
55739
  offset: int().default(0).describe("Number of items to skip before returning results"),
55580
- q: string2().describe("Case-insensitive substring search on `name`. Blank is a no-op").nullable().optional(),
55740
+ q: string2().describe("Case-insensitive search on `name`. Blank is a no-op").nullable().optional(),
55741
+ q_mode: QMode$zodSchema.default("contains").describe("How to match `q` against the searched fields"),
55742
+ type: array(string2()).describe("Keep only tests of these types. Repeat the parameter or pass one comma-separated value. Accepts `response`, `tool_call`, `conversation`, `general`").nullable().optional(),
55581
55743
  xAPIKey: string2().nullable().optional()
55582
55744
  });
55583
55745
  GetAgentTestsEndpointAgentTestsAgentAgentUuidTestsGetResponse$zodSchema = union([
@@ -55588,9 +55750,9 @@ var init_getagenttestsendpointagenttestsagentagentuuidtestsgetop = __esm(() => {
55588
55750
 
55589
55751
  // src/funcs/agentTestsListForAgent.ts
55590
55752
  function agentTestsListForAgent(client$, request, options) {
55591
- return new APIPromise($do13(client$, request, options));
55753
+ return new APIPromise($do14(client$, request, options));
55592
55754
  }
55593
- async function $do13(client$, request, options) {
55755
+ async function $do14(client$, request, options) {
55594
55756
  const parsed$ = safeParse4(request, (value$) => GetAgentTestsEndpointAgentTestsAgentAgentUuidTestsGetRequest$zodSchema.parse(value$), "Input validation failed");
55595
55757
  if (!parsed$.ok) {
55596
55758
  return [parsed$, { status: "invalid" }];
@@ -55607,7 +55769,9 @@ async function $do13(client$, request, options) {
55607
55769
  const query$ = encodeFormQuery({
55608
55770
  limit: payload$.limit,
55609
55771
  offset: payload$.offset,
55610
- q: payload$.q
55772
+ q: payload$.q,
55773
+ q_mode: payload$.q_mode,
55774
+ type: payload$.type
55611
55775
  });
55612
55776
  const headers$ = new Headers(compactMap({
55613
55777
  Accept: "application/json",
@@ -55675,12 +55839,12 @@ var init_agentTestsListForAgent = __esm(() => {
55675
55839
  });
55676
55840
 
55677
55841
  // src/mcp-server/tools/agentTestsListForAgent.ts
55678
- var args13, tool$agentTestsListForAgent;
55842
+ var args14, tool$agentTestsListForAgent;
55679
55843
  var init_agentTestsListForAgent2 = __esm(() => {
55680
55844
  init_agentTestsListForAgent();
55681
55845
  init_getagenttestsendpointagenttestsagentagentuuidtestsgetop();
55682
55846
  init_tools();
55683
- args13 = {
55847
+ args14 = {
55684
55848
  request: GetAgentTestsEndpointAgentTestsAgentAgentUuidTestsGetRequest$zodSchema
55685
55849
  };
55686
55850
  tool$agentTestsListForAgent = {
@@ -55695,9 +55859,9 @@ var init_agentTestsListForAgent2 = __esm(() => {
55695
55859
  openWorldHint: true,
55696
55860
  readOnlyHint: true
55697
55861
  },
55698
- args: args13,
55699
- tool: async (client, args14, ctx) => {
55700
- const [result] = await agentTestsListForAgent(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55862
+ args: args14,
55863
+ tool: async (client, args15, ctx) => {
55864
+ const [result] = await agentTestsListForAgent(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55701
55865
  if (!result.ok) {
55702
55866
  return {
55703
55867
  content: [{ type: "text", text: result.error.message }],
@@ -55723,6 +55887,17 @@ var init_modelrunsummary = __esm(() => {
55723
55887
  }).describe("Flat summary for one model in a benchmark run-LIST item. The full results\nfor each case of a model live on the benchmark detail endpoint\n(`GET /agent-tests/benchmark/{task_id}`), not here.");
55724
55888
  });
55725
55889
 
55890
+ // src/models/runlistevaluator.ts
55891
+ var RunListEvaluator$zodSchema;
55892
+ var init_runlistevaluator = __esm(() => {
55893
+ init_zod();
55894
+ RunListEvaluator$zodSchema = object({
55895
+ name: string2().describe("Name of the evaluator"),
55896
+ uuid: string2().nullable().optional().describe("ID of the evaluator. Absent for the `Tool call` entry, which is not an evaluator in the library")
55897
+ }).describe(`One evaluator on a run-LIST row: just enough to name it and open it.
55898
+ The rubric, prompt and version live on the run-DETAIL endpoint.`);
55899
+ });
55900
+
55726
55901
  // src/models/testruncasesummary.ts
55727
55902
  var TestRunCaseSummary$zodSchema;
55728
55903
  var init_testruncasesummary = __esm(() => {
@@ -55742,6 +55917,7 @@ var AgentTestRunListItemType$zodSchema, AgentTestRunListItem$zodSchema;
55742
55917
  var init_agenttestrunlistitem = __esm(() => {
55743
55918
  init_zod();
55744
55919
  init_modelrunsummary();
55920
+ init_runlistevaluator();
55745
55921
  init_taskstatus();
55746
55922
  init_testruncasesummary();
55747
55923
  AgentTestRunListItemType$zodSchema = _enum([
@@ -55752,7 +55928,7 @@ var init_agenttestrunlistitem = __esm(() => {
55752
55928
  cost: record(string2(), any()).nullable().optional().describe("Aggregated cost as `{mean, min, max, count}` (USD)"),
55753
55929
  created_at: string2().describe("When the run was created (ISO 8601 UTC)"),
55754
55930
  error: boolean2().default(false).describe("True if the run failed"),
55755
- evaluators: array(string2()).optional().describe("Names of the evaluators that judged this run, deduplicated and in display order. `Tool call` is appended when any test in the run was a tool-call test. Empty when the run had no evaluators"),
55931
+ evaluators: array(RunListEvaluator$zodSchema).optional().describe("The evaluators that judged this run, deduplicated and in display order. A `Tool call` entry is appended when any test in the run was a tool-call test. That entry has no `uuid`, because it is not an evaluator in the library. Empty when the run had no evaluators"),
55756
55932
  failed: int().nullable().optional().describe("Number of test cases that failed"),
55757
55933
  is_public: boolean2().default(false).describe("Whether the run is shared publicly"),
55758
55934
  latency_ms: record(string2(), any()).nullable().optional().describe("Aggregated latency in milliseconds, as `{p50, p95, p99, count}`"),
@@ -55812,9 +55988,9 @@ var init_getagenttestrunsagenttestsagentagentuuidrunsgetop = __esm(() => {
55812
55988
 
55813
55989
  // src/funcs/agentTestsListRunsForAgent.ts
55814
55990
  function agentTestsListRunsForAgent(client$, request, options) {
55815
- return new APIPromise($do14(client$, request, options));
55991
+ return new APIPromise($do15(client$, request, options));
55816
55992
  }
55817
- async function $do14(client$, request, options) {
55993
+ async function $do15(client$, request, options) {
55818
55994
  const parsed$ = safeParse4(request, (value$) => GetAgentTestRunsAgentTestsAgentAgentUuidRunsGetRequest$zodSchema.parse(value$), "Input validation failed");
55819
55995
  if (!parsed$.ok) {
55820
55996
  return [parsed$, { status: "invalid" }];
@@ -55902,12 +56078,12 @@ var init_agentTestsListRunsForAgent = __esm(() => {
55902
56078
  });
55903
56079
 
55904
56080
  // src/mcp-server/tools/agentTestsListRunsForAgent.ts
55905
- var args14, tool$agentTestsListRunsForAgent;
56081
+ var args15, tool$agentTestsListRunsForAgent;
55906
56082
  var init_agentTestsListRunsForAgent2 = __esm(() => {
55907
56083
  init_agentTestsListRunsForAgent();
55908
56084
  init_getagenttestrunsagenttestsagentagentuuidrunsgetop();
55909
56085
  init_tools();
55910
- args14 = {
56086
+ args15 = {
55911
56087
  request: GetAgentTestRunsAgentTestsAgentAgentUuidRunsGetRequest$zodSchema
55912
56088
  };
55913
56089
  tool$agentTestsListRunsForAgent = {
@@ -55922,9 +56098,9 @@ var init_agentTestsListRunsForAgent2 = __esm(() => {
55922
56098
  openWorldHint: true,
55923
56099
  readOnlyHint: true
55924
56100
  },
55925
- args: args14,
55926
- tool: async (client, args15, ctx) => {
55927
- const [result] = await agentTestsListRunsForAgent(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56101
+ args: args15,
56102
+ tool: async (client, args16, ctx) => {
56103
+ const [result] = await agentTestsListRunsForAgent(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
55928
56104
  if (!result.ok) {
55929
56105
  return {
55930
56106
  content: [{ type: "text", text: result.error.message }],
@@ -55965,9 +56141,9 @@ var init_runagenttestagenttestsagentagentuuidrunpostop = __esm(() => {
55965
56141
 
55966
56142
  // src/funcs/agentTestsRun.ts
55967
56143
  function agentTestsRun(client$, request, options) {
55968
- return new APIPromise($do15(client$, request, options));
56144
+ return new APIPromise($do16(client$, request, options));
55969
56145
  }
55970
- async function $do15(client$, request, options) {
56146
+ async function $do16(client$, request, options) {
55971
56147
  const parsed$ = safeParse4(request, (value$) => RunAgentTestAgentTestsAgentAgentUuidRunPostRequest$zodSchema.parse(value$), "Input validation failed");
55972
56148
  if (!parsed$.ok) {
55973
56149
  return [parsed$, { status: "invalid" }];
@@ -56047,12 +56223,12 @@ var init_agentTestsRun = __esm(() => {
56047
56223
  });
56048
56224
 
56049
56225
  // src/mcp-server/tools/agentTestsRun.ts
56050
- var args15, tool$agentTestsRun;
56226
+ var args16, tool$agentTestsRun;
56051
56227
  var init_agentTestsRun2 = __esm(() => {
56052
56228
  init_agentTestsRun();
56053
56229
  init_runagenttestagenttestsagentagentuuidrunpostop();
56054
56230
  init_tools();
56055
- args15 = {
56231
+ args16 = {
56056
56232
  request: RunAgentTestAgentTestsAgentAgentUuidRunPostRequest$zodSchema
56057
56233
  };
56058
56234
  tool$agentTestsRun = {
@@ -56071,9 +56247,9 @@ or 404.
56071
56247
  openWorldHint: true,
56072
56248
  readOnlyHint: false
56073
56249
  },
56074
- args: args15,
56075
- tool: async (client, args16, ctx) => {
56076
- const [result] = await agentTestsRun(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56250
+ args: args16,
56251
+ tool: async (client, args17, ctx) => {
56252
+ const [result] = await agentTestsRun(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56077
56253
  if (!result.ok) {
56078
56254
  return {
56079
56255
  content: [{ type: "text", text: result.error.message }],
@@ -56156,9 +56332,9 @@ var init_runtestsbatchagenttestsrunpostop = __esm(() => {
56156
56332
 
56157
56333
  // src/funcs/agentTestsRunBatch.ts
56158
56334
  function agentTestsRunBatch(client$, request, options) {
56159
- return new APIPromise($do16(client$, request, options));
56335
+ return new APIPromise($do17(client$, request, options));
56160
56336
  }
56161
- async function $do16(client$, request, options) {
56337
+ async function $do17(client$, request, options) {
56162
56338
  const parsed$ = safeParse4(request, (value$) => RunTestsBatchAgentTestsRunPostRequest$zodSchema.optional().parse(value$), "Input validation failed");
56163
56339
  if (!parsed$.ok) {
56164
56340
  return [parsed$, { status: "invalid" }];
@@ -56232,12 +56408,12 @@ var init_agentTestsRunBatch = __esm(() => {
56232
56408
  });
56233
56409
 
56234
56410
  // src/mcp-server/tools/agentTestsRunBatch.ts
56235
- var args16, tool$agentTestsRunBatch;
56411
+ var args17, tool$agentTestsRunBatch;
56236
56412
  var init_agentTestsRunBatch2 = __esm(() => {
56237
56413
  init_agentTestsRunBatch();
56238
56414
  init_runtestsbatchagenttestsrunpostop();
56239
56415
  init_tools();
56240
- args16 = {
56416
+ args17 = {
56241
56417
  request: RunTestsBatchAgentTestsRunPostRequest$zodSchema.optional()
56242
56418
  };
56243
56419
  tool$agentTestsRunBatch = {
@@ -56256,9 +56432,9 @@ task_id values to poll with get-agent-test-run.
56256
56432
  openWorldHint: true,
56257
56433
  readOnlyHint: false
56258
56434
  },
56259
- args: args16,
56260
- tool: async (client, args17, ctx) => {
56261
- const [result] = await agentTestsRunBatch(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56435
+ args: args17,
56436
+ tool: async (client, args18, ctx) => {
56437
+ const [result] = await agentTestsRunBatch(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56262
56438
  if (!result.ok) {
56263
56439
  return {
56264
56440
  content: [{ type: "text", text: result.error.message }],
@@ -56324,9 +56500,9 @@ var init_bulkcreateitemsannotationtaskstaskuuiditemspostop = __esm(() => {
56324
56500
 
56325
56501
  // src/funcs/annotationTasksAddItems.ts
56326
56502
  function annotationTasksAddItems(client$, request, options) {
56327
- return new APIPromise($do17(client$, request, options));
56503
+ return new APIPromise($do18(client$, request, options));
56328
56504
  }
56329
- async function $do17(client$, request, options) {
56505
+ async function $do18(client$, request, options) {
56330
56506
  const parsed$ = safeParse4(request, (value$) => BulkCreateItemsAnnotationTasksTaskUuidItemsPostRequest$zodSchema.parse(value$), "Input validation failed");
56331
56507
  if (!parsed$.ok) {
56332
56508
  return [parsed$, { status: "invalid" }];
@@ -56406,12 +56582,12 @@ var init_annotationTasksAddItems = __esm(() => {
56406
56582
  });
56407
56583
 
56408
56584
  // src/mcp-server/tools/annotationTasksAddItems.ts
56409
- var args17, tool$annotationTasksAddItems;
56585
+ var args18, tool$annotationTasksAddItems;
56410
56586
  var init_annotationTasksAddItems2 = __esm(() => {
56411
56587
  init_annotationTasksAddItems();
56412
56588
  init_bulkcreateitemsannotationtaskstaskuuiditemspostop();
56413
56589
  init_tools();
56414
- args17 = {
56590
+ args18 = {
56415
56591
  request: BulkCreateItemsAnnotationTasksTaskUuidItemsPostRequest$zodSchema
56416
56592
  };
56417
56593
  tool$annotationTasksAddItems = {
@@ -56426,9 +56602,9 @@ var init_annotationTasksAddItems2 = __esm(() => {
56426
56602
  openWorldHint: true,
56427
56603
  readOnlyHint: false
56428
56604
  },
56429
- args: args17,
56430
- tool: async (client, args18, ctx) => {
56431
- const [result] = await annotationTasksAddItems(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56605
+ args: args18,
56606
+ tool: async (client, args19, ctx) => {
56607
+ const [result] = await annotationTasksAddItems(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56432
56608
  if (!result.ok) {
56433
56609
  return {
56434
56610
  content: [{ type: "text", text: result.error.message }],
@@ -56488,9 +56664,9 @@ var init_createannotationtaskendpointannotationtaskspostop = __esm(() => {
56488
56664
 
56489
56665
  // src/funcs/annotationTasksCreate.ts
56490
56666
  function annotationTasksCreate(client$, request, options) {
56491
- return new APIPromise($do18(client$, request, options));
56667
+ return new APIPromise($do19(client$, request, options));
56492
56668
  }
56493
- async function $do18(client$, request, options) {
56669
+ async function $do19(client$, request, options) {
56494
56670
  const parsed$ = safeParse4(request, (value$) => CreateAnnotationTaskEndpointAnnotationTasksPostRequest$zodSchema.parse(value$), "Input validation failed");
56495
56671
  if (!parsed$.ok) {
56496
56672
  return [parsed$, { status: "invalid" }];
@@ -56564,12 +56740,12 @@ var init_annotationTasksCreate = __esm(() => {
56564
56740
  });
56565
56741
 
56566
56742
  // src/mcp-server/tools/annotationTasksCreate.ts
56567
- var args18, tool$annotationTasksCreate;
56743
+ var args19, tool$annotationTasksCreate;
56568
56744
  var init_annotationTasksCreate2 = __esm(() => {
56569
56745
  init_annotationTasksCreate();
56570
56746
  init_createannotationtaskendpointannotationtaskspostop();
56571
56747
  init_tools();
56572
- args18 = {
56748
+ args19 = {
56573
56749
  request: CreateAnnotationTaskEndpointAnnotationTasksPostRequest$zodSchema
56574
56750
  };
56575
56751
  tool$annotationTasksCreate = {
@@ -56584,9 +56760,9 @@ var init_annotationTasksCreate2 = __esm(() => {
56584
56760
  openWorldHint: true,
56585
56761
  readOnlyHint: false
56586
56762
  },
56587
- args: args18,
56588
- tool: async (client, args19, ctx) => {
56589
- const [result] = await annotationTasksCreate(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56763
+ args: args19,
56764
+ tool: async (client, args20, ctx) => {
56765
+ const [result] = await annotationTasksCreate(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56590
56766
  if (!result.ok) {
56591
56767
  return {
56592
56768
  content: [{ type: "text", text: result.error.message }],
@@ -56657,9 +56833,9 @@ var init_startevaluatorrunannotationtaskstaskuuidevaluatorrunspostop = __esm(()
56657
56833
 
56658
56834
  // src/funcs/annotationTasksCreateEvaluatorRun.ts
56659
56835
  function annotationTasksCreateEvaluatorRun(client$, request, options) {
56660
- return new APIPromise($do19(client$, request, options));
56836
+ return new APIPromise($do20(client$, request, options));
56661
56837
  }
56662
- async function $do19(client$, request, options) {
56838
+ async function $do20(client$, request, options) {
56663
56839
  const parsed$ = safeParse4(request, (value$) => StartEvaluatorRunAnnotationTasksTaskUuidEvaluatorRunsPostRequest$zodSchema.parse(value$), "Input validation failed");
56664
56840
  if (!parsed$.ok) {
56665
56841
  return [parsed$, { status: "invalid" }];
@@ -56739,12 +56915,12 @@ var init_annotationTasksCreateEvaluatorRun = __esm(() => {
56739
56915
  });
56740
56916
 
56741
56917
  // src/mcp-server/tools/annotationTasksCreateEvaluatorRun.ts
56742
- var args19, tool$annotationTasksCreateEvaluatorRun;
56918
+ var args20, tool$annotationTasksCreateEvaluatorRun;
56743
56919
  var init_annotationTasksCreateEvaluatorRun2 = __esm(() => {
56744
56920
  init_annotationTasksCreateEvaluatorRun();
56745
56921
  init_startevaluatorrunannotationtaskstaskuuidevaluatorrunspostop();
56746
56922
  init_tools();
56747
- args19 = {
56923
+ args20 = {
56748
56924
  request: StartEvaluatorRunAnnotationTasksTaskUuidEvaluatorRunsPostRequest$zodSchema
56749
56925
  };
56750
56926
  tool$annotationTasksCreateEvaluatorRun = {
@@ -56759,9 +56935,9 @@ var init_annotationTasksCreateEvaluatorRun2 = __esm(() => {
56759
56935
  openWorldHint: true,
56760
56936
  readOnlyHint: false
56761
56937
  },
56762
- args: args19,
56763
- tool: async (client, args20, ctx) => {
56764
- const [result] = await annotationTasksCreateEvaluatorRun(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56938
+ args: args20,
56939
+ tool: async (client, args21, ctx) => {
56940
+ const [result] = await annotationTasksCreateEvaluatorRun(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56765
56941
  if (!result.ok) {
56766
56942
  return {
56767
56943
  content: [{ type: "text", text: result.error.message }],
@@ -56840,9 +57016,9 @@ var init_createjobsannotationtaskstaskuuidjobspostop = __esm(() => {
56840
57016
 
56841
57017
  // src/funcs/annotationTasksCreateLabellingJobs.ts
56842
57018
  function annotationTasksCreateLabellingJobs(client$, request, options) {
56843
- return new APIPromise($do20(client$, request, options));
57019
+ return new APIPromise($do21(client$, request, options));
56844
57020
  }
56845
- async function $do20(client$, request, options) {
57021
+ async function $do21(client$, request, options) {
56846
57022
  const parsed$ = safeParse4(request, (value$) => CreateJobsAnnotationTasksTaskUuidJobsPostRequest$zodSchema.parse(value$), "Input validation failed");
56847
57023
  if (!parsed$.ok) {
56848
57024
  return [parsed$, { status: "invalid" }];
@@ -56922,12 +57098,12 @@ var init_annotationTasksCreateLabellingJobs = __esm(() => {
56922
57098
  });
56923
57099
 
56924
57100
  // src/mcp-server/tools/annotationTasksCreateLabellingJobs.ts
56925
- var args20, tool$annotationTasksCreateLabellingJobs;
57101
+ var args21, tool$annotationTasksCreateLabellingJobs;
56926
57102
  var init_annotationTasksCreateLabellingJobs2 = __esm(() => {
56927
57103
  init_annotationTasksCreateLabellingJobs();
56928
57104
  init_createjobsannotationtaskstaskuuidjobspostop();
56929
57105
  init_tools();
56930
- args20 = {
57106
+ args21 = {
56931
57107
  request: CreateJobsAnnotationTasksTaskUuidJobsPostRequest$zodSchema
56932
57108
  };
56933
57109
  tool$annotationTasksCreateLabellingJobs = {
@@ -56942,9 +57118,9 @@ var init_annotationTasksCreateLabellingJobs2 = __esm(() => {
56942
57118
  openWorldHint: true,
56943
57119
  readOnlyHint: false
56944
57120
  },
56945
- args: args20,
56946
- tool: async (client, args21, ctx) => {
56947
- const [result] = await annotationTasksCreateLabellingJobs(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57121
+ args: args21,
57122
+ tool: async (client, args22, ctx) => {
57123
+ const [result] = await annotationTasksCreateLabellingJobs(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56948
57124
  if (!result.ok) {
56949
57125
  return {
56950
57126
  content: [{ type: "text", text: result.error.message }],
@@ -57000,9 +57176,9 @@ var init_getannotationtaskendpointannotationtaskstaskuuidgetop = __esm(() => {
57000
57176
 
57001
57177
  // src/funcs/annotationTasksGet.ts
57002
57178
  function annotationTasksGet(client$, request, options) {
57003
- return new APIPromise($do21(client$, request, options));
57179
+ return new APIPromise($do22(client$, request, options));
57004
57180
  }
57005
- async function $do21(client$, request, options) {
57181
+ async function $do22(client$, request, options) {
57006
57182
  const parsed$ = safeParse4(request, (value$) => GetAnnotationTaskEndpointAnnotationTasksTaskUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
57007
57183
  if (!parsed$.ok) {
57008
57184
  return [parsed$, { status: "invalid" }];
@@ -57081,12 +57257,12 @@ var init_annotationTasksGet = __esm(() => {
57081
57257
  });
57082
57258
 
57083
57259
  // src/mcp-server/tools/annotationTasksGet.ts
57084
- var args21, tool$annotationTasksGet;
57260
+ var args22, tool$annotationTasksGet;
57085
57261
  var init_annotationTasksGet2 = __esm(() => {
57086
57262
  init_annotationTasksGet();
57087
57263
  init_getannotationtaskendpointannotationtaskstaskuuidgetop();
57088
57264
  init_tools();
57089
- args21 = {
57265
+ args22 = {
57090
57266
  request: GetAnnotationTaskEndpointAnnotationTasksTaskUuidGetRequest$zodSchema
57091
57267
  };
57092
57268
  tool$annotationTasksGet = {
@@ -57101,9 +57277,9 @@ var init_annotationTasksGet2 = __esm(() => {
57101
57277
  openWorldHint: true,
57102
57278
  readOnlyHint: true
57103
57279
  },
57104
- args: args21,
57105
- tool: async (client, args22, ctx) => {
57106
- const [result] = await annotationTasksGet(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57280
+ args: args22,
57281
+ tool: async (client, args23, ctx) => {
57282
+ const [result] = await annotationTasksGet(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57107
57283
  if (!result.ok) {
57108
57284
  return {
57109
57285
  content: [{ type: "text", text: result.error.message }],
@@ -57193,9 +57369,9 @@ var init_taskagreementannotationtaskstaskuuidagreementgetop = __esm(() => {
57193
57369
 
57194
57370
  // src/funcs/annotationTasksGetAgreement.ts
57195
57371
  function annotationTasksGetAgreement(client$, request, options) {
57196
- return new APIPromise($do22(client$, request, options));
57372
+ return new APIPromise($do23(client$, request, options));
57197
57373
  }
57198
- async function $do22(client$, request, options) {
57374
+ async function $do23(client$, request, options) {
57199
57375
  const parsed$ = safeParse4(request, (value$) => TaskAgreementAnnotationTasksTaskUuidAgreementGetRequest$zodSchema.parse(value$), "Input validation failed");
57200
57376
  if (!parsed$.ok) {
57201
57377
  return [parsed$, { status: "invalid" }];
@@ -57279,12 +57455,12 @@ var init_annotationTasksGetAgreement = __esm(() => {
57279
57455
  });
57280
57456
 
57281
57457
  // src/mcp-server/tools/annotationTasksGetAgreement.ts
57282
- var args22, tool$annotationTasksGetAgreement;
57458
+ var args23, tool$annotationTasksGetAgreement;
57283
57459
  var init_annotationTasksGetAgreement2 = __esm(() => {
57284
57460
  init_annotationTasksGetAgreement();
57285
57461
  init_taskagreementannotationtaskstaskuuidagreementgetop();
57286
57462
  init_tools();
57287
- args22 = {
57463
+ args23 = {
57288
57464
  request: TaskAgreementAnnotationTasksTaskUuidAgreementGetRequest$zodSchema
57289
57465
  };
57290
57466
  tool$annotationTasksGetAgreement = {
@@ -57299,9 +57475,9 @@ var init_annotationTasksGetAgreement2 = __esm(() => {
57299
57475
  openWorldHint: true,
57300
57476
  readOnlyHint: true
57301
57477
  },
57302
- args: args22,
57303
- tool: async (client, args23, ctx) => {
57304
- const [result] = await annotationTasksGetAgreement(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57478
+ args: args23,
57479
+ tool: async (client, args24, ctx) => {
57480
+ const [result] = await annotationTasksGetAgreement(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57305
57481
  if (!result.ok) {
57306
57482
  return {
57307
57483
  content: [{ type: "text", text: result.error.message }],
@@ -57378,9 +57554,9 @@ var init_getevaluatorrunjobannotationtaskstaskuuidevaluatorrunsjobuuidgetop = __
57378
57554
 
57379
57555
  // src/funcs/annotationTasksGetEvaluatorRun.ts
57380
57556
  function annotationTasksGetEvaluatorRun(client$, request, options) {
57381
- return new APIPromise($do23(client$, request, options));
57557
+ return new APIPromise($do24(client$, request, options));
57382
57558
  }
57383
- async function $do23(client$, request, options) {
57559
+ async function $do24(client$, request, options) {
57384
57560
  const parsed$ = safeParse4(request, (value$) => GetEvaluatorRunJobAnnotationTasksTaskUuidEvaluatorRunsJobUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
57385
57561
  if (!parsed$.ok) {
57386
57562
  return [parsed$, { status: "invalid" }];
@@ -57463,12 +57639,12 @@ var init_annotationTasksGetEvaluatorRun = __esm(() => {
57463
57639
  });
57464
57640
 
57465
57641
  // src/mcp-server/tools/annotationTasksGetEvaluatorRun.ts
57466
- var args23, tool$annotationTasksGetEvaluatorRun;
57642
+ var args24, tool$annotationTasksGetEvaluatorRun;
57467
57643
  var init_annotationTasksGetEvaluatorRun2 = __esm(() => {
57468
57644
  init_annotationTasksGetEvaluatorRun();
57469
57645
  init_getevaluatorrunjobannotationtaskstaskuuidevaluatorrunsjobuuidgetop();
57470
57646
  init_tools();
57471
- args23 = {
57647
+ args24 = {
57472
57648
  request: GetEvaluatorRunJobAnnotationTasksTaskUuidEvaluatorRunsJobUuidGetRequest$zodSchema
57473
57649
  };
57474
57650
  tool$annotationTasksGetEvaluatorRun = {
@@ -57483,9 +57659,9 @@ var init_annotationTasksGetEvaluatorRun2 = __esm(() => {
57483
57659
  openWorldHint: true,
57484
57660
  readOnlyHint: true
57485
57661
  },
57486
- args: args23,
57487
- tool: async (client, args24, ctx) => {
57488
- const [result] = await annotationTasksGetEvaluatorRun(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57662
+ args: args24,
57663
+ tool: async (client, args25, ctx) => {
57664
+ const [result] = await annotationTasksGetEvaluatorRun(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57489
57665
  if (!result.ok) {
57490
57666
  return {
57491
57667
  content: [{ type: "text", text: result.error.message }],
@@ -57579,9 +57755,9 @@ var init_tasksummaryannotationtaskstaskuuidsummarygetop = __esm(() => {
57579
57755
 
57580
57756
  // src/funcs/annotationTasksGetSummary.ts
57581
57757
  function annotationTasksGetSummary(client$, request, options) {
57582
- return new APIPromise($do24(client$, request, options));
57758
+ return new APIPromise($do25(client$, request, options));
57583
57759
  }
57584
- async function $do24(client$, request, options) {
57760
+ async function $do25(client$, request, options) {
57585
57761
  const parsed$ = safeParse4(request, (value$) => TaskSummaryAnnotationTasksTaskUuidSummaryGetRequest$zodSchema.parse(value$), "Input validation failed");
57586
57762
  if (!parsed$.ok) {
57587
57763
  return [parsed$, { status: "invalid" }];
@@ -57672,12 +57848,12 @@ var init_annotationTasksGetSummary = __esm(() => {
57672
57848
  });
57673
57849
 
57674
57850
  // src/mcp-server/tools/annotationTasksGetSummary.ts
57675
- var args24, tool$annotationTasksGetSummary;
57851
+ var args25, tool$annotationTasksGetSummary;
57676
57852
  var init_annotationTasksGetSummary2 = __esm(() => {
57677
57853
  init_annotationTasksGetSummary();
57678
57854
  init_tasksummaryannotationtaskstaskuuidsummarygetop();
57679
57855
  init_tools();
57680
- args24 = {
57856
+ args25 = {
57681
57857
  request: TaskSummaryAnnotationTasksTaskUuidSummaryGetRequest$zodSchema
57682
57858
  };
57683
57859
  tool$annotationTasksGetSummary = {
@@ -57692,9 +57868,9 @@ var init_annotationTasksGetSummary2 = __esm(() => {
57692
57868
  openWorldHint: true,
57693
57869
  readOnlyHint: true
57694
57870
  },
57695
- args: args24,
57696
- tool: async (client, args25, ctx) => {
57697
- const [result] = await annotationTasksGetSummary(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57871
+ args: args25,
57872
+ tool: async (client, args26, ctx) => {
57873
+ const [result] = await annotationTasksGetSummary(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57698
57874
  if (!result.ok) {
57699
57875
  return {
57700
57876
  content: [{ type: "text", text: result.error.message }],
@@ -57739,9 +57915,9 @@ var init_listannotationtasksannotationtasksgetop = __esm(() => {
57739
57915
 
57740
57916
  // src/funcs/annotationTasksList.ts
57741
57917
  function annotationTasksList(client$, request, options) {
57742
- return new APIPromise($do25(client$, request, options));
57918
+ return new APIPromise($do26(client$, request, options));
57743
57919
  }
57744
- async function $do25(client$, request, options) {
57920
+ async function $do26(client$, request, options) {
57745
57921
  const parsed$ = safeParse4(request, (value$) => ListAnnotationTasksAnnotationTasksGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
57746
57922
  if (!parsed$.ok) {
57747
57923
  return [parsed$, { status: "invalid" }];
@@ -57820,12 +57996,12 @@ var init_annotationTasksList = __esm(() => {
57820
57996
  });
57821
57997
 
57822
57998
  // src/mcp-server/tools/annotationTasksList.ts
57823
- var args25, tool$annotationTasksList;
57999
+ var args26, tool$annotationTasksList;
57824
58000
  var init_annotationTasksList2 = __esm(() => {
57825
58001
  init_annotationTasksList();
57826
58002
  init_listannotationtasksannotationtasksgetop();
57827
58003
  init_tools();
57828
- args25 = {
58004
+ args26 = {
57829
58005
  request: ListAnnotationTasksAnnotationTasksGetRequest$zodSchema.optional()
57830
58006
  };
57831
58007
  tool$annotationTasksList = {
@@ -57840,9 +58016,9 @@ var init_annotationTasksList2 = __esm(() => {
57840
58016
  openWorldHint: true,
57841
58017
  readOnlyHint: true
57842
58018
  },
57843
- args: args25,
57844
- tool: async (client, args26, ctx) => {
57845
- const [result] = await annotationTasksList(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58019
+ args: args26,
58020
+ tool: async (client, args27, ctx) => {
58021
+ const [result] = await annotationTasksList(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57846
58022
  if (!result.ok) {
57847
58023
  return {
57848
58024
  content: [{ type: "text", text: result.error.message }],
@@ -57896,9 +58072,9 @@ var init_settaskevaluatorsannotationtaskstaskuuidevaluatorsputop = __esm(() => {
57896
58072
 
57897
58073
  // src/funcs/annotationTasksSetEvaluators.ts
57898
58074
  function annotationTasksSetEvaluators(client$, request, options) {
57899
- return new APIPromise($do26(client$, request, options));
58075
+ return new APIPromise($do27(client$, request, options));
57900
58076
  }
57901
- async function $do26(client$, request, options) {
58077
+ async function $do27(client$, request, options) {
57902
58078
  const parsed$ = safeParse4(request, (value$) => SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest$zodSchema.parse(value$), "Input validation failed");
57903
58079
  if (!parsed$.ok) {
57904
58080
  return [parsed$, { status: "invalid" }];
@@ -57978,12 +58154,12 @@ var init_annotationTasksSetEvaluators = __esm(() => {
57978
58154
  });
57979
58155
 
57980
58156
  // src/mcp-server/tools/annotationTasksSetEvaluators.ts
57981
- var args26, tool$annotationTasksSetEvaluators;
58157
+ var args27, tool$annotationTasksSetEvaluators;
57982
58158
  var init_annotationTasksSetEvaluators2 = __esm(() => {
57983
58159
  init_annotationTasksSetEvaluators();
57984
58160
  init_settaskevaluatorsannotationtaskstaskuuidevaluatorsputop();
57985
58161
  init_tools();
57986
- args26 = {
58162
+ args27 = {
57987
58163
  request: SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest$zodSchema
57988
58164
  };
57989
58165
  tool$annotationTasksSetEvaluators = {
@@ -58002,9 +58178,9 @@ must be in your workspace.
58002
58178
  openWorldHint: true,
58003
58179
  readOnlyHint: false
58004
58180
  },
58005
- args: args26,
58006
- tool: async (client, args27, ctx) => {
58007
- const [result] = await annotationTasksSetEvaluators(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58181
+ args: args27,
58182
+ tool: async (client, args28, ctx) => {
58183
+ const [result] = await annotationTasksSetEvaluators(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58008
58184
  if (!result.ok) {
58009
58185
  return {
58010
58186
  content: [{ type: "text", text: result.error.message }],
@@ -58065,9 +58241,9 @@ var init_bulkupdateitemsannotationtaskstaskuuiditemsputop = __esm(() => {
58065
58241
 
58066
58242
  // src/funcs/annotationTasksUpdateItems.ts
58067
58243
  function annotationTasksUpdateItems(client$, request, options) {
58068
- return new APIPromise($do27(client$, request, options));
58244
+ return new APIPromise($do28(client$, request, options));
58069
58245
  }
58070
- async function $do27(client$, request, options) {
58246
+ async function $do28(client$, request, options) {
58071
58247
  const parsed$ = safeParse4(request, (value$) => BulkUpdateItemsAnnotationTasksTaskUuidItemsPutRequest$zodSchema.parse(value$), "Input validation failed");
58072
58248
  if (!parsed$.ok) {
58073
58249
  return [parsed$, { status: "invalid" }];
@@ -58147,12 +58323,12 @@ var init_annotationTasksUpdateItems = __esm(() => {
58147
58323
  });
58148
58324
 
58149
58325
  // src/mcp-server/tools/annotationTasksUpdateItems.ts
58150
- var args27, tool$annotationTasksUpdateItems;
58326
+ var args28, tool$annotationTasksUpdateItems;
58151
58327
  var init_annotationTasksUpdateItems2 = __esm(() => {
58152
58328
  init_annotationTasksUpdateItems();
58153
58329
  init_bulkupdateitemsannotationtaskstaskuuiditemsputop();
58154
58330
  init_tools();
58155
- args27 = {
58331
+ args28 = {
58156
58332
  request: BulkUpdateItemsAnnotationTasksTaskUuidItemsPutRequest$zodSchema
58157
58333
  };
58158
58334
  tool$annotationTasksUpdateItems = {
@@ -58167,9 +58343,9 @@ var init_annotationTasksUpdateItems2 = __esm(() => {
58167
58343
  openWorldHint: true,
58168
58344
  readOnlyHint: false
58169
58345
  },
58170
- args: args27,
58171
- tool: async (client, args28, ctx) => {
58172
- const [result] = await annotationTasksUpdateItems(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58346
+ args: args28,
58347
+ tool: async (client, args29, ctx) => {
58348
+ const [result] = await annotationTasksUpdateItems(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58173
58349
  if (!result.ok) {
58174
58350
  return {
58175
58351
  content: [{ type: "text", text: result.error.message }],
@@ -58219,9 +58395,9 @@ var init_createannotatorendpointannotatorspostop = __esm(() => {
58219
58395
 
58220
58396
  // src/funcs/annotatorsCreate.ts
58221
58397
  function annotatorsCreate(client$, request, options) {
58222
- return new APIPromise($do28(client$, request, options));
58398
+ return new APIPromise($do29(client$, request, options));
58223
58399
  }
58224
- async function $do28(client$, request, options) {
58400
+ async function $do29(client$, request, options) {
58225
58401
  const parsed$ = safeParse4(request, (value$) => CreateAnnotatorEndpointAnnotatorsPostRequest$zodSchema.parse(value$), "Input validation failed");
58226
58402
  if (!parsed$.ok) {
58227
58403
  return [parsed$, { status: "invalid" }];
@@ -58295,12 +58471,12 @@ var init_annotatorsCreate = __esm(() => {
58295
58471
  });
58296
58472
 
58297
58473
  // src/mcp-server/tools/annotatorsCreate.ts
58298
- var args28, tool$annotatorsCreate;
58474
+ var args29, tool$annotatorsCreate;
58299
58475
  var init_annotatorsCreate2 = __esm(() => {
58300
58476
  init_annotatorsCreate();
58301
58477
  init_createannotatorendpointannotatorspostop();
58302
58478
  init_tools();
58303
- args28 = {
58479
+ args29 = {
58304
58480
  request: CreateAnnotatorEndpointAnnotatorsPostRequest$zodSchema
58305
58481
  };
58306
58482
  tool$annotatorsCreate = {
@@ -58315,9 +58491,9 @@ var init_annotatorsCreate2 = __esm(() => {
58315
58491
  openWorldHint: true,
58316
58492
  readOnlyHint: false
58317
58493
  },
58318
- args: args28,
58319
- tool: async (client, args29, ctx) => {
58320
- const [result] = await annotatorsCreate(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58494
+ args: args29,
58495
+ tool: async (client, args30, ctx) => {
58496
+ const [result] = await annotatorsCreate(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58321
58497
  if (!result.ok) {
58322
58498
  return {
58323
58499
  content: [{ type: "text", text: result.error.message }],
@@ -58361,9 +58537,9 @@ var init_listannotatorsannotatorsgetop = __esm(() => {
58361
58537
 
58362
58538
  // src/funcs/annotatorsList.ts
58363
58539
  function annotatorsList(client$, request, options) {
58364
- return new APIPromise($do29(client$, request, options));
58540
+ return new APIPromise($do30(client$, request, options));
58365
58541
  }
58366
- async function $do29(client$, request, options) {
58542
+ async function $do30(client$, request, options) {
58367
58543
  const parsed$ = safeParse4(request, (value$) => ListAnnotatorsAnnotatorsGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
58368
58544
  if (!parsed$.ok) {
58369
58545
  return [parsed$, { status: "invalid" }];
@@ -58436,12 +58612,12 @@ var init_annotatorsList = __esm(() => {
58436
58612
  });
58437
58613
 
58438
58614
  // src/mcp-server/tools/annotatorsList.ts
58439
- var args29, tool$annotatorsList;
58615
+ var args30, tool$annotatorsList;
58440
58616
  var init_annotatorsList2 = __esm(() => {
58441
58617
  init_annotatorsList();
58442
58618
  init_listannotatorsannotatorsgetop();
58443
58619
  init_tools();
58444
- args29 = {
58620
+ args30 = {
58445
58621
  request: ListAnnotatorsAnnotatorsGetRequest$zodSchema.optional()
58446
58622
  };
58447
58623
  tool$annotatorsList = {
@@ -58456,9 +58632,9 @@ var init_annotatorsList2 = __esm(() => {
58456
58632
  openWorldHint: true,
58457
58633
  readOnlyHint: true
58458
58634
  },
58459
- args: args29,
58460
- tool: async (client, args30, ctx) => {
58461
- const [result] = await annotatorsList(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58635
+ args: args30,
58636
+ tool: async (client, args31, ctx) => {
58637
+ const [result] = await annotatorsList(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58462
58638
  if (!result.ok) {
58463
58639
  return {
58464
58640
  content: [{ type: "text", text: result.error.message }],
@@ -58499,9 +58675,9 @@ var init_updateannotatorendpointannotatorsannotatoruuidputop = __esm(() => {
58499
58675
 
58500
58676
  // src/funcs/annotatorsUpdate.ts
58501
58677
  function annotatorsUpdate(client$, request, options) {
58502
- return new APIPromise($do30(client$, request, options));
58678
+ return new APIPromise($do31(client$, request, options));
58503
58679
  }
58504
- async function $do30(client$, request, options) {
58680
+ async function $do31(client$, request, options) {
58505
58681
  const parsed$ = safeParse4(request, (value$) => UpdateAnnotatorEndpointAnnotatorsAnnotatorUuidPutRequest$zodSchema.parse(value$), "Input validation failed");
58506
58682
  if (!parsed$.ok) {
58507
58683
  return [parsed$, { status: "invalid" }];
@@ -58581,12 +58757,12 @@ var init_annotatorsUpdate = __esm(() => {
58581
58757
  });
58582
58758
 
58583
58759
  // src/mcp-server/tools/annotatorsUpdate.ts
58584
- var args30, tool$annotatorsUpdate;
58760
+ var args31, tool$annotatorsUpdate;
58585
58761
  var init_annotatorsUpdate2 = __esm(() => {
58586
58762
  init_annotatorsUpdate();
58587
58763
  init_updateannotatorendpointannotatorsannotatoruuidputop();
58588
58764
  init_tools();
58589
- args30 = {
58765
+ args31 = {
58590
58766
  request: UpdateAnnotatorEndpointAnnotatorsAnnotatorUuidPutRequest$zodSchema
58591
58767
  };
58592
58768
  tool$annotatorsUpdate = {
@@ -58601,9 +58777,9 @@ var init_annotatorsUpdate2 = __esm(() => {
58601
58777
  openWorldHint: true,
58602
58778
  readOnlyHint: false
58603
58779
  },
58604
- args: args30,
58605
- tool: async (client, args31, ctx) => {
58606
- const [result] = await annotatorsUpdate(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58780
+ args: args31,
58781
+ tool: async (client, args32, ctx) => {
58782
+ const [result] = await annotatorsUpdate(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58607
58783
  if (!result.ok) {
58608
58784
  return {
58609
58785
  content: [{ type: "text", text: result.error.message }],
@@ -58711,9 +58887,9 @@ var init_createevaluatorendpointevaluatorspostop = __esm(() => {
58711
58887
 
58712
58888
  // src/funcs/evaluatorsCreate.ts
58713
58889
  function evaluatorsCreate(client$, request, options) {
58714
- return new APIPromise($do31(client$, request, options));
58890
+ return new APIPromise($do32(client$, request, options));
58715
58891
  }
58716
- async function $do31(client$, request, options) {
58892
+ async function $do32(client$, request, options) {
58717
58893
  const parsed$ = safeParse4(request, (value$) => CreateEvaluatorEndpointEvaluatorsPostRequest$zodSchema.parse(value$), "Input validation failed");
58718
58894
  if (!parsed$.ok) {
58719
58895
  return [parsed$, { status: "invalid" }];
@@ -58787,12 +58963,12 @@ var init_evaluatorsCreate = __esm(() => {
58787
58963
  });
58788
58964
 
58789
58965
  // src/mcp-server/tools/evaluatorsCreate.ts
58790
- var args31, tool$evaluatorsCreate;
58966
+ var args32, tool$evaluatorsCreate;
58791
58967
  var init_evaluatorsCreate2 = __esm(() => {
58792
58968
  init_evaluatorsCreate();
58793
58969
  init_createevaluatorendpointevaluatorspostop();
58794
58970
  init_tools();
58795
- args31 = {
58971
+ args32 = {
58796
58972
  request: CreateEvaluatorEndpointEvaluatorsPostRequest$zodSchema
58797
58973
  };
58798
58974
  tool$evaluatorsCreate = {
@@ -58807,9 +58983,9 @@ var init_evaluatorsCreate2 = __esm(() => {
58807
58983
  openWorldHint: true,
58808
58984
  readOnlyHint: false
58809
58985
  },
58810
- args: args31,
58811
- tool: async (client, args32, ctx) => {
58812
- const [result] = await evaluatorsCreate(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58986
+ args: args32,
58987
+ tool: async (client, args33, ctx) => {
58988
+ const [result] = await evaluatorsCreate(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58813
58989
  if (!result.ok) {
58814
58990
  return {
58815
58991
  content: [{ type: "text", text: result.error.message }],
@@ -58866,9 +59042,9 @@ var init_createversionevaluatorsevaluatoruuidversionspostop = __esm(() => {
58866
59042
 
58867
59043
  // src/funcs/evaluatorsCreateVersion.ts
58868
59044
  function evaluatorsCreateVersion(client$, request, options) {
58869
- return new APIPromise($do32(client$, request, options));
59045
+ return new APIPromise($do33(client$, request, options));
58870
59046
  }
58871
- async function $do32(client$, request, options) {
59047
+ async function $do33(client$, request, options) {
58872
59048
  const parsed$ = safeParse4(request, (value$) => CreateVersionEvaluatorsEvaluatorUuidVersionsPostRequest$zodSchema.parse(value$), "Input validation failed");
58873
59049
  if (!parsed$.ok) {
58874
59050
  return [parsed$, { status: "invalid" }];
@@ -58948,12 +59124,12 @@ var init_evaluatorsCreateVersion = __esm(() => {
58948
59124
  });
58949
59125
 
58950
59126
  // src/mcp-server/tools/evaluatorsCreateVersion.ts
58951
- var args32, tool$evaluatorsCreateVersion;
59127
+ var args33, tool$evaluatorsCreateVersion;
58952
59128
  var init_evaluatorsCreateVersion2 = __esm(() => {
58953
59129
  init_evaluatorsCreateVersion();
58954
59130
  init_createversionevaluatorsevaluatoruuidversionspostop();
58955
59131
  init_tools();
58956
- args32 = {
59132
+ args33 = {
58957
59133
  request: CreateVersionEvaluatorsEvaluatorUuidVersionsPostRequest$zodSchema
58958
59134
  };
58959
59135
  tool$evaluatorsCreateVersion = {
@@ -58968,9 +59144,9 @@ var init_evaluatorsCreateVersion2 = __esm(() => {
58968
59144
  openWorldHint: true,
58969
59145
  readOnlyHint: false
58970
59146
  },
58971
- args: args32,
58972
- tool: async (client, args33, ctx) => {
58973
- const [result] = await evaluatorsCreateVersion(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59147
+ args: args33,
59148
+ tool: async (client, args34, ctx) => {
59149
+ const [result] = await evaluatorsCreateVersion(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58974
59150
  if (!result.ok) {
58975
59151
  return {
58976
59152
  content: [{ type: "text", text: result.error.message }],
@@ -59057,9 +59233,9 @@ var init_getevaluatorendpointevaluatorsevaluatoruuidgetop = __esm(() => {
59057
59233
 
59058
59234
  // src/funcs/evaluatorsGet.ts
59059
59235
  function evaluatorsGet(client$, request, options) {
59060
- return new APIPromise($do33(client$, request, options));
59236
+ return new APIPromise($do34(client$, request, options));
59061
59237
  }
59062
- async function $do33(client$, request, options) {
59238
+ async function $do34(client$, request, options) {
59063
59239
  const parsed$ = safeParse4(request, (value$) => GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
59064
59240
  if (!parsed$.ok) {
59065
59241
  return [parsed$, { status: "invalid" }];
@@ -59142,12 +59318,12 @@ var init_evaluatorsGet = __esm(() => {
59142
59318
  });
59143
59319
 
59144
59320
  // src/mcp-server/tools/evaluatorsGet.ts
59145
- var args33, tool$evaluatorsGet;
59321
+ var args34, tool$evaluatorsGet;
59146
59322
  var init_evaluatorsGet2 = __esm(() => {
59147
59323
  init_evaluatorsGet();
59148
59324
  init_getevaluatorendpointevaluatorsevaluatoruuidgetop();
59149
59325
  init_tools();
59150
- args33 = {
59326
+ args34 = {
59151
59327
  request: GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetRequest$zodSchema
59152
59328
  };
59153
59329
  tool$evaluatorsGet = {
@@ -59162,9 +59338,9 @@ var init_evaluatorsGet2 = __esm(() => {
59162
59338
  openWorldHint: true,
59163
59339
  readOnlyHint: true
59164
59340
  },
59165
- args: args33,
59166
- tool: async (client, args34, ctx) => {
59167
- const [result] = await evaluatorsGet(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59341
+ args: args34,
59342
+ tool: async (client, args35, ctx) => {
59343
+ const [result] = await evaluatorsGet(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59168
59344
  if (!result.ok) {
59169
59345
  return {
59170
59346
  content: [{ type: "text", text: result.error.message }],
@@ -59211,9 +59387,9 @@ var init_listevaluatorsevaluatorsgetop = __esm(() => {
59211
59387
 
59212
59388
  // src/funcs/evaluatorsList.ts
59213
59389
  function evaluatorsList(client$, request, options) {
59214
- return new APIPromise($do34(client$, request, options));
59390
+ return new APIPromise($do35(client$, request, options));
59215
59391
  }
59216
- async function $do34(client$, request, options) {
59392
+ async function $do35(client$, request, options) {
59217
59393
  const parsed$ = safeParse4(request, (value$) => ListEvaluatorsEvaluatorsGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
59218
59394
  if (!parsed$.ok) {
59219
59395
  return [parsed$, { status: "invalid" }];
@@ -59295,12 +59471,12 @@ var init_evaluatorsList = __esm(() => {
59295
59471
  });
59296
59472
 
59297
59473
  // src/mcp-server/tools/evaluatorsList.ts
59298
- var args34, tool$evaluatorsList;
59474
+ var args35, tool$evaluatorsList;
59299
59475
  var init_evaluatorsList2 = __esm(() => {
59300
59476
  init_evaluatorsList();
59301
59477
  init_listevaluatorsevaluatorsgetop();
59302
59478
  init_tools();
59303
- args34 = {
59479
+ args35 = {
59304
59480
  request: ListEvaluatorsEvaluatorsGetRequest$zodSchema.optional()
59305
59481
  };
59306
59482
  tool$evaluatorsList = {
@@ -59315,9 +59491,9 @@ var init_evaluatorsList2 = __esm(() => {
59315
59491
  openWorldHint: true,
59316
59492
  readOnlyHint: true
59317
59493
  },
59318
- args: args34,
59319
- tool: async (client, args35, ctx) => {
59320
- const [result] = await evaluatorsList(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59494
+ args: args35,
59495
+ tool: async (client, args36, ctx) => {
59496
+ const [result] = await evaluatorsList(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59321
59497
  if (!result.ok) {
59322
59498
  return {
59323
59499
  content: [{ type: "text", text: result.error.message }],
@@ -59435,9 +59611,9 @@ var init_bulkuploadteststestsbulkpostop = __esm(() => {
59435
59611
 
59436
59612
  // src/funcs/testsBulkCreate.ts
59437
59613
  function testsBulkCreate(client$, request, options) {
59438
- return new APIPromise($do35(client$, request, options));
59614
+ return new APIPromise($do36(client$, request, options));
59439
59615
  }
59440
- async function $do35(client$, request, options) {
59616
+ async function $do36(client$, request, options) {
59441
59617
  const parsed$ = safeParse4(request, (value$) => BulkUploadTestsTestsBulkPostRequest$zodSchema.parse(value$), "Input validation failed");
59442
59618
  if (!parsed$.ok) {
59443
59619
  return [parsed$, { status: "invalid" }];
@@ -59511,12 +59687,12 @@ var init_testsBulkCreate = __esm(() => {
59511
59687
  });
59512
59688
 
59513
59689
  // src/mcp-server/tools/testsBulkCreate.ts
59514
- var args35, tool$testsBulkCreate;
59690
+ var args36, tool$testsBulkCreate;
59515
59691
  var init_testsBulkCreate2 = __esm(() => {
59516
59692
  init_testsBulkCreate();
59517
59693
  init_bulkuploadteststestsbulkpostop();
59518
59694
  init_tools();
59519
- args35 = {
59695
+ args36 = {
59520
59696
  request: BulkUploadTestsTestsBulkPostRequest$zodSchema
59521
59697
  };
59522
59698
  tool$testsBulkCreate = {
@@ -59533,9 +59709,9 @@ tests including their UUIDs.
59533
59709
  openWorldHint: true,
59534
59710
  readOnlyHint: false
59535
59711
  },
59536
- args: args35,
59537
- tool: async (client, args36, ctx) => {
59538
- const [result] = await testsBulkCreate(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59712
+ args: args36,
59713
+ tool: async (client, args37, ctx) => {
59714
+ const [result] = await testsBulkCreate(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59539
59715
  if (!result.ok) {
59540
59716
  return {
59541
59717
  content: [{ type: "text", text: result.error.message }],
@@ -59595,9 +59771,9 @@ var init_createtestendpointtestspostop = __esm(() => {
59595
59771
 
59596
59772
  // src/funcs/testsCreate.ts
59597
59773
  function testsCreate(client$, request, options) {
59598
- return new APIPromise($do36(client$, request, options));
59774
+ return new APIPromise($do37(client$, request, options));
59599
59775
  }
59600
- async function $do36(client$, request, options) {
59776
+ async function $do37(client$, request, options) {
59601
59777
  const parsed$ = safeParse4(request, (value$) => CreateTestEndpointTestsPostRequest$zodSchema.parse(value$), "Input validation failed");
59602
59778
  if (!parsed$.ok) {
59603
59779
  return [parsed$, { status: "invalid" }];
@@ -59671,12 +59847,12 @@ var init_testsCreate = __esm(() => {
59671
59847
  });
59672
59848
 
59673
59849
  // src/mcp-server/tools/testsCreate.ts
59674
- var args36, tool$testsCreate;
59850
+ var args37, tool$testsCreate;
59675
59851
  var init_testsCreate2 = __esm(() => {
59676
59852
  init_testsCreate();
59677
59853
  init_createtestendpointtestspostop();
59678
59854
  init_tools();
59679
- args36 = {
59855
+ args37 = {
59680
59856
  request: CreateTestEndpointTestsPostRequest$zodSchema
59681
59857
  };
59682
59858
  tool$testsCreate = {
@@ -59693,9 +59869,9 @@ Requires a Calibrate API key (CALIBRATE_API_KEY).
59693
59869
  openWorldHint: true,
59694
59870
  readOnlyHint: false
59695
59871
  },
59696
- args: args36,
59697
- tool: async (client, args37, ctx) => {
59698
- const [result] = await testsCreate(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59872
+ args: args37,
59873
+ tool: async (client, args38, ctx) => {
59874
+ const [result] = await testsCreate(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59699
59875
  if (!result.ok) {
59700
59876
  return {
59701
59877
  content: [{ type: "text", text: result.error.message }],
@@ -59746,9 +59922,9 @@ var init_gettestendpointteststestuuidgetop = __esm(() => {
59746
59922
 
59747
59923
  // src/funcs/testsGet.ts
59748
59924
  function testsGet(client$, request, options) {
59749
- return new APIPromise($do37(client$, request, options));
59925
+ return new APIPromise($do38(client$, request, options));
59750
59926
  }
59751
- async function $do37(client$, request, options) {
59927
+ async function $do38(client$, request, options) {
59752
59928
  const parsed$ = safeParse4(request, (value$) => GetTestEndpointTestsTestUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
59753
59929
  if (!parsed$.ok) {
59754
59930
  return [parsed$, { status: "invalid" }];
@@ -59827,12 +60003,12 @@ var init_testsGet = __esm(() => {
59827
60003
  });
59828
60004
 
59829
60005
  // src/mcp-server/tools/testsGet.ts
59830
- var args37, tool$testsGet;
60006
+ var args38, tool$testsGet;
59831
60007
  var init_testsGet2 = __esm(() => {
59832
60008
  init_testsGet();
59833
60009
  init_gettestendpointteststestuuidgetop();
59834
60010
  init_tools();
59835
- args37 = {
60011
+ args38 = {
59836
60012
  request: GetTestEndpointTestsTestUuidGetRequest$zodSchema
59837
60013
  };
59838
60014
  tool$testsGet = {
@@ -59849,9 +60025,9 @@ exist or belongs to another org.
59849
60025
  openWorldHint: true,
59850
60026
  readOnlyHint: true
59851
60027
  },
59852
- args: args37,
59853
- tool: async (client, args38, ctx) => {
59854
- const [result] = await testsGet(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60028
+ args: args38,
60029
+ tool: async (client, args39, ctx) => {
60030
+ const [result] = await testsGet(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59855
60031
  if (!result.ok) {
59856
60032
  return {
59857
60033
  content: [{ type: "text", text: result.error.message }],
@@ -59883,9 +60059,9 @@ var init_listteststestsgetop = __esm(() => {
59883
60059
 
59884
60060
  // src/funcs/testsList.ts
59885
60061
  function testsList(client$, request, options) {
59886
- return new APIPromise($do38(client$, request, options));
60062
+ return new APIPromise($do39(client$, request, options));
59887
60063
  }
59888
- async function $do38(client$, request, options) {
60064
+ async function $do39(client$, request, options) {
59889
60065
  const parsed$ = safeParse4(request, (value$) => ListTestsTestsGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
59890
60066
  if (!parsed$.ok) {
59891
60067
  return [parsed$, { status: "invalid" }];
@@ -59964,12 +60140,12 @@ var init_testsList = __esm(() => {
59964
60140
  });
59965
60141
 
59966
60142
  // src/mcp-server/tools/testsList.ts
59967
- var args38, tool$testsList;
60143
+ var args39, tool$testsList;
59968
60144
  var init_testsList2 = __esm(() => {
59969
60145
  init_testsList();
59970
60146
  init_listteststestsgetop();
59971
60147
  init_tools();
59972
- args38 = {
60148
+ args39 = {
59973
60149
  request: ListTestsTestsGetRequest$zodSchema.optional()
59974
60150
  };
59975
60151
  tool$testsList = {
@@ -59986,9 +60162,9 @@ before creating runs.
59986
60162
  openWorldHint: true,
59987
60163
  readOnlyHint: true
59988
60164
  },
59989
- args: args38,
59990
- tool: async (client, args39, ctx) => {
59991
- const [result] = await testsList(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60165
+ args: args39,
60166
+ tool: async (client, args40, ctx) => {
60167
+ const [result] = await testsList(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59992
60168
  if (!result.ok) {
59993
60169
  return {
59994
60170
  content: [{ type: "text", text: result.error.message }],
@@ -60039,9 +60215,9 @@ var init_updatetestendpointteststestuuidputop = __esm(() => {
60039
60215
 
60040
60216
  // src/funcs/testsUpdate.ts
60041
60217
  function testsUpdate(client$, request, options) {
60042
- return new APIPromise($do39(client$, request, options));
60218
+ return new APIPromise($do40(client$, request, options));
60043
60219
  }
60044
- async function $do39(client$, request, options) {
60220
+ async function $do40(client$, request, options) {
60045
60221
  const parsed$ = safeParse4(request, (value$) => UpdateTestEndpointTestsTestUuidPutRequest$zodSchema.parse(value$), "Input validation failed");
60046
60222
  if (!parsed$.ok) {
60047
60223
  return [parsed$, { status: "invalid" }];
@@ -60121,12 +60297,12 @@ var init_testsUpdate = __esm(() => {
60121
60297
  });
60122
60298
 
60123
60299
  // src/mcp-server/tools/testsUpdate.ts
60124
- var args39, tool$testsUpdate;
60300
+ var args40, tool$testsUpdate;
60125
60301
  var init_testsUpdate2 = __esm(() => {
60126
60302
  init_testsUpdate();
60127
60303
  init_updatetestendpointteststestuuidputop();
60128
60304
  init_tools();
60129
- args39 = {
60305
+ args40 = {
60130
60306
  request: UpdateTestEndpointTestsTestUuidPutRequest$zodSchema
60131
60307
  };
60132
60308
  tool$testsUpdate = {
@@ -60143,9 +60319,9 @@ fields to change (name, config). Returns the updated test. Fails with
60143
60319
  openWorldHint: true,
60144
60320
  readOnlyHint: false
60145
60321
  },
60146
- args: args39,
60147
- tool: async (client, args40, ctx) => {
60148
- const [result] = await testsUpdate(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60322
+ args: args40,
60323
+ tool: async (client, args41, ctx) => {
60324
+ const [result] = await testsUpdate(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60149
60325
  if (!result.ok) {
60150
60326
  return {
60151
60327
  content: [{ type: "text", text: result.error.message }],
@@ -60266,9 +60442,9 @@ var init_ingesttracetracespostop = __esm(() => {
60266
60442
 
60267
60443
  // src/funcs/tracesCreate.ts
60268
60444
  function tracesCreate(client$, request, options) {
60269
- return new APIPromise($do40(client$, request, options));
60445
+ return new APIPromise($do41(client$, request, options));
60270
60446
  }
60271
- async function $do40(client$, request, options) {
60447
+ async function $do41(client$, request, options) {
60272
60448
  const parsed$ = safeParse4(request, (value$) => IngestTraceTracesPostRequest$zodSchema.parse(value$), "Input validation failed");
60273
60449
  if (!parsed$.ok) {
60274
60450
  return [parsed$, { status: "invalid" }];
@@ -60342,12 +60518,12 @@ var init_tracesCreate = __esm(() => {
60342
60518
  });
60343
60519
 
60344
60520
  // src/mcp-server/tools/tracesCreate.ts
60345
- var args40, tool$tracesCreate;
60521
+ var args41, tool$tracesCreate;
60346
60522
  var init_tracesCreate2 = __esm(() => {
60347
60523
  init_tracesCreate();
60348
60524
  init_ingesttracetracespostop();
60349
60525
  init_tools();
60350
- args40 = {
60526
+ args41 = {
60351
60527
  request: IngestTraceTracesPostRequest$zodSchema
60352
60528
  };
60353
60529
  tool$tracesCreate = {
@@ -60366,9 +60542,9 @@ hits its trace limit.
60366
60542
  openWorldHint: true,
60367
60543
  readOnlyHint: false
60368
60544
  },
60369
- args: args40,
60370
- tool: async (client, args41, ctx) => {
60371
- const [result] = await tracesCreate(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60545
+ args: args41,
60546
+ tool: async (client, args42, ctx) => {
60547
+ const [result] = await tracesCreate(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60372
60548
  if (!result.ok) {
60373
60549
  return {
60374
60550
  content: [{ type: "text", text: result.error.message }],
@@ -60384,16 +60560,16 @@ hits its trace limit.
60384
60560
  function createMCPServer(deps) {
60385
60561
  const server = new McpServer({
60386
60562
  name: "CalibrateMcp",
60387
- version: "0.0.43"
60563
+ version: "0.0.45"
60388
60564
  });
60389
60565
  const getClient = deps.getSDK || (() => new CalibrateMcpCore({
60390
60566
  security: deps.security,
60391
60567
  serverURL: deps.serverURL,
60392
60568
  serverIdx: deps.serverIdx,
60393
60569
  debugLogger: deps.logger.level === "debug" ? {
60394
- log: (...args41) => console.log(...args41),
60395
- group: (...args41) => console.group(...args41),
60396
- groupEnd: (...args41) => console.groupEnd(...args41)
60570
+ log: (...args42) => console.log(...args42),
60571
+ group: (...args42) => console.group(...args42),
60572
+ groupEnd: (...args42) => console.groupEnd(...args42)
60397
60573
  } : undefined
60398
60574
  }));
60399
60575
  const scopes = new Set(deps.scopes);
@@ -60419,6 +60595,7 @@ function createMCPServer(deps) {
60419
60595
  tool(tool$agentTestsLink);
60420
60596
  tool(tool$agentTestsListForAgent);
60421
60597
  tool(tool$agentTestsListRunsForAgent);
60598
+ tool(tool$agentTestsBulkUnlink);
60422
60599
  tool(tool$agentTestsRun);
60423
60600
  tool(tool$agentTestsRunBatch);
60424
60601
  tool(tool$agentTestsGetRun);
@@ -60462,6 +60639,7 @@ var init_server2 = __esm(() => {
60462
60639
  init_agentsUpdate2();
60463
60640
  init_agentsVerifyConnection2();
60464
60641
  init_agentTestsBenchmark2();
60642
+ init_agentTestsBulkUnlink2();
60465
60643
  init_agentTestsGetBenchmark2();
60466
60644
  init_agentTestsGetRun2();
60467
60645
  init_agentTestsLink2();
@@ -60602,6 +60780,16 @@ fields to change (name, config). Returns the updated test. Fails with
60602
60780
  {
60603
60781
  name: "list-agent-test-runs",
60604
60782
  description: `List an agent's test and benchmark runs, most recently created first, with their status and results.
60783
+ `
60784
+ },
60785
+ {
60786
+ name: "bulk-unlink-agent-tests",
60787
+ description: `Remove one or more tests from an agent in a single call. The tests
60788
+ themselves are kept and stay available to other agents; only the links
60789
+ to this agent go. Tests that were not linked are skipped, so
60790
+ deleted_count can be lower than the number of ids sent. Fails with 404
60791
+ when the agent is not in the caller's org and 400 when test_uuids is
60792
+ empty.
60605
60793
  `
60606
60794
  },
60607
60795
  {
@@ -61650,7 +61838,7 @@ http_headers = { "api-key-auth" = "YOUR_API_KEY_AUTH" }`;
61650
61838
  <h1>Instructions</h1>
61651
61839
  <p>One-click installation for Claude Desktop users</p>
61652
61840
  <div class="instruction-item">
61653
- <a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.43/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
61841
+ <a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.45/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
61654
61842
  \uD83D\uDCE5 Download MCP Bundle
61655
61843
  </a>
61656
61844
  </div>
@@ -64537,7 +64725,7 @@ var routes = buildRouteMap({
64537
64725
  var app = buildApplication(routes, {
64538
64726
  name: "mcp",
64539
64727
  versionInfo: {
64540
- currentVersion: "0.0.43"
64728
+ currentVersion: "0.0.45"
64541
64729
  }
64542
64730
  });
64543
64731
  run(app, process4.argv.slice(2), buildContext(process4));
@@ -64545,5 +64733,5 @@ export {
64545
64733
  app
64546
64734
  };
64547
64735
 
64548
- //# debugId=AF946BF2D9C57E1564756E2164756E21
64736
+ //# debugId=44CE65AC6D247C2764756E2164756E21
64549
64737
  //# sourceMappingURL=mcp-server.js.map