@dalmia/calibrate-mcp 0.0.24 → 0.0.26

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 (114) hide show
  1. package/bin/mcp-server.js +170 -136
  2. package/bin/mcp-server.js.map +24 -24
  3. package/esm/funcs/agentTestsGetBenchmark.js +6 -1
  4. package/esm/funcs/agentTestsGetBenchmark.js.map +1 -1
  5. package/esm/funcs/agentTestsGetRun.js +6 -1
  6. package/esm/funcs/agentTestsGetRun.js.map +1 -1
  7. package/esm/funcs/annotationTasksGetSummary.js +2 -0
  8. package/esm/funcs/annotationTasksGetSummary.js.map +1 -1
  9. package/esm/funcs/annotationTasksSetEvaluators.d.ts +16 -0
  10. package/esm/funcs/annotationTasksSetEvaluators.d.ts.map +1 -0
  11. package/esm/funcs/{annotationTasksLinkEvaluator.js → annotationTasksSetEvaluators.js} +8 -8
  12. package/esm/funcs/{annotationTasksLinkEvaluator.js.map → annotationTasksSetEvaluators.js.map} +1 -1
  13. package/esm/funcs/evaluatorsGet.js +5 -1
  14. package/esm/funcs/evaluatorsGet.js.map +1 -1
  15. package/esm/landing-page.js +1 -1
  16. package/esm/lib/config.d.ts +2 -2
  17. package/esm/lib/config.js +2 -2
  18. package/esm/mcp-server/mcp-server.js +1 -1
  19. package/esm/mcp-server/server.js +3 -3
  20. package/esm/mcp-server/server.js.map +1 -1
  21. package/esm/mcp-server/tools/annotationTasksSetEvaluators.d.ts +7 -0
  22. package/esm/mcp-server/tools/annotationTasksSetEvaluators.d.ts.map +1 -0
  23. package/esm/mcp-server/tools/annotationTasksSetEvaluators.js +38 -0
  24. package/esm/mcp-server/tools/annotationTasksSetEvaluators.js.map +1 -0
  25. package/esm/models/{evaluatordetailresponse.d.ts → evaluatordetailresponsecompact.d.ts} +17 -17
  26. package/esm/models/evaluatordetailresponsecompact.d.ts.map +1 -0
  27. package/esm/models/{evaluatordetailresponse.js → evaluatordetailresponsecompact.js} +14 -13
  28. package/esm/models/evaluatordetailresponsecompact.js.map +1 -0
  29. package/esm/models/evaluatorsetrequest.d.ts +6 -0
  30. package/esm/models/evaluatorsetrequest.d.ts.map +1 -0
  31. package/esm/models/evaluatorsetrequest.js +9 -0
  32. package/esm/models/evaluatorsetrequest.js.map +1 -0
  33. package/esm/models/evaluatorsetresponse.d.ts +9 -0
  34. package/esm/models/evaluatorsetresponse.d.ts.map +1 -0
  35. package/esm/models/evaluatorsetresponse.js +12 -0
  36. package/esm/models/evaluatorsetresponse.js.map +1 -0
  37. package/esm/models/{evaluatorversionresponse.d.ts → evaluatorversioncompact.d.ts} +4 -4
  38. package/esm/models/evaluatorversioncompact.d.ts.map +1 -0
  39. package/esm/models/{evaluatorversionresponse.js → evaluatorversioncompact.js} +3 -3
  40. package/esm/models/evaluatorversioncompact.js.map +1 -0
  41. package/esm/models/getagenttestrunstatusagenttestsruntaskidgetop.d.ts +2 -0
  42. package/esm/models/getagenttestrunstatusagenttestsruntaskidgetop.d.ts.map +1 -1
  43. package/esm/models/getagenttestrunstatusagenttestsruntaskidgetop.js +2 -0
  44. package/esm/models/getagenttestrunstatusagenttestsruntaskidgetop.js.map +1 -1
  45. package/esm/models/getbenchmarkstatusagenttestsbenchmarktaskidgetop.d.ts +2 -0
  46. package/esm/models/getbenchmarkstatusagenttestsbenchmarktaskidgetop.d.ts.map +1 -1
  47. package/esm/models/getbenchmarkstatusagenttestsbenchmarktaskidgetop.js +2 -0
  48. package/esm/models/getbenchmarkstatusagenttestsbenchmarktaskidgetop.js.map +1 -1
  49. package/esm/models/getevaluatorendpointevaluatorsevaluatoruuidgetop.d.ts +3 -2
  50. package/esm/models/getevaluatorendpointevaluatorsevaluatoruuidgetop.d.ts.map +1 -1
  51. package/esm/models/getevaluatorendpointevaluatorsevaluatoruuidgetop.js +3 -2
  52. package/esm/models/getevaluatorendpointevaluatorsevaluatoruuidgetop.js.map +1 -1
  53. package/esm/models/settaskevaluatorsannotationtaskstaskuuidevaluatorsputop.d.ts +13 -0
  54. package/esm/models/settaskevaluatorsannotationtaskstaskuuidevaluatorsputop.d.ts.map +1 -0
  55. package/esm/models/settaskevaluatorsannotationtaskstaskuuidevaluatorsputop.js +19 -0
  56. package/esm/models/settaskevaluatorsannotationtaskstaskuuidevaluatorsputop.js.map +1 -0
  57. package/esm/models/tasksummaryannotationtaskstaskuuidsummarygetop.d.ts +2 -0
  58. package/esm/models/tasksummaryannotationtaskstaskuuidsummarygetop.d.ts.map +1 -1
  59. package/esm/models/tasksummaryannotationtaskstaskuuidsummarygetop.js +2 -0
  60. package/esm/models/tasksummaryannotationtaskstaskuuidsummarygetop.js.map +1 -1
  61. package/esm/models/tasksummaryresponse.d.ts +2 -2
  62. package/esm/models/tasksummaryresponse.d.ts.map +1 -1
  63. package/esm/models/tasksummaryresponse.js +3 -2
  64. package/esm/models/tasksummaryresponse.js.map +1 -1
  65. package/esm/tool-names.js +2 -2
  66. package/esm/tool-names.js.map +1 -1
  67. package/package.json +1 -1
  68. package/src/funcs/agentTestsGetBenchmark.ts +6 -1
  69. package/src/funcs/agentTestsGetRun.ts +6 -1
  70. package/src/funcs/annotationTasksGetSummary.ts +2 -0
  71. package/src/funcs/{annotationTasksLinkEvaluator.ts → annotationTasksSetEvaluators.ts} +11 -11
  72. package/src/funcs/evaluatorsGet.ts +5 -1
  73. package/src/landing-page.ts +1 -1
  74. package/src/lib/config.ts +2 -2
  75. package/src/mcp-server/mcp-server.ts +1 -1
  76. package/src/mcp-server/server.ts +3 -3
  77. package/src/mcp-server/tools/annotationTasksSetEvaluators.ts +48 -0
  78. package/src/models/{evaluatordetailresponse.ts → evaluatordetailresponsecompact.ts} +29 -28
  79. package/src/models/evaluatorsetrequest.ts +14 -0
  80. package/src/models/evaluatorsetresponse.ts +28 -0
  81. package/src/models/{evaluatorversionresponse.ts → evaluatorversioncompact.ts} +5 -5
  82. package/src/models/getagenttestrunstatusagenttestsruntaskidgetop.ts +8 -0
  83. package/src/models/getbenchmarkstatusagenttestsbenchmarktaskidgetop.ts +8 -0
  84. package/src/models/getevaluatorendpointevaluatorsevaluatoruuidgetop.ts +9 -5
  85. package/src/models/settaskevaluatorsannotationtaskstaskuuidevaluatorsputop.ts +42 -0
  86. package/src/models/tasksummaryannotationtaskstaskuuidsummarygetop.ts +8 -0
  87. package/src/models/tasksummaryresponse.ts +4 -5
  88. package/src/tool-names.ts +2 -2
  89. package/esm/funcs/annotationTasksLinkEvaluator.d.ts +0 -16
  90. package/esm/funcs/annotationTasksLinkEvaluator.d.ts.map +0 -1
  91. package/esm/mcp-server/tools/annotationTasksLinkEvaluator.d.ts +0 -7
  92. package/esm/mcp-server/tools/annotationTasksLinkEvaluator.d.ts.map +0 -1
  93. package/esm/mcp-server/tools/annotationTasksLinkEvaluator.js +0 -34
  94. package/esm/mcp-server/tools/annotationTasksLinkEvaluator.js.map +0 -1
  95. package/esm/models/evaluatordetailresponse.d.ts.map +0 -1
  96. package/esm/models/evaluatordetailresponse.js.map +0 -1
  97. package/esm/models/evaluatorlinkrequest.d.ts +0 -6
  98. package/esm/models/evaluatorlinkrequest.d.ts.map +0 -1
  99. package/esm/models/evaluatorlinkrequest.js +0 -9
  100. package/esm/models/evaluatorlinkrequest.js.map +0 -1
  101. package/esm/models/evaluatorlinkresponse.d.ts +0 -6
  102. package/esm/models/evaluatorlinkresponse.d.ts.map +0 -1
  103. package/esm/models/evaluatorlinkresponse.js +0 -8
  104. package/esm/models/evaluatorlinkresponse.js.map +0 -1
  105. package/esm/models/evaluatorversionresponse.d.ts.map +0 -1
  106. package/esm/models/evaluatorversionresponse.js.map +0 -1
  107. package/esm/models/linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop.d.ts +0 -13
  108. package/esm/models/linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop.d.ts.map +0 -1
  109. package/esm/models/linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop.js +0 -18
  110. package/esm/models/linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop.js.map +0 -1
  111. package/src/mcp-server/tools/annotationTasksLinkEvaluator.ts +0 -44
  112. package/src/models/evaluatorlinkrequest.ts +0 -14
  113. package/src/models/evaluatorlinkresponse.ts +0 -12
  114. package/src/models/linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop.ts +0 -42
