@dalmia/calibrate-mcp 0.0.53 → 0.0.55
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 +412 -221
- package/bin/mcp-server.js.map +19 -16
- 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
|
@@ -41998,6 +41998,7 @@ var require_data = __commonJS(function(exports, module) {
|
|
|
41998
41998
|
var require_utils4 = __commonJS(function(exports, module) {
|
|
41999
41999
|
var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
|
|
42000
42000
|
var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
|
|
42001
|
+
var isPort = RegExp.prototype.test.bind(/^\d*$/u);
|
|
42001
42002
|
var isHexPair = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu);
|
|
42002
42003
|
var isUnreserved = RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu);
|
|
42003
42004
|
var isPathCharacter = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/]$/u);
|
|
@@ -42502,8 +42503,12 @@ var require_utils4 = __commonJS(function(exports, module) {
|
|
|
42502
42503
|
uriTokens.push(host);
|
|
42503
42504
|
}
|
|
42504
42505
|
if (typeof component.port === "number" || typeof component.port === "string") {
|
|
42506
|
+
const port = String(component.port);
|
|
42507
|
+
if (!isPort(port)) {
|
|
42508
|
+
throw new TypeError("URI port is malformed.");
|
|
42509
|
+
}
|
|
42505
42510
|
uriTokens.push(":");
|
|
42506
|
-
uriTokens.push(
|
|
42511
|
+
uriTokens.push(port);
|
|
42507
42512
|
}
|
|
42508
42513
|
return uriTokens.length ? uriTokens.join("") : undefined;
|
|
42509
42514
|
}
|
|
@@ -43137,12 +43142,16 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
43137
43142
|
}
|
|
43138
43143
|
return false;
|
|
43139
43144
|
}
|
|
43145
|
+
function isIPLiteral(host) {
|
|
43146
|
+
return host[0] === "[" && host[host.length - 1] === "]";
|
|
43147
|
+
}
|
|
43140
43148
|
function hasMalformedComponentPercentEncoding(matches) {
|
|
43141
43149
|
const host = matches[4];
|
|
43142
|
-
return hasMalformedPercentEncoding(matches[3]) || host !== undefined && !(host
|
|
43150
|
+
return hasMalformedPercentEncoding(matches[3]) || host !== undefined && !isIPLiteral(host) && hasMalformedPercentEncoding(host) || hasMalformedPercentEncoding(matches[6]) || hasMalformedPercentEncoding(matches[7]) || hasMalformedPercentEncoding(matches[8]);
|
|
43143
43151
|
}
|
|
43144
43152
|
function canonicalizeHost(parsed, options, schemeHandler, isIP) {
|
|
43145
|
-
|
|
43153
|
+
const bracketedIPLiteral = parsed.host && parsed.host[0] === "[" && parsed.host[parsed.host.length - 1] === "]";
|
|
43154
|
+
if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport) && parsed.host && !isIPLiteral(parsed.host) && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && !bracketedIPLiteral && nonSimpleDomain(parsed.host)) {
|
|
43146
43155
|
try {
|
|
43147
43156
|
parsed.host = new URL("http://" + parsed.host).hostname;
|
|
43148
43157
|
} catch (e) {
|
|
@@ -43229,10 +43238,11 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
43229
43238
|
if (parsed.host) {
|
|
43230
43239
|
const ipv4result = isIPv4(parsed.host);
|
|
43231
43240
|
if (ipv4result === false) {
|
|
43232
|
-
const bracketedIPLiteral = parsed.host
|
|
43241
|
+
const bracketedIPLiteral = isIPLiteral(parsed.host);
|
|
43242
|
+
const hasIPLiteralBracket = parsed.host.indexOf("[") !== -1 || parsed.host.indexOf("]") !== -1;
|
|
43233
43243
|
const ipv6result = normalizeIPv6(parsed.host);
|
|
43234
43244
|
isIP = ipv6result.isIPV6 || ipv6result.isIPVFuture === true;
|
|
43235
|
-
malformedIPLiteral =
|
|
43245
|
+
malformedIPLiteral = hasIPLiteralBracket && (!bracketedIPLiteral || ipv6result.error === true);
|
|
43236
43246
|
parsed.host = isIP ? ipv6result.host : ipv6result.host.toLowerCase();
|
|
43237
43247
|
if (malformedIPLiteral) {
|
|
43238
43248
|
parsed.error = parsed.error || "URI host is malformed.";
|
|
@@ -43255,7 +43265,9 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
43255
43265
|
parsed.error = parsed.error || "URI is not a " + options.reference + " reference.";
|
|
43256
43266
|
}
|
|
43257
43267
|
const schemeHandler = getSchemeHandler(options.scheme || parsed.scheme);
|
|
43258
|
-
|
|
43268
|
+
if (!malformedIPLiteral) {
|
|
43269
|
+
malformedHost = canonicalizeHost(parsed, options, schemeHandler, isIP);
|
|
43270
|
+
}
|
|
43259
43271
|
if (!schemeHandler || schemeHandler && !schemeHandler.skipNormalize) {
|
|
43260
43272
|
if (uri.indexOf("%") !== -1) {
|
|
43261
43273
|
if (parsed.host !== undefined && !malformedIPLiteral) {
|
|
@@ -53020,9 +53032,9 @@ var init_config = __esm(() => {
|
|
|
53020
53032
|
SDK_METADATA = {
|
|
53021
53033
|
language: "typescript",
|
|
53022
53034
|
openapiDocVersion: "0.1.0",
|
|
53023
|
-
sdkVersion: "0.0.
|
|
53035
|
+
sdkVersion: "0.0.55",
|
|
53024
53036
|
genVersion: "2.915.1",
|
|
53025
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.0.
|
|
53037
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.0.55 2.915.1 0.1.0 @dalmia/calibrate-mcp"
|
|
53026
53038
|
};
|
|
53027
53039
|
});
|
|
53028
53040
|
|
|
@@ -56203,11 +56215,17 @@ var init_testoutput = __esm(() => {
|
|
|
56203
56215
|
});
|
|
56204
56216
|
|
|
56205
56217
|
// src/models/testcaseresult.ts
|
|
56206
|
-
var TestCaseResult$zodSchema;
|
|
56218
|
+
var TestType$zodSchema, TestCaseResult$zodSchema;
|
|
56207
56219
|
var init_testcaseresult = __esm(() => {
|
|
56208
56220
|
init_zod();
|
|
56209
56221
|
init_judgeresult();
|
|
56210
56222
|
init_testoutput();
|
|
56223
|
+
TestType$zodSchema = _enum([
|
|
56224
|
+
"response",
|
|
56225
|
+
"tool_call",
|
|
56226
|
+
"conversation",
|
|
56227
|
+
"general"
|
|
56228
|
+
]);
|
|
56211
56229
|
TestCaseResult$zodSchema = object({
|
|
56212
56230
|
cost: number2().nullable().optional().describe("Cost of this case (USD)"),
|
|
56213
56231
|
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 +56238,8 @@ var init_testcaseresult = __esm(() => {
|
|
|
56220
56238
|
reasoning: string2().nullable().optional().describe("The judge's reasoning, or the tool-call diff for a tool-call test"),
|
|
56221
56239
|
test_case: record(string2(), any()).nullable().optional().describe("The test case definition that was run"),
|
|
56222
56240
|
test_case_id: string2().nullable().optional().describe("ID of the test case within the run"),
|
|
56241
|
+
test_type: TestType$zodSchema.nullable().optional().describe("What the test asks of the agent, which decides how a reader draws the case"),
|
|
56242
|
+
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
56243
|
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
56244
|
});
|
|
56225
56245
|
});
|
|
@@ -56300,13 +56320,18 @@ var init_benchmarkstatusresponse = __esm(() => {
|
|
|
56300
56320
|
});
|
|
56301
56321
|
|
|
56302
56322
|
// src/models/getbenchmarkstatusagenttestsbenchmarktaskidgetop.ts
|
|
56303
|
-
var GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetRequest$zodSchema, GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetResponse$zodSchema;
|
|
56323
|
+
var GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetMode$zodSchema, GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetRequest$zodSchema, GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetResponse$zodSchema;
|
|
56304
56324
|
var init_getbenchmarkstatusagenttestsbenchmarktaskidgetop = __esm(() => {
|
|
56305
56325
|
init_zod();
|
|
56306
56326
|
init_benchmarkstatusresponse();
|
|
56307
56327
|
init_httpvalidationerror();
|
|
56328
|
+
GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetMode$zodSchema = _enum([
|
|
56329
|
+
"full",
|
|
56330
|
+
"summary"
|
|
56331
|
+
]).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
56332
|
GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetRequest$zodSchema = object({
|
|
56309
56333
|
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"),
|
|
56334
|
+
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
56335
|
only_failed: boolean2().default(false).describe("Return only failing test cases for each model. Omit to return every case"),
|
|
56311
56336
|
task_id: string2().describe("Benchmark run to poll for status and results"),
|
|
56312
56337
|
xAPIKey: string2().nullable().optional()
|
|
@@ -56337,6 +56362,7 @@ async function $do11(client$, request, options) {
|
|
|
56337
56362
|
const path$ = pathToFunc("/agent-tests/benchmark/{task_id}")(pathParams$);
|
|
56338
56363
|
const query$ = encodeFormQuery({
|
|
56339
56364
|
compact: payload$.compact,
|
|
56365
|
+
mode: payload$.mode,
|
|
56340
56366
|
only_failed: payload$.only_failed
|
|
56341
56367
|
});
|
|
56342
56368
|
const headers$ = new Headers(compactMap({
|
|
@@ -56450,6 +56476,7 @@ var init_testrunstatusresponse = __esm(() => {
|
|
|
56450
56476
|
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
56477
|
cost: record(string2(), any()).nullable().optional().describe("Aggregated cost as `{mean, min, max, count}` (USD)"),
|
|
56452
56478
|
error: boolean2().default(false).describe("True if the run failed"),
|
|
56479
|
+
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
56480
|
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
56481
|
failed: int().nullable().optional().describe("Number of test cases that failed"),
|
|
56455
56482
|
is_public: boolean2().default(false).describe("Whether the run is shared publicly"),
|
|
@@ -56469,13 +56496,18 @@ var init_testrunstatusresponse = __esm(() => {
|
|
|
56469
56496
|
});
|
|
56470
56497
|
|
|
56471
56498
|
// src/models/getagenttestrunstatusagenttestsruntaskidgetop.ts
|
|
56472
|
-
var GetAgentTestRunStatusAgentTestsRunTaskIdGetRequest$zodSchema, GetAgentTestRunStatusAgentTestsRunTaskIdGetResponse$zodSchema;
|
|
56499
|
+
var GetAgentTestRunStatusAgentTestsRunTaskIdGetMode$zodSchema, GetAgentTestRunStatusAgentTestsRunTaskIdGetRequest$zodSchema, GetAgentTestRunStatusAgentTestsRunTaskIdGetResponse$zodSchema;
|
|
56473
56500
|
var init_getagenttestrunstatusagenttestsruntaskidgetop = __esm(() => {
|
|
56474
56501
|
init_zod();
|
|
56475
56502
|
init_httpvalidationerror();
|
|
56476
56503
|
init_testrunstatusresponse();
|
|
56504
|
+
GetAgentTestRunStatusAgentTestsRunTaskIdGetMode$zodSchema = _enum([
|
|
56505
|
+
"full",
|
|
56506
|
+
"summary"
|
|
56507
|
+
]).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
56508
|
GetAgentTestRunStatusAgentTestsRunTaskIdGetRequest$zodSchema = object({
|
|
56478
56509
|
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"),
|
|
56510
|
+
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
56511
|
only_failed: boolean2().default(false).describe("Return only failing test cases. Omit to return every case"),
|
|
56480
56512
|
task_id: string2().describe("Test run to poll for status and results"),
|
|
56481
56513
|
xAPIKey: string2().nullable().optional()
|
|
@@ -56506,6 +56538,7 @@ async function $do12(client$, request, options) {
|
|
|
56506
56538
|
const path$ = pathToFunc("/agent-tests/run/{task_id}")(pathParams$);
|
|
56507
56539
|
const query$ = encodeFormQuery({
|
|
56508
56540
|
compact: payload$.compact,
|
|
56541
|
+
mode: payload$.mode,
|
|
56509
56542
|
only_failed: payload$.only_failed
|
|
56510
56543
|
});
|
|
56511
56544
|
const headers$ = new Headers(compactMap({
|
|
@@ -56612,6 +56645,153 @@ run-agent-tests-batch.
|
|
|
56612
56645
|
};
|
|
56613
56646
|
});
|
|
56614
56647
|
|
|
56648
|
+
// src/models/getagenttestcaseresultagenttestsruntaskidresultstestuuidgetop.ts
|
|
56649
|
+
var GetAgentTestCaseResultAgentTestsRunTaskIdResultsTestUuidGetRequest$zodSchema, GetAgentTestCaseResultAgentTestsRunTaskIdResultsTestUuidGetResponse$zodSchema;
|
|
56650
|
+
var init_getagenttestcaseresultagenttestsruntaskidresultstestuuidgetop = __esm(() => {
|
|
56651
|
+
init_zod();
|
|
56652
|
+
init_httpvalidationerror();
|
|
56653
|
+
init_testcaseresult();
|
|
56654
|
+
GetAgentTestCaseResultAgentTestsRunTaskIdResultsTestUuidGetRequest$zodSchema = object({
|
|
56655
|
+
model: string2().describe("Which model's answer to read. Required for a benchmark, which runs every test once per model").nullable().optional(),
|
|
56656
|
+
task_id: string2().describe("Test run or benchmark the case was run in"),
|
|
56657
|
+
test_uuid: string2().describe("The test whose result to read, as `test_uuid` on the case"),
|
|
56658
|
+
xAPIKey: string2().nullable().optional()
|
|
56659
|
+
});
|
|
56660
|
+
GetAgentTestCaseResultAgentTestsRunTaskIdResultsTestUuidGetResponse$zodSchema = union([
|
|
56661
|
+
TestCaseResult$zodSchema,
|
|
56662
|
+
HTTPValidationError$zodSchema
|
|
56663
|
+
]);
|
|
56664
|
+
});
|
|
56665
|
+
|
|
56666
|
+
// src/funcs/agentTestsGetRunCase.ts
|
|
56667
|
+
function agentTestsGetRunCase(client$, request, options) {
|
|
56668
|
+
return new APIPromise($do13(client$, request, options));
|
|
56669
|
+
}
|
|
56670
|
+
async function $do13(client$, request, options) {
|
|
56671
|
+
const parsed$ = safeParse4(request, (value$) => GetAgentTestCaseResultAgentTestsRunTaskIdResultsTestUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56672
|
+
if (!parsed$.ok) {
|
|
56673
|
+
return [parsed$, { status: "invalid" }];
|
|
56674
|
+
}
|
|
56675
|
+
const payload$ = parsed$.value;
|
|
56676
|
+
const body$ = null;
|
|
56677
|
+
const pathParams$ = {
|
|
56678
|
+
task_id: encodeSimple("task_id", payload$.task_id, {
|
|
56679
|
+
explode: false,
|
|
56680
|
+
charEncoding: "percent"
|
|
56681
|
+
}),
|
|
56682
|
+
test_uuid: encodeSimple("test_uuid", payload$.test_uuid, {
|
|
56683
|
+
explode: false,
|
|
56684
|
+
charEncoding: "percent"
|
|
56685
|
+
})
|
|
56686
|
+
};
|
|
56687
|
+
const path$ = pathToFunc("/agent-tests/run/{task_id}/results/{test_uuid}")(pathParams$);
|
|
56688
|
+
const query$ = encodeFormQuery({
|
|
56689
|
+
model: payload$.model
|
|
56690
|
+
});
|
|
56691
|
+
const headers$ = new Headers(compactMap({
|
|
56692
|
+
Accept: "application/json",
|
|
56693
|
+
"X-API-Key": encodeSimple("X-API-Key", payload$.xAPIKey, {
|
|
56694
|
+
explode: false,
|
|
56695
|
+
charEncoding: "none"
|
|
56696
|
+
})
|
|
56697
|
+
}));
|
|
56698
|
+
const securityInput = await extractSecurity(client$._options.security);
|
|
56699
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
56700
|
+
const context = {
|
|
56701
|
+
options: client$._options,
|
|
56702
|
+
baseURL: options?.serverURL ?? client$._baseURL ?? "",
|
|
56703
|
+
operationID: "get_agent_test_case_result_agent_tests_run__task_id__results__test_uuid__get",
|
|
56704
|
+
oAuth2Scopes: null,
|
|
56705
|
+
resolvedSecurity: requestSecurity,
|
|
56706
|
+
securitySource: client$._options.security,
|
|
56707
|
+
retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
|
|
56708
|
+
retryCodes: options?.retryCodes || [
|
|
56709
|
+
"429",
|
|
56710
|
+
"500",
|
|
56711
|
+
"502",
|
|
56712
|
+
"503",
|
|
56713
|
+
"504"
|
|
56714
|
+
]
|
|
56715
|
+
};
|
|
56716
|
+
const requestRes = client$._createRequest(context, {
|
|
56717
|
+
security: requestSecurity,
|
|
56718
|
+
method: "GET",
|
|
56719
|
+
baseURL: options?.serverURL,
|
|
56720
|
+
path: path$,
|
|
56721
|
+
headers: headers$,
|
|
56722
|
+
query: query$,
|
|
56723
|
+
body: body$,
|
|
56724
|
+
userAgent: client$._options.userAgent,
|
|
56725
|
+
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
56726
|
+
}, options);
|
|
56727
|
+
if (!requestRes.ok) {
|
|
56728
|
+
return [requestRes, { status: "invalid" }];
|
|
56729
|
+
}
|
|
56730
|
+
const req$ = requestRes.value;
|
|
56731
|
+
const doResult = await client$._do(req$, {
|
|
56732
|
+
context,
|
|
56733
|
+
errorCodes: [],
|
|
56734
|
+
retryConfig: context.retryConfig,
|
|
56735
|
+
retryCodes: context.retryCodes
|
|
56736
|
+
});
|
|
56737
|
+
if (!doResult.ok) {
|
|
56738
|
+
return [doResult, { status: "request-error", request: req$ }];
|
|
56739
|
+
}
|
|
56740
|
+
return [doResult, {
|
|
56741
|
+
status: "complete",
|
|
56742
|
+
request: req$,
|
|
56743
|
+
response: doResult.value
|
|
56744
|
+
}];
|
|
56745
|
+
}
|
|
56746
|
+
var init_agentTestsGetRunCase = __esm(() => {
|
|
56747
|
+
init_encodings();
|
|
56748
|
+
init_primitives();
|
|
56749
|
+
init_schemas4();
|
|
56750
|
+
init_security();
|
|
56751
|
+
init_url();
|
|
56752
|
+
init_getagenttestcaseresultagenttestsruntaskidresultstestuuidgetop();
|
|
56753
|
+
init_async();
|
|
56754
|
+
});
|
|
56755
|
+
|
|
56756
|
+
// src/mcp-server/tools/agentTestsGetRunCase.ts
|
|
56757
|
+
var args13, tool$agentTestsGetRunCase;
|
|
56758
|
+
var init_agentTestsGetRunCase2 = __esm(() => {
|
|
56759
|
+
init_agentTestsGetRunCase();
|
|
56760
|
+
init_getagenttestcaseresultagenttestsruntaskidresultstestuuidgetop();
|
|
56761
|
+
init_tools();
|
|
56762
|
+
args13 = {
|
|
56763
|
+
request: GetAgentTestCaseResultAgentTestsRunTaskIdResultsTestUuidGetRequest$zodSchema
|
|
56764
|
+
};
|
|
56765
|
+
tool$agentTestsGetRunCase = {
|
|
56766
|
+
name: "get-agent-test-case-result",
|
|
56767
|
+
description: `Fetch the full result of one test case in a run, including the
|
|
56768
|
+
conversation, the agent's output and each evaluator's reasoning. Pass
|
|
56769
|
+
the model query param for a benchmark, which runs every test once per
|
|
56770
|
+
model. Use with mode=summary on get-agent-test-run, which returns
|
|
56771
|
+
light rows without this detail.
|
|
56772
|
+
`,
|
|
56773
|
+
scopes: ["read"],
|
|
56774
|
+
annotations: {
|
|
56775
|
+
title: "Get agent test case result",
|
|
56776
|
+
destructiveHint: false,
|
|
56777
|
+
idempotentHint: false,
|
|
56778
|
+
openWorldHint: true,
|
|
56779
|
+
readOnlyHint: true
|
|
56780
|
+
},
|
|
56781
|
+
args: args13,
|
|
56782
|
+
tool: async (client, args14, ctx) => {
|
|
56783
|
+
const [result] = await agentTestsGetRunCase(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56784
|
+
if (!result.ok) {
|
|
56785
|
+
return {
|
|
56786
|
+
content: [{ type: "text", text: result.error.message }],
|
|
56787
|
+
isError: true
|
|
56788
|
+
};
|
|
56789
|
+
}
|
|
56790
|
+
return formatResult(result.value);
|
|
56791
|
+
}
|
|
56792
|
+
};
|
|
56793
|
+
});
|
|
56794
|
+
|
|
56615
56795
|
// src/models/agenttestscreate.ts
|
|
56616
56796
|
var AgentTestsCreate$zodSchema;
|
|
56617
56797
|
var init_agenttestscreate = __esm(() => {
|
|
@@ -56650,9 +56830,9 @@ var init_createagenttestlinksagenttestspostop = __esm(() => {
|
|
|
56650
56830
|
|
|
56651
56831
|
// src/funcs/agentTestsLink.ts
|
|
56652
56832
|
function agentTestsLink(client$, request, options) {
|
|
56653
|
-
return new APIPromise($
|
|
56833
|
+
return new APIPromise($do14(client$, request, options));
|
|
56654
56834
|
}
|
|
56655
|
-
async function $
|
|
56835
|
+
async function $do14(client$, request, options) {
|
|
56656
56836
|
const parsed$ = safeParse4(request, (value$) => CreateAgentTestLinksAgentTestsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56657
56837
|
if (!parsed$.ok) {
|
|
56658
56838
|
return [parsed$, { status: "invalid" }];
|
|
@@ -56726,12 +56906,12 @@ var init_agentTestsLink = __esm(() => {
|
|
|
56726
56906
|
});
|
|
56727
56907
|
|
|
56728
56908
|
// src/mcp-server/tools/agentTestsLink.ts
|
|
56729
|
-
var
|
|
56909
|
+
var args14, tool$agentTestsLink;
|
|
56730
56910
|
var init_agentTestsLink2 = __esm(() => {
|
|
56731
56911
|
init_agentTestsLink();
|
|
56732
56912
|
init_createagenttestlinksagenttestspostop();
|
|
56733
56913
|
init_tools();
|
|
56734
|
-
|
|
56914
|
+
args14 = {
|
|
56735
56915
|
request: CreateAgentTestLinksAgentTestsPostRequest$zodSchema
|
|
56736
56916
|
};
|
|
56737
56917
|
tool$agentTestsLink = {
|
|
@@ -56746,9 +56926,9 @@ var init_agentTestsLink2 = __esm(() => {
|
|
|
56746
56926
|
openWorldHint: true,
|
|
56747
56927
|
readOnlyHint: false
|
|
56748
56928
|
},
|
|
56749
|
-
args:
|
|
56750
|
-
tool: async (client,
|
|
56751
|
-
const [result] = await agentTestsLink(client,
|
|
56929
|
+
args: args14,
|
|
56930
|
+
tool: async (client, args15, ctx) => {
|
|
56931
|
+
const [result] = await agentTestsLink(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56752
56932
|
if (!result.ok) {
|
|
56753
56933
|
return {
|
|
56754
56934
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56832,9 +57012,9 @@ var init_getagenttestsendpointagenttestsagentagentuuidtestsgetop = __esm(() => {
|
|
|
56832
57012
|
|
|
56833
57013
|
// src/funcs/agentTestsListForAgent.ts
|
|
56834
57014
|
function agentTestsListForAgent(client$, request, options) {
|
|
56835
|
-
return new APIPromise($
|
|
57015
|
+
return new APIPromise($do15(client$, request, options));
|
|
56836
57016
|
}
|
|
56837
|
-
async function $
|
|
57017
|
+
async function $do15(client$, request, options) {
|
|
56838
57018
|
const parsed$ = safeParse4(request, (value$) => GetAgentTestsEndpointAgentTestsAgentAgentUuidTestsGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56839
57019
|
if (!parsed$.ok) {
|
|
56840
57020
|
return [parsed$, { status: "invalid" }];
|
|
@@ -56921,12 +57101,12 @@ var init_agentTestsListForAgent = __esm(() => {
|
|
|
56921
57101
|
});
|
|
56922
57102
|
|
|
56923
57103
|
// src/mcp-server/tools/agentTestsListForAgent.ts
|
|
56924
|
-
var
|
|
57104
|
+
var args15, tool$agentTestsListForAgent;
|
|
56925
57105
|
var init_agentTestsListForAgent2 = __esm(() => {
|
|
56926
57106
|
init_agentTestsListForAgent();
|
|
56927
57107
|
init_getagenttestsendpointagenttestsagentagentuuidtestsgetop();
|
|
56928
57108
|
init_tools();
|
|
56929
|
-
|
|
57109
|
+
args15 = {
|
|
56930
57110
|
request: GetAgentTestsEndpointAgentTestsAgentAgentUuidTestsGetRequest$zodSchema
|
|
56931
57111
|
};
|
|
56932
57112
|
tool$agentTestsListForAgent = {
|
|
@@ -56941,9 +57121,9 @@ var init_agentTestsListForAgent2 = __esm(() => {
|
|
|
56941
57121
|
openWorldHint: true,
|
|
56942
57122
|
readOnlyHint: true
|
|
56943
57123
|
},
|
|
56944
|
-
args:
|
|
56945
|
-
tool: async (client,
|
|
56946
|
-
const [result] = await agentTestsListForAgent(client,
|
|
57124
|
+
args: args15,
|
|
57125
|
+
tool: async (client, args16, ctx) => {
|
|
57126
|
+
const [result] = await agentTestsListForAgent(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56947
57127
|
if (!result.ok) {
|
|
56948
57128
|
return {
|
|
56949
57129
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57072,9 +57252,9 @@ var init_getagenttestrunsagenttestsagentagentuuidrunsgetop = __esm(() => {
|
|
|
57072
57252
|
|
|
57073
57253
|
// src/funcs/agentTestsListRunsForAgent.ts
|
|
57074
57254
|
function agentTestsListRunsForAgent(client$, request, options) {
|
|
57075
|
-
return new APIPromise($
|
|
57255
|
+
return new APIPromise($do16(client$, request, options));
|
|
57076
57256
|
}
|
|
57077
|
-
async function $
|
|
57257
|
+
async function $do16(client$, request, options) {
|
|
57078
57258
|
const parsed$ = safeParse4(request, (value$) => GetAgentTestRunsAgentTestsAgentAgentUuidRunsGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57079
57259
|
if (!parsed$.ok) {
|
|
57080
57260
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57162,12 +57342,12 @@ var init_agentTestsListRunsForAgent = __esm(() => {
|
|
|
57162
57342
|
});
|
|
57163
57343
|
|
|
57164
57344
|
// src/mcp-server/tools/agentTestsListRunsForAgent.ts
|
|
57165
|
-
var
|
|
57345
|
+
var args16, tool$agentTestsListRunsForAgent;
|
|
57166
57346
|
var init_agentTestsListRunsForAgent2 = __esm(() => {
|
|
57167
57347
|
init_agentTestsListRunsForAgent();
|
|
57168
57348
|
init_getagenttestrunsagenttestsagentagentuuidrunsgetop();
|
|
57169
57349
|
init_tools();
|
|
57170
|
-
|
|
57350
|
+
args16 = {
|
|
57171
57351
|
request: GetAgentTestRunsAgentTestsAgentAgentUuidRunsGetRequest$zodSchema
|
|
57172
57352
|
};
|
|
57173
57353
|
tool$agentTestsListRunsForAgent = {
|
|
@@ -57182,9 +57362,9 @@ var init_agentTestsListRunsForAgent2 = __esm(() => {
|
|
|
57182
57362
|
openWorldHint: true,
|
|
57183
57363
|
readOnlyHint: true
|
|
57184
57364
|
},
|
|
57185
|
-
args:
|
|
57186
|
-
tool: async (client,
|
|
57187
|
-
const [result] = await agentTestsListRunsForAgent(client,
|
|
57365
|
+
args: args16,
|
|
57366
|
+
tool: async (client, args17, ctx) => {
|
|
57367
|
+
const [result] = await agentTestsListRunsForAgent(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57188
57368
|
if (!result.ok) {
|
|
57189
57369
|
return {
|
|
57190
57370
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57225,9 +57405,9 @@ var init_runagenttestagenttestsagentagentuuidrunpostop = __esm(() => {
|
|
|
57225
57405
|
|
|
57226
57406
|
// src/funcs/agentTestsRun.ts
|
|
57227
57407
|
function agentTestsRun(client$, request, options) {
|
|
57228
|
-
return new APIPromise($
|
|
57408
|
+
return new APIPromise($do17(client$, request, options));
|
|
57229
57409
|
}
|
|
57230
|
-
async function $
|
|
57410
|
+
async function $do17(client$, request, options) {
|
|
57231
57411
|
const parsed$ = safeParse4(request, (value$) => RunAgentTestAgentTestsAgentAgentUuidRunPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57232
57412
|
if (!parsed$.ok) {
|
|
57233
57413
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57307,12 +57487,12 @@ var init_agentTestsRun = __esm(() => {
|
|
|
57307
57487
|
});
|
|
57308
57488
|
|
|
57309
57489
|
// src/mcp-server/tools/agentTestsRun.ts
|
|
57310
|
-
var
|
|
57490
|
+
var args17, tool$agentTestsRun;
|
|
57311
57491
|
var init_agentTestsRun2 = __esm(() => {
|
|
57312
57492
|
init_agentTestsRun();
|
|
57313
57493
|
init_runagenttestagenttestsagentagentuuidrunpostop();
|
|
57314
57494
|
init_tools();
|
|
57315
|
-
|
|
57495
|
+
args17 = {
|
|
57316
57496
|
request: RunAgentTestAgentTestsAgentAgentUuidRunPostRequest$zodSchema
|
|
57317
57497
|
};
|
|
57318
57498
|
tool$agentTestsRun = {
|
|
@@ -57331,9 +57511,9 @@ or 404.
|
|
|
57331
57511
|
openWorldHint: true,
|
|
57332
57512
|
readOnlyHint: false
|
|
57333
57513
|
},
|
|
57334
|
-
args:
|
|
57335
|
-
tool: async (client,
|
|
57336
|
-
const [result] = await agentTestsRun(client,
|
|
57514
|
+
args: args17,
|
|
57515
|
+
tool: async (client, args18, ctx) => {
|
|
57516
|
+
const [result] = await agentTestsRun(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57337
57517
|
if (!result.ok) {
|
|
57338
57518
|
return {
|
|
57339
57519
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57417,9 +57597,9 @@ var init_runtestsbatchagenttestsrunpostop = __esm(() => {
|
|
|
57417
57597
|
|
|
57418
57598
|
// src/funcs/agentTestsRunBatch.ts
|
|
57419
57599
|
function agentTestsRunBatch(client$, request, options) {
|
|
57420
|
-
return new APIPromise($
|
|
57600
|
+
return new APIPromise($do18(client$, request, options));
|
|
57421
57601
|
}
|
|
57422
|
-
async function $
|
|
57602
|
+
async function $do18(client$, request, options) {
|
|
57423
57603
|
const parsed$ = safeParse4(request, (value$) => RunTestsBatchAgentTestsRunPostRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
57424
57604
|
if (!parsed$.ok) {
|
|
57425
57605
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57493,12 +57673,12 @@ var init_agentTestsRunBatch = __esm(() => {
|
|
|
57493
57673
|
});
|
|
57494
57674
|
|
|
57495
57675
|
// src/mcp-server/tools/agentTestsRunBatch.ts
|
|
57496
|
-
var
|
|
57676
|
+
var args18, tool$agentTestsRunBatch;
|
|
57497
57677
|
var init_agentTestsRunBatch2 = __esm(() => {
|
|
57498
57678
|
init_agentTestsRunBatch();
|
|
57499
57679
|
init_runtestsbatchagenttestsrunpostop();
|
|
57500
57680
|
init_tools();
|
|
57501
|
-
|
|
57681
|
+
args18 = {
|
|
57502
57682
|
request: RunTestsBatchAgentTestsRunPostRequest$zodSchema.optional()
|
|
57503
57683
|
};
|
|
57504
57684
|
tool$agentTestsRunBatch = {
|
|
@@ -57517,9 +57697,9 @@ task_id values to poll with get-agent-test-run.
|
|
|
57517
57697
|
openWorldHint: true,
|
|
57518
57698
|
readOnlyHint: false
|
|
57519
57699
|
},
|
|
57520
|
-
args:
|
|
57521
|
-
tool: async (client,
|
|
57522
|
-
const [result] = await agentTestsRunBatch(client,
|
|
57700
|
+
args: args18,
|
|
57701
|
+
tool: async (client, args19, ctx) => {
|
|
57702
|
+
const [result] = await agentTestsRunBatch(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57523
57703
|
if (!result.ok) {
|
|
57524
57704
|
return {
|
|
57525
57705
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57588,9 +57768,9 @@ var init_bulkcreateitemsannotationtaskstaskuuiditemspostop = __esm(() => {
|
|
|
57588
57768
|
|
|
57589
57769
|
// src/funcs/annotationTasksAddItems.ts
|
|
57590
57770
|
function annotationTasksAddItems(client$, request, options) {
|
|
57591
|
-
return new APIPromise($
|
|
57771
|
+
return new APIPromise($do19(client$, request, options));
|
|
57592
57772
|
}
|
|
57593
|
-
async function $
|
|
57773
|
+
async function $do19(client$, request, options) {
|
|
57594
57774
|
const parsed$ = safeParse4(request, (value$) => BulkCreateItemsAnnotationTasksTaskUuidItemsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57595
57775
|
if (!parsed$.ok) {
|
|
57596
57776
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57670,12 +57850,12 @@ var init_annotationTasksAddItems = __esm(() => {
|
|
|
57670
57850
|
});
|
|
57671
57851
|
|
|
57672
57852
|
// src/mcp-server/tools/annotationTasksAddItems.ts
|
|
57673
|
-
var
|
|
57853
|
+
var args19, tool$annotationTasksAddItems;
|
|
57674
57854
|
var init_annotationTasksAddItems2 = __esm(() => {
|
|
57675
57855
|
init_annotationTasksAddItems();
|
|
57676
57856
|
init_bulkcreateitemsannotationtaskstaskuuiditemspostop();
|
|
57677
57857
|
init_tools();
|
|
57678
|
-
|
|
57858
|
+
args19 = {
|
|
57679
57859
|
request: BulkCreateItemsAnnotationTasksTaskUuidItemsPostRequest$zodSchema
|
|
57680
57860
|
};
|
|
57681
57861
|
tool$annotationTasksAddItems = {
|
|
@@ -57690,9 +57870,9 @@ var init_annotationTasksAddItems2 = __esm(() => {
|
|
|
57690
57870
|
openWorldHint: true,
|
|
57691
57871
|
readOnlyHint: false
|
|
57692
57872
|
},
|
|
57693
|
-
args:
|
|
57694
|
-
tool: async (client,
|
|
57695
|
-
const [result] = await annotationTasksAddItems(client,
|
|
57873
|
+
args: args19,
|
|
57874
|
+
tool: async (client, args20, ctx) => {
|
|
57875
|
+
const [result] = await annotationTasksAddItems(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57696
57876
|
if (!result.ok) {
|
|
57697
57877
|
return {
|
|
57698
57878
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57752,9 +57932,9 @@ var init_createannotationtaskendpointannotationtaskspostop = __esm(() => {
|
|
|
57752
57932
|
|
|
57753
57933
|
// src/funcs/annotationTasksCreate.ts
|
|
57754
57934
|
function annotationTasksCreate(client$, request, options) {
|
|
57755
|
-
return new APIPromise($
|
|
57935
|
+
return new APIPromise($do20(client$, request, options));
|
|
57756
57936
|
}
|
|
57757
|
-
async function $
|
|
57937
|
+
async function $do20(client$, request, options) {
|
|
57758
57938
|
const parsed$ = safeParse4(request, (value$) => CreateAnnotationTaskEndpointAnnotationTasksPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57759
57939
|
if (!parsed$.ok) {
|
|
57760
57940
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57828,12 +58008,12 @@ var init_annotationTasksCreate = __esm(() => {
|
|
|
57828
58008
|
});
|
|
57829
58009
|
|
|
57830
58010
|
// src/mcp-server/tools/annotationTasksCreate.ts
|
|
57831
|
-
var
|
|
58011
|
+
var args20, tool$annotationTasksCreate;
|
|
57832
58012
|
var init_annotationTasksCreate2 = __esm(() => {
|
|
57833
58013
|
init_annotationTasksCreate();
|
|
57834
58014
|
init_createannotationtaskendpointannotationtaskspostop();
|
|
57835
58015
|
init_tools();
|
|
57836
|
-
|
|
58016
|
+
args20 = {
|
|
57837
58017
|
request: CreateAnnotationTaskEndpointAnnotationTasksPostRequest$zodSchema
|
|
57838
58018
|
};
|
|
57839
58019
|
tool$annotationTasksCreate = {
|
|
@@ -57848,9 +58028,9 @@ var init_annotationTasksCreate2 = __esm(() => {
|
|
|
57848
58028
|
openWorldHint: true,
|
|
57849
58029
|
readOnlyHint: false
|
|
57850
58030
|
},
|
|
57851
|
-
args:
|
|
57852
|
-
tool: async (client,
|
|
57853
|
-
const [result] = await annotationTasksCreate(client,
|
|
58031
|
+
args: args20,
|
|
58032
|
+
tool: async (client, args21, ctx) => {
|
|
58033
|
+
const [result] = await annotationTasksCreate(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57854
58034
|
if (!result.ok) {
|
|
57855
58035
|
return {
|
|
57856
58036
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57921,9 +58101,9 @@ var init_startevaluatorrunannotationtaskstaskuuidevaluatorrunspostop = __esm(()
|
|
|
57921
58101
|
|
|
57922
58102
|
// src/funcs/annotationTasksCreateEvaluatorRun.ts
|
|
57923
58103
|
function annotationTasksCreateEvaluatorRun(client$, request, options) {
|
|
57924
|
-
return new APIPromise($
|
|
58104
|
+
return new APIPromise($do21(client$, request, options));
|
|
57925
58105
|
}
|
|
57926
|
-
async function $
|
|
58106
|
+
async function $do21(client$, request, options) {
|
|
57927
58107
|
const parsed$ = safeParse4(request, (value$) => StartEvaluatorRunAnnotationTasksTaskUuidEvaluatorRunsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57928
58108
|
if (!parsed$.ok) {
|
|
57929
58109
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58003,12 +58183,12 @@ var init_annotationTasksCreateEvaluatorRun = __esm(() => {
|
|
|
58003
58183
|
});
|
|
58004
58184
|
|
|
58005
58185
|
// src/mcp-server/tools/annotationTasksCreateEvaluatorRun.ts
|
|
58006
|
-
var
|
|
58186
|
+
var args21, tool$annotationTasksCreateEvaluatorRun;
|
|
58007
58187
|
var init_annotationTasksCreateEvaluatorRun2 = __esm(() => {
|
|
58008
58188
|
init_annotationTasksCreateEvaluatorRun();
|
|
58009
58189
|
init_startevaluatorrunannotationtaskstaskuuidevaluatorrunspostop();
|
|
58010
58190
|
init_tools();
|
|
58011
|
-
|
|
58191
|
+
args21 = {
|
|
58012
58192
|
request: StartEvaluatorRunAnnotationTasksTaskUuidEvaluatorRunsPostRequest$zodSchema
|
|
58013
58193
|
};
|
|
58014
58194
|
tool$annotationTasksCreateEvaluatorRun = {
|
|
@@ -58023,9 +58203,9 @@ var init_annotationTasksCreateEvaluatorRun2 = __esm(() => {
|
|
|
58023
58203
|
openWorldHint: true,
|
|
58024
58204
|
readOnlyHint: false
|
|
58025
58205
|
},
|
|
58026
|
-
args:
|
|
58027
|
-
tool: async (client,
|
|
58028
|
-
const [result] = await annotationTasksCreateEvaluatorRun(client,
|
|
58206
|
+
args: args21,
|
|
58207
|
+
tool: async (client, args22, ctx) => {
|
|
58208
|
+
const [result] = await annotationTasksCreateEvaluatorRun(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58029
58209
|
if (!result.ok) {
|
|
58030
58210
|
return {
|
|
58031
58211
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58104,9 +58284,9 @@ var init_createjobsannotationtaskstaskuuidjobspostop = __esm(() => {
|
|
|
58104
58284
|
|
|
58105
58285
|
// src/funcs/annotationTasksCreateLabellingJobs.ts
|
|
58106
58286
|
function annotationTasksCreateLabellingJobs(client$, request, options) {
|
|
58107
|
-
return new APIPromise($
|
|
58287
|
+
return new APIPromise($do22(client$, request, options));
|
|
58108
58288
|
}
|
|
58109
|
-
async function $
|
|
58289
|
+
async function $do22(client$, request, options) {
|
|
58110
58290
|
const parsed$ = safeParse4(request, (value$) => CreateJobsAnnotationTasksTaskUuidJobsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58111
58291
|
if (!parsed$.ok) {
|
|
58112
58292
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58186,12 +58366,12 @@ var init_annotationTasksCreateLabellingJobs = __esm(() => {
|
|
|
58186
58366
|
});
|
|
58187
58367
|
|
|
58188
58368
|
// src/mcp-server/tools/annotationTasksCreateLabellingJobs.ts
|
|
58189
|
-
var
|
|
58369
|
+
var args22, tool$annotationTasksCreateLabellingJobs;
|
|
58190
58370
|
var init_annotationTasksCreateLabellingJobs2 = __esm(() => {
|
|
58191
58371
|
init_annotationTasksCreateLabellingJobs();
|
|
58192
58372
|
init_createjobsannotationtaskstaskuuidjobspostop();
|
|
58193
58373
|
init_tools();
|
|
58194
|
-
|
|
58374
|
+
args22 = {
|
|
58195
58375
|
request: CreateJobsAnnotationTasksTaskUuidJobsPostRequest$zodSchema
|
|
58196
58376
|
};
|
|
58197
58377
|
tool$annotationTasksCreateLabellingJobs = {
|
|
@@ -58206,9 +58386,9 @@ var init_annotationTasksCreateLabellingJobs2 = __esm(() => {
|
|
|
58206
58386
|
openWorldHint: true,
|
|
58207
58387
|
readOnlyHint: false
|
|
58208
58388
|
},
|
|
58209
|
-
args:
|
|
58210
|
-
tool: async (client,
|
|
58211
|
-
const [result] = await annotationTasksCreateLabellingJobs(client,
|
|
58389
|
+
args: args22,
|
|
58390
|
+
tool: async (client, args23, ctx) => {
|
|
58391
|
+
const [result] = await annotationTasksCreateLabellingJobs(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58212
58392
|
if (!result.ok) {
|
|
58213
58393
|
return {
|
|
58214
58394
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58264,9 +58444,9 @@ var init_getannotationtaskendpointannotationtaskstaskuuidgetop = __esm(() => {
|
|
|
58264
58444
|
|
|
58265
58445
|
// src/funcs/annotationTasksGet.ts
|
|
58266
58446
|
function annotationTasksGet(client$, request, options) {
|
|
58267
|
-
return new APIPromise($
|
|
58447
|
+
return new APIPromise($do23(client$, request, options));
|
|
58268
58448
|
}
|
|
58269
|
-
async function $
|
|
58449
|
+
async function $do23(client$, request, options) {
|
|
58270
58450
|
const parsed$ = safeParse4(request, (value$) => GetAnnotationTaskEndpointAnnotationTasksTaskUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58271
58451
|
if (!parsed$.ok) {
|
|
58272
58452
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58345,12 +58525,12 @@ var init_annotationTasksGet = __esm(() => {
|
|
|
58345
58525
|
});
|
|
58346
58526
|
|
|
58347
58527
|
// src/mcp-server/tools/annotationTasksGet.ts
|
|
58348
|
-
var
|
|
58528
|
+
var args23, tool$annotationTasksGet;
|
|
58349
58529
|
var init_annotationTasksGet2 = __esm(() => {
|
|
58350
58530
|
init_annotationTasksGet();
|
|
58351
58531
|
init_getannotationtaskendpointannotationtaskstaskuuidgetop();
|
|
58352
58532
|
init_tools();
|
|
58353
|
-
|
|
58533
|
+
args23 = {
|
|
58354
58534
|
request: GetAnnotationTaskEndpointAnnotationTasksTaskUuidGetRequest$zodSchema
|
|
58355
58535
|
};
|
|
58356
58536
|
tool$annotationTasksGet = {
|
|
@@ -58365,9 +58545,9 @@ var init_annotationTasksGet2 = __esm(() => {
|
|
|
58365
58545
|
openWorldHint: true,
|
|
58366
58546
|
readOnlyHint: true
|
|
58367
58547
|
},
|
|
58368
|
-
args:
|
|
58369
|
-
tool: async (client,
|
|
58370
|
-
const [result] = await annotationTasksGet(client,
|
|
58548
|
+
args: args23,
|
|
58549
|
+
tool: async (client, args24, ctx) => {
|
|
58550
|
+
const [result] = await annotationTasksGet(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58371
58551
|
if (!result.ok) {
|
|
58372
58552
|
return {
|
|
58373
58553
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58457,9 +58637,9 @@ var init_taskagreementannotationtaskstaskuuidagreementgetop = __esm(() => {
|
|
|
58457
58637
|
|
|
58458
58638
|
// src/funcs/annotationTasksGetAgreement.ts
|
|
58459
58639
|
function annotationTasksGetAgreement(client$, request, options) {
|
|
58460
|
-
return new APIPromise($
|
|
58640
|
+
return new APIPromise($do24(client$, request, options));
|
|
58461
58641
|
}
|
|
58462
|
-
async function $
|
|
58642
|
+
async function $do24(client$, request, options) {
|
|
58463
58643
|
const parsed$ = safeParse4(request, (value$) => TaskAgreementAnnotationTasksTaskUuidAgreementGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58464
58644
|
if (!parsed$.ok) {
|
|
58465
58645
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58543,12 +58723,12 @@ var init_annotationTasksGetAgreement = __esm(() => {
|
|
|
58543
58723
|
});
|
|
58544
58724
|
|
|
58545
58725
|
// src/mcp-server/tools/annotationTasksGetAgreement.ts
|
|
58546
|
-
var
|
|
58726
|
+
var args24, tool$annotationTasksGetAgreement;
|
|
58547
58727
|
var init_annotationTasksGetAgreement2 = __esm(() => {
|
|
58548
58728
|
init_annotationTasksGetAgreement();
|
|
58549
58729
|
init_taskagreementannotationtaskstaskuuidagreementgetop();
|
|
58550
58730
|
init_tools();
|
|
58551
|
-
|
|
58731
|
+
args24 = {
|
|
58552
58732
|
request: TaskAgreementAnnotationTasksTaskUuidAgreementGetRequest$zodSchema
|
|
58553
58733
|
};
|
|
58554
58734
|
tool$annotationTasksGetAgreement = {
|
|
@@ -58563,9 +58743,9 @@ var init_annotationTasksGetAgreement2 = __esm(() => {
|
|
|
58563
58743
|
openWorldHint: true,
|
|
58564
58744
|
readOnlyHint: true
|
|
58565
58745
|
},
|
|
58566
|
-
args:
|
|
58567
|
-
tool: async (client,
|
|
58568
|
-
const [result] = await annotationTasksGetAgreement(client,
|
|
58746
|
+
args: args24,
|
|
58747
|
+
tool: async (client, args25, ctx) => {
|
|
58748
|
+
const [result] = await annotationTasksGetAgreement(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58569
58749
|
if (!result.ok) {
|
|
58570
58750
|
return {
|
|
58571
58751
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58642,9 +58822,9 @@ var init_getevaluatorrunjobannotationtaskstaskuuidevaluatorrunsjobuuidgetop = __
|
|
|
58642
58822
|
|
|
58643
58823
|
// src/funcs/annotationTasksGetEvaluatorRun.ts
|
|
58644
58824
|
function annotationTasksGetEvaluatorRun(client$, request, options) {
|
|
58645
|
-
return new APIPromise($
|
|
58825
|
+
return new APIPromise($do25(client$, request, options));
|
|
58646
58826
|
}
|
|
58647
|
-
async function $
|
|
58827
|
+
async function $do25(client$, request, options) {
|
|
58648
58828
|
const parsed$ = safeParse4(request, (value$) => GetEvaluatorRunJobAnnotationTasksTaskUuidEvaluatorRunsJobUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58649
58829
|
if (!parsed$.ok) {
|
|
58650
58830
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58727,12 +58907,12 @@ var init_annotationTasksGetEvaluatorRun = __esm(() => {
|
|
|
58727
58907
|
});
|
|
58728
58908
|
|
|
58729
58909
|
// src/mcp-server/tools/annotationTasksGetEvaluatorRun.ts
|
|
58730
|
-
var
|
|
58910
|
+
var args25, tool$annotationTasksGetEvaluatorRun;
|
|
58731
58911
|
var init_annotationTasksGetEvaluatorRun2 = __esm(() => {
|
|
58732
58912
|
init_annotationTasksGetEvaluatorRun();
|
|
58733
58913
|
init_getevaluatorrunjobannotationtaskstaskuuidevaluatorrunsjobuuidgetop();
|
|
58734
58914
|
init_tools();
|
|
58735
|
-
|
|
58915
|
+
args25 = {
|
|
58736
58916
|
request: GetEvaluatorRunJobAnnotationTasksTaskUuidEvaluatorRunsJobUuidGetRequest$zodSchema
|
|
58737
58917
|
};
|
|
58738
58918
|
tool$annotationTasksGetEvaluatorRun = {
|
|
@@ -58747,9 +58927,9 @@ var init_annotationTasksGetEvaluatorRun2 = __esm(() => {
|
|
|
58747
58927
|
openWorldHint: true,
|
|
58748
58928
|
readOnlyHint: true
|
|
58749
58929
|
},
|
|
58750
|
-
args:
|
|
58751
|
-
tool: async (client,
|
|
58752
|
-
const [result] = await annotationTasksGetEvaluatorRun(client,
|
|
58930
|
+
args: args25,
|
|
58931
|
+
tool: async (client, args26, ctx) => {
|
|
58932
|
+
const [result] = await annotationTasksGetEvaluatorRun(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58753
58933
|
if (!result.ok) {
|
|
58754
58934
|
return {
|
|
58755
58935
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58843,9 +59023,9 @@ var init_tasksummaryannotationtaskstaskuuidsummarygetop = __esm(() => {
|
|
|
58843
59023
|
|
|
58844
59024
|
// src/funcs/annotationTasksGetSummary.ts
|
|
58845
59025
|
function annotationTasksGetSummary(client$, request, options) {
|
|
58846
|
-
return new APIPromise($
|
|
59026
|
+
return new APIPromise($do26(client$, request, options));
|
|
58847
59027
|
}
|
|
58848
|
-
async function $
|
|
59028
|
+
async function $do26(client$, request, options) {
|
|
58849
59029
|
const parsed$ = safeParse4(request, (value$) => TaskSummaryAnnotationTasksTaskUuidSummaryGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58850
59030
|
if (!parsed$.ok) {
|
|
58851
59031
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58936,12 +59116,12 @@ var init_annotationTasksGetSummary = __esm(() => {
|
|
|
58936
59116
|
});
|
|
58937
59117
|
|
|
58938
59118
|
// src/mcp-server/tools/annotationTasksGetSummary.ts
|
|
58939
|
-
var
|
|
59119
|
+
var args26, tool$annotationTasksGetSummary;
|
|
58940
59120
|
var init_annotationTasksGetSummary2 = __esm(() => {
|
|
58941
59121
|
init_annotationTasksGetSummary();
|
|
58942
59122
|
init_tasksummaryannotationtaskstaskuuidsummarygetop();
|
|
58943
59123
|
init_tools();
|
|
58944
|
-
|
|
59124
|
+
args26 = {
|
|
58945
59125
|
request: TaskSummaryAnnotationTasksTaskUuidSummaryGetRequest$zodSchema
|
|
58946
59126
|
};
|
|
58947
59127
|
tool$annotationTasksGetSummary = {
|
|
@@ -58956,9 +59136,9 @@ var init_annotationTasksGetSummary2 = __esm(() => {
|
|
|
58956
59136
|
openWorldHint: true,
|
|
58957
59137
|
readOnlyHint: true
|
|
58958
59138
|
},
|
|
58959
|
-
args:
|
|
58960
|
-
tool: async (client,
|
|
58961
|
-
const [result] = await annotationTasksGetSummary(client,
|
|
59139
|
+
args: args26,
|
|
59140
|
+
tool: async (client, args27, ctx) => {
|
|
59141
|
+
const [result] = await annotationTasksGetSummary(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58962
59142
|
if (!result.ok) {
|
|
58963
59143
|
return {
|
|
58964
59144
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59003,9 +59183,9 @@ var init_listannotationtasksannotationtasksgetop = __esm(() => {
|
|
|
59003
59183
|
|
|
59004
59184
|
// src/funcs/annotationTasksList.ts
|
|
59005
59185
|
function annotationTasksList(client$, request, options) {
|
|
59006
|
-
return new APIPromise($
|
|
59186
|
+
return new APIPromise($do27(client$, request, options));
|
|
59007
59187
|
}
|
|
59008
|
-
async function $
|
|
59188
|
+
async function $do27(client$, request, options) {
|
|
59009
59189
|
const parsed$ = safeParse4(request, (value$) => ListAnnotationTasksAnnotationTasksGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
59010
59190
|
if (!parsed$.ok) {
|
|
59011
59191
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59084,12 +59264,12 @@ var init_annotationTasksList = __esm(() => {
|
|
|
59084
59264
|
});
|
|
59085
59265
|
|
|
59086
59266
|
// src/mcp-server/tools/annotationTasksList.ts
|
|
59087
|
-
var
|
|
59267
|
+
var args27, tool$annotationTasksList;
|
|
59088
59268
|
var init_annotationTasksList2 = __esm(() => {
|
|
59089
59269
|
init_annotationTasksList();
|
|
59090
59270
|
init_listannotationtasksannotationtasksgetop();
|
|
59091
59271
|
init_tools();
|
|
59092
|
-
|
|
59272
|
+
args27 = {
|
|
59093
59273
|
request: ListAnnotationTasksAnnotationTasksGetRequest$zodSchema.optional()
|
|
59094
59274
|
};
|
|
59095
59275
|
tool$annotationTasksList = {
|
|
@@ -59104,9 +59284,9 @@ var init_annotationTasksList2 = __esm(() => {
|
|
|
59104
59284
|
openWorldHint: true,
|
|
59105
59285
|
readOnlyHint: true
|
|
59106
59286
|
},
|
|
59107
|
-
args:
|
|
59108
|
-
tool: async (client,
|
|
59109
|
-
const [result] = await annotationTasksList(client,
|
|
59287
|
+
args: args27,
|
|
59288
|
+
tool: async (client, args28, ctx) => {
|
|
59289
|
+
const [result] = await annotationTasksList(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59110
59290
|
if (!result.ok) {
|
|
59111
59291
|
return {
|
|
59112
59292
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59160,9 +59340,9 @@ var init_settaskevaluatorsannotationtaskstaskuuidevaluatorsputop = __esm(() => {
|
|
|
59160
59340
|
|
|
59161
59341
|
// src/funcs/annotationTasksSetEvaluators.ts
|
|
59162
59342
|
function annotationTasksSetEvaluators(client$, request, options) {
|
|
59163
|
-
return new APIPromise($
|
|
59343
|
+
return new APIPromise($do28(client$, request, options));
|
|
59164
59344
|
}
|
|
59165
|
-
async function $
|
|
59345
|
+
async function $do28(client$, request, options) {
|
|
59166
59346
|
const parsed$ = safeParse4(request, (value$) => SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59167
59347
|
if (!parsed$.ok) {
|
|
59168
59348
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59242,12 +59422,12 @@ var init_annotationTasksSetEvaluators = __esm(() => {
|
|
|
59242
59422
|
});
|
|
59243
59423
|
|
|
59244
59424
|
// src/mcp-server/tools/annotationTasksSetEvaluators.ts
|
|
59245
|
-
var
|
|
59425
|
+
var args28, tool$annotationTasksSetEvaluators;
|
|
59246
59426
|
var init_annotationTasksSetEvaluators2 = __esm(() => {
|
|
59247
59427
|
init_annotationTasksSetEvaluators();
|
|
59248
59428
|
init_settaskevaluatorsannotationtaskstaskuuidevaluatorsputop();
|
|
59249
59429
|
init_tools();
|
|
59250
|
-
|
|
59430
|
+
args28 = {
|
|
59251
59431
|
request: SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest$zodSchema
|
|
59252
59432
|
};
|
|
59253
59433
|
tool$annotationTasksSetEvaluators = {
|
|
@@ -59266,9 +59446,9 @@ must be in your workspace.
|
|
|
59266
59446
|
openWorldHint: true,
|
|
59267
59447
|
readOnlyHint: false
|
|
59268
59448
|
},
|
|
59269
|
-
args:
|
|
59270
|
-
tool: async (client,
|
|
59271
|
-
const [result] = await annotationTasksSetEvaluators(client,
|
|
59449
|
+
args: args28,
|
|
59450
|
+
tool: async (client, args29, ctx) => {
|
|
59451
|
+
const [result] = await annotationTasksSetEvaluators(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59272
59452
|
if (!result.ok) {
|
|
59273
59453
|
return {
|
|
59274
59454
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59329,9 +59509,9 @@ var init_bulkupdateitemsannotationtaskstaskuuiditemsputop = __esm(() => {
|
|
|
59329
59509
|
|
|
59330
59510
|
// src/funcs/annotationTasksUpdateItems.ts
|
|
59331
59511
|
function annotationTasksUpdateItems(client$, request, options) {
|
|
59332
|
-
return new APIPromise($
|
|
59512
|
+
return new APIPromise($do29(client$, request, options));
|
|
59333
59513
|
}
|
|
59334
|
-
async function $
|
|
59514
|
+
async function $do29(client$, request, options) {
|
|
59335
59515
|
const parsed$ = safeParse4(request, (value$) => BulkUpdateItemsAnnotationTasksTaskUuidItemsPutRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59336
59516
|
if (!parsed$.ok) {
|
|
59337
59517
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59411,12 +59591,12 @@ var init_annotationTasksUpdateItems = __esm(() => {
|
|
|
59411
59591
|
});
|
|
59412
59592
|
|
|
59413
59593
|
// src/mcp-server/tools/annotationTasksUpdateItems.ts
|
|
59414
|
-
var
|
|
59594
|
+
var args29, tool$annotationTasksUpdateItems;
|
|
59415
59595
|
var init_annotationTasksUpdateItems2 = __esm(() => {
|
|
59416
59596
|
init_annotationTasksUpdateItems();
|
|
59417
59597
|
init_bulkupdateitemsannotationtaskstaskuuiditemsputop();
|
|
59418
59598
|
init_tools();
|
|
59419
|
-
|
|
59599
|
+
args29 = {
|
|
59420
59600
|
request: BulkUpdateItemsAnnotationTasksTaskUuidItemsPutRequest$zodSchema
|
|
59421
59601
|
};
|
|
59422
59602
|
tool$annotationTasksUpdateItems = {
|
|
@@ -59431,9 +59611,9 @@ var init_annotationTasksUpdateItems2 = __esm(() => {
|
|
|
59431
59611
|
openWorldHint: true,
|
|
59432
59612
|
readOnlyHint: false
|
|
59433
59613
|
},
|
|
59434
|
-
args:
|
|
59435
|
-
tool: async (client,
|
|
59436
|
-
const [result] = await annotationTasksUpdateItems(client,
|
|
59614
|
+
args: args29,
|
|
59615
|
+
tool: async (client, args30, ctx) => {
|
|
59616
|
+
const [result] = await annotationTasksUpdateItems(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59437
59617
|
if (!result.ok) {
|
|
59438
59618
|
return {
|
|
59439
59619
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59483,9 +59663,9 @@ var init_createannotatorendpointannotatorspostop = __esm(() => {
|
|
|
59483
59663
|
|
|
59484
59664
|
// src/funcs/annotatorsCreate.ts
|
|
59485
59665
|
function annotatorsCreate(client$, request, options) {
|
|
59486
|
-
return new APIPromise($
|
|
59666
|
+
return new APIPromise($do30(client$, request, options));
|
|
59487
59667
|
}
|
|
59488
|
-
async function $
|
|
59668
|
+
async function $do30(client$, request, options) {
|
|
59489
59669
|
const parsed$ = safeParse4(request, (value$) => CreateAnnotatorEndpointAnnotatorsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59490
59670
|
if (!parsed$.ok) {
|
|
59491
59671
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59559,12 +59739,12 @@ var init_annotatorsCreate = __esm(() => {
|
|
|
59559
59739
|
});
|
|
59560
59740
|
|
|
59561
59741
|
// src/mcp-server/tools/annotatorsCreate.ts
|
|
59562
|
-
var
|
|
59742
|
+
var args30, tool$annotatorsCreate;
|
|
59563
59743
|
var init_annotatorsCreate2 = __esm(() => {
|
|
59564
59744
|
init_annotatorsCreate();
|
|
59565
59745
|
init_createannotatorendpointannotatorspostop();
|
|
59566
59746
|
init_tools();
|
|
59567
|
-
|
|
59747
|
+
args30 = {
|
|
59568
59748
|
request: CreateAnnotatorEndpointAnnotatorsPostRequest$zodSchema
|
|
59569
59749
|
};
|
|
59570
59750
|
tool$annotatorsCreate = {
|
|
@@ -59579,9 +59759,9 @@ var init_annotatorsCreate2 = __esm(() => {
|
|
|
59579
59759
|
openWorldHint: true,
|
|
59580
59760
|
readOnlyHint: false
|
|
59581
59761
|
},
|
|
59582
|
-
args:
|
|
59583
|
-
tool: async (client,
|
|
59584
|
-
const [result] = await annotatorsCreate(client,
|
|
59762
|
+
args: args30,
|
|
59763
|
+
tool: async (client, args31, ctx) => {
|
|
59764
|
+
const [result] = await annotatorsCreate(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59585
59765
|
if (!result.ok) {
|
|
59586
59766
|
return {
|
|
59587
59767
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59625,9 +59805,9 @@ var init_listannotatorsannotatorsgetop = __esm(() => {
|
|
|
59625
59805
|
|
|
59626
59806
|
// src/funcs/annotatorsList.ts
|
|
59627
59807
|
function annotatorsList(client$, request, options) {
|
|
59628
|
-
return new APIPromise($
|
|
59808
|
+
return new APIPromise($do31(client$, request, options));
|
|
59629
59809
|
}
|
|
59630
|
-
async function $
|
|
59810
|
+
async function $do31(client$, request, options) {
|
|
59631
59811
|
const parsed$ = safeParse4(request, (value$) => ListAnnotatorsAnnotatorsGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
59632
59812
|
if (!parsed$.ok) {
|
|
59633
59813
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59700,12 +59880,12 @@ var init_annotatorsList = __esm(() => {
|
|
|
59700
59880
|
});
|
|
59701
59881
|
|
|
59702
59882
|
// src/mcp-server/tools/annotatorsList.ts
|
|
59703
|
-
var
|
|
59883
|
+
var args31, tool$annotatorsList;
|
|
59704
59884
|
var init_annotatorsList2 = __esm(() => {
|
|
59705
59885
|
init_annotatorsList();
|
|
59706
59886
|
init_listannotatorsannotatorsgetop();
|
|
59707
59887
|
init_tools();
|
|
59708
|
-
|
|
59888
|
+
args31 = {
|
|
59709
59889
|
request: ListAnnotatorsAnnotatorsGetRequest$zodSchema.optional()
|
|
59710
59890
|
};
|
|
59711
59891
|
tool$annotatorsList = {
|
|
@@ -59720,9 +59900,9 @@ var init_annotatorsList2 = __esm(() => {
|
|
|
59720
59900
|
openWorldHint: true,
|
|
59721
59901
|
readOnlyHint: true
|
|
59722
59902
|
},
|
|
59723
|
-
args:
|
|
59724
|
-
tool: async (client,
|
|
59725
|
-
const [result] = await annotatorsList(client,
|
|
59903
|
+
args: args31,
|
|
59904
|
+
tool: async (client, args32, ctx) => {
|
|
59905
|
+
const [result] = await annotatorsList(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59726
59906
|
if (!result.ok) {
|
|
59727
59907
|
return {
|
|
59728
59908
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59763,9 +59943,9 @@ var init_updateannotatorendpointannotatorsannotatoruuidputop = __esm(() => {
|
|
|
59763
59943
|
|
|
59764
59944
|
// src/funcs/annotatorsUpdate.ts
|
|
59765
59945
|
function annotatorsUpdate(client$, request, options) {
|
|
59766
|
-
return new APIPromise($
|
|
59946
|
+
return new APIPromise($do32(client$, request, options));
|
|
59767
59947
|
}
|
|
59768
|
-
async function $
|
|
59948
|
+
async function $do32(client$, request, options) {
|
|
59769
59949
|
const parsed$ = safeParse4(request, (value$) => UpdateAnnotatorEndpointAnnotatorsAnnotatorUuidPutRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59770
59950
|
if (!parsed$.ok) {
|
|
59771
59951
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59845,12 +60025,12 @@ var init_annotatorsUpdate = __esm(() => {
|
|
|
59845
60025
|
});
|
|
59846
60026
|
|
|
59847
60027
|
// src/mcp-server/tools/annotatorsUpdate.ts
|
|
59848
|
-
var
|
|
60028
|
+
var args32, tool$annotatorsUpdate;
|
|
59849
60029
|
var init_annotatorsUpdate2 = __esm(() => {
|
|
59850
60030
|
init_annotatorsUpdate();
|
|
59851
60031
|
init_updateannotatorendpointannotatorsannotatoruuidputop();
|
|
59852
60032
|
init_tools();
|
|
59853
|
-
|
|
60033
|
+
args32 = {
|
|
59854
60034
|
request: UpdateAnnotatorEndpointAnnotatorsAnnotatorUuidPutRequest$zodSchema
|
|
59855
60035
|
};
|
|
59856
60036
|
tool$annotatorsUpdate = {
|
|
@@ -59865,9 +60045,9 @@ var init_annotatorsUpdate2 = __esm(() => {
|
|
|
59865
60045
|
openWorldHint: true,
|
|
59866
60046
|
readOnlyHint: false
|
|
59867
60047
|
},
|
|
59868
|
-
args:
|
|
59869
|
-
tool: async (client,
|
|
59870
|
-
const [result] = await annotatorsUpdate(client,
|
|
60048
|
+
args: args32,
|
|
60049
|
+
tool: async (client, args33, ctx) => {
|
|
60050
|
+
const [result] = await annotatorsUpdate(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59871
60051
|
if (!result.ok) {
|
|
59872
60052
|
return {
|
|
59873
60053
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -59975,9 +60155,9 @@ var init_createevaluatorendpointevaluatorspostop = __esm(() => {
|
|
|
59975
60155
|
|
|
59976
60156
|
// src/funcs/evaluatorsCreate.ts
|
|
59977
60157
|
function evaluatorsCreate(client$, request, options) {
|
|
59978
|
-
return new APIPromise($
|
|
60158
|
+
return new APIPromise($do33(client$, request, options));
|
|
59979
60159
|
}
|
|
59980
|
-
async function $
|
|
60160
|
+
async function $do33(client$, request, options) {
|
|
59981
60161
|
const parsed$ = safeParse4(request, (value$) => CreateEvaluatorEndpointEvaluatorsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59982
60162
|
if (!parsed$.ok) {
|
|
59983
60163
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60051,12 +60231,12 @@ var init_evaluatorsCreate = __esm(() => {
|
|
|
60051
60231
|
});
|
|
60052
60232
|
|
|
60053
60233
|
// src/mcp-server/tools/evaluatorsCreate.ts
|
|
60054
|
-
var
|
|
60234
|
+
var args33, tool$evaluatorsCreate;
|
|
60055
60235
|
var init_evaluatorsCreate2 = __esm(() => {
|
|
60056
60236
|
init_evaluatorsCreate();
|
|
60057
60237
|
init_createevaluatorendpointevaluatorspostop();
|
|
60058
60238
|
init_tools();
|
|
60059
|
-
|
|
60239
|
+
args33 = {
|
|
60060
60240
|
request: CreateEvaluatorEndpointEvaluatorsPostRequest$zodSchema
|
|
60061
60241
|
};
|
|
60062
60242
|
tool$evaluatorsCreate = {
|
|
@@ -60071,9 +60251,9 @@ var init_evaluatorsCreate2 = __esm(() => {
|
|
|
60071
60251
|
openWorldHint: true,
|
|
60072
60252
|
readOnlyHint: false
|
|
60073
60253
|
},
|
|
60074
|
-
args:
|
|
60075
|
-
tool: async (client,
|
|
60076
|
-
const [result] = await evaluatorsCreate(client,
|
|
60254
|
+
args: args33,
|
|
60255
|
+
tool: async (client, args34, ctx) => {
|
|
60256
|
+
const [result] = await evaluatorsCreate(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60077
60257
|
if (!result.ok) {
|
|
60078
60258
|
return {
|
|
60079
60259
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60130,9 +60310,9 @@ var init_createversionevaluatorsevaluatoruuidversionspostop = __esm(() => {
|
|
|
60130
60310
|
|
|
60131
60311
|
// src/funcs/evaluatorsCreateVersion.ts
|
|
60132
60312
|
function evaluatorsCreateVersion(client$, request, options) {
|
|
60133
|
-
return new APIPromise($
|
|
60313
|
+
return new APIPromise($do34(client$, request, options));
|
|
60134
60314
|
}
|
|
60135
|
-
async function $
|
|
60315
|
+
async function $do34(client$, request, options) {
|
|
60136
60316
|
const parsed$ = safeParse4(request, (value$) => CreateVersionEvaluatorsEvaluatorUuidVersionsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
60137
60317
|
if (!parsed$.ok) {
|
|
60138
60318
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60212,12 +60392,12 @@ var init_evaluatorsCreateVersion = __esm(() => {
|
|
|
60212
60392
|
});
|
|
60213
60393
|
|
|
60214
60394
|
// src/mcp-server/tools/evaluatorsCreateVersion.ts
|
|
60215
|
-
var
|
|
60395
|
+
var args34, tool$evaluatorsCreateVersion;
|
|
60216
60396
|
var init_evaluatorsCreateVersion2 = __esm(() => {
|
|
60217
60397
|
init_evaluatorsCreateVersion();
|
|
60218
60398
|
init_createversionevaluatorsevaluatoruuidversionspostop();
|
|
60219
60399
|
init_tools();
|
|
60220
|
-
|
|
60400
|
+
args34 = {
|
|
60221
60401
|
request: CreateVersionEvaluatorsEvaluatorUuidVersionsPostRequest$zodSchema
|
|
60222
60402
|
};
|
|
60223
60403
|
tool$evaluatorsCreateVersion = {
|
|
@@ -60232,9 +60412,9 @@ var init_evaluatorsCreateVersion2 = __esm(() => {
|
|
|
60232
60412
|
openWorldHint: true,
|
|
60233
60413
|
readOnlyHint: false
|
|
60234
60414
|
},
|
|
60235
|
-
args:
|
|
60236
|
-
tool: async (client,
|
|
60237
|
-
const [result] = await evaluatorsCreateVersion(client,
|
|
60415
|
+
args: args34,
|
|
60416
|
+
tool: async (client, args35, ctx) => {
|
|
60417
|
+
const [result] = await evaluatorsCreateVersion(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60238
60418
|
if (!result.ok) {
|
|
60239
60419
|
return {
|
|
60240
60420
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60321,9 +60501,9 @@ var init_getevaluatorendpointevaluatorsevaluatoruuidgetop = __esm(() => {
|
|
|
60321
60501
|
|
|
60322
60502
|
// src/funcs/evaluatorsGet.ts
|
|
60323
60503
|
function evaluatorsGet(client$, request, options) {
|
|
60324
|
-
return new APIPromise($
|
|
60504
|
+
return new APIPromise($do35(client$, request, options));
|
|
60325
60505
|
}
|
|
60326
|
-
async function $
|
|
60506
|
+
async function $do35(client$, request, options) {
|
|
60327
60507
|
const parsed$ = safeParse4(request, (value$) => GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
60328
60508
|
if (!parsed$.ok) {
|
|
60329
60509
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60406,12 +60586,12 @@ var init_evaluatorsGet = __esm(() => {
|
|
|
60406
60586
|
});
|
|
60407
60587
|
|
|
60408
60588
|
// src/mcp-server/tools/evaluatorsGet.ts
|
|
60409
|
-
var
|
|
60589
|
+
var args35, tool$evaluatorsGet;
|
|
60410
60590
|
var init_evaluatorsGet2 = __esm(() => {
|
|
60411
60591
|
init_evaluatorsGet();
|
|
60412
60592
|
init_getevaluatorendpointevaluatorsevaluatoruuidgetop();
|
|
60413
60593
|
init_tools();
|
|
60414
|
-
|
|
60594
|
+
args35 = {
|
|
60415
60595
|
request: GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetRequest$zodSchema
|
|
60416
60596
|
};
|
|
60417
60597
|
tool$evaluatorsGet = {
|
|
@@ -60426,9 +60606,9 @@ var init_evaluatorsGet2 = __esm(() => {
|
|
|
60426
60606
|
openWorldHint: true,
|
|
60427
60607
|
readOnlyHint: true
|
|
60428
60608
|
},
|
|
60429
|
-
args:
|
|
60430
|
-
tool: async (client,
|
|
60431
|
-
const [result] = await evaluatorsGet(client,
|
|
60609
|
+
args: args35,
|
|
60610
|
+
tool: async (client, args36, ctx) => {
|
|
60611
|
+
const [result] = await evaluatorsGet(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60432
60612
|
if (!result.ok) {
|
|
60433
60613
|
return {
|
|
60434
60614
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60475,9 +60655,9 @@ var init_listevaluatorsevaluatorsgetop = __esm(() => {
|
|
|
60475
60655
|
|
|
60476
60656
|
// src/funcs/evaluatorsList.ts
|
|
60477
60657
|
function evaluatorsList(client$, request, options) {
|
|
60478
|
-
return new APIPromise($
|
|
60658
|
+
return new APIPromise($do36(client$, request, options));
|
|
60479
60659
|
}
|
|
60480
|
-
async function $
|
|
60660
|
+
async function $do36(client$, request, options) {
|
|
60481
60661
|
const parsed$ = safeParse4(request, (value$) => ListEvaluatorsEvaluatorsGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
60482
60662
|
if (!parsed$.ok) {
|
|
60483
60663
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60559,12 +60739,12 @@ var init_evaluatorsList = __esm(() => {
|
|
|
60559
60739
|
});
|
|
60560
60740
|
|
|
60561
60741
|
// src/mcp-server/tools/evaluatorsList.ts
|
|
60562
|
-
var
|
|
60742
|
+
var args36, tool$evaluatorsList;
|
|
60563
60743
|
var init_evaluatorsList2 = __esm(() => {
|
|
60564
60744
|
init_evaluatorsList();
|
|
60565
60745
|
init_listevaluatorsevaluatorsgetop();
|
|
60566
60746
|
init_tools();
|
|
60567
|
-
|
|
60747
|
+
args36 = {
|
|
60568
60748
|
request: ListEvaluatorsEvaluatorsGetRequest$zodSchema.optional()
|
|
60569
60749
|
};
|
|
60570
60750
|
tool$evaluatorsList = {
|
|
@@ -60579,9 +60759,9 @@ var init_evaluatorsList2 = __esm(() => {
|
|
|
60579
60759
|
openWorldHint: true,
|
|
60580
60760
|
readOnlyHint: true
|
|
60581
60761
|
},
|
|
60582
|
-
args:
|
|
60583
|
-
tool: async (client,
|
|
60584
|
-
const [result] = await evaluatorsList(client,
|
|
60762
|
+
args: args36,
|
|
60763
|
+
tool: async (client, args37, ctx) => {
|
|
60764
|
+
const [result] = await evaluatorsList(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60585
60765
|
if (!result.ok) {
|
|
60586
60766
|
return {
|
|
60587
60767
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60699,9 +60879,9 @@ var init_bulkuploadteststestsbulkpostop = __esm(() => {
|
|
|
60699
60879
|
|
|
60700
60880
|
// src/funcs/testsBulkCreate.ts
|
|
60701
60881
|
function testsBulkCreate(client$, request, options) {
|
|
60702
|
-
return new APIPromise($
|
|
60882
|
+
return new APIPromise($do37(client$, request, options));
|
|
60703
60883
|
}
|
|
60704
|
-
async function $
|
|
60884
|
+
async function $do37(client$, request, options) {
|
|
60705
60885
|
const parsed$ = safeParse4(request, (value$) => BulkUploadTestsTestsBulkPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
60706
60886
|
if (!parsed$.ok) {
|
|
60707
60887
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60775,12 +60955,12 @@ var init_testsBulkCreate = __esm(() => {
|
|
|
60775
60955
|
});
|
|
60776
60956
|
|
|
60777
60957
|
// src/mcp-server/tools/testsBulkCreate.ts
|
|
60778
|
-
var
|
|
60958
|
+
var args37, tool$testsBulkCreate;
|
|
60779
60959
|
var init_testsBulkCreate2 = __esm(() => {
|
|
60780
60960
|
init_testsBulkCreate();
|
|
60781
60961
|
init_bulkuploadteststestsbulkpostop();
|
|
60782
60962
|
init_tools();
|
|
60783
|
-
|
|
60963
|
+
args37 = {
|
|
60784
60964
|
request: BulkUploadTestsTestsBulkPostRequest$zodSchema
|
|
60785
60965
|
};
|
|
60786
60966
|
tool$testsBulkCreate = {
|
|
@@ -60797,9 +60977,9 @@ tests including their UUIDs.
|
|
|
60797
60977
|
openWorldHint: true,
|
|
60798
60978
|
readOnlyHint: false
|
|
60799
60979
|
},
|
|
60800
|
-
args:
|
|
60801
|
-
tool: async (client,
|
|
60802
|
-
const [result] = await testsBulkCreate(client,
|
|
60980
|
+
args: args37,
|
|
60981
|
+
tool: async (client, args38, ctx) => {
|
|
60982
|
+
const [result] = await testsBulkCreate(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60803
60983
|
if (!result.ok) {
|
|
60804
60984
|
return {
|
|
60805
60985
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -60859,9 +61039,9 @@ var init_createtestendpointtestspostop = __esm(() => {
|
|
|
60859
61039
|
|
|
60860
61040
|
// src/funcs/testsCreate.ts
|
|
60861
61041
|
function testsCreate(client$, request, options) {
|
|
60862
|
-
return new APIPromise($
|
|
61042
|
+
return new APIPromise($do38(client$, request, options));
|
|
60863
61043
|
}
|
|
60864
|
-
async function $
|
|
61044
|
+
async function $do38(client$, request, options) {
|
|
60865
61045
|
const parsed$ = safeParse4(request, (value$) => CreateTestEndpointTestsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
60866
61046
|
if (!parsed$.ok) {
|
|
60867
61047
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60935,12 +61115,12 @@ var init_testsCreate = __esm(() => {
|
|
|
60935
61115
|
});
|
|
60936
61116
|
|
|
60937
61117
|
// src/mcp-server/tools/testsCreate.ts
|
|
60938
|
-
var
|
|
61118
|
+
var args38, tool$testsCreate;
|
|
60939
61119
|
var init_testsCreate2 = __esm(() => {
|
|
60940
61120
|
init_testsCreate();
|
|
60941
61121
|
init_createtestendpointtestspostop();
|
|
60942
61122
|
init_tools();
|
|
60943
|
-
|
|
61123
|
+
args38 = {
|
|
60944
61124
|
request: CreateTestEndpointTestsPostRequest$zodSchema
|
|
60945
61125
|
};
|
|
60946
61126
|
tool$testsCreate = {
|
|
@@ -60957,9 +61137,9 @@ Requires a Calibrate API key (CALIBRATE_API_KEY).
|
|
|
60957
61137
|
openWorldHint: true,
|
|
60958
61138
|
readOnlyHint: false
|
|
60959
61139
|
},
|
|
60960
|
-
args:
|
|
60961
|
-
tool: async (client,
|
|
60962
|
-
const [result] = await testsCreate(client,
|
|
61140
|
+
args: args38,
|
|
61141
|
+
tool: async (client, args39, ctx) => {
|
|
61142
|
+
const [result] = await testsCreate(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60963
61143
|
if (!result.ok) {
|
|
60964
61144
|
return {
|
|
60965
61145
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61010,9 +61190,9 @@ var init_gettestendpointteststestuuidgetop = __esm(() => {
|
|
|
61010
61190
|
|
|
61011
61191
|
// src/funcs/testsGet.ts
|
|
61012
61192
|
function testsGet(client$, request, options) {
|
|
61013
|
-
return new APIPromise($
|
|
61193
|
+
return new APIPromise($do39(client$, request, options));
|
|
61014
61194
|
}
|
|
61015
|
-
async function $
|
|
61195
|
+
async function $do39(client$, request, options) {
|
|
61016
61196
|
const parsed$ = safeParse4(request, (value$) => GetTestEndpointTestsTestUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
61017
61197
|
if (!parsed$.ok) {
|
|
61018
61198
|
return [parsed$, { status: "invalid" }];
|
|
@@ -61091,12 +61271,12 @@ var init_testsGet = __esm(() => {
|
|
|
61091
61271
|
});
|
|
61092
61272
|
|
|
61093
61273
|
// src/mcp-server/tools/testsGet.ts
|
|
61094
|
-
var
|
|
61274
|
+
var args39, tool$testsGet;
|
|
61095
61275
|
var init_testsGet2 = __esm(() => {
|
|
61096
61276
|
init_testsGet();
|
|
61097
61277
|
init_gettestendpointteststestuuidgetop();
|
|
61098
61278
|
init_tools();
|
|
61099
|
-
|
|
61279
|
+
args39 = {
|
|
61100
61280
|
request: GetTestEndpointTestsTestUuidGetRequest$zodSchema
|
|
61101
61281
|
};
|
|
61102
61282
|
tool$testsGet = {
|
|
@@ -61113,9 +61293,9 @@ exist or belongs to another org.
|
|
|
61113
61293
|
openWorldHint: true,
|
|
61114
61294
|
readOnlyHint: true
|
|
61115
61295
|
},
|
|
61116
|
-
args:
|
|
61117
|
-
tool: async (client,
|
|
61118
|
-
const [result] = await testsGet(client,
|
|
61296
|
+
args: args39,
|
|
61297
|
+
tool: async (client, args40, ctx) => {
|
|
61298
|
+
const [result] = await testsGet(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61119
61299
|
if (!result.ok) {
|
|
61120
61300
|
return {
|
|
61121
61301
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61147,9 +61327,9 @@ var init_listteststestsgetop = __esm(() => {
|
|
|
61147
61327
|
|
|
61148
61328
|
// src/funcs/testsList.ts
|
|
61149
61329
|
function testsList(client$, request, options) {
|
|
61150
|
-
return new APIPromise($
|
|
61330
|
+
return new APIPromise($do40(client$, request, options));
|
|
61151
61331
|
}
|
|
61152
|
-
async function $
|
|
61332
|
+
async function $do40(client$, request, options) {
|
|
61153
61333
|
const parsed$ = safeParse4(request, (value$) => ListTestsTestsGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
61154
61334
|
if (!parsed$.ok) {
|
|
61155
61335
|
return [parsed$, { status: "invalid" }];
|
|
@@ -61228,12 +61408,12 @@ var init_testsList = __esm(() => {
|
|
|
61228
61408
|
});
|
|
61229
61409
|
|
|
61230
61410
|
// src/mcp-server/tools/testsList.ts
|
|
61231
|
-
var
|
|
61411
|
+
var args40, tool$testsList;
|
|
61232
61412
|
var init_testsList2 = __esm(() => {
|
|
61233
61413
|
init_testsList();
|
|
61234
61414
|
init_listteststestsgetop();
|
|
61235
61415
|
init_tools();
|
|
61236
|
-
|
|
61416
|
+
args40 = {
|
|
61237
61417
|
request: ListTestsTestsGetRequest$zodSchema.optional()
|
|
61238
61418
|
};
|
|
61239
61419
|
tool$testsList = {
|
|
@@ -61250,9 +61430,9 @@ before creating runs.
|
|
|
61250
61430
|
openWorldHint: true,
|
|
61251
61431
|
readOnlyHint: true
|
|
61252
61432
|
},
|
|
61253
|
-
args:
|
|
61254
|
-
tool: async (client,
|
|
61255
|
-
const [result] = await testsList(client,
|
|
61433
|
+
args: args40,
|
|
61434
|
+
tool: async (client, args41, ctx) => {
|
|
61435
|
+
const [result] = await testsList(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61256
61436
|
if (!result.ok) {
|
|
61257
61437
|
return {
|
|
61258
61438
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61303,9 +61483,9 @@ var init_updatetestendpointteststestuuidputop = __esm(() => {
|
|
|
61303
61483
|
|
|
61304
61484
|
// src/funcs/testsUpdate.ts
|
|
61305
61485
|
function testsUpdate(client$, request, options) {
|
|
61306
|
-
return new APIPromise($
|
|
61486
|
+
return new APIPromise($do41(client$, request, options));
|
|
61307
61487
|
}
|
|
61308
|
-
async function $
|
|
61488
|
+
async function $do41(client$, request, options) {
|
|
61309
61489
|
const parsed$ = safeParse4(request, (value$) => UpdateTestEndpointTestsTestUuidPutRequest$zodSchema.parse(value$), "Input validation failed");
|
|
61310
61490
|
if (!parsed$.ok) {
|
|
61311
61491
|
return [parsed$, { status: "invalid" }];
|
|
@@ -61385,12 +61565,12 @@ var init_testsUpdate = __esm(() => {
|
|
|
61385
61565
|
});
|
|
61386
61566
|
|
|
61387
61567
|
// src/mcp-server/tools/testsUpdate.ts
|
|
61388
|
-
var
|
|
61568
|
+
var args41, tool$testsUpdate;
|
|
61389
61569
|
var init_testsUpdate2 = __esm(() => {
|
|
61390
61570
|
init_testsUpdate();
|
|
61391
61571
|
init_updatetestendpointteststestuuidputop();
|
|
61392
61572
|
init_tools();
|
|
61393
|
-
|
|
61573
|
+
args41 = {
|
|
61394
61574
|
request: UpdateTestEndpointTestsTestUuidPutRequest$zodSchema
|
|
61395
61575
|
};
|
|
61396
61576
|
tool$testsUpdate = {
|
|
@@ -61407,9 +61587,9 @@ fields to change (name, config). Returns the updated test. Fails with
|
|
|
61407
61587
|
openWorldHint: true,
|
|
61408
61588
|
readOnlyHint: false
|
|
61409
61589
|
},
|
|
61410
|
-
args:
|
|
61411
|
-
tool: async (client,
|
|
61412
|
-
const [result] = await testsUpdate(client,
|
|
61590
|
+
args: args41,
|
|
61591
|
+
tool: async (client, args42, ctx) => {
|
|
61592
|
+
const [result] = await testsUpdate(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61413
61593
|
if (!result.ok) {
|
|
61414
61594
|
return {
|
|
61415
61595
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61531,9 +61711,9 @@ var init_ingesttracetracespostop = __esm(() => {
|
|
|
61531
61711
|
|
|
61532
61712
|
// src/funcs/tracesCreate.ts
|
|
61533
61713
|
function tracesCreate(client$, request, options) {
|
|
61534
|
-
return new APIPromise($
|
|
61714
|
+
return new APIPromise($do42(client$, request, options));
|
|
61535
61715
|
}
|
|
61536
|
-
async function $
|
|
61716
|
+
async function $do42(client$, request, options) {
|
|
61537
61717
|
const parsed$ = safeParse4(request, (value$) => IngestTraceTracesPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
61538
61718
|
if (!parsed$.ok) {
|
|
61539
61719
|
return [parsed$, { status: "invalid" }];
|
|
@@ -61607,12 +61787,12 @@ var init_tracesCreate = __esm(() => {
|
|
|
61607
61787
|
});
|
|
61608
61788
|
|
|
61609
61789
|
// src/mcp-server/tools/tracesCreate.ts
|
|
61610
|
-
var
|
|
61790
|
+
var args42, tool$tracesCreate;
|
|
61611
61791
|
var init_tracesCreate2 = __esm(() => {
|
|
61612
61792
|
init_tracesCreate();
|
|
61613
61793
|
init_ingesttracetracespostop();
|
|
61614
61794
|
init_tools();
|
|
61615
|
-
|
|
61795
|
+
args42 = {
|
|
61616
61796
|
request: IngestTraceTracesPostRequest$zodSchema
|
|
61617
61797
|
};
|
|
61618
61798
|
tool$tracesCreate = {
|
|
@@ -61631,9 +61811,9 @@ hits its trace limit.
|
|
|
61631
61811
|
openWorldHint: true,
|
|
61632
61812
|
readOnlyHint: false
|
|
61633
61813
|
},
|
|
61634
|
-
args:
|
|
61635
|
-
tool: async (client,
|
|
61636
|
-
const [result] = await tracesCreate(client,
|
|
61814
|
+
args: args42,
|
|
61815
|
+
tool: async (client, args43, ctx) => {
|
|
61816
|
+
const [result] = await tracesCreate(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61637
61817
|
if (!result.ok) {
|
|
61638
61818
|
return {
|
|
61639
61819
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -61649,16 +61829,16 @@ hits its trace limit.
|
|
|
61649
61829
|
function createMCPServer(deps) {
|
|
61650
61830
|
const server = new McpServer({
|
|
61651
61831
|
name: "CalibrateMcp",
|
|
61652
|
-
version: "0.0.
|
|
61832
|
+
version: "0.0.55"
|
|
61653
61833
|
});
|
|
61654
61834
|
const getClient = deps.getSDK || (() => new CalibrateMcpCore({
|
|
61655
61835
|
security: deps.security,
|
|
61656
61836
|
serverURL: deps.serverURL,
|
|
61657
61837
|
serverIdx: deps.serverIdx,
|
|
61658
61838
|
debugLogger: deps.logger.level === "debug" ? {
|
|
61659
|
-
log: (...
|
|
61660
|
-
group: (...
|
|
61661
|
-
groupEnd: (...
|
|
61839
|
+
log: (...args43) => console.log(...args43),
|
|
61840
|
+
group: (...args43) => console.group(...args43),
|
|
61841
|
+
groupEnd: (...args43) => console.groupEnd(...args43)
|
|
61662
61842
|
} : undefined
|
|
61663
61843
|
}));
|
|
61664
61844
|
const scopes = new Set(deps.scopes);
|
|
@@ -61688,6 +61868,7 @@ function createMCPServer(deps) {
|
|
|
61688
61868
|
tool(tool$agentTestsRun);
|
|
61689
61869
|
tool(tool$agentTestsRunBatch);
|
|
61690
61870
|
tool(tool$agentTestsGetRun);
|
|
61871
|
+
tool(tool$agentTestsGetRunCase);
|
|
61691
61872
|
tool(tool$agentTestsBenchmark);
|
|
61692
61873
|
tool(tool$agentTestsGetBenchmark);
|
|
61693
61874
|
tool(tool$evaluatorsCreate);
|
|
@@ -61731,6 +61912,7 @@ var init_server2 = __esm(() => {
|
|
|
61731
61912
|
init_agentTestsBulkUnlink2();
|
|
61732
61913
|
init_agentTestsGetBenchmark2();
|
|
61733
61914
|
init_agentTestsGetRun2();
|
|
61915
|
+
init_agentTestsGetRunCase2();
|
|
61734
61916
|
init_agentTestsLink2();
|
|
61735
61917
|
init_agentTestsListForAgent2();
|
|
61736
61918
|
init_agentTestsListRunsForAgent2();
|
|
@@ -61906,6 +62088,15 @@ queued, in_progress, completed, failed, or aborted status. When
|
|
|
61906
62088
|
completed, includes per-test-case pass/fail results and evaluator
|
|
61907
62089
|
judgments. Use the task_id from run-agent-tests or
|
|
61908
62090
|
run-agent-tests-batch.
|
|
62091
|
+
`
|
|
62092
|
+
},
|
|
62093
|
+
{
|
|
62094
|
+
name: "get-agent-test-case-result",
|
|
62095
|
+
description: `Fetch the full result of one test case in a run, including the
|
|
62096
|
+
conversation, the agent's output and each evaluator's reasoning. Pass
|
|
62097
|
+
the model query param for a benchmark, which runs every test once per
|
|
62098
|
+
model. Use with mode=summary on get-agent-test-run, which returns
|
|
62099
|
+
light rows without this detail.
|
|
61909
62100
|
`
|
|
61910
62101
|
},
|
|
61911
62102
|
{
|
|
@@ -62927,7 +63118,7 @@ http_headers = { "api-key-auth" = "YOUR_API_KEY_AUTH" }`;
|
|
|
62927
63118
|
<h1>Instructions</h1>
|
|
62928
63119
|
<p>One-click installation for Claude Desktop users</p>
|
|
62929
63120
|
<div class="instruction-item">
|
|
62930
|
-
<a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.
|
|
63121
|
+
<a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.55/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
|
|
62931
63122
|
\uD83D\uDCE5 Download MCP Bundle
|
|
62932
63123
|
</a>
|
|
62933
63124
|
</div>
|
|
@@ -65814,7 +66005,7 @@ var routes = buildRouteMap({
|
|
|
65814
66005
|
var app = buildApplication(routes, {
|
|
65815
66006
|
name: "mcp",
|
|
65816
66007
|
versionInfo: {
|
|
65817
|
-
currentVersion: "0.0.
|
|
66008
|
+
currentVersion: "0.0.55"
|
|
65818
66009
|
}
|
|
65819
66010
|
});
|
|
65820
66011
|
run(app, process4.argv.slice(2), buildContext(process4));
|
|
@@ -65822,5 +66013,5 @@ export {
|
|
|
65822
66013
|
app
|
|
65823
66014
|
};
|
|
65824
66015
|
|
|
65825
|
-
//# debugId=
|
|
66016
|
+
//# debugId=85A19CC581C9E75764756E2164756E21
|
|
65826
66017
|
//# sourceMappingURL=mcp-server.js.map
|