@dalmia/calibrate-mcp 0.0.25 → 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 +126 -115
- package/bin/mcp-server.js.map +13 -13
- 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/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/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/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/tool-names.js +2 -2
- package/esm/tool-names.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/{annotationTasksLinkEvaluator.ts → annotationTasksSetEvaluators.ts} +11 -11
- 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/evaluatorsetrequest.ts +14 -0
- package/src/models/evaluatorsetresponse.ts +28 -0
- package/src/models/settaskevaluatorsannotationtaskstaskuuidevaluatorsputop.ts +42 -0
- 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/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/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
|
|
|
@@ -56563,64 +56563,57 @@ var init_annotationTasksGetSummary2 = __esm(() => {
|
|
|
56563
56563
|
};
|
|
56564
56564
|
});
|
|
56565
56565
|
|
|
56566
|
-
// src/models/
|
|
56567
|
-
var
|
|
56568
|
-
var
|
|
56569
|
-
init_zod();
|
|
56570
|
-
EvaluatorLinkRequest$zodSchema = object({
|
|
56571
|
-
evaluator_id: string2().describe("The evaluator to link. Must be one you created or a built-in default")
|
|
56572
|
-
});
|
|
56573
|
-
});
|
|
56574
|
-
|
|
56575
|
-
// src/models/evaluatorlinkresponse.ts
|
|
56576
|
-
var EvaluatorLinkResponse$zodSchema;
|
|
56577
|
-
var init_evaluatorlinkresponse = __esm(() => {
|
|
56566
|
+
// src/models/paginatedresponseannotationtaskresponse.ts
|
|
56567
|
+
var PaginatedResponseAnnotationTaskResponse$zodSchema;
|
|
56568
|
+
var init_paginatedresponseannotationtaskresponse = __esm(() => {
|
|
56578
56569
|
init_zod();
|
|
56579
|
-
|
|
56580
|
-
|
|
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")
|
|
56581
56576
|
});
|
|
56582
56577
|
});
|
|
56583
56578
|
|
|
56584
|
-
// src/models/
|
|
56585
|
-
var
|
|
56586
|
-
var
|
|
56579
|
+
// src/models/listannotationtasksannotationtasksgetop.ts
|
|
56580
|
+
var ListAnnotationTasksAnnotationTasksGetRequest$zodSchema, ListAnnotationTasksAnnotationTasksGetResponse$zodSchema;
|
|
56581
|
+
var init_listannotationtasksannotationtasksgetop = __esm(() => {
|
|
56587
56582
|
init_zod();
|
|
56588
|
-
init_evaluatorlinkrequest();
|
|
56589
|
-
init_evaluatorlinkresponse();
|
|
56590
56583
|
init_httpvalidationerror();
|
|
56591
|
-
|
|
56592
|
-
|
|
56593
|
-
|
|
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(),
|
|
56594
56589
|
xAPIKey: string2().nullable().optional()
|
|
56595
56590
|
});
|
|
56596
|
-
|
|
56597
|
-
|
|
56591
|
+
ListAnnotationTasksAnnotationTasksGetResponse$zodSchema = union([
|
|
56592
|
+
PaginatedResponseAnnotationTaskResponse$zodSchema,
|
|
56598
56593
|
HTTPValidationError$zodSchema
|
|
56599
56594
|
]);
|
|
56600
56595
|
});
|
|
56601
56596
|
|
|
56602
|
-
// src/funcs/
|
|
56603
|
-
function
|
|
56597
|
+
// src/funcs/annotationTasksList.ts
|
|
56598
|
+
function annotationTasksList(client$, request, options) {
|
|
56604
56599
|
return new APIPromise($do22(client$, request, options));
|
|
56605
56600
|
}
|
|
56606
56601
|
async function $do22(client$, request, options) {
|
|
56607
|
-
const parsed$ = safeParse4(request, (value$) =>
|
|
56602
|
+
const parsed$ = safeParse4(request, (value$) => ListAnnotationTasksAnnotationTasksGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
56608
56603
|
if (!parsed$.ok) {
|
|
56609
56604
|
return [parsed$, { status: "invalid" }];
|
|
56610
56605
|
}
|
|
56611
56606
|
const payload$ = parsed$.value;
|
|
56612
|
-
const body$ =
|
|
56613
|
-
const
|
|
56614
|
-
|
|
56615
|
-
|
|
56616
|
-
|
|
56617
|
-
|
|
56618
|
-
};
|
|
56619
|
-
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
|
+
});
|
|
56620
56614
|
const headers$ = new Headers(compactMap({
|
|
56621
|
-
"Content-Type": "application/json",
|
|
56622
56615
|
Accept: "application/json",
|
|
56623
|
-
"X-API-Key": encodeSimple("X-API-Key", payload
|
|
56616
|
+
"X-API-Key": encodeSimple("X-API-Key", payload$?.xAPIKey, {
|
|
56624
56617
|
explode: false,
|
|
56625
56618
|
charEncoding: "none"
|
|
56626
56619
|
})
|
|
@@ -56630,7 +56623,7 @@ async function $do22(client$, request, options) {
|
|
|
56630
56623
|
const context = {
|
|
56631
56624
|
options: client$._options,
|
|
56632
56625
|
baseURL: options?.serverURL ?? client$._baseURL ?? "",
|
|
56633
|
-
operationID: "
|
|
56626
|
+
operationID: "list_annotation_tasks_annotation_tasks_get",
|
|
56634
56627
|
oAuth2Scopes: null,
|
|
56635
56628
|
resolvedSecurity: requestSecurity,
|
|
56636
56629
|
securitySource: client$._options.security,
|
|
@@ -56645,10 +56638,11 @@ async function $do22(client$, request, options) {
|
|
|
56645
56638
|
};
|
|
56646
56639
|
const requestRes = client$._createRequest(context, {
|
|
56647
56640
|
security: requestSecurity,
|
|
56648
|
-
method: "
|
|
56641
|
+
method: "GET",
|
|
56649
56642
|
baseURL: options?.serverURL,
|
|
56650
56643
|
path: path$,
|
|
56651
56644
|
headers: headers$,
|
|
56645
|
+
query: query$,
|
|
56652
56646
|
body: body$,
|
|
56653
56647
|
userAgent: client$._options.userAgent,
|
|
56654
56648
|
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
@@ -56672,40 +56666,40 @@ async function $do22(client$, request, options) {
|
|
|
56672
56666
|
response: doResult.value
|
|
56673
56667
|
}];
|
|
56674
56668
|
}
|
|
56675
|
-
var
|
|
56669
|
+
var init_annotationTasksList = __esm(() => {
|
|
56676
56670
|
init_encodings();
|
|
56677
56671
|
init_primitives();
|
|
56678
56672
|
init_schemas4();
|
|
56679
56673
|
init_security();
|
|
56680
56674
|
init_url();
|
|
56681
|
-
|
|
56675
|
+
init_listannotationtasksannotationtasksgetop();
|
|
56682
56676
|
init_async();
|
|
56683
56677
|
});
|
|
56684
56678
|
|
|
56685
|
-
// src/mcp-server/tools/
|
|
56686
|
-
var args22, tool$
|
|
56687
|
-
var
|
|
56688
|
-
|
|
56689
|
-
|
|
56679
|
+
// src/mcp-server/tools/annotationTasksList.ts
|
|
56680
|
+
var args22, tool$annotationTasksList;
|
|
56681
|
+
var init_annotationTasksList2 = __esm(() => {
|
|
56682
|
+
init_annotationTasksList();
|
|
56683
|
+
init_listannotationtasksannotationtasksgetop();
|
|
56690
56684
|
init_tools();
|
|
56691
56685
|
args22 = {
|
|
56692
|
-
request:
|
|
56686
|
+
request: ListAnnotationTasksAnnotationTasksGetRequest$zodSchema.optional()
|
|
56693
56687
|
};
|
|
56694
|
-
tool$
|
|
56695
|
-
name: "
|
|
56696
|
-
description: `
|
|
56688
|
+
tool$annotationTasksList = {
|
|
56689
|
+
name: "list-annotation-tasks",
|
|
56690
|
+
description: `List your annotation tasks with their linked evaluators.
|
|
56697
56691
|
`,
|
|
56698
|
-
scopes: ["
|
|
56692
|
+
scopes: ["read"],
|
|
56699
56693
|
annotations: {
|
|
56700
|
-
title: "
|
|
56694
|
+
title: "List annotation tasks",
|
|
56701
56695
|
destructiveHint: false,
|
|
56702
|
-
idempotentHint:
|
|
56696
|
+
idempotentHint: false,
|
|
56703
56697
|
openWorldHint: true,
|
|
56704
|
-
readOnlyHint:
|
|
56698
|
+
readOnlyHint: true
|
|
56705
56699
|
},
|
|
56706
56700
|
args: args22,
|
|
56707
56701
|
tool: async (client, args23, ctx) => {
|
|
56708
|
-
const [result] = await
|
|
56702
|
+
const [result] = await annotationTasksList(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56709
56703
|
if (!result.ok) {
|
|
56710
56704
|
return {
|
|
56711
56705
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56717,57 +56711,67 @@ var init_annotationTasksLinkEvaluator2 = __esm(() => {
|
|
|
56717
56711
|
};
|
|
56718
56712
|
});
|
|
56719
56713
|
|
|
56720
|
-
// src/models/
|
|
56721
|
-
var
|
|
56722
|
-
var
|
|
56714
|
+
// src/models/evaluatorsetrequest.ts
|
|
56715
|
+
var EvaluatorSetRequest$zodSchema;
|
|
56716
|
+
var init_evaluatorsetrequest = __esm(() => {
|
|
56723
56717
|
init_zod();
|
|
56724
|
-
|
|
56725
|
-
|
|
56726
|
-
items: array(AnnotationTaskResponse$zodSchema).describe("The page of results"),
|
|
56727
|
-
limit: int().nullable().optional().describe("The applied `limit` (null when unbounded)"),
|
|
56728
|
-
offset: int().default(0).describe("The applied `offset`"),
|
|
56729
|
-
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")
|
|
56730
56720
|
});
|
|
56731
56721
|
});
|
|
56732
56722
|
|
|
56733
|
-
// src/models/
|
|
56734
|
-
var
|
|
56735
|
-
var
|
|
56723
|
+
// src/models/evaluatorsetresponse.ts
|
|
56724
|
+
var EvaluatorSetResponse$zodSchema;
|
|
56725
|
+
var init_evaluatorsetresponse = __esm(() => {
|
|
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(() => {
|
|
56736
56738
|
init_zod();
|
|
56739
|
+
init_evaluatorsetrequest();
|
|
56740
|
+
init_evaluatorsetresponse();
|
|
56737
56741
|
init_httpvalidationerror();
|
|
56738
|
-
|
|
56739
|
-
|
|
56740
|
-
|
|
56741
|
-
offset: int().default(0).describe("Number of items to skip before returning results"),
|
|
56742
|
-
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"),
|
|
56743
56745
|
xAPIKey: string2().nullable().optional()
|
|
56744
56746
|
});
|
|
56745
|
-
|
|
56746
|
-
|
|
56747
|
+
SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutResponse$zodSchema = union([
|
|
56748
|
+
EvaluatorSetResponse$zodSchema,
|
|
56747
56749
|
HTTPValidationError$zodSchema
|
|
56748
56750
|
]);
|
|
56749
56751
|
});
|
|
56750
56752
|
|
|
56751
|
-
// src/funcs/
|
|
56752
|
-
function
|
|
56753
|
+
// src/funcs/annotationTasksSetEvaluators.ts
|
|
56754
|
+
function annotationTasksSetEvaluators(client$, request, options) {
|
|
56753
56755
|
return new APIPromise($do23(client$, request, options));
|
|
56754
56756
|
}
|
|
56755
56757
|
async function $do23(client$, request, options) {
|
|
56756
|
-
const parsed$ = safeParse4(request, (value$) =>
|
|
56758
|
+
const parsed$ = safeParse4(request, (value$) => SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56757
56759
|
if (!parsed$.ok) {
|
|
56758
56760
|
return [parsed$, { status: "invalid" }];
|
|
56759
56761
|
}
|
|
56760
56762
|
const payload$ = parsed$.value;
|
|
56761
|
-
const body$ =
|
|
56762
|
-
const
|
|
56763
|
-
|
|
56764
|
-
|
|
56765
|
-
|
|
56766
|
-
|
|
56767
|
-
}
|
|
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$);
|
|
56768
56771
|
const headers$ = new Headers(compactMap({
|
|
56772
|
+
"Content-Type": "application/json",
|
|
56769
56773
|
Accept: "application/json",
|
|
56770
|
-
"X-API-Key": encodeSimple("X-API-Key", payload
|
|
56774
|
+
"X-API-Key": encodeSimple("X-API-Key", payload$.xAPIKey, {
|
|
56771
56775
|
explode: false,
|
|
56772
56776
|
charEncoding: "none"
|
|
56773
56777
|
})
|
|
@@ -56777,7 +56781,7 @@ async function $do23(client$, request, options) {
|
|
|
56777
56781
|
const context = {
|
|
56778
56782
|
options: client$._options,
|
|
56779
56783
|
baseURL: options?.serverURL ?? client$._baseURL ?? "",
|
|
56780
|
-
operationID: "
|
|
56784
|
+
operationID: "set_task_evaluators_annotation_tasks__task_uuid__evaluators_put",
|
|
56781
56785
|
oAuth2Scopes: null,
|
|
56782
56786
|
resolvedSecurity: requestSecurity,
|
|
56783
56787
|
securitySource: client$._options.security,
|
|
@@ -56792,11 +56796,10 @@ async function $do23(client$, request, options) {
|
|
|
56792
56796
|
};
|
|
56793
56797
|
const requestRes = client$._createRequest(context, {
|
|
56794
56798
|
security: requestSecurity,
|
|
56795
|
-
method: "
|
|
56799
|
+
method: "PUT",
|
|
56796
56800
|
baseURL: options?.serverURL,
|
|
56797
56801
|
path: path$,
|
|
56798
56802
|
headers: headers$,
|
|
56799
|
-
query: query$,
|
|
56800
56803
|
body: body$,
|
|
56801
56804
|
userAgent: client$._options.userAgent,
|
|
56802
56805
|
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
@@ -56820,40 +56823,44 @@ async function $do23(client$, request, options) {
|
|
|
56820
56823
|
response: doResult.value
|
|
56821
56824
|
}];
|
|
56822
56825
|
}
|
|
56823
|
-
var
|
|
56826
|
+
var init_annotationTasksSetEvaluators = __esm(() => {
|
|
56824
56827
|
init_encodings();
|
|
56825
56828
|
init_primitives();
|
|
56826
56829
|
init_schemas4();
|
|
56827
56830
|
init_security();
|
|
56828
56831
|
init_url();
|
|
56829
|
-
|
|
56832
|
+
init_settaskevaluatorsannotationtaskstaskuuidevaluatorsputop();
|
|
56830
56833
|
init_async();
|
|
56831
56834
|
});
|
|
56832
56835
|
|
|
56833
|
-
// src/mcp-server/tools/
|
|
56834
|
-
var args23, tool$
|
|
56835
|
-
var
|
|
56836
|
-
|
|
56837
|
-
|
|
56836
|
+
// src/mcp-server/tools/annotationTasksSetEvaluators.ts
|
|
56837
|
+
var args23, tool$annotationTasksSetEvaluators;
|
|
56838
|
+
var init_annotationTasksSetEvaluators2 = __esm(() => {
|
|
56839
|
+
init_annotationTasksSetEvaluators();
|
|
56840
|
+
init_settaskevaluatorsannotationtaskstaskuuidevaluatorsputop();
|
|
56838
56841
|
init_tools();
|
|
56839
56842
|
args23 = {
|
|
56840
|
-
request:
|
|
56841
|
-
};
|
|
56842
|
-
tool$
|
|
56843
|
-
name: "
|
|
56844
|
-
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.
|
|
56845
56852
|
`,
|
|
56846
|
-
scopes: ["
|
|
56853
|
+
scopes: ["write"],
|
|
56847
56854
|
annotations: {
|
|
56848
|
-
title: "
|
|
56855
|
+
title: "Set an annotation task's evaluators",
|
|
56849
56856
|
destructiveHint: false,
|
|
56850
|
-
idempotentHint:
|
|
56857
|
+
idempotentHint: true,
|
|
56851
56858
|
openWorldHint: true,
|
|
56852
|
-
readOnlyHint:
|
|
56859
|
+
readOnlyHint: false
|
|
56853
56860
|
},
|
|
56854
56861
|
args: args23,
|
|
56855
56862
|
tool: async (client, args24, ctx) => {
|
|
56856
|
-
const [result] = await
|
|
56863
|
+
const [result] = await annotationTasksSetEvaluators(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56857
56864
|
if (!result.ok) {
|
|
56858
56865
|
return {
|
|
56859
56866
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58659,7 +58666,7 @@ fields to change (name, config). Returns the updated test. Fails with
|
|
|
58659
58666
|
function createMCPServer(deps) {
|
|
58660
58667
|
const server = new McpServer({
|
|
58661
58668
|
name: "CalibrateMcp",
|
|
58662
|
-
version: "0.0.
|
|
58669
|
+
version: "0.0.26"
|
|
58663
58670
|
});
|
|
58664
58671
|
const getClient = deps.getSDK || (() => new CalibrateMcpCore({
|
|
58665
58672
|
security: deps.security,
|
|
@@ -58704,7 +58711,7 @@ function createMCPServer(deps) {
|
|
|
58704
58711
|
tool(tool$annotationTasksCreate);
|
|
58705
58712
|
tool(tool$annotationTasksList);
|
|
58706
58713
|
tool(tool$annotationTasksGet);
|
|
58707
|
-
tool(tool$
|
|
58714
|
+
tool(tool$annotationTasksSetEvaluators);
|
|
58708
58715
|
tool(tool$annotationTasksAddItems);
|
|
58709
58716
|
tool(tool$annotationTasksUpdateItems);
|
|
58710
58717
|
tool(tool$annotationTasksCreateEvaluatorRun);
|
|
@@ -58742,8 +58749,8 @@ var init_server2 = __esm(() => {
|
|
|
58742
58749
|
init_annotationTasksGetAgreement2();
|
|
58743
58750
|
init_annotationTasksGetEvaluatorRun2();
|
|
58744
58751
|
init_annotationTasksGetSummary2();
|
|
58745
|
-
init_annotationTasksLinkEvaluator2();
|
|
58746
58752
|
init_annotationTasksList2();
|
|
58753
|
+
init_annotationTasksSetEvaluators2();
|
|
58747
58754
|
init_annotationTasksUpdateItems2();
|
|
58748
58755
|
init_evaluatorsCreate2();
|
|
58749
58756
|
init_evaluatorsCreateVersion2();
|
|
@@ -58925,8 +58932,12 @@ run-agent-tests-batch.
|
|
|
58925
58932
|
`
|
|
58926
58933
|
},
|
|
58927
58934
|
{
|
|
58928
|
-
name: "
|
|
58929
|
-
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.
|
|
58930
58941
|
`
|
|
58931
58942
|
},
|
|
58932
58943
|
{
|
|
@@ -59865,7 +59876,7 @@ http_headers = { "api-key-auth" = "YOUR_API_KEY_AUTH" }`;
|
|
|
59865
59876
|
<h1>Instructions</h1>
|
|
59866
59877
|
<p>One-click installation for Claude Desktop users</p>
|
|
59867
59878
|
<div class="instruction-item">
|
|
59868
|
-
<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;">
|
|
59869
59880
|
\uD83D\uDCE5 Download MCP Bundle
|
|
59870
59881
|
</a>
|
|
59871
59882
|
</div>
|
|
@@ -62517,7 +62528,7 @@ var routes = buildRouteMap({
|
|
|
62517
62528
|
var app = buildApplication(routes, {
|
|
62518
62529
|
name: "mcp",
|
|
62519
62530
|
versionInfo: {
|
|
62520
|
-
currentVersion: "0.0.
|
|
62531
|
+
currentVersion: "0.0.26"
|
|
62521
62532
|
}
|
|
62522
62533
|
});
|
|
62523
62534
|
run(app, process4.argv.slice(2), buildContext(process4));
|
|
@@ -62525,5 +62536,5 @@ export {
|
|
|
62525
62536
|
app
|
|
62526
62537
|
};
|
|
62527
62538
|
|
|
62528
|
-
//# debugId=
|
|
62539
|
+
//# debugId=DE4BD7689C1357ED64756E2164756E21
|
|
62529
62540
|
//# sourceMappingURL=mcp-server.js.map
|