@dalmia/calibrate-mcp 0.0.44 → 0.0.46

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 +408 -229
  2. package/bin/mcp-server.js.map +17 -12
  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/agenttestsbulkunlinkresponse.d.ts +7 -0
  25. package/esm/models/agenttestsbulkunlinkresponse.d.ts.map +1 -0
  26. package/esm/models/agenttestsbulkunlinkresponse.js +9 -0
  27. package/esm/models/agenttestsbulkunlinkresponse.js.map +1 -0
  28. package/esm/models/annotationitempayload.d.ts +3 -0
  29. package/esm/models/annotationitempayload.d.ts.map +1 -1
  30. package/esm/models/annotationitempayload.js +2 -0
  31. package/esm/models/annotationitempayload.js.map +1 -1
  32. package/esm/models/bulkcreateitemsresponse.d.ts +2 -0
  33. package/esm/models/bulkcreateitemsresponse.d.ts.map +1 -1
  34. package/esm/models/bulkcreateitemsresponse.js +2 -0
  35. package/esm/models/bulkcreateitemsresponse.js.map +1 -1
  36. package/esm/models/bulkdeleteagenttestlinksagenttestsbulkunlinkpostop.d.ts +12 -0
  37. package/esm/models/bulkdeleteagenttestlinksagenttestsbulkunlinkpostop.d.ts.map +1 -0
  38. package/esm/models/bulkdeleteagenttestlinksagenttestsbulkunlinkpostop.js +16 -0
  39. package/esm/models/bulkdeleteagenttestlinksagenttestsbulkunlinkpostop.js.map +1 -0
  40. package/esm/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.d.ts +22 -0
  41. package/esm/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.d.ts.map +1 -1
  42. package/esm/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.js +18 -1
  43. package/esm/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.js.map +1 -1
  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/agenttestsbulkunlinkresponse.ts +19 -0
  57. package/src/models/annotationitempayload.ts +5 -0
  58. package/src/models/bulkcreateitemsresponse.ts +8 -0
  59. package/src/models/bulkdeleteagenttestlinksagenttestsbulkunlinkpostop.ts +42 -0
  60. package/src/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.ts +31 -1
  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.44",
51949
+ sdkVersion: "0.0.46",
51950
51950
  genVersion: "2.915.1",
