@dalmia/calibrate-mcp 0.0.44 → 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 (51) hide show
  1. package/bin/mcp-server.js +405 -229
  2. package/bin/mcp-server.js.map +15 -10
  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/bulkdeleteagenttestlinksagenttestsbulkunlinkpostop.d.ts +12 -0
  29. package/esm/models/bulkdeleteagenttestlinksagenttestsbulkunlinkpostop.d.ts.map +1 -0
  30. package/esm/models/bulkdeleteagenttestlinksagenttestsbulkunlinkpostop.js +16 -0
  31. package/esm/models/bulkdeleteagenttestlinksagenttestsbulkunlinkpostop.js.map +1 -0
  32. package/esm/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.d.ts +22 -0
  33. package/esm/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.d.ts.map +1 -1
  34. package/esm/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.js +18 -1
  35. package/esm/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.js.map +1 -1
  36. package/esm/tool-names.d.ts.map +1 -1
  37. package/esm/tool-names.js +4 -0
  38. package/esm/tool-names.js.map +1 -1
  39. package/package.json +1 -1
  40. package/src/funcs/agentTestsBulkUnlink.ts +151 -0
  41. package/src/funcs/agentTestsListForAgent.ts +2 -0
  42. package/src/landing-page.ts +1 -1
  43. package/src/lib/config.ts +2 -2
  44. package/src/mcp-server/mcp-server.ts +1 -1
  45. package/src/mcp-server/server.ts +3 -1
  46. package/src/mcp-server/tools/agentTestsBulkUnlink.ts +48 -0
  47. package/src/models/agenttestbulkdelete.ts +16 -0
  48. package/src/models/agenttestsbulkunlinkresponse.ts +19 -0
  49. package/src/models/bulkdeleteagenttestlinksagenttestsbulkunlinkpostop.ts +42 -0
  50. package/src/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.ts +31 -1
  51. 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.45",
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.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 }],
@@ -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 }],
@@ -56336,9 +56500,9 @@ var init_bulkcreateitemsannotationtaskstaskuuiditemspostop = __esm(() => {
56336
56500
 
56337
56501
  // src/funcs/annotationTasksAddItems.ts
56338
56502
  function annotationTasksAddItems(client$, request, options) {
56339
- return new APIPromise($do17(client$, request, options));
56503
+ return new APIPromise($do18(client$, request, options));
56340
56504
  }
56341
- async function $do17(client$, request, options) {
56505
+ async function $do18(client$, request, options) {
56342
56506
  const parsed$ = safeParse4(request, (value$) => BulkCreateItemsAnnotationTasksTaskUuidItemsPostRequest$zodSchema.parse(value$), "Input validation failed");
56343
56507
  if (!parsed$.ok) {
56344
56508
  return [parsed$, { status: "invalid" }];
@@ -56418,12 +56582,12 @@ var init_annotationTasksAddItems = __esm(() => {
56418
56582
  });
56419
56583
 
56420
56584
  // src/mcp-server/tools/annotationTasksAddItems.ts
56421
- var args17, tool$annotationTasksAddItems;
56585
+ var args18, tool$annotationTasksAddItems;
56422
56586
  var init_annotationTasksAddItems2 = __esm(() => {
56423
56587
  init_annotationTasksAddItems();
56424
56588
  init_bulkcreateitemsannotationtaskstaskuuiditemspostop();
56425
56589
  init_tools();
56426
- args17 = {
56590
+ args18 = {
56427
56591
  request: BulkCreateItemsAnnotationTasksTaskUuidItemsPostRequest$zodSchema
56428
56592
  };
56429
56593
  tool$annotationTasksAddItems = {
@@ -56438,9 +56602,9 @@ var init_annotationTasksAddItems2 = __esm(() => {
56438
56602
  openWorldHint: true,
56439
56603
  readOnlyHint: false
56440
56604
  },
56441
- args: args17,
56442
- tool: async (client, args18, ctx) => {
56443
- 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();
56444
56608
  if (!result.ok) {
56445
56609
  return {
56446
56610
  content: [{ type: "text", text: result.error.message }],
@@ -56500,9 +56664,9 @@ var init_createannotationtaskendpointannotationtaskspostop = __esm(() => {
56500
56664
 
56501
56665
  // src/funcs/annotationTasksCreate.ts
56502
56666
  function annotationTasksCreate(client$, request, options) {
56503
- return new APIPromise($do18(client$, request, options));
56667
+ return new APIPromise($do19(client$, request, options));
56504
56668
  }
56505
- async function $do18(client$, request, options) {
56669
+ async function $do19(client$, request, options) {
56506
56670
  const parsed$ = safeParse4(request, (value$) => CreateAnnotationTaskEndpointAnnotationTasksPostRequest$zodSchema.parse(value$), "Input validation failed");
56507
56671
  if (!parsed$.ok) {
56508
56672
  return [parsed$, { status: "invalid" }];
@@ -56576,12 +56740,12 @@ var init_annotationTasksCreate = __esm(() => {
56576
56740
  });
56577
56741
 
56578
56742
  // src/mcp-server/tools/annotationTasksCreate.ts
56579
- var args18, tool$annotationTasksCreate;
56743
+ var args19, tool$annotationTasksCreate;
56580
56744
  var init_annotationTasksCreate2 = __esm(() => {
56581
56745
  init_annotationTasksCreate();
56582
56746
  init_createannotationtaskendpointannotationtaskspostop();
56583
56747
  init_tools();
56584
- args18 = {
56748
+ args19 = {
56585
56749
  request: CreateAnnotationTaskEndpointAnnotationTasksPostRequest$zodSchema
56586
56750
  };
56587
56751
  tool$annotationTasksCreate = {
@@ -56596,9 +56760,9 @@ var init_annotationTasksCreate2 = __esm(() => {
56596
56760
  openWorldHint: true,
56597
56761
  readOnlyHint: false
56598
56762
  },
56599
- args: args18,
56600
- tool: async (client, args19, ctx) => {
56601
- 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();
56602
56766
  if (!result.ok) {
56603
56767
  return {
56604
56768
  content: [{ type: "text", text: result.error.message }],
@@ -56669,9 +56833,9 @@ var init_startevaluatorrunannotationtaskstaskuuidevaluatorrunspostop = __esm(()
56669
56833
 
56670
56834
  // src/funcs/annotationTasksCreateEvaluatorRun.ts
56671
56835
  function annotationTasksCreateEvaluatorRun(client$, request, options) {
56672
- return new APIPromise($do19(client$, request, options));
56836
+ return new APIPromise($do20(client$, request, options));
56673
56837
  }
56674
- async function $do19(client$, request, options) {
56838
+ async function $do20(client$, request, options) {
56675
56839
  const parsed$ = safeParse4(request, (value$) => StartEvaluatorRunAnnotationTasksTaskUuidEvaluatorRunsPostRequest$zodSchema.parse(value$), "Input validation failed");
56676
56840
  if (!parsed$.ok) {
56677
56841
  return [parsed$, { status: "invalid" }];
@@ -56751,12 +56915,12 @@ var init_annotationTasksCreateEvaluatorRun = __esm(() => {
56751
56915
  });
56752
56916
 
56753
56917
  // src/mcp-server/tools/annotationTasksCreateEvaluatorRun.ts
56754
- var args19, tool$annotationTasksCreateEvaluatorRun;
56918
+ var args20, tool$annotationTasksCreateEvaluatorRun;
56755
56919
  var init_annotationTasksCreateEvaluatorRun2 = __esm(() => {
56756
56920
  init_annotationTasksCreateEvaluatorRun();
56757
56921
  init_startevaluatorrunannotationtaskstaskuuidevaluatorrunspostop();
56758
56922
  init_tools();
56759
- args19 = {
56923
+ args20 = {
56760
56924
  request: StartEvaluatorRunAnnotationTasksTaskUuidEvaluatorRunsPostRequest$zodSchema
56761
56925
  };
56762
56926
  tool$annotationTasksCreateEvaluatorRun = {
@@ -56771,9 +56935,9 @@ var init_annotationTasksCreateEvaluatorRun2 = __esm(() => {
56771
56935
  openWorldHint: true,
56772
56936
  readOnlyHint: false
56773
56937
  },
56774
- args: args19,
56775
- tool: async (client, args20, ctx) => {
56776
- 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();
56777
56941
  if (!result.ok) {
56778
56942
  return {
56779
56943
  content: [{ type: "text", text: result.error.message }],
@@ -56852,9 +57016,9 @@ var init_createjobsannotationtaskstaskuuidjobspostop = __esm(() => {
56852
57016
 
56853
57017
  // src/funcs/annotationTasksCreateLabellingJobs.ts
56854
57018
  function annotationTasksCreateLabellingJobs(client$, request, options) {
56855
- return new APIPromise($do20(client$, request, options));
57019
+ return new APIPromise($do21(client$, request, options));
56856
57020
  }
56857
- async function $do20(client$, request, options) {
57021
+ async function $do21(client$, request, options) {
56858
57022
  const parsed$ = safeParse4(request, (value$) => CreateJobsAnnotationTasksTaskUuidJobsPostRequest$zodSchema.parse(value$), "Input validation failed");
56859
57023
  if (!parsed$.ok) {
56860
57024
  return [parsed$, { status: "invalid" }];
@@ -56934,12 +57098,12 @@ var init_annotationTasksCreateLabellingJobs = __esm(() => {
56934
57098
  });
56935
57099
 
56936
57100
  // src/mcp-server/tools/annotationTasksCreateLabellingJobs.ts
56937
- var args20, tool$annotationTasksCreateLabellingJobs;
57101
+ var args21, tool$annotationTasksCreateLabellingJobs;
56938
57102
  var init_annotationTasksCreateLabellingJobs2 = __esm(() => {
56939
57103
  init_annotationTasksCreateLabellingJobs();
56940
57104
  init_createjobsannotationtaskstaskuuidjobspostop();
56941
57105
  init_tools();
56942
- args20 = {
57106
+ args21 = {
56943
57107
  request: CreateJobsAnnotationTasksTaskUuidJobsPostRequest$zodSchema
56944
57108
  };
56945
57109
  tool$annotationTasksCreateLabellingJobs = {
@@ -56954,9 +57118,9 @@ var init_annotationTasksCreateLabellingJobs2 = __esm(() => {
56954
57118
  openWorldHint: true,
56955
57119
  readOnlyHint: false
56956
57120
  },
56957
- args: args20,
56958
- tool: async (client, args21, ctx) => {
56959
- 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();
56960
57124
  if (!result.ok) {
56961
57125
  return {
56962
57126
  content: [{ type: "text", text: result.error.message }],
@@ -57012,9 +57176,9 @@ var init_getannotationtaskendpointannotationtaskstaskuuidgetop = __esm(() => {
57012
57176
 
57013
57177
  // src/funcs/annotationTasksGet.ts
57014
57178
  function annotationTasksGet(client$, request, options) {
57015
- return new APIPromise($do21(client$, request, options));
57179
+ return new APIPromise($do22(client$, request, options));
57016
57180
  }
57017
- async function $do21(client$, request, options) {
57181
+ async function $do22(client$, request, options) {
57018
57182
  const parsed$ = safeParse4(request, (value$) => GetAnnotationTaskEndpointAnnotationTasksTaskUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
57019
57183
  if (!parsed$.ok) {
57020
57184
  return [parsed$, { status: "invalid" }];
@@ -57093,12 +57257,12 @@ var init_annotationTasksGet = __esm(() => {
57093
57257
  });
57094
57258
 
57095
57259
  // src/mcp-server/tools/annotationTasksGet.ts
57096
- var args21, tool$annotationTasksGet;
57260
+ var args22, tool$annotationTasksGet;
57097
57261
  var init_annotationTasksGet2 = __esm(() => {
57098
57262
  init_annotationTasksGet();
57099
57263
  init_getannotationtaskendpointannotationtaskstaskuuidgetop();
57100
57264
  init_tools();
57101
- args21 = {
57265
+ args22 = {
57102
57266
  request: GetAnnotationTaskEndpointAnnotationTasksTaskUuidGetRequest$zodSchema
57103
57267
  };
57104
57268
  tool$annotationTasksGet = {
@@ -57113,9 +57277,9 @@ var init_annotationTasksGet2 = __esm(() => {
57113
57277
  openWorldHint: true,
57114
57278
  readOnlyHint: true
57115
57279
  },
57116
- args: args21,
57117
- tool: async (client, args22, ctx) => {
57118
- 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();
57119
57283
  if (!result.ok) {
57120
57284
  return {
57121
57285
  content: [{ type: "text", text: result.error.message }],
@@ -57205,9 +57369,9 @@ var init_taskagreementannotationtaskstaskuuidagreementgetop = __esm(() => {
57205
57369
 
57206
57370
  // src/funcs/annotationTasksGetAgreement.ts
57207
57371
  function annotationTasksGetAgreement(client$, request, options) {
57208
- return new APIPromise($do22(client$, request, options));
57372
+ return new APIPromise($do23(client$, request, options));
57209
57373
  }
57210
- async function $do22(client$, request, options) {
57374
+ async function $do23(client$, request, options) {
57211
57375
  const parsed$ = safeParse4(request, (value$) => TaskAgreementAnnotationTasksTaskUuidAgreementGetRequest$zodSchema.parse(value$), "Input validation failed");
57212
57376
  if (!parsed$.ok) {
57213
57377
  return [parsed$, { status: "invalid" }];
@@ -57291,12 +57455,12 @@ var init_annotationTasksGetAgreement = __esm(() => {
57291
57455
  });
57292
57456
 
57293
57457
  // src/mcp-server/tools/annotationTasksGetAgreement.ts
57294
- var args22, tool$annotationTasksGetAgreement;
57458
+ var args23, tool$annotationTasksGetAgreement;
57295
57459
  var init_annotationTasksGetAgreement2 = __esm(() => {
57296
57460
  init_annotationTasksGetAgreement();
57297
57461
  init_taskagreementannotationtaskstaskuuidagreementgetop();
57298
57462
  init_tools();
57299
- args22 = {
57463
+ args23 = {
57300
57464
  request: TaskAgreementAnnotationTasksTaskUuidAgreementGetRequest$zodSchema
57301
57465
  };
57302
57466
  tool$annotationTasksGetAgreement = {
@@ -57311,9 +57475,9 @@ var init_annotationTasksGetAgreement2 = __esm(() => {
57311
57475
  openWorldHint: true,
57312
57476
  readOnlyHint: true
57313
57477
  },
57314
- args: args22,
57315
- tool: async (client, args23, ctx) => {
57316
- 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();
57317
57481
  if (!result.ok) {
57318
57482
  return {
57319
57483
  content: [{ type: "text", text: result.error.message }],
@@ -57390,9 +57554,9 @@ var init_getevaluatorrunjobannotationtaskstaskuuidevaluatorrunsjobuuidgetop = __
57390
57554
 
57391
57555
  // src/funcs/annotationTasksGetEvaluatorRun.ts
57392
57556
  function annotationTasksGetEvaluatorRun(client$, request, options) {
57393
- return new APIPromise($do23(client$, request, options));
57557
+ return new APIPromise($do24(client$, request, options));
57394
57558
  }
57395
- async function $do23(client$, request, options) {
57559
+ async function $do24(client$, request, options) {
57396
57560
  const parsed$ = safeParse4(request, (value$) => GetEvaluatorRunJobAnnotationTasksTaskUuidEvaluatorRunsJobUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
57397
57561
  if (!parsed$.ok) {
57398
57562
  return [parsed$, { status: "invalid" }];
@@ -57475,12 +57639,12 @@ var init_annotationTasksGetEvaluatorRun = __esm(() => {
57475
57639
  });
57476
57640
 
57477
57641
  // src/mcp-server/tools/annotationTasksGetEvaluatorRun.ts
57478
- var args23, tool$annotationTasksGetEvaluatorRun;
57642
+ var args24, tool$annotationTasksGetEvaluatorRun;
57479
57643
  var init_annotationTasksGetEvaluatorRun2 = __esm(() => {
57480
57644
  init_annotationTasksGetEvaluatorRun();
57481
57645
  init_getevaluatorrunjobannotationtaskstaskuuidevaluatorrunsjobuuidgetop();
57482
57646
  init_tools();
57483
- args23 = {
57647
+ args24 = {
57484
57648
  request: GetEvaluatorRunJobAnnotationTasksTaskUuidEvaluatorRunsJobUuidGetRequest$zodSchema
57485
57649
  };
57486
57650
  tool$annotationTasksGetEvaluatorRun = {
@@ -57495,9 +57659,9 @@ var init_annotationTasksGetEvaluatorRun2 = __esm(() => {
57495
57659
  openWorldHint: true,
57496
57660
  readOnlyHint: true
57497
57661
  },
57498
- args: args23,
57499
- tool: async (client, args24, ctx) => {
57500
- 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();
57501
57665
  if (!result.ok) {
57502
57666
  return {
57503
57667
  content: [{ type: "text", text: result.error.message }],
@@ -57591,9 +57755,9 @@ var init_tasksummaryannotationtaskstaskuuidsummarygetop = __esm(() => {
57591
57755
 
57592
57756
  // src/funcs/annotationTasksGetSummary.ts
57593
57757
  function annotationTasksGetSummary(client$, request, options) {
57594
- return new APIPromise($do24(client$, request, options));
57758
+ return new APIPromise($do25(client$, request, options));
57595
57759
  }
57596
- async function $do24(client$, request, options) {
57760
+ async function $do25(client$, request, options) {
57597
57761
  const parsed$ = safeParse4(request, (value$) => TaskSummaryAnnotationTasksTaskUuidSummaryGetRequest$zodSchema.parse(value$), "Input validation failed");
57598
57762
  if (!parsed$.ok) {
57599
57763
  return [parsed$, { status: "invalid" }];
@@ -57684,12 +57848,12 @@ var init_annotationTasksGetSummary = __esm(() => {
57684
57848
  });
57685
57849
 
57686
57850
  // src/mcp-server/tools/annotationTasksGetSummary.ts
57687
- var args24, tool$annotationTasksGetSummary;
57851
+ var args25, tool$annotationTasksGetSummary;
57688
57852
  var init_annotationTasksGetSummary2 = __esm(() => {
57689
57853
  init_annotationTasksGetSummary();
57690
57854
  init_tasksummaryannotationtaskstaskuuidsummarygetop();
57691
57855
  init_tools();
57692
- args24 = {
57856
+ args25 = {
57693
57857
  request: TaskSummaryAnnotationTasksTaskUuidSummaryGetRequest$zodSchema
57694
57858
  };
57695
57859
  tool$annotationTasksGetSummary = {
@@ -57704,9 +57868,9 @@ var init_annotationTasksGetSummary2 = __esm(() => {
57704
57868
  openWorldHint: true,
57705
57869
  readOnlyHint: true
57706
57870
  },
57707
- args: args24,
57708
- tool: async (client, args25, ctx) => {
57709
- 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();
57710
57874
  if (!result.ok) {
57711
57875
  return {
57712
57876
  content: [{ type: "text", text: result.error.message }],
@@ -57751,9 +57915,9 @@ var init_listannotationtasksannotationtasksgetop = __esm(() => {
57751
57915
 
57752
57916
  // src/funcs/annotationTasksList.ts
57753
57917
  function annotationTasksList(client$, request, options) {
57754
- return new APIPromise($do25(client$, request, options));
57918
+ return new APIPromise($do26(client$, request, options));
57755
57919
  }
57756
- async function $do25(client$, request, options) {
57920
+ async function $do26(client$, request, options) {
57757
57921
  const parsed$ = safeParse4(request, (value$) => ListAnnotationTasksAnnotationTasksGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
57758
57922
  if (!parsed$.ok) {
57759
57923
  return [parsed$, { status: "invalid" }];
@@ -57832,12 +57996,12 @@ var init_annotationTasksList = __esm(() => {
57832
57996
  });
57833
57997
 
57834
57998
  // src/mcp-server/tools/annotationTasksList.ts
57835
- var args25, tool$annotationTasksList;
57999
+ var args26, tool$annotationTasksList;
57836
58000
  var init_annotationTasksList2 = __esm(() => {
57837
58001
  init_annotationTasksList();
57838
58002
  init_listannotationtasksannotationtasksgetop();
57839
58003
  init_tools();
57840
- args25 = {
58004
+ args26 = {
57841
58005
  request: ListAnnotationTasksAnnotationTasksGetRequest$zodSchema.optional()
57842
58006
  };
57843
58007
  tool$annotationTasksList = {
@@ -57852,9 +58016,9 @@ var init_annotationTasksList2 = __esm(() => {
57852
58016
  openWorldHint: true,
57853
58017
  readOnlyHint: true
57854
58018
  },
57855
- args: args25,
57856
- tool: async (client, args26, ctx) => {
57857
- 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();
57858
58022
  if (!result.ok) {
57859
58023
  return {
57860
58024
  content: [{ type: "text", text: result.error.message }],
@@ -57908,9 +58072,9 @@ var init_settaskevaluatorsannotationtaskstaskuuidevaluatorsputop = __esm(() => {
57908
58072
 
57909
58073
  // src/funcs/annotationTasksSetEvaluators.ts
57910
58074
  function annotationTasksSetEvaluators(client$, request, options) {
57911
- return new APIPromise($do26(client$, request, options));
58075
+ return new APIPromise($do27(client$, request, options));
57912
58076
  }
57913
- async function $do26(client$, request, options) {
58077
+ async function $do27(client$, request, options) {
57914
58078
  const parsed$ = safeParse4(request, (value$) => SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest$zodSchema.parse(value$), "Input validation failed");
57915
58079
  if (!parsed$.ok) {
57916
58080
  return [parsed$, { status: "invalid" }];
@@ -57990,12 +58154,12 @@ var init_annotationTasksSetEvaluators = __esm(() => {
57990
58154
  });
57991
58155
 
57992
58156
  // src/mcp-server/tools/annotationTasksSetEvaluators.ts
57993
- var args26, tool$annotationTasksSetEvaluators;
58157
+ var args27, tool$annotationTasksSetEvaluators;
57994
58158
  var init_annotationTasksSetEvaluators2 = __esm(() => {
57995
58159
  init_annotationTasksSetEvaluators();
57996
58160
  init_settaskevaluatorsannotationtaskstaskuuidevaluatorsputop();
57997
58161
  init_tools();
57998
- args26 = {
58162
+ args27 = {
57999
58163
  request: SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest$zodSchema
58000
58164
  };
58001
58165
  tool$annotationTasksSetEvaluators = {
@@ -58014,9 +58178,9 @@ must be in your workspace.
58014
58178
  openWorldHint: true,
58015
58179
  readOnlyHint: false
58016
58180
  },
58017
- args: args26,
58018
- tool: async (client, args27, ctx) => {
58019
- 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();
58020
58184
  if (!result.ok) {
58021
58185
  return {
58022
58186
  content: [{ type: "text", text: result.error.message }],
@@ -58077,9 +58241,9 @@ var init_bulkupdateitemsannotationtaskstaskuuiditemsputop = __esm(() => {
58077
58241
 
58078
58242
  // src/funcs/annotationTasksUpdateItems.ts
58079
58243
  function annotationTasksUpdateItems(client$, request, options) {
58080
- return new APIPromise($do27(client$, request, options));
58244
+ return new APIPromise($do28(client$, request, options));
58081
58245
  }
58082
- async function $do27(client$, request, options) {
58246
+ async function $do28(client$, request, options) {
58083
58247
  const parsed$ = safeParse4(request, (value$) => BulkUpdateItemsAnnotationTasksTaskUuidItemsPutRequest$zodSchema.parse(value$), "Input validation failed");
58084
58248
  if (!parsed$.ok) {
58085
58249
  return [parsed$, { status: "invalid" }];
@@ -58159,12 +58323,12 @@ var init_annotationTasksUpdateItems = __esm(() => {
58159
58323
  });
58160
58324
 
58161
58325
  // src/mcp-server/tools/annotationTasksUpdateItems.ts
58162
- var args27, tool$annotationTasksUpdateItems;
58326
+ var args28, tool$annotationTasksUpdateItems;
58163
58327
  var init_annotationTasksUpdateItems2 = __esm(() => {
58164
58328
  init_annotationTasksUpdateItems();
58165
58329
  init_bulkupdateitemsannotationtaskstaskuuiditemsputop();
58166
58330
  init_tools();
58167
- args27 = {
58331
+ args28 = {
58168
58332
  request: BulkUpdateItemsAnnotationTasksTaskUuidItemsPutRequest$zodSchema
58169
58333
  };
58170
58334
  tool$annotationTasksUpdateItems = {
@@ -58179,9 +58343,9 @@ var init_annotationTasksUpdateItems2 = __esm(() => {
58179
58343
  openWorldHint: true,
58180
58344
  readOnlyHint: false
58181
58345
  },
58182
- args: args27,
58183
- tool: async (client, args28, ctx) => {
58184
- 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();
58185
58349
  if (!result.ok) {
58186
58350
  return {
58187
58351
  content: [{ type: "text", text: result.error.message }],
@@ -58231,9 +58395,9 @@ var init_createannotatorendpointannotatorspostop = __esm(() => {
58231
58395
 
58232
58396
  // src/funcs/annotatorsCreate.ts
58233
58397
  function annotatorsCreate(client$, request, options) {
58234
- return new APIPromise($do28(client$, request, options));
58398
+ return new APIPromise($do29(client$, request, options));
58235
58399
  }
58236
- async function $do28(client$, request, options) {
58400
+ async function $do29(client$, request, options) {
58237
58401
  const parsed$ = safeParse4(request, (value$) => CreateAnnotatorEndpointAnnotatorsPostRequest$zodSchema.parse(value$), "Input validation failed");
58238
58402
  if (!parsed$.ok) {
58239
58403
  return [parsed$, { status: "invalid" }];
@@ -58307,12 +58471,12 @@ var init_annotatorsCreate = __esm(() => {
58307
58471
  });
58308
58472
 
58309
58473
  // src/mcp-server/tools/annotatorsCreate.ts
58310
- var args28, tool$annotatorsCreate;
58474
+ var args29, tool$annotatorsCreate;
58311
58475
  var init_annotatorsCreate2 = __esm(() => {
58312
58476
  init_annotatorsCreate();
58313
58477
  init_createannotatorendpointannotatorspostop();
58314
58478
  init_tools();
58315
- args28 = {
58479
+ args29 = {
58316
58480
  request: CreateAnnotatorEndpointAnnotatorsPostRequest$zodSchema
58317
58481
  };
58318
58482
  tool$annotatorsCreate = {
@@ -58327,9 +58491,9 @@ var init_annotatorsCreate2 = __esm(() => {
58327
58491
  openWorldHint: true,
58328
58492
  readOnlyHint: false
58329
58493
  },
58330
- args: args28,
58331
- tool: async (client, args29, ctx) => {
58332
- 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();
58333
58497
  if (!result.ok) {
58334
58498
  return {
58335
58499
  content: [{ type: "text", text: result.error.message }],
@@ -58373,9 +58537,9 @@ var init_listannotatorsannotatorsgetop = __esm(() => {
58373
58537
 
58374
58538
  // src/funcs/annotatorsList.ts
58375
58539
  function annotatorsList(client$, request, options) {
58376
- return new APIPromise($do29(client$, request, options));
58540
+ return new APIPromise($do30(client$, request, options));
58377
58541
  }
58378
- async function $do29(client$, request, options) {
58542
+ async function $do30(client$, request, options) {
58379
58543
  const parsed$ = safeParse4(request, (value$) => ListAnnotatorsAnnotatorsGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
58380
58544
  if (!parsed$.ok) {
58381
58545
  return [parsed$, { status: "invalid" }];
@@ -58448,12 +58612,12 @@ var init_annotatorsList = __esm(() => {
58448
58612
  });
58449
58613
 
58450
58614
  // src/mcp-server/tools/annotatorsList.ts
58451
- var args29, tool$annotatorsList;
58615
+ var args30, tool$annotatorsList;
58452
58616
  var init_annotatorsList2 = __esm(() => {
58453
58617
  init_annotatorsList();
58454
58618
  init_listannotatorsannotatorsgetop();
58455
58619
  init_tools();
58456
- args29 = {
58620
+ args30 = {
58457
58621
  request: ListAnnotatorsAnnotatorsGetRequest$zodSchema.optional()
58458
58622
  };
58459
58623
  tool$annotatorsList = {
@@ -58468,9 +58632,9 @@ var init_annotatorsList2 = __esm(() => {
58468
58632
  openWorldHint: true,
58469
58633
  readOnlyHint: true
58470
58634
  },
58471
- args: args29,
58472
- tool: async (client, args30, ctx) => {
58473
- 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();
58474
58638
  if (!result.ok) {
58475
58639
  return {
58476
58640
  content: [{ type: "text", text: result.error.message }],
@@ -58511,9 +58675,9 @@ var init_updateannotatorendpointannotatorsannotatoruuidputop = __esm(() => {
58511
58675
 
58512
58676
  // src/funcs/annotatorsUpdate.ts
58513
58677
  function annotatorsUpdate(client$, request, options) {
58514
- return new APIPromise($do30(client$, request, options));
58678
+ return new APIPromise($do31(client$, request, options));
58515
58679
  }
58516
- async function $do30(client$, request, options) {
58680
+ async function $do31(client$, request, options) {
58517
58681
  const parsed$ = safeParse4(request, (value$) => UpdateAnnotatorEndpointAnnotatorsAnnotatorUuidPutRequest$zodSchema.parse(value$), "Input validation failed");
58518
58682
  if (!parsed$.ok) {
58519
58683
  return [parsed$, { status: "invalid" }];
@@ -58593,12 +58757,12 @@ var init_annotatorsUpdate = __esm(() => {
58593
58757
  });
58594
58758
 
58595
58759
  // src/mcp-server/tools/annotatorsUpdate.ts
58596
- var args30, tool$annotatorsUpdate;
58760
+ var args31, tool$annotatorsUpdate;
58597
58761
  var init_annotatorsUpdate2 = __esm(() => {
58598
58762
  init_annotatorsUpdate();
58599
58763
  init_updateannotatorendpointannotatorsannotatoruuidputop();
58600
58764
  init_tools();
58601
- args30 = {
58765
+ args31 = {
58602
58766
  request: UpdateAnnotatorEndpointAnnotatorsAnnotatorUuidPutRequest$zodSchema
58603
58767
  };
58604
58768
  tool$annotatorsUpdate = {
@@ -58613,9 +58777,9 @@ var init_annotatorsUpdate2 = __esm(() => {
58613
58777
  openWorldHint: true,
58614
58778
  readOnlyHint: false
58615
58779
  },
58616
- args: args30,
58617
- tool: async (client, args31, ctx) => {
58618
- 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();
58619
58783
  if (!result.ok) {
58620
58784
  return {
58621
58785
  content: [{ type: "text", text: result.error.message }],
@@ -58723,9 +58887,9 @@ var init_createevaluatorendpointevaluatorspostop = __esm(() => {
58723
58887
 
58724
58888
  // src/funcs/evaluatorsCreate.ts
58725
58889
  function evaluatorsCreate(client$, request, options) {
58726
- return new APIPromise($do31(client$, request, options));
58890
+ return new APIPromise($do32(client$, request, options));
58727
58891
  }
58728
- async function $do31(client$, request, options) {
58892
+ async function $do32(client$, request, options) {
58729
58893
  const parsed$ = safeParse4(request, (value$) => CreateEvaluatorEndpointEvaluatorsPostRequest$zodSchema.parse(value$), "Input validation failed");
58730
58894
  if (!parsed$.ok) {
58731
58895
  return [parsed$, { status: "invalid" }];
@@ -58799,12 +58963,12 @@ var init_evaluatorsCreate = __esm(() => {
58799
58963
  });
58800
58964
 
58801
58965
  // src/mcp-server/tools/evaluatorsCreate.ts
58802
- var args31, tool$evaluatorsCreate;
58966
+ var args32, tool$evaluatorsCreate;
58803
58967
  var init_evaluatorsCreate2 = __esm(() => {
58804
58968
  init_evaluatorsCreate();
58805
58969
  init_createevaluatorendpointevaluatorspostop();
58806
58970
  init_tools();
58807
- args31 = {
58971
+ args32 = {
58808
58972
  request: CreateEvaluatorEndpointEvaluatorsPostRequest$zodSchema
58809
58973
  };
58810
58974
  tool$evaluatorsCreate = {
@@ -58819,9 +58983,9 @@ var init_evaluatorsCreate2 = __esm(() => {
58819
58983
  openWorldHint: true,
58820
58984
  readOnlyHint: false
58821
58985
  },
58822
- args: args31,
58823
- tool: async (client, args32, ctx) => {
58824
- 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();
58825
58989
  if (!result.ok) {
58826
58990
  return {
58827
58991
  content: [{ type: "text", text: result.error.message }],
@@ -58878,9 +59042,9 @@ var init_createversionevaluatorsevaluatoruuidversionspostop = __esm(() => {
58878
59042
 
58879
59043
  // src/funcs/evaluatorsCreateVersion.ts
58880
59044
  function evaluatorsCreateVersion(client$, request, options) {
58881
- return new APIPromise($do32(client$, request, options));
59045
+ return new APIPromise($do33(client$, request, options));
58882
59046
  }
58883
- async function $do32(client$, request, options) {
59047
+ async function $do33(client$, request, options) {
58884
59048
  const parsed$ = safeParse4(request, (value$) => CreateVersionEvaluatorsEvaluatorUuidVersionsPostRequest$zodSchema.parse(value$), "Input validation failed");
58885
59049
  if (!parsed$.ok) {
58886
59050
  return [parsed$, { status: "invalid" }];
@@ -58960,12 +59124,12 @@ var init_evaluatorsCreateVersion = __esm(() => {
58960
59124
  });
58961
59125
 
58962
59126
  // src/mcp-server/tools/evaluatorsCreateVersion.ts
58963
- var args32, tool$evaluatorsCreateVersion;
59127
+ var args33, tool$evaluatorsCreateVersion;
58964
59128
  var init_evaluatorsCreateVersion2 = __esm(() => {
58965
59129
  init_evaluatorsCreateVersion();
58966
59130
  init_createversionevaluatorsevaluatoruuidversionspostop();
58967
59131
  init_tools();
58968
- args32 = {
59132
+ args33 = {
58969
59133
  request: CreateVersionEvaluatorsEvaluatorUuidVersionsPostRequest$zodSchema
58970
59134
  };
58971
59135
  tool$evaluatorsCreateVersion = {
@@ -58980,9 +59144,9 @@ var init_evaluatorsCreateVersion2 = __esm(() => {
58980
59144
  openWorldHint: true,
58981
59145
  readOnlyHint: false
58982
59146
  },
58983
- args: args32,
58984
- tool: async (client, args33, ctx) => {
58985
- 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();
58986
59150
  if (!result.ok) {
58987
59151
  return {
58988
59152
  content: [{ type: "text", text: result.error.message }],
@@ -59069,9 +59233,9 @@ var init_getevaluatorendpointevaluatorsevaluatoruuidgetop = __esm(() => {
59069
59233
 
59070
59234
  // src/funcs/evaluatorsGet.ts
59071
59235
  function evaluatorsGet(client$, request, options) {
59072
- return new APIPromise($do33(client$, request, options));
59236
+ return new APIPromise($do34(client$, request, options));
59073
59237
  }
59074
- async function $do33(client$, request, options) {
59238
+ async function $do34(client$, request, options) {
59075
59239
  const parsed$ = safeParse4(request, (value$) => GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
59076
59240
  if (!parsed$.ok) {
59077
59241
  return [parsed$, { status: "invalid" }];
@@ -59154,12 +59318,12 @@ var init_evaluatorsGet = __esm(() => {
59154
59318
  });
59155
59319
 
59156
59320
  // src/mcp-server/tools/evaluatorsGet.ts
59157
- var args33, tool$evaluatorsGet;
59321
+ var args34, tool$evaluatorsGet;
59158
59322
  var init_evaluatorsGet2 = __esm(() => {
59159
59323
  init_evaluatorsGet();
59160
59324
  init_getevaluatorendpointevaluatorsevaluatoruuidgetop();
59161
59325
  init_tools();
59162
- args33 = {
59326
+ args34 = {
59163
59327
  request: GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetRequest$zodSchema
59164
59328
  };
59165
59329
  tool$evaluatorsGet = {
@@ -59174,9 +59338,9 @@ var init_evaluatorsGet2 = __esm(() => {
59174
59338
  openWorldHint: true,
59175
59339
  readOnlyHint: true
59176
59340
  },
59177
- args: args33,
59178
- tool: async (client, args34, ctx) => {
59179
- 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();
59180
59344
  if (!result.ok) {
59181
59345
  return {
59182
59346
  content: [{ type: "text", text: result.error.message }],
@@ -59223,9 +59387,9 @@ var init_listevaluatorsevaluatorsgetop = __esm(() => {
59223
59387
 
59224
59388
  // src/funcs/evaluatorsList.ts
59225
59389
  function evaluatorsList(client$, request, options) {
59226
- return new APIPromise($do34(client$, request, options));
59390
+ return new APIPromise($do35(client$, request, options));
59227
59391
  }
59228
- async function $do34(client$, request, options) {
59392
+ async function $do35(client$, request, options) {
59229
59393
  const parsed$ = safeParse4(request, (value$) => ListEvaluatorsEvaluatorsGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
59230
59394
  if (!parsed$.ok) {
59231
59395
  return [parsed$, { status: "invalid" }];
@@ -59307,12 +59471,12 @@ var init_evaluatorsList = __esm(() => {
59307
59471
  });
59308
59472
 
59309
59473
  // src/mcp-server/tools/evaluatorsList.ts
59310
- var args34, tool$evaluatorsList;
59474
+ var args35, tool$evaluatorsList;
59311
59475
  var init_evaluatorsList2 = __esm(() => {
59312
59476
  init_evaluatorsList();
59313
59477
  init_listevaluatorsevaluatorsgetop();
59314
59478
  init_tools();
59315
- args34 = {
59479
+ args35 = {
59316
59480
  request: ListEvaluatorsEvaluatorsGetRequest$zodSchema.optional()
59317
59481
  };
59318
59482
  tool$evaluatorsList = {
@@ -59327,9 +59491,9 @@ var init_evaluatorsList2 = __esm(() => {
59327
59491
  openWorldHint: true,
59328
59492
  readOnlyHint: true
59329
59493
  },
59330
- args: args34,
59331
- tool: async (client, args35, ctx) => {
59332
- 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();
59333
59497
  if (!result.ok) {
59334
59498
  return {
59335
59499
  content: [{ type: "text", text: result.error.message }],
@@ -59447,9 +59611,9 @@ var init_bulkuploadteststestsbulkpostop = __esm(() => {
59447
59611
 
59448
59612
  // src/funcs/testsBulkCreate.ts
59449
59613
  function testsBulkCreate(client$, request, options) {
59450
- return new APIPromise($do35(client$, request, options));
59614
+ return new APIPromise($do36(client$, request, options));
59451
59615
  }
59452
- async function $do35(client$, request, options) {
59616
+ async function $do36(client$, request, options) {
59453
59617
  const parsed$ = safeParse4(request, (value$) => BulkUploadTestsTestsBulkPostRequest$zodSchema.parse(value$), "Input validation failed");
59454
59618
  if (!parsed$.ok) {
59455
59619
  return [parsed$, { status: "invalid" }];
@@ -59523,12 +59687,12 @@ var init_testsBulkCreate = __esm(() => {
59523
59687
  });
59524
59688
 
59525
59689
  // src/mcp-server/tools/testsBulkCreate.ts
59526
- var args35, tool$testsBulkCreate;
59690
+ var args36, tool$testsBulkCreate;
59527
59691
  var init_testsBulkCreate2 = __esm(() => {
59528
59692
  init_testsBulkCreate();
59529
59693
  init_bulkuploadteststestsbulkpostop();
59530
59694
  init_tools();
59531
- args35 = {
59695
+ args36 = {
59532
59696
  request: BulkUploadTestsTestsBulkPostRequest$zodSchema
59533
59697
  };
59534
59698
  tool$testsBulkCreate = {
@@ -59545,9 +59709,9 @@ tests including their UUIDs.
59545
59709
  openWorldHint: true,
59546
59710
  readOnlyHint: false
59547
59711
  },
59548
- args: args35,
59549
- tool: async (client, args36, ctx) => {
59550
- 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();
59551
59715
  if (!result.ok) {
59552
59716
  return {
59553
59717
  content: [{ type: "text", text: result.error.message }],
@@ -59607,9 +59771,9 @@ var init_createtestendpointtestspostop = __esm(() => {
59607
59771
 
59608
59772
  // src/funcs/testsCreate.ts
59609
59773
  function testsCreate(client$, request, options) {
59610
- return new APIPromise($do36(client$, request, options));
59774
+ return new APIPromise($do37(client$, request, options));
59611
59775
  }
59612
- async function $do36(client$, request, options) {
59776
+ async function $do37(client$, request, options) {
59613
59777
  const parsed$ = safeParse4(request, (value$) => CreateTestEndpointTestsPostRequest$zodSchema.parse(value$), "Input validation failed");
59614
59778
  if (!parsed$.ok) {
59615
59779
  return [parsed$, { status: "invalid" }];
@@ -59683,12 +59847,12 @@ var init_testsCreate = __esm(() => {
59683
59847
  });
59684
59848
 
59685
59849
  // src/mcp-server/tools/testsCreate.ts
59686
- var args36, tool$testsCreate;
59850
+ var args37, tool$testsCreate;
59687
59851
  var init_testsCreate2 = __esm(() => {
59688
59852
  init_testsCreate();
59689
59853
  init_createtestendpointtestspostop();
59690
59854
  init_tools();
59691
- args36 = {
59855
+ args37 = {
59692
59856
  request: CreateTestEndpointTestsPostRequest$zodSchema
59693
59857
  };
59694
59858
  tool$testsCreate = {
@@ -59705,9 +59869,9 @@ Requires a Calibrate API key (CALIBRATE_API_KEY).
59705
59869
  openWorldHint: true,
59706
59870
  readOnlyHint: false
59707
59871
  },
59708
- args: args36,
59709
- tool: async (client, args37, ctx) => {
59710
- 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();
59711
59875
  if (!result.ok) {
59712
59876
  return {
59713
59877
  content: [{ type: "text", text: result.error.message }],
@@ -59758,9 +59922,9 @@ var init_gettestendpointteststestuuidgetop = __esm(() => {
59758
59922
 
59759
59923
  // src/funcs/testsGet.ts
59760
59924
  function testsGet(client$, request, options) {
59761
- return new APIPromise($do37(client$, request, options));
59925
+ return new APIPromise($do38(client$, request, options));
59762
59926
  }
59763
- async function $do37(client$, request, options) {
59927
+ async function $do38(client$, request, options) {
59764
59928
  const parsed$ = safeParse4(request, (value$) => GetTestEndpointTestsTestUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
59765
59929
  if (!parsed$.ok) {
59766
59930
  return [parsed$, { status: "invalid" }];
@@ -59839,12 +60003,12 @@ var init_testsGet = __esm(() => {
59839
60003
  });
59840
60004
 
59841
60005
  // src/mcp-server/tools/testsGet.ts
59842
- var args37, tool$testsGet;
60006
+ var args38, tool$testsGet;
59843
60007
  var init_testsGet2 = __esm(() => {
59844
60008
  init_testsGet();
59845
60009
  init_gettestendpointteststestuuidgetop();
59846
60010
  init_tools();
59847
- args37 = {
60011
+ args38 = {
59848
60012
  request: GetTestEndpointTestsTestUuidGetRequest$zodSchema
59849
60013
  };
59850
60014
  tool$testsGet = {
@@ -59861,9 +60025,9 @@ exist or belongs to another org.
59861
60025
  openWorldHint: true,
59862
60026
  readOnlyHint: true
59863
60027
  },
59864
- args: args37,
59865
- tool: async (client, args38, ctx) => {
59866
- 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();
59867
60031
  if (!result.ok) {
59868
60032
  return {
59869
60033
  content: [{ type: "text", text: result.error.message }],
@@ -59895,9 +60059,9 @@ var init_listteststestsgetop = __esm(() => {
59895
60059
 
59896
60060
  // src/funcs/testsList.ts
59897
60061
  function testsList(client$, request, options) {
59898
- return new APIPromise($do38(client$, request, options));
60062
+ return new APIPromise($do39(client$, request, options));
59899
60063
  }
59900
- async function $do38(client$, request, options) {
60064
+ async function $do39(client$, request, options) {
59901
60065
  const parsed$ = safeParse4(request, (value$) => ListTestsTestsGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
59902
60066
  if (!parsed$.ok) {
59903
60067
  return [parsed$, { status: "invalid" }];
@@ -59976,12 +60140,12 @@ var init_testsList = __esm(() => {
59976
60140
  });
59977
60141
 
59978
60142
  // src/mcp-server/tools/testsList.ts
59979
- var args38, tool$testsList;
60143
+ var args39, tool$testsList;
59980
60144
  var init_testsList2 = __esm(() => {
59981
60145
  init_testsList();
59982
60146
  init_listteststestsgetop();
59983
60147
  init_tools();
59984
- args38 = {
60148
+ args39 = {
59985
60149
  request: ListTestsTestsGetRequest$zodSchema.optional()
59986
60150
  };
59987
60151
  tool$testsList = {
@@ -59998,9 +60162,9 @@ before creating runs.
59998
60162
  openWorldHint: true,
59999
60163
  readOnlyHint: true
60000
60164
  },
60001
- args: args38,
60002
- tool: async (client, args39, ctx) => {
60003
- 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();
60004
60168
  if (!result.ok) {
60005
60169
  return {
60006
60170
  content: [{ type: "text", text: result.error.message }],
@@ -60051,9 +60215,9 @@ var init_updatetestendpointteststestuuidputop = __esm(() => {
60051
60215
 
60052
60216
  // src/funcs/testsUpdate.ts
60053
60217
  function testsUpdate(client$, request, options) {
60054
- return new APIPromise($do39(client$, request, options));
60218
+ return new APIPromise($do40(client$, request, options));
60055
60219
  }
60056
- async function $do39(client$, request, options) {
60220
+ async function $do40(client$, request, options) {
60057
60221
  const parsed$ = safeParse4(request, (value$) => UpdateTestEndpointTestsTestUuidPutRequest$zodSchema.parse(value$), "Input validation failed");
60058
60222
  if (!parsed$.ok) {
60059
60223
  return [parsed$, { status: "invalid" }];
@@ -60133,12 +60297,12 @@ var init_testsUpdate = __esm(() => {
60133
60297
  });
60134
60298
 
60135
60299
  // src/mcp-server/tools/testsUpdate.ts
60136
- var args39, tool$testsUpdate;
60300
+ var args40, tool$testsUpdate;
60137
60301
  var init_testsUpdate2 = __esm(() => {
60138
60302
  init_testsUpdate();
60139
60303
  init_updatetestendpointteststestuuidputop();
60140
60304
  init_tools();
60141
- args39 = {
60305
+ args40 = {
60142
60306
  request: UpdateTestEndpointTestsTestUuidPutRequest$zodSchema
60143
60307
  };
60144
60308
  tool$testsUpdate = {
@@ -60155,9 +60319,9 @@ fields to change (name, config). Returns the updated test. Fails with
60155
60319
  openWorldHint: true,
60156
60320
  readOnlyHint: false
60157
60321
  },
60158
- args: args39,
60159
- tool: async (client, args40, ctx) => {
60160
- 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();
60161
60325
  if (!result.ok) {
60162
60326
  return {
60163
60327
  content: [{ type: "text", text: result.error.message }],
@@ -60278,9 +60442,9 @@ var init_ingesttracetracespostop = __esm(() => {
60278
60442
 
60279
60443
  // src/funcs/tracesCreate.ts
60280
60444
  function tracesCreate(client$, request, options) {
60281
- return new APIPromise($do40(client$, request, options));
60445
+ return new APIPromise($do41(client$, request, options));
60282
60446
  }
60283
- async function $do40(client$, request, options) {
60447
+ async function $do41(client$, request, options) {
60284
60448
  const parsed$ = safeParse4(request, (value$) => IngestTraceTracesPostRequest$zodSchema.parse(value$), "Input validation failed");
60285
60449
  if (!parsed$.ok) {
60286
60450
  return [parsed$, { status: "invalid" }];
@@ -60354,12 +60518,12 @@ var init_tracesCreate = __esm(() => {
60354
60518
  });
60355
60519
 
60356
60520
  // src/mcp-server/tools/tracesCreate.ts
60357
- var args40, tool$tracesCreate;
60521
+ var args41, tool$tracesCreate;
60358
60522
  var init_tracesCreate2 = __esm(() => {
60359
60523
  init_tracesCreate();
60360
60524
  init_ingesttracetracespostop();
60361
60525
  init_tools();
60362
- args40 = {
60526
+ args41 = {
60363
60527
  request: IngestTraceTracesPostRequest$zodSchema
60364
60528
  };
60365
60529
  tool$tracesCreate = {
@@ -60378,9 +60542,9 @@ hits its trace limit.
60378
60542
  openWorldHint: true,
60379
60543
  readOnlyHint: false
60380
60544
  },
60381
- args: args40,
60382
- tool: async (client, args41, ctx) => {
60383
- 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();
60384
60548
  if (!result.ok) {
60385
60549
  return {
60386
60550
  content: [{ type: "text", text: result.error.message }],
@@ -60396,16 +60560,16 @@ hits its trace limit.
60396
60560
  function createMCPServer(deps) {
60397
60561
  const server = new McpServer({
60398
60562
  name: "CalibrateMcp",
60399
- version: "0.0.44"
60563
+ version: "0.0.45"
60400
60564
  });
60401
60565
  const getClient = deps.getSDK || (() => new CalibrateMcpCore({
60402
60566
  security: deps.security,
60403
60567
  serverURL: deps.serverURL,
60404
60568
  serverIdx: deps.serverIdx,
60405
60569
  debugLogger: deps.logger.level === "debug" ? {
60406
- log: (...args41) => console.log(...args41),
60407
- group: (...args41) => console.group(...args41),
60408
- groupEnd: (...args41) => console.groupEnd(...args41)
60570
+ log: (...args42) => console.log(...args42),
60571
+ group: (...args42) => console.group(...args42),
60572
+ groupEnd: (...args42) => console.groupEnd(...args42)
60409
60573
  } : undefined
60410
60574
  }));
60411
60575
  const scopes = new Set(deps.scopes);
@@ -60431,6 +60595,7 @@ function createMCPServer(deps) {
60431
60595
  tool(tool$agentTestsLink);
60432
60596
  tool(tool$agentTestsListForAgent);
60433
60597
  tool(tool$agentTestsListRunsForAgent);
60598
+ tool(tool$agentTestsBulkUnlink);
60434
60599
  tool(tool$agentTestsRun);
60435
60600
  tool(tool$agentTestsRunBatch);
60436
60601
  tool(tool$agentTestsGetRun);
@@ -60474,6 +60639,7 @@ var init_server2 = __esm(() => {
60474
60639
  init_agentsUpdate2();
60475
60640
  init_agentsVerifyConnection2();
60476
60641
  init_agentTestsBenchmark2();
60642
+ init_agentTestsBulkUnlink2();
60477
60643
  init_agentTestsGetBenchmark2();
60478
60644
  init_agentTestsGetRun2();
60479
60645
  init_agentTestsLink2();
@@ -60614,6 +60780,16 @@ fields to change (name, config). Returns the updated test. Fails with
60614
60780
  {
60615
60781
  name: "list-agent-test-runs",
60616
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.
60617
60793
  `
60618
60794
  },
60619
60795
  {
@@ -61662,7 +61838,7 @@ http_headers = { "api-key-auth" = "YOUR_API_KEY_AUTH" }`;
61662
61838
  <h1>Instructions</h1>
61663
61839
  <p>One-click installation for Claude Desktop users</p>
61664
61840
  <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;">
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;">
61666
61842
  \uD83D\uDCE5 Download MCP Bundle
61667
61843
  </a>
61668
61844
  </div>
@@ -64549,7 +64725,7 @@ var routes = buildRouteMap({
64549
64725
  var app = buildApplication(routes, {
64550
64726
  name: "mcp",
64551
64727
  versionInfo: {
64552
- currentVersion: "0.0.44"
64728
+ currentVersion: "0.0.45"
64553
64729
  }
64554
64730
  });
64555
64731
  run(app, process4.argv.slice(2), buildContext(process4));
@@ -64557,5 +64733,5 @@ export {
64557
64733
  app
64558
64734
  };
64559
64735
 
64560
- //# debugId=D9742F01AE30E23564756E2164756E21
64736
+ //# debugId=44CE65AC6D247C2764756E2164756E21
64561
64737
  //# sourceMappingURL=mcp-server.js.map