@@ -0,0 +1,48 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { annotationTasksSetEvaluators } from "../../funcs/annotationTasksSetEvaluators.js";
6
+ import { SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest$zodSchema } from "../../models/settaskevaluatorsannotationtaskstaskuuidevaluatorsputop.js";
7
+ import { formatResult, ToolDefinition } from "../tools.js";
8
+
9
+ const args = {
10
+ request:
11
+ SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest$zodSchema,
12
+ };
13
+
14
+ export const tool$annotationTasksSetEvaluators: ToolDefinition<typeof args> = {
15
+ name: "set-task-evaluators",
16
+ description:
17
+ `Replace the task's linked evaluators with exactly the given ordered
18
+ set: new ids are linked, omitted ids are unlinked, and the list order
19
+ sets their display position. Send an empty list to unlink all. Each
20
+ evaluator must be one you created or a built-in default, and the task
21
+ must be in your workspace.
22
+ `,
23
+ scopes: ["write"],
24
+ annotations: {
25
+ "title": "Set an annotation task's evaluators",
26
+ "destructiveHint": false,
27
+ "idempotentHint": true,
28
+ "openWorldHint": true,
29
+ "readOnlyHint": false,
30
+ },
31
+ args,
32
+ tool: async (client, args, ctx) => {
33
+ const [result] = await annotationTasksSetEvaluators(
34
+ client,
35
+ args.request,
36
+ { fetchOptions: { signal: ctx.signal } },
37
+ ).$inspect();
38
+
39
+ if (!result.ok) {
40
+ return {
41
+ content: [{ type: "text", text: result.error.message }],
42
+ isError: true,
43
+ };
44
+ }
45
+
46
+ return formatResult(result.value);
47
+ },
48
+ };
@@ -5,9 +5,9 @@
5
5
  import * as z from "zod";