51951
- userAgent: "speakeasy-sdk/mcp-typescript 0.0.44 2.915.1 0.1.0 @dalmia/calibrate-mcp"
51951
+ userAgent: "speakeasy-sdk/mcp-typescript 0.0.46 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 }],
@@ -55824,9 +55988,9 @@ var init_getagenttestrunsagenttestsagentagentuuidrunsgetop = __esm(() => {
55824
55988
 
55825
55989
  // src/funcs/agentTestsListRunsForAgent.ts
55826
55990
  function agentTestsListRunsForAgent(client$, request, options) {
55827
- return new APIPromise($do14(client$, request, options));
55991
+ return new APIPromise($do15(client$, request, options));
55828
55992
  }
55829
- async function $do14(client$, request, options) {
55993
+ async function $do15(client$, request, options) {
55830
55994
  const parsed$ = safeParse4(request, (value$) => GetAgentTestRunsAgentTestsAgentAgentUuidRunsGetRequest$zodSchema.parse(value$), "Input validation failed");
55831
55995
  if (!parsed$.ok) {
55832
55996
  return [parsed$, { status: "invalid" }];
@@ -55914,12 +56078,12 @@ var init_agentTestsListRunsForAgent = __esm(() => {
55914
56078
  });
55915
56079
 
55916
56080
  // src/mcp-server/tools/agentTestsListRunsForAgent.ts
55917
- var args14, tool$agentTestsListRunsForAgent;
56081
+ var args15, tool$agentTestsListRunsForAgent;
55918
56082
  var init_agentTestsListRunsForAgent2 = __esm(() => {
55919
56083
  init_agentTestsListRunsForAgent();
55920
56084
  init_getagenttestrunsagenttestsagentagentuuidrunsgetop();
55921
56085
  init_tools();
55922
- args14 = {
56086
+ args15 = {
55923
56087
  request: GetAgentTestRunsAgentTestsAgentAgentUuidRunsGetRequest$zodSchema
55924
56088
  };
55925
56089
  tool$agentTestsListRunsForAgent = {
@@ -55934,9 +56098,9 @@ var init_agentTestsListRunsForAgent2 = __esm(() => {
55934
56098
  openWorldHint: true,
55935
56099
  readOnlyHint: true
55936
56100
  },
55937
- args: args14,
55938
- tool: async (client, args15, ctx) => {
55939
- 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();
55940
56104
  if (!result.ok) {
55941
56105
  return {
55942
56106
  content: [{ type: "text", text: result.error.message }],
@@ -55977,9 +56141,9 @@ var init_runagenttestagenttestsagentagentuuidrunpostop = __esm(() => {
55977
56141
 
55978
56142
  // src/funcs/agentTestsRun.ts
55979
56143
  function agentTestsRun(client$, request, options) {
55980
- return new APIPromise($do15(client$, request, options));
56144
+ return new APIPromise($do16(client$, request, options));
55981
56145
  }
55982
- async function $do15(client$, request, options) {
56146
+ async function $do16(client$, request, options) {
55983
56147
  const parsed$ = safeParse4(request, (value$) => RunAgentTestAgentTestsAgentAgentUuidRunPostRequest$zodSchema.parse(value$), "Input validation failed");
55984
56148
  if (!parsed$.ok) {
55985
56149
  return [parsed$, { status: "invalid" }];
@@ -56059,12 +56223,12 @@ var init_agentTestsRun = __esm(() => {
56059
56223
  });
56060
56224
 
56061
56225
  // src/mcp-server/tools/agentTestsRun.ts
56062
- var args15, tool$agentTestsRun;
56226
+ var args16, tool$agentTestsRun;
56063
56227
  var init_agentTestsRun2 = __esm(() => {
56064
56228
  init_agentTestsRun();
56065
56229
  init_runagenttestagenttestsagentagentuuidrunpostop();
56066
56230
  init_tools();
56067
- args15 = {
56231
+ args16 = {
56068
56232
  request: RunAgentTestAgentTestsAgentAgentUuidRunPostRequest$zodSchema
56069
56233
  };
56070
56234
  tool$agentTestsRun = {
@@ -56083,9 +56247,9 @@ or 404.
56083
56247
  openWorldHint: true,
56084
56248
  readOnlyHint: false
56085
56249
  },
56086
- args: args15,
56087
- tool: async (client, args16, ctx) => {
56088
- 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();
56089
56253
  if (!result.ok) {
56090
56254
  return {
56091
56255
  content: [{ type: "text", text: result.error.message }],
@@ -56168,9 +56332,9 @@ var init_runtestsbatchagenttestsrunpostop = __esm(() => {
56168
56332
 
56169
56333
  // src/funcs/agentTestsRunBatch.ts
56170
56334
  function agentTestsRunBatch(client$, request, options) {
56171
- return new APIPromise($do16(client$, request, options));
56335
+ return new APIPromise($do17(client$, request, options));
56172
56336
  }
56173
- async function $do16(client$, request, options) {
56337
+ async function $do17(client$, request, options) {
56174
56338
  const parsed$ = safeParse4(request, (value$) => RunTestsBatchAgentTestsRunPostRequest$zodSchema.optional().parse(value$), "Input validation failed");
56175
56339
  if (!parsed$.ok) {
56176
56340
  return [parsed$, { status: "invalid" }];
@@ -56244,12 +56408,12 @@ var init_agentTestsRunBatch = __esm(() => {
56244
56408
  });
56245
56409
 
56246
56410
  // src/mcp-server/tools/agentTestsRunBatch.ts
56247
- var args16, tool$agentTestsRunBatch;
56411
+ var args17, tool$agentTestsRunBatch;
56248
56412
  var init_agentTestsRunBatch2 = __esm(() => {
56249
56413
  init_agentTestsRunBatch();
56250
56414
  init_runtestsbatchagenttestsrunpostop();
56251
56415
  init_tools();
56252
- args16 = {
56416
+ args17 = {
56253
56417
  request: RunTestsBatchAgentTestsRunPostRequest$zodSchema.optional()
56254
56418
  };
56255
56419
  tool$agentTestsRunBatch = {
@@ -56268,9 +56432,9 @@ task_id values to poll with get-agent-test-run.
56268
56432
  openWorldHint: true,
56269
56433
  readOnlyHint: false
56270
56434
  },
56271
- args: args16,
56272
- tool: async (client, args17, ctx) => {
56273
- 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();
56274
56438
  if (!result.ok) {
56275
56439
  return {
56276
56440
  content: [{ type: "text", text: result.error.message }],
@@ -56289,6 +56453,8 @@ var init_bulkcreateitemsresponse = __esm(() => {
56289
56453
  BulkCreateItemsResponse$zodSchema = object({
56290
56454
  annotation_job_id: string2().nullable().optional().describe("ID of the labelling job that holds the annotations you provided, present only when you send annotations with the items"),
56291
56455
  count: int().describe("How many items the request resolved to"),
56456
+ evaluator_result_count: int().nullable().optional().describe("How many evaluator scores were stored, present only when you send `evaluator_results` with the items"),
56457
+ evaluator_run_job_id: string2().nullable().optional().describe("ID of the evaluator-run job that holds the scores you provided, present only when you send `evaluator_results` with the items"),
56292
56458
  existing_item_ids: array(string2()).nullable().optional().describe("IDs of items that already existed by name and were reused"),
56293
56459
  item_ids: array(string2()).describe("IDs of every item the request resolved to, in request order"),
56294
56460
  new_item_ids: array(string2()).nullable().optional().describe("IDs of the items that were newly created")
@@ -56301,6 +56467,7 @@ var init_annotationitempayload = __esm(() => {
56301
56467
  init_zod();
56302
56468
  AnnotationItemPayload$zodSchema = object({
56303
56469
  annotations: record(string2(), any()).nullable().optional().describe("Human annotations to seed, keyed by evaluator ID. Each evaluator ID must be linked to the task. Put the judgement in `value`, a bool for binary or a number for rating, with optional `reasoning`. Requires `annotator_id`"),
56470
+ evaluator_results: record(string2(), any()).nullable().optional().describe("Evaluator scores to record, keyed by evaluator ID. Each evaluator ID must be linked to the task. Put the score in `value`, a bool for binary or a number within the scale for rating, with optional `reasoning` and `version_number`. Omit `version_number` to record against the evaluator's live version. An item recording a tool call takes the tool-call evaluator and no other, and every other item takes any evaluator except that one"),
56304
56471
  payload: any().optional().describe("The item's payload. `name` is required and unique within the task for every type. The other fields depend on the task `type`:\n\n- `stt`: `name`, `reference_transcript`, `predicted_transcript`\n- `llm`: `name`, `chat_history` (list of `{role, content}` turns ending at the user turn), `agent_response` (the reply to judge), optional `evaluator_variables`\n- `llm-general`: `name`, `input`, `output`, optional `evaluator_variables`\n- `conversation`: `name`, `transcript` (list of `{role, content}` turns), optional `evaluator_variables`\n\n`evaluator_variables` maps an evaluator ID to that evaluator's `{{\"{{\"}}variable}}` values for this item")
56305
56472
  });
56306
56473
  });
@@ -56336,9 +56503,9 @@ var init_bulkcreateitemsannotationtaskstaskuuiditemspostop = __esm(() => {
56336
56503
 
56337
56504
  // src/funcs/annotationTasksAddItems.ts
56338
56505
  function annotationTasksAddItems(client$, request, options) {
56339
- return new APIPromise($do17(client$, request, options));
56506
+ return new APIPromise($do18(client$, request, options));
56340
56507
  }
56341
- async function $do17(client$, request, options) {
56508
+ async function $do18(client$, request, options) {
56342
56509
  const parsed$ = safeParse4(request, (value$) => BulkCreateItemsAnnotationTasksTaskUuidItemsPostRequest$zodSchema.parse(value$), "Input validation failed");
56343
56510
  if (!parsed$.ok) {
56344
56511
  return [parsed$, { status: "invalid" }];
@@ -56418,12 +56585,12 @@ var init_annotationTasksAddItems = __esm(() => {
56418
56585
  });
56419
56586
 
56420
56587
  // src/mcp-server/tools/annotationTasksAddItems.ts
56421
- var args17, tool$annotationTasksAddItems;
56588
+ var args18, tool$annotationTasksAddItems;
56422
56589
  var init_annotationTasksAddItems2 = __esm(() => {
56423
56590
  init_annotationTasksAddItems();
56424
56591
  init_bulkcreateitemsannotationtaskstaskuuiditemspostop();
56425
56592
  init_tools();
56426
- args17 = {
56593
+ args18 = {
56427
56594
  request: BulkCreateItemsAnnotationTasksTaskUuidItemsPostRequest$zodSchema
56428
56595
  };
56429
56596
  tool$annotationTasksAddItems = {
@@ -56438,9 +56605,9 @@ var init_annotationTasksAddItems2 = __esm(() => {
56438
56605
  openWorldHint: true,
56439
56606
  readOnlyHint: false
56440
56607
  },
56441
- args: args17,
56442
- tool: async (client, args18, ctx) => {
56443
- const [result] = await annotationTasksAddItems(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56608
+ args: args18,
56609
+ tool: async (client, args19, ctx) => {
56610
+ const [result] = await annotationTasksAddItems(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56444
56611
  if (!result.ok) {
56445
56612
  return {
56446
56613
  content: [{ type: "text", text: result.error.message }],
@@ -56500,9 +56667,9 @@ var init_createannotationtaskendpointannotationtaskspostop = __esm(() => {
56500
56667
 
56501
56668
  // src/funcs/annotationTasksCreate.ts
56502
56669
  function annotationTasksCreate(client$, request, options) {
56503
- return new APIPromise($do18(client$, request, options));
56670
+ return new APIPromise($do19(client$, request, options));
56504
56671
  }
56505
- async function $do18(client$, request, options) {
56672
+ async function $do19(client$, request, options) {
56506
56673
  const parsed$ = safeParse4(request, (value$) => CreateAnnotationTaskEndpointAnnotationTasksPostRequest$zodSchema.parse(value$), "Input validation failed");
56507
56674
  if (!parsed$.ok) {
56508
56675
  return [parsed$, { status: "invalid" }];
@@ -56576,12 +56743,12 @@ var init_annotationTasksCreate = __esm(() => {
56576
56743
  });
56577
56744
 
56578
56745
  // src/mcp-server/tools/annotationTasksCreate.ts
56579
- var args18, tool$annotationTasksCreate;
56746
+ var args19, tool$annotationTasksCreate;
56580
56747
  var init_annotationTasksCreate2 = __esm(() => {
56581
56748
  init_annotationTasksCreate();
56582
56749
  init_createannotationtaskendpointannotationtaskspostop();
56583
56750
  init_tools();
56584
- args18 = {
56751
+ args19 = {
56585
56752
  request: CreateAnnotationTaskEndpointAnnotationTasksPostRequest$zodSchema
56586
56753
  };
56587
56754
  tool$annotationTasksCreate = {
@@ -56596,9 +56763,9 @@ var init_annotationTasksCreate2 = __esm(() => {
56596
56763
  openWorldHint: true,
56597
56764
  readOnlyHint: false
56598
56765
  },
56599
- args: args18,
56600
- tool: async (client, args19, ctx) => {
56601
- const [result] = await annotationTasksCreate(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56766
+ args: args19,
56767
+ tool: async (client, args20, ctx) => {
56768
+ const [result] = await annotationTasksCreate(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56602
56769
  if (!result.ok) {
56603
56770
  return {
56604
56771
  content: [{ type: "text", text: result.error.message }],
@@ -56669,9 +56836,9 @@ var init_startevaluatorrunannotationtaskstaskuuidevaluatorrunspostop = __esm(()
56669
56836
 
56670
56837
  // src/funcs/annotationTasksCreateEvaluatorRun.ts
56671
56838
  function annotationTasksCreateEvaluatorRun(client$, request, options) {
56672
- return new APIPromise($do19(client$, request, options));
56839
+ return new APIPromise($do20(client$, request, options));
56673
56840
  }
56674
- async function $do19(client$, request, options) {
56841
+ async function $do20(client$, request, options) {
56675
56842
  const parsed$ = safeParse4(request, (value$) => StartEvaluatorRunAnnotationTasksTaskUuidEvaluatorRunsPostRequest$zodSchema.parse(value$), "Input validation failed");
56676
56843
  if (!parsed$.ok) {
56677
56844
  return [parsed$, { status: "invalid" }];
@@ -56751,12 +56918,12 @@ var init_annotationTasksCreateEvaluatorRun = __esm(() => {
56751
56918
  });
56752
56919
 
56753
56920
  // src/mcp-server/tools/annotationTasksCreateEvaluatorRun.ts
56754
- var args19, tool$annotationTasksCreateEvaluatorRun;
56921
+ var args20, tool$annotationTasksCreateEvaluatorRun;
56755
56922
  var init_annotationTasksCreateEvaluatorRun2 = __esm(() => {
56756
56923
  init_annotationTasksCreateEvaluatorRun();
56757
56924
  init_startevaluatorrunannotationtaskstaskuuidevaluatorrunspostop();
56758
56925
  init_tools();
56759
- args19 = {
56926
+ args20 = {
56760
56927
  request: StartEvaluatorRunAnnotationTasksTaskUuidEvaluatorRunsPostRequest$zodSchema
56761
56928
  };
56762
56929
  tool$annotationTasksCreateEvaluatorRun = {
@@ -56771,9 +56938,9 @@ var init_annotationTasksCreateEvaluatorRun2 = __esm(() => {
56771
56938
  openWorldHint: true,
56772
56939
  readOnlyHint: false
56773
56940
  },
56774
- args: args19,
56775
- tool: async (client, args20, ctx) => {
56776
- const [result] = await annotationTasksCreateEvaluatorRun(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56941
+ args: args20,
56942
+ tool: async (client, args21, ctx) => {
56943
+ const [result] = await annotationTasksCreateEvaluatorRun(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56777
56944
  if (!result.ok) {
56778
56945
  return {
56779
56946
  content: [{ type: "text", text: result.error.message }],
@@ -56852,9 +57019,9 @@ var init_createjobsannotationtaskstaskuuidjobspostop = __esm(() => {
56852
57019
 
56853
57020
  // src/funcs/annotationTasksCreateLabellingJobs.ts
56854
57021
  function annotationTasksCreateLabellingJobs(client$, request, options) {
56855
- return new APIPromise($do20(client$, request, options));
57022
+ return new APIPromise($do21(client$, request, options));
56856
57023
  }
56857
- async function $do20(client$, request, options) {
57024
+ async function $do21(client$, request, options) {
56858
57025
  const parsed$ = safeParse4(request, (value$) => CreateJobsAnnotationTasksTaskUuidJobsPostRequest$zodSchema.parse(value$), "Input validation failed");
56859
57026
  if (!parsed$.ok) {
56860
57027
  return [parsed$, { status: "invalid" }];
@@ -56934,12 +57101,12 @@ var init_annotationTasksCreateLabellingJobs = __esm(() => {
56934
57101
  });
56935
57102
 
56936
57103
  // src/mcp-server/tools/annotationTasksCreateLabellingJobs.ts
56937
- var args20, tool$annotationTasksCreateLabellingJobs;
57104
+ var args21, tool$annotationTasksCreateLabellingJobs;
56938
57105
  var init_annotationTasksCreateLabellingJobs2 = __esm(() => {
56939
57106
  init_annotationTasksCreateLabellingJobs();
56940
57107
  init_createjobsannotationtaskstaskuuidjobspostop();
56941
57108
  init_tools();
56942
- args20 = {
57109
+ args21 = {
56943
57110
  request: CreateJobsAnnotationTasksTaskUuidJobsPostRequest$zodSchema
56944
57111
  };
56945
57112
  tool$annotationTasksCreateLabellingJobs = {
@@ -56954,9 +57121,9 @@ var init_annotationTasksCreateLabellingJobs2 = __esm(() => {
56954
57121
  openWorldHint: true,
56955
57122
  readOnlyHint: false
56956
57123
  },
56957
- args: args20,
56958
- tool: async (client, args21, ctx) => {
56959
- const [result] = await annotationTasksCreateLabellingJobs(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57124
+ args: args21,
57125
+ tool: async (client, args22, ctx) => {
57126
+ const [result] = await annotationTasksCreateLabellingJobs(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
56960
57127
  if (!result.ok) {
56961
57128
  return {
56962
57129
  content: [{ type: "text", text: result.error.message }],
@@ -57012,9 +57179,9 @@ var init_getannotationtaskendpointannotationtaskstaskuuidgetop = __esm(() => {
57012
57179
 
57013
57180
  // src/funcs/annotationTasksGet.ts
57014
57181
  function annotationTasksGet(client$, request, options) {
57015
- return new APIPromise($do21(client$, request, options));
57182
+ return new APIPromise($do22(client$, request, options));
57016
57183
  }
57017
- async function $do21(client$, request, options) {
57184
+ async function $do22(client$, request, options) {
57018
57185
  const parsed$ = safeParse4(request, (value$) => GetAnnotationTaskEndpointAnnotationTasksTaskUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
57019
57186
  if (!parsed$.ok) {
57020
57187
  return [parsed$, { status: "invalid" }];
@@ -57093,12 +57260,12 @@ var init_annotationTasksGet = __esm(() => {
57093
57260
  });
57094
57261
 
57095
57262
  // src/mcp-server/tools/annotationTasksGet.ts
57096
- var args21, tool$annotationTasksGet;
57263
+ var args22, tool$annotationTasksGet;
57097
57264
  var init_annotationTasksGet2 = __esm(() => {
57098
57265
  init_annotationTasksGet();
57099
57266
  init_getannotationtaskendpointannotationtaskstaskuuidgetop();
57100
57267
  init_tools();
57101
- args21 = {
57268
+ args22 = {
57102
57269
  request: GetAnnotationTaskEndpointAnnotationTasksTaskUuidGetRequest$zodSchema
57103
57270
  };
57104
57271
  tool$annotationTasksGet = {
@@ -57113,9 +57280,9 @@ var init_annotationTasksGet2 = __esm(() => {
57113
57280
  openWorldHint: true,
57114
57281
  readOnlyHint: true
57115
57282
  },
57116
- args: args21,
57117
- tool: async (client, args22, ctx) => {
57118
- const [result] = await annotationTasksGet(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57283
+ args: args22,
57284
+ tool: async (client, args23, ctx) => {
57285
+ const [result] = await annotationTasksGet(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57119
57286
  if (!result.ok) {
57120
57287
  return {
57121
57288
  content: [{ type: "text", text: result.error.message }],
@@ -57205,9 +57372,9 @@ var init_taskagreementannotationtaskstaskuuidagreementgetop = __esm(() => {
57205
57372
 
57206
57373
  // src/funcs/annotationTasksGetAgreement.ts
57207
57374
  function annotationTasksGetAgreement(client$, request, options) {
57208
- return new APIPromise($do22(client$, request, options));
57375
+ return new APIPromise($do23(client$, request, options));
57209
57376
  }
57210
- async function $do22(client$, request, options) {
57377
+ async function $do23(client$, request, options) {
57211
57378
  const parsed$ = safeParse4(request, (value$) => TaskAgreementAnnotationTasksTaskUuidAgreementGetRequest$zodSchema.parse(value$), "Input validation failed");
57212
57379
  if (!parsed$.ok) {
57213
57380
  return [parsed$, { status: "invalid" }];
@@ -57291,12 +57458,12 @@ var init_annotationTasksGetAgreement = __esm(() => {
57291
57458
  });
57292
57459
 
57293
57460
  // src/mcp-server/tools/annotationTasksGetAgreement.ts
57294
- var args22, tool$annotationTasksGetAgreement;
57461
+ var args23, tool$annotationTasksGetAgreement;
57295
57462
  var init_annotationTasksGetAgreement2 = __esm(() => {
57296
57463
  init_annotationTasksGetAgreement();
57297
57464
  init_taskagreementannotationtaskstaskuuidagreementgetop();
57298
57465
  init_tools();
57299
- args22 = {
57466
+ args23 = {
57300
57467
  request: TaskAgreementAnnotationTasksTaskUuidAgreementGetRequest$zodSchema
57301
57468
  };
57302
57469
  tool$annotationTasksGetAgreement = {
@@ -57311,9 +57478,9 @@ var init_annotationTasksGetAgreement2 = __esm(() => {
57311
57478
  openWorldHint: true,
57312
57479
  readOnlyHint: true
57313
57480
  },
57314
- args: args22,
57315
- tool: async (client, args23, ctx) => {
57316
- const [result] = await annotationTasksGetAgreement(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57481
+ args: args23,
57482
+ tool: async (client, args24, ctx) => {
57483
+ const [result] = await annotationTasksGetAgreement(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57317
57484
  if (!result.ok) {
57318
57485
  return {
57319
57486
  content: [{ type: "text", text: result.error.message }],
@@ -57390,9 +57557,9 @@ var init_getevaluatorrunjobannotationtaskstaskuuidevaluatorrunsjobuuidgetop = __
57390
57557
 
57391
57558
  // src/funcs/annotationTasksGetEvaluatorRun.ts
57392
57559
  function annotationTasksGetEvaluatorRun(client$, request, options) {
57393
- return new APIPromise($do23(client$, request, options));
57560
+ return new APIPromise($do24(client$, request, options));
57394
57561
  }
57395
- async function $do23(client$, request, options) {
57562
+ async function $do24(client$, request, options) {
57396
57563
  const parsed$ = safeParse4(request, (value$) => GetEvaluatorRunJobAnnotationTasksTaskUuidEvaluatorRunsJobUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
57397
57564
  if (!parsed$.ok) {
57398
57565
  return [parsed$, { status: "invalid" }];
@@ -57475,12 +57642,12 @@ var init_annotationTasksGetEvaluatorRun = __esm(() => {
57475
57642
  });
57476
57643
 
57477
57644
  // src/mcp-server/tools/annotationTasksGetEvaluatorRun.ts
57478
- var args23, tool$annotationTasksGetEvaluatorRun;
57645
+ var args24, tool$annotationTasksGetEvaluatorRun;
57479
57646
  var init_annotationTasksGetEvaluatorRun2 = __esm(() => {
57480
57647
  init_annotationTasksGetEvaluatorRun();
57481
57648
  init_getevaluatorrunjobannotationtaskstaskuuidevaluatorrunsjobuuidgetop();
57482
57649
  init_tools();
57483
- args23 = {
57650
+ args24 = {
57484
57651
  request: GetEvaluatorRunJobAnnotationTasksTaskUuidEvaluatorRunsJobUuidGetRequest$zodSchema
57485
57652
  };
57486
57653
  tool$annotationTasksGetEvaluatorRun = {
@@ -57495,9 +57662,9 @@ var init_annotationTasksGetEvaluatorRun2 = __esm(() => {
57495
57662
  openWorldHint: true,
57496
57663
  readOnlyHint: true
57497
57664
  },
57498
- args: args23,
57499
- tool: async (client, args24, ctx) => {
57500
- const [result] = await annotationTasksGetEvaluatorRun(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57665
+ args: args24,
57666
+ tool: async (client, args25, ctx) => {
57667
+ const [result] = await annotationTasksGetEvaluatorRun(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57501
57668
  if (!result.ok) {
57502
57669
  return {
57503
57670
  content: [{ type: "text", text: result.error.message }],
@@ -57591,9 +57758,9 @@ var init_tasksummaryannotationtaskstaskuuidsummarygetop = __esm(() => {
57591
57758
 
57592
57759
  // src/funcs/annotationTasksGetSummary.ts
57593
57760
  function annotationTasksGetSummary(client$, request, options) {
57594
- return new APIPromise($do24(client$, request, options));
57761
+ return new APIPromise($do25(client$, request, options));
57595
57762
  }
57596
- async function $do24(client$, request, options) {
57763
+ async function $do25(client$, request, options) {
57597
57764
  const parsed$ = safeParse4(request, (value$) => TaskSummaryAnnotationTasksTaskUuidSummaryGetRequest$zodSchema.parse(value$), "Input validation failed");
57598
57765
  if (!parsed$.ok) {
57599
57766
  return [parsed$, { status: "invalid" }];
@@ -57684,12 +57851,12 @@ var init_annotationTasksGetSummary = __esm(() => {
57684
57851
  });
57685
57852
 
57686
57853
  // src/mcp-server/tools/annotationTasksGetSummary.ts
57687
- var args24, tool$annotationTasksGetSummary;
57854
+ var args25, tool$annotationTasksGetSummary;
57688
57855
  var init_annotationTasksGetSummary2 = __esm(() => {
57689
57856
  init_annotationTasksGetSummary();
57690
57857
  init_tasksummaryannotationtaskstaskuuidsummarygetop();
57691
57858
  init_tools();
57692
- args24 = {
57859
+ args25 = {
57693
57860
  request: TaskSummaryAnnotationTasksTaskUuidSummaryGetRequest$zodSchema
57694
57861
  };
57695
57862
  tool$annotationTasksGetSummary = {
@@ -57704,9 +57871,9 @@ var init_annotationTasksGetSummary2 = __esm(() => {
57704
57871
  openWorldHint: true,
57705
57872
  readOnlyHint: true
57706
57873
  },
57707
- args: args24,
57708
- tool: async (client, args25, ctx) => {
57709
- const [result] = await annotationTasksGetSummary(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57874
+ args: args25,
57875
+ tool: async (client, args26, ctx) => {
57876
+ const [result] = await annotationTasksGetSummary(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57710
57877
  if (!result.ok) {
57711
57878
  return {
57712
57879
  content: [{ type: "text", text: result.error.message }],
@@ -57751,9 +57918,9 @@ var init_listannotationtasksannotationtasksgetop = __esm(() => {
57751
57918
 
57752
57919
  // src/funcs/annotationTasksList.ts
57753
57920
  function annotationTasksList(client$, request, options) {
57754
- return new APIPromise($do25(client$, request, options));
57921
+ return new APIPromise($do26(client$, request, options));
57755
57922
  }
57756
- async function $do25(client$, request, options) {
57923
+ async function $do26(client$, request, options) {
57757
57924
  const parsed$ = safeParse4(request, (value$) => ListAnnotationTasksAnnotationTasksGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
57758
57925
  if (!parsed$.ok) {
57759
57926
  return [parsed$, { status: "invalid" }];
@@ -57832,12 +57999,12 @@ var init_annotationTasksList = __esm(() => {
57832
57999
  });
57833
58000
 
57834
58001
  // src/mcp-server/tools/annotationTasksList.ts
57835
- var args25, tool$annotationTasksList;
58002
+ var args26, tool$annotationTasksList;
57836
58003
  var init_annotationTasksList2 = __esm(() => {
57837
58004
  init_annotationTasksList();
57838
58005
  init_listannotationtasksannotationtasksgetop();
57839
58006
  init_tools();
57840
- args25 = {
58007
+ args26 = {
57841
58008
  request: ListAnnotationTasksAnnotationTasksGetRequest$zodSchema.optional()
57842
58009
  };
57843
58010
  tool$annotationTasksList = {
@@ -57852,9 +58019,9 @@ var init_annotationTasksList2 = __esm(() => {
57852
58019
  openWorldHint: true,
57853
58020
  readOnlyHint: true
57854
58021
  },
57855
- args: args25,
57856
- tool: async (client, args26, ctx) => {
57857
- const [result] = await annotationTasksList(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58022
+ args: args26,
58023
+ tool: async (client, args27, ctx) => {
58024
+ const [result] = await annotationTasksList(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
57858
58025
  if (!result.ok) {
57859
58026
  return {
57860
58027
  content: [{ type: "text", text: result.error.message }],
@@ -57908,9 +58075,9 @@ var init_settaskevaluatorsannotationtaskstaskuuidevaluatorsputop = __esm(() => {
57908
58075
 
57909
58076
  // src/funcs/annotationTasksSetEvaluators.ts
57910
58077
  function annotationTasksSetEvaluators(client$, request, options) {
57911
- return new APIPromise($do26(client$, request, options));
58078
+ return new APIPromise($do27(client$, request, options));
57912
58079
  }
57913
- async function $do26(client$, request, options) {
58080
+ async function $do27(client$, request, options) {
57914
58081
  const parsed$ = safeParse4(request, (value$) => SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest$zodSchema.parse(value$), "Input validation failed");
57915
58082
  if (!parsed$.ok) {
57916
58083
  return [parsed$, { status: "invalid" }];
@@ -57990,12 +58157,12 @@ var init_annotationTasksSetEvaluators = __esm(() => {
57990
58157
  });
57991
58158
 
57992
58159
  // src/mcp-server/tools/annotationTasksSetEvaluators.ts
57993
- var args26, tool$annotationTasksSetEvaluators;
58160
+ var args27, tool$annotationTasksSetEvaluators;
57994
58161
  var init_annotationTasksSetEvaluators2 = __esm(() => {
57995
58162
  init_annotationTasksSetEvaluators();
57996
58163
  init_settaskevaluatorsannotationtaskstaskuuidevaluatorsputop();
57997
58164
  init_tools();
57998
- args26 = {
58165
+ args27 = {
57999
58166
  request: SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest$zodSchema
58000
58167
  };
58001
58168
  tool$annotationTasksSetEvaluators = {
@@ -58014,9 +58181,9 @@ must be in your workspace.
58014
58181
  openWorldHint: true,
58015
58182
  readOnlyHint: false
58016
58183
  },
58017
- args: args26,
58018
- tool: async (client, args27, ctx) => {
58019
- const [result] = await annotationTasksSetEvaluators(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58184
+ args: args27,
58185
+ tool: async (client, args28, ctx) => {
58186
+ const [result] = await annotationTasksSetEvaluators(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58020
58187
  if (!result.ok) {
58021
58188
  return {
58022
58189
  content: [{ type: "text", text: result.error.message }],
@@ -58077,9 +58244,9 @@ var init_bulkupdateitemsannotationtaskstaskuuiditemsputop = __esm(() => {
58077
58244
 
58078
58245
  // src/funcs/annotationTasksUpdateItems.ts
58079
58246
  function annotationTasksUpdateItems(client$, request, options) {
58080
- return new APIPromise($do27(client$, request, options));
58247
+ return new APIPromise($do28(client$, request, options));
58081
58248
  }
58082
- async function $do27(client$, request, options) {
58249
+ async function $do28(client$, request, options) {
58083
58250
  const parsed$ = safeParse4(request, (value$) => BulkUpdateItemsAnnotationTasksTaskUuidItemsPutRequest$zodSchema.parse(value$), "Input validation failed");
58084
58251
  if (!parsed$.ok) {
58085
58252
  return [parsed$, { status: "invalid" }];
@@ -58159,12 +58326,12 @@ var init_annotationTasksUpdateItems = __esm(() => {
58159
58326
  });
58160
58327
 
58161
58328
  // src/mcp-server/tools/annotationTasksUpdateItems.ts
58162
- var args27, tool$annotationTasksUpdateItems;
58329
+ var args28, tool$annotationTasksUpdateItems;
58163
58330
  var init_annotationTasksUpdateItems2 = __esm(() => {
58164
58331
  init_annotationTasksUpdateItems();
58165
58332
  init_bulkupdateitemsannotationtaskstaskuuiditemsputop();
58166
58333
  init_tools();
58167
- args27 = {
58334
+ args28 = {
58168
58335
  request: BulkUpdateItemsAnnotationTasksTaskUuidItemsPutRequest$zodSchema
58169
58336
  };
58170
58337
  tool$annotationTasksUpdateItems = {
@@ -58179,9 +58346,9 @@ var init_annotationTasksUpdateItems2 = __esm(() => {
58179
58346
  openWorldHint: true,
58180
58347
  readOnlyHint: false
58181
58348
  },
58182
- args: args27,
58183
- tool: async (client, args28, ctx) => {
58184
- const [result] = await annotationTasksUpdateItems(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58349
+ args: args28,
58350
+ tool: async (client, args29, ctx) => {
58351
+ const [result] = await annotationTasksUpdateItems(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58185
58352
  if (!result.ok) {
58186
58353
  return {
58187
58354
  content: [{ type: "text", text: result.error.message }],
@@ -58231,9 +58398,9 @@ var init_createannotatorendpointannotatorspostop = __esm(() => {
58231
58398
 
58232
58399
  // src/funcs/annotatorsCreate.ts
58233
58400
  function annotatorsCreate(client$, request, options) {
58234
- return new APIPromise($do28(client$, request, options));
58401
+ return new APIPromise($do29(client$, request, options));
58235
58402
  }
58236
- async function $do28(client$, request, options) {
58403
+ async function $do29(client$, request, options) {
58237
58404
  const parsed$ = safeParse4(request, (value$) => CreateAnnotatorEndpointAnnotatorsPostRequest$zodSchema.parse(value$), "Input validation failed");
58238
58405
  if (!parsed$.ok) {
58239
58406
  return [parsed$, { status: "invalid" }];
@@ -58307,12 +58474,12 @@ var init_annotatorsCreate = __esm(() => {
58307
58474
  });
58308
58475
 
58309
58476
  // src/mcp-server/tools/annotatorsCreate.ts
58310
- var args28, tool$annotatorsCreate;
58477
+ var args29, tool$annotatorsCreate;
58311
58478
  var init_annotatorsCreate2 = __esm(() => {
58312
58479
  init_annotatorsCreate();
58313
58480
  init_createannotatorendpointannotatorspostop();
58314
58481
  init_tools();
58315
- args28 = {
58482
+ args29 = {
58316
58483
  request: CreateAnnotatorEndpointAnnotatorsPostRequest$zodSchema
58317
58484
  };
58318
58485
  tool$annotatorsCreate = {
@@ -58327,9 +58494,9 @@ var init_annotatorsCreate2 = __esm(() => {
58327
58494
  openWorldHint: true,
58328
58495
  readOnlyHint: false
58329
58496
  },
58330
- args: args28,
58331
- tool: async (client, args29, ctx) => {
58332
- const [result] = await annotatorsCreate(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58497
+ args: args29,
58498
+ tool: async (client, args30, ctx) => {
58499
+ const [result] = await annotatorsCreate(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58333
58500
  if (!result.ok) {
58334
58501
  return {
58335
58502
  content: [{ type: "text", text: result.error.message }],
@@ -58373,9 +58540,9 @@ var init_listannotatorsannotatorsgetop = __esm(() => {
58373
58540
 
58374
58541
  // src/funcs/annotatorsList.ts
58375
58542
  function annotatorsList(client$, request, options) {
58376
- return new APIPromise($do29(client$, request, options));
58543
+ return new APIPromise($do30(client$, request, options));
58377
58544
  }
58378
- async function $do29(client$, request, options) {
58545
+ async function $do30(client$, request, options) {
58379
58546
  const parsed$ = safeParse4(request, (value$) => ListAnnotatorsAnnotatorsGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
58380
58547
  if (!parsed$.ok) {
58381
58548
  return [parsed$, { status: "invalid" }];
@@ -58448,12 +58615,12 @@ var init_annotatorsList = __esm(() => {
58448
58615
  });
58449
58616
 
58450
58617
  // src/mcp-server/tools/annotatorsList.ts
58451
- var args29, tool$annotatorsList;
58618
+ var args30, tool$annotatorsList;
58452
58619
  var init_annotatorsList2 = __esm(() => {
58453
58620
  init_annotatorsList();
58454
58621
  init_listannotatorsannotatorsgetop();
58455
58622
  init_tools();
58456
- args29 = {
58623
+ args30 = {
58457
58624
  request: ListAnnotatorsAnnotatorsGetRequest$zodSchema.optional()
58458
58625
  };
58459
58626
  tool$annotatorsList = {
@@ -58468,9 +58635,9 @@ var init_annotatorsList2 = __esm(() => {
58468
58635
  openWorldHint: true,
58469
58636
  readOnlyHint: true
58470
58637
  },
58471
- args: args29,
58472
- tool: async (client, args30, ctx) => {
58473
- const [result] = await annotatorsList(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58638
+ args: args30,
58639
+ tool: async (client, args31, ctx) => {
58640
+ const [result] = await annotatorsList(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58474
58641
  if (!result.ok) {
58475
58642
  return {
58476
58643
  content: [{ type: "text", text: result.error.message }],
@@ -58511,9 +58678,9 @@ var init_updateannotatorendpointannotatorsannotatoruuidputop = __esm(() => {
58511
58678
 
58512
58679
  // src/funcs/annotatorsUpdate.ts
58513
58680
  function annotatorsUpdate(client$, request, options) {
58514
- return new APIPromise($do30(client$, request, options));
58681
+ return new APIPromise($do31(client$, request, options));
58515
58682
  }
58516
- async function $do30(client$, request, options) {
58683
+ async function $do31(client$, request, options) {
58517
58684
  const parsed$ = safeParse4(request, (value$) => UpdateAnnotatorEndpointAnnotatorsAnnotatorUuidPutRequest$zodSchema.parse(value$), "Input validation failed");
58518
58685
  if (!parsed$.ok) {
58519
58686
  return [parsed$, { status: "invalid" }];
@@ -58593,12 +58760,12 @@ var init_annotatorsUpdate = __esm(() => {
58593
58760
  });
58594
58761
 
58595
58762
  // src/mcp-server/tools/annotatorsUpdate.ts
58596
- var args30, tool$annotatorsUpdate;
58763
+ var args31, tool$annotatorsUpdate;
58597
58764
  var init_annotatorsUpdate2 = __esm(() => {
58598
58765
  init_annotatorsUpdate();
58599
58766
  init_updateannotatorendpointannotatorsannotatoruuidputop();
58600
58767
  init_tools();
58601
- args30 = {
58768
+ args31 = {
58602
58769
  request: UpdateAnnotatorEndpointAnnotatorsAnnotatorUuidPutRequest$zodSchema
58603
58770
  };
58604
58771
  tool$annotatorsUpdate = {
@@ -58613,9 +58780,9 @@ var init_annotatorsUpdate2 = __esm(() => {
58613
58780
  openWorldHint: true,
58614
58781
  readOnlyHint: false
58615
58782
  },
58616
- args: args30,
58617
- tool: async (client, args31, ctx) => {
58618
- const [result] = await annotatorsUpdate(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58783
+ args: args31,
58784
+ tool: async (client, args32, ctx) => {
58785
+ const [result] = await annotatorsUpdate(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58619
58786
  if (!result.ok) {
58620
58787
  return {
58621
58788
  content: [{ type: "text", text: result.error.message }],
@@ -58723,9 +58890,9 @@ var init_createevaluatorendpointevaluatorspostop = __esm(() => {
58723
58890
 
58724
58891
  // src/funcs/evaluatorsCreate.ts
58725
58892
  function evaluatorsCreate(client$, request, options) {
58726
- return new APIPromise($do31(client$, request, options));
58893
+ return new APIPromise($do32(client$, request, options));
58727
58894
  }
58728
- async function $do31(client$, request, options) {
58895
+ async function $do32(client$, request, options) {
58729
58896
  const parsed$ = safeParse4(request, (value$) => CreateEvaluatorEndpointEvaluatorsPostRequest$zodSchema.parse(value$), "Input validation failed");
58730
58897
  if (!parsed$.ok) {
58731
58898
  return [parsed$, { status: "invalid" }];
@@ -58799,12 +58966,12 @@ var init_evaluatorsCreate = __esm(() => {
58799
58966
  });
58800
58967
 
58801
58968
  // src/mcp-server/tools/evaluatorsCreate.ts
58802
- var args31, tool$evaluatorsCreate;
58969
+ var args32, tool$evaluatorsCreate;
58803
58970
  var init_evaluatorsCreate2 = __esm(() => {
58804
58971
  init_evaluatorsCreate();
58805
58972
  init_createevaluatorendpointevaluatorspostop();
58806
58973
  init_tools();
58807
- args31 = {
58974
+ args32 = {
58808
58975
  request: CreateEvaluatorEndpointEvaluatorsPostRequest$zodSchema
58809
58976
  };
58810
58977
  tool$evaluatorsCreate = {
@@ -58819,9 +58986,9 @@ var init_evaluatorsCreate2 = __esm(() => {
58819
58986
  openWorldHint: true,
58820
58987
  readOnlyHint: false
58821
58988
  },
58822
- args: args31,
58823
- tool: async (client, args32, ctx) => {
58824
- const [result] = await evaluatorsCreate(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58989
+ args: args32,
58990
+ tool: async (client, args33, ctx) => {
58991
+ const [result] = await evaluatorsCreate(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58825
58992
  if (!result.ok) {
58826
58993
  return {
58827
58994
  content: [{ type: "text", text: result.error.message }],
@@ -58878,9 +59045,9 @@ var init_createversionevaluatorsevaluatoruuidversionspostop = __esm(() => {
58878
59045
 
58879
59046
  // src/funcs/evaluatorsCreateVersion.ts
58880
59047
  function evaluatorsCreateVersion(client$, request, options) {
58881
- return new APIPromise($do32(client$, request, options));
59048
+ return new APIPromise($do33(client$, request, options));
58882
59049
  }
58883
- async function $do32(client$, request, options) {
59050
+ async function $do33(client$, request, options) {
58884
59051
  const parsed$ = safeParse4(request, (value$) => CreateVersionEvaluatorsEvaluatorUuidVersionsPostRequest$zodSchema.parse(value$), "Input validation failed");
58885
59052
  if (!parsed$.ok) {
58886
59053
  return [parsed$, { status: "invalid" }];
@@ -58960,12 +59127,12 @@ var init_evaluatorsCreateVersion = __esm(() => {
58960
59127
  });
58961
59128
 
58962
59129
  // src/mcp-server/tools/evaluatorsCreateVersion.ts
58963
- var args32, tool$evaluatorsCreateVersion;
59130
+ var args33, tool$evaluatorsCreateVersion;
58964
59131
  var init_evaluatorsCreateVersion2 = __esm(() => {
58965
59132
  init_evaluatorsCreateVersion();
58966
59133
  init_createversionevaluatorsevaluatoruuidversionspostop();
58967
59134
  init_tools();
58968
- args32 = {
59135
+ args33 = {
58969
59136
  request: CreateVersionEvaluatorsEvaluatorUuidVersionsPostRequest$zodSchema
58970
59137
  };
58971
59138
  tool$evaluatorsCreateVersion = {
@@ -58980,9 +59147,9 @@ var init_evaluatorsCreateVersion2 = __esm(() => {
58980
59147
  openWorldHint: true,
58981
59148
  readOnlyHint: false
58982
59149
  },
58983
- args: args32,
58984
- tool: async (client, args33, ctx) => {
58985
- const [result] = await evaluatorsCreateVersion(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59150
+ args: args33,
59151
+ tool: async (client, args34, ctx) => {
59152
+ const [result] = await evaluatorsCreateVersion(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
58986
59153
  if (!result.ok) {
58987
59154
  return {
58988
59155
  content: [{ type: "text", text: result.error.message }],
@@ -59069,9 +59236,9 @@ var init_getevaluatorendpointevaluatorsevaluatoruuidgetop = __esm(() => {
59069
59236
 
59070
59237
  // src/funcs/evaluatorsGet.ts
59071
59238
  function evaluatorsGet(client$, request, options) {
59072
- return new APIPromise($do33(client$, request, options));
59239
+ return new APIPromise($do34(client$, request, options));
59073
59240
  }
59074
- async function $do33(client$, request, options) {
59241
+ async function $do34(client$, request, options) {
59075
59242
  const parsed$ = safeParse4(request, (value$) => GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
59076
59243
  if (!parsed$.ok) {
59077
59244
  return [parsed$, { status: "invalid" }];
@@ -59154,12 +59321,12 @@ var init_evaluatorsGet = __esm(() => {
59154
59321
  });
59155
59322
 
59156
59323
  // src/mcp-server/tools/evaluatorsGet.ts
59157
- var args33, tool$evaluatorsGet;
59324
+ var args34, tool$evaluatorsGet;
59158
59325
  var init_evaluatorsGet2 = __esm(() => {
59159
59326
  init_evaluatorsGet();
59160
59327
  init_getevaluatorendpointevaluatorsevaluatoruuidgetop();
59161
59328
  init_tools();
59162
- args33 = {
59329
+ args34 = {
59163
59330
  request: GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetRequest$zodSchema
59164
59331
  };
59165
59332
  tool$evaluatorsGet = {
@@ -59174,9 +59341,9 @@ var init_evaluatorsGet2 = __esm(() => {
59174
59341
  openWorldHint: true,
59175
59342
  readOnlyHint: true
59176
59343
  },
59177
- args: args33,
59178
- tool: async (client, args34, ctx) => {
59179
- const [result] = await evaluatorsGet(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59344
+ args: args34,
59345
+ tool: async (client, args35, ctx) => {
59346
+ const [result] = await evaluatorsGet(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59180
59347
  if (!result.ok) {
59181
59348
  return {
59182
59349
  content: [{ type: "text", text: result.error.message }],
@@ -59223,9 +59390,9 @@ var init_listevaluatorsevaluatorsgetop = __esm(() => {
59223
59390
 
59224
59391
  // src/funcs/evaluatorsList.ts
59225
59392
  function evaluatorsList(client$, request, options) {
59226
- return new APIPromise($do34(client$, request, options));
59393
+ return new APIPromise($do35(client$, request, options));
59227
59394
  }
59228
- async function $do34(client$, request, options) {
59395
+ async function $do35(client$, request, options) {
59229
59396
  const parsed$ = safeParse4(request, (value$) => ListEvaluatorsEvaluatorsGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
59230
59397
  if (!parsed$.ok) {
59231
59398
  return [parsed$, { status: "invalid" }];
@@ -59307,12 +59474,12 @@ var init_evaluatorsList = __esm(() => {
59307
59474
  });
59308
59475
 
59309
59476
  // src/mcp-server/tools/evaluatorsList.ts
59310
- var args34, tool$evaluatorsList;
59477
+ var args35, tool$evaluatorsList;
59311
59478
  var init_evaluatorsList2 = __esm(() => {
59312
59479
  init_evaluatorsList();
59313
59480
  init_listevaluatorsevaluatorsgetop();
59314
59481
  init_tools();
59315
- args34 = {
59482
+ args35 = {
59316
59483
  request: ListEvaluatorsEvaluatorsGetRequest$zodSchema.optional()
59317
59484
  };
59318
59485
  tool$evaluatorsList = {
@@ -59327,9 +59494,9 @@ var init_evaluatorsList2 = __esm(() => {
59327
59494
  openWorldHint: true,
59328
59495
  readOnlyHint: true
59329
59496
  },
59330
- args: args34,
59331
- tool: async (client, args35, ctx) => {
59332
- const [result] = await evaluatorsList(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59497
+ args: args35,
59498
+ tool: async (client, args36, ctx) => {
59499
+ const [result] = await evaluatorsList(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59333
59500
  if (!result.ok) {
59334
59501
  return {
59335
59502
  content: [{ type: "text", text: result.error.message }],
@@ -59447,9 +59614,9 @@ var init_bulkuploadteststestsbulkpostop = __esm(() => {
59447
59614
 
59448
59615
  // src/funcs/testsBulkCreate.ts
59449
59616
  function testsBulkCreate(client$, request, options) {
59450
- return new APIPromise($do35(client$, request, options));
59617
+ return new APIPromise($do36(client$, request, options));
59451
59618
  }
59452
- async function $do35(client$, request, options) {
59619
+ async function $do36(client$, request, options) {
59453
59620
  const parsed$ = safeParse4(request, (value$) => BulkUploadTestsTestsBulkPostRequest$zodSchema.parse(value$), "Input validation failed");
59454
59621
  if (!parsed$.ok) {
59455
59622
  return [parsed$, { status: "invalid" }];
@@ -59523,12 +59690,12 @@ var init_testsBulkCreate = __esm(() => {
59523
59690
  });
59524
59691
 
59525
59692
  // src/mcp-server/tools/testsBulkCreate.ts
59526
- var args35, tool$testsBulkCreate;
59693
+ var args36, tool$testsBulkCreate;
59527
59694
  var init_testsBulkCreate2 = __esm(() => {
59528
59695
  init_testsBulkCreate();
59529
59696
  init_bulkuploadteststestsbulkpostop();
59530
59697
  init_tools();
59531
- args35 = {
59698
+ args36 = {
59532
59699
  request: BulkUploadTestsTestsBulkPostRequest$zodSchema
59533
59700
  };
59534
59701
  tool$testsBulkCreate = {
@@ -59545,9 +59712,9 @@ tests including their UUIDs.
59545
59712
  openWorldHint: true,
59546
59713
  readOnlyHint: false
59547
59714
  },
59548
- args: args35,
59549
- tool: async (client, args36, ctx) => {
59550
- const [result] = await testsBulkCreate(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59715
+ args: args36,
59716
+ tool: async (client, args37, ctx) => {
59717
+ const [result] = await testsBulkCreate(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59551
59718
  if (!result.ok) {
59552
59719
  return {
59553
59720
  content: [{ type: "text", text: result.error.message }],
@@ -59607,9 +59774,9 @@ var init_createtestendpointtestspostop = __esm(() => {
59607
59774
 
59608
59775
  // src/funcs/testsCreate.ts
59609
59776
  function testsCreate(client$, request, options) {
59610
- return new APIPromise($do36(client$, request, options));
59777
+ return new APIPromise($do37(client$, request, options));
59611
59778
  }
59612
- async function $do36(client$, request, options) {
59779
+ async function $do37(client$, request, options) {
59613
59780
  const parsed$ = safeParse4(request, (value$) => CreateTestEndpointTestsPostRequest$zodSchema.parse(value$), "Input validation failed");
59614
59781
  if (!parsed$.ok) {
59615
59782
  return [parsed$, { status: "invalid" }];
@@ -59683,12 +59850,12 @@ var init_testsCreate = __esm(() => {
59683
59850
  });
59684
59851
 
59685
59852
  // src/mcp-server/tools/testsCreate.ts
59686
- var args36, tool$testsCreate;
59853
+ var args37, tool$testsCreate;
59687
59854
  var init_testsCreate2 = __esm(() => {
59688
59855
  init_testsCreate();
59689
59856
  init_createtestendpointtestspostop();
59690
59857
  init_tools();
59691
- args36 = {
59858
+ args37 = {
59692
59859
  request: CreateTestEndpointTestsPostRequest$zodSchema
59693
59860
  };
59694
59861
  tool$testsCreate = {
@@ -59705,9 +59872,9 @@ Requires a Calibrate API key (CALIBRATE_API_KEY).
59705
59872
  openWorldHint: true,
59706
59873
  readOnlyHint: false
59707
59874
  },
59708
- args: args36,
59709
- tool: async (client, args37, ctx) => {
59710
- const [result] = await testsCreate(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59875
+ args: args37,
59876
+ tool: async (client, args38, ctx) => {
59877
+ const [result] = await testsCreate(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59711
59878
  if (!result.ok) {
59712
59879
  return {
59713
59880
  content: [{ type: "text", text: result.error.message }],
@@ -59758,9 +59925,9 @@ var init_gettestendpointteststestuuidgetop = __esm(() => {
59758
59925
 
59759
59926
  // src/funcs/testsGet.ts
59760
59927
  function testsGet(client$, request, options) {
59761
- return new APIPromise($do37(client$, request, options));
59928
+ return new APIPromise($do38(client$, request, options));
59762
59929
  }
59763
- async function $do37(client$, request, options) {
59930
+ async function $do38(client$, request, options) {
59764
59931
  const parsed$ = safeParse4(request, (value$) => GetTestEndpointTestsTestUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
59765
59932
  if (!parsed$.ok) {
59766
59933
  return [parsed$, { status: "invalid" }];
@@ -59839,12 +60006,12 @@ var init_testsGet = __esm(() => {
59839
60006
  });
59840
60007
 
59841
60008
  // src/mcp-server/tools/testsGet.ts
59842
- var args37, tool$testsGet;
60009
+ var args38, tool$testsGet;
59843
60010
  var init_testsGet2 = __esm(() => {
59844
60011
  init_testsGet();
59845
60012
  init_gettestendpointteststestuuidgetop();
59846
60013
  init_tools();
59847
- args37 = {
60014
+ args38 = {
59848
60015
  request: GetTestEndpointTestsTestUuidGetRequest$zodSchema
59849
60016
  };
59850
60017
  tool$testsGet = {
@@ -59861,9 +60028,9 @@ exist or belongs to another org.
59861
60028
  openWorldHint: true,
59862
60029
  readOnlyHint: true
59863
60030
  },
59864
- args: args37,
59865
- tool: async (client, args38, ctx) => {
59866
- const [result] = await testsGet(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60031
+ args: args38,
60032
+ tool: async (client, args39, ctx) => {
60033
+ const [result] = await testsGet(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
59867
60034
  if (!result.ok) {
59868
60035
  return {
59869
60036
  content: [{ type: "text", text: result.error.message }],
@@ -59895,9 +60062,9 @@ var init_listteststestsgetop = __esm(() => {
59895
60062
 
59896
60063
  // src/funcs/testsList.ts
59897
60064
  function testsList(client$, request, options) {
59898
- return new APIPromise($do38(client$, request, options));
60065
+ return new APIPromise($do39(client$, request, options));
59899
60066
  }
59900
- async function $do38(client$, request, options) {
60067
+ async function $do39(client$, request, options) {
59901
60068
  const parsed$ = safeParse4(request, (value$) => ListTestsTestsGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
59902
60069
  if (!parsed$.ok) {
59903
60070
  return [parsed$, { status: "invalid" }];
@@ -59976,12 +60143,12 @@ var init_testsList = __esm(() => {
59976
60143
  });
59977
60144
 
59978
60145
  // src/mcp-server/tools/testsList.ts
59979
- var args38, tool$testsList;
60146
+ var args39, tool$testsList;
59980
60147
  var init_testsList2 = __esm(() => {
59981
60148
  init_testsList();
59982
60149
  init_listteststestsgetop();
59983
60150
  init_tools();
59984
- args38 = {
60151
+ args39 = {
59985
60152
  request: ListTestsTestsGetRequest$zodSchema.optional()
59986
60153
  };
59987
60154
  tool$testsList = {
@@ -59998,9 +60165,9 @@ before creating runs.
59998
60165
  openWorldHint: true,
59999
60166
  readOnlyHint: true
60000
60167
  },
60001
- args: args38,
60002
- tool: async (client, args39, ctx) => {
60003
- const [result] = await testsList(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60168
+ args: args39,
60169
+ tool: async (client, args40, ctx) => {
60170
+ const [result] = await testsList(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60004
60171
  if (!result.ok) {
60005
60172
  return {
60006
60173
  content: [{ type: "text", text: result.error.message }],
@@ -60051,9 +60218,9 @@ var init_updatetestendpointteststestuuidputop = __esm(() => {
60051
60218
 
60052
60219
  // src/funcs/testsUpdate.ts
60053
60220
  function testsUpdate(client$, request, options) {
60054
- return new APIPromise($do39(client$, request, options));
60221
+ return new APIPromise($do40(client$, request, options));
60055
60222
  }
60056
- async function $do39(client$, request, options) {
60223
+ async function $do40(client$, request, options) {
60057
60224
  const parsed$ = safeParse4(request, (value$) => UpdateTestEndpointTestsTestUuidPutRequest$zodSchema.parse(value$), "Input validation failed");
60058
60225
  if (!parsed$.ok) {
60059
60226
  return [parsed$, { status: "invalid" }];
@@ -60133,12 +60300,12 @@ var init_testsUpdate = __esm(() => {
60133
60300
  });
60134
60301
 
60135
60302
  // src/mcp-server/tools/testsUpdate.ts
60136
- var args39, tool$testsUpdate;
60303
+ var args40, tool$testsUpdate;
60137
60304
  var init_testsUpdate2 = __esm(() => {
60138
60305
  init_testsUpdate();
60139
60306
  init_updatetestendpointteststestuuidputop();
60140
60307
  init_tools();
60141
- args39 = {
60308
+ args40 = {
60142
60309
  request: UpdateTestEndpointTestsTestUuidPutRequest$zodSchema
60143
60310
  };
60144
60311
  tool$testsUpdate = {
@@ -60155,9 +60322,9 @@ fields to change (name, config). Returns the updated test. Fails with
60155
60322
  openWorldHint: true,
60156
60323
  readOnlyHint: false
60157
60324
  },
60158
- args: args39,
60159
- tool: async (client, args40, ctx) => {
60160
- const [result] = await testsUpdate(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60325
+ args: args40,
60326
+ tool: async (client, args41, ctx) => {
60327
+ const [result] = await testsUpdate(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60161
60328
  if (!result.ok) {
60162
60329
  return {
60163
60330
  content: [{ type: "text", text: result.error.message }],
@@ -60278,9 +60445,9 @@ var init_ingesttracetracespostop = __esm(() => {
60278
60445
 
60279
60446
  // src/funcs/tracesCreate.ts
60280
60447
  function tracesCreate(client$, request, options) {
60281
- return new APIPromise($do40(client$, request, options));
60448
+ return new APIPromise($do41(client$, request, options));
60282
60449
  }
60283
- async function $do40(client$, request, options) {
60450
+ async function $do41(client$, request, options) {
60284
60451
  const parsed$ = safeParse4(request, (value$) => IngestTraceTracesPostRequest$zodSchema.parse(value$), "Input validation failed");
60285
60452
  if (!parsed$.ok) {
60286
60453
  return [parsed$, { status: "invalid" }];
@@ -60354,12 +60521,12 @@ var init_tracesCreate = __esm(() => {
60354
60521
  });
60355
60522
 
60356
60523
  // src/mcp-server/tools/tracesCreate.ts
60357
- var args40, tool$tracesCreate;
60524
+ var args41, tool$tracesCreate;
60358
60525
  var init_tracesCreate2 = __esm(() => {
60359
60526
  init_tracesCreate();
60360
60527
  init_ingesttracetracespostop();
60361
60528
  init_tools();
60362
- args40 = {
60529
+ args41 = {
60363
60530
  request: IngestTraceTracesPostRequest$zodSchema
60364
60531
  };
60365
60532
  tool$tracesCreate = {
@@ -60378,9 +60545,9 @@ hits its trace limit.
60378
60545
  openWorldHint: true,
60379
60546
  readOnlyHint: false
60380
60547
  },
60381
- args: args40,
60382
- tool: async (client, args41, ctx) => {
60383
- const [result] = await tracesCreate(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60548
+ args: args41,
60549
+ tool: async (client, args42, ctx) => {
60550
+ const [result] = await tracesCreate(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
60384
60551
  if (!result.ok) {
60385
60552
  return {
60386
60553
  content: [{ type: "text", text: result.error.message }],
@@ -60396,16 +60563,16 @@ hits its trace limit.
60396
60563
  function createMCPServer(deps) {
60397
60564
  const server = new McpServer({
60398
60565
  name: "CalibrateMcp",
60399
- version: "0.0.44"
60566
+ version: "0.0.46"
60400
60567
  });
60401
60568
  const getClient = deps.getSDK || (() => new CalibrateMcpCore({
60402
60569
  security: deps.security,
60403
60570
  serverURL: deps.serverURL,
60404
60571
  serverIdx: deps.serverIdx,
60405
60572
  debugLogger: deps.logger.level === "debug" ? {
60406
- log: (...args41) => console.log(...args41),
60407
- group: (...args41) => console.group(...args41),
60408
- groupEnd: (...args41) => console.groupEnd(...args41)
60573
+ log: (...args42) => console.log(...args42),
60574
+ group: (...args42) => console.group(...args42),
60575
+ groupEnd: (...args42) => console.groupEnd(...args42)
60409
60576
  } : undefined
60410
60577
  }));
60411
60578
  const scopes = new Set(deps.scopes);
@@ -60431,6 +60598,7 @@ function createMCPServer(deps) {
60431
60598
  tool(tool$agentTestsLink);
60432
60599
  tool(tool$agentTestsListForAgent);
60433
60600
  tool(tool$agentTestsListRunsForAgent);
60601
+ tool(tool$agentTestsBulkUnlink);
60434
60602
  tool(tool$agentTestsRun);
60435
60603
  tool(tool$agentTestsRunBatch);
60436
60604
  tool(tool$agentTestsGetRun);
@@ -60474,6 +60642,7 @@ var init_server2 = __esm(() => {
60474
60642
  init_agentsUpdate2();
60475
60643
  init_agentsVerifyConnection2();
60476
60644
  init_agentTestsBenchmark2();
60645
+ init_agentTestsBulkUnlink2();
60477
60646
  init_agentTestsGetBenchmark2();
60478
60647
  init_agentTestsGetRun2();
60479
60648
  init_agentTestsLink2();
@@ -60614,6 +60783,16 @@ fields to change (name, config). Returns the updated test. Fails with
60614
60783
  {
60615
60784
  name: "list-agent-test-runs",
60616
60785
  description: `List an agent's test and benchmark runs, most recently created first, with their status and results.
60786
+ `
60787
+ },
60788
+ {
60789
+ name: "bulk-unlink-agent-tests",
60790
+ description: `Remove one or more tests from an agent in a single call. The tests
60791
+ themselves are kept and stay available to other agents; only the links
60792
+ to this agent go. Tests that were not linked are skipped, so
60793
+ deleted_count can be lower than the number of ids sent. Fails with 404
60794
+ when the agent is not in the caller's org and 400 when test_uuids is
60795
+ empty.
60617
60796
  `
60618
60797
  },
60619
60798
  {
@@ -61662,7 +61841,7 @@ http_headers = { "api-key-auth" = "YOUR_API_KEY_AUTH" }`;
61662
61841
  <h1>Instructions</h1>
61663
61842
  <p>One-click installation for Claude Desktop users</p>
61664
61843
  <div class="instruction-item">
61665
- <a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.44/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
61844
+ <a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.46/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
61666
61845
  \uD83D\uDCE5 Download MCP Bundle
61667
61846
  </a>
61668
61847
  </div>
@@ -64549,7 +64728,7 @@ var routes = buildRouteMap({
64549
64728
  var app = buildApplication(routes, {
64550
64729
  name: "mcp",
64551
64730
  versionInfo: {
64552
- currentVersion: "0.0.44"
64731
+ currentVersion: "0.0.46"
64553
64732
  }
64554
64733
  });
64555
64734
  run(app, process4.argv.slice(2), buildContext(process4));
@@ -64557,5 +64736,5 @@ export {
64557
64736
  app
64558
64737
  };
64559
64738
 
64560
- //# debugId=D9742F01AE30E23564756E2164756E21
64739
+ //# debugId=AB8FAF600D098BDB64756E2164756E21
64561
64740
  //# sourceMappingURL=mcp-server.js.map