@dalmia/calibrate-mcp 0.0.53 → 0.0.54
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 +394 -215
- package/bin/mcp-server.js.map +17 -14
- package/esm/funcs/agentTestsGetBenchmark.js +1 -0
- package/esm/funcs/agentTestsGetBenchmark.js.map +1 -1
- package/esm/funcs/agentTestsGetRun.js +1 -0
- package/esm/funcs/agentTestsGetRun.js.map +1 -1
- package/esm/funcs/agentTestsGetRunCase.d.ts +16 -0
- package/esm/funcs/agentTestsGetRunCase.d.ts.map +1 -0
- package/esm/funcs/agentTestsGetRunCase.js +100 -0
- package/esm/funcs/agentTestsGetRunCase.js.map +1 -0
- 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.d.ts.map +1 -1
- package/esm/mcp-server/server.js +3 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/agentTestsGetRunCase.d.ts +7 -0
- package/esm/mcp-server/tools/agentTestsGetRunCase.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentTestsGetRunCase.js +38 -0
- package/esm/mcp-server/tools/agentTestsGetRunCase.js.map +1 -0
- package/esm/models/getagenttestcaseresultagenttestsruntaskidresultstestuuidgetop.d.ts +13 -0
- package/esm/models/getagenttestcaseresultagenttestsruntaskidresultstestuuidgetop.d.ts.map +1 -0
- package/esm/models/getagenttestcaseresultagenttestsruntaskidresultstestuuidgetop.js +17 -0
- package/esm/models/getagenttestcaseresultagenttestsruntaskidresultstestuuidgetop.js.map +1 -0
- package/esm/models/getagenttestrunstatusagenttestsruntaskidgetop.d.ts +17 -0
- package/esm/models/getagenttestrunstatusagenttestsruntaskidgetop.d.ts.map +1 -1
- package/esm/models/getagenttestrunstatusagenttestsruntaskidgetop.js +12 -0
- package/esm/models/getagenttestrunstatusagenttestsruntaskidgetop.js.map +1 -1
- package/esm/models/getbenchmarkstatusagenttestsbenchmarktaskidgetop.d.ts +17 -0
- package/esm/models/getbenchmarkstatusagenttestsbenchmarktaskidgetop.d.ts.map +1 -1
- package/esm/models/getbenchmarkstatusagenttestsbenchmarktaskidgetop.js +13 -0
- package/esm/models/getbenchmarkstatusagenttestsbenchmarktaskidgetop.js.map +1 -1
- package/esm/models/testcaseresult.d.ts +16 -0
- package/esm/models/testcaseresult.d.ts.map +1 -1
- package/esm/models/testcaseresult.js +14 -0
- package/esm/models/testcaseresult.js.map +1 -1
- package/esm/models/testrunstatusresponse.d.ts +3 -0
- package/esm/models/testrunstatusresponse.d.ts.map +1 -1
- package/esm/models/testrunstatusresponse.js +2 -0
- package/esm/models/testrunstatusresponse.js.map +1 -1
- package/esm/tool-names.d.ts.map +1 -1
- package/esm/tool-names.js +4 -0
- package/esm/tool-names.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/agentTestsGetBenchmark.ts +1 -0
- package/src/funcs/agentTestsGetRun.ts +1 -0
- package/src/funcs/agentTestsGetRunCase.ts +167 -0
- 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 -1
- package/src/mcp-server/tools/agentTestsGetRunCase.ts +47 -0
- package/src/models/getagenttestcaseresultagenttestsruntaskidresultstestuuidgetop.ts +44 -0
- package/src/models/getagenttestrunstatusagenttestsruntaskidgetop.ts +30 -0
- package/src/models/getbenchmarkstatusagenttestsbenchmarktaskidgetop.ts +29 -0
- package/src/models/testcaseresult.ts +24 -0
- package/src/models/testrunstatusresponse.ts +5 -0
- package/src/tool-names.ts +4 -0
package/bin/mcp-server.js
CHANGED
|
@@ -53020,9 +53020,9 @@ var init_config = __esm(() => {
|
|
|
53020
53020
|
SDK_METADATA = {
|
|
53021
53021
|
language: "typescript",
|
|
53022
53022
|
openapiDocVersion: "0.1.0",
|
|
53023
|
-
sdkVersion: "0.0.
|
|
53023
|
+
sdkVersion: "0.0.54",
|
|
53024
53024
|
genVersion: "2.915.1",
|
|
53025
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.0.
|
|
53025
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.0.54 2.915.1 0.1.0 @dalmia/calibrate-mcp"
|
|
53026
53026
|
};
|
|
53027
53027
|
});
|
|
53028
53028
|
|
|
@@ -56203,11 +56203,17 @@ var init_testoutput = __esm(() => {
|
|
|
56203
56203
|
});
|
|
56204
56204
|
|
|
56205
56205
|
// src/models/testcaseresult.ts
|
|
56206
|
-
var TestCaseResult$zodSchema;
|
|
56206
|
+
var TestType$zodSchema, TestCaseResult$zodSchema;
|
|
56207
56207
|
var init_testcaseresult = __esm(() => {
|
|
56208
56208
|
init_zod();
|
|
56209
56209
|
init_judgeresult();
|
|
56210
56210
|
init_testoutput();
|
|
56211
|
+
TestType$zodSchema = _enum([
|
|
56212
|
+
"response",
|
|
56213
|
+
"tool_call",
|
|
56214
|
+
"conversation",
|
|
56215
|
+
"general"
|
|
56216
|
+
]);
|
|
56211
56217
|
TestCaseResult$zodSchema = object({
|
|
56212
56218
|
cost: number2().nullable().optional().describe("Cost of this case (USD)"),
|
|
56213
56219
|
inputs: record(string2(), any()).nullable().optional().describe("Extra request fields sent to the agent for this case, the agent's `default_inputs` with this case's overrides applied"),
|
|
@@ -56220,6 +56226,8 @@ var init_testcaseresult = __esm(() => {
|
|
|
56220
56226
|
reasoning: string2().nullable().optional().describe("The judge's reasoning, or the tool-call diff for a tool-call test"),
|
|
56221
56227
|
test_case: record(string2(), any()).nullable().optional().describe("The test case definition that was run"),
|
|
56222
56228
|
test_case_id: string2().nullable().optional().describe("ID of the test case within the run"),
|
|
56229
|
+
test_type: TestType$zodSchema.nullable().optional().describe("What the test asks of the agent, which decides how a reader draws the case"),
|
|
56230
|
+
test_uuid: string2().nullable().optional().describe("ID of the test this case ran, which is what you pass to read the case on its own"),
|
|
56223
56231
|
unanswered: boolean2().default(false).describe("Whether this case produced no answer because the agent or the judge could not be reached, in which case `reasoning` carries the error and `passed` is not a verdict on the agent")
|
|
56224
56232
|
});
|
|
56225
56233
|
});
|
|
@@ -56300,13 +56308,18 @@ var init_benchmarkstatusresponse = __esm(() => {
|
|
|
56300
56308
|
});
|
|
56301
56309
|
|
|
56302
56310
|
// src/models/getbenchmarkstatusagenttestsbenchmarktaskidgetop.ts
|
|
56303
|
-
var GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetRequest$zodSchema, GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetResponse$zodSchema;
|
|
56311
|
+
var GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetMode$zodSchema, GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetRequest$zodSchema, GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetResponse$zodSchema;
|
|
56304
56312
|
var init_getbenchmarkstatusagenttestsbenchmarktaskidgetop = __esm(() => {
|
|
56305
56313
|
init_zod();
|
|
56306
56314
|
init_benchmarkstatusresponse();
|
|
56307
56315
|
init_httpvalidationerror();
|
|
56316
|
+
GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetMode$zodSchema = _enum([
|
|
56317
|
+
"full",
|
|
56318
|
+
"summary"
|
|
56319
|
+
]).describe("How much of each test case to return. `full` returns every field of every case. `summary` returns one light row per case, with its ID, name, verdict and short reason, leaving out the conversation, the agent's output and the evaluator verdicts. Read those one case at a time from `GET /agent-tests/run/{task_id}/results/{test_uuid}`");
|
|
56308
56320
|
GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetRequest$zodSchema = object({
|
|
56309
56321
|
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"),
|
|
56322
|
+
mode: GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetMode$zodSchema.default("full").describe("How much of each test case to return. `full` returns every field of every case. `summary` returns one light row per case, with its ID, name, verdict and short reason, leaving out the conversation, the agent's output and the evaluator verdicts. Read those one case at a time from `GET /agent-tests/run/{task_id}/results/{test_uuid}`"),
|
|
56310
56323
|
only_failed: boolean2().default(false).describe("Return only failing test cases for each model. Omit to return every case"),
|
|
56311
56324
|
task_id: string2().describe("Benchmark run to poll for status and results"),
|
|
56312
56325
|
xAPIKey: string2().nullable().optional()
|
|
@@ -56337,6 +56350,7 @@ async function $do11(client$, request, options) {
|
|
|
56337
56350
|
const path$ = pathToFunc("/agent-tests/benchmark/{task_id}")(pathParams$);
|
|
56338
56351
|
const query$ = encodeFormQuery({
|
|
56339
56352
|
compact: payload$.compact,
|
|
56353
|
+
mode: payload$.mode,
|
|
56340
56354
|
only_failed: payload$.only_failed
|
|
56341
56355
|
});
|
|
56342
56356
|
const headers$ = new Headers(compactMap({
|
|
@@ -56450,6 +56464,7 @@ var init_testrunstatusresponse = __esm(() => {
|
|
|
56450
56464
|
aborted: boolean2().default(false).describe("Whether a user stopped this run before it finished. The results collected up to that point are kept, and test cases that never ran are counted neither as passed nor as failed"),
|
|
56451
56465
|
cost: record(string2(), any()).nullable().optional().describe("Aggregated cost as `{mean, min, max, count}` (USD)"),
|
|
56452
56466
|
error: boolean2().default(false).describe("True if the run failed"),
|
|
56467
|
+
evaluator_summary: array(record(string2(), any())).nullable().optional().describe("Totals for each evaluator over the whole run, matching the shape a benchmark reports for each model. Only evaluators that returned a verdict appear"),
|
|
56453
56468
|
evaluators: array(TestRunEvaluator$zodSchema).nullable().optional().describe("The evaluators used in this run. Each verdict in `judge_results` links to one of these by `evaluator_uuid`"),
|
|
56454
56469
|
failed: int().nullable().optional().describe("Number of test cases that failed"),
|
|
56455
56470
|
is_public: boolean2().default(false).describe("Whether the run is shared publicly"),
|
|
@@ -56469,13 +56484,18 @@ var init_testrunstatusresponse = __esm(() => {
|
|
|
56469
56484
|
});
|
|
56470
56485
|
|
|
56471
56486
|
// src/models/getagenttestrunstatusagenttestsruntaskidgetop.ts
|
|
56472
|
-
var GetAgentTestRunStatusAgentTestsRunTaskIdGetRequest$zodSchema, GetAgentTestRunStatusAgentTestsRunTaskIdGetResponse$zodSchema;
|
|
56487
|
+
var GetAgentTestRunStatusAgentTestsRunTaskIdGetMode$zodSchema, GetAgentTestRunStatusAgentTestsRunTaskIdGetRequest$zodSchema, GetAgentTestRunStatusAgentTestsRunTaskIdGetResponse$zodSchema;
|
|
56473
56488
|
var init_getagenttestrunstatusagenttestsruntaskidgetop = __esm(() => {
|
|
56474
56489
|
init_zod();
|
|
56475
56490
|
init_httpvalidationerror();
|
|
56476
56491
|
init_testrunstatusresponse();
|
|
56492
|
+
GetAgentTestRunStatusAgentTestsRunTaskIdGetMode$zodSchema = _enum([
|
|
56493
|
+
"full",
|
|
56494
|
+
"summary"
|
|
56495
|
+
]).describe("How much of each test case to return. `full` returns every field of every case. `summary` returns one light row per case, with its ID, name, verdict and short reason, leaving out the conversation, the agent's output and the evaluator verdicts. Read those one case at a time from `GET /agent-tests/run/{task_id}/results/{test_uuid}`");
|
|
56477
56496
|
GetAgentTestRunStatusAgentTestsRunTaskIdGetRequest$zodSchema = object({
|
|
56478
56497
|
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"),
|
|
56498
|
+
mode: GetAgentTestRunStatusAgentTestsRunTaskIdGetMode$zodSchema.default("full").describe("How much of each test case to return. `full` returns every field of every case. `summary` returns one light row per case, with its ID, name, verdict and short reason, leaving out the conversation, the agent's output and the evaluator verdicts. Read those one case at a time from `GET /agent-tests/run/{task_id}/results/{test_uuid}`"),
|
|
56479
56499
|
only_failed: boolean2().default(false).describe("Return only failing test cases. Omit to return every case"),
|
|
56480
56500
|
task_id: string2().describe("Test run to poll for status and results"),
|
|
56481
56501
|
xAPIKey: string2().nullable().optional()
|
|
@@ -56506,6 +56526,7 @@ async function $do12(client$, request, options) {
|
|
|
56506
56526
|
const path$ = pathToFunc("/agent-tests/run/{task_id}")(pathParams$);
|
|
56507
56527
|
const query$ = encodeFormQuery({
|
|
56508
56528
|
compact: payload$.compact,
|
|
56529
|
+
mode: payload$.mode,
|
|
56509
56530
|
only_failed: payload$.only_failed
|
|
56510
56531
|
});
|
|
56511
56532
|
const headers$ = new Headers(compactMap({
|
|
@@ -56612,6 +56633,153 @@ run-agent-tests-batch.
|
|
|
56612
56633
|
};
|
|
56613
56634
|
});
|
|
56614
56635
|
|
|
56636
|
+
// src/models/getagenttestcaseresultagenttestsruntaskidresultstestuuidgetop.ts
|
|
56637
|
+
var GetAgentTestCaseResultAgentTestsRunTaskIdResultsTestUuidGetRequest$zodSchema, GetAgentTestCaseResultAgentTestsRunTaskIdResultsTestUuidGetResponse$zodSchema;
|
|
56638
|
+
var init_getagenttestcaseresultagenttestsruntaskidresultstestuuidgetop = __esm(() => {
|
|
56639
|
+
init_zod();
|
|
56640
|
+
init_httpvalidationerror();
|
|
56641
|
+
init_testcaseresult();
|
|
56642
|
+
GetAgentTestCaseResultAgentTestsRunTaskIdResultsTestUuidGetRequest$zodSchema = object({
|
|
56643
|
+
model: string2().describe("Which model's answer to read. Required for a benchmark, which runs every test once per model").nullable().optional(),
|
|
56644
|
+
task_id: string2().describe("Test run or benchmark the case was run in"),
|
|
56645
|
+
test_uuid: string2().describe("The test whose result to read, as `test_uuid` on the case"),
|
|
56646
|
+
xAPIKey: string2().nullable().optional()
|
|
56647
|
+
});
|
|
56648
|
+
GetAgentTestCaseResultAgentTestsRunTaskIdResultsTestUuidGetResponse$zodSchema = union([
|
|
56649
|
+
TestCaseResult$zodSchema,
|
|
56650
|
+
HTTPValidationError$zodSchema
|
|
56651
|
+
]);
|
|
56652
|
+
});
|
|
56653
|
+
|
|
56654
|
+
// src/funcs/agentTestsGetRunCase.ts
|
|
56655
|
+
function agentTestsGetRunCase(client$, request, options) {
|
|
56656
|
+
return new APIPromise($do13(client$, request, options));
|
|
56657
|
+
}
|
|
56658
|
+
async function $do13(client$, request, options) {
|
|
56659
|
+
const parsed$ = safeParse4(request, (value$) => GetAgentTestCaseResultAgentTestsRunTaskIdResultsTestUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56660
|
+
if (!parsed$.ok) {
|
|
56661
|
+
return [parsed$, { status: "invalid" }];
|
|
56662
|
+
}
|
|
56663
|
+
const payload$ = parsed$.value;
|
|
56664
|
+
const body$ = null;
|
|
56665
|
+
const pathParams$ = {
|
|
56666
|
+
task_id: encodeSimple("task_id", payload$.task_id, {
|
|
56667
|
+
explode: false,
|
|
56668
|
+
charEncoding: "percent"
|
|
56669
|
+
}),
|
|
56670
|
+
test_uuid: encodeSimple("test_uuid", payload$.test_uuid, {
|
|
56671
|
+
explode: false,
|
|
56672
|
+
charEncoding: "percent"
|
|
56673
|
+
})
|
|
56674
|
+
};
|
|
56675
|
+
const path$ = pathToFunc("/agent-tests/run/{task_id}/results/{test_uuid}")(pathParams$);
|
|
56676
|
+
const query$ = encodeFormQuery({
|
|
56677
|
+
model: payload$.model
|
|
56678
|
+
});
|
|
56679
|
+
const headers$ = new Headers(compactMap({
|
|
56680
|
+
Accept: "application/json",
|
|
56681
|
+
"X-API-Key": encodeSimple("X-API-Key", payload$.xAPIKey, {
|
|
56682
|
+
explode: false,
|
|
56683
|
+
charEncoding: "none"
|
|
56684
|
+
})
|
|
56685
|
+
}));
|
|
56686
|
+
const securityInput = await extractSecurity(client$._options.security);
|
|
56687
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
56688
|
+
const context = {
|
|
56689
|
+
options: client$._options,
|
|
56690
|
+
baseURL: options?.serverURL ?? client$._baseURL ?? "",
|
|
56691
|
+
operationID: "get_agent_test_case_result_agent_tests_run__task_id__results__test_uuid__get",
|
|
56692
|
+
oAuth2Scopes: null,
|
|
56693
|
+
resolvedSecurity: requestSecurity,
|
|
56694
|
+
securitySource: client$._options.security,
|
|
56695
|
+
retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
|
|
56696
|
+
retryCodes: options?.retryCodes || [
|
|
56697
|
+
"429",
|
|
56698
|
+
"500",
|
|
56699
|
+
"502",
|
|
56700
|
+
"503",
|
|
56701
|
+
"504"
|
|
56702
|
+
]
|
|
56703
|
+
};
|
|
56704
|
+
const requestRes = client$._createRequest(context, {
|
|
56705
|
+
security: requestSecurity,
|
|
56706
|
+
method: "GET",
|
|
56707
|
+
baseURL: options?.serverURL,
|
|
56708
|
+
path: path$,
|
|
56709
|
+
headers: headers$,
|
|
56710
|
+
query: query$,
|
|
56711
|
+
body: body$,
|
|
56712
|
+
userAgent: client$._options.userAgent,
|
|
56713
|
+
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
56714
|
+
}, options);
|
|
56715
|
+
if (!requestRes.ok) {
|
|
56716
|
+
return [requestRes, { status: "invalid" }];
|
|
56717
|
+
}
|
|
56718
|
+
const req$ = requestRes.value;
|
|
56719
|
+
const doResult = await client$._do(req$, {
|
|
56720
|
+
context,
|
|
56721
|
+
errorCodes: [],
|
|
56722
|
+
retryConfig: context.retryConfig,
|
|
56723
|
+
retryCodes: context.retryCodes
|
|
56724
|
+
});
|
|
56725
|
+
if (!doResult.ok) {
|
|
56726
|
+
return [doResult, { status: "request-error", request: req$ }];
|
|
56727
|
+
}
|
|
56728
|
+
return [doResult, {
|
|
56729
|
+
status: "complete",
|
|
56730
|
+
request: req$,
|
|
56731
|
+
response: doResult.value
|
|
56732
|
+
}];
|
|
56733
|
+
}
|
|
56734
|
+
var init_agentTestsGetRunCase = __esm(() => {
|
|
56735
|
+
init_encodings();
|
|
56736
|
+
init_primitives();
|
|
56737
|
+
init_schemas4();
|
|
56738
|
+
init_security();
|
|
56739
|
+
init_url();
|
|
56740
|
+
init_getagenttestcaseresultagenttestsruntaskidresultstestuuidgetop();
|
|
56741
|
+
init_async();
|
|
56742
|
+
});
|
|
56743
|
+
|
|
56744
|
+
// src/mcp-server/tools/agentTestsGetRunCase.ts
|
|
56745
|
+
var args13, tool$agentTestsGetRunCase;
|
|
56746
|
+
var init_agentTestsGetRunCase2 = __esm(() => {
|
|
56747
|
+
init_agentTestsGetRunCase();
|
|
56748
|
+
init_getagenttestcaseresultagenttestsruntaskidresultstestuuidgetop();
|
|
56749
|
+
init_tools();
|
|
56750
|
+
args13 = {
|
|
56751
|
+
request: GetAgentTestCaseResultAgentTestsRunTaskIdResultsTestUuidGetRequest$zodSchema
|
|
56752
|
+
};
|
|
56753
|
+
tool$agentTestsGetRunCase = {
|
|
56754
|
+
name: "get-agent-test-case-result",
|
|
56755
|
+
description: `Fetch the full result of one test case in a run, including the
|
|
56756
|
+
conversation, the agent's output and each evaluator's reasoning. Pass
|
|
56757
|
+
the model query param for a benchmark, which runs every test once per
|
|
56758
|
+
model. Use with mode=summary on get-agent-test-run, which returns
|
|
56759
|
+
light rows without this detail.
|
|
56760
|
+
`,
|
|
56761
|
+
scopes: ["read"],
|
|
56762
|
+
annotations: {
|
|
56763
|
+
title: "Get agent test case result",
|
|
56764
|
+
destructiveHint: false,
|
|
56765
|
+
idempotentHint: false,
|
|
56766
|
+
openWorldHint: true,
|
|
56767
|
+
readOnlyHint: true
|
|
56768
|
+
},
|
|
56769
|
+
args: args13,
|
|
56770
|
+
tool: async (client, args14, ctx) => {
|
|
56771
|
+
const [result] = await agentTestsGetRunCase(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56772
|
+
if (!result.ok) {
|
|
56773
|
+
return {
|
|
56774
|
+
content: [{ type: "text", text: result.error.message }],
|
|
56775
|
+
isError: true
|
|
56776
|
+
};
|
|
56777
|
+
}
|
|
56778
|
+
return formatResult(result.value);
|
|
56779
|
+
}
|
|
56780
|
+
};
|
|
56781
|
+
});
|
|
56782
|
+
|
|
56615
56783
|
// src/models/agenttestscreate.ts
|
|
56616
56784
|
var AgentTestsCreate$zodSchema;
|
|
56617
56785
|
var init_agenttestscreate = __esm(() => {
|
|
@@ -56650,9 +56818,9 @@ var init_createagenttestlinksagenttestspostop = __esm(() => {
|
|
|
56650
56818
|
|
|
56651
56819
|
// src/funcs/agentTestsLink.ts
|
|
56652
56820
|
function agentTestsLink(client$, request, options) {
|
|
56653
|
-
return new APIPromise($
|
|
56821
|
+
return new APIPromise($do14(client$, request, options));
|
|
56654
56822
|
}
|
|
56655
|
-
async function $
|
|
56823
|
+
async function $do14(client$, request, options) {
|
|
56656
56824
|
const parsed$ = safeParse4(request, (value$) => CreateAgentTestLinksAgentTestsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56657
56825
|
if (!parsed$.ok) {
|
|
56658
56826
|
return [parsed$, { status: "invalid" }];
|
|
@@ -56726,12 +56894,12 @@ var init_agentTestsLink = __esm(() => {
|
|
|
56726
56894
|
});
|
|
56727
56895
|
|
|
56728
56896
|
// src/mcp-server/tools/agentTestsLink.ts
|
|
56729
|
-
var
|
|
56897
|
+
var args14, tool$agentTestsLink;
|
|
56730
56898
|
var init_agentTestsLink2 = __esm(() => {
|
|
56731
56899
|
init_agentTestsLink();
|
|
56732
56900
|
init_createagenttestlinksagenttestspostop();
|
|
56733
56901
|
init_tools();
|
|
56734
|
-
|
|
56902
|
+
args14 = {
|
|
56735
56903
|
request: CreateAgentTestLinksAgentTestsPostRequest$zodSchema
|
|
56736
56904
|
};
|
|
56737
56905
|
tool$agentTestsLink = {
|
|
@@ -56746,9 +56914,9 @@ var init_agentTestsLink2 = __esm(() => {
|
|
|
56746
56914
|
openWorldHint: true,
|
|
56747
56915
|
readOnlyHint: false
|
|
56748
56916
|
},
|
|
56749
|
-
args:
|
|
56750
|
-
tool: async (client,
|
|
56751
|
-
const [result] = await agentTestsLink(client,
|
|
56917
|
+
args: args14,
|
|
56918
|
+
tool: async (client, args15, ctx) => {
|
|
56919
|
+
const [result] = await agentTestsLink(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56752
56920
|
if (!result.ok) {
|
|
56753
56921
|
return {
|
|
56754
56922
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56832,9 +57000,9 @@ var init_getagenttestsendpointagenttestsagentagentuuidtestsgetop = __esm(() => {
|
|
|
56832
57000
|
|
|
56833
57001
|
// src/funcs/agentTestsListForAgent.ts
|
|
56834
57002
|
function agentTestsListForAgent(client$, request, options) {
|
|
56835
|
-
return new APIPromise($
|
|
57003
|
+
return new APIPromise($do15(client$, request, options));
|
|
56836
57004
|
}
|
|
56837
|
-
async function $
|
|
57005
|
+
async function $do15(client$, request, options) {
|
|
56838
57006
|
const parsed$ = safeParse4(request, (value$) => GetAgentTestsEndpointAgentTestsAgentAgentUuidTestsGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56839
57007
|
if (!parsed$.ok) {
|
|
56840
57008
|
return [parsed$, { status: "invalid" }];
|
|
@@ -56921,12 +57089,12 @@ var init_agentTestsListForAgent = __esm(() => {
|
|
|
56921
57089
|
});
|
|
56922
57090
|
|
|
56923
57091
|
// src/mcp-server/tools/agentTestsListForAgent.ts
|
|
56924
|
-
var
|
|
57092
|
+
var args15, tool$agentTestsListForAgent;
|
|
56925
57093
|
var init_agentTestsListForAgent2 = __esm(() => {
|
|
56926
57094
|
init_agentTestsListForAgent();
|
|
56927
57095
|
init_getagenttestsendpointagenttestsagentagentuuidtestsgetop();
|
|
56928
57096
|
init_tools();
|
|
56929
|
-
|
|
57097
|
+
args15 = {
|
|
56930
57098
|
request: GetAgentTestsEndpointAgentTestsAgentAgentUuidTestsGetRequest$zodSchema
|
|
56931
57099
|
};
|
|
56932
57100
|
tool$agentTestsListForAgent = {
|
|
@@ -56941,9 +57109,9 @@ var init_agentTestsListForAgent2 = __esm(() => {
|
|
|
56941
57109
|
openWorldHint: true,
|
|
56942
57110
|
readOnlyHint: true
|
|
56943
57111
|
},
|
|
56944
|
-
args:
|
|
56945
|
-
tool: async (client,
|
|
56946
|
-
const [result] = await agentTestsListForAgent(client,
|
|
57112
|
+
args: args15,
|
|
57113
|
+
tool: async (client, args16, ctx) => {
|
|
57114
|
+
const [result] = await agentTestsListForAgent(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56947
57115
|
if (!result.ok) {
|
|
56948
57116
|
return {
|
|
56949
57117
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57072,9 +57240,9 @@ var init_getagenttestrunsagenttestsagentagentuuidrunsgetop = __esm(() => {
|
|
|
57072
57240
|
|
|
57073
57241
|
// src/funcs/agentTestsListRunsForAgent.ts
|
|
57074
57242
|
function agentTestsListRunsForAgent(client$, request, options) {
|
|
57075
|
-
return new APIPromise($
|
|
57243
|
+
return new APIPromise($do16(client$, request, options));
|
|
57076
57244
|
}
|
|
57077
|
-
async function $
|
|
57245
|
+
async function $do16(client$, request, options) {
|
|
57078
57246
|
const parsed$ = safeParse4(request, (value$) => GetAgentTestRunsAgentTestsAgentAgentUuidRunsGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57079
57247
|
if (!parsed$.ok) {
|
|
57080
57248
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57162,12 +57330,12 @@ var init_agentTestsListRunsForAgent = __esm(() => {
|
|
|
57162
57330
|
});
|
|
57163
57331
|
|
|
57164
57332
|
// src/mcp-server/tools/agentTestsListRunsForAgent.ts
|
|
57165
|
-
var
|
|
57333
|
+
var args16, tool$agentTestsListRunsForAgent;
|
|
57166
57334
|
var init_agentTestsListRunsForAgent2 = __esm(() => {
|
|
57167
57335
|
init_agentTestsListRunsForAgent();
|
|
57168
57336
|
init_getagenttestrunsagenttestsagentagentuuidrunsgetop();
|
|
57169
57337
|
init_tools();
|
|
57170
|
-
|
|
57338
|
+
args16 = {
|
|
57171
57339
|
request: GetAgentTestRunsAgentTestsAgentAgentUuidRunsGetRequest$zodSchema
|
|
57172
57340
|
};
|
|
57173
57341
|
tool$agentTestsListRunsForAgent = {
|
|
@@ -57182,9 +57350,9 @@ var init_agentTestsListRunsForAgent2 = __esm(() => {
|
|
|
57182
57350
|
openWorldHint: true,
|
|
57183
57351
|
readOnlyHint: true
|
|
57184
57352
|
},
|
|
57185
|
-
args:
|
|
57186
|
-
tool: async (client,
|
|
57187
|
-
const [result] = await agentTestsListRunsForAgent(client,
|
|
57353
|
+
args: args16,
|
|
57354
|
+
tool: async (client, args17, ctx) => {
|
|
57355
|
+
const [result] = await agentTestsListRunsForAgent(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57188
57356
|
if (!result.ok) {
|
|
57189
57357
|
return {
|
|
57190
57358
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57225,9 +57393,9 @@ var init_runagenttestagenttestsagentagentuuidrunpostop = __esm(() => {
|
|
|
57225
57393
|
|
|
57226
57394
|
// src/funcs/agentTestsRun.ts
|
|
57227
57395
|
function agentTestsRun(client$, request, options) {
|
|
57228
|
-
return new APIPromise($
|
|
57396
|
+
return new APIPromise($do17(client$, request, options));
|
|
57229
57397
|
}
|
|
57230
|
-
async function $
|
|
57398
|
+
async function $do17(client$, request, options) {
|
|
57231
57399
|
const parsed$ = safeParse4(request, (value$) => RunAgentTestAgentTestsAgentAgentUuidRunPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57232
57400
|
if (!parsed$.ok) {
|
|
57233
57401
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57307,12 +57475,12 @@ var init_agentTestsRun = __esm(() => {
|
|
|
57307
57475
|
});
|
|
57308
57476
|
|
|
57309
57477
|
// src/mcp-server/tools/agentTestsRun.ts
|
|
57310
|
-
var
|
|
57478
|
+
var args17, tool$agentTestsRun;
|
|
57311
57479
|
var init_agentTestsRun2 = __esm(() => {
|
|
57312
57480
|
init_agentTestsRun();
|
|
57313
57481
|
init_runagenttestagenttestsagentagentuuidrunpostop();
|
|
57314
57482
|
init_tools();
|
|
57315
|
-
|
|
57483
|
+
args17 = {
|
|
57316
57484
|
request: RunAgentTestAgentTestsAgentAgentUuidRunPostRequest$zodSchema
|
|
57317
57485
|
};
|
|
57318
57486
|
tool$agentTestsRun = {
|
|
@@ -57331,9 +57499,9 @@ or 404.
|
|
|
57331
57499
|
openWorldHint: true,
|
|
57332
57500
|
readOnlyHint: false
|
|
57333
57501
|
},
|
|
57334
|
-
args:
|
|
57335
|
-
tool: async (client,
|
|
57336
|
-
const [result] = await agentTestsRun(client,
|
|
57502
|
+
args: args17,
|
|
57503
|
+
tool: async (client, args18, ctx) => {
|
|
57504
|
+
const [result] = await agentTestsRun(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57337
57505
|
if (!result.ok) {
|
|
57338
57506
|
return {
|
|
57339
57507
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57417,9 +57585,9 @@ var init_runtestsbatchagenttestsrunpostop = __esm(() => {
|
|
|
57417
57585
|
|
|
57418
57586
|
// src/funcs/agentTestsRunBatch.ts
|
|
57419
57587
|
function agentTestsRunBatch(client$, request, options) {
|
|
57420
|
-
return new APIPromise($
|
|
57588
|
+
return new APIPromise($do18(client$, request, options));
|
|
57421
57589
|
}
|
|
57422
|
-
async function $
|
|
57590
|
+
async function $do18(client$, request, options) {
|
|
57423
57591
|
const parsed$ = safeParse4(request, (value$) => RunTestsBatchAgentTestsRunPostRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
57424
57592
|
if (!parsed$.ok) {
|
|
57425
57593
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57493,12 +57661,12 @@ var init_agentTestsRunBatch = __esm(() => {
|
|
|
57493
57661
|
});
|
|
57494
57662
|
|
|
57495
57663
|
// src/mcp-server/tools/agentTestsRunBatch.ts
|
|
57496
|
-
var
|
|
57664
|
+
var args18, tool$agentTestsRunBatch;
|
|
57497
57665
|
var init_agentTestsRunBatch2 = __esm(() => {
|
|
57498
57666
|
init_agentTestsRunBatch();
|
|
57499
57667
|
init_runtestsbatchagenttestsrunpostop();
|
|
57500
57668
|
init_tools();
|
|
57501
|
-
|
|
57669
|
+
args18 = {
|
|
57502
57670
|
request: RunTestsBatchAgentTestsRunPostRequest$zodSchema.optional()
|
|
57503
57671
|
};
|
|
57504
57672
|
tool$agentTestsRunBatch = {
|
|
@@ -57517,9 +57685,9 @@ task_id values to poll with get-agent-test-run.
|
|
|
57517
57685
|
openWorldHint: true,
|
|
57518
57686
|
readOnlyHint: false
|
|
57519
57687
|
},
|
|
57520
|
-
args:
|
|
57521
|
-
tool: async (client,
|
|
57522
|
-
const [result] = await agentTestsRunBatch(client,
|
|
57688
|
+
args: args18,
|
|
57689
|
+
tool: async (client, args19, ctx) => {
|
|
57690
|
+
const [result] = await agentTestsRunBatch(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57523
57691
|
if (!result.ok) {
|
|
57524
57692
|
return {
|
|
57525
57693
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57588,9 +57756,9 @@ var init_bulkcreateitemsannotationtaskstaskuuiditemspostop = __esm(() => {
|
|
|
57588
57756
|
|
|
57589
57757
|
// src/funcs/annotationTasksAddItems.ts
|
|
57590
57758
|
function annotationTasksAddItems(client$, request, options) {
|
|
57591
|
-
return new APIPromise($
|
|
57759
|
+
return new APIPromise($do19(client$, request, options));
|
|
57592
57760
|
}
|
|
57593
|
-
async function $
|
|
57761
|
+
async function $do19(client$, request, options) {
|
|
57594
57762
|
const parsed$ = safeParse4(request, (value$) => BulkCreateItemsAnnotationTasksTaskUuidItemsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57595
57763
|
if (!parsed$.ok) {
|
|
57596
57764
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57670,12 +57838,12 @@ var init_annotationTasksAddItems = __esm(() => {
|
|
|
57670
57838
|
});
|
|
57671
57839
|
|
|
57672
57840
|
// src/mcp-server/tools/annotationTasksAddItems.ts
|
|
57673
|
-
var
|
|
57841
|
+
var args19, tool$annotationTasksAddItems;
|
|
57674
57842
|
var init_annotationTasksAddItems2 = __esm(() => {
|
|
57675
57843
|
init_annotationTasksAddItems();
|
|
57676
57844
|
init_bulkcreateitemsannotationtaskstaskuuiditemspostop();
|
|
57677
57845
|
init_tools();
|
|
57678
|
-
|
|
57846
|
+
args19 = {
|
|
57679
57847
|
request: BulkCreateItemsAnnotationTasksTaskUuidItemsPostRequest$zodSchema
|
|
57680
57848
|
};
|
|
57681
57849
|
tool$annotationTasksAddItems = {
|
|
@@ -57690,9 +57858,9 @@ var init_annotationTasksAddItems2 = __esm(() => {
|
|
|
57690
57858
|
openWorldHint: true,
|
|
57691
57859
|
readOnlyHint: false
|
|
57692
57860
|
},
|
|
57693
|
-
args:
|
|
57694
|
-
tool: async (client,
|
|
57695
|
-
const [result] = await annotationTasksAddItems(client,
|
|
57861
|
+
args: args19,
|
|
57862
|
+
tool: async (client, args20, ctx) => {
|
|
57863
|
+
const [result] = await annotationTasksAddItems(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57696
57864
|
if (!result.ok) {
|
|
57697
57865
|
return {
|
|
57698
57866
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57752,9 +57920,9 @@ var init_createannotationtaskendpointannotationtaskspostop = __esm(() => {
|
|
|
57752
57920
|
|
|
57753
57921
|
// src/funcs/annotationTasksCreate.ts
|
|
57754
57922
|
function annotationTasksCreate(client$, request, options) {
|
|
57755
|
-
return new APIPromise($
|
|
57923
|
+
return new APIPromise($do20(client$, request, options));
|
|
57756
57924
|
}
|
|
57757
|
-
async function $
|
|
57925
|
+
async function $do20(client$, request, options) {
|
|
57758
57926
|
const parsed$ = safeParse4(request, (value$) => CreateAnnotationTaskEndpointAnnotationTasksPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57759
57927
|
if (!parsed$.ok) {
|
|
57760
57928
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57828,12 +57996,12 @@ var init_annotationTasksCreate = __esm(() => {
|
|
|
57828
57996
|
});
|
|
57829
57997
|
|
|
57830
57998
|
// src/mcp-server/tools/annotationTasksCreate.ts
|
|
57831
|
-
var
|
|
57999
|
+
var args20, tool$annotationTasksCreate;
|
|
57832
58000
|
var init_annotationTasksCreate2 = __esm(() => {
|
|
57833
58001
|
init_annotationTasksCreate();
|
|
57834
58002
|
init_createannotationtaskendpointannotationtaskspostop();
|
|
57835
58003
|
init_tools();
|
|
57836
|
-
|
|
58004
|
+
args20 = {
|
|
57837
58005
|
request: CreateAnnotationTaskEndpointAnnotationTasksPostRequest$zodSchema
|
|
57838
58006
|
};
|
|
57839
58007
|
tool$annotationTasksCreate = {
|
|
@@ -57848,9 +58016,9 @@ var init_annotationTasksCreate2 = __esm(() => {
|
|
|
57848
58016
|
openWorldHint: true,
|
|
57849
58017
|
readOnlyHint: false
|
|
57850
58018
|
},
|
|
57851
|
-
args:
|
|
57852
|
-
tool: async (client,
|
|
57853
|
-
const [result] = await annotationTasksCreate(client,
|
|
58019
|
+
args: args20,
|
|
58020
|
+
tool: async (client, args21, ctx) => {
|
|
58021
|
+
const [result] = await annotationTasksCreate(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57854
58022
|
if (!result.ok) {
|
|
57855
58023
|
return {
|
|
57856
58024
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57921,9 +58089,9 @@ var init_startevaluatorrunannotationtaskstaskuuidevaluatorrunspostop = __esm(()
|
|
|
57921
58089
|
|
|
57922
58090
|
// src/funcs/annotationTasksCreateEvaluatorRun.ts
|
|
57923
58091
|
function annotationTasksCreateEvaluatorRun(client$, request, options) {
|
|
57924
|
-
return new APIPromise($
|
|
58092
|
+
return new APIPromise($do21(client$, request, options));
|
|
57925
58093
|
}
|
|
57926
|
-
async function $
|
|
58094
|
+
async function $do21(client$, request, options) {
|
|
57927
58095
|
const parsed$ = safeParse4(request, (value$) => StartEvaluatorRunAnnotationTasksTaskUuidEvaluatorRunsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57928
58096
|
if (!parsed$.ok) {
|
|
57929
58097
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58003,12 +58171,12 @@ var init_annotationTasksCreateEvaluatorRun = __esm(() => {
|
|
|
58003
58171
|
});
|
|
58004
58172
|
|
|
58005
58173
|
// src/mcp-server/tools/annotationTasksCreateEvaluatorRun.ts
|
|
58006
|
-
var
|
|
58174
|
+
var args21, tool$annotationTasksCreateEvaluatorRun;
|
|
58007
58175
|
var init_annotationTasksCreateEvaluatorRun2 = __esm(() => {
|
|
58008
58176
|
init_annotationTasksCreateEvaluatorRun();
|
|
58009
58177
|
init_startevaluatorrunannotationtaskstaskuuidevaluatorrunspostop();
|
|
58010
58178
|
init_tools();
|
|
58011
|
-
|
|
58179
|
+
args21 = {
|
|
58012
58180
|
request: StartEvaluatorRunAnnotationTasksTaskUuidEvaluatorRunsPostRequest$zodSchema
|
|
58013
58181
|
};
|
|
58014
58182
|
tool$annotationTasksCreateEvaluatorRun = {
|
|
@@ -58023,9 +58191,9 @@ var init_annotationTasksCreateEvaluatorRun2 = __esm(() => {
|
|
|
58023
58191
|
openWorldHint: true,
|
|
58024
58192
|
readOnlyHint: false
|
|
58025
58193
|
},
|
|
58026
|
-
args:
|
|
58027
|
-
tool: async (client,
|
|
58028
|
-
const [result] = await annotationTasksCreateEvaluatorRun(client,
|
|
58194
|
+
args: args21,
|
|
58195
|
+
tool: async (client, args22, ctx) => {
|
|
58196
|
+
const [result] = await annotationTasksCreateEvaluatorRun(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58029
58197
|
if (!result.ok) {
|
|
58030
58198
|
return {
|
|
58031
58199
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58104,9 +58272,9 @@ var init_createjobsannotationtaskstaskuuidjobspostop = __esm(() => {
|
|
|
58104
58272
|
|
|
58105
58273
|
// src/funcs/annotationTasksCreateLabellingJobs.ts
|
|
58106
58274
|
function annotationTasksCreateLabellingJobs(client$, request, options) {
|
|
58107
|
-
return new APIPromise($
|
|
58275
|
+
return new APIPromise($do22(client$, request, options));
|
|
58108
58276
|
}
|
|
58109
|
-
async function $
|
|
58277
|
+
async function $do22(client$, request, options) {
|
|
58110
58278
|
const parsed$ = safeParse4(request, (value$) => CreateJobsAnnotationTasksTaskUuidJobsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58111
58279
|
if (!parsed$.ok) {
|
|
58112
58280
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58186,12 +58354,12 @@ var init_annotationTasksCreateLabellingJobs = __esm(() => {
|
|
|
58186
58354
|
});
|
|
58187
58355
|
|
|
58188
58356
|
// src/mcp-server/tools/annotationTasksCreateLabellingJobs.ts
|
|
58189
|
-
var
|
|
58357
|
+
var args22, tool$annotationTasksCreateLabellingJobs;
|
|
58190
58358
|
var init_annotationTasksCreateLabellingJobs2 = __esm(() => {
|
|
58191
58359
|
init_annotationTasksCreateLabellingJobs();
|
|
58192
58360
|
init_createjobsannotationtaskstaskuuidjobspostop();
|
|
58193
58361
|
init_tools();
|
|
58194
|
-
|
|
58362
|
+
args22 = {
|
|
58195
58363
|
request: CreateJobsAnnotationTasksTaskUuidJobsPostRequest$zodSchema
|
|
58196
58364
|
};
|
|
58197
58365
|
tool$annotationTasksCreateLabellingJobs = {
|
|
@@ -58206,9 +58374,9 @@ var init_annotationTasksCreateLabellingJobs2 = __esm(() => {
|
|
|
58206
58374
|
openWorldHint: true,
|
|
58207
58375
|
readOnlyHint: false
|
|
58208
58376
|
},
|
|
58209
|
-
args:
|
|
58210
|
-
tool: async (client,
|
|
58211
|
-
const [result] = await annotationTasksCreateLabellingJobs(client,
|
|
58377
|
+
args: args22,
|
|
58378
|
+
tool: async (client, args23, ctx) => {
|
|
58379
|
+
const [result] = await annotationTasksCreateLabellingJobs(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58212
58380
|
if (!result.ok) {
|
|
58213
58381
|
return {
|
|
58214
58382
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58264,9 +58432,9 @@ var init_getannotationtaskendpointannotationtaskstaskuuidgetop = __esm(() => {
|
|
|
58264
58432
|
|
|
58265
58433
|
// src/funcs/annotationTasksGet.ts
|
|
58266
58434
|
function annotationTasksGet(client$, request, options) {
|
|
58267
|
-
return new APIPromise($
|
|
58435
|
+
return new APIPromise($do23(client$, request, options));
|
|
58268
58436
|
}
|
|
58269
|
-
async function $
|
|
58437
|
+
async function $do23(client$, request, options) {
|
|
58270
58438
|
const parsed$ = safeParse4(request, (value$) => GetAnnotationTaskEndpointAnnotationTasksTaskUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58271
58439
|
if (!parsed$.ok) {
|
|
58272
58440
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58345,12 +58513,12 @@ var init_annotationTasksGet = __esm(() => {
|
|
|
58345
58513
|
});
|
|
58346
58514
|
|
|
58347
58515
|
// src/mcp-server/tools/annotationTasksGet.ts
|
|
58348
|
-
var
|
|
58516
|
+
var args23, tool$annotationTasksGet;
|
|
58349
58517
|
var init_annotationTasksGet2 = __esm(() => {
|
|
58350
58518
|
init_annotationTasksGet();
|
|
58351
58519
|
init_getannotationtaskendpointannotationtaskstaskuuidgetop();
|
|
58352
58520
|
init_tools();
|
|
58353
|
-
|
|
58521
|
+
args23 = {
|
|
58354
58522
|
request: GetAnnotationTaskEndpointAnnotationTasksTaskUuidGetRequest$zodSchema
|
|
58355
58523
|
};
|
|
58356
58524
|
tool$annotationTasksGet = {
|
|
@@ -58365,9 +58533,9 @@ var init_annotationTasksGet2 = __esm(() => {
|
|
|
58365
58533
|
openWorldHint: true,
|
|
58366
58534
|
readOnlyHint: true
|
|
58367
58535
|
},
|
|
58368
|
-
args:
|
|
58369
|
-
tool: async (client,
|
|
58370
|
-
const [result] = await annotationTasksGet(client,
|
|
58536
|
+
args: args23,
|
|
58537
|
+
tool: async (client, args24, ctx) => {
|
|
58538
|
+
const [result] = await annotationTasksGet(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58371
58539
|
if (!result.ok) {
|
|
58372
58540
|
return {
|
|
58373
58541
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58457,9 +58625,9 @@ var init_taskagreementannotationtaskstaskuuidagreementgetop = __esm(() => {
|
|
|
58457
58625
|
|
|
58458
58626
|
// src/funcs/annotationTasksGetAgreement.ts
|
|
58459
58627
|
function annotationTasksGetAgreement(client$, request, options) {
|
|
58460
|
-
return new APIPromise($
|
|
58628
|
+
return new APIPromise($do24(client$, request, options));
|
|
58461
58629
|
}
|
|
58462
|
-
async function $
|
|
58630
|
+
async function $do24(client$, request, options) {
|
|
58463
58631
|
const parsed$ = safeParse4(request, (value$) => TaskAgreementAnnotationTasksTaskUuidAgreementGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58464
58632
|
if (!parsed$.ok) {
|
|
58465
58633
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58543,12 +58711,12 @@ var init_annotationTasksGetAgreement = __esm(() => {
|
|
|
58543
58711
|
});
|
|
58544
58712
|
|
|
58545
58713
|
// src/mcp-server/tools/annotationTasksGetAgreement.ts
|
|
58546
|
-
var
|
|
58714
|
+
var args24, tool$annotationTasksGetAgreement;
|
|
58547
58715
|
var init_annotationTasksGetAgreement2 = __esm(() => {
|
|
58548
58716
|
init_annotationTasksGetAgreement();
|
|
58549
58717
|
init_taskagreementannotationtaskstaskuuidagreementgetop();
|
|
58550
58718
|
init_tools();
|
|
58551
|
-
|
|
58719
|
+
args24 = {
|
|
58552
58720
|
request: TaskAgreementAnnotationTasksTaskUuidAgreementGetRequest$zodSchema
|
|
58553
58721
|
};
|
|
58554
58722
|
tool$annotationTasksGetAgreement = {
|
|
@@ -58563,9 +58731,9 @@ var init_annotationTasksGetAgreement2 = __esm(() => {
|
|
|
58563
58731
|
openWorldHint: true,
|
|
58564
58732
|
readOnlyHint: true
|
|
58565
58733
|
},
|
|
58566
|
-
args:
|
|
58567
|
-
tool: async (client,
|
|
58568
|
-
const [result] = await annotationTasksGetAgreement(client,
|
|
58734
|
+
args: args24,
|
|
58735
|
+
tool: async (client, args25, ctx) => {
|
|
58736
|
+
const [result] = await annotationTasksGetAgreement(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58569
58737
|
if (!result.ok) {
|
|
58570
58738
|
return {
|
|
58571
58739
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58642,9 +58810,9 @@ var init_getevaluatorrunjobannotationtaskstaskuuidevaluatorrunsjobuuidgetop = __
|
|
|
58642
58810
|
|
|
58643
58811
|
// src/funcs/annotationTasksGetEvaluatorRun.ts
|
|
58644
58812
|
function annotationTasksGetEvaluatorRun(client$, request, options) {
|
|
58645
|
-
return new APIPromise($
|
|
58813
|
+
return new APIPromise($do25(client$, request, options));
|
|
58646
58814
|
}
|
|
58647
|
-
async function $
|
|
58815
|
+
async function $do25(client$, request, options) {
|
|
58648
58816
|
const parsed$ = safeParse4(request, (value$) => GetEvaluatorRunJobAnnotationTasksTaskUuidEvaluatorRunsJobUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58649
58817
|
if (!parsed$.ok) {
|
|
58650
58818
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58727,12 +58895,12 @@ var init_annotationTasksGetEvaluatorRun = __esm(() => {
|
|
|
58727
58895
|
});
|
|
58728
58896
|
|
|
58729
58897
|
// src/mcp-server/tools/annotationTasksGetEvaluatorRun.ts
|
|
58730
|
-
var
|
|
58898
|
+
var args25, tool$annotationTasksGetEvaluatorRun;
|
|
58731
58899
|
var init_annotationTasksGetEvaluatorRun2 = __esm(() => {
|
|
58732
58900
|
init_annotationTasksGetEvaluatorRun();
|
|
58733
58901
|
init_getevaluatorrunjobannotationtaskstaskuuidevaluatorrunsjobuuidgetop();
|
|
58734
58902
|
init_tools();
|
|
58735
|
-
|
|
58903
|
+
args25 = {
|
|
58736
58904
|
request: GetEvaluatorRunJobAnnotationTasksTaskUuidEvaluatorRunsJobUuidGetRequest$zodSchema
|
|
58737
58905
|
};
|
|
58738
58906
|
tool$annotationTasksGetEvaluatorRun = {
|
|
@@ -58747,9 +58915,9 @@ var init_annotationTasksGetEvaluatorRun2 = __esm(() => {
|
|
|
58747
58915
|
openWorldHint: true,
|
|
58748
58916
|
readOnlyHint: true
|
|
58749
58917
|
},
|
|
58750
|
-
args:
|
|
58751
|
-
tool: async (client,
|
|
58752
|
-
const [result] = await annotationTasksGetEvaluatorRun(client,
|
|
58918
|
+
args: args25,
|
|
58919
|
+
tool: async (client, args26, ctx) => {
|
|
58920
|
+
const [result] = await annotationTasksGetEvaluatorRun(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58753
58921
|
if (!result.ok) {
|
|
58754
58922
|
return {
|
|
58755
58923
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58843,9 +59011,9 @@ var init_tasksummaryannotationtaskstaskuuidsummarygetop = __esm(() => {
|
|
|
58843
59011
|
|
|
58844
59012
|
// src/funcs/annotationTasksGetSummary.ts
|
|
58845
59013
|
function annotationTasksGetSummary(client$, request, options) {
|
|
58846
|
-
return new APIPromise($
|
|
59014
|
+
return new APIPromise($do26(client$, request, options));
|
|
58847
59015
|
}
|
|
58848
|
-
async function $
|
|
59016
|
+
async function $do26(client$, request, options) {
|
|
58849
59017
|
const parsed$ = safeParse4(request, (value$) => TaskSummaryAnnotationTasksTaskUuidSummaryGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58850
59018
|
if (!parsed$.ok) {
|
|
58851
59019
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58936,12 +59104,12 @@ var init_annotationTasksGetSummary = __esm(() => {
|
|
|
58936
59104
|
});
|
|
58937
59105
|
|
|
58938
59106
|
// src/mcp-server/tools/annotationTasksGetSummary.ts
|
|
58939
|
-
var
|
|
59107
|
+
var args26, tool$annotationTasksGetSummary;
|
|
58940
59108
|
var init_annotationTasksGetSummary2 = __esm(() => {
|
|
58941
59109
|
init_annotationTasksGetSummary();
|
|
58942
59110
|
init_tasksummaryannotationtaskstaskuuidsummarygetop();
|
|
58943
59111
|
init_tools();
|
|
58944
|
-
|
|
59112
|
+
args26 = {
|
|
58945
59113
|
request: TaskSummaryAnnotationTasksTaskUuidSummaryGetRequest$zodSchema
|
|
58946
59114
|
};
|
|
58947
59115
|
tool$annotationTasksGetSummary = {
|
|
@@ -58956,9 +59124,9 @@ var init_annotationTasksGetSummary2 = __esm(() => {
|
|
|
58956
59124
|
openWorldHint: true,
|
|
58957
59125
|
readOnlyHint: true
|
|
58958
59126
|
},
|
|
58959
|
-
args:
|
|
58960
|
-
tool: async (client,
|
|
58961
|
-
const [result] = await annotationTasksGetSummary(client,
|
|
59127
|
+
args: args26,
|
|
59128
|
+
tool: async (client, args27, ctx) => {
|
|
59129
|
+
const [result] = await annotationTasksGetSummary(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58962
59130
|
if (!result.ok) {
|
|
58963
59131
|
return {
|
|
58964
59132
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59003,9 +59171,9 @@ var init_listannotationtasksannotationtasksgetop = __esm(() => {
|
|
|
59003
59171
|
|
|
59004
59172
|
// src/funcs/annotationTasksList.ts
|
|
59005
59173
|
function annotationTasksList(client$, request, options) {
|
|
59006
|
-
return new APIPromise($
|
|
59174
|
+
return new APIPromise($do27(client$, request, options));
|
|
59007
59175
|
}
|
|
59008
|
-
async function $
|
|
59176
|
+
async function $do27(client$, request, options) {
|
|
59009
59177
|
const parsed$ = safeParse4(request, (value$) => ListAnnotationTasksAnnotationTasksGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
59010
59178
|
if (!parsed$.ok) {
|
|
59011
59179
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59084,12 +59252,12 @@ var init_annotationTasksList = __esm(() => {
|
|
|
59084
59252
|
});
|
|
59085
59253
|
|
|
59086
59254
|
// src/mcp-server/tools/annotationTasksList.ts
|
|
59087
|
-
var
|
|
59255
|
+
var args27, tool$annotationTasksList;
|
|
59088
59256
|
var init_annotationTasksList2 = __esm(() => {
|
|
59089
59257
|
init_annotationTasksList();
|
|
59090
59258
|
init_listannotationtasksannotationtasksgetop();
|
|
59091
59259
|
init_tools();
|
|
59092
|
-
|
|
59260
|
+
args27 = {
|
|
59093
59261
|
request: ListAnnotationTasksAnnotationTasksGetRequest$zodSchema.optional()
|
|
59094
59262
|
};
|
|
59095
59263
|
tool$annotationTasksList = {
|
|
@@ -59104,9 +59272,9 @@ var init_annotationTasksList2 = __esm(() => {
|
|
|
59104
59272
|
openWorldHint: true,
|
|
59105
59273
|
readOnlyHint: true
|
|
59106
59274
|
},
|
|
59107
|
-
args:
|
|
59108
|
-
tool: async (client,
|
|
59109
|
-
const [result] = await annotationTasksList(client,
|
|
59275
|
+
args: args27,
|
|
59276
|
+
tool: async (client, args28, ctx) => {
|
|
59277
|
+
const [result] = await annotationTasksList(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59110
59278
|
if (!result.ok) {
|
|
59111
59279
|
return {
|
|
59112
59280
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59160,9 +59328,9 @@ var init_settaskevaluatorsannotationtaskstaskuuidevaluatorsputop = __esm(() => {
|
|
|
59160
59328
|
|
|
59161
59329
|
// src/funcs/annotationTasksSetEvaluators.ts
|
|
59162
59330
|
function annotationTasksSetEvaluators(client$, request, options) {
|
|
59163
|
-
return new APIPromise($
|
|
59331
|
+
return new APIPromise($do28(client$, request, options));
|
|
59164
59332
|
}
|
|
59165
|
-
async function $
|
|
59333
|
+
async function $do28(client$, request, options) {
|
|
59166
59334
|
const parsed$ = safeParse4(request, (value$) => SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59167
59335
|
if (!parsed$.ok) {
|
|
59168
59336
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59242,12 +59410,12 @@ var init_annotationTasksSetEvaluators = __esm(() => {
|
|
|
59242
59410
|
});
|
|
59243
59411
|
|
|
59244
59412
|
// src/mcp-server/tools/annotationTasksSetEvaluators.ts
|
|
59245
|
-
var
|
|
59413
|
+
var args28, tool$annotationTasksSetEvaluators;
|
|
59246
59414
|
var init_annotationTasksSetEvaluators2 = __esm(() => {
|
|
59247
59415
|
init_annotationTasksSetEvaluators();
|
|
59248
59416
|
init_settaskevaluatorsannotationtaskstaskuuidevaluatorsputop();
|
|
59249
59417
|
init_tools();
|
|
59250
|
-
|
|
59418
|
+
args28 = {
|
|
59251
59419
|
request: SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest$zodSchema
|
|
59252
59420
|
};
|
|
59253
59421
|
tool$annotationTasksSetEvaluators = {
|
|
@@ -59266,9 +59434,9 @@ must be in your workspace.
|
|
|
59266
59434
|
openWorldHint: true,
|
|
59267
59435
|
readOnlyHint: false
|
|
59268
59436
|
},
|
|
59269
|
-
args:
|
|
59270
|
-
tool: async (client,
|
|
59271
|
-
const [result] = await annotationTasksSetEvaluators(client,
|
|
59437
|
+
args: args28,
|
|
59438
|
+
tool: async (client, args29, ctx) => {
|
|
59439
|
+
const [result] = await annotationTasksSetEvaluators(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59272
59440
|
if (!result.ok) {
|
|
59273
59441
|
return {
|
|
59274
59442
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59329,9 +59497,9 @@ var init_bulkupdateitemsannotationtaskstaskuuiditemsputop = __esm(() => {
|
|
|
59329
59497
|
|
|
59330
59498
|
// src/funcs/annotationTasksUpdateItems.ts
|
|
59331
59499
|
function annotationTasksUpdateItems(client$, request, options) {
|
|
59332
|
-
return new APIPromise($
|
|
59500
|
+
return new APIPromise($do29(client$, request, options));
|
|
59333
59501
|
}
|
|
59334
|
-
async function $
|
|
59502
|
+
async function $do29(client$, request, options) {
|
|
59335
59503
|
const parsed$ = safeParse4(request, (value$) => BulkUpdateItemsAnnotationTasksTaskUuidItemsPutRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59336
59504
|
if (!parsed$.ok) {
|
|
59337
59505
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59411,12 +59579,12 @@ var init_annotationTasksUpdateItems = __esm(() => {
|
|
|
59411
59579
|
});
|
|
59412
59580
|
|
|
59413
59581
|
// src/mcp-server/tools/annotationTasksUpdateItems.ts
|
|
59414
|
-
var
|
|
59582
|
+
var args29, tool$annotationTasksUpdateItems;
|
|
59415
59583
|
var init_annotationTasksUpdateItems2 = __esm(() => {
|
|
59416
59584
|
init_annotationTasksUpdateItems();
|
|
59417
59585
|
init_bulkupdateitemsannotationtaskstaskuuiditemsputop();
|
|
59418
59586
|
init_tools();
|
|
59419
|
-
|
|
59587
|
+
args29 = {
|
|
59420
59588
|
request: BulkUpdateItemsAnnotationTasksTaskUuidItemsPutRequest$zodSchema
|
|
59421
59589
|
};
|
|
59422
59590
|
tool$annotationTasksUpdateItems = {
|
|
@@ -59431,9 +59599,9 @@ var init_annotationTasksUpdateItems2 = __esm(() => {
|
|
|
59431
59599
|
openWorldHint: true,
|
|
59432
59600
|
readOnlyHint: false
|
|
59433
59601
|
},
|
|
59434
|
-
args:
|
|
59435
|
-
tool: async (client,
|
|
59436
|
-
const [result] = await annotationTasksUpdateItems(client,
|
|
59602
|
+
args: args29,
|
|
59603
|
+
tool: async (client, args30, ctx) => {
|
|
59604
|
+
const [result] = await annotationTasksUpdateItems(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59437
59605
|
if (!result.ok) {
|
|
59438
59606
|
return {
|
|
59439
59607
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59483,9 +59651,9 @@ var init_createannotatorendpointannotatorspostop = __esm(() => {
|
|
|
59483
59651
|
|
|
59484
59652
|
// src/funcs/annotatorsCreate.ts
|
|
59485
59653
|
function annotatorsCreate(client$, request, options) {
|
|
59486
|
-
return new APIPromise($
|
|
59654
|
+
return new APIPromise($do30(client$, request, options));
|
|
59487
59655
|
}
|
|
59488
|
-
async function $
|
|
59656
|
+
async function $do30(client$, request, options) {
|
|
59489
59657
|
const parsed$ = safeParse4(request, (value$) => CreateAnnotatorEndpointAnnotatorsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59490
59658
|
if (!parsed$.ok) {
|
|
59491
59659
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59559,12 +59727,12 @@ var init_annotatorsCreate = __esm(() => {
|
|
|
59559
59727
|
});
|
|
59560
59728
|
|
|
59561
59729
|
// src/mcp-server/tools/annotatorsCreate.ts
|
|
59562
|
-
var
|
|
59730
|
+
var args30, tool$annotatorsCreate;
|
|
59563
59731
|
var init_annotatorsCreate2 = __esm(() => {
|
|
59564
59732
|
init_annotatorsCreate();
|
|
59565
59733
|
init_createannotatorendpointannotatorspostop();
|
|
59566
59734
|
init_tools();
|
|
59567
|
-
|
|
59735
|
+
args30 = {
|
|
59568
59736
|
request: CreateAnnotatorEndpointAnnotatorsPostRequest$zodSchema
|
|
59569
59737
|
};
|
|
59570
59738
|
tool$annotatorsCreate = {
|
|
@@ -59579,9 +59747,9 @@ var init_annotatorsCreate2 = __esm(() => {
|
|
|
59579
59747
|
openWorldHint: true,
|
|
59580
59748
|
readOnlyHint: false
|
|
59581
59749
|
},
|
|
59582
|
-
args:
|
|
59583
|
-
tool: async (client,
|
|
59584
|
-
const [result] = await annotatorsCreate(client,
|
|
59750
|
+
args: args30,
|
|
59751
|
+
tool: async (client, args31, ctx) => {
|
|
59752
|
+
const [result] = await annotatorsCreate(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59585
59753
|
if (!result.ok) {
|
|
59586
59754
|
return {
|
|
59587
59755
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59625,9 +59793,9 @@ var init_listannotatorsannotatorsgetop = __esm(() => {
|
|
|
59625
59793
|
|
|
59626
59794
|
// src/funcs/annotatorsList.ts
|
|
59627
59795
|
function annotatorsList(client$, request, options) {
|
|
59628
|
-
return new APIPromise($
|
|
59796
|
+
return new APIPromise($do31(client$, request, options));
|
|
59629
59797
|
}
|
|
59630
|
-
async function $
|
|
59798
|
+
async function $do31(client$, request, options) {
|
|
59631
59799
|
const parsed$ = safeParse4(request, (value$) => ListAnnotatorsAnnotatorsGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
59632
59800
|
if (!parsed$.ok) {
|
|
59633
59801
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59700,12 +59868,12 @@ var init_annotatorsList = __esm(() => {
|
|
|
59700
59868
|
});
|
|
59701
59869
|
|
|
59702
59870
|
// src/mcp-server/tools/annotatorsList.ts
|
|
59703
|
-
var
|
|
59871
|
+
var args31, tool$annotatorsList;
|
|
59704
59872
|
var init_annotatorsList2 = __esm(() => {
|
|
59705
59873
|
init_annotatorsList();
|
|
59706
59874
|
init_listannotatorsannotatorsgetop();
|
|
59707
59875
|
init_tools();
|
|
59708
|
-
|
|
59876
|
+
args31 = {
|
|
59709
59877
|
request: ListAnnotatorsAnnotatorsGetRequest$zodSchema.optional()
|
|
59710
59878
|
};
|
|
59711
59879
|
tool$annotatorsList = {
|
|
@@ -59720,9 +59888,9 @@ var init_annotatorsList2 = __esm(() => {
|
|
|
59720
59888
|
openWorldHint: true,
|
|
59721
59889
|
readOnlyHint: true
|
|
59722
59890
|
},
|
|
59723
|
-
args:
|
|
59724
|
-
tool: async (client,
|
|
59725
|
-
const [result] = await annotatorsList(client,
|
|
59891
|
+
args: args31,
|
|
59892
|
+
tool: async (client, args32, ctx) => {
|
|
59893
|
+
const [result] = await annotatorsList(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59726
59894
|
if (!result.ok) {
|
|
59727
59895
|
return {
|
|
59728
59896
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59763,9 +59931,9 @@ var init_updateannotatorendpointannotatorsannotatoruuidputop = __esm(() => {
|
|
|
59763
59931
|
|
|
59764
59932
|
// src/funcs/annotatorsUpdate.ts
|
|
59765
59933
|
function annotatorsUpdate(client$, request, options) {
|
|
59766
|
-
return new APIPromise($
|
|
59934
|
+
return new APIPromise($do32(client$, request, options));
|
|
59767
59935
|
}
|
|
59768
|
-
async function $
|
|
59936
|
+
async function $do32(client$, request, options) {
|
|
59769
59937
|
const parsed$ = safeParse4(request, (value$) => UpdateAnnotatorEndpointAnnotatorsAnnotatorUuidPutRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59770
59938
|
if (!parsed$.ok) {
|
|
59771
59939
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59845,12 +60013,12 @@ var init_annotatorsUpdate = __esm(() => {
|
|
|
59845
60013
|
});
|
|
59846
60014
|
|
|
59847
60015
|
// src/mcp-server/tools/annotatorsUpdate.ts
|
|
59848
|
-
var
|
|
60016
|
+
var args32, tool$annotatorsUpdate;
|
|
59849
60017
|
var init_annotatorsUpdate2 = __esm(() => {
|
|
59850
60018
|
init_annotatorsUpdate();
|
|
59851
60019
|
init_updateannotatorendpointannotatorsannotatoruuidputop();
|
|
59852
60020
|
init_tools();
|
|
59853
|
-
|
|
60021
|
+
args32 = {
|
|
59854
60022
|
request: UpdateAnnotatorEndpointAnnotatorsAnnotatorUuidPutRequest$zodSchema
|
|
59855
60023
|
};
|
|
59856
60024
|
tool$annotatorsUpdate = {
|
|
@@ -59865,9 +60033,9 @@ var init_annotatorsUpdate2 = __esm(() => {
|
|
|
59865
60033
|
openWorldHint: true,
|
|
59866
60034
|
readOnlyHint: false
|
|
59867
60035
|
},
|
|
59868
|
-
args:
|
|
59869
|
-
tool: async (client,
|
|
59870
|
-
const [result] = await annotatorsUpdate(client,
|
|
60036
|
+
args: args32,
|
|
60037
|
+
tool: async (client, args33, ctx) => {
|
|
60038
|
+
const [result] = await annotatorsUpdate(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59871
60039
|
if (!result.ok) {
|
|
59872
60040
|
return {
|
|
59873
60041
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59975,9 +60143,9 @@ var init_createevaluatorendpointevaluatorspostop = __esm(() => {
|
|
|
59975
60143
|
|
|
59976
60144
|
// src/funcs/evaluatorsCreate.ts
|
|
59977
60145
|
function evaluatorsCreate(client$, request, options) {
|
|
59978
|
-
return new APIPromise($
|
|
60146
|
+
return new APIPromise($do33(client$, request, options));
|
|
59979
60147
|
}
|
|
59980
|
-
async function $
|
|
60148
|
+
async function $do33(client$, request, options) {
|
|
59981
60149
|
const parsed$ = safeParse4(request, (value$) => CreateEvaluatorEndpointEvaluatorsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59982
60150
|
if (!parsed$.ok) {
|
|
59983
60151
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60051,12 +60219,12 @@ var init_evaluatorsCreate = __esm(() => {
|
|
|
60051
60219
|
});
|
|
60052
60220
|
|
|
60053
60221
|
// src/mcp-server/tools/evaluatorsCreate.ts
|
|
60054
|
-
var
|
|
60222
|
+
var args33, tool$evaluatorsCreate;
|
|
60055
60223
|
var init_evaluatorsCreate2 = __esm(() => {
|
|
60056
60224
|
init_evaluatorsCreate();
|
|
60057
60225
|
init_createevaluatorendpointevaluatorspostop();
|
|
60058
60226
|
init_tools();
|
|
60059
|
-
|
|
60227
|
+
args33 = {
|
|
60060
60228
|
request: CreateEvaluatorEndpointEvaluatorsPostRequest$zodSchema
|
|
60061
60229
|
};
|
|
60062
60230
|
tool$evaluatorsCreate = {
|
|
@@ -60071,9 +60239,9 @@ var init_evaluatorsCreate2 = __esm(() => {
|
|
|
60071
60239
|
openWorldHint: true,
|
|
60072
60240
|
readOnlyHint: false
|
|
60073
60241
|
},
|
|
60074
|
-
args:
|
|
60075
|
-
tool: async (client,
|
|
60076
|
-
const [result] = await evaluatorsCreate(client,
|
|
60242
|
+
args: args33,
|
|
60243
|
+
tool: async (client, args34, ctx) => {
|
|
60244
|
+
const [result] = await evaluatorsCreate(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60077
60245
|
if (!result.ok) {
|
|
60078
60246
|
return {
|
|
60079
60247
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60130,9 +60298,9 @@ var init_createversionevaluatorsevaluatoruuidversionspostop = __esm(() => {
|
|
|
60130
60298
|
|
|
60131
60299
|
// src/funcs/evaluatorsCreateVersion.ts
|
|
60132
60300
|
function evaluatorsCreateVersion(client$, request, options) {
|
|
60133
|
-
return new APIPromise($
|
|
60301
|
+
return new APIPromise($do34(client$, request, options));
|
|
60134
60302
|
}
|
|
60135
|
-
async function $
|
|
60303
|
+
async function $do34(client$, request, options) {
|
|
60136
60304
|
const parsed$ = safeParse4(request, (value$) => CreateVersionEvaluatorsEvaluatorUuidVersionsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
60137
60305
|
if (!parsed$.ok) {
|
|
60138
60306
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60212,12 +60380,12 @@ var init_evaluatorsCreateVersion = __esm(() => {
|
|
|
60212
60380
|
});
|
|
60213
60381
|
|
|
60214
60382
|
// src/mcp-server/tools/evaluatorsCreateVersion.ts
|
|
60215
|
-
var
|
|
60383
|
+
var args34, tool$evaluatorsCreateVersion;
|
|
60216
60384
|
var init_evaluatorsCreateVersion2 = __esm(() => {
|
|
60217
60385
|
init_evaluatorsCreateVersion();
|
|
60218
60386
|
init_createversionevaluatorsevaluatoruuidversionspostop();
|
|
60219
60387
|
init_tools();
|
|
60220
|
-
|
|
60388
|
+
args34 = {
|
|
60221
60389
|
request: CreateVersionEvaluatorsEvaluatorUuidVersionsPostRequest$zodSchema
|
|
60222
60390
|
};
|
|
60223
60391
|
tool$evaluatorsCreateVersion = {
|
|
@@ -60232,9 +60400,9 @@ var init_evaluatorsCreateVersion2 = __esm(() => {
|
|
|
60232
60400
|
openWorldHint: true,
|
|
60233
60401
|
readOnlyHint: false
|
|
60234
60402
|
},
|
|
60235
|
-
args:
|
|
60236
|
-
tool: async (client,
|
|
60237
|
-
const [result] = await evaluatorsCreateVersion(client,
|
|
60403
|
+
args: args34,
|
|
60404
|
+
tool: async (client, args35, ctx) => {
|
|
60405
|
+
const [result] = await evaluatorsCreateVersion(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60238
60406
|
if (!result.ok) {
|
|
60239
60407
|
return {
|
|
60240
60408
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60321,9 +60489,9 @@ var init_getevaluatorendpointevaluatorsevaluatoruuidgetop = __esm(() => {
|
|
|
60321
60489
|
|
|
60322
60490
|
// src/funcs/evaluatorsGet.ts
|
|
60323
60491
|
function evaluatorsGet(client$, request, options) {
|
|
60324
|
-
return new APIPromise($
|
|
60492
|
+
return new APIPromise($do35(client$, request, options));
|
|
60325
60493
|
}
|
|
60326
|
-
async function $
|
|
60494
|
+
async function $do35(client$, request, options) {
|
|
60327
60495
|
const parsed$ = safeParse4(request, (value$) => GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
60328
60496
|
if (!parsed$.ok) {
|
|
60329
60497
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60406,12 +60574,12 @@ var init_evaluatorsGet = __esm(() => {
|
|
|
60406
60574
|
});
|
|
60407
60575
|
|
|
60408
60576
|
// src/mcp-server/tools/evaluatorsGet.ts
|
|
60409
|
-
var
|
|
60577
|
+
var args35, tool$evaluatorsGet;
|
|
60410
60578
|
var init_evaluatorsGet2 = __esm(() => {
|
|
60411
60579
|
init_evaluatorsGet();
|
|
60412
60580
|
init_getevaluatorendpointevaluatorsevaluatoruuidgetop();
|
|
60413
60581
|
init_tools();
|
|
60414
|
-
|
|
60582
|
+
args35 = {
|
|
60415
60583
|
request: GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetRequest$zodSchema
|
|
60416
60584
|
};
|
|
60417
60585
|
tool$evaluatorsGet = {
|
|
@@ -60426,9 +60594,9 @@ var init_evaluatorsGet2 = __esm(() => {
|
|
|
60426
60594
|
openWorldHint: true,
|
|
60427
60595
|
readOnlyHint: true
|
|
60428
60596
|
},
|
|
60429
|
-
args:
|
|
60430
|
-
tool: async (client,
|
|
60431
|
-
const [result] = await evaluatorsGet(client,
|
|
60597
|
+
args: args35,
|
|
60598
|
+
tool: async (client, args36, ctx) => {
|
|
60599
|
+
const [result] = await evaluatorsGet(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60432
60600
|
if (!result.ok) {
|
|
60433
60601
|
return {
|
|
60434
60602
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60475,9 +60643,9 @@ var init_listevaluatorsevaluatorsgetop = __esm(() => {
|
|
|
60475
60643
|
|
|
60476
60644
|
// src/funcs/evaluatorsList.ts
|
|
60477
60645
|
function evaluatorsList(client$, request, options) {
|
|
60478
|
-
return new APIPromise($
|
|
60646
|
+
return new APIPromise($do36(client$, request, options));
|
|
60479
60647
|
}
|
|
60480
|
-
async function $
|
|
60648
|
+
async function $do36(client$, request, options) {
|
|
60481
60649
|
const parsed$ = safeParse4(request, (value$) => ListEvaluatorsEvaluatorsGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
60482
60650
|
if (!parsed$.ok) {
|
|
60483
60651
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60559,12 +60727,12 @@ var init_evaluatorsList = __esm(() => {
|
|
|
60559
60727
|
});
|
|
60560
60728
|
|
|
60561
60729
|
// src/mcp-server/tools/evaluatorsList.ts
|
|
60562
|
-
var
|
|
60730
|
+
var args36, tool$evaluatorsList;
|
|
60563
60731
|
var init_evaluatorsList2 = __esm(() => {
|
|
60564
60732
|
init_evaluatorsList();
|
|
60565
60733
|
init_listevaluatorsevaluatorsgetop();
|
|
60566
60734
|
init_tools();
|
|
60567
|
-
|
|
60735
|
+
args36 = {
|
|
60568
60736
|
request: ListEvaluatorsEvaluatorsGetRequest$zodSchema.optional()
|
|
60569
60737
|
};
|
|
60570
60738
|
tool$evaluatorsList = {
|
|
@@ -60579,9 +60747,9 @@ var init_evaluatorsList2 = __esm(() => {
|
|
|
60579
60747
|
openWorldHint: true,
|
|
60580
60748
|
readOnlyHint: true
|
|
60581
60749
|
},
|
|
60582
|
-
args:
|
|
60583
|
-
tool: async (client,
|
|
60584
|
-
const [result] = await evaluatorsList(client,
|
|
60750
|
+
args: args36,
|
|
60751
|
+
tool: async (client, args37, ctx) => {
|
|
60752
|
+
const [result] = await evaluatorsList(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60585
60753
|
if (!result.ok) {
|
|
60586
60754
|
return {
|
|
60587
60755
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60699,9 +60867,9 @@ var init_bulkuploadteststestsbulkpostop = __esm(() => {
|
|
|
60699
60867
|
|
|
60700
60868
|
// src/funcs/testsBulkCreate.ts
|
|
60701
60869
|
function testsBulkCreate(client$, request, options) {
|
|
60702
|
-
return new APIPromise($
|
|
60870
|
+
return new APIPromise($do37(client$, request, options));
|
|
60703
60871
|
}
|
|
60704
|
-
async function $
|
|
60872
|
+
async function $do37(client$, request, options) {
|
|
60705
60873
|
const parsed$ = safeParse4(request, (value$) => BulkUploadTestsTestsBulkPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
60706
60874
|
if (!parsed$.ok) {
|
|
60707
60875
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60775,12 +60943,12 @@ var init_testsBulkCreate = __esm(() => {
|
|
|
60775
60943
|
});
|
|
60776
60944
|
|
|
60777
60945
|
// src/mcp-server/tools/testsBulkCreate.ts
|
|
60778
|
-
var
|
|
60946
|
+
var args37, tool$testsBulkCreate;
|
|
60779
60947
|
var init_testsBulkCreate2 = __esm(() => {
|
|
60780
60948
|
init_testsBulkCreate();
|
|
60781
60949
|
init_bulkuploadteststestsbulkpostop();
|
|
60782
60950
|
init_tools();
|
|
60783
|
-
|
|
60951
|
+
args37 = {
|
|
60784
60952
|
request: BulkUploadTestsTestsBulkPostRequest$zodSchema
|
|
60785
60953
|
};
|
|
60786
60954
|
tool$testsBulkCreate = {
|
|
@@ -60797,9 +60965,9 @@ tests including their UUIDs.
|
|
|
60797
60965
|
openWorldHint: true,
|
|
60798
60966
|
readOnlyHint: false
|
|
60799
60967
|
},
|
|
60800
|
-
args:
|
|
60801
|
-
tool: async (client,
|
|
60802
|
-
const [result] = await testsBulkCreate(client,
|
|
60968
|
+
args: args37,
|
|
60969
|
+
tool: async (client, args38, ctx) => {
|
|
60970
|
+
const [result] = await testsBulkCreate(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60803
60971
|
if (!result.ok) {
|
|
60804
60972
|
return {
|
|
60805
60973
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60859,9 +61027,9 @@ var init_createtestendpointtestspostop = __esm(() => {
|
|
|
60859
61027
|
|
|
60860
61028
|
// src/funcs/testsCreate.ts
|
|
60861
61029
|
function testsCreate(client$, request, options) {
|
|
60862
|
-
return new APIPromise($
|
|
61030
|
+
return new APIPromise($do38(client$, request, options));
|
|
60863
61031
|
}
|
|
60864
|
-
async function $
|
|
61032
|
+
async function $do38(client$, request, options) {
|
|
60865
61033
|
const parsed$ = safeParse4(request, (value$) => CreateTestEndpointTestsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
60866
61034
|
if (!parsed$.ok) {
|
|
60867
61035
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60935,12 +61103,12 @@ var init_testsCreate = __esm(() => {
|
|
|
60935
61103
|
});
|
|
60936
61104
|
|
|
60937
61105
|
// src/mcp-server/tools/testsCreate.ts
|
|
60938
|
-
var
|
|
61106
|
+
var args38, tool$testsCreate;
|
|
60939
61107
|
var init_testsCreate2 = __esm(() => {
|
|
60940
61108
|
init_testsCreate();
|
|
60941
61109
|
init_createtestendpointtestspostop();
|
|
60942
61110
|
init_tools();
|
|
60943
|
-
|
|
61111
|
+
args38 = {
|
|
60944
61112
|
request: CreateTestEndpointTestsPostRequest$zodSchema
|
|
60945
61113
|
};
|
|
60946
61114
|
tool$testsCreate = {
|
|
@@ -60957,9 +61125,9 @@ Requires a Calibrate API key (CALIBRATE_API_KEY).
|
|
|
60957
61125
|
openWorldHint: true,
|
|
60958
61126
|
readOnlyHint: false
|
|
60959
61127
|
},
|
|
60960
|
-
args:
|
|
60961
|
-
tool: async (client,
|
|
60962
|
-
const [result] = await testsCreate(client,
|
|
61128
|
+
args: args38,
|
|
61129
|
+
tool: async (client, args39, ctx) => {
|
|
61130
|
+
const [result] = await testsCreate(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60963
61131
|
if (!result.ok) {
|
|
60964
61132
|
return {
|
|
60965
61133
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61010,9 +61178,9 @@ var init_gettestendpointteststestuuidgetop = __esm(() => {
|
|
|
61010
61178
|
|
|
61011
61179
|
// src/funcs/testsGet.ts
|
|
61012
61180
|
function testsGet(client$, request, options) {
|
|
61013
|
-
return new APIPromise($
|
|
61181
|
+
return new APIPromise($do39(client$, request, options));
|
|
61014
61182
|
}
|
|
61015
|
-
async function $
|
|
61183
|
+
async function $do39(client$, request, options) {
|
|
61016
61184
|
const parsed$ = safeParse4(request, (value$) => GetTestEndpointTestsTestUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
61017
61185
|
if (!parsed$.ok) {
|
|
61018
61186
|
return [parsed$, { status: "invalid" }];
|
|
@@ -61091,12 +61259,12 @@ var init_testsGet = __esm(() => {
|
|
|
61091
61259
|
});
|
|
61092
61260
|
|
|
61093
61261
|
// src/mcp-server/tools/testsGet.ts
|
|
61094
|
-
var
|
|
61262
|
+
var args39, tool$testsGet;
|
|
61095
61263
|
var init_testsGet2 = __esm(() => {
|
|
61096
61264
|
init_testsGet();
|
|
61097
61265
|
init_gettestendpointteststestuuidgetop();
|
|
61098
61266
|
init_tools();
|
|
61099
|
-
|
|
61267
|
+
args39 = {
|
|
61100
61268
|
request: GetTestEndpointTestsTestUuidGetRequest$zodSchema
|
|
61101
61269
|
};
|
|
61102
61270
|
tool$testsGet = {
|
|
@@ -61113,9 +61281,9 @@ exist or belongs to another org.
|
|
|
61113
61281
|
openWorldHint: true,
|
|
61114
61282
|
readOnlyHint: true
|
|
61115
61283
|
},
|
|
61116
|
-
args:
|
|
61117
|
-
tool: async (client,
|
|
61118
|
-
const [result] = await testsGet(client,
|
|
61284
|
+
args: args39,
|
|
61285
|
+
tool: async (client, args40, ctx) => {
|
|
61286
|
+
const [result] = await testsGet(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61119
61287
|
if (!result.ok) {
|
|
61120
61288
|
return {
|
|
61121
61289
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61147,9 +61315,9 @@ var init_listteststestsgetop = __esm(() => {
|
|
|
61147
61315
|
|
|
61148
61316
|
// src/funcs/testsList.ts
|
|
61149
61317
|
function testsList(client$, request, options) {
|
|
61150
|
-
return new APIPromise($
|
|
61318
|
+
return new APIPromise($do40(client$, request, options));
|
|
61151
61319
|
}
|
|
61152
|
-
async function $
|
|
61320
|
+
async function $do40(client$, request, options) {
|
|
61153
61321
|
const parsed$ = safeParse4(request, (value$) => ListTestsTestsGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
61154
61322
|
if (!parsed$.ok) {
|
|
61155
61323
|
return [parsed$, { status: "invalid" }];
|
|
@@ -61228,12 +61396,12 @@ var init_testsList = __esm(() => {
|
|
|
61228
61396
|
});
|
|
61229
61397
|
|
|
61230
61398
|
// src/mcp-server/tools/testsList.ts
|
|
61231
|
-
var
|
|
61399
|
+
var args40, tool$testsList;
|
|
61232
61400
|
var init_testsList2 = __esm(() => {
|
|
61233
61401
|
init_testsList();
|
|
61234
61402
|
init_listteststestsgetop();
|
|
61235
61403
|
init_tools();
|
|
61236
|
-
|
|
61404
|
+
args40 = {
|
|
61237
61405
|
request: ListTestsTestsGetRequest$zodSchema.optional()
|
|
61238
61406
|
};
|
|
61239
61407
|
tool$testsList = {
|
|
@@ -61250,9 +61418,9 @@ before creating runs.
|
|
|
61250
61418
|
openWorldHint: true,
|
|
61251
61419
|
readOnlyHint: true
|
|
61252
61420
|
},
|
|
61253
|
-
args:
|
|
61254
|
-
tool: async (client,
|
|
61255
|
-
const [result] = await testsList(client,
|
|
61421
|
+
args: args40,
|
|
61422
|
+
tool: async (client, args41, ctx) => {
|
|
61423
|
+
const [result] = await testsList(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61256
61424
|
if (!result.ok) {
|
|
61257
61425
|
return {
|
|
61258
61426
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61303,9 +61471,9 @@ var init_updatetestendpointteststestuuidputop = __esm(() => {
|
|
|
61303
61471
|
|
|
61304
61472
|
// src/funcs/testsUpdate.ts
|
|
61305
61473
|
function testsUpdate(client$, request, options) {
|
|
61306
|
-
return new APIPromise($
|
|
61474
|
+
return new APIPromise($do41(client$, request, options));
|
|
61307
61475
|
}
|
|
61308
|
-
async function $
|
|
61476
|
+
async function $do41(client$, request, options) {
|
|
61309
61477
|
const parsed$ = safeParse4(request, (value$) => UpdateTestEndpointTestsTestUuidPutRequest$zodSchema.parse(value$), "Input validation failed");
|
|
61310
61478
|
if (!parsed$.ok) {
|
|
61311
61479
|
return [parsed$, { status: "invalid" }];
|
|
@@ -61385,12 +61553,12 @@ var init_testsUpdate = __esm(() => {
|
|
|
61385
61553
|
});
|
|
61386
61554
|
|
|
61387
61555
|
// src/mcp-server/tools/testsUpdate.ts
|
|
61388
|
-
var
|
|
61556
|
+
var args41, tool$testsUpdate;
|
|
61389
61557
|
var init_testsUpdate2 = __esm(() => {
|
|
61390
61558
|
init_testsUpdate();
|
|
61391
61559
|
init_updatetestendpointteststestuuidputop();
|
|
61392
61560
|
init_tools();
|
|
61393
|
-
|
|
61561
|
+
args41 = {
|
|
61394
61562
|
request: UpdateTestEndpointTestsTestUuidPutRequest$zodSchema
|
|
61395
61563
|
};
|
|
61396
61564
|
tool$testsUpdate = {
|
|
@@ -61407,9 +61575,9 @@ fields to change (name, config). Returns the updated test. Fails with
|
|
|
61407
61575
|
openWorldHint: true,
|
|
61408
61576
|
readOnlyHint: false
|
|
61409
61577
|
},
|
|
61410
|
-
args:
|
|
61411
|
-
tool: async (client,
|
|
61412
|
-
const [result] = await testsUpdate(client,
|
|
61578
|
+
args: args41,
|
|
61579
|
+
tool: async (client, args42, ctx) => {
|
|
61580
|
+
const [result] = await testsUpdate(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61413
61581
|
if (!result.ok) {
|
|
61414
61582
|
return {
|
|
61415
61583
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61531,9 +61699,9 @@ var init_ingesttracetracespostop = __esm(() => {
|
|
|
61531
61699
|
|
|
61532
61700
|
// src/funcs/tracesCreate.ts
|
|
61533
61701
|
function tracesCreate(client$, request, options) {
|
|
61534
|
-
return new APIPromise($
|
|
61702
|
+
return new APIPromise($do42(client$, request, options));
|
|
61535
61703
|
}
|
|
61536
|
-
async function $
|
|
61704
|
+
async function $do42(client$, request, options) {
|
|
61537
61705
|
const parsed$ = safeParse4(request, (value$) => IngestTraceTracesPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
61538
61706
|
if (!parsed$.ok) {
|
|
61539
61707
|
return [parsed$, { status: "invalid" }];
|
|
@@ -61607,12 +61775,12 @@ var init_tracesCreate = __esm(() => {
|
|
|
61607
61775
|
});
|
|
61608
61776
|
|
|
61609
61777
|
// src/mcp-server/tools/tracesCreate.ts
|
|
61610
|
-
var
|
|
61778
|
+
var args42, tool$tracesCreate;
|
|
61611
61779
|
var init_tracesCreate2 = __esm(() => {
|
|
61612
61780
|
init_tracesCreate();
|
|
61613
61781
|
init_ingesttracetracespostop();
|
|
61614
61782
|
init_tools();
|
|
61615
|
-
|
|
61783
|
+
args42 = {
|
|
61616
61784
|
request: IngestTraceTracesPostRequest$zodSchema
|
|
61617
61785
|
};
|
|
61618
61786
|
tool$tracesCreate = {
|
|
@@ -61631,9 +61799,9 @@ hits its trace limit.
|
|
|
61631
61799
|
openWorldHint: true,
|
|
61632
61800
|
readOnlyHint: false
|
|
61633
61801
|
},
|
|
61634
|
-
args:
|
|
61635
|
-
tool: async (client,
|
|
61636
|
-
const [result] = await tracesCreate(client,
|
|
61802
|
+
args: args42,
|
|
61803
|
+
tool: async (client, args43, ctx) => {
|
|
61804
|
+
const [result] = await tracesCreate(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61637
61805
|
if (!result.ok) {
|
|
61638
61806
|
return {
|
|
61639
61807
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61649,16 +61817,16 @@ hits its trace limit.
|
|
|
61649
61817
|
function createMCPServer(deps) {
|
|
61650
61818
|
const server = new McpServer({
|
|
61651
61819
|
name: "CalibrateMcp",
|
|
61652
|
-
version: "0.0.
|
|
61820
|
+
version: "0.0.54"
|
|
61653
61821
|
});
|
|
61654
61822
|
const getClient = deps.getSDK || (() => new CalibrateMcpCore({
|
|
61655
61823
|
security: deps.security,
|
|
61656
61824
|
serverURL: deps.serverURL,
|
|
61657
61825
|
serverIdx: deps.serverIdx,
|
|
61658
61826
|
debugLogger: deps.logger.level === "debug" ? {
|
|
61659
|
-
log: (...
|
|
61660
|
-
group: (...
|
|
61661
|
-
groupEnd: (...
|
|
61827
|
+
log: (...args43) => console.log(...args43),
|
|
61828
|
+
group: (...args43) => console.group(...args43),
|
|
61829
|
+
groupEnd: (...args43) => console.groupEnd(...args43)
|
|
61662
61830
|
} : undefined
|
|
61663
61831
|
}));
|
|
61664
61832
|
const scopes = new Set(deps.scopes);
|
|
@@ -61688,6 +61856,7 @@ function createMCPServer(deps) {
|
|
|
61688
61856
|
tool(tool$agentTestsRun);
|
|
61689
61857
|
tool(tool$agentTestsRunBatch);
|
|
61690
61858
|
tool(tool$agentTestsGetRun);
|
|
61859
|
+
tool(tool$agentTestsGetRunCase);
|
|
61691
61860
|
tool(tool$agentTestsBenchmark);
|
|
61692
61861
|
tool(tool$agentTestsGetBenchmark);
|
|
61693
61862
|
tool(tool$evaluatorsCreate);
|
|
@@ -61731,6 +61900,7 @@ var init_server2 = __esm(() => {
|
|
|
61731
61900
|
init_agentTestsBulkUnlink2();
|
|
61732
61901
|
init_agentTestsGetBenchmark2();
|
|
61733
61902
|
init_agentTestsGetRun2();
|
|
61903
|
+
init_agentTestsGetRunCase2();
|
|
61734
61904
|
init_agentTestsLink2();
|
|
61735
61905
|
init_agentTestsListForAgent2();
|
|
61736
61906
|
init_agentTestsListRunsForAgent2();
|
|
@@ -61906,6 +62076,15 @@ queued, in_progress, completed, failed, or aborted status. When
|
|
|
61906
62076
|
completed, includes per-test-case pass/fail results and evaluator
|
|
61907
62077
|
judgments. Use the task_id from run-agent-tests or
|
|
61908
62078
|
run-agent-tests-batch.
|
|
62079
|
+
`
|
|
62080
|
+
},
|
|
62081
|
+
{
|
|
62082
|
+
name: "get-agent-test-case-result",
|
|
62083
|
+
description: `Fetch the full result of one test case in a run, including the
|
|
62084
|
+
conversation, the agent's output and each evaluator's reasoning. Pass
|
|
62085
|
+
the model query param for a benchmark, which runs every test once per
|
|
62086
|
+
model. Use with mode=summary on get-agent-test-run, which returns
|
|
62087
|
+
light rows without this detail.
|
|
61909
62088
|
`
|
|
61910
62089
|
},
|
|
61911
62090
|
{
|
|
@@ -62927,7 +63106,7 @@ http_headers = { "api-key-auth" = "YOUR_API_KEY_AUTH" }`;
|
|
|
62927
63106
|
<h1>Instructions</h1>
|
|
62928
63107
|
<p>One-click installation for Claude Desktop users</p>
|
|
62929
63108
|
<div class="instruction-item">
|
|
62930
|
-
<a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.
|
|
63109
|
+
<a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.54/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
|
|
62931
63110
|
\uD83D\uDCE5 Download MCP Bundle
|
|
62932
63111
|
</a>
|
|
62933
63112
|
</div>
|
|
@@ -65814,7 +65993,7 @@ var routes = buildRouteMap({
|
|
|
65814
65993
|
var app = buildApplication(routes, {
|
|
65815
65994
|
name: "mcp",
|
|
65816
65995
|
versionInfo: {
|
|
65817
|
-
currentVersion: "0.0.
|
|
65996
|
+
currentVersion: "0.0.54"
|
|
65818
65997
|
}
|
|
65819
65998
|
});
|
|
65820
65999
|
run(app, process4.argv.slice(2), buildContext(process4));
|
|
@@ -65822,5 +66001,5 @@ export {
|
|
|
65822
66001
|
app
|
|
65823
66002
|
};
|
|
65824
66003
|
|
|
65825
|
-
//# debugId=
|
|
66004
|
+
//# debugId=11C9C3793792B44F64756E2164756E21
|
|
65826
66005
|
//# sourceMappingURL=mcp-server.js.map
|