@dalmia/calibrate-mcp 0.0.22 → 0.0.24
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 +140 -25
- package/bin/mcp-server.js.map +24 -20
- package/esm/funcs/agentTestsListForAgent.js +7 -1
- package/esm/funcs/agentTestsListForAgent.js.map +1 -1
- package/esm/funcs/agentTestsListRunsForAgent.js +9 -1
- package/esm/funcs/agentTestsListRunsForAgent.js.map +1 -1
- package/esm/funcs/agentsList.js +7 -1
- package/esm/funcs/agentsList.js.map +1 -1
- package/esm/funcs/annotationTasksList.js +7 -1
- package/esm/funcs/annotationTasksList.js.map +1 -1
- package/esm/funcs/evaluatorsList.js +3 -0
- package/esm/funcs/evaluatorsList.js.map +1 -1
- package/esm/funcs/testsList.js +7 -1
- package/esm/funcs/testsList.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 +1 -1
- package/esm/models/getagenttestrunsagenttestsagentagentuuidrunsgetop.d.ts +32 -2
- package/esm/models/getagenttestrunsagenttestsagentagentuuidrunsgetop.d.ts.map +1 -1
- package/esm/models/getagenttestrunsagenttestsagentagentuuidrunsgetop.js +25 -2
- package/esm/models/getagenttestrunsagenttestsagentagentuuidrunsgetop.js.map +1 -1
- package/esm/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.d.ts +5 -2
- package/esm/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.d.ts.map +1 -1
- package/esm/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.js +5 -2
- package/esm/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.js.map +1 -1
- package/esm/models/listagentsagentsgetop.d.ts +5 -2
- package/esm/models/listagentsagentsgetop.d.ts.map +1 -1
- package/esm/models/listagentsagentsgetop.js +5 -2
- package/esm/models/listagentsagentsgetop.js.map +1 -1
- package/esm/models/listannotationtasksannotationtasksgetop.d.ts +5 -2
- package/esm/models/listannotationtasksannotationtasksgetop.d.ts.map +1 -1
- package/esm/models/listannotationtasksannotationtasksgetop.js +5 -2
- package/esm/models/listannotationtasksannotationtasksgetop.js.map +1 -1
- package/esm/models/listevaluatorsevaluatorsgetop.d.ts +5 -2
- package/esm/models/listevaluatorsevaluatorsgetop.d.ts.map +1 -1
- package/esm/models/listevaluatorsevaluatorsgetop.js +5 -2
- package/esm/models/listevaluatorsevaluatorsgetop.js.map +1 -1
- package/esm/models/listteststestsgetop.d.ts +5 -2
- package/esm/models/listteststestsgetop.d.ts.map +1 -1
- package/esm/models/listteststestsgetop.js +5 -2
- package/esm/models/listteststestsgetop.js.map +1 -1
- package/esm/models/paginatedresponseagentsummary.d.ts +10 -0
- package/esm/models/paginatedresponseagentsummary.d.ts.map +1 -0
- package/esm/models/paginatedresponseagentsummary.js +12 -0
- package/esm/models/paginatedresponseagentsummary.js.map +1 -0
- package/esm/models/paginatedresponseagenttestrunlistitem.d.ts +10 -0
- package/esm/models/paginatedresponseagenttestrunlistitem.d.ts.map +1 -0
- package/esm/models/paginatedresponseagenttestrunlistitem.js +12 -0
- package/esm/models/paginatedresponseagenttestrunlistitem.js.map +1 -0
- package/esm/models/paginatedresponseannotationtaskresponse.d.ts +10 -0
- package/esm/models/paginatedresponseannotationtaskresponse.d.ts.map +1 -0
- package/esm/models/paginatedresponseannotationtaskresponse.js +12 -0
- package/esm/models/paginatedresponseannotationtaskresponse.js.map +1 -0
- package/esm/models/paginatedresponseevaluatorresponse.d.ts +10 -0
- package/esm/models/paginatedresponseevaluatorresponse.d.ts.map +1 -0
- package/esm/models/paginatedresponseevaluatorresponse.js +12 -0
- package/esm/models/paginatedresponseevaluatorresponse.js.map +1 -0
- package/esm/models/paginatedresponsetestlistresponse.d.ts +10 -0
- package/esm/models/paginatedresponsetestlistresponse.d.ts.map +1 -0
- package/esm/models/paginatedresponsetestlistresponse.js +12 -0
- package/esm/models/paginatedresponsetestlistresponse.js.map +1 -0
- package/package.json +1 -1
- package/src/funcs/agentTestsListForAgent.ts +7 -1
- package/src/funcs/agentTestsListRunsForAgent.ts +9 -1
- package/src/funcs/agentsList.ts +7 -1
- package/src/funcs/annotationTasksList.ts +7 -1
- package/src/funcs/evaluatorsList.ts +3 -0
- package/src/funcs/testsList.ts +7 -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 +1 -1
- package/src/models/getagenttestrunsagenttestsagentagentuuidrunsgetop.ts +59 -6
- package/src/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.ts +17 -5
- package/src/models/listagentsagentsgetop.ts +18 -3
- package/src/models/listannotationtasksannotationtasksgetop.ts +18 -6
- package/src/models/listevaluatorsevaluatorsgetop.ts +17 -7
- package/src/models/listteststestsgetop.ts +20 -6
- package/src/models/paginatedresponseagentsummary.ts +26 -0
- package/src/models/paginatedresponseagenttestrunlistitem.ts +31 -0
- package/src/models/paginatedresponseannotationtaskresponse.ts +31 -0
- package/src/models/paginatedresponseevaluatorresponse.ts +31 -0
- package/src/models/paginatedresponsetestlistresponse.ts +29 -0
- package/esm/models/agenttestrunsresponse.d.ts +0 -7
- package/esm/models/agenttestrunsresponse.d.ts.map +0 -1
- package/esm/models/agenttestrunsresponse.js +0 -9
- package/esm/models/agenttestrunsresponse.js.map +0 -1
- package/src/models/agenttestrunsresponse.ts +0 -18
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.24",
|
|
51396
51396
|
genVersion: "2.915.1",
|
|
51397
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.0.
|
|
51397
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.0.24 2.915.1 0.1.0 @dalmia/calibrate-mcp"
|
|
51398
51398
|
};
|
|
51399
51399
|
});
|
|
51400
51400
|
|
|
@@ -53223,17 +53223,33 @@ var init_agentsummary = __esm(() => {
|
|
|
53223
53223
|
});
|
|
53224
53224
|
});
|
|
53225
53225
|
|
|
53226
|
+
// src/models/paginatedresponseagentsummary.ts
|
|
53227
|
+
var PaginatedResponseAgentSummary$zodSchema;
|
|
53228
|
+
var init_paginatedresponseagentsummary = __esm(() => {
|
|
53229
|
+
init_zod();
|
|
53230
|
+
init_agentsummary();
|
|
53231
|
+
PaginatedResponseAgentSummary$zodSchema = object({
|
|
53232
|
+
items: array(AgentSummary$zodSchema).describe("The page of results"),
|
|
53233
|
+
limit: int().nullable().optional().describe("The applied `limit` (null when unbounded)"),
|
|
53234
|
+
offset: int().default(0).describe("The applied `offset`"),
|
|
53235
|
+
total: int().describe("Total number of items matching the query, before pagination")
|
|
53236
|
+
});
|
|
53237
|
+
});
|
|
53238
|
+
|
|
53226
53239
|
// src/models/listagentsagentsgetop.ts
|
|
53227
53240
|
var ListAgentsAgentsGetRequest$zodSchema, ListAgentsAgentsGetResponse$zodSchema;
|
|
53228
53241
|
var init_listagentsagentsgetop = __esm(() => {
|
|
53229
53242
|
init_zod();
|
|
53230
|
-
init_agentsummary();
|
|
53231
53243
|
init_httpvalidationerror();
|
|
53244
|
+
init_paginatedresponseagentsummary();
|
|
53232
53245
|
ListAgentsAgentsGetRequest$zodSchema = object({
|
|
53246
|
+
limit: int().describe("Maximum number of items to return. Omit for no limit (all items)").nullable().optional(),
|
|
53247
|
+
offset: int().default(0).describe("Number of items to skip before returning results"),
|
|
53248
|
+
q: string2().describe("Case-insensitive substring search on `name`. Blank is a no-op").nullable().optional(),
|
|
53233
53249
|
xAPIKey: string2().nullable().optional()
|
|
53234
53250
|
});
|
|
53235
53251
|
ListAgentsAgentsGetResponse$zodSchema = union([
|
|
53236
|
-
|
|
53252
|
+
PaginatedResponseAgentSummary$zodSchema,
|
|
53237
53253
|
HTTPValidationError$zodSchema
|
|
53238
53254
|
]);
|
|
53239
53255
|
});
|
|
@@ -53250,6 +53266,11 @@ async function $do3(client$, request, options) {
|
|
|
53250
53266
|
const payload$ = parsed$.value;
|
|
53251
53267
|
const body$ = null;
|
|
53252
53268
|
const path$ = pathToFunc("/agents")();
|
|
53269
|
+
const query$ = encodeFormQuery({
|
|
53270
|
+
limit: payload$?.limit,
|
|
53271
|
+
offset: payload$?.offset,
|
|
53272
|
+
q: payload$?.q
|
|
53273
|
+
});
|
|
53253
53274
|
const headers$ = new Headers(compactMap({
|
|
53254
53275
|
Accept: "application/json",
|
|
53255
53276
|
"X-API-Key": encodeSimple("X-API-Key", payload$?.xAPIKey, {
|
|
@@ -53281,6 +53302,7 @@ async function $do3(client$, request, options) {
|
|
|
53281
53302
|
baseURL: options?.serverURL,
|
|
53282
53303
|
path: path$,
|
|
53283
53304
|
headers: headers$,
|
|
53305
|
+
query: query$,
|
|
53284
53306
|
body: body$,
|
|
53285
53307
|
userAgent: client$._options.userAgent,
|
|
53286
53308
|
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
@@ -54566,18 +54588,34 @@ var init_testlistresponse = __esm(() => {
|
|
|
54566
54588
|
}).describe("Trimmed test shape for list/index endpoints. The full config and hydrated\nevaluators live on the detail endpoint (`GET /tests/{uuid}`); the list keeps\nonly what list and attach-dropdown views render.");
|
|
54567
54589
|
});
|
|
54568
54590
|
|
|
54591
|
+
// src/models/paginatedresponsetestlistresponse.ts
|
|
54592
|
+
var PaginatedResponseTestListResponse$zodSchema;
|
|
54593
|
+
var init_paginatedresponsetestlistresponse = __esm(() => {
|
|
54594
|
+
init_zod();
|
|
54595
|
+
init_testlistresponse();
|
|
54596
|
+
PaginatedResponseTestListResponse$zodSchema = object({
|
|
54597
|
+
items: array(TestListResponse$zodSchema).describe("The page of results"),
|
|
54598
|
+
limit: int().nullable().optional().describe("The applied `limit` (null when unbounded)"),
|
|
54599
|
+
offset: int().default(0).describe("The applied `offset`"),
|
|
54600
|
+
total: int().describe("Total number of items matching the query, before pagination")
|
|
54601
|
+
});
|
|
54602
|
+
});
|
|
54603
|
+
|
|
54569
54604
|
// src/models/getagenttestsendpointagenttestsagentagentuuidtestsgetop.ts
|
|
54570
54605
|
var GetAgentTestsEndpointAgentTestsAgentAgentUuidTestsGetRequest$zodSchema, GetAgentTestsEndpointAgentTestsAgentAgentUuidTestsGetResponse$zodSchema;
|
|
54571
54606
|
var init_getagenttestsendpointagenttestsagentagentuuidtestsgetop = __esm(() => {
|
|
54572
54607
|
init_zod();
|
|
54573
54608
|
init_httpvalidationerror();
|
|
54574
|
-
|
|
54609
|
+
init_paginatedresponsetestlistresponse();
|
|
54575
54610
|
GetAgentTestsEndpointAgentTestsAgentAgentUuidTestsGetRequest$zodSchema = object({
|
|
54576
54611
|
agent_uuid: string2().describe("Agent whose linked tests to list"),
|
|
54612
|
+
limit: int().describe("Maximum number of items to return. Omit for no limit (all items)").nullable().optional(),
|
|
54613
|
+
offset: int().default(0).describe("Number of items to skip before returning results"),
|
|
54614
|
+
q: string2().describe("Case-insensitive substring search on `name`. Blank is a no-op").nullable().optional(),
|
|
54577
54615
|
xAPIKey: string2().nullable().optional()
|
|
54578
54616
|
});
|
|
54579
54617
|
GetAgentTestsEndpointAgentTestsAgentAgentUuidTestsGetResponse$zodSchema = union([
|
|
54580
|
-
|
|
54618
|
+
PaginatedResponseTestListResponse$zodSchema,
|
|
54581
54619
|
HTTPValidationError$zodSchema
|
|
54582
54620
|
]);
|
|
54583
54621
|
});
|
|
@@ -54600,6 +54638,11 @@ async function $do11(client$, request, options) {
|
|
|
54600
54638
|
})
|
|
54601
54639
|
};
|
|
54602
54640
|
const path$ = pathToFunc("/agent-tests/agent/{agent_uuid}/tests")(pathParams$);
|
|
54641
|
+
const query$ = encodeFormQuery({
|
|
54642
|
+
limit: payload$.limit,
|
|
54643
|
+
offset: payload$.offset,
|
|
54644
|
+
q: payload$.q
|
|
54645
|
+
});
|
|
54603
54646
|
const headers$ = new Headers(compactMap({
|
|
54604
54647
|
Accept: "application/json",
|
|
54605
54648
|
"X-API-Key": encodeSimple("X-API-Key", payload$.xAPIKey, {
|
|
@@ -54631,6 +54674,7 @@ async function $do11(client$, request, options) {
|
|
|
54631
54674
|
baseURL: options?.serverURL,
|
|
54632
54675
|
path: path$,
|
|
54633
54676
|
headers: headers$,
|
|
54677
|
+
query: query$,
|
|
54634
54678
|
body: body$,
|
|
54635
54679
|
userAgent: client$._options.userAgent,
|
|
54636
54680
|
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
@@ -54758,28 +54802,41 @@ var init_agenttestrunlistitem = __esm(() => {
|
|
|
54758
54802
|
});
|
|
54759
54803
|
});
|
|
54760
54804
|
|
|
54761
|
-
// src/models/
|
|
54762
|
-
var
|
|
54763
|
-
var
|
|
54805
|
+
// src/models/paginatedresponseagenttestrunlistitem.ts
|
|
54806
|
+
var PaginatedResponseAgentTestRunListItem$zodSchema;
|
|
54807
|
+
var init_paginatedresponseagenttestrunlistitem = __esm(() => {
|
|
54764
54808
|
init_zod();
|
|
54765
54809
|
init_agenttestrunlistitem();
|
|
54766
|
-
|
|
54767
|
-
|
|
54810
|
+
PaginatedResponseAgentTestRunListItem$zodSchema = object({
|
|
54811
|
+
items: array(AgentTestRunListItem$zodSchema).describe("The page of results"),
|
|
54812
|
+
limit: int().nullable().optional().describe("The applied `limit` (null when unbounded)"),
|
|
54813
|
+
offset: int().default(0).describe("The applied `offset`"),
|
|
54814
|
+
total: int().describe("Total number of items matching the query, before pagination")
|
|
54768
54815
|
});
|
|
54769
54816
|
});
|
|
54770
54817
|
|
|
54771
54818
|
// src/models/getagenttestrunsagenttestsagentagentuuidrunsgetop.ts
|
|
54772
|
-
var GetAgentTestRunsAgentTestsAgentAgentUuidRunsGetRequest$zodSchema, GetAgentTestRunsAgentTestsAgentAgentUuidRunsGetResponse$zodSchema;
|
|
54819
|
+
var GetAgentTestRunsAgentTestsAgentAgentUuidRunsGetType$zodSchema, GetAgentTestRunsAgentTestsAgentAgentUuidRunsGetRequest$zodSchema, GetAgentTestRunsAgentTestsAgentAgentUuidRunsGetResponse$zodSchema;
|
|
54773
54820
|
var init_getagenttestrunsagenttestsagentagentuuidrunsgetop = __esm(() => {
|
|
54774
54821
|
init_zod();
|
|
54775
|
-
init_agenttestrunsresponse();
|
|
54776
54822
|
init_httpvalidationerror();
|
|
54823
|
+
init_paginatedresponseagenttestrunlistitem();
|
|
54824
|
+
init_taskstatus();
|
|
54825
|
+
GetAgentTestRunsAgentTestsAgentAgentUuidRunsGetType$zodSchema = _enum([
|
|
54826
|
+
"llm-unit-test",
|
|
54827
|
+
"llm-benchmark"
|
|
54828
|
+
]).describe("Filter by run type. Omit to return both:\n- `llm-unit-test`: single runs of an agent's tests\n- `llm-benchmark`: multi-model comparisons");
|
|
54777
54829
|
GetAgentTestRunsAgentTestsAgentAgentUuidRunsGetRequest$zodSchema = object({
|
|
54778
54830
|
agent_uuid: string2().describe("Agent whose test runs to list"),
|
|
54831
|
+
has_failures: boolean2().describe("Filter by whether the run has any failing test case or model. `true` returns only runs with failures (or errors), `false` only clean runs. Omit for both").nullable().optional(),
|
|
54832
|
+
limit: int().describe("Maximum number of items to return. Omit for no limit (all items)").nullable().optional(),
|
|
54833
|
+
offset: int().default(0).describe("Number of items to skip before returning results"),
|
|
54834
|
+
status: TaskStatus$zodSchema.nullable().optional().describe("Filter by run status. Omit for all statuses"),
|
|
54835
|
+
type: GetAgentTestRunsAgentTestsAgentAgentUuidRunsGetType$zodSchema.nullable().optional().describe("Filter by run type. Omit to return both:\n- `llm-unit-test`: single runs of an agent's tests\n- `llm-benchmark`: multi-model comparisons"),
|
|
54779
54836
|
xAPIKey: string2().nullable().optional()
|
|
54780
54837
|
});
|
|
54781
54838
|
GetAgentTestRunsAgentTestsAgentAgentUuidRunsGetResponse$zodSchema = union([
|
|
54782
|
-
|
|
54839
|
+
PaginatedResponseAgentTestRunListItem$zodSchema,
|
|
54783
54840
|
HTTPValidationError$zodSchema
|
|
54784
54841
|
]);
|
|
54785
54842
|
});
|
|
@@ -54802,6 +54859,13 @@ async function $do12(client$, request, options) {
|
|
|
54802
54859
|
})
|
|
54803
54860
|
};
|
|
54804
54861
|
const path$ = pathToFunc("/agent-tests/agent/{agent_uuid}/runs")(pathParams$);
|
|
54862
|
+
const query$ = encodeFormQuery({
|
|
54863
|
+
has_failures: payload$.has_failures,
|
|
54864
|
+
limit: payload$.limit,
|
|
54865
|
+
offset: payload$.offset,
|
|
54866
|
+
status: payload$.status,
|
|
54867
|
+
type: payload$.type
|
|
54868
|
+
});
|
|
54805
54869
|
const headers$ = new Headers(compactMap({
|
|
54806
54870
|
Accept: "application/json",
|
|
54807
54871
|
"X-API-Key": encodeSimple("X-API-Key", payload$.xAPIKey, {
|
|
@@ -54833,6 +54897,7 @@ async function $do12(client$, request, options) {
|
|
|
54833
54897
|
baseURL: options?.serverURL,
|
|
54834
54898
|
path: path$,
|
|
54835
54899
|
headers: headers$,
|
|
54900
|
+
query: query$,
|
|
54836
54901
|
body: body$,
|
|
54837
54902
|
userAgent: client$._options.userAgent,
|
|
54838
54903
|
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
@@ -56634,17 +56699,33 @@ var init_annotationTasksLinkEvaluator2 = __esm(() => {
|
|
|
56634
56699
|
};
|
|
56635
56700
|
});
|
|
56636
56701
|
|
|
56702
|
+
// src/models/paginatedresponseannotationtaskresponse.ts
|
|
56703
|
+
var PaginatedResponseAnnotationTaskResponse$zodSchema;
|
|
56704
|
+
var init_paginatedresponseannotationtaskresponse = __esm(() => {
|
|
56705
|
+
init_zod();
|
|
56706
|
+
init_annotationtaskresponse();
|
|
56707
|
+
PaginatedResponseAnnotationTaskResponse$zodSchema = object({
|
|
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")
|
|
56712
|
+
});
|
|
56713
|
+
});
|
|
56714
|
+
|
|
56637
56715
|
// src/models/listannotationtasksannotationtasksgetop.ts
|
|
56638
56716
|
var ListAnnotationTasksAnnotationTasksGetRequest$zodSchema, ListAnnotationTasksAnnotationTasksGetResponse$zodSchema;
|
|
56639
56717
|
var init_listannotationtasksannotationtasksgetop = __esm(() => {
|
|
56640
56718
|
init_zod();
|
|
56641
|
-
init_annotationtaskresponse();
|
|
56642
56719
|
init_httpvalidationerror();
|
|
56720
|
+
init_paginatedresponseannotationtaskresponse();
|
|
56643
56721
|
ListAnnotationTasksAnnotationTasksGetRequest$zodSchema = object({
|
|
56722
|
+
limit: int().describe("Maximum number of items to return. Omit for no limit (all items)").nullable().optional(),
|
|
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(),
|
|
56644
56725
|
xAPIKey: string2().nullable().optional()
|
|
56645
56726
|
});
|
|
56646
56727
|
ListAnnotationTasksAnnotationTasksGetResponse$zodSchema = union([
|
|
56647
|
-
|
|
56728
|
+
PaginatedResponseAnnotationTaskResponse$zodSchema,
|
|
56648
56729
|
HTTPValidationError$zodSchema
|
|
56649
56730
|
]);
|
|
56650
56731
|
});
|
|
@@ -56661,6 +56742,11 @@ async function $do23(client$, request, options) {
|
|
|
56661
56742
|
const payload$ = parsed$.value;
|
|
56662
56743
|
const body$ = null;
|
|
56663
56744
|
const path$ = pathToFunc("/annotation-tasks")();
|
|
56745
|
+
const query$ = encodeFormQuery({
|
|
56746
|
+
limit: payload$?.limit,
|
|
56747
|
+
offset: payload$?.offset,
|
|
56748
|
+
q: payload$?.q
|
|
56749
|
+
});
|
|
56664
56750
|
const headers$ = new Headers(compactMap({
|
|
56665
56751
|
Accept: "application/json",
|
|
56666
56752
|
"X-API-Key": encodeSimple("X-API-Key", payload$?.xAPIKey, {
|
|
@@ -56692,6 +56778,7 @@ async function $do23(client$, request, options) {
|
|
|
56692
56778
|
baseURL: options?.serverURL,
|
|
56693
56779
|
path: path$,
|
|
56694
56780
|
headers: headers$,
|
|
56781
|
+
query: query$,
|
|
56695
56782
|
body: body$,
|
|
56696
56783
|
userAgent: client$._options.userAgent,
|
|
56697
56784
|
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
@@ -57537,12 +57624,25 @@ var init_routersevaluatorsevaluatorresponse = __esm(() => {
|
|
|
57537
57624
|
});
|
|
57538
57625
|
});
|
|
57539
57626
|
|
|
57627
|
+
// src/models/paginatedresponseevaluatorresponse.ts
|
|
57628
|
+
var PaginatedResponseEvaluatorResponse$zodSchema;
|
|
57629
|
+
var init_paginatedresponseevaluatorresponse = __esm(() => {
|
|
57630
|
+
init_zod();
|
|
57631
|
+
init_routersevaluatorsevaluatorresponse();
|
|
57632
|
+
PaginatedResponseEvaluatorResponse$zodSchema = object({
|
|
57633
|
+
items: array(RoutersEvaluatorsEvaluatorResponse$zodSchema).describe("The page of results"),
|
|
57634
|
+
limit: int().nullable().optional().describe("The applied `limit` (null when unbounded)"),
|
|
57635
|
+
offset: int().default(0).describe("The applied `offset`"),
|
|
57636
|
+
total: int().describe("Total number of items matching the query, before pagination")
|
|
57637
|
+
});
|
|
57638
|
+
});
|
|
57639
|
+
|
|
57540
57640
|
// src/models/listevaluatorsevaluatorsgetop.ts
|
|
57541
57641
|
var ListEvaluatorsEvaluatorsGetEvaluatorType$zodSchema, ListEvaluatorsEvaluatorsGetDataType$zodSchema, ListEvaluatorsEvaluatorsGetRequest$zodSchema, ListEvaluatorsEvaluatorsGetResponse$zodSchema;
|
|
57542
57642
|
var init_listevaluatorsevaluatorsgetop = __esm(() => {
|
|
57543
57643
|
init_zod();
|
|
57544
57644
|
init_httpvalidationerror();
|
|
57545
|
-
|
|
57645
|
+
init_paginatedresponseevaluatorresponse();
|
|
57546
57646
|
ListEvaluatorsEvaluatorsGetEvaluatorType$zodSchema = _enum([
|
|
57547
57647
|
"tts",
|
|
57548
57648
|
"stt",
|
|
@@ -57558,10 +57658,13 @@ var init_listevaluatorsevaluatorsgetop = __esm(() => {
|
|
|
57558
57658
|
data_type: ListEvaluatorsEvaluatorsGetDataType$zodSchema.nullable().optional().describe("Filter by modality. Omit for all"),
|
|
57559
57659
|
evaluator_type: ListEvaluatorsEvaluatorsGetEvaluatorType$zodSchema.nullable().optional().describe("Filter by what the evaluator judges. Omit for all types"),
|
|
57560
57660
|
include_defaults: boolean2().default(true).describe("When `true`, include the built-in default evaluators alongside the ones you created"),
|
|
57661
|
+
limit: int().describe("Maximum number of items to return. Omit for no limit (all items)").nullable().optional(),
|
|
57662
|
+
offset: int().default(0).describe("Number of items to skip before returning results"),
|
|
57663
|
+
q: string2().describe("Case-insensitive substring search on `name`. Blank is a no-op").nullable().optional(),
|
|
57561
57664
|
xAPIKey: string2().nullable().optional()
|
|
57562
57665
|
});
|
|
57563
57666
|
ListEvaluatorsEvaluatorsGetResponse$zodSchema = union([
|
|
57564
|
-
|
|
57667
|
+
PaginatedResponseEvaluatorResponse$zodSchema,
|
|
57565
57668
|
HTTPValidationError$zodSchema
|
|
57566
57669
|
]);
|
|
57567
57670
|
});
|
|
@@ -57581,7 +57684,10 @@ async function $do28(client$, request, options) {
|
|
|
57581
57684
|
const query$ = encodeFormQuery({
|
|
57582
57685
|
data_type: payload$?.data_type,
|
|
57583
57686
|
evaluator_type: payload$?.evaluator_type,
|
|
57584
|
-
include_defaults: payload$?.include_defaults
|
|
57687
|
+
include_defaults: payload$?.include_defaults,
|
|
57688
|
+
limit: payload$?.limit,
|
|
57689
|
+
offset: payload$?.offset,
|
|
57690
|
+
q: payload$?.q
|
|
57585
57691
|
});
|
|
57586
57692
|
const headers$ = new Headers(compactMap({
|
|
57587
57693
|
Accept: "application/json",
|
|
@@ -58231,12 +58337,15 @@ var ListTestsTestsGetRequest$zodSchema, ListTestsTestsGetResponse$zodSchema;
|
|
|
58231
58337
|
var init_listteststestsgetop = __esm(() => {
|
|
58232
58338
|
init_zod();
|
|
58233
58339
|
init_httpvalidationerror();
|
|
58234
|
-
|
|
58340
|
+
init_paginatedresponsetestlistresponse();
|
|
58235
58341
|
ListTestsTestsGetRequest$zodSchema = object({
|
|
58342
|
+
limit: int().describe("Maximum number of items to return. Omit for no limit (all items)").nullable().optional(),
|
|
58343
|
+
offset: int().default(0).describe("Number of items to skip before returning results"),
|
|
58344
|
+
q: string2().describe("Case-insensitive substring search on `name`. Blank is a no-op").nullable().optional(),
|
|
58236
58345
|
xAPIKey: string2().nullable().optional()
|
|
58237
58346
|
});
|
|
58238
58347
|
ListTestsTestsGetResponse$zodSchema = union([
|
|
58239
|
-
|
|
58348
|
+
PaginatedResponseTestListResponse$zodSchema,
|
|
58240
58349
|
HTTPValidationError$zodSchema
|
|
58241
58350
|
]);
|
|
58242
58351
|
});
|
|
@@ -58253,6 +58362,11 @@ async function $do32(client$, request, options) {
|
|
|
58253
58362
|
const payload$ = parsed$.value;
|
|
58254
58363
|
const body$ = null;
|
|
58255
58364
|
const path$ = pathToFunc("/tests")();
|
|
58365
|
+
const query$ = encodeFormQuery({
|
|
58366
|
+
limit: payload$?.limit,
|
|
58367
|
+
offset: payload$?.offset,
|
|
58368
|
+
q: payload$?.q
|
|
58369
|
+
});
|
|
58256
58370
|
const headers$ = new Headers(compactMap({
|
|
58257
58371
|
Accept: "application/json",
|
|
58258
58372
|
"X-API-Key": encodeSimple("X-API-Key", payload$?.xAPIKey, {
|
|
@@ -58284,6 +58398,7 @@ async function $do32(client$, request, options) {
|
|
|
58284
58398
|
baseURL: options?.serverURL,
|
|
58285
58399
|
path: path$,
|
|
58286
58400
|
headers: headers$,
|
|
58401
|
+
query: query$,
|
|
58287
58402
|
body: body$,
|
|
58288
58403
|
userAgent: client$._options.userAgent,
|
|
58289
58404
|
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
@@ -58521,7 +58636,7 @@ fields to change (name, config). Returns the updated test. Fails with
|
|
|
58521
58636
|
function createMCPServer(deps) {
|
|
58522
58637
|
const server = new McpServer({
|
|
58523
58638
|
name: "CalibrateMcp",
|
|
58524
|
-
version: "0.0.
|
|
58639
|
+
version: "0.0.24"
|
|
58525
58640
|
});
|
|
58526
58641
|
const getClient = deps.getSDK || (() => new CalibrateMcpCore({
|
|
58527
58642
|
security: deps.security,
|
|
@@ -59727,7 +59842,7 @@ http_headers = { "api-key-auth" = "YOUR_API_KEY_AUTH" }`;
|
|
|
59727
59842
|
<h1>Instructions</h1>
|
|
59728
59843
|
<p>One-click installation for Claude Desktop users</p>
|
|
59729
59844
|
<div class="instruction-item">
|
|
59730
|
-
<a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.
|
|
59845
|
+
<a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.24/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
|
|
59731
59846
|
\uD83D\uDCE5 Download MCP Bundle
|
|
59732
59847
|
</a>
|
|
59733
59848
|
</div>
|
|
@@ -62379,7 +62494,7 @@ var routes = buildRouteMap({
|
|
|
62379
62494
|
var app = buildApplication(routes, {
|
|
62380
62495
|
name: "mcp",
|
|
62381
62496
|
versionInfo: {
|
|
62382
|
-
currentVersion: "0.0.
|
|
62497
|
+
currentVersion: "0.0.24"
|
|
62383
62498
|
}
|
|
62384
62499
|
});
|
|
62385
62500
|
run(app, process4.argv.slice(2), buildContext(process4));
|
|
@@ -62387,5 +62502,5 @@ export {
|
|
|
62387
62502
|
app
|
|
62388
62503
|
};
|
|
62389
62504
|
|
|
62390
|
-
//# debugId=
|
|
62505
|
+
//# debugId=F30249DEC7355B7B64756E2164756E21
|
|
62391
62506
|
//# sourceMappingURL=mcp-server.js.map
|