@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.
- package/bin/mcp-server.js +170 -136
- package/bin/mcp-server.js.map +24 -24
- package/esm/funcs/agentTestsGetBenchmark.js +6 -1
- package/esm/funcs/agentTestsGetBenchmark.js.map +1 -1
- package/esm/funcs/agentTestsGetRun.js +6 -1
- package/esm/funcs/agentTestsGetRun.js.map +1 -1
- package/esm/funcs/annotationTasksGetSummary.js +2 -0
- package/esm/funcs/annotationTasksGetSummary.js.map +1 -1
- package/esm/funcs/annotationTasksSetEvaluators.d.ts +16 -0
- package/esm/funcs/annotationTasksSetEvaluators.d.ts.map +1 -0
- package/esm/funcs/{annotationTasksLinkEvaluator.js → annotationTasksSetEvaluators.js} +8 -8
- package/esm/funcs/{annotationTasksLinkEvaluator.js.map → annotationTasksSetEvaluators.js.map} +1 -1
- package/esm/funcs/evaluatorsGet.js +5 -1
- package/esm/funcs/evaluatorsGet.js.map +1 -1
- package/esm/landing-page.js +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +3 -3
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/annotationTasksSetEvaluators.d.ts +7 -0
- package/esm/mcp-server/tools/annotationTasksSetEvaluators.d.ts.map +1 -0
- package/esm/mcp-server/tools/annotationTasksSetEvaluators.js +38 -0
- package/esm/mcp-server/tools/annotationTasksSetEvaluators.js.map +1 -0
- package/esm/models/{evaluatordetailresponse.d.ts → evaluatordetailresponsecompact.d.ts} +17 -17
- package/esm/models/evaluatordetailresponsecompact.d.ts.map +1 -0
- package/esm/models/{evaluatordetailresponse.js → evaluatordetailresponsecompact.js} +14 -13
- package/esm/models/evaluatordetailresponsecompact.js.map +1 -0
- package/esm/models/evaluatorsetrequest.d.ts +6 -0
- package/esm/models/evaluatorsetrequest.d.ts.map +1 -0
- package/esm/models/evaluatorsetrequest.js +9 -0
- package/esm/models/evaluatorsetrequest.js.map +1 -0
- package/esm/models/evaluatorsetresponse.d.ts +9 -0
- package/esm/models/evaluatorsetresponse.d.ts.map +1 -0
- package/esm/models/evaluatorsetresponse.js +12 -0
- package/esm/models/evaluatorsetresponse.js.map +1 -0
- package/esm/models/{evaluatorversionresponse.d.ts → evaluatorversioncompact.d.ts} +4 -4
- package/esm/models/evaluatorversioncompact.d.ts.map +1 -0
- package/esm/models/{evaluatorversionresponse.js → evaluatorversioncompact.js} +3 -3
- package/esm/models/evaluatorversioncompact.js.map +1 -0
- package/esm/models/getagenttestrunstatusagenttestsruntaskidgetop.d.ts +2 -0
- package/esm/models/getagenttestrunstatusagenttestsruntaskidgetop.d.ts.map +1 -1
- package/esm/models/getagenttestrunstatusagenttestsruntaskidgetop.js +2 -0
- package/esm/models/getagenttestrunstatusagenttestsruntaskidgetop.js.map +1 -1
- package/esm/models/getbenchmarkstatusagenttestsbenchmarktaskidgetop.d.ts +2 -0
- package/esm/models/getbenchmarkstatusagenttestsbenchmarktaskidgetop.d.ts.map +1 -1
- package/esm/models/getbenchmarkstatusagenttestsbenchmarktaskidgetop.js +2 -0
- package/esm/models/getbenchmarkstatusagenttestsbenchmarktaskidgetop.js.map +1 -1
- package/esm/models/getevaluatorendpointevaluatorsevaluatoruuidgetop.d.ts +3 -2
- package/esm/models/getevaluatorendpointevaluatorsevaluatoruuidgetop.d.ts.map +1 -1
- package/esm/models/getevaluatorendpointevaluatorsevaluatoruuidgetop.js +3 -2
- package/esm/models/getevaluatorendpointevaluatorsevaluatoruuidgetop.js.map +1 -1
- package/esm/models/settaskevaluatorsannotationtaskstaskuuidevaluatorsputop.d.ts +13 -0
- package/esm/models/settaskevaluatorsannotationtaskstaskuuidevaluatorsputop.d.ts.map +1 -0
- package/esm/models/settaskevaluatorsannotationtaskstaskuuidevaluatorsputop.js +19 -0
- package/esm/models/settaskevaluatorsannotationtaskstaskuuidevaluatorsputop.js.map +1 -0
- package/esm/models/tasksummaryannotationtaskstaskuuidsummarygetop.d.ts +2 -0
- package/esm/models/tasksummaryannotationtaskstaskuuidsummarygetop.d.ts.map +1 -1
- package/esm/models/tasksummaryannotationtaskstaskuuidsummarygetop.js +2 -0
- package/esm/models/tasksummaryannotationtaskstaskuuidsummarygetop.js.map +1 -1
- package/esm/models/tasksummaryresponse.d.ts +2 -2
- package/esm/models/tasksummaryresponse.d.ts.map +1 -1
- package/esm/models/tasksummaryresponse.js +3 -2
- package/esm/models/tasksummaryresponse.js.map +1 -1
- package/esm/tool-names.js +2 -2
- package/esm/tool-names.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/agentTestsGetBenchmark.ts +6 -1
- package/src/funcs/agentTestsGetRun.ts +6 -1
- package/src/funcs/annotationTasksGetSummary.ts +2 -0
- package/src/funcs/{annotationTasksLinkEvaluator.ts → annotationTasksSetEvaluators.ts} +11 -11
- package/src/funcs/evaluatorsGet.ts +5 -1
- package/src/landing-page.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -3
- package/src/mcp-server/tools/annotationTasksSetEvaluators.ts +48 -0
- package/src/models/{evaluatordetailresponse.ts → evaluatordetailresponsecompact.ts} +29 -28
- package/src/models/evaluatorsetrequest.ts +14 -0
- package/src/models/evaluatorsetresponse.ts +28 -0
- package/src/models/{evaluatorversionresponse.ts → evaluatorversioncompact.ts} +5 -5
- package/src/models/getagenttestrunstatusagenttestsruntaskidgetop.ts +8 -0
- package/src/models/getbenchmarkstatusagenttestsbenchmarktaskidgetop.ts +8 -0
- package/src/models/getevaluatorendpointevaluatorsevaluatoruuidgetop.ts +9 -5
- package/src/models/settaskevaluatorsannotationtaskstaskuuidevaluatorsputop.ts +42 -0
- package/src/models/tasksummaryannotationtaskstaskuuidsummarygetop.ts +8 -0
- package/src/models/tasksummaryresponse.ts +4 -5
- package/src/tool-names.ts +2 -2
- package/esm/funcs/annotationTasksLinkEvaluator.d.ts +0 -16
- package/esm/funcs/annotationTasksLinkEvaluator.d.ts.map +0 -1
- package/esm/mcp-server/tools/annotationTasksLinkEvaluator.d.ts +0 -7
- package/esm/mcp-server/tools/annotationTasksLinkEvaluator.d.ts.map +0 -1
- package/esm/mcp-server/tools/annotationTasksLinkEvaluator.js +0 -34
- package/esm/mcp-server/tools/annotationTasksLinkEvaluator.js.map +0 -1
- package/esm/models/evaluatordetailresponse.d.ts.map +0 -1
- package/esm/models/evaluatordetailresponse.js.map +0 -1
- package/esm/models/evaluatorlinkrequest.d.ts +0 -6
- package/esm/models/evaluatorlinkrequest.d.ts.map +0 -1
- package/esm/models/evaluatorlinkrequest.js +0 -9
- package/esm/models/evaluatorlinkrequest.js.map +0 -1
- package/esm/models/evaluatorlinkresponse.d.ts +0 -6
- package/esm/models/evaluatorlinkresponse.d.ts.map +0 -1
- package/esm/models/evaluatorlinkresponse.js +0 -8
- package/esm/models/evaluatorlinkresponse.js.map +0 -1
- package/esm/models/evaluatorversionresponse.d.ts.map +0 -1
- package/esm/models/evaluatorversionresponse.js.map +0 -1
- package/esm/models/linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop.d.ts +0 -13
- package/esm/models/linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop.d.ts.map +0 -1
- package/esm/models/linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop.js +0 -18
- package/esm/models/linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop.js.map +0 -1
- package/src/mcp-server/tools/annotationTasksLinkEvaluator.ts +0 -44
- package/src/models/evaluatorlinkrequest.ts +0 -14
- package/src/models/evaluatorlinkresponse.ts +0 -12
- package/src/models/linkevaluatortotaskannotationtaskstaskuuidevaluatorspostop.ts +0 -42
package/bin/mcp-server.js
CHANGED
|
@@ -51392,9 +51392,9 @@ var init_config = __esm(() => {
|
|
|
51392
51392
|
SDK_METADATA = {
|
|
51393
51393
|
language: "typescript",
|
|
51394
51394
|
openapiDocVersion: "0.1.0",
|
|
51395
|
-
sdkVersion: "0.0.
|
|
51395
|
+
sdkVersion: "0.0.26",
|
|
51396
51396
|
genVersion: "2.915.1",
|
|
51397
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.0.
|
|
51397
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.0.26 2.915.1 0.1.0 @dalmia/calibrate-mcp"
|
|
51398
51398
|
};
|
|
51399
51399
|
});
|
|
51400
51400
|
|
|
@@ -54124,6 +54124,8 @@ var init_getbenchmarkstatusagenttestsbenchmarktaskidgetop = __esm(() => {
|
|
|
54124
54124
|
init_benchmarkstatusresponse();
|
|
54125
54125
|
init_httpvalidationerror();
|
|
54126
54126
|
GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetRequest$zodSchema = object({
|
|
54127
|
+
compact: boolean2().default(false).describe("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"),
|
|
54128
|
+
only_failed: boolean2().default(false).describe("Return only failing test cases for each model. Omit to return every case"),
|
|
54127
54129
|
task_id: string2().describe("Benchmark run to poll for status and results"),
|
|
54128
54130
|
xAPIKey: string2().nullable().optional()
|
|
54129
54131
|
});
|
|
@@ -54151,6 +54153,10 @@ async function $do8(client$, request, options) {
|
|
|
54151
54153
|
})
|
|
54152
54154
|
};
|
|
54153
54155
|
const path$ = pathToFunc("/agent-tests/benchmark/{task_id}")(pathParams$);
|
|
54156
|
+
const query$ = encodeFormQuery({
|
|
54157
|
+
compact: payload$.compact,
|
|
54158
|
+
only_failed: payload$.only_failed
|
|
54159
|
+
});
|
|
54154
54160
|
const headers$ = new Headers(compactMap({
|
|
54155
54161
|
Accept: "application/json",
|
|
54156
54162
|
"X-API-Key": encodeSimple("X-API-Key", payload$.xAPIKey, {
|
|
@@ -54182,6 +54188,7 @@ async function $do8(client$, request, options) {
|
|
|
54182
54188
|
baseURL: options?.serverURL,
|
|
54183
54189
|
path: path$,
|
|
54184
54190
|
headers: headers$,
|
|
54191
|
+
query: query$,
|
|
54185
54192
|
body: body$,
|
|
54186
54193
|
userAgent: client$._options.userAgent,
|
|
54187
54194
|
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
@@ -54281,6 +54288,8 @@ var init_getagenttestrunstatusagenttestsruntaskidgetop = __esm(() => {
|
|
|
54281
54288
|
init_httpvalidationerror();
|
|
54282
54289
|
init_testrunstatusresponse();
|
|
54283
54290
|
GetAgentTestRunStatusAgentTestsRunTaskIdGetRequest$zodSchema = object({
|
|
54291
|
+
compact: boolean2().default(false).describe("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"),
|
|
54292
|
+
only_failed: boolean2().default(false).describe("Return only failing test cases. Omit to return every case"),
|
|
54284
54293
|
task_id: string2().describe("Test run to poll for status and results"),
|
|
54285
54294
|
xAPIKey: string2().nullable().optional()
|
|
54286
54295
|
});
|
|
@@ -54308,6 +54317,10 @@ async function $do9(client$, request, options) {
|
|
|
54308
54317
|
})
|
|
54309
54318
|
};
|
|
54310
54319
|
const path$ = pathToFunc("/agent-tests/run/{task_id}")(pathParams$);
|
|
54320
|
+
const query$ = encodeFormQuery({
|
|
54321
|
+
compact: payload$.compact,
|
|
54322
|
+
only_failed: payload$.only_failed
|
|
54323
|
+
});
|
|
54311
54324
|
const headers$ = new Headers(compactMap({
|
|
54312
54325
|
Accept: "application/json",
|
|
54313
54326
|
"X-API-Key": encodeSimple("X-API-Key", payload$.xAPIKey, {
|
|
@@ -54339,6 +54352,7 @@ async function $do9(client$, request, options) {
|
|
|
54339
54352
|
baseURL: options?.serverURL,
|
|
54340
54353
|
path: path$,
|
|
54341
54354
|
headers: headers$,
|
|
54355
|
+
query: query$,
|
|
54342
54356
|
body: body$,
|
|
54343
54357
|
userAgent: client$._options.userAgent,
|
|
54344
54358
|
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
@@ -56367,7 +56381,7 @@ var init_tasksummaryresponse = __esm(() => {
|
|
|
56367
56381
|
TaskSummaryResponse$zodSchema = collectExtraKeys(object({
|
|
56368
56382
|
annotators: array(record(string2(), any())).describe("The annotators who labelled or commented on items in the task, stable across pages"),
|
|
56369
56383
|
evaluators: array(record(string2(), any())).describe("The task's evaluators, stable across pages, each with its live rubric"),
|
|
56370
|
-
item_comments: record(string2(), any()).describe("Annotator comments, keyed by item ID"),
|
|
56384
|
+
item_comments: record(string2(), any()).nullable().optional().describe("Annotator comments, keyed by item ID"),
|
|
56371
56385
|
pagination: PaginationMeta$zodSchema,
|
|
56372
56386
|
rows: array(record(string2(), any())).describe("One row per item, evaluator, and version on this page, with the evaluator's value and each annotator's label"),
|
|
56373
56387
|
task_id: string2().describe("ID of the task"),
|
|
@@ -56377,7 +56391,7 @@ var init_tasksummaryresponse = __esm(() => {
|
|
|
56377
56391
|
AdditionalProperties: record(string2(), any()).optional(),
|
|
56378
56392
|
annotators: array(record(string2(), any())),
|
|
56379
56393
|
evaluators: array(record(string2(), any())),
|
|
56380
|
-
item_comments: record(string2(), any()),
|
|
56394
|
+
item_comments: nullable(record(string2(), any())).optional(),
|
|
56381
56395
|
pagination: PaginationMeta$zodSchema,
|
|
56382
56396
|
rows: array(record(string2(), any())),
|
|
56383
56397
|
task_id: string2(),
|
|
@@ -56402,6 +56416,8 @@ var init_tasksummaryannotationtaskstaskuuidsummarygetop = __esm(() => {
|
|
|
56402
56416
|
"desc"
|
|
56403
56417
|
]).describe("Sort direction");
|
|
56404
56418
|
TaskSummaryAnnotationTasksTaskUuidSummaryGetRequest$zodSchema = object({
|
|
56419
|
+
compact: boolean2().default(false).describe("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"),
|
|
56420
|
+
disagreement_only: boolean2().default(false).describe("When true, keep only rows where the evaluator disagreed with at least one annotator"),
|
|
56405
56421
|
item_id: string2().describe("Filter rows to a single item. The full task-wide annotator union is still returned in `annotators`").nullable().optional(),
|
|
56406
56422
|
limit: int().default(50).describe("Maximum number of items to return"),
|
|
56407
56423
|
live_only: boolean2().default(false).describe("When true, emit only one row for each (item, evaluator) pair using the evaluator's live version. Versions other than the live one that have runs are excluded"),
|
|
@@ -56437,6 +56453,8 @@ async function $do21(client$, request, options) {
|
|
|
56437
56453
|
};
|
|
56438
56454
|
const path$ = pathToFunc("/annotation-tasks/{task_uuid}/summary")(pathParams$);
|
|
56439
56455
|
const query$ = encodeFormQuery({
|
|
56456
|
+
compact: payload$.compact,
|
|
56457
|
+
disagreement_only: payload$.disagreement_only,
|
|
56440
56458
|
item_id: payload$.item_id,
|
|
56441
56459
|
limit: payload$.limit,
|
|
56442
56460
|
live_only: payload$.live_only,
|
|
@@ -56545,64 +56563,57 @@ var init_annotationTasksGetSummary2 = __esm(() => {
|
|
|
56545
56563
|
};
|
|
56546
56564
|
});
|
|
56547
56565
|
|
|
56548
|
-
// src/models/
|
|
56549
|
-
var
|
|
56550
|
-
var
|
|
56551
|
-
init_zod();
|
|
56552
|
-
EvaluatorLinkRequest$zodSchema = object({
|
|
56553
|
-
evaluator_id: string2().describe("The evaluator to link. Must be one you created or a built-in default")
|
|
56554
|
-
});
|
|
56555
|
-
});
|
|
56556
|
-
|
|
56557
|
-
// src/models/evaluatorlinkresponse.ts
|
|
56558
|
-
var EvaluatorLinkResponse$zodSchema;
|
|
56559
|
-
var init_evaluatorlinkresponse = __esm(() => {
|
|
56566
|
+
// src/models/paginatedresponseannotationtaskresponse.ts
|
|
56567
|
+
var PaginatedResponseAnnotationTaskResponse$zodSchema;
|
|
56568
|
+
var init_paginatedresponseannotationtaskresponse = __esm(() => {
|
|
56560
56569
|
init_zod();
|
|
56561
|
-
|
|
56562
|
-
|
|
56570
|
+
init_annotationtaskresponse();
|
|
56571
|
+
PaginatedResponseAnnotationTaskResponse$zodSchema = object({
|
|
56572
|
+
items: array(AnnotationTaskResponse$zodSchema).describe("The page of results"),
|
|
56573
|
+
limit: int().nullable().optional().describe("The applied `limit` (null when unbounded)"),
|
|
56574
|
+
offset: int().default(0).describe("The applied `offset`"),
|
|
56575
|
+
total: int().describe("Total number of items matching the query, before pagination")
|
|
56563
56576
|
});
|
|
56564
56577
|
});
|
|
56565
56578
|
|
|
56566
|
-
// src/models/
|
|
56567
|
-
var
|
|
56568
|
-
var
|
|
56579
|
+
// src/models/listannotationtasksannotationtasksgetop.ts
|
|
56580
|
+
var ListAnnotationTasksAnnotationTasksGetRequest$zodSchema, ListAnnotationTasksAnnotationTasksGetResponse$zodSchema;
|
|
56581
|
+
var init_listannotationtasksannotationtasksgetop = __esm(() => {
|
|
56569
56582
|
init_zod();
|
|
56570
|
-
init_evaluatorlinkrequest();
|
|
56571
|
-
init_evaluatorlinkresponse();
|
|
56572
56583
|
init_httpvalidationerror();
|
|
56573
|
-
|
|
56574
|
-
|
|
56575
|
-
|
|
56584
|
+
init_paginatedresponseannotationtaskresponse();
|
|
56585
|
+
ListAnnotationTasksAnnotationTasksGetRequest$zodSchema = object({
|
|
56586
|
+
limit: int().describe("Maximum number of items to return. Omit for no limit (all items)").nullable().optional(),
|
|
56587
|
+
offset: int().default(0).describe("Number of items to skip before returning results"),
|
|
56588
|
+
q: string2().describe("Case-insensitive substring search on `name`. Blank is a no-op").nullable().optional(),
|
|
56576
56589
|
xAPIKey: string2().nullable().optional()
|
|
56577
56590
|
});
|
|
56578
|
-
|
|
56579
|
-
|
|
56591
|
+
ListAnnotationTasksAnnotationTasksGetResponse$zodSchema = union([
|
|
56592
|
+
PaginatedResponseAnnotationTaskResponse$zodSchema,
|
|
56580
56593
|
HTTPValidationError$zodSchema
|
|
56581
56594
|
]);
|
|
56582
56595
|
});
|
|
56583
56596
|
|
|
56584
|
-
// src/funcs/
|
|
56585
|
-
function
|
|
56597
|
+
// src/funcs/annotationTasksList.ts
|
|
56598
|
+
function annotationTasksList(client$, request, options) {
|
|
56586
56599
|
return new APIPromise($do22(client$, request, options));
|
|
56587
56600
|
}
|
|
56588
56601
|
async function $do22(client$, request, options) {
|
|
56589
|
-
const parsed$ = safeParse4(request, (value$) =>
|
|
56602
|
+
const parsed$ = safeParse4(request, (value$) => ListAnnotationTasksAnnotationTasksGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
56590
56603
|
if (!parsed$.ok) {
|
|
56591
56604
|
return [parsed$, { status: "invalid" }];
|
|
56592
56605
|
}
|
|
56593
56606
|
const payload$ = parsed$.value;
|
|
56594
|
-
const body$ =
|
|
56595
|
-
const
|
|
56596
|
-
|
|
56597
|
-
|
|
56598
|
-
|
|
56599
|
-
|
|
56600
|
-
};
|
|
56601
|
-
const path$ = pathToFunc("/annotation-tasks/{task_uuid}/evaluators")(pathParams$);
|
|
56607
|
+
const body$ = null;
|
|
56608
|
+
const path$ = pathToFunc("/annotation-tasks")();
|
|
56609
|
+
const query$ = encodeFormQuery({
|
|
56610
|
+
limit: payload$?.limit,
|
|
56611
|
+
offset: payload$?.offset,
|
|
56612
|
+
q: payload$?.q
|
|
56613
|
+
});
|
|
56602
56614
|
const headers$ = new Headers(compactMap({
|
|
56603
|
-
"Content-Type": "application/json",
|
|
56604
56615
|
Accept: "application/json",
|
|
56605
|
-
"X-API-Key": encodeSimple("X-API-Key", payload
|
|
56616
|
+
"X-API-Key": encodeSimple("X-API-Key", payload$?.xAPIKey, {
|
|
56606
56617
|
explode: false,
|
|
56607
56618
|
charEncoding: "none"
|
|
56608
56619
|
})
|
|
@@ -56612,7 +56623,7 @@ async function $do22(client$, request, options) {
|
|
|
56612
56623
|
const context = {
|
|
56613
56624
|
options: client$._options,
|
|
56614
56625
|
baseURL: options?.serverURL ?? client$._baseURL ?? "",
|
|
56615
|
-
operationID: "
|
|
56626
|
+
operationID: "list_annotation_tasks_annotation_tasks_get",
|
|
56616
56627
|
oAuth2Scopes: null,
|
|
56617
56628
|
resolvedSecurity: requestSecurity,
|
|
56618
56629
|
securitySource: client$._options.security,
|
|
@@ -56627,10 +56638,11 @@ async function $do22(client$, request, options) {
|
|
|
56627
56638
|
};
|
|
56628
56639
|
const requestRes = client$._createRequest(context, {
|
|
56629
56640
|
security: requestSecurity,
|
|
56630
|
-
method: "
|
|
56641
|
+
method: "GET",
|
|
56631
56642
|
baseURL: options?.serverURL,
|
|
56632
56643
|
path: path$,
|
|
56633
56644
|
headers: headers$,
|
|
56645
|
+
query: query$,
|
|
56634
56646
|
body: body$,
|
|
56635
56647
|
userAgent: client$._options.userAgent,
|
|
56636
56648
|
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
@@ -56654,40 +56666,40 @@ async function $do22(client$, request, options) {
|
|
|
56654
56666
|
response: doResult.value
|
|
56655
56667
|
}];
|
|
56656
56668
|
}
|
|
56657
|
-
var
|
|
56669
|
+
var init_annotationTasksList = __esm(() => {
|
|
56658
56670
|
init_encodings();
|
|
56659
56671
|
init_primitives();
|
|
56660
56672
|
init_schemas4();
|
|
56661
56673
|
init_security();
|
|
56662
56674
|
init_url();
|
|
56663
|
-
|
|
56675
|
+
init_listannotationtasksannotationtasksgetop();
|
|
56664
56676
|
init_async();
|
|
56665
56677
|
});
|
|
56666
56678
|
|
|
56667
|
-
// src/mcp-server/tools/
|
|
56668
|
-
var args22, tool$
|
|
56669
|
-
var
|
|
56670
|
-
|
|
56671
|
-
|
|
56679
|
+
// src/mcp-server/tools/annotationTasksList.ts
|
|
56680
|
+
var args22, tool$annotationTasksList;
|
|
56681
|
+
var init_annotationTasksList2 = __esm(() => {
|
|
56682
|
+
init_annotationTasksList();
|
|
56683
|
+
init_listannotationtasksannotationtasksgetop();
|
|
56672
56684
|
init_tools();
|
|
56673
56685
|
args22 = {
|
|
56674
|
-
request:
|
|
56686
|
+
request: ListAnnotationTasksAnnotationTasksGetRequest$zodSchema.optional()
|
|
56675
56687
|
};
|
|
56676
|
-
tool$
|
|
56677
|
-
name: "
|
|
56678
|
-
description: `
|
|
56688
|
+
tool$annotationTasksList = {
|
|
56689
|
+
name: "list-annotation-tasks",
|
|
56690
|
+
description: `List your annotation tasks with their linked evaluators.
|
|
56679
56691
|
`,
|
|
56680
|
-
scopes: ["
|
|
56692
|
+
scopes: ["read"],
|
|
56681
56693
|
annotations: {
|
|
56682
|
-
title: "
|
|
56694
|
+
title: "List annotation tasks",
|
|
56683
56695
|
destructiveHint: false,
|
|
56684
|
-
idempotentHint:
|
|
56696
|
+
idempotentHint: false,
|
|
56685
56697
|
openWorldHint: true,
|
|
56686
|
-
readOnlyHint:
|
|
56698
|
+
readOnlyHint: true
|
|
56687
56699
|
},
|
|
56688
56700
|
args: args22,
|
|
56689
56701
|
tool: async (client, args23, ctx) => {
|
|
56690
|
-
const [result] = await
|
|
56702
|
+
const [result] = await annotationTasksList(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56691
56703
|
if (!result.ok) {
|
|
56692
56704
|
return {
|
|
56693
56705
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56699,57 +56711,67 @@ var init_annotationTasksLinkEvaluator2 = __esm(() => {
|
|
|
56699
56711
|
};
|
|
56700
56712
|
});
|
|
56701
56713
|
|
|
56702
|
-
// src/models/
|
|
56703
|
-
var
|
|
56704
|
-
var
|
|
56714
|
+
// src/models/evaluatorsetrequest.ts
|
|
56715
|
+
var EvaluatorSetRequest$zodSchema;
|
|
56716
|
+
var init_evaluatorsetrequest = __esm(() => {
|
|
56705
56717
|
init_zod();
|
|
56706
|
-
|
|
56707
|
-
|
|
56708
|
-
items: array(AnnotationTaskResponse$zodSchema).describe("The page of results"),
|
|
56709
|
-
limit: int().nullable().optional().describe("The applied `limit` (null when unbounded)"),
|
|
56710
|
-
offset: int().default(0).describe("The applied `offset`"),
|
|
56711
|
-
total: int().describe("Total number of items matching the query, before pagination")
|
|
56718
|
+
EvaluatorSetRequest$zodSchema = object({
|
|
56719
|
+
evaluator_ids: array(string2()).describe("The full ordered set of evaluators the task should end up linked to, in display order. Missing ones are unlinked, new ones are linked, and the order sets their position. Send an empty list to unlink all. Each must be one you created or a built-in default")
|
|
56712
56720
|
});
|
|
56713
56721
|
});
|
|
56714
56722
|
|
|
56715
|
-
// src/models/
|
|
56716
|
-
var
|
|
56717
|
-
var
|
|
56723
|
+
// src/models/evaluatorsetresponse.ts
|
|
56724
|
+
var EvaluatorSetResponse$zodSchema;
|
|
56725
|
+
var init_evaluatorsetresponse = __esm(() => {
|
|
56718
56726
|
init_zod();
|
|
56727
|
+
EvaluatorSetResponse$zodSchema = object({
|
|
56728
|
+
evaluator_ids: array(string2()).describe("The task's evaluator IDs after the update, in display order"),
|
|
56729
|
+
linked: array(string2()).describe("Evaluator IDs newly linked by this request"),
|
|
56730
|
+
message: string2().describe("Confirmation that the task's evaluators were updated"),
|
|
56731
|
+
unlinked: array(string2()).describe("Evaluator IDs unlinked by this request")
|
|
56732
|
+
});
|
|
56733
|
+
});
|
|
56734
|
+
|
|
56735
|
+
// src/models/settaskevaluatorsannotationtaskstaskuuidevaluatorsputop.ts
|
|
56736
|
+
var SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest$zodSchema, SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutResponse$zodSchema;
|
|
56737
|
+
var init_settaskevaluatorsannotationtaskstaskuuidevaluatorsputop = __esm(() => {
|
|
56738
|
+
init_zod();
|
|
56739
|
+
init_evaluatorsetrequest();
|
|
56740
|
+
init_evaluatorsetresponse();
|
|
56719
56741
|
init_httpvalidationerror();
|
|
56720
|
-
|
|
56721
|
-
|
|
56722
|
-
|
|
56723
|
-
offset: int().default(0).describe("Number of items to skip before returning results"),
|
|
56724
|
-
q: string2().describe("Case-insensitive substring search on `name`. Blank is a no-op").nullable().optional(),
|
|
56742
|
+
SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest$zodSchema = object({
|
|
56743
|
+
body: EvaluatorSetRequest$zodSchema,
|
|
56744
|
+
task_uuid: string2().describe("Annotation task to act on"),
|
|
56725
56745
|
xAPIKey: string2().nullable().optional()
|
|
56726
56746
|
});
|
|
56727
|
-
|
|
56728
|
-
|
|
56747
|
+
SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutResponse$zodSchema = union([
|
|
56748
|
+
EvaluatorSetResponse$zodSchema,
|
|
56729
56749
|
HTTPValidationError$zodSchema
|
|
56730
56750
|
]);
|
|
56731
56751
|
});
|
|
56732
56752
|
|
|
56733
|
-
// src/funcs/
|
|
56734
|
-
function
|
|
56753
|
+
// src/funcs/annotationTasksSetEvaluators.ts
|
|
56754
|
+
function annotationTasksSetEvaluators(client$, request, options) {
|
|
56735
56755
|
return new APIPromise($do23(client$, request, options));
|
|
56736
56756
|
}
|
|
56737
56757
|
async function $do23(client$, request, options) {
|
|
56738
|
-
const parsed$ = safeParse4(request, (value$) =>
|
|
56758
|
+
const parsed$ = safeParse4(request, (value$) => SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56739
56759
|
if (!parsed$.ok) {
|
|
56740
56760
|
return [parsed$, { status: "invalid" }];
|
|
56741
56761
|
}
|
|
56742
56762
|
const payload$ = parsed$.value;
|
|
56743
|
-
const body$ =
|
|
56744
|
-
const
|
|
56745
|
-
|
|
56746
|
-
|
|
56747
|
-
|
|
56748
|
-
|
|
56749
|
-
}
|
|
56763
|
+
const body$ = encodeJSON("body", payload$.body, { explode: true });
|
|
56764
|
+
const pathParams$ = {
|
|
56765
|
+
task_uuid: encodeSimple("task_uuid", payload$.task_uuid, {
|
|
56766
|
+
explode: false,
|
|
56767
|
+
charEncoding: "percent"
|
|
56768
|
+
})
|
|
56769
|
+
};
|
|
56770
|
+
const path$ = pathToFunc("/annotation-tasks/{task_uuid}/evaluators")(pathParams$);
|
|
56750
56771
|
const headers$ = new Headers(compactMap({
|
|
56772
|
+
"Content-Type": "application/json",
|
|
56751
56773
|
Accept: "application/json",
|
|
56752
|
-
"X-API-Key": encodeSimple("X-API-Key", payload
|
|
56774
|
+
"X-API-Key": encodeSimple("X-API-Key", payload$.xAPIKey, {
|
|
56753
56775
|
explode: false,
|
|
56754
56776
|
charEncoding: "none"
|
|
56755
56777
|
})
|
|
@@ -56759,7 +56781,7 @@ async function $do23(client$, request, options) {
|
|
|
56759
56781
|
const context = {
|
|
56760
56782
|
options: client$._options,
|
|
56761
56783
|
baseURL: options?.serverURL ?? client$._baseURL ?? "",
|
|
56762
|
-
operationID: "
|
|
56784
|
+
operationID: "set_task_evaluators_annotation_tasks__task_uuid__evaluators_put",
|
|
56763
56785
|
oAuth2Scopes: null,
|
|
56764
56786
|
resolvedSecurity: requestSecurity,
|
|
56765
56787
|
securitySource: client$._options.security,
|
|
@@ -56774,11 +56796,10 @@ async function $do23(client$, request, options) {
|
|
|
56774
56796
|
};
|
|
56775
56797
|
const requestRes = client$._createRequest(context, {
|
|
56776
56798
|
security: requestSecurity,
|
|
56777
|
-
method: "
|
|
56799
|
+
method: "PUT",
|
|
56778
56800
|
baseURL: options?.serverURL,
|
|
56779
56801
|
path: path$,
|
|
56780
56802
|
headers: headers$,
|
|
56781
|
-
query: query$,
|
|
56782
56803
|
body: body$,
|
|
56783
56804
|
userAgent: client$._options.userAgent,
|
|
56784
56805
|
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
@@ -56802,40 +56823,44 @@ async function $do23(client$, request, options) {
|
|
|
56802
56823
|
response: doResult.value
|
|
56803
56824
|
}];
|
|
56804
56825
|
}
|
|
56805
|
-
var
|
|
56826
|
+
var init_annotationTasksSetEvaluators = __esm(() => {
|
|
56806
56827
|
init_encodings();
|
|
56807
56828
|
init_primitives();
|
|
56808
56829
|
init_schemas4();
|
|
56809
56830
|
init_security();
|
|
56810
56831
|
init_url();
|
|
56811
|
-
|
|
56832
|
+
init_settaskevaluatorsannotationtaskstaskuuidevaluatorsputop();
|
|
56812
56833
|
init_async();
|
|
56813
56834
|
});
|
|
56814
56835
|
|
|
56815
|
-
// src/mcp-server/tools/
|
|
56816
|
-
var args23, tool$
|
|
56817
|
-
var
|
|
56818
|
-
|
|
56819
|
-
|
|
56836
|
+
// src/mcp-server/tools/annotationTasksSetEvaluators.ts
|
|
56837
|
+
var args23, tool$annotationTasksSetEvaluators;
|
|
56838
|
+
var init_annotationTasksSetEvaluators2 = __esm(() => {
|
|
56839
|
+
init_annotationTasksSetEvaluators();
|
|
56840
|
+
init_settaskevaluatorsannotationtaskstaskuuidevaluatorsputop();
|
|
56820
56841
|
init_tools();
|
|
56821
56842
|
args23 = {
|
|
56822
|
-
request:
|
|
56823
|
-
};
|
|
56824
|
-
tool$
|
|
56825
|
-
name: "
|
|
56826
|
-
description: `
|
|
56843
|
+
request: SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest$zodSchema
|
|
56844
|
+
};
|
|
56845
|
+
tool$annotationTasksSetEvaluators = {
|
|
56846
|
+
name: "set-task-evaluators",
|
|
56847
|
+
description: `Replace the task's linked evaluators with exactly the given ordered
|
|
56848
|
+
set: new ids are linked, omitted ids are unlinked, and the list order
|
|
56849
|
+
sets their display position. Send an empty list to unlink all. Each
|
|
56850
|
+
evaluator must be one you created or a built-in default, and the task
|
|
56851
|
+
must be in your workspace.
|
|
56827
56852
|
`,
|
|
56828
|
-
scopes: ["
|
|
56853
|
+
scopes: ["write"],
|
|
56829
56854
|
annotations: {
|
|
56830
|
-
title: "
|
|
56855
|
+
title: "Set an annotation task's evaluators",
|
|
56831
56856
|
destructiveHint: false,
|
|
56832
|
-
idempotentHint:
|
|
56857
|
+
idempotentHint: true,
|
|
56833
56858
|
openWorldHint: true,
|
|
56834
|
-
readOnlyHint:
|
|
56859
|
+
readOnlyHint: false
|
|
56835
56860
|
},
|
|
56836
56861
|
args: args23,
|
|
56837
56862
|
tool: async (client, args24, ctx) => {
|
|
56838
|
-
const [result] = await
|
|
56863
|
+
const [result] = await annotationTasksSetEvaluators(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56839
56864
|
if (!result.ok) {
|
|
56840
56865
|
return {
|
|
56841
56866
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57389,56 +57414,56 @@ var init_evaluatorsCreateVersion2 = __esm(() => {
|
|
|
57389
57414
|
};
|
|
57390
57415
|
});
|
|
57391
57416
|
|
|
57392
|
-
// src/models/
|
|
57393
|
-
var
|
|
57394
|
-
var
|
|
57417
|
+
// src/models/evaluatorversioncompact.ts
|
|
57418
|
+
var EvaluatorVersionCompact$zodSchema;
|
|
57419
|
+
var init_evaluatorversioncompact = __esm(() => {
|
|
57395
57420
|
init_zod();
|
|
57396
57421
|
init_outputconfig();
|
|
57397
57422
|
init_variablespec();
|
|
57398
|
-
|
|
57423
|
+
EvaluatorVersionCompact$zodSchema = object({
|
|
57399
57424
|
created_at: string2().describe("When the version was created (ISO 8601 UTC)"),
|
|
57400
57425
|
judge_model: string2().describe("The model that runs the judge, named the way its provider does, for example `openai/gpt-4.1` or `anthropic/claude-sonnet-4`"),
|
|
57401
57426
|
output_config: OutputConfig$zodSchema.nullable().optional().describe("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"),
|
|
57402
|
-
system_prompt: string2().describe('Judge system prompt, with `{{"{{"}}variable}}` placeholders unrendered'),
|
|
57427
|
+
system_prompt: string2().nullable().optional().describe('Judge system prompt, with `{{"{{"}}variable}}` placeholders unrendered'),
|
|
57403
57428
|
uuid: string2().describe("Version ID"),
|
|
57404
57429
|
variables: array(VariableSpec$zodSchema).nullable().optional().describe("Declared prompt variables"),
|
|
57405
57430
|
version_number: int().describe("The version's number. The first version is 1, and it goes up by one for each new version of the evaluator")
|
|
57406
57431
|
});
|
|
57407
57432
|
});
|
|
57408
57433
|
|
|
57409
|
-
// src/models/
|
|
57410
|
-
var
|
|
57411
|
-
var
|
|
57434
|
+
// src/models/evaluatordetailresponsecompact.ts
|
|
57435
|
+
var EvaluatorDetailResponseCompactEvaluatorType$zodSchema, EvaluatorDetailResponseCompactDataType$zodSchema, EvaluatorDetailResponseCompactOutputType$zodSchema, EvaluatorDetailResponseCompact$zodSchema;
|
|
57436
|
+
var init_evaluatordetailresponsecompact = __esm(() => {
|
|
57412
57437
|
init_zod();
|
|
57413
|
-
|
|
57414
|
-
|
|
57438
|
+
init_evaluatorversioncompact();
|
|
57439
|
+
EvaluatorDetailResponseCompactEvaluatorType$zodSchema = _enum([
|
|
57415
57440
|
"tts",
|
|
57416
57441
|
"stt",
|
|
57417
57442
|
"llm",
|
|
57418
57443
|
"llm-general",
|
|
57419
57444
|
"conversation"
|
|
57420
57445
|
]).describe("What the evaluator judges:\n\n- `tts`: TTS audio\n- `stt`: one transcript\n- `llm`: a reply with its conversation history\n- `llm-general`: a standalone input and output pair\n- `conversation`: a full conversation\n");
|
|
57421
|
-
|
|
57446
|
+
EvaluatorDetailResponseCompactDataType$zodSchema = _enum([
|
|
57422
57447
|
"text",
|
|
57423
57448
|
"audio"
|
|
57424
57449
|
]).describe("The modality the judge reads:\n\n- `text`\n- `audio`\n");
|
|
57425
|
-
|
|
57450
|
+
EvaluatorDetailResponseCompactOutputType$zodSchema = _enum([
|
|
57426
57451
|
"binary",
|
|
57427
57452
|
"rating"
|
|
57428
57453
|
]).describe("How the evaluator scores:\n\n- `binary`: pass or fail\n- `rating`: a numeric score, using the scale in `output_config`\n");
|
|
57429
|
-
|
|
57454
|
+
EvaluatorDetailResponseCompact$zodSchema = object({
|
|
57430
57455
|
created_at: string2().describe("When the evaluator was created (ISO 8601 UTC)"),
|
|
57431
|
-
data_type:
|
|
57456
|
+
data_type: EvaluatorDetailResponseCompactDataType$zodSchema.describe("The modality the judge reads:\n\n- `text`\n- `audio`\n"),
|
|
57432
57457
|
description: string2().nullable().optional().describe("What the evaluator checks"),
|
|
57433
|
-
evaluator_type:
|
|
57458
|
+
evaluator_type: EvaluatorDetailResponseCompactEvaluatorType$zodSchema.describe("What the evaluator judges:\n\n- `tts`: TTS audio\n- `stt`: one transcript\n- `llm`: a reply with its conversation history\n- `llm-general`: a standalone input and output pair\n- `conversation`: a full conversation\n"),
|
|
57434
57459
|
is_default: boolean2().describe("True for a built-in default evaluator, which you can't edit. False for an evaluator you created, which you can edit and add versions to"),
|
|
57435
57460
|
live_version_id: string2().nullable().optional().describe("ID of the version that is currently live"),
|
|
57436
57461
|
name: string2().describe("Evaluator name"),
|
|
57437
|
-
output_type:
|
|
57462
|
+
output_type: EvaluatorDetailResponseCompactOutputType$zodSchema.describe("How the evaluator scores:\n\n- `binary`: pass or fail\n- `rating`: a numeric score, using the scale in `output_config`\n"),
|
|
57438
57463
|
slug: string2().nullable().optional().describe("Stable slug for a built-in default evaluator"),
|
|
57439
57464
|
updated_at: string2().describe("When the evaluator was last updated (ISO 8601 UTC)"),
|
|
57440
57465
|
uuid: string2().describe("Evaluator ID"),
|
|
57441
|
-
versions: array(
|
|
57466
|
+
versions: array(EvaluatorVersionCompact$zodSchema).describe("Full version history, oldest first")
|
|
57442
57467
|
});
|
|
57443
57468
|
});
|
|
57444
57469
|
|
|
@@ -57446,14 +57471,15 @@ var init_evaluatordetailresponse = __esm(() => {
|
|
|
57446
57471
|
var GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetRequest$zodSchema, GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetResponse$zodSchema;
|
|
57447
57472
|
var init_getevaluatorendpointevaluatorsevaluatoruuidgetop = __esm(() => {
|
|
57448
57473
|
init_zod();
|
|
57449
|
-
|
|
57474
|
+
init_evaluatordetailresponsecompact();
|
|
57450
57475
|
init_httpvalidationerror();
|
|
57451
57476
|
GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetRequest$zodSchema = object({
|
|
57477
|
+
compact: boolean2().default(false).describe("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"),
|
|
57452
57478
|
evaluator_uuid: string2().describe("Evaluator to retrieve"),
|
|
57453
57479
|
xAPIKey: string2().nullable().optional()
|
|
57454
57480
|
});
|
|
57455
57481
|
GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetResponse$zodSchema = union([
|
|
57456
|
-
|
|
57482
|
+
EvaluatorDetailResponseCompact$zodSchema,
|
|
57457
57483
|
HTTPValidationError$zodSchema
|
|
57458
57484
|
]);
|
|
57459
57485
|
});
|
|
@@ -57476,6 +57502,9 @@ async function $do27(client$, request, options) {
|
|
|
57476
57502
|
})
|
|
57477
57503
|
};
|
|
57478
57504
|
const path$ = pathToFunc("/evaluators/{evaluator_uuid}")(pathParams$);
|
|
57505
|
+
const query$ = encodeFormQuery({
|
|
57506
|
+
compact: payload$.compact
|
|
57507
|
+
});
|
|
57479
57508
|
const headers$ = new Headers(compactMap({
|
|
57480
57509
|
Accept: "application/json",
|
|
57481
57510
|
"X-API-Key": encodeSimple("X-API-Key", payload$.xAPIKey, {
|
|
@@ -57507,6 +57536,7 @@ async function $do27(client$, request, options) {
|
|
|
57507
57536
|
baseURL: options?.serverURL,
|
|
57508
57537
|
path: path$,
|
|
57509
57538
|
headers: headers$,
|
|
57539
|
+
query: query$,
|
|
57510
57540
|
body: body$,
|
|
57511
57541
|
userAgent: client$._options.userAgent,
|
|
57512
57542
|
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
@@ -58636,7 +58666,7 @@ fields to change (name, config). Returns the updated test. Fails with
|
|
|
58636
58666
|
function createMCPServer(deps) {
|
|
58637
58667
|
const server = new McpServer({
|
|
58638
58668
|
name: "CalibrateMcp",
|
|
58639
|
-
version: "0.0.
|
|
58669
|
+
version: "0.0.26"
|
|
58640
58670
|
});
|
|
58641
58671
|
const getClient = deps.getSDK || (() => new CalibrateMcpCore({
|
|
58642
58672
|
security: deps.security,
|
|
@@ -58681,7 +58711,7 @@ function createMCPServer(deps) {
|
|
|
58681
58711
|
tool(tool$annotationTasksCreate);
|
|
58682
58712
|
tool(tool$annotationTasksList);
|
|
58683
58713
|
tool(tool$annotationTasksGet);
|
|
58684
|
-
tool(tool$
|
|
58714
|
+
tool(tool$annotationTasksSetEvaluators);
|
|
58685
58715
|
tool(tool$annotationTasksAddItems);
|
|
58686
58716
|
tool(tool$annotationTasksUpdateItems);
|
|
58687
58717
|
tool(tool$annotationTasksCreateEvaluatorRun);
|
|
@@ -58719,8 +58749,8 @@ var init_server2 = __esm(() => {
|
|
|
58719
58749
|
init_annotationTasksGetAgreement2();
|
|
58720
58750
|
init_annotationTasksGetEvaluatorRun2();
|
|
58721
58751
|
init_annotationTasksGetSummary2();
|
|
58722
|
-
init_annotationTasksLinkEvaluator2();
|
|
58723
58752
|
init_annotationTasksList2();
|
|
58753
|
+
init_annotationTasksSetEvaluators2();
|
|
58724
58754
|
init_annotationTasksUpdateItems2();
|
|
58725
58755
|
init_evaluatorsCreate2();
|
|
58726
58756
|
init_evaluatorsCreateVersion2();
|
|
@@ -58902,8 +58932,12 @@ run-agent-tests-batch.
|
|
|
58902
58932
|
`
|
|
58903
58933
|
},
|
|
58904
58934
|
{
|
|
58905
|
-
name: "
|
|
58906
|
-
description: `
|
|
58935
|
+
name: "set-task-evaluators",
|
|
58936
|
+
description: `Replace the task's linked evaluators with exactly the given ordered
|
|
58937
|
+
set: new ids are linked, omitted ids are unlinked, and the list order
|
|
58938
|
+
sets their display position. Send an empty list to unlink all. Each
|
|
58939
|
+
evaluator must be one you created or a built-in default, and the task
|
|
58940
|
+
must be in your workspace.
|
|
58907
58941
|
`
|
|
58908
58942
|
},
|
|
58909
58943
|
{
|
|
@@ -59842,7 +59876,7 @@ http_headers = { "api-key-auth" = "YOUR_API_KEY_AUTH" }`;
|
|
|
59842
59876
|
<h1>Instructions</h1>
|
|
59843
59877
|
<p>One-click installation for Claude Desktop users</p>
|
|
59844
59878
|
<div class="instruction-item">
|
|
59845
|
-
<a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.
|
|
59879
|
+
<a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.26/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
|
|
59846
59880
|
\uD83D\uDCE5 Download MCP Bundle
|
|
59847
59881
|
</a>
|
|
59848
59882
|
</div>
|
|
@@ -62494,7 +62528,7 @@ var routes = buildRouteMap({
|
|
|
62494
62528
|
var app = buildApplication(routes, {
|
|
62495
62529
|
name: "mcp",
|
|
62496
62530
|
versionInfo: {
|
|
62497
|
-
currentVersion: "0.0.
|
|
62531
|
+
currentVersion: "0.0.26"
|
|
62498
62532
|
}
|
|
62499
62533
|
});
|
|
62500
62534
|
run(app, process4.argv.slice(2), buildContext(process4));
|
|
@@ -62502,5 +62536,5 @@ export {
|
|
|
62502
62536
|
app
|
|
62503
62537
|
};
|
|
62504
62538
|
|
|
62505
|
-
//# debugId=
|
|
62539
|
+
//# debugId=DE4BD7689C1357ED64756E2164756E21
|
|
62506
62540
|
//# sourceMappingURL=mcp-server.js.map
|