6
6
  import { ClosedEnum } from "../types/enums.js";
7
7
  import {
8
- EvaluatorVersionResponse,
9
- EvaluatorVersionResponse$zodSchema,
10
- } from "./evaluatorversionresponse.js";
8
+ EvaluatorVersionCompact,
9
+ EvaluatorVersionCompact$zodSchema,
10
+ } from "./evaluatorversioncompact.js";
11
11
 
12
12
  /**
13
13
  * What the evaluator judges:
@@ -20,7 +20,7 @@ import {
20
20
  * - `llm-general`: a standalone input and output pair
21
21
  * - `conversation`: a full conversation
22
22
  */
23
- export const EvaluatorDetailResponseEvaluatorType = {
23
+ export const EvaluatorDetailResponseCompactEvaluatorType = {
24
24
  Tts: "tts",
25
25
  Stt: "stt",
26
26
  Llm: "llm",
@@ -38,11 +38,11 @@ export const EvaluatorDetailResponseEvaluatorType = {
38
38
  * - `llm-general`: a standalone input and output pair
39
39
  * - `conversation`: a full conversation
40
40
  */
41
- export type EvaluatorDetailResponseEvaluatorType = ClosedEnum<
42
- typeof EvaluatorDetailResponseEvaluatorType
41
+ export type EvaluatorDetailResponseCompactEvaluatorType = ClosedEnum<
42
+ typeof EvaluatorDetailResponseCompactEvaluatorType
43
43
  >;
44
44
 
45
- export const EvaluatorDetailResponseEvaluatorType$zodSchema = z.enum([
45
+ export const EvaluatorDetailResponseCompactEvaluatorType$zodSchema = z.enum([
46
46
  "tts",
47
47
  "stt",
48
48
  "llm",
@@ -60,7 +60,7 @@ export const EvaluatorDetailResponseEvaluatorType$zodSchema = z.enum([
60
60
  * - `text`
61
61
  * - `audio`
62
62
  */
63
- export const EvaluatorDetailResponseDataType = {
63
+ export const EvaluatorDetailResponseCompactDataType = {
64
64
  Text: "text",
65
65
  Audio: "audio",
66
66
  } as const;
@@ -72,11 +72,11 @@ export const EvaluatorDetailResponseDataType = {
72
72
  * - `text`
73
73
  * - `audio`
74
74
  */
75
- export type EvaluatorDetailResponseDataType = ClosedEnum<
76
- typeof EvaluatorDetailResponseDataType
75
+ export type EvaluatorDetailResponseCompactDataType = ClosedEnum<
76
+ typeof EvaluatorDetailResponseCompactDataType
77
77
  >;
78
78
 
79
- export const EvaluatorDetailResponseDataType$zodSchema = z.enum([
79
+ export const EvaluatorDetailResponseCompactDataType$zodSchema = z.enum([
80
80
  "text",
81
81
  "audio",
82
82
  ]).describe("The modality the judge reads:\n\n- `text`\n- `audio`\n");
@@ -89,7 +89,7 @@ export const EvaluatorDetailResponseDataType$zodSchema = z.enum([
89
89
  * - `binary`: pass or fail
90
90
  * - `rating`: a numeric score, using the scale in `output_config`
91
91
  */
92
- export const EvaluatorDetailResponseOutputType = {
92
+ export const EvaluatorDetailResponseCompactOutputType = {
93
93
  Binary: "binary",
94
94
  Rating: "rating",
95
95
  } as const;
@@ -101,47 +101,48 @@ export const EvaluatorDetailResponseOutputType = {
101
101
  * - `binary`: pass or fail
102
102
  * - `rating`: a numeric score, using the scale in `output_config`
103
103
  */
104
- export type EvaluatorDetailResponseOutputType = ClosedEnum<
105
- typeof EvaluatorDetailResponseOutputType
104
+ export type EvaluatorDetailResponseCompactOutputType = ClosedEnum<
105
+ typeof EvaluatorDetailResponseCompactOutputType
106
106
  >;
107
107
 
108
- export const EvaluatorDetailResponseOutputType$zodSchema = z.enum([
108
+ export const EvaluatorDetailResponseCompactOutputType$zodSchema = z.enum([
109
109
  "binary",
110
110
  "rating",
111
111
  ]).describe(
112
112
  "How the evaluator scores:\n\n- `binary`: pass or fail\n- `rating`: a numeric score, using the scale in `output_config`\n",
113
113
  );
114
114
 
115
- export type EvaluatorDetailResponse = {
115
+ export type EvaluatorDetailResponseCompact = {
116
116
  uuid: string;
117
117
  name: string;
118
118
  description?: string | null | undefined;
119
- evaluator_type: EvaluatorDetailResponseEvaluatorType;
120
- data_type: EvaluatorDetailResponseDataType;
121
- output_type: EvaluatorDetailResponseOutputType;
119
+ evaluator_type: EvaluatorDetailResponseCompactEvaluatorType;
120
+ data_type: EvaluatorDetailResponseCompactDataType;
121
+ output_type: EvaluatorDetailResponseCompactOutputType;
122
122
  is_default: boolean;
123
123
  slug?: string | null | undefined;
124
124
  live_version_id?: string | null | undefined;
125
125
  created_at: string;
126
126
  updated_at: string;
127
- versions: Array<EvaluatorVersionResponse>;
127
+ versions: Array<EvaluatorVersionCompact>;
128
128
  };
129
129
 
130
- export const EvaluatorDetailResponse$zodSchema: z.ZodType<
131
- EvaluatorDetailResponse
130
+ export const EvaluatorDetailResponseCompact$zodSchema: z.ZodType<
131
+ EvaluatorDetailResponseCompact
132
132
  > = z.object({
133
133
  created_at: z.string().describe(
134
134
  "When the evaluator was created (ISO 8601 UTC)",
135
135
  ),
136
- data_type: EvaluatorDetailResponseDataType$zodSchema.describe(
136
+ data_type: EvaluatorDetailResponseCompactDataType$zodSchema.describe(
137
137
  "The modality the judge reads:\n\n- `text`\n- `audio`\n",
138
138
  ),
139
139
  description: z.string().nullable().optional().describe(
140
140
  "What the evaluator checks",
141
141
  ),
142
- evaluator_type: EvaluatorDetailResponseEvaluatorType$zodSchema.describe(
143
- "What the evaluator judges:\n\n- `tts`: TTS audio\n- `stt`: one transcript\n- `llm`: a reply with its conversation history\n- `llm-general`: a standalone input and output pair\n- `conversation`: a full conversation\n",
144
- ),
142
+ evaluator_type: EvaluatorDetailResponseCompactEvaluatorType$zodSchema
143
+ .describe(
144
+ "What the evaluator judges:\n\n- `tts`: TTS audio\n- `stt`: one transcript\n- `llm`: a reply with its conversation history\n- `llm-general`: a standalone input and output pair\n- `conversation`: a full conversation\n",
145
+ ),
145
146
  is_default: z.boolean().describe(
146
147
  "True for a built-in default evaluator, which you can't edit. False for an evaluator you created, which you can edit and add versions to",
147
148
  ),
@@ -149,7 +150,7 @@ export const EvaluatorDetailResponse$zodSchema: z.ZodType<
149
150
  "ID of the version that is currently live",
150
151
  ),
151
152
  name: z.string().describe("Evaluator name"),
152
- output_type: EvaluatorDetailResponseOutputType$zodSchema.describe(
153
+ output_type: EvaluatorDetailResponseCompactOutputType$zodSchema.describe(
153
154
  "How the evaluator scores:\n\n- `binary`: pass or fail\n- `rating`: a numeric score, using the scale in `output_config`\n",
154
155
  ),
155
156
  slug: z.string().nullable().optional().describe(
@@ -159,7 +160,7 @@ export const EvaluatorDetailResponse$zodSchema: z.ZodType<
159
160
  "When the evaluator was last updated (ISO 8601 UTC)",
160
161
  ),
161
162
  uuid: z.string().describe("Evaluator ID"),
162
- versions: z.array(EvaluatorVersionResponse$zodSchema).describe(
163
+ versions: z.array(EvaluatorVersionCompact$zodSchema).describe(
163
164
  "Full version history, oldest first",
164
165
  ),
165
166
  });
@@ -0,0 +1,14 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+
7
+ export type EvaluatorSetRequest = { evaluator_ids: Array<string> };
8
+
9
+ export const EvaluatorSetRequest$zodSchema: z.ZodType<EvaluatorSetRequest> = z
10
+ .object({
11
+ evaluator_ids: z.array(z.string()).describe(
12
+ "The full ordered set of evaluators the task should end up linked to, in display order. Missing ones are unlinked, new ones are linked, and the order sets their position. Send an empty list to unlink all. Each must be one you created or a built-in default",
13
+ ),
14
+ });
@@ -0,0 +1,28 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+
7
+ export type EvaluatorSetResponse = {
8
+ message: string;
9
+ evaluator_ids: Array<string>;
10
+ linked: Array<string>;
11
+ unlinked: Array<string>;
12
+ };
13
+
14
+ export const EvaluatorSetResponse$zodSchema: z.ZodType<EvaluatorSetResponse> = z
15
+ .object({
16
+ evaluator_ids: z.array(z.string()).describe(
17
+ "The task's evaluator IDs after the update, in display order",
18
+ ),
19
+ linked: z.array(z.string()).describe(
20
+ "Evaluator IDs newly linked by this request",
21
+ ),
22
+ message: z.string().describe(
23
+ "Confirmation that the task's evaluators were updated",
24
+ ),
25
+ unlinked: z.array(z.string()).describe(
26
+ "Evaluator IDs unlinked by this request",
27
+ ),
28
+ });
@@ -6,18 +6,18 @@ import * as z from "zod";
6
6
  import { OutputConfig, OutputConfig$zodSchema } from "./outputconfig.js";
7
7
  import { VariableSpec, VariableSpec$zodSchema } from "./variablespec.js";
8
8
 
9
- export type EvaluatorVersionResponse = {
9
+ export type EvaluatorVersionCompact = {
10
10
  uuid: string;
11
11
  version_number: number;
12
12
  judge_model: string;
13
- system_prompt: string;
13
+ system_prompt?: string | null | undefined;
14
14
  output_config?: OutputConfig | null | undefined;
15
15
  variables?: Array<VariableSpec> | null | undefined;
16
16
  created_at: string;
17
17
  };
18
18
 
19
- export const EvaluatorVersionResponse$zodSchema: z.ZodType<
20
- EvaluatorVersionResponse
19
+ export const EvaluatorVersionCompact$zodSchema: z.ZodType<
20
+ EvaluatorVersionCompact
21
21
  > = z.object({
22
22
  created_at: z.string().describe(
23
23
  "When the version was created (ISO 8601 UTC)",
@@ -28,7 +28,7 @@ export const EvaluatorVersionResponse$zodSchema: z.ZodType<
28
28
  output_config: OutputConfig$zodSchema.nullable().optional().describe(
29
29
  "The scale points and their labels. Required for a `rating` evaluator. A `binary` evaluator uses the default Correct/Wrong labels unless you set your own",
30
30
  ),
31
- system_prompt: z.string().describe(
31
+ system_prompt: z.string().nullable().optional().describe(
32
32
  "Judge system prompt, with `{{\"{{\"}}variable}}` placeholders unrendered",
33
33
  ),
34
34
  uuid: z.string().describe("Version ID"),
@@ -14,11 +14,19 @@ import {
14
14
 
15
15
  export type GetAgentTestRunStatusAgentTestsRunTaskIdGetRequest = {
16
16
  task_id: string;
17
+ only_failed?: boolean | undefined;
18
+ compact?: boolean | undefined;
17
19
  xAPIKey?: string | null | undefined;
18
20
  };
19
21
 
20
22
  export const GetAgentTestRunStatusAgentTestsRunTaskIdGetRequest$zodSchema:
21
23
  z.ZodType<GetAgentTestRunStatusAgentTestsRunTaskIdGetRequest> = z.object({
24
+ compact: z.boolean().default(false).describe(
25
+ "Return a compact response that omits heavy detail fields (`results.output`, `results.test_case`, `results.judge_results`, `results.reasoning`, `evaluators.output_config`), keeping only the lightweight decision fields. Omit for full detail",
26
+ ),
27
+ only_failed: z.boolean().default(false).describe(
28
+ "Return only failing test cases. Omit to return every case",
29
+ ),
22
30
  task_id: z.string().describe("Test run to poll for status and results"),
23
31
  xAPIKey: z.string().nullable().optional(),
24
32
  });
@@ -14,11 +14,19 @@ import {
14
14
 
15
15
  export type GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetRequest = {
16
16
  task_id: string;
17
+ only_failed?: boolean | undefined;
18
+ compact?: boolean | undefined;
17
19
  xAPIKey?: string | null | undefined;
18
20
  };
19
21
 
20
22
  export const GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetRequest$zodSchema:
21
23
  z.ZodType<GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetRequest> = z.object({
24
+ compact: z.boolean().default(false).describe(
25
+ "Return a compact response that omits heavy detail fields (`model_results.test_results`, `evaluators.output_config`), keeping only the lightweight decision fields. Omit for full detail",
26
+ ),
27
+ only_failed: z.boolean().default(false).describe(
28
+ "Return only failing test cases for each model. Omit to return every case",
29
+ ),
22
30
  task_id: z.string().describe(
23
31
  "Benchmark run to poll for status and results",
24
32
  ),
@@ -4,9 +4,9 @@
4
4
 
5
5
  import * as z from "zod";
6
6
  import {
7
- EvaluatorDetailResponse,
8
- EvaluatorDetailResponse$zodSchema,
9
- } from "./evaluatordetailresponse.js";
7
+ EvaluatorDetailResponseCompact,
8
+ EvaluatorDetailResponseCompact$zodSchema,
9
+ } from "./evaluatordetailresponsecompact.js";
10
10
  import {
11
11
  HTTPValidationError,
12
12
  HTTPValidationError$zodSchema,
@@ -14,21 +14,25 @@ import {
14
14
 
15
15
  export type GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetRequest = {
16
16
  evaluator_uuid: string;
17
+ compact?: boolean | undefined;
17
18
  xAPIKey?: string | null | undefined;
18
19
  };
19
20
 
20
21
  export const GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetRequest$zodSchema:
21
22
  z.ZodType<GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetRequest> = z.object({
23
+ compact: z.boolean().default(false).describe(
24
+ "Return a compact response that omits heavy detail fields (`versions.system_prompt`, `versions.output_config`, `versions.variables`), keeping only the lightweight decision fields. Omit for full detail",
25
+ ),
22
26
  evaluator_uuid: z.string().describe("Evaluator to retrieve"),
23
27
  xAPIKey: z.string().nullable().optional(),
24
28
  });
25
29
 
26
30
  export type GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetResponse =
27
- | EvaluatorDetailResponse
31
+ | EvaluatorDetailResponseCompact
28
32
  | HTTPValidationError;
29
33
 
30
34
  export const GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetResponse$zodSchema:
31
35
  z.ZodType<GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetResponse> = z.union([
32
- EvaluatorDetailResponse$zodSchema,
36
+ EvaluatorDetailResponseCompact$zodSchema,
33
37
  HTTPValidationError$zodSchema,
34
38
  ]);
@@ -0,0 +1,42 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import {
7
+ EvaluatorSetRequest,
8
+ EvaluatorSetRequest$zodSchema,
9
+ } from "./evaluatorsetrequest.js";
10
+ import {
11
+ EvaluatorSetResponse,
12
+ EvaluatorSetResponse$zodSchema,
13
+ } from "./evaluatorsetresponse.js";
14
+ import {
15
+ HTTPValidationError,
16
+ HTTPValidationError$zodSchema,
17
+ } from "./httpvalidationerror.js";
18
+
19
+ export type SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest = {
20
+ task_uuid: string;
21
+ xAPIKey?: string | null | undefined;
22
+ body: EvaluatorSetRequest;
23
+ };
24
+
25
+ export const SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest$zodSchema:
26
+ z.ZodType<SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest> = z
27
+ .object({
28
+ body: EvaluatorSetRequest$zodSchema,
29
+ task_uuid: z.string().describe("Annotation task to act on"),
30
+ xAPIKey: z.string().nullable().optional(),
31
+ });
32
+
33
+ export type SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutResponse =
34
+ | EvaluatorSetResponse
35
+ | HTTPValidationError;
36
+
37
+ export const SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutResponse$zodSchema:
38
+ z.ZodType<SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutResponse> = z
39
+ .union([
40
+ EvaluatorSetResponse$zodSchema,
41
+ HTTPValidationError$zodSchema,
42
+ ]);
@@ -34,16 +34,24 @@ export type TaskSummaryAnnotationTasksTaskUuidSummaryGetRequest = {
34
34
  task_uuid: string;
35
35
  item_id?: string | null | undefined;
36
36
  live_only?: boolean | undefined;
37
+ disagreement_only?: boolean | undefined;
37
38
  q?: string | null | undefined;
38
39
  sort_by?: string | undefined;
39
40
  order?: Order | undefined;
40
41
  limit?: number | undefined;
41
42
  offset?: number | undefined;
43
+ compact?: boolean | undefined;
42
44
  xAPIKey?: string | null | undefined;
43
45
  };
44
46
 
45
47
  export const TaskSummaryAnnotationTasksTaskUuidSummaryGetRequest$zodSchema:
46
48
  z.ZodType<TaskSummaryAnnotationTasksTaskUuidSummaryGetRequest> = z.object({
49
+ compact: z.boolean().default(false).describe(
50
+ "Return a compact response that omits heavy detail fields (`rows.payload`, `rows.evaluator_reasoning`, `rows.annotations.reasoning`, `evaluators.versions.system_prompt`, `evaluators.versions.output_config`, `evaluators.versions.variables`, `item_comments`), keeping only the lightweight decision fields. Omit for full detail",
51
+ ),
52
+ disagreement_only: z.boolean().default(false).describe(
53
+ "When true, keep only rows where the evaluator disagreed with at least one annotator",
54
+ ),
47
55
  item_id: z.string().describe(
48
56
  "Filter rows to a single item. The full task-wide annotator union is still returned in `annotators`",
49
57
  ).nullable().optional(),
@@ -34,7 +34,7 @@ export type TaskSummaryResponse = {
34
34
  evaluators: Array<{ [k: string]: any }>;
35
35
  annotators: Array<{ [k: string]: any }>;
36
36
  rows: Array<{ [k: string]: any }>;
37
- item_comments: { [k: string]: any };
37
+ item_comments?: { [k: string]: any } | null | undefined;
38
38
  pagination: PaginationMeta;
39
39
  AdditionalProperties?: { [k: string]: any };
40
40
  };
@@ -48,9 +48,8 @@ export const TaskSummaryResponse$zodSchema: z.ZodType<TaskSummaryResponse> =
48
48
  evaluators: z.array(z.record(z.string(), z.any())).describe(
49
49
  "The task's evaluators, stable across pages, each with its live rubric",
50
50
  ),
51
- item_comments: z.record(z.string(), z.any()).describe(
52
- "Annotator comments, keyed by item ID",
53
- ),
51
+ item_comments: z.record(z.string(), z.any()).nullable().optional()
52
+ .describe("Annotator comments, keyed by item ID"),
54
53
  pagination: PaginationMeta$zodSchema,
55
54
  rows: z.array(z.record(z.string(), z.any())).describe(
56
55
  "One row per item, evaluator, and version on this page, with the evaluator's value and each annotator's label",
@@ -66,7 +65,7 @@ export const TaskSummaryResponse$zodSchemaOutbound: z.ZodType<any> = z.object({
66
65
  AdditionalProperties: z.record(z.string(), z.any()).optional(),
67
66
  annotators: z.array(z.record(z.string(), z.any())),
68
67
  evaluators: z.array(z.record(z.string(), z.any())),
69
- item_comments: z.record(z.string(), z.any()),
68
+ item_comments: z.nullable(z.record(z.string(), z.any())).optional(),
70
69
  pagination: PaginationMeta$zodSchema,
71
70
  rows: z.array(z.record(z.string(), z.any())),
72
71
  task_id: z.string(),
package/src/tool-names.ts CHANGED
@@ -105,8 +105,8 @@ export const toolNames: Array<{ name: string; description: string }>= [
105
105
  "description": "Get one annotation task with its evaluators, items, and labelling jobs.\n"
106
106
  },
107
107
  {
108
- "name": "link-evaluator-to-task",
109
- "description": "Link an evaluator to an annotation task, appending it to the display order.\n"
108
+ "name": "set-task-evaluators",
109
+ "description": "Replace the task's linked evaluators with exactly the given ordered\nset: new ids are linked, omitted ids are unlinked, and the list order\nsets their display position. Send an empty list to unlink all. Each\nevaluator must be one you created or a built-in default, and the task\nmust be in your workspace.\n"
110
110
  },
111
111
  {
112
112
  "name": "add-annotation-items",
@@ -1,16 +0,0 @@
1
- import { CalibrateMcpCore } from "../core.js";
2
- import { RequestOptions } from "../lib/sdks.js";
3
- import { APIError } from "../models/errors/apierror.js";
4
- import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
5
- import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
6
- import { LinkEvaluatorToTaskAnnotationTasksTaskUuidEvaluatorsPostRequest } from "../models/linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop.js";
7
- import { APIPromise } from "../types/async.js";
8
- import { Result } from "../types/fp.js";
9
- /**
10
- * Link evaluator to task
11
- *
12
- * @remarks
13
- * Link an evaluator to a task, appending it to the display order
14
- */
15
- export declare function annotationTasksLinkEvaluator(client$: CalibrateMcpCore, request: LinkEvaluatorToTaskAnnotationTasksTaskUuidEvaluatorsPostRequest, options?: RequestOptions): APIPromise<Result<Response, APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
16
- //# sourceMappingURL=annotationTasksLinkEvaluator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"annotationTasksLinkEvaluator.d.ts","sourceRoot":"","sources":["../../src/funcs/annotationTasksLinkEvaluator.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAI9C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EACL,+DAA+D,EAEhE,MAAM,yEAAyE,CAAC;AACjF,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,4BAA4B,CAC1C,OAAO,EAAE,gBAAgB,EACzB,OAAO,EAAE,+DAA+D,EACxE,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,QAAQ,EACN,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CAMA"}
@@ -1,7 +0,0 @@
1
- import { ToolDefinition } from "../tools.js";
2
- declare const args: {
3
- request: import("zod").ZodType<import("../../models/linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop.js").LinkEvaluatorToTaskAnnotationTasksTaskUuidEvaluatorsPostRequest, unknown, import("zod/v4/core").$ZodTypeInternals<import("../../models/linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop.js").LinkEvaluatorToTaskAnnotationTasksTaskUuidEvaluatorsPostRequest, unknown>>;
4
- };
5
- export declare const tool$annotationTasksLinkEvaluator: ToolDefinition<typeof args>;
6
- export {};
7
- //# sourceMappingURL=annotationTasksLinkEvaluator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"annotationTasksLinkEvaluator.d.ts","sourceRoot":"","sources":["../../../src/mcp-server/tools/annotationTasksLinkEvaluator.ts"],"names":[],"mappings":"AAMA,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAGT,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,cAAc,CAAC,OAAO,IAAI,CA8BzE,CAAC"}
@@ -1,34 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import { annotationTasksLinkEvaluator } from "../../funcs/annotationTasksLinkEvaluator.js";
5
- import { LinkEvaluatorToTaskAnnotationTasksTaskUuidEvaluatorsPostRequest$zodSchema } from "../../models/linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop.js";
6
- import { formatResult } from "../tools.js";
7
- const args = {
8
- request: LinkEvaluatorToTaskAnnotationTasksTaskUuidEvaluatorsPostRequest$zodSchema,
9
- };
10
- export const tool$annotationTasksLinkEvaluator = {
11
- name: "link-evaluator-to-task",
12
- description: `Link an evaluator to an annotation task, appending it to the display order.
13
- `,
14
- scopes: ["write"],
15
- annotations: {
16
- "title": "Link evaluator to task",
17
- "destructiveHint": false,
18
- "idempotentHint": true,
19
- "openWorldHint": true,
20
- "readOnlyHint": false,
21
- },
22
- args,
23
- tool: async (client, args, ctx) => {
24
- const [result] = await annotationTasksLinkEvaluator(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
25
- if (!result.ok) {
26
- return {
27
- content: [{ type: "text", text: result.error.message }],
28
- isError: true,
29
- };
30
- }
31
- return formatResult(result.value);
32
- },
33
- };
34
- //# sourceMappingURL=annotationTasksLinkEvaluator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"annotationTasksLinkEvaluator.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/annotationTasksLinkEvaluator.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,EAAE,yEAAyE,EAAE,MAAM,4EAA4E,CAAC;AACvK,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EACL,yEAAyE;CAC5E,CAAC;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAAgC;IAC5E,IAAI,EAAE,wBAAwB;IAC9B,WAAW,EACT;CACH;IACC,MAAM,EAAE,CAAC,OAAO,CAAC;IACjB,WAAW,EAAE;QACX,OAAO,EAAE,wBAAwB;QACjC,iBAAiB,EAAE,KAAK;QACxB,gBAAgB,EAAE,IAAI;QACtB,eAAe,EAAE,IAAI;QACrB,cAAc,EAAE,KAAK;KACtB;IACD,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,4BAA4B,CACjD,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,OAAO,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;CACF,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"evaluatordetailresponse.d.ts","sourceRoot":"","sources":["../../src/models/evaluatordetailresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;AAEvC;;;;;;;;;;GAUG;AACH,eAAO,MAAM,oCAAoC;;;;;;CAMvC,CAAC;AACX;;;;;;;;;;GAUG;AACH,MAAM,MAAM,oCAAoC,GAAG,UAAU,CAC3D,OAAO,oCAAoC,CAC5C,CAAC;AAEF,eAAO,MAAM,8CAA8C;;;;;;EAQ1D,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,+BAA+B;;;CAGlC,CAAC;AACX;;;;;;;GAOG;AACH,MAAM,MAAM,+BAA+B,GAAG,UAAU,CACtD,OAAO,+BAA+B,CACvC,CAAC;AAEF,eAAO,MAAM,yCAAyC;;;EAGe,CAAC;AAEtE;;;;;;;GAOG;AACH,eAAO,MAAM,iCAAiC;;;CAGpC,CAAC;AACX;;;;;;;GAOG;AACH,MAAM,MAAM,iCAAiC,GAAG,UAAU,CACxD,OAAO,iCAAiC,CACzC,CAAC;AAEF,eAAO,MAAM,2CAA2C;;;EAKvD,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,cAAc,EAAE,oCAAoC,CAAC;IACrD,SAAS,EAAE,+BAA+B,CAAC;IAC3C,WAAW,EAAE,iCAAiC,CAAC;IAC/C,UAAU,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5C,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,wBAAwB,CAAC,CAAC;CAC3C,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,uBAAuB,CAkCvB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"evaluatordetailresponse.js","sourceRoot":"","sources":["../../src/models/evaluatordetailresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAEL,kCAAkC,GACnC,MAAM,+BAA+B,CAAC;AAEvC;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG;IAClD,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,UAAU,EAAE,aAAa;IACzB,YAAY,EAAE,cAAc;CACpB,CAAC;AAgBX,MAAM,CAAC,MAAM,8CAA8C,GAAG,CAAC,CAAC,IAAI,CAAC;IACnE,KAAK;IACL,KAAK;IACL,KAAK;IACL,aAAa;IACb,cAAc;CACf,CAAC,CAAC,QAAQ,CACT,yNAAyN,CAC1N,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;CACN,CAAC;AAaX,MAAM,CAAC,MAAM,yCAAyC,GAAG,CAAC,CAAC,IAAI,CAAC;IAC9D,MAAM;IACN,OAAO;CACR,CAAC,CAAC,QAAQ,CAAC,wDAAwD,CAAC,CAAC;AAEtE;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC/C,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC;AAaX,MAAM,CAAC,MAAM,2CAA2C,GAAG,CAAC,CAAC,IAAI,CAAC;IAChE,QAAQ;IACR,QAAQ;CACT,CAAC,CAAC,QAAQ,CACT,0HAA0H,CAC3H,CAAC;AAiBF,MAAM,CAAC,MAAM,iCAAiC,GAE1C,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAC7B,+CAA+C,CAChD;IACD,SAAS,EAAE,yCAAyC,CAAC,QAAQ,CAC3D,wDAAwD,CACzD;IACD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACpD,2BAA2B,CAC5B;IACD,cAAc,EAAE,8CAA8C,CAAC,QAAQ,CACrE,yNAAyN,CAC1N;IACD,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAC9B,yIAAyI,CAC1I;IACD,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACxD,0CAA0C,CAC3C;IACD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,gBAAgB,CAAC;IAC3C,WAAW,EAAE,2CAA2C,CAAC,QAAQ,CAC/D,0HAA0H,CAC3H;IACD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC7C,8CAA8C,CAC/C;IACD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAC7B,oDAAoD,CACrD;IACD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC;IACzC,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,kCAAkC,CAAC,CAAC,QAAQ,CAC5D,oCAAoC,CACrC;CACF,CAAC,CAAC"}
@@ -1,6 +0,0 @@
1
- import * as z from "zod";
2
- export type EvaluatorLinkRequest = {
3
- evaluator_id: string;
4
- };
5
- export declare const EvaluatorLinkRequest$zodSchema: z.ZodType<EvaluatorLinkRequest>;
6
- //# sourceMappingURL=evaluatorlinkrequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"evaluatorlinkrequest.d.ts","sourceRoot":"","sources":["../../src/models/evaluatorlinkrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,oBAAoB,GAAG;IAAE,YAAY,EAAE,MAAM,CAAA;CAAE,CAAC;AAE5D,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAKvE,CAAC"}
@@ -1,9 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import * as z from "zod";
5
- export const EvaluatorLinkRequest$zodSchema = z
6
- .object({
7
- evaluator_id: z.string().describe("The evaluator to link. Must be one you created or a built-in default"),
8
- });
9
- //# sourceMappingURL=evaluatorlinkrequest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"evaluatorlinkrequest.js","sourceRoot":"","sources":["../../src/models/evaluatorlinkrequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,MAAM,CAAC,MAAM,8BAA8B,GAAoC,CAAC;KAC7E,MAAM,CAAC;IACN,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAC/B,sEAAsE,CACvE;CACF,CAAC,CAAC"}
@@ -1,6 +0,0 @@
1
- import * as z from "zod";
2
- export type EvaluatorLinkResponse = {
3
- message: string;
4
- };
5
- export declare const EvaluatorLinkResponse$zodSchema: z.ZodType<EvaluatorLinkResponse>;
6
- //# sourceMappingURL=evaluatorlinkresponse.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"evaluatorlinkresponse.d.ts","sourceRoot":"","sources":["../../src/models/evaluatorlinkresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,qBAAqB,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAExD,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAGzE,CAAC"}
@@ -1,8 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import * as z from "zod";
5
- export const EvaluatorLinkResponse$zodSchema = z.object({
6
- message: z.string().describe("Confirmation that the evaluator was linked"),
7
- });
8
- //# sourceMappingURL=evaluatorlinkresponse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"evaluatorlinkresponse.js","sourceRoot":"","sources":["../../src/models/evaluatorlinkresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,MAAM,CAAC,MAAM,+BAA+B,GAC1C,CAAC,CAAC,MAAM,CAAC;IACP,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,4CAA4C,CAAC;CAC3E,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"evaluatorversionresponse.d.ts","sourceRoot":"","sources":["../../src/models/evaluatorversionresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,YAAY,EAA0B,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,YAAY,EAA0B,MAAM,mBAAmB,CAAC;AAEzE,MAAM,MAAM,wBAAwB,GAAG;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,YAAY,GAAG,IAAI,GAAG,SAAS,CAAC;IAChD,SAAS,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IACnD,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,wBAAwB,CAqBxB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"evaluatorversionresponse.js","sourceRoot":"","sources":["../../src/models/evaluatorversionresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAgB,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAgB,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAYzE,MAAM,CAAC,MAAM,kCAAkC,GAE3C,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAC7B,6CAA6C,CAC9C;IACD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAC9B,6HAA6H,CAC9H;IACD,aAAa,EAAE,sBAAsB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAClE,0JAA0J,CAC3J;IACD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAChC,0EAA0E,CAC3E;IACD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,YAAY,CAAC;IACvC,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACvE,2BAA2B,CAC5B;IACD,cAAc,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,CAC9B,2GAA2G,CAC5G;CACF,CAAC,CAAC"}
@@ -1,13 +0,0 @@
1
- import * as z from "zod";
2
- import { EvaluatorLinkRequest } from "./evaluatorlinkrequest.js";
3
- import { EvaluatorLinkResponse } from "./evaluatorlinkresponse.js";
4
- import { HTTPValidationError } from "./httpvalidationerror.js";
5
- export type LinkEvaluatorToTaskAnnotationTasksTaskUuidEvaluatorsPostRequest = {
6
- task_uuid: string;
7
- xAPIKey?: string | null | undefined;
8
- body: EvaluatorLinkRequest;
9
- };
10
- export declare const LinkEvaluatorToTaskAnnotationTasksTaskUuidEvaluatorsPostRequest$zodSchema: z.ZodType<LinkEvaluatorToTaskAnnotationTasksTaskUuidEvaluatorsPostRequest>;
11
- export type LinkEvaluatorToTaskAnnotationTasksTaskUuidEvaluatorsPostResponse = EvaluatorLinkResponse | HTTPValidationError;
12
- export declare const LinkEvaluatorToTaskAnnotationTasksTaskUuidEvaluatorsPostResponse$zodSchema: z.ZodType<LinkEvaluatorToTaskAnnotationTasksTaskUuidEvaluatorsPostResponse>;
13
- //# sourceMappingURL=linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop.d.ts","sourceRoot":"","sources":["../../src/models/linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,oBAAoB,EAErB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAElC,MAAM,MAAM,+DAA+D,GAAG;IAC5E,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,IAAI,EAAE,oBAAoB,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,yEAAyE,EACpF,CAAC,CAAC,OAAO,CAAC,+DAA+D,CAKrE,CAAC;AAEP,MAAM,MAAM,gEAAgE,GACxE,qBAAqB,GACrB,mBAAmB,CAAC;AAExB,eAAO,MAAM,0EAA0E,EACrF,CAAC,CAAC,OAAO,CAAC,gEAAgE,CAItE,CAAC"}