@dalmia/calibrate-mcp 0.0.26 → 0.0.28
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 +617 -299
- package/bin/mcp-server.js.map +20 -12
- package/esm/funcs/agentsLinkEvaluators.d.ts +16 -0
- package/esm/funcs/agentsLinkEvaluators.d.ts.map +1 -0
- package/esm/funcs/agentsLinkEvaluators.js +92 -0
- package/esm/funcs/agentsLinkEvaluators.js.map +1 -0
- package/esm/funcs/agentsListEvaluators.d.ts +16 -0
- package/esm/funcs/agentsListEvaluators.d.ts.map +1 -0
- package/esm/funcs/agentsListEvaluators.js +97 -0
- package/esm/funcs/agentsListEvaluators.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 +5 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/agentsLinkEvaluators.d.ts +7 -0
- package/esm/mcp-server/tools/agentsLinkEvaluators.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentsLinkEvaluators.js +36 -0
- package/esm/mcp-server/tools/agentsLinkEvaluators.js.map +1 -0
- package/esm/mcp-server/tools/agentsListEvaluators.d.ts +7 -0
- package/esm/mcp-server/tools/agentsListEvaluators.d.ts.map +1 -0
- package/esm/mcp-server/tools/agentsListEvaluators.js +35 -0
- package/esm/mcp-server/tools/agentsListEvaluators.js.map +1 -0
- package/esm/models/evaluatorcreate.d.ts +1 -1
- package/esm/models/evaluatordetailresponsecompact.d.ts +1 -1
- package/esm/models/linkevaluatorstoagentagentsagentuuidevaluatorspostop.d.ts +13 -0
- package/esm/models/linkevaluatorstoagentagentsagentuuidevaluatorspostop.d.ts.map +1 -0
- package/esm/models/linkevaluatorstoagentagentsagentuuidevaluatorspostop.js +19 -0
- package/esm/models/linkevaluatorstoagentagentsagentuuidevaluatorspostop.js.map +1 -0
- package/esm/models/listagentevaluatorsagentsagentuuidevaluatorsgetop.d.ts +14 -0
- package/esm/models/listagentevaluatorsagentsagentuuidevaluatorsgetop.d.ts.map +1 -0
- package/esm/models/listagentevaluatorsagentsagentuuidevaluatorsgetop.js +18 -0
- package/esm/models/listagentevaluatorsagentsagentuuidevaluatorsgetop.js.map +1 -0
- package/esm/models/listevaluatorsevaluatorsgetop.d.ts +1 -1
- package/esm/models/routersagentsevaluatorlinkrequest.d.ts +6 -0
- package/esm/models/routersagentsevaluatorlinkrequest.d.ts.map +1 -0
- package/esm/models/routersagentsevaluatorlinkrequest.js +8 -0
- package/esm/models/routersagentsevaluatorlinkrequest.js.map +1 -0
- package/esm/models/routersagentsevaluatorlinkresponse.d.ts +8 -0
- package/esm/models/routersagentsevaluatorlinkresponse.d.ts.map +1 -0
- package/esm/models/routersagentsevaluatorlinkresponse.js +10 -0
- package/esm/models/routersagentsevaluatorlinkresponse.js.map +1 -0
- package/esm/models/routersevaluatorsevaluatorresponse.d.ts +1 -1
- package/esm/tool-names.d.ts.map +1 -1
- package/esm/tool-names.js +8 -0
- package/esm/tool-names.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/agentsLinkEvaluators.ts +160 -0
- package/src/funcs/agentsListEvaluators.ts +165 -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 +5 -1
- package/src/mcp-server/tools/agentsLinkEvaluators.ts +45 -0
- package/src/mcp-server/tools/agentsListEvaluators.ts +44 -0
- package/src/models/linkevaluatorstoagentagentsagentuuidevaluatorspostop.ts +42 -0
- package/src/models/listagentevaluatorsagentsagentuuidevaluatorsgetop.ts +46 -0
- package/src/models/routersagentsevaluatorlinkrequest.ts +17 -0
- package/src/models/routersagentsevaluatorlinkresponse.ts +23 -0
- package/src/tool-names.ts +8 -0
package/bin/mcp-server.js
CHANGED
|
@@ -51392,9 +51392,9 @@ var init_config = __esm(() => {
|
|
|
51392
51392
|
SDK_METADATA = {
|
|
51393
51393
|
language: "typescript",
|
|
51394
51394
|
openapiDocVersion: "0.1.0",
|
|
51395
|
-
sdkVersion: "0.0.
|
|
51395
|
+
sdkVersion: "0.0.28",
|
|
51396
51396
|
genVersion: "2.915.1",
|
|
51397
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.0.
|
|
51397
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.0.28 2.915.1 0.1.0 @dalmia/calibrate-mcp"
|
|
51398
51398
|
};
|
|
51399
51399
|
});
|
|
51400
51400
|
|
|
@@ -53206,6 +53206,164 @@ exist or belongs to another org.
|
|
|
53206
53206
|
};
|
|
53207
53207
|
});
|
|
53208
53208
|
|
|
53209
|
+
// src/models/routersagentsevaluatorlinkrequest.ts
|
|
53210
|
+
var RoutersAgentsEvaluatorLinkRequest$zodSchema;
|
|
53211
|
+
var init_routersagentsevaluatorlinkrequest = __esm(() => {
|
|
53212
|
+
init_zod();
|
|
53213
|
+
RoutersAgentsEvaluatorLinkRequest$zodSchema = object({
|
|
53214
|
+
evaluator_ids: array(string2()).describe("The evaluators to link to the agent. Ones that are already linked are skipped. Each must be one you created or a built-in default")
|
|
53215
|
+
});
|
|
53216
|
+
});
|
|
53217
|
+
|
|
53218
|
+
// src/models/routersagentsevaluatorlinkresponse.ts
|
|
53219
|
+
var RoutersAgentsEvaluatorLinkResponse$zodSchema;
|
|
53220
|
+
var init_routersagentsevaluatorlinkresponse = __esm(() => {
|
|
53221
|
+
init_zod();
|
|
53222
|
+
RoutersAgentsEvaluatorLinkResponse$zodSchema = object({
|
|
53223
|
+
already_linked: array(string2()).describe("Evaluator IDs skipped because they were already linked"),
|
|
53224
|
+
linked: array(string2()).describe("Evaluator IDs newly linked by this request"),
|
|
53225
|
+
message: string2().describe("Confirmation that the evaluators were linked")
|
|
53226
|
+
});
|
|
53227
|
+
});
|
|
53228
|
+
|
|
53229
|
+
// src/models/linkevaluatorstoagentagentsagentuuidevaluatorspostop.ts
|
|
53230
|
+
var LinkEvaluatorsToAgentAgentsAgentUuidEvaluatorsPostRequest$zodSchema, LinkEvaluatorsToAgentAgentsAgentUuidEvaluatorsPostResponse$zodSchema;
|
|
53231
|
+
var init_linkevaluatorstoagentagentsagentuuidevaluatorspostop = __esm(() => {
|
|
53232
|
+
init_zod();
|
|
53233
|
+
init_httpvalidationerror();
|
|
53234
|
+
init_routersagentsevaluatorlinkrequest();
|
|
53235
|
+
init_routersagentsevaluatorlinkresponse();
|
|
53236
|
+
LinkEvaluatorsToAgentAgentsAgentUuidEvaluatorsPostRequest$zodSchema = object({
|
|
53237
|
+
agent_uuid: string2().describe("The agent to link the evaluators to"),
|
|
53238
|
+
body: RoutersAgentsEvaluatorLinkRequest$zodSchema,
|
|
53239
|
+
xAPIKey: string2().nullable().optional()
|
|
53240
|
+
});
|
|
53241
|
+
LinkEvaluatorsToAgentAgentsAgentUuidEvaluatorsPostResponse$zodSchema = union([
|
|
53242
|
+
RoutersAgentsEvaluatorLinkResponse$zodSchema,
|
|
53243
|
+
HTTPValidationError$zodSchema
|
|
53244
|
+
]);
|
|
53245
|
+
});
|
|
53246
|
+
|
|
53247
|
+
// src/funcs/agentsLinkEvaluators.ts
|
|
53248
|
+
function agentsLinkEvaluators(client$, request, options) {
|
|
53249
|
+
return new APIPromise($do3(client$, request, options));
|
|
53250
|
+
}
|
|
53251
|
+
async function $do3(client$, request, options) {
|
|
53252
|
+
const parsed$ = safeParse4(request, (value$) => LinkEvaluatorsToAgentAgentsAgentUuidEvaluatorsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
53253
|
+
if (!parsed$.ok) {
|
|
53254
|
+
return [parsed$, { status: "invalid" }];
|
|
53255
|
+
}
|
|
53256
|
+
const payload$ = parsed$.value;
|
|
53257
|
+
const body$ = encodeJSON("body", payload$.body, { explode: true });
|
|
53258
|
+
const pathParams$ = {
|
|
53259
|
+
agent_uuid: encodeSimple("agent_uuid", payload$.agent_uuid, {
|
|
53260
|
+
explode: false,
|
|
53261
|
+
charEncoding: "percent"
|
|
53262
|
+
})
|
|
53263
|
+
};
|
|
53264
|
+
const path$ = pathToFunc("/agents/{agent_uuid}/evaluators")(pathParams$);
|
|
53265
|
+
const headers$ = new Headers(compactMap({
|
|
53266
|
+
"Content-Type": "application/json",
|
|
53267
|
+
Accept: "application/json",
|
|
53268
|
+
"X-API-Key": encodeSimple("X-API-Key", payload$.xAPIKey, {
|
|
53269
|
+
explode: false,
|
|
53270
|
+
charEncoding: "none"
|
|
53271
|
+
})
|
|
53272
|
+
}));
|
|
53273
|
+
const securityInput = await extractSecurity(client$._options.security);
|
|
53274
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
53275
|
+
const context = {
|
|
53276
|
+
options: client$._options,
|
|
53277
|
+
baseURL: options?.serverURL ?? client$._baseURL ?? "",
|
|
53278
|
+
operationID: "link_evaluators_to_agent_agents__agent_uuid__evaluators_post",
|
|
53279
|
+
oAuth2Scopes: null,
|
|
53280
|
+
resolvedSecurity: requestSecurity,
|
|
53281
|
+
securitySource: client$._options.security,
|
|
53282
|
+
retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
|
|
53283
|
+
retryCodes: options?.retryCodes || [
|
|
53284
|
+
"429",
|
|
53285
|
+
"500",
|
|
53286
|
+
"502",
|
|
53287
|
+
"503",
|
|
53288
|
+
"504"
|
|
53289
|
+
]
|
|
53290
|
+
};
|
|
53291
|
+
const requestRes = client$._createRequest(context, {
|
|
53292
|
+
security: requestSecurity,
|
|
53293
|
+
method: "POST",
|
|
53294
|
+
baseURL: options?.serverURL,
|
|
53295
|
+
path: path$,
|
|
53296
|
+
headers: headers$,
|
|
53297
|
+
body: body$,
|
|
53298
|
+
userAgent: client$._options.userAgent,
|
|
53299
|
+
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
53300
|
+
}, options);
|
|
53301
|
+
if (!requestRes.ok) {
|
|
53302
|
+
return [requestRes, { status: "invalid" }];
|
|
53303
|
+
}
|
|
53304
|
+
const req$ = requestRes.value;
|
|
53305
|
+
const doResult = await client$._do(req$, {
|
|
53306
|
+
context,
|
|
53307
|
+
errorCodes: [],
|
|
53308
|
+
retryConfig: context.retryConfig,
|
|
53309
|
+
retryCodes: context.retryCodes
|
|
53310
|
+
});
|
|
53311
|
+
if (!doResult.ok) {
|
|
53312
|
+
return [doResult, { status: "request-error", request: req$ }];
|
|
53313
|
+
}
|
|
53314
|
+
return [doResult, {
|
|
53315
|
+
status: "complete",
|
|
53316
|
+
request: req$,
|
|
53317
|
+
response: doResult.value
|
|
53318
|
+
}];
|
|
53319
|
+
}
|
|
53320
|
+
var init_agentsLinkEvaluators = __esm(() => {
|
|
53321
|
+
init_encodings();
|
|
53322
|
+
init_primitives();
|
|
53323
|
+
init_schemas4();
|
|
53324
|
+
init_security();
|
|
53325
|
+
init_url();
|
|
53326
|
+
init_linkevaluatorstoagentagentsagentuuidevaluatorspostop();
|
|
53327
|
+
init_async();
|
|
53328
|
+
});
|
|
53329
|
+
|
|
53330
|
+
// src/mcp-server/tools/agentsLinkEvaluators.ts
|
|
53331
|
+
var args3, tool$agentsLinkEvaluators;
|
|
53332
|
+
var init_agentsLinkEvaluators2 = __esm(() => {
|
|
53333
|
+
init_agentsLinkEvaluators();
|
|
53334
|
+
init_linkevaluatorstoagentagentsagentuuidevaluatorspostop();
|
|
53335
|
+
init_tools();
|
|
53336
|
+
args3 = {
|
|
53337
|
+
request: LinkEvaluatorsToAgentAgentsAgentUuidEvaluatorsPostRequest$zodSchema
|
|
53338
|
+
};
|
|
53339
|
+
tool$agentsLinkEvaluators = {
|
|
53340
|
+
name: "link-evaluators-to-agent",
|
|
53341
|
+
description: `Link one or more evaluators to an agent, skipping any already linked.
|
|
53342
|
+
Each evaluator must be one you created or a built-in default, and the
|
|
53343
|
+
agent must be in your workspace.
|
|
53344
|
+
`,
|
|
53345
|
+
scopes: ["write"],
|
|
53346
|
+
annotations: {
|
|
53347
|
+
title: "Link evaluators to an agent",
|
|
53348
|
+
destructiveHint: false,
|
|
53349
|
+
idempotentHint: true,
|
|
53350
|
+
openWorldHint: true,
|
|
53351
|
+
readOnlyHint: false
|
|
53352
|
+
},
|
|
53353
|
+
args: args3,
|
|
53354
|
+
tool: async (client, args4, ctx) => {
|
|
53355
|
+
const [result] = await agentsLinkEvaluators(client, args4.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53356
|
+
if (!result.ok) {
|
|
53357
|
+
return {
|
|
53358
|
+
content: [{ type: "text", text: result.error.message }],
|
|
53359
|
+
isError: true
|
|
53360
|
+
};
|
|
53361
|
+
}
|
|
53362
|
+
return formatResult(result.value);
|
|
53363
|
+
}
|
|
53364
|
+
};
|
|
53365
|
+
});
|
|
53366
|
+
|
|
53209
53367
|
// src/models/agentsummary.ts
|
|
53210
53368
|
var AgentSummaryType$zodSchema, AgentSummary$zodSchema;
|
|
53211
53369
|
var init_agentsummary = __esm(() => {
|
|
@@ -53256,9 +53414,9 @@ var init_listagentsagentsgetop = __esm(() => {
|
|
|
53256
53414
|
|
|
53257
53415
|
// src/funcs/agentsList.ts
|
|
53258
53416
|
function agentsList(client$, request, options) {
|
|
53259
|
-
return new APIPromise($
|
|
53417
|
+
return new APIPromise($do4(client$, request, options));
|
|
53260
53418
|
}
|
|
53261
|
-
async function $
|
|
53419
|
+
async function $do4(client$, request, options) {
|
|
53262
53420
|
const parsed$ = safeParse4(request, (value$) => ListAgentsAgentsGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
53263
53421
|
if (!parsed$.ok) {
|
|
53264
53422
|
return [parsed$, { status: "invalid" }];
|
|
@@ -53337,12 +53495,12 @@ var init_agentsList = __esm(() => {
|
|
|
53337
53495
|
});
|
|
53338
53496
|
|
|
53339
53497
|
// src/mcp-server/tools/agentsList.ts
|
|
53340
|
-
var
|
|
53498
|
+
var args4, tool$agentsList;
|
|
53341
53499
|
var init_agentsList2 = __esm(() => {
|
|
53342
53500
|
init_agentsList();
|
|
53343
53501
|
init_listagentsagentsgetop();
|
|
53344
53502
|
init_tools();
|
|
53345
|
-
|
|
53503
|
+
args4 = {
|
|
53346
53504
|
request: ListAgentsAgentsGetRequest$zodSchema.optional()
|
|
53347
53505
|
};
|
|
53348
53506
|
tool$agentsList = {
|
|
@@ -53360,9 +53518,225 @@ API key (CALIBRATE_API_KEY).
|
|
|
53360
53518
|
openWorldHint: true,
|
|
53361
53519
|
readOnlyHint: true
|
|
53362
53520
|
},
|
|
53363
|
-
args:
|
|
53364
|
-
tool: async (client,
|
|
53365
|
-
const [result] = await agentsList(client,
|
|
53521
|
+
args: args4,
|
|
53522
|
+
tool: async (client, args5, ctx) => {
|
|
53523
|
+
const [result] = await agentsList(client, args5.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53524
|
+
if (!result.ok) {
|
|
53525
|
+
return {
|
|
53526
|
+
content: [{ type: "text", text: result.error.message }],
|
|
53527
|
+
isError: true
|
|
53528
|
+
};
|
|
53529
|
+
}
|
|
53530
|
+
return formatResult(result.value);
|
|
53531
|
+
}
|
|
53532
|
+
};
|
|
53533
|
+
});
|
|
53534
|
+
|
|
53535
|
+
// src/models/variablespec.ts
|
|
53536
|
+
var VariableSpec$zodSchema;
|
|
53537
|
+
var init_variablespec = __esm(() => {
|
|
53538
|
+
init_zod();
|
|
53539
|
+
VariableSpec$zodSchema = object({
|
|
53540
|
+
default: string2().nullable().optional().describe("Default value used when you omit this variable. Omit for no default"),
|
|
53541
|
+
description: string2().nullable().optional().describe("What the variable is for. Omit if self-evident"),
|
|
53542
|
+
name: string2().describe('Name of a `{{"{{"}}placeholder}}` used in the system prompt')
|
|
53543
|
+
});
|
|
53544
|
+
});
|
|
53545
|
+
|
|
53546
|
+
// src/models/evaluatorliveversionsummary.ts
|
|
53547
|
+
var EvaluatorLiveVersionSummary$zodSchema;
|
|
53548
|
+
var init_evaluatorliveversionsummary = __esm(() => {
|
|
53549
|
+
init_zod();
|
|
53550
|
+
init_variablespec();
|
|
53551
|
+
EvaluatorLiveVersionSummary$zodSchema = object({
|
|
53552
|
+
judge_model: string2().describe("The model that runs the judge, named the way its provider does, for example `openai/gpt-4.1` or `anthropic/claude-sonnet-4`"),
|
|
53553
|
+
uuid: string2().describe("Version ID"),
|
|
53554
|
+
variables: array(VariableSpec$zodSchema).nullable().optional().describe("Declared prompt variables"),
|
|
53555
|
+
version_number: int().describe("The version's number. The first version is 1, and it goes up by one for each new version of the evaluator")
|
|
53556
|
+
}).describe("Slim view of the live version for list results, carrying only what the list needs.");
|
|
53557
|
+
});
|
|
53558
|
+
|
|
53559
|
+
// src/models/routersevaluatorsevaluatorresponse.ts
|
|
53560
|
+
var RoutersEvaluatorsEvaluatorResponseEvaluatorType$zodSchema, RoutersEvaluatorsEvaluatorResponseDataType$zodSchema, RoutersEvaluatorsEvaluatorResponseOutputType$zodSchema, RoutersEvaluatorsEvaluatorResponse$zodSchema;
|
|
53561
|
+
var init_routersevaluatorsevaluatorresponse = __esm(() => {
|
|
53562
|
+
init_zod();
|
|
53563
|
+
init_evaluatorliveversionsummary();
|
|
53564
|
+
RoutersEvaluatorsEvaluatorResponseEvaluatorType$zodSchema = _enum([
|
|
53565
|
+
"tts",
|
|
53566
|
+
"stt",
|
|
53567
|
+
"llm",
|
|
53568
|
+
"llm-general",
|
|
53569
|
+
"conversation"
|
|
53570
|
+
]).describe("What the evaluator judges:\n\n- `tts`: TTS audio\n- `stt`: one transcript\n- `llm`: a reply with its conversation history\n- `llm-general`: a standalone input and output pair\n- `conversation`: a full conversation\n");
|
|
53571
|
+
RoutersEvaluatorsEvaluatorResponseDataType$zodSchema = _enum([
|
|
53572
|
+
"text",
|
|
53573
|
+
"audio"
|
|
53574
|
+
]).describe("The modality the judge reads:\n\n- `text`\n- `audio`\n");
|
|
53575
|
+
RoutersEvaluatorsEvaluatorResponseOutputType$zodSchema = _enum([
|
|
53576
|
+
"binary",
|
|
53577
|
+
"rating"
|
|
53578
|
+
]).describe("How the evaluator scores:\n\n- `binary`: pass or fail\n- `rating`: a numeric score, using the scale in `output_config`\n");
|
|
53579
|
+
RoutersEvaluatorsEvaluatorResponse$zodSchema = object({
|
|
53580
|
+
created_at: string2().describe("When the evaluator was created (ISO 8601 UTC)"),
|
|
53581
|
+
data_type: RoutersEvaluatorsEvaluatorResponseDataType$zodSchema.describe("The modality the judge reads:\n\n- `text`\n- `audio`\n"),
|
|
53582
|
+
description: string2().nullable().optional().describe("What the evaluator checks"),
|
|
53583
|
+
evaluator_type: RoutersEvaluatorsEvaluatorResponseEvaluatorType$zodSchema.describe("What the evaluator judges:\n\n- `tts`: TTS audio\n- `stt`: one transcript\n- `llm`: a reply with its conversation history\n- `llm-general`: a standalone input and output pair\n- `conversation`: a full conversation\n"),
|
|
53584
|
+
is_default: boolean2().describe("True for a built-in default evaluator, which you can't edit. False for an evaluator you created, which you can edit and add versions to"),
|
|
53585
|
+
live_version: EvaluatorLiveVersionSummary$zodSchema.nullable().optional().describe("The version that is currently live"),
|
|
53586
|
+
live_version_id: string2().nullable().optional().describe("ID of the version that is currently live"),
|
|
53587
|
+
name: string2().describe("Evaluator name"),
|
|
53588
|
+
output_type: RoutersEvaluatorsEvaluatorResponseOutputType$zodSchema.describe("How the evaluator scores:\n\n- `binary`: pass or fail\n- `rating`: a numeric score, using the scale in `output_config`\n"),
|
|
53589
|
+
slug: string2().nullable().optional().describe("Stable slug for a built-in default evaluator"),
|
|
53590
|
+
updated_at: string2().describe("When the evaluator was last updated (ISO 8601 UTC)"),
|
|
53591
|
+
uuid: string2().describe("Evaluator ID")
|
|
53592
|
+
});
|
|
53593
|
+
});
|
|
53594
|
+
|
|
53595
|
+
// src/models/paginatedresponseevaluatorresponse.ts
|
|
53596
|
+
var PaginatedResponseEvaluatorResponse$zodSchema;
|
|
53597
|
+
var init_paginatedresponseevaluatorresponse = __esm(() => {
|
|
53598
|
+
init_zod();
|
|
53599
|
+
init_routersevaluatorsevaluatorresponse();
|
|
53600
|
+
PaginatedResponseEvaluatorResponse$zodSchema = object({
|
|
53601
|
+
items: array(RoutersEvaluatorsEvaluatorResponse$zodSchema).describe("The page of results"),
|
|
53602
|
+
limit: int().nullable().optional().describe("The applied `limit` (null when unbounded)"),
|
|
53603
|
+
offset: int().default(0).describe("The applied `offset`"),
|
|
53604
|
+
total: int().describe("Total number of items matching the query, before pagination")
|
|
53605
|
+
});
|
|
53606
|
+
});
|
|
53607
|
+
|
|
53608
|
+
// src/models/listagentevaluatorsagentsagentuuidevaluatorsgetop.ts
|
|
53609
|
+
var ListAgentEvaluatorsAgentsAgentUuidEvaluatorsGetRequest$zodSchema, ListAgentEvaluatorsAgentsAgentUuidEvaluatorsGetResponse$zodSchema;
|
|
53610
|
+
var init_listagentevaluatorsagentsagentuuidevaluatorsgetop = __esm(() => {
|
|
53611
|
+
init_zod();
|
|
53612
|
+
init_httpvalidationerror();
|
|
53613
|
+
init_paginatedresponseevaluatorresponse();
|
|
53614
|
+
ListAgentEvaluatorsAgentsAgentUuidEvaluatorsGetRequest$zodSchema = object({
|
|
53615
|
+
agent_uuid: string2().describe("The agent whose evaluators to list"),
|
|
53616
|
+
limit: int().describe("Maximum number of items to return. Omit for no limit (all items)").nullable().optional(),
|
|
53617
|
+
offset: int().default(0).describe("Number of items to skip before returning results"),
|
|
53618
|
+
q: string2().describe("Case-insensitive substring search on `name`. Blank is a no-op").nullable().optional(),
|
|
53619
|
+
xAPIKey: string2().nullable().optional()
|
|
53620
|
+
});
|
|
53621
|
+
ListAgentEvaluatorsAgentsAgentUuidEvaluatorsGetResponse$zodSchema = union([
|
|
53622
|
+
PaginatedResponseEvaluatorResponse$zodSchema,
|
|
53623
|
+
HTTPValidationError$zodSchema
|
|
53624
|
+
]);
|
|
53625
|
+
});
|
|
53626
|
+
|
|
53627
|
+
// src/funcs/agentsListEvaluators.ts
|
|
53628
|
+
function agentsListEvaluators(client$, request, options) {
|
|
53629
|
+
return new APIPromise($do5(client$, request, options));
|
|
53630
|
+
}
|
|
53631
|
+
async function $do5(client$, request, options) {
|
|
53632
|
+
const parsed$ = safeParse4(request, (value$) => ListAgentEvaluatorsAgentsAgentUuidEvaluatorsGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
53633
|
+
if (!parsed$.ok) {
|
|
53634
|
+
return [parsed$, { status: "invalid" }];
|
|
53635
|
+
}
|
|
53636
|
+
const payload$ = parsed$.value;
|
|
53637
|
+
const body$ = null;
|
|
53638
|
+
const pathParams$ = {
|
|
53639
|
+
agent_uuid: encodeSimple("agent_uuid", payload$.agent_uuid, {
|
|
53640
|
+
explode: false,
|
|
53641
|
+
charEncoding: "percent"
|
|
53642
|
+
})
|
|
53643
|
+
};
|
|
53644
|
+
const path$ = pathToFunc("/agents/{agent_uuid}/evaluators")(pathParams$);
|
|
53645
|
+
const query$ = encodeFormQuery({
|
|
53646
|
+
limit: payload$.limit,
|
|
53647
|
+
offset: payload$.offset,
|
|
53648
|
+
q: payload$.q
|
|
53649
|
+
});
|
|
53650
|
+
const headers$ = new Headers(compactMap({
|
|
53651
|
+
Accept: "application/json",
|
|
53652
|
+
"X-API-Key": encodeSimple("X-API-Key", payload$.xAPIKey, {
|
|
53653
|
+
explode: false,
|
|
53654
|
+
charEncoding: "none"
|
|
53655
|
+
})
|
|
53656
|
+
}));
|
|
53657
|
+
const securityInput = await extractSecurity(client$._options.security);
|
|
53658
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
53659
|
+
const context = {
|
|
53660
|
+
options: client$._options,
|
|
53661
|
+
baseURL: options?.serverURL ?? client$._baseURL ?? "",
|
|
53662
|
+
operationID: "list_agent_evaluators_agents__agent_uuid__evaluators_get",
|
|
53663
|
+
oAuth2Scopes: null,
|
|
53664
|
+
resolvedSecurity: requestSecurity,
|
|
53665
|
+
securitySource: client$._options.security,
|
|
53666
|
+
retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
|
|
53667
|
+
retryCodes: options?.retryCodes || [
|
|
53668
|
+
"429",
|
|
53669
|
+
"500",
|
|
53670
|
+
"502",
|
|
53671
|
+
"503",
|
|
53672
|
+
"504"
|
|
53673
|
+
]
|
|
53674
|
+
};
|
|
53675
|
+
const requestRes = client$._createRequest(context, {
|
|
53676
|
+
security: requestSecurity,
|
|
53677
|
+
method: "GET",
|
|
53678
|
+
baseURL: options?.serverURL,
|
|
53679
|
+
path: path$,
|
|
53680
|
+
headers: headers$,
|
|
53681
|
+
query: query$,
|
|
53682
|
+
body: body$,
|
|
53683
|
+
userAgent: client$._options.userAgent,
|
|
53684
|
+
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
53685
|
+
}, options);
|
|
53686
|
+
if (!requestRes.ok) {
|
|
53687
|
+
return [requestRes, { status: "invalid" }];
|
|
53688
|
+
}
|
|
53689
|
+
const req$ = requestRes.value;
|
|
53690
|
+
const doResult = await client$._do(req$, {
|
|
53691
|
+
context,
|
|
53692
|
+
errorCodes: [],
|
|
53693
|
+
retryConfig: context.retryConfig,
|
|
53694
|
+
retryCodes: context.retryCodes
|
|
53695
|
+
});
|
|
53696
|
+
if (!doResult.ok) {
|
|
53697
|
+
return [doResult, { status: "request-error", request: req$ }];
|
|
53698
|
+
}
|
|
53699
|
+
return [doResult, {
|
|
53700
|
+
status: "complete",
|
|
53701
|
+
request: req$,
|
|
53702
|
+
response: doResult.value
|
|
53703
|
+
}];
|
|
53704
|
+
}
|
|
53705
|
+
var init_agentsListEvaluators = __esm(() => {
|
|
53706
|
+
init_encodings();
|
|
53707
|
+
init_primitives();
|
|
53708
|
+
init_schemas4();
|
|
53709
|
+
init_security();
|
|
53710
|
+
init_url();
|
|
53711
|
+
init_listagentevaluatorsagentsagentuuidevaluatorsgetop();
|
|
53712
|
+
init_async();
|
|
53713
|
+
});
|
|
53714
|
+
|
|
53715
|
+
// src/mcp-server/tools/agentsListEvaluators.ts
|
|
53716
|
+
var args5, tool$agentsListEvaluators;
|
|
53717
|
+
var init_agentsListEvaluators2 = __esm(() => {
|
|
53718
|
+
init_agentsListEvaluators();
|
|
53719
|
+
init_listagentevaluatorsagentsagentuuidevaluatorsgetop();
|
|
53720
|
+
init_tools();
|
|
53721
|
+
args5 = {
|
|
53722
|
+
request: ListAgentEvaluatorsAgentsAgentUuidEvaluatorsGetRequest$zodSchema
|
|
53723
|
+
};
|
|
53724
|
+
tool$agentsListEvaluators = {
|
|
53725
|
+
name: "list-agent-evaluators",
|
|
53726
|
+
description: `List the evaluators linked to an agent, most recently linked first.
|
|
53727
|
+
Returns each evaluator's UUID, name, type, and live version summary.
|
|
53728
|
+
`,
|
|
53729
|
+
scopes: ["read"],
|
|
53730
|
+
annotations: {
|
|
53731
|
+
title: "List evaluators linked to an agent",
|
|
53732
|
+
destructiveHint: false,
|
|
53733
|
+
idempotentHint: false,
|
|
53734
|
+
openWorldHint: true,
|
|
53735
|
+
readOnlyHint: true
|
|
53736
|
+
},
|
|
53737
|
+
args: args5,
|
|
53738
|
+
tool: async (client, args6, ctx) => {
|
|
53739
|
+
const [result] = await agentsListEvaluators(client, args6.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53366
53740
|
if (!result.ok) {
|
|
53367
53741
|
return {
|
|
53368
53742
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53412,9 +53786,9 @@ var init_resolveagentnamesagentsresolvepostop = __esm(() => {
|
|
|
53412
53786
|
|
|
53413
53787
|
// src/funcs/agentsResolve.ts
|
|
53414
53788
|
function agentsResolve(client$, request, options) {
|
|
53415
|
-
return new APIPromise($
|
|
53789
|
+
return new APIPromise($do6(client$, request, options));
|
|
53416
53790
|
}
|
|
53417
|
-
async function $
|
|
53791
|
+
async function $do6(client$, request, options) {
|
|
53418
53792
|
const parsed$ = safeParse4(request, (value$) => ResolveAgentNamesAgentsResolvePostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
53419
53793
|
if (!parsed$.ok) {
|
|
53420
53794
|
return [parsed$, { status: "invalid" }];
|
|
@@ -53488,12 +53862,12 @@ var init_agentsResolve = __esm(() => {
|
|
|
53488
53862
|
});
|
|
53489
53863
|
|
|
53490
53864
|
// src/mcp-server/tools/agentsResolve.ts
|
|
53491
|
-
var
|
|
53865
|
+
var args6, tool$agentsResolve;
|
|
53492
53866
|
var init_agentsResolve2 = __esm(() => {
|
|
53493
53867
|
init_agentsResolve();
|
|
53494
53868
|
init_resolveagentnamesagentsresolvepostop();
|
|
53495
53869
|
init_tools();
|
|
53496
|
-
|
|
53870
|
+
args6 = {
|
|
53497
53871
|
request: ResolveAgentNamesAgentsResolvePostRequest$zodSchema
|
|
53498
53872
|
};
|
|
53499
53873
|
tool$agentsResolve = {
|
|
@@ -53511,9 +53885,9 @@ of UUIDs. Does not create or modify agents.
|
|
|
53511
53885
|
openWorldHint: true,
|
|
53512
53886
|
readOnlyHint: true
|
|
53513
53887
|
},
|
|
53514
|
-
args:
|
|
53515
|
-
tool: async (client,
|
|
53516
|
-
const [result] = await agentsResolve(client,
|
|
53888
|
+
args: args6,
|
|
53889
|
+
tool: async (client, args7, ctx) => {
|
|
53890
|
+
const [result] = await agentsResolve(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53517
53891
|
if (!result.ok) {
|
|
53518
53892
|
return {
|
|
53519
53893
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53555,9 +53929,9 @@ var init_updateagentendpointagentsagentuuidputop = __esm(() => {
|
|
|
53555
53929
|
|
|
53556
53930
|
// src/funcs/agentsUpdate.ts
|
|
53557
53931
|
function agentsUpdate(client$, request, options) {
|
|
53558
|
-
return new APIPromise($
|
|
53932
|
+
return new APIPromise($do7(client$, request, options));
|
|
53559
53933
|
}
|
|
53560
|
-
async function $
|
|
53934
|
+
async function $do7(client$, request, options) {
|
|
53561
53935
|
const parsed$ = safeParse4(request, (value$) => UpdateAgentEndpointAgentsAgentUuidPutRequest$zodSchema.parse(value$), "Input validation failed");
|
|
53562
53936
|
if (!parsed$.ok) {
|
|
53563
53937
|
return [parsed$, { status: "invalid" }];
|
|
@@ -53637,12 +54011,12 @@ var init_agentsUpdate = __esm(() => {
|
|
|
53637
54011
|
});
|
|
53638
54012
|
|
|
53639
54013
|
// src/mcp-server/tools/agentsUpdate.ts
|
|
53640
|
-
var
|
|
54014
|
+
var args7, tool$agentsUpdate;
|
|
53641
54015
|
var init_agentsUpdate2 = __esm(() => {
|
|
53642
54016
|
init_agentsUpdate();
|
|
53643
54017
|
init_updateagentendpointagentsagentuuidputop();
|
|
53644
54018
|
init_tools();
|
|
53645
|
-
|
|
54019
|
+
args7 = {
|
|
53646
54020
|
request: UpdateAgentEndpointAgentsAgentUuidPutRequest$zodSchema
|
|
53647
54021
|
};
|
|
53648
54022
|
tool$agentsUpdate = {
|
|
@@ -53659,9 +54033,9 @@ Fails with 404 if the agent does not exist or belongs to another org.
|
|
|
53659
54033
|
openWorldHint: true,
|
|
53660
54034
|
readOnlyHint: false
|
|
53661
54035
|
},
|
|
53662
|
-
args:
|
|
53663
|
-
tool: async (client,
|
|
53664
|
-
const [result] = await agentsUpdate(client,
|
|
54036
|
+
args: args7,
|
|
54037
|
+
tool: async (client, args8, ctx) => {
|
|
54038
|
+
const [result] = await agentsUpdate(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53665
54039
|
if (!result.ok) {
|
|
53666
54040
|
return {
|
|
53667
54041
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53714,9 +54088,9 @@ var init_verifyagentconnectionagentsagentuuidverifyconnectionpostop = __esm(() =
|
|
|
53714
54088
|
|
|
53715
54089
|
// src/funcs/agentsVerifyConnection.ts
|
|
53716
54090
|
function agentsVerifyConnection(client$, request, options) {
|
|
53717
|
-
return new APIPromise($
|
|
54091
|
+
return new APIPromise($do8(client$, request, options));
|
|
53718
54092
|
}
|
|
53719
|
-
async function $
|
|
54093
|
+
async function $do8(client$, request, options) {
|
|
53720
54094
|
const parsed$ = safeParse4(request, (value$) => VerifyAgentConnectionAgentsAgentUuidVerifyConnectionPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
53721
54095
|
if (!parsed$.ok) {
|
|
53722
54096
|
return [parsed$, { status: "invalid" }];
|
|
@@ -53796,12 +54170,12 @@ var init_agentsVerifyConnection = __esm(() => {
|
|
|
53796
54170
|
});
|
|
53797
54171
|
|
|
53798
54172
|
// src/mcp-server/tools/agentsVerifyConnection.ts
|
|
53799
|
-
var
|
|
54173
|
+
var args8, tool$agentsVerifyConnection;
|
|
53800
54174
|
var init_agentsVerifyConnection2 = __esm(() => {
|
|
53801
54175
|
init_agentsVerifyConnection();
|
|
53802
54176
|
init_verifyagentconnectionagentsagentuuidverifyconnectionpostop();
|
|
53803
54177
|
init_tools();
|
|
53804
|
-
|
|
54178
|
+
args8 = {
|
|
53805
54179
|
request: VerifyAgentConnectionAgentsAgentUuidVerifyConnectionPostRequest$zodSchema
|
|
53806
54180
|
};
|
|
53807
54181
|
tool$agentsVerifyConnection = {
|
|
@@ -53816,9 +54190,9 @@ var init_agentsVerifyConnection2 = __esm(() => {
|
|
|
53816
54190
|
openWorldHint: true,
|
|
53817
54191
|
readOnlyHint: false
|
|
53818
54192
|
},
|
|
53819
|
-
args:
|
|
53820
|
-
tool: async (client,
|
|
53821
|
-
const [result] = await agentsVerifyConnection(client,
|
|
54193
|
+
args: args8,
|
|
54194
|
+
tool: async (client, args9, ctx) => {
|
|
54195
|
+
const [result] = await agentsVerifyConnection(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53822
54196
|
if (!result.ok) {
|
|
53823
54197
|
return {
|
|
53824
54198
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53874,9 +54248,9 @@ var init_runagentbenchmarkagenttestsagentagentuuidbenchmarkpostop = __esm(() =>
|
|
|
53874
54248
|
|
|
53875
54249
|
// src/funcs/agentTestsBenchmark.ts
|
|
53876
54250
|
function agentTestsBenchmark(client$, request, options) {
|
|
53877
|
-
return new APIPromise($
|
|
54251
|
+
return new APIPromise($do9(client$, request, options));
|
|
53878
54252
|
}
|
|
53879
|
-
async function $
|
|
54253
|
+
async function $do9(client$, request, options) {
|
|
53880
54254
|
const parsed$ = safeParse4(request, (value$) => RunAgentBenchmarkAgentTestsAgentAgentUuidBenchmarkPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
53881
54255
|
if (!parsed$.ok) {
|
|
53882
54256
|
return [parsed$, { status: "invalid" }];
|
|
@@ -53956,12 +54330,12 @@ var init_agentTestsBenchmark = __esm(() => {
|
|
|
53956
54330
|
});
|
|
53957
54331
|
|
|
53958
54332
|
// src/mcp-server/tools/agentTestsBenchmark.ts
|
|
53959
|
-
var
|
|
54333
|
+
var args9, tool$agentTestsBenchmark;
|
|
53960
54334
|
var init_agentTestsBenchmark2 = __esm(() => {
|
|
53961
54335
|
init_agentTestsBenchmark();
|
|
53962
54336
|
init_runagentbenchmarkagenttestsagentagentuuidbenchmarkpostop();
|
|
53963
54337
|
init_tools();
|
|
53964
|
-
|
|
54338
|
+
args9 = {
|
|
53965
54339
|
request: RunAgentBenchmarkAgentTestsAgentAgentUuidBenchmarkPostRequest$zodSchema
|
|
53966
54340
|
};
|
|
53967
54341
|
tool$agentTestsBenchmark = {
|
|
@@ -53976,9 +54350,9 @@ var init_agentTestsBenchmark2 = __esm(() => {
|
|
|
53976
54350
|
openWorldHint: true,
|
|
53977
54351
|
readOnlyHint: false
|
|
53978
54352
|
},
|
|
53979
|
-
args:
|
|
53980
|
-
tool: async (client,
|
|
53981
|
-
const [result] = await agentTestsBenchmark(client,
|
|
54353
|
+
args: args9,
|
|
54354
|
+
tool: async (client, args10, ctx) => {
|
|
54355
|
+
const [result] = await agentTestsBenchmark(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53982
54356
|
if (!result.ok) {
|
|
53983
54357
|
return {
|
|
53984
54358
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54137,9 +54511,9 @@ var init_getbenchmarkstatusagenttestsbenchmarktaskidgetop = __esm(() => {
|
|
|
54137
54511
|
|
|
54138
54512
|
// src/funcs/agentTestsGetBenchmark.ts
|
|
54139
54513
|
function agentTestsGetBenchmark(client$, request, options) {
|
|
54140
|
-
return new APIPromise($
|
|
54514
|
+
return new APIPromise($do10(client$, request, options));
|
|
54141
54515
|
}
|
|
54142
|
-
async function $
|
|
54516
|
+
async function $do10(client$, request, options) {
|
|
54143
54517
|
const parsed$ = safeParse4(request, (value$) => GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
54144
54518
|
if (!parsed$.ok) {
|
|
54145
54519
|
return [parsed$, { status: "invalid" }];
|
|
@@ -54223,12 +54597,12 @@ var init_agentTestsGetBenchmark = __esm(() => {
|
|
|
54223
54597
|
});
|
|
54224
54598
|
|
|
54225
54599
|
// src/mcp-server/tools/agentTestsGetBenchmark.ts
|
|
54226
|
-
var
|
|
54600
|
+
var args10, tool$agentTestsGetBenchmark;
|
|
54227
54601
|
var init_agentTestsGetBenchmark2 = __esm(() => {
|
|
54228
54602
|
init_agentTestsGetBenchmark();
|
|
54229
54603
|
init_getbenchmarkstatusagenttestsbenchmarktaskidgetop();
|
|
54230
54604
|
init_tools();
|
|
54231
|
-
|
|
54605
|
+
args10 = {
|
|
54232
54606
|
request: GetBenchmarkStatusAgentTestsBenchmarkTaskIdGetRequest$zodSchema
|
|
54233
54607
|
};
|
|
54234
54608
|
tool$agentTestsGetBenchmark = {
|
|
@@ -54243,9 +54617,9 @@ var init_agentTestsGetBenchmark2 = __esm(() => {
|
|
|
54243
54617
|
openWorldHint: true,
|
|
54244
54618
|
readOnlyHint: true
|
|
54245
54619
|
},
|
|
54246
|
-
args:
|
|
54247
|
-
tool: async (client,
|
|
54248
|
-
const [result] = await agentTestsGetBenchmark(client,
|
|
54620
|
+
args: args10,
|
|
54621
|
+
tool: async (client, args11, ctx) => {
|
|
54622
|
+
const [result] = await agentTestsGetBenchmark(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54249
54623
|
if (!result.ok) {
|
|
54250
54624
|
return {
|
|
54251
54625
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54301,9 +54675,9 @@ var init_getagenttestrunstatusagenttestsruntaskidgetop = __esm(() => {
|
|
|
54301
54675
|
|
|
54302
54676
|
// src/funcs/agentTestsGetRun.ts
|
|
54303
54677
|
function agentTestsGetRun(client$, request, options) {
|
|
54304
|
-
return new APIPromise($
|
|
54678
|
+
return new APIPromise($do11(client$, request, options));
|
|
54305
54679
|
}
|
|
54306
|
-
async function $
|
|
54680
|
+
async function $do11(client$, request, options) {
|
|
54307
54681
|
const parsed$ = safeParse4(request, (value$) => GetAgentTestRunStatusAgentTestsRunTaskIdGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
54308
54682
|
if (!parsed$.ok) {
|
|
54309
54683
|
return [parsed$, { status: "invalid" }];
|
|
@@ -54387,12 +54761,12 @@ var init_agentTestsGetRun = __esm(() => {
|
|
|
54387
54761
|
});
|
|
54388
54762
|
|
|
54389
54763
|
// src/mcp-server/tools/agentTestsGetRun.ts
|
|
54390
|
-
var
|
|
54764
|
+
var args11, tool$agentTestsGetRun;
|
|
54391
54765
|
var init_agentTestsGetRun2 = __esm(() => {
|
|
54392
54766
|
init_agentTestsGetRun();
|
|
54393
54767
|
init_getagenttestrunstatusagenttestsruntaskidgetop();
|
|
54394
54768
|
init_tools();
|
|
54395
|
-
|
|
54769
|
+
args11 = {
|
|
54396
54770
|
request: GetAgentTestRunStatusAgentTestsRunTaskIdGetRequest$zodSchema
|
|
54397
54771
|
};
|
|
54398
54772
|
tool$agentTestsGetRun = {
|
|
@@ -54411,9 +54785,9 @@ run-agent-tests-batch.
|
|
|
54411
54785
|
openWorldHint: true,
|
|
54412
54786
|
readOnlyHint: true
|
|
54413
54787
|
},
|
|
54414
|
-
args:
|
|
54415
|
-
tool: async (client,
|
|
54416
|
-
const [result] = await agentTestsGetRun(client,
|
|
54788
|
+
args: args11,
|
|
54789
|
+
tool: async (client, args12, ctx) => {
|
|
54790
|
+
const [result] = await agentTestsGetRun(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54417
54791
|
if (!result.ok) {
|
|
54418
54792
|
return {
|
|
54419
54793
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54463,9 +54837,9 @@ var init_createagenttestlinksagenttestspostop = __esm(() => {
|
|
|
54463
54837
|
|
|
54464
54838
|
// src/funcs/agentTestsLink.ts
|
|
54465
54839
|
function agentTestsLink(client$, request, options) {
|
|
54466
|
-
return new APIPromise($
|
|
54840
|
+
return new APIPromise($do12(client$, request, options));
|
|
54467
54841
|
}
|
|
54468
|
-
async function $
|
|
54842
|
+
async function $do12(client$, request, options) {
|
|
54469
54843
|
const parsed$ = safeParse4(request, (value$) => CreateAgentTestLinksAgentTestsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
54470
54844
|
if (!parsed$.ok) {
|
|
54471
54845
|
return [parsed$, { status: "invalid" }];
|
|
@@ -54539,12 +54913,12 @@ var init_agentTestsLink = __esm(() => {
|
|
|
54539
54913
|
});
|
|
54540
54914
|
|
|
54541
54915
|
// src/mcp-server/tools/agentTestsLink.ts
|
|
54542
|
-
var
|
|
54916
|
+
var args12, tool$agentTestsLink;
|
|
54543
54917
|
var init_agentTestsLink2 = __esm(() => {
|
|
54544
54918
|
init_agentTestsLink();
|
|
54545
54919
|
init_createagenttestlinksagenttestspostop();
|
|
54546
54920
|
init_tools();
|
|
54547
|
-
|
|
54921
|
+
args12 = {
|
|
54548
54922
|
request: CreateAgentTestLinksAgentTestsPostRequest$zodSchema
|
|
54549
54923
|
};
|
|
54550
54924
|
tool$agentTestsLink = {
|
|
@@ -54559,9 +54933,9 @@ var init_agentTestsLink2 = __esm(() => {
|
|
|
54559
54933
|
openWorldHint: true,
|
|
54560
54934
|
readOnlyHint: false
|
|
54561
54935
|
},
|
|
54562
|
-
args:
|
|
54563
|
-
tool: async (client,
|
|
54564
|
-
const [result] = await agentTestsLink(client,
|
|
54936
|
+
args: args12,
|
|
54937
|
+
tool: async (client, args13, ctx) => {
|
|
54938
|
+
const [result] = await agentTestsLink(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54565
54939
|
if (!result.ok) {
|
|
54566
54940
|
return {
|
|
54567
54941
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54636,9 +55010,9 @@ var init_getagenttestsendpointagenttestsagentagentuuidtestsgetop = __esm(() => {
|
|
|
54636
55010
|
|
|
54637
55011
|
// src/funcs/agentTestsListForAgent.ts
|
|
54638
55012
|
function agentTestsListForAgent(client$, request, options) {
|
|
54639
|
-
return new APIPromise($
|
|
55013
|
+
return new APIPromise($do13(client$, request, options));
|
|
54640
55014
|
}
|
|
54641
|
-
async function $
|
|
55015
|
+
async function $do13(client$, request, options) {
|
|
54642
55016
|
const parsed$ = safeParse4(request, (value$) => GetAgentTestsEndpointAgentTestsAgentAgentUuidTestsGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
54643
55017
|
if (!parsed$.ok) {
|
|
54644
55018
|
return [parsed$, { status: "invalid" }];
|
|
@@ -54723,12 +55097,12 @@ var init_agentTestsListForAgent = __esm(() => {
|
|
|
54723
55097
|
});
|
|
54724
55098
|
|
|
54725
55099
|
// src/mcp-server/tools/agentTestsListForAgent.ts
|
|
54726
|
-
var
|
|
55100
|
+
var args13, tool$agentTestsListForAgent;
|
|
54727
55101
|
var init_agentTestsListForAgent2 = __esm(() => {
|
|
54728
55102
|
init_agentTestsListForAgent();
|
|
54729
55103
|
init_getagenttestsendpointagenttestsagentagentuuidtestsgetop();
|
|
54730
55104
|
init_tools();
|
|
54731
|
-
|
|
55105
|
+
args13 = {
|
|
54732
55106
|
request: GetAgentTestsEndpointAgentTestsAgentAgentUuidTestsGetRequest$zodSchema
|
|
54733
55107
|
};
|
|
54734
55108
|
tool$agentTestsListForAgent = {
|
|
@@ -54743,9 +55117,9 @@ var init_agentTestsListForAgent2 = __esm(() => {
|
|
|
54743
55117
|
openWorldHint: true,
|
|
54744
55118
|
readOnlyHint: true
|
|
54745
55119
|
},
|
|
54746
|
-
args:
|
|
54747
|
-
tool: async (client,
|
|
54748
|
-
const [result] = await agentTestsListForAgent(client,
|
|
55120
|
+
args: args13,
|
|
55121
|
+
tool: async (client, args14, ctx) => {
|
|
55122
|
+
const [result] = await agentTestsListForAgent(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54749
55123
|
if (!result.ok) {
|
|
54750
55124
|
return {
|
|
54751
55125
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54857,9 +55231,9 @@ var init_getagenttestrunsagenttestsagentagentuuidrunsgetop = __esm(() => {
|
|
|
54857
55231
|
|
|
54858
55232
|
// src/funcs/agentTestsListRunsForAgent.ts
|
|
54859
55233
|
function agentTestsListRunsForAgent(client$, request, options) {
|
|
54860
|
-
return new APIPromise($
|
|
55234
|
+
return new APIPromise($do14(client$, request, options));
|
|
54861
55235
|
}
|
|
54862
|
-
async function $
|
|
55236
|
+
async function $do14(client$, request, options) {
|
|
54863
55237
|
const parsed$ = safeParse4(request, (value$) => GetAgentTestRunsAgentTestsAgentAgentUuidRunsGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
54864
55238
|
if (!parsed$.ok) {
|
|
54865
55239
|
return [parsed$, { status: "invalid" }];
|
|
@@ -54946,12 +55320,12 @@ var init_agentTestsListRunsForAgent = __esm(() => {
|
|
|
54946
55320
|
});
|
|
54947
55321
|
|
|
54948
55322
|
// src/mcp-server/tools/agentTestsListRunsForAgent.ts
|
|
54949
|
-
var
|
|
55323
|
+
var args14, tool$agentTestsListRunsForAgent;
|
|
54950
55324
|
var init_agentTestsListRunsForAgent2 = __esm(() => {
|
|
54951
55325
|
init_agentTestsListRunsForAgent();
|
|
54952
55326
|
init_getagenttestrunsagenttestsagentagentuuidrunsgetop();
|
|
54953
55327
|
init_tools();
|
|
54954
|
-
|
|
55328
|
+
args14 = {
|
|
54955
55329
|
request: GetAgentTestRunsAgentTestsAgentAgentUuidRunsGetRequest$zodSchema
|
|
54956
55330
|
};
|
|
54957
55331
|
tool$agentTestsListRunsForAgent = {
|
|
@@ -54966,9 +55340,9 @@ var init_agentTestsListRunsForAgent2 = __esm(() => {
|
|
|
54966
55340
|
openWorldHint: true,
|
|
54967
55341
|
readOnlyHint: true
|
|
54968
55342
|
},
|
|
54969
|
-
args:
|
|
54970
|
-
tool: async (client,
|
|
54971
|
-
const [result] = await agentTestsListRunsForAgent(client,
|
|
55343
|
+
args: args14,
|
|
55344
|
+
tool: async (client, args15, ctx) => {
|
|
55345
|
+
const [result] = await agentTestsListRunsForAgent(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54972
55346
|
if (!result.ok) {
|
|
54973
55347
|
return {
|
|
54974
55348
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55009,9 +55383,9 @@ var init_runagenttestagenttestsagentagentuuidrunpostop = __esm(() => {
|
|
|
55009
55383
|
|
|
55010
55384
|
// src/funcs/agentTestsRun.ts
|
|
55011
55385
|
function agentTestsRun(client$, request, options) {
|
|
55012
|
-
return new APIPromise($
|
|
55386
|
+
return new APIPromise($do15(client$, request, options));
|
|
55013
55387
|
}
|
|
55014
|
-
async function $
|
|
55388
|
+
async function $do15(client$, request, options) {
|
|
55015
55389
|
const parsed$ = safeParse4(request, (value$) => RunAgentTestAgentTestsAgentAgentUuidRunPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
55016
55390
|
if (!parsed$.ok) {
|
|
55017
55391
|
return [parsed$, { status: "invalid" }];
|
|
@@ -55091,12 +55465,12 @@ var init_agentTestsRun = __esm(() => {
|
|
|
55091
55465
|
});
|
|
55092
55466
|
|
|
55093
55467
|
// src/mcp-server/tools/agentTestsRun.ts
|
|
55094
|
-
var
|
|
55468
|
+
var args15, tool$agentTestsRun;
|
|
55095
55469
|
var init_agentTestsRun2 = __esm(() => {
|
|
55096
55470
|
init_agentTestsRun();
|
|
55097
55471
|
init_runagenttestagenttestsagentagentuuidrunpostop();
|
|
55098
55472
|
init_tools();
|
|
55099
|
-
|
|
55473
|
+
args15 = {
|
|
55100
55474
|
request: RunAgentTestAgentTestsAgentAgentUuidRunPostRequest$zodSchema
|
|
55101
55475
|
};
|
|
55102
55476
|
tool$agentTestsRun = {
|
|
@@ -55115,9 +55489,9 @@ or 404.
|
|
|
55115
55489
|
openWorldHint: true,
|
|
55116
55490
|
readOnlyHint: false
|
|
55117
55491
|
},
|
|
55118
|
-
args:
|
|
55119
|
-
tool: async (client,
|
|
55120
|
-
const [result] = await agentTestsRun(client,
|
|
55492
|
+
args: args15,
|
|
55493
|
+
tool: async (client, args16, ctx) => {
|
|
55494
|
+
const [result] = await agentTestsRun(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55121
55495
|
if (!result.ok) {
|
|
55122
55496
|
return {
|
|
55123
55497
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55200,9 +55574,9 @@ var init_runtestsbatchagenttestsrunpostop = __esm(() => {
|
|
|
55200
55574
|
|
|
55201
55575
|
// src/funcs/agentTestsRunBatch.ts
|
|
55202
55576
|
function agentTestsRunBatch(client$, request, options) {
|
|
55203
|
-
return new APIPromise($
|
|
55577
|
+
return new APIPromise($do16(client$, request, options));
|
|
55204
55578
|
}
|
|
55205
|
-
async function $
|
|
55579
|
+
async function $do16(client$, request, options) {
|
|
55206
55580
|
const parsed$ = safeParse4(request, (value$) => RunTestsBatchAgentTestsRunPostRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
55207
55581
|
if (!parsed$.ok) {
|
|
55208
55582
|
return [parsed$, { status: "invalid" }];
|
|
@@ -55276,12 +55650,12 @@ var init_agentTestsRunBatch = __esm(() => {
|
|
|
55276
55650
|
});
|
|
55277
55651
|
|
|
55278
55652
|
// src/mcp-server/tools/agentTestsRunBatch.ts
|
|
55279
|
-
var
|
|
55653
|
+
var args16, tool$agentTestsRunBatch;
|
|
55280
55654
|
var init_agentTestsRunBatch2 = __esm(() => {
|
|
55281
55655
|
init_agentTestsRunBatch();
|
|
55282
55656
|
init_runtestsbatchagenttestsrunpostop();
|
|
55283
55657
|
init_tools();
|
|
55284
|
-
|
|
55658
|
+
args16 = {
|
|
55285
55659
|
request: RunTestsBatchAgentTestsRunPostRequest$zodSchema.optional()
|
|
55286
55660
|
};
|
|
55287
55661
|
tool$agentTestsRunBatch = {
|
|
@@ -55300,9 +55674,9 @@ task_id values to poll with get-agent-test-run.
|
|
|
55300
55674
|
openWorldHint: true,
|
|
55301
55675
|
readOnlyHint: false
|
|
55302
55676
|
},
|
|
55303
|
-
args:
|
|
55304
|
-
tool: async (client,
|
|
55305
|
-
const [result] = await agentTestsRunBatch(client,
|
|
55677
|
+
args: args16,
|
|
55678
|
+
tool: async (client, args17, ctx) => {
|
|
55679
|
+
const [result] = await agentTestsRunBatch(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55306
55680
|
if (!result.ok) {
|
|
55307
55681
|
return {
|
|
55308
55682
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55368,9 +55742,9 @@ var init_bulkcreateitemsannotationtaskstaskuuiditemspostop = __esm(() => {
|
|
|
55368
55742
|
|
|
55369
55743
|
// src/funcs/annotationTasksAddItems.ts
|
|
55370
55744
|
function annotationTasksAddItems(client$, request, options) {
|
|
55371
|
-
return new APIPromise($
|
|
55745
|
+
return new APIPromise($do17(client$, request, options));
|
|
55372
55746
|
}
|
|
55373
|
-
async function $
|
|
55747
|
+
async function $do17(client$, request, options) {
|
|
55374
55748
|
const parsed$ = safeParse4(request, (value$) => BulkCreateItemsAnnotationTasksTaskUuidItemsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
55375
55749
|
if (!parsed$.ok) {
|
|
55376
55750
|
return [parsed$, { status: "invalid" }];
|
|
@@ -55450,12 +55824,12 @@ var init_annotationTasksAddItems = __esm(() => {
|
|
|
55450
55824
|
});
|
|
55451
55825
|
|
|
55452
55826
|
// src/mcp-server/tools/annotationTasksAddItems.ts
|
|
55453
|
-
var
|
|
55827
|
+
var args17, tool$annotationTasksAddItems;
|
|
55454
55828
|
var init_annotationTasksAddItems2 = __esm(() => {
|
|
55455
55829
|
init_annotationTasksAddItems();
|
|
55456
55830
|
init_bulkcreateitemsannotationtaskstaskuuiditemspostop();
|
|
55457
55831
|
init_tools();
|
|
55458
|
-
|
|
55832
|
+
args17 = {
|
|
55459
55833
|
request: BulkCreateItemsAnnotationTasksTaskUuidItemsPostRequest$zodSchema
|
|
55460
55834
|
};
|
|
55461
55835
|
tool$annotationTasksAddItems = {
|
|
@@ -55470,9 +55844,9 @@ var init_annotationTasksAddItems2 = __esm(() => {
|
|
|
55470
55844
|
openWorldHint: true,
|
|
55471
55845
|
readOnlyHint: false
|
|
55472
55846
|
},
|
|
55473
|
-
args:
|
|
55474
|
-
tool: async (client,
|
|
55475
|
-
const [result] = await annotationTasksAddItems(client,
|
|
55847
|
+
args: args17,
|
|
55848
|
+
tool: async (client, args18, ctx) => {
|
|
55849
|
+
const [result] = await annotationTasksAddItems(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55476
55850
|
if (!result.ok) {
|
|
55477
55851
|
return {
|
|
55478
55852
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55531,9 +55905,9 @@ var init_createannotationtaskendpointannotationtaskspostop = __esm(() => {
|
|
|
55531
55905
|
|
|
55532
55906
|
// src/funcs/annotationTasksCreate.ts
|
|
55533
55907
|
function annotationTasksCreate(client$, request, options) {
|
|
55534
|
-
return new APIPromise($
|
|
55908
|
+
return new APIPromise($do18(client$, request, options));
|
|
55535
55909
|
}
|
|
55536
|
-
async function $
|
|
55910
|
+
async function $do18(client$, request, options) {
|
|
55537
55911
|
const parsed$ = safeParse4(request, (value$) => CreateAnnotationTaskEndpointAnnotationTasksPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
55538
55912
|
if (!parsed$.ok) {
|
|
55539
55913
|
return [parsed$, { status: "invalid" }];
|
|
@@ -55607,12 +55981,12 @@ var init_annotationTasksCreate = __esm(() => {
|
|
|
55607
55981
|
});
|
|
55608
55982
|
|
|
55609
55983
|
// src/mcp-server/tools/annotationTasksCreate.ts
|
|
55610
|
-
var
|
|
55984
|
+
var args18, tool$annotationTasksCreate;
|
|
55611
55985
|
var init_annotationTasksCreate2 = __esm(() => {
|
|
55612
55986
|
init_annotationTasksCreate();
|
|
55613
55987
|
init_createannotationtaskendpointannotationtaskspostop();
|
|
55614
55988
|
init_tools();
|
|
55615
|
-
|
|
55989
|
+
args18 = {
|
|
55616
55990
|
request: CreateAnnotationTaskEndpointAnnotationTasksPostRequest$zodSchema
|
|
55617
55991
|
};
|
|
55618
55992
|
tool$annotationTasksCreate = {
|
|
@@ -55627,9 +56001,9 @@ var init_annotationTasksCreate2 = __esm(() => {
|
|
|
55627
56001
|
openWorldHint: true,
|
|
55628
56002
|
readOnlyHint: false
|
|
55629
56003
|
},
|
|
55630
|
-
args:
|
|
55631
|
-
tool: async (client,
|
|
55632
|
-
const [result] = await annotationTasksCreate(client,
|
|
56004
|
+
args: args18,
|
|
56005
|
+
tool: async (client, args19, ctx) => {
|
|
56006
|
+
const [result] = await annotationTasksCreate(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55633
56007
|
if (!result.ok) {
|
|
55634
56008
|
return {
|
|
55635
56009
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55700,9 +56074,9 @@ var init_startevaluatorrunannotationtaskstaskuuidevaluatorrunspostop = __esm(()
|
|
|
55700
56074
|
|
|
55701
56075
|
// src/funcs/annotationTasksCreateEvaluatorRun.ts
|
|
55702
56076
|
function annotationTasksCreateEvaluatorRun(client$, request, options) {
|
|
55703
|
-
return new APIPromise($
|
|
56077
|
+
return new APIPromise($do19(client$, request, options));
|
|
55704
56078
|
}
|
|
55705
|
-
async function $
|
|
56079
|
+
async function $do19(client$, request, options) {
|
|
55706
56080
|
const parsed$ = safeParse4(request, (value$) => StartEvaluatorRunAnnotationTasksTaskUuidEvaluatorRunsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
55707
56081
|
if (!parsed$.ok) {
|
|
55708
56082
|
return [parsed$, { status: "invalid" }];
|
|
@@ -55782,12 +56156,12 @@ var init_annotationTasksCreateEvaluatorRun = __esm(() => {
|
|
|
55782
56156
|
});
|
|
55783
56157
|
|
|
55784
56158
|
// src/mcp-server/tools/annotationTasksCreateEvaluatorRun.ts
|
|
55785
|
-
var
|
|
56159
|
+
var args19, tool$annotationTasksCreateEvaluatorRun;
|
|
55786
56160
|
var init_annotationTasksCreateEvaluatorRun2 = __esm(() => {
|
|
55787
56161
|
init_annotationTasksCreateEvaluatorRun();
|
|
55788
56162
|
init_startevaluatorrunannotationtaskstaskuuidevaluatorrunspostop();
|
|
55789
56163
|
init_tools();
|
|
55790
|
-
|
|
56164
|
+
args19 = {
|
|
55791
56165
|
request: StartEvaluatorRunAnnotationTasksTaskUuidEvaluatorRunsPostRequest$zodSchema
|
|
55792
56166
|
};
|
|
55793
56167
|
tool$annotationTasksCreateEvaluatorRun = {
|
|
@@ -55802,9 +56176,9 @@ var init_annotationTasksCreateEvaluatorRun2 = __esm(() => {
|
|
|
55802
56176
|
openWorldHint: true,
|
|
55803
56177
|
readOnlyHint: false
|
|
55804
56178
|
},
|
|
55805
|
-
args:
|
|
55806
|
-
tool: async (client,
|
|
55807
|
-
const [result] = await annotationTasksCreateEvaluatorRun(client,
|
|
56179
|
+
args: args19,
|
|
56180
|
+
tool: async (client, args20, ctx) => {
|
|
56181
|
+
const [result] = await annotationTasksCreateEvaluatorRun(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55808
56182
|
if (!result.ok) {
|
|
55809
56183
|
return {
|
|
55810
56184
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55858,9 +56232,9 @@ var init_getannotationtaskendpointannotationtaskstaskuuidgetop = __esm(() => {
|
|
|
55858
56232
|
|
|
55859
56233
|
// src/funcs/annotationTasksGet.ts
|
|
55860
56234
|
function annotationTasksGet(client$, request, options) {
|
|
55861
|
-
return new APIPromise($
|
|
56235
|
+
return new APIPromise($do20(client$, request, options));
|
|
55862
56236
|
}
|
|
55863
|
-
async function $
|
|
56237
|
+
async function $do20(client$, request, options) {
|
|
55864
56238
|
const parsed$ = safeParse4(request, (value$) => GetAnnotationTaskEndpointAnnotationTasksTaskUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
55865
56239
|
if (!parsed$.ok) {
|
|
55866
56240
|
return [parsed$, { status: "invalid" }];
|
|
@@ -55939,12 +56313,12 @@ var init_annotationTasksGet = __esm(() => {
|
|
|
55939
56313
|
});
|
|
55940
56314
|
|
|
55941
56315
|
// src/mcp-server/tools/annotationTasksGet.ts
|
|
55942
|
-
var
|
|
56316
|
+
var args20, tool$annotationTasksGet;
|
|
55943
56317
|
var init_annotationTasksGet2 = __esm(() => {
|
|
55944
56318
|
init_annotationTasksGet();
|
|
55945
56319
|
init_getannotationtaskendpointannotationtaskstaskuuidgetop();
|
|
55946
56320
|
init_tools();
|
|
55947
|
-
|
|
56321
|
+
args20 = {
|
|
55948
56322
|
request: GetAnnotationTaskEndpointAnnotationTasksTaskUuidGetRequest$zodSchema
|
|
55949
56323
|
};
|
|
55950
56324
|
tool$annotationTasksGet = {
|
|
@@ -55959,9 +56333,9 @@ var init_annotationTasksGet2 = __esm(() => {
|
|
|
55959
56333
|
openWorldHint: true,
|
|
55960
56334
|
readOnlyHint: true
|
|
55961
56335
|
},
|
|
55962
|
-
args:
|
|
55963
|
-
tool: async (client,
|
|
55964
|
-
const [result] = await annotationTasksGet(client,
|
|
56336
|
+
args: args20,
|
|
56337
|
+
tool: async (client, args21, ctx) => {
|
|
56338
|
+
const [result] = await annotationTasksGet(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55965
56339
|
if (!result.ok) {
|
|
55966
56340
|
return {
|
|
55967
56341
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56051,9 +56425,9 @@ var init_taskagreementannotationtaskstaskuuidagreementgetop = __esm(() => {
|
|
|
56051
56425
|
|
|
56052
56426
|
// src/funcs/annotationTasksGetAgreement.ts
|
|
56053
56427
|
function annotationTasksGetAgreement(client$, request, options) {
|
|
56054
|
-
return new APIPromise($
|
|
56428
|
+
return new APIPromise($do21(client$, request, options));
|
|
56055
56429
|
}
|
|
56056
|
-
async function $
|
|
56430
|
+
async function $do21(client$, request, options) {
|
|
56057
56431
|
const parsed$ = safeParse4(request, (value$) => TaskAgreementAnnotationTasksTaskUuidAgreementGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56058
56432
|
if (!parsed$.ok) {
|
|
56059
56433
|
return [parsed$, { status: "invalid" }];
|
|
@@ -56137,12 +56511,12 @@ var init_annotationTasksGetAgreement = __esm(() => {
|
|
|
56137
56511
|
});
|
|
56138
56512
|
|
|
56139
56513
|
// src/mcp-server/tools/annotationTasksGetAgreement.ts
|
|
56140
|
-
var
|
|
56514
|
+
var args21, tool$annotationTasksGetAgreement;
|
|
56141
56515
|
var init_annotationTasksGetAgreement2 = __esm(() => {
|
|
56142
56516
|
init_annotationTasksGetAgreement();
|
|
56143
56517
|
init_taskagreementannotationtaskstaskuuidagreementgetop();
|
|
56144
56518
|
init_tools();
|
|
56145
|
-
|
|
56519
|
+
args21 = {
|
|
56146
56520
|
request: TaskAgreementAnnotationTasksTaskUuidAgreementGetRequest$zodSchema
|
|
56147
56521
|
};
|
|
56148
56522
|
tool$annotationTasksGetAgreement = {
|
|
@@ -56157,9 +56531,9 @@ var init_annotationTasksGetAgreement2 = __esm(() => {
|
|
|
56157
56531
|
openWorldHint: true,
|
|
56158
56532
|
readOnlyHint: true
|
|
56159
56533
|
},
|
|
56160
|
-
args:
|
|
56161
|
-
tool: async (client,
|
|
56162
|
-
const [result] = await annotationTasksGetAgreement(client,
|
|
56534
|
+
args: args21,
|
|
56535
|
+
tool: async (client, args22, ctx) => {
|
|
56536
|
+
const [result] = await annotationTasksGetAgreement(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56163
56537
|
if (!result.ok) {
|
|
56164
56538
|
return {
|
|
56165
56539
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56236,9 +56610,9 @@ var init_getevaluatorrunjobannotationtaskstaskuuidevaluatorrunsjobuuidgetop = __
|
|
|
56236
56610
|
|
|
56237
56611
|
// src/funcs/annotationTasksGetEvaluatorRun.ts
|
|
56238
56612
|
function annotationTasksGetEvaluatorRun(client$, request, options) {
|
|
56239
|
-
return new APIPromise($
|
|
56613
|
+
return new APIPromise($do22(client$, request, options));
|
|
56240
56614
|
}
|
|
56241
|
-
async function $
|
|
56615
|
+
async function $do22(client$, request, options) {
|
|
56242
56616
|
const parsed$ = safeParse4(request, (value$) => GetEvaluatorRunJobAnnotationTasksTaskUuidEvaluatorRunsJobUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56243
56617
|
if (!parsed$.ok) {
|
|
56244
56618
|
return [parsed$, { status: "invalid" }];
|
|
@@ -56321,12 +56695,12 @@ var init_annotationTasksGetEvaluatorRun = __esm(() => {
|
|
|
56321
56695
|
});
|
|
56322
56696
|
|
|
56323
56697
|
// src/mcp-server/tools/annotationTasksGetEvaluatorRun.ts
|
|
56324
|
-
var
|
|
56698
|
+
var args22, tool$annotationTasksGetEvaluatorRun;
|
|
56325
56699
|
var init_annotationTasksGetEvaluatorRun2 = __esm(() => {
|
|
56326
56700
|
init_annotationTasksGetEvaluatorRun();
|
|
56327
56701
|
init_getevaluatorrunjobannotationtaskstaskuuidevaluatorrunsjobuuidgetop();
|
|
56328
56702
|
init_tools();
|
|
56329
|
-
|
|
56703
|
+
args22 = {
|
|
56330
56704
|
request: GetEvaluatorRunJobAnnotationTasksTaskUuidEvaluatorRunsJobUuidGetRequest$zodSchema
|
|
56331
56705
|
};
|
|
56332
56706
|
tool$annotationTasksGetEvaluatorRun = {
|
|
@@ -56341,9 +56715,9 @@ var init_annotationTasksGetEvaluatorRun2 = __esm(() => {
|
|
|
56341
56715
|
openWorldHint: true,
|
|
56342
56716
|
readOnlyHint: true
|
|
56343
56717
|
},
|
|
56344
|
-
args:
|
|
56345
|
-
tool: async (client,
|
|
56346
|
-
const [result] = await annotationTasksGetEvaluatorRun(client,
|
|
56718
|
+
args: args22,
|
|
56719
|
+
tool: async (client, args23, ctx) => {
|
|
56720
|
+
const [result] = await annotationTasksGetEvaluatorRun(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56347
56721
|
if (!result.ok) {
|
|
56348
56722
|
return {
|
|
56349
56723
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56436,9 +56810,9 @@ var init_tasksummaryannotationtaskstaskuuidsummarygetop = __esm(() => {
|
|
|
56436
56810
|
|
|
56437
56811
|
// src/funcs/annotationTasksGetSummary.ts
|
|
56438
56812
|
function annotationTasksGetSummary(client$, request, options) {
|
|
56439
|
-
return new APIPromise($
|
|
56813
|
+
return new APIPromise($do23(client$, request, options));
|
|
56440
56814
|
}
|
|
56441
|
-
async function $
|
|
56815
|
+
async function $do23(client$, request, options) {
|
|
56442
56816
|
const parsed$ = safeParse4(request, (value$) => TaskSummaryAnnotationTasksTaskUuidSummaryGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56443
56817
|
if (!parsed$.ok) {
|
|
56444
56818
|
return [parsed$, { status: "invalid" }];
|
|
@@ -56529,12 +56903,12 @@ var init_annotationTasksGetSummary = __esm(() => {
|
|
|
56529
56903
|
});
|
|
56530
56904
|
|
|
56531
56905
|
// src/mcp-server/tools/annotationTasksGetSummary.ts
|
|
56532
|
-
var
|
|
56906
|
+
var args23, tool$annotationTasksGetSummary;
|
|
56533
56907
|
var init_annotationTasksGetSummary2 = __esm(() => {
|
|
56534
56908
|
init_annotationTasksGetSummary();
|
|
56535
56909
|
init_tasksummaryannotationtaskstaskuuidsummarygetop();
|
|
56536
56910
|
init_tools();
|
|
56537
|
-
|
|
56911
|
+
args23 = {
|
|
56538
56912
|
request: TaskSummaryAnnotationTasksTaskUuidSummaryGetRequest$zodSchema
|
|
56539
56913
|
};
|
|
56540
56914
|
tool$annotationTasksGetSummary = {
|
|
@@ -56549,9 +56923,9 @@ var init_annotationTasksGetSummary2 = __esm(() => {
|
|
|
56549
56923
|
openWorldHint: true,
|
|
56550
56924
|
readOnlyHint: true
|
|
56551
56925
|
},
|
|
56552
|
-
args:
|
|
56553
|
-
tool: async (client,
|
|
56554
|
-
const [result] = await annotationTasksGetSummary(client,
|
|
56926
|
+
args: args23,
|
|
56927
|
+
tool: async (client, args24, ctx) => {
|
|
56928
|
+
const [result] = await annotationTasksGetSummary(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56555
56929
|
if (!result.ok) {
|
|
56556
56930
|
return {
|
|
56557
56931
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56596,9 +56970,9 @@ var init_listannotationtasksannotationtasksgetop = __esm(() => {
|
|
|
56596
56970
|
|
|
56597
56971
|
// src/funcs/annotationTasksList.ts
|
|
56598
56972
|
function annotationTasksList(client$, request, options) {
|
|
56599
|
-
return new APIPromise($
|
|
56973
|
+
return new APIPromise($do24(client$, request, options));
|
|
56600
56974
|
}
|
|
56601
|
-
async function $
|
|
56975
|
+
async function $do24(client$, request, options) {
|
|
56602
56976
|
const parsed$ = safeParse4(request, (value$) => ListAnnotationTasksAnnotationTasksGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
56603
56977
|
if (!parsed$.ok) {
|
|
56604
56978
|
return [parsed$, { status: "invalid" }];
|
|
@@ -56677,12 +57051,12 @@ var init_annotationTasksList = __esm(() => {
|
|
|
56677
57051
|
});
|
|
56678
57052
|
|
|
56679
57053
|
// src/mcp-server/tools/annotationTasksList.ts
|
|
56680
|
-
var
|
|
57054
|
+
var args24, tool$annotationTasksList;
|
|
56681
57055
|
var init_annotationTasksList2 = __esm(() => {
|
|
56682
57056
|
init_annotationTasksList();
|
|
56683
57057
|
init_listannotationtasksannotationtasksgetop();
|
|
56684
57058
|
init_tools();
|
|
56685
|
-
|
|
57059
|
+
args24 = {
|
|
56686
57060
|
request: ListAnnotationTasksAnnotationTasksGetRequest$zodSchema.optional()
|
|
56687
57061
|
};
|
|
56688
57062
|
tool$annotationTasksList = {
|
|
@@ -56697,9 +57071,9 @@ var init_annotationTasksList2 = __esm(() => {
|
|
|
56697
57071
|
openWorldHint: true,
|
|
56698
57072
|
readOnlyHint: true
|
|
56699
57073
|
},
|
|
56700
|
-
args:
|
|
56701
|
-
tool: async (client,
|
|
56702
|
-
const [result] = await annotationTasksList(client,
|
|
57074
|
+
args: args24,
|
|
57075
|
+
tool: async (client, args25, ctx) => {
|
|
57076
|
+
const [result] = await annotationTasksList(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56703
57077
|
if (!result.ok) {
|
|
56704
57078
|
return {
|
|
56705
57079
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56752,9 +57126,9 @@ var init_settaskevaluatorsannotationtaskstaskuuidevaluatorsputop = __esm(() => {
|
|
|
56752
57126
|
|
|
56753
57127
|
// src/funcs/annotationTasksSetEvaluators.ts
|
|
56754
57128
|
function annotationTasksSetEvaluators(client$, request, options) {
|
|
56755
|
-
return new APIPromise($
|
|
57129
|
+
return new APIPromise($do25(client$, request, options));
|
|
56756
57130
|
}
|
|
56757
|
-
async function $
|
|
57131
|
+
async function $do25(client$, request, options) {
|
|
56758
57132
|
const parsed$ = safeParse4(request, (value$) => SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56759
57133
|
if (!parsed$.ok) {
|
|
56760
57134
|
return [parsed$, { status: "invalid" }];
|
|
@@ -56834,12 +57208,12 @@ var init_annotationTasksSetEvaluators = __esm(() => {
|
|
|
56834
57208
|
});
|
|
56835
57209
|
|
|
56836
57210
|
// src/mcp-server/tools/annotationTasksSetEvaluators.ts
|
|
56837
|
-
var
|
|
57211
|
+
var args25, tool$annotationTasksSetEvaluators;
|
|
56838
57212
|
var init_annotationTasksSetEvaluators2 = __esm(() => {
|
|
56839
57213
|
init_annotationTasksSetEvaluators();
|
|
56840
57214
|
init_settaskevaluatorsannotationtaskstaskuuidevaluatorsputop();
|
|
56841
57215
|
init_tools();
|
|
56842
|
-
|
|
57216
|
+
args25 = {
|
|
56843
57217
|
request: SetTaskEvaluatorsAnnotationTasksTaskUuidEvaluatorsPutRequest$zodSchema
|
|
56844
57218
|
};
|
|
56845
57219
|
tool$annotationTasksSetEvaluators = {
|
|
@@ -56858,9 +57232,9 @@ must be in your workspace.
|
|
|
56858
57232
|
openWorldHint: true,
|
|
56859
57233
|
readOnlyHint: false
|
|
56860
57234
|
},
|
|
56861
|
-
args:
|
|
56862
|
-
tool: async (client,
|
|
56863
|
-
const [result] = await annotationTasksSetEvaluators(client,
|
|
57235
|
+
args: args25,
|
|
57236
|
+
tool: async (client, args26, ctx) => {
|
|
57237
|
+
const [result] = await annotationTasksSetEvaluators(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56864
57238
|
if (!result.ok) {
|
|
56865
57239
|
return {
|
|
56866
57240
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -56921,9 +57295,9 @@ var init_bulkupdateitemsannotationtaskstaskuuiditemsputop = __esm(() => {
|
|
|
56921
57295
|
|
|
56922
57296
|
// src/funcs/annotationTasksUpdateItems.ts
|
|
56923
57297
|
function annotationTasksUpdateItems(client$, request, options) {
|
|
56924
|
-
return new APIPromise($
|
|
57298
|
+
return new APIPromise($do26(client$, request, options));
|
|
56925
57299
|
}
|
|
56926
|
-
async function $
|
|
57300
|
+
async function $do26(client$, request, options) {
|
|
56927
57301
|
const parsed$ = safeParse4(request, (value$) => BulkUpdateItemsAnnotationTasksTaskUuidItemsPutRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56928
57302
|
if (!parsed$.ok) {
|
|
56929
57303
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57003,12 +57377,12 @@ var init_annotationTasksUpdateItems = __esm(() => {
|
|
|
57003
57377
|
});
|
|
57004
57378
|
|
|
57005
57379
|
// src/mcp-server/tools/annotationTasksUpdateItems.ts
|
|
57006
|
-
var
|
|
57380
|
+
var args26, tool$annotationTasksUpdateItems;
|
|
57007
57381
|
var init_annotationTasksUpdateItems2 = __esm(() => {
|
|
57008
57382
|
init_annotationTasksUpdateItems();
|
|
57009
57383
|
init_bulkupdateitemsannotationtaskstaskuuiditemsputop();
|
|
57010
57384
|
init_tools();
|
|
57011
|
-
|
|
57385
|
+
args26 = {
|
|
57012
57386
|
request: BulkUpdateItemsAnnotationTasksTaskUuidItemsPutRequest$zodSchema
|
|
57013
57387
|
};
|
|
57014
57388
|
tool$annotationTasksUpdateItems = {
|
|
@@ -57023,9 +57397,9 @@ var init_annotationTasksUpdateItems2 = __esm(() => {
|
|
|
57023
57397
|
openWorldHint: true,
|
|
57024
57398
|
readOnlyHint: false
|
|
57025
57399
|
},
|
|
57026
|
-
args:
|
|
57027
|
-
tool: async (client,
|
|
57028
|
-
const [result] = await annotationTasksUpdateItems(client,
|
|
57400
|
+
args: args26,
|
|
57401
|
+
tool: async (client, args27, ctx) => {
|
|
57402
|
+
const [result] = await annotationTasksUpdateItems(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57029
57403
|
if (!result.ok) {
|
|
57030
57404
|
return {
|
|
57031
57405
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57059,17 +57433,6 @@ var init_outputconfig = __esm(() => {
|
|
|
57059
57433
|
});
|
|
57060
57434
|
});
|
|
57061
57435
|
|
|
57062
|
-
// src/models/variablespec.ts
|
|
57063
|
-
var VariableSpec$zodSchema;
|
|
57064
|
-
var init_variablespec = __esm(() => {
|
|
57065
|
-
init_zod();
|
|
57066
|
-
VariableSpec$zodSchema = object({
|
|
57067
|
-
default: string2().nullable().optional().describe("Default value used when you omit this variable. Omit for no default"),
|
|
57068
|
-
description: string2().nullable().optional().describe("What the variable is for. Omit if self-evident"),
|
|
57069
|
-
name: string2().describe('Name of a `{{"{{"}}placeholder}}` used in the system prompt')
|
|
57070
|
-
});
|
|
57071
|
-
});
|
|
57072
|
-
|
|
57073
57436
|
// src/models/evaluatorversioncreate.ts
|
|
57074
57437
|
var EvaluatorVersionCreate$zodSchema;
|
|
57075
57438
|
var init_evaluatorversioncreate = __esm(() => {
|
|
@@ -57143,9 +57506,9 @@ var init_createevaluatorendpointevaluatorspostop = __esm(() => {
|
|
|
57143
57506
|
|
|
57144
57507
|
// src/funcs/evaluatorsCreate.ts
|
|
57145
57508
|
function evaluatorsCreate(client$, request, options) {
|
|
57146
|
-
return new APIPromise($
|
|
57509
|
+
return new APIPromise($do27(client$, request, options));
|
|
57147
57510
|
}
|
|
57148
|
-
async function $
|
|
57511
|
+
async function $do27(client$, request, options) {
|
|
57149
57512
|
const parsed$ = safeParse4(request, (value$) => CreateEvaluatorEndpointEvaluatorsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57150
57513
|
if (!parsed$.ok) {
|
|
57151
57514
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57219,12 +57582,12 @@ var init_evaluatorsCreate = __esm(() => {
|
|
|
57219
57582
|
});
|
|
57220
57583
|
|
|
57221
57584
|
// src/mcp-server/tools/evaluatorsCreate.ts
|
|
57222
|
-
var
|
|
57585
|
+
var args27, tool$evaluatorsCreate;
|
|
57223
57586
|
var init_evaluatorsCreate2 = __esm(() => {
|
|
57224
57587
|
init_evaluatorsCreate();
|
|
57225
57588
|
init_createevaluatorendpointevaluatorspostop();
|
|
57226
57589
|
init_tools();
|
|
57227
|
-
|
|
57590
|
+
args27 = {
|
|
57228
57591
|
request: CreateEvaluatorEndpointEvaluatorsPostRequest$zodSchema
|
|
57229
57592
|
};
|
|
57230
57593
|
tool$evaluatorsCreate = {
|
|
@@ -57239,9 +57602,9 @@ var init_evaluatorsCreate2 = __esm(() => {
|
|
|
57239
57602
|
openWorldHint: true,
|
|
57240
57603
|
readOnlyHint: false
|
|
57241
57604
|
},
|
|
57242
|
-
args:
|
|
57243
|
-
tool: async (client,
|
|
57244
|
-
const [result] = await evaluatorsCreate(client,
|
|
57605
|
+
args: args27,
|
|
57606
|
+
tool: async (client, args28, ctx) => {
|
|
57607
|
+
const [result] = await evaluatorsCreate(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57245
57608
|
if (!result.ok) {
|
|
57246
57609
|
return {
|
|
57247
57610
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57298,9 +57661,9 @@ var init_createversionevaluatorsevaluatoruuidversionspostop = __esm(() => {
|
|
|
57298
57661
|
|
|
57299
57662
|
// src/funcs/evaluatorsCreateVersion.ts
|
|
57300
57663
|
function evaluatorsCreateVersion(client$, request, options) {
|
|
57301
|
-
return new APIPromise($
|
|
57664
|
+
return new APIPromise($do28(client$, request, options));
|
|
57302
57665
|
}
|
|
57303
|
-
async function $
|
|
57666
|
+
async function $do28(client$, request, options) {
|
|
57304
57667
|
const parsed$ = safeParse4(request, (value$) => CreateVersionEvaluatorsEvaluatorUuidVersionsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57305
57668
|
if (!parsed$.ok) {
|
|
57306
57669
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57380,12 +57743,12 @@ var init_evaluatorsCreateVersion = __esm(() => {
|
|
|
57380
57743
|
});
|
|
57381
57744
|
|
|
57382
57745
|
// src/mcp-server/tools/evaluatorsCreateVersion.ts
|
|
57383
|
-
var
|
|
57746
|
+
var args28, tool$evaluatorsCreateVersion;
|
|
57384
57747
|
var init_evaluatorsCreateVersion2 = __esm(() => {
|
|
57385
57748
|
init_evaluatorsCreateVersion();
|
|
57386
57749
|
init_createversionevaluatorsevaluatoruuidversionspostop();
|
|
57387
57750
|
init_tools();
|
|
57388
|
-
|
|
57751
|
+
args28 = {
|
|
57389
57752
|
request: CreateVersionEvaluatorsEvaluatorUuidVersionsPostRequest$zodSchema
|
|
57390
57753
|
};
|
|
57391
57754
|
tool$evaluatorsCreateVersion = {
|
|
@@ -57400,9 +57763,9 @@ var init_evaluatorsCreateVersion2 = __esm(() => {
|
|
|
57400
57763
|
openWorldHint: true,
|
|
57401
57764
|
readOnlyHint: false
|
|
57402
57765
|
},
|
|
57403
|
-
args:
|
|
57404
|
-
tool: async (client,
|
|
57405
|
-
const [result] = await evaluatorsCreateVersion(client,
|
|
57766
|
+
args: args28,
|
|
57767
|
+
tool: async (client, args29, ctx) => {
|
|
57768
|
+
const [result] = await evaluatorsCreateVersion(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57406
57769
|
if (!result.ok) {
|
|
57407
57770
|
return {
|
|
57408
57771
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57486,9 +57849,9 @@ var init_getevaluatorendpointevaluatorsevaluatoruuidgetop = __esm(() => {
|
|
|
57486
57849
|
|
|
57487
57850
|
// src/funcs/evaluatorsGet.ts
|
|
57488
57851
|
function evaluatorsGet(client$, request, options) {
|
|
57489
|
-
return new APIPromise($
|
|
57852
|
+
return new APIPromise($do29(client$, request, options));
|
|
57490
57853
|
}
|
|
57491
|
-
async function $
|
|
57854
|
+
async function $do29(client$, request, options) {
|
|
57492
57855
|
const parsed$ = safeParse4(request, (value$) => GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57493
57856
|
if (!parsed$.ok) {
|
|
57494
57857
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57571,12 +57934,12 @@ var init_evaluatorsGet = __esm(() => {
|
|
|
57571
57934
|
});
|
|
57572
57935
|
|
|
57573
57936
|
// src/mcp-server/tools/evaluatorsGet.ts
|
|
57574
|
-
var
|
|
57937
|
+
var args29, tool$evaluatorsGet;
|
|
57575
57938
|
var init_evaluatorsGet2 = __esm(() => {
|
|
57576
57939
|
init_evaluatorsGet();
|
|
57577
57940
|
init_getevaluatorendpointevaluatorsevaluatoruuidgetop();
|
|
57578
57941
|
init_tools();
|
|
57579
|
-
|
|
57942
|
+
args29 = {
|
|
57580
57943
|
request: GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetRequest$zodSchema
|
|
57581
57944
|
};
|
|
57582
57945
|
tool$evaluatorsGet = {
|
|
@@ -57591,9 +57954,9 @@ var init_evaluatorsGet2 = __esm(() => {
|
|
|
57591
57954
|
openWorldHint: true,
|
|
57592
57955
|
readOnlyHint: true
|
|
57593
57956
|
},
|
|
57594
|
-
args:
|
|
57595
|
-
tool: async (client,
|
|
57596
|
-
const [result] = await evaluatorsGet(client,
|
|
57957
|
+
args: args29,
|
|
57958
|
+
tool: async (client, args30, ctx) => {
|
|
57959
|
+
const [result] = await evaluatorsGet(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57597
57960
|
if (!result.ok) {
|
|
57598
57961
|
return {
|
|
57599
57962
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57605,68 +57968,6 @@ var init_evaluatorsGet2 = __esm(() => {
|
|
|
57605
57968
|
};
|
|
57606
57969
|
});
|
|
57607
57970
|
|
|
57608
|
-
// src/models/evaluatorliveversionsummary.ts
|
|
57609
|
-
var EvaluatorLiveVersionSummary$zodSchema;
|
|
57610
|
-
var init_evaluatorliveversionsummary = __esm(() => {
|
|
57611
|
-
init_zod();
|
|
57612
|
-
init_variablespec();
|
|
57613
|
-
EvaluatorLiveVersionSummary$zodSchema = object({
|
|
57614
|
-
judge_model: string2().describe("The model that runs the judge, named the way its provider does, for example `openai/gpt-4.1` or `anthropic/claude-sonnet-4`"),
|
|
57615
|
-
uuid: string2().describe("Version ID"),
|
|
57616
|
-
variables: array(VariableSpec$zodSchema).nullable().optional().describe("Declared prompt variables"),
|
|
57617
|
-
version_number: int().describe("The version's number. The first version is 1, and it goes up by one for each new version of the evaluator")
|
|
57618
|
-
}).describe("Slim view of the live version for list results, carrying only what the list needs.");
|
|
57619
|
-
});
|
|
57620
|
-
|
|
57621
|
-
// src/models/routersevaluatorsevaluatorresponse.ts
|
|
57622
|
-
var RoutersEvaluatorsEvaluatorResponseEvaluatorType$zodSchema, RoutersEvaluatorsEvaluatorResponseDataType$zodSchema, RoutersEvaluatorsEvaluatorResponseOutputType$zodSchema, RoutersEvaluatorsEvaluatorResponse$zodSchema;
|
|
57623
|
-
var init_routersevaluatorsevaluatorresponse = __esm(() => {
|
|
57624
|
-
init_zod();
|
|
57625
|
-
init_evaluatorliveversionsummary();
|
|
57626
|
-
RoutersEvaluatorsEvaluatorResponseEvaluatorType$zodSchema = _enum([
|
|
57627
|
-
"tts",
|
|
57628
|
-
"stt",
|
|
57629
|
-
"llm",
|
|
57630
|
-
"llm-general",
|
|
57631
|
-
"conversation"
|
|
57632
|
-
]).describe("What the evaluator judges:\n\n- `tts`: TTS audio\n- `stt`: one transcript\n- `llm`: a reply with its conversation history\n- `llm-general`: a standalone input and output pair\n- `conversation`: a full conversation\n");
|
|
57633
|
-
RoutersEvaluatorsEvaluatorResponseDataType$zodSchema = _enum([
|
|
57634
|
-
"text",
|
|
57635
|
-
"audio"
|
|
57636
|
-
]).describe("The modality the judge reads:\n\n- `text`\n- `audio`\n");
|
|
57637
|
-
RoutersEvaluatorsEvaluatorResponseOutputType$zodSchema = _enum([
|
|
57638
|
-
"binary",
|
|
57639
|
-
"rating"
|
|
57640
|
-
]).describe("How the evaluator scores:\n\n- `binary`: pass or fail\n- `rating`: a numeric score, using the scale in `output_config`\n");
|
|
57641
|
-
RoutersEvaluatorsEvaluatorResponse$zodSchema = object({
|
|
57642
|
-
created_at: string2().describe("When the evaluator was created (ISO 8601 UTC)"),
|
|
57643
|
-
data_type: RoutersEvaluatorsEvaluatorResponseDataType$zodSchema.describe("The modality the judge reads:\n\n- `text`\n- `audio`\n"),
|
|
57644
|
-
description: string2().nullable().optional().describe("What the evaluator checks"),
|
|
57645
|
-
evaluator_type: RoutersEvaluatorsEvaluatorResponseEvaluatorType$zodSchema.describe("What the evaluator judges:\n\n- `tts`: TTS audio\n- `stt`: one transcript\n- `llm`: a reply with its conversation history\n- `llm-general`: a standalone input and output pair\n- `conversation`: a full conversation\n"),
|
|
57646
|
-
is_default: boolean2().describe("True for a built-in default evaluator, which you can't edit. False for an evaluator you created, which you can edit and add versions to"),
|
|
57647
|
-
live_version: EvaluatorLiveVersionSummary$zodSchema.nullable().optional().describe("The version that is currently live"),
|
|
57648
|
-
live_version_id: string2().nullable().optional().describe("ID of the version that is currently live"),
|
|
57649
|
-
name: string2().describe("Evaluator name"),
|
|
57650
|
-
output_type: RoutersEvaluatorsEvaluatorResponseOutputType$zodSchema.describe("How the evaluator scores:\n\n- `binary`: pass or fail\n- `rating`: a numeric score, using the scale in `output_config`\n"),
|
|
57651
|
-
slug: string2().nullable().optional().describe("Stable slug for a built-in default evaluator"),
|
|
57652
|
-
updated_at: string2().describe("When the evaluator was last updated (ISO 8601 UTC)"),
|
|
57653
|
-
uuid: string2().describe("Evaluator ID")
|
|
57654
|
-
});
|
|
57655
|
-
});
|
|
57656
|
-
|
|
57657
|
-
// src/models/paginatedresponseevaluatorresponse.ts
|
|
57658
|
-
var PaginatedResponseEvaluatorResponse$zodSchema;
|
|
57659
|
-
var init_paginatedresponseevaluatorresponse = __esm(() => {
|
|
57660
|
-
init_zod();
|
|
57661
|
-
init_routersevaluatorsevaluatorresponse();
|
|
57662
|
-
PaginatedResponseEvaluatorResponse$zodSchema = object({
|
|
57663
|
-
items: array(RoutersEvaluatorsEvaluatorResponse$zodSchema).describe("The page of results"),
|
|
57664
|
-
limit: int().nullable().optional().describe("The applied `limit` (null when unbounded)"),
|
|
57665
|
-
offset: int().default(0).describe("The applied `offset`"),
|
|
57666
|
-
total: int().describe("Total number of items matching the query, before pagination")
|
|
57667
|
-
});
|
|
57668
|
-
});
|
|
57669
|
-
|
|
57670
57971
|
// src/models/listevaluatorsevaluatorsgetop.ts
|
|
57671
57972
|
var ListEvaluatorsEvaluatorsGetEvaluatorType$zodSchema, ListEvaluatorsEvaluatorsGetDataType$zodSchema, ListEvaluatorsEvaluatorsGetRequest$zodSchema, ListEvaluatorsEvaluatorsGetResponse$zodSchema;
|
|
57672
57973
|
var init_listevaluatorsevaluatorsgetop = __esm(() => {
|
|
@@ -57701,9 +58002,9 @@ var init_listevaluatorsevaluatorsgetop = __esm(() => {
|
|
|
57701
58002
|
|
|
57702
58003
|
// src/funcs/evaluatorsList.ts
|
|
57703
58004
|
function evaluatorsList(client$, request, options) {
|
|
57704
|
-
return new APIPromise($
|
|
58005
|
+
return new APIPromise($do30(client$, request, options));
|
|
57705
58006
|
}
|
|
57706
|
-
async function $
|
|
58007
|
+
async function $do30(client$, request, options) {
|
|
57707
58008
|
const parsed$ = safeParse4(request, (value$) => ListEvaluatorsEvaluatorsGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
57708
58009
|
if (!parsed$.ok) {
|
|
57709
58010
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57785,12 +58086,12 @@ var init_evaluatorsList = __esm(() => {
|
|
|
57785
58086
|
});
|
|
57786
58087
|
|
|
57787
58088
|
// src/mcp-server/tools/evaluatorsList.ts
|
|
57788
|
-
var
|
|
58089
|
+
var args30, tool$evaluatorsList;
|
|
57789
58090
|
var init_evaluatorsList2 = __esm(() => {
|
|
57790
58091
|
init_evaluatorsList();
|
|
57791
58092
|
init_listevaluatorsevaluatorsgetop();
|
|
57792
58093
|
init_tools();
|
|
57793
|
-
|
|
58094
|
+
args30 = {
|
|
57794
58095
|
request: ListEvaluatorsEvaluatorsGetRequest$zodSchema.optional()
|
|
57795
58096
|
};
|
|
57796
58097
|
tool$evaluatorsList = {
|
|
@@ -57805,9 +58106,9 @@ var init_evaluatorsList2 = __esm(() => {
|
|
|
57805
58106
|
openWorldHint: true,
|
|
57806
58107
|
readOnlyHint: true
|
|
57807
58108
|
},
|
|
57808
|
-
args:
|
|
57809
|
-
tool: async (client,
|
|
57810
|
-
const [result] = await evaluatorsList(client,
|
|
58109
|
+
args: args30,
|
|
58110
|
+
tool: async (client, args31, ctx) => {
|
|
58111
|
+
const [result] = await evaluatorsList(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57811
58112
|
if (!result.ok) {
|
|
57812
58113
|
return {
|
|
57813
58114
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57936,9 +58237,9 @@ var init_bulkuploadteststestsbulkpostop = __esm(() => {
|
|
|
57936
58237
|
|
|
57937
58238
|
// src/funcs/testsBulkCreate.ts
|
|
57938
58239
|
function testsBulkCreate(client$, request, options) {
|
|
57939
|
-
return new APIPromise($
|
|
58240
|
+
return new APIPromise($do31(client$, request, options));
|
|
57940
58241
|
}
|
|
57941
|
-
async function $
|
|
58242
|
+
async function $do31(client$, request, options) {
|
|
57942
58243
|
const parsed$ = safeParse4(request, (value$) => BulkUploadTestsTestsBulkPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57943
58244
|
if (!parsed$.ok) {
|
|
57944
58245
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58012,12 +58313,12 @@ var init_testsBulkCreate = __esm(() => {
|
|
|
58012
58313
|
});
|
|
58013
58314
|
|
|
58014
58315
|
// src/mcp-server/tools/testsBulkCreate.ts
|
|
58015
|
-
var
|
|
58316
|
+
var args31, tool$testsBulkCreate;
|
|
58016
58317
|
var init_testsBulkCreate2 = __esm(() => {
|
|
58017
58318
|
init_testsBulkCreate();
|
|
58018
58319
|
init_bulkuploadteststestsbulkpostop();
|
|
58019
58320
|
init_tools();
|
|
58020
|
-
|
|
58321
|
+
args31 = {
|
|
58021
58322
|
request: BulkUploadTestsTestsBulkPostRequest$zodSchema
|
|
58022
58323
|
};
|
|
58023
58324
|
tool$testsBulkCreate = {
|
|
@@ -58034,9 +58335,9 @@ tests including their UUIDs.
|
|
|
58034
58335
|
openWorldHint: true,
|
|
58035
58336
|
readOnlyHint: false
|
|
58036
58337
|
},
|
|
58037
|
-
args:
|
|
58038
|
-
tool: async (client,
|
|
58039
|
-
const [result] = await testsBulkCreate(client,
|
|
58338
|
+
args: args31,
|
|
58339
|
+
tool: async (client, args32, ctx) => {
|
|
58340
|
+
const [result] = await testsBulkCreate(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58040
58341
|
if (!result.ok) {
|
|
58041
58342
|
return {
|
|
58042
58343
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58095,9 +58396,9 @@ var init_createtestendpointtestspostop = __esm(() => {
|
|
|
58095
58396
|
|
|
58096
58397
|
// src/funcs/testsCreate.ts
|
|
58097
58398
|
function testsCreate(client$, request, options) {
|
|
58098
|
-
return new APIPromise($
|
|
58399
|
+
return new APIPromise($do32(client$, request, options));
|
|
58099
58400
|
}
|
|
58100
|
-
async function $
|
|
58401
|
+
async function $do32(client$, request, options) {
|
|
58101
58402
|
const parsed$ = safeParse4(request, (value$) => CreateTestEndpointTestsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58102
58403
|
if (!parsed$.ok) {
|
|
58103
58404
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58171,12 +58472,12 @@ var init_testsCreate = __esm(() => {
|
|
|
58171
58472
|
});
|
|
58172
58473
|
|
|
58173
58474
|
// src/mcp-server/tools/testsCreate.ts
|
|
58174
|
-
var
|
|
58475
|
+
var args32, tool$testsCreate;
|
|
58175
58476
|
var init_testsCreate2 = __esm(() => {
|
|
58176
58477
|
init_testsCreate();
|
|
58177
58478
|
init_createtestendpointtestspostop();
|
|
58178
58479
|
init_tools();
|
|
58179
|
-
|
|
58480
|
+
args32 = {
|
|
58180
58481
|
request: CreateTestEndpointTestsPostRequest$zodSchema
|
|
58181
58482
|
};
|
|
58182
58483
|
tool$testsCreate = {
|
|
@@ -58193,9 +58494,9 @@ Requires a Calibrate API key (CALIBRATE_API_KEY).
|
|
|
58193
58494
|
openWorldHint: true,
|
|
58194
58495
|
readOnlyHint: false
|
|
58195
58496
|
},
|
|
58196
|
-
args:
|
|
58197
|
-
tool: async (client,
|
|
58198
|
-
const [result] = await testsCreate(client,
|
|
58497
|
+
args: args32,
|
|
58498
|
+
tool: async (client, args33, ctx) => {
|
|
58499
|
+
const [result] = await testsCreate(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58199
58500
|
if (!result.ok) {
|
|
58200
58501
|
return {
|
|
58201
58502
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58245,9 +58546,9 @@ var init_gettestendpointteststestuuidgetop = __esm(() => {
|
|
|
58245
58546
|
|
|
58246
58547
|
// src/funcs/testsGet.ts
|
|
58247
58548
|
function testsGet(client$, request, options) {
|
|
58248
|
-
return new APIPromise($
|
|
58549
|
+
return new APIPromise($do33(client$, request, options));
|
|
58249
58550
|
}
|
|
58250
|
-
async function $
|
|
58551
|
+
async function $do33(client$, request, options) {
|
|
58251
58552
|
const parsed$ = safeParse4(request, (value$) => GetTestEndpointTestsTestUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58252
58553
|
if (!parsed$.ok) {
|
|
58253
58554
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58326,12 +58627,12 @@ var init_testsGet = __esm(() => {
|
|
|
58326
58627
|
});
|
|
58327
58628
|
|
|
58328
58629
|
// src/mcp-server/tools/testsGet.ts
|
|
58329
|
-
var
|
|
58630
|
+
var args33, tool$testsGet;
|
|
58330
58631
|
var init_testsGet2 = __esm(() => {
|
|
58331
58632
|
init_testsGet();
|
|
58332
58633
|
init_gettestendpointteststestuuidgetop();
|
|
58333
58634
|
init_tools();
|
|
58334
|
-
|
|
58635
|
+
args33 = {
|
|
58335
58636
|
request: GetTestEndpointTestsTestUuidGetRequest$zodSchema
|
|
58336
58637
|
};
|
|
58337
58638
|
tool$testsGet = {
|
|
@@ -58348,9 +58649,9 @@ exist or belongs to another org.
|
|
|
58348
58649
|
openWorldHint: true,
|
|
58349
58650
|
readOnlyHint: true
|
|
58350
58651
|
},
|
|
58351
|
-
args:
|
|
58352
|
-
tool: async (client,
|
|
58353
|
-
const [result] = await testsGet(client,
|
|
58652
|
+
args: args33,
|
|
58653
|
+
tool: async (client, args34, ctx) => {
|
|
58654
|
+
const [result] = await testsGet(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58354
58655
|
if (!result.ok) {
|
|
58355
58656
|
return {
|
|
58356
58657
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58382,9 +58683,9 @@ var init_listteststestsgetop = __esm(() => {
|
|
|
58382
58683
|
|
|
58383
58684
|
// src/funcs/testsList.ts
|
|
58384
58685
|
function testsList(client$, request, options) {
|
|
58385
|
-
return new APIPromise($
|
|
58686
|
+
return new APIPromise($do34(client$, request, options));
|
|
58386
58687
|
}
|
|
58387
|
-
async function $
|
|
58688
|
+
async function $do34(client$, request, options) {
|
|
58388
58689
|
const parsed$ = safeParse4(request, (value$) => ListTestsTestsGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
58389
58690
|
if (!parsed$.ok) {
|
|
58390
58691
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58463,12 +58764,12 @@ var init_testsList = __esm(() => {
|
|
|
58463
58764
|
});
|
|
58464
58765
|
|
|
58465
58766
|
// src/mcp-server/tools/testsList.ts
|
|
58466
|
-
var
|
|
58767
|
+
var args34, tool$testsList;
|
|
58467
58768
|
var init_testsList2 = __esm(() => {
|
|
58468
58769
|
init_testsList();
|
|
58469
58770
|
init_listteststestsgetop();
|
|
58470
58771
|
init_tools();
|
|
58471
|
-
|
|
58772
|
+
args34 = {
|
|
58472
58773
|
request: ListTestsTestsGetRequest$zodSchema.optional()
|
|
58473
58774
|
};
|
|
58474
58775
|
tool$testsList = {
|
|
@@ -58485,9 +58786,9 @@ before creating runs.
|
|
|
58485
58786
|
openWorldHint: true,
|
|
58486
58787
|
readOnlyHint: true
|
|
58487
58788
|
},
|
|
58488
|
-
args:
|
|
58489
|
-
tool: async (client,
|
|
58490
|
-
const [result] = await testsList(client,
|
|
58789
|
+
args: args34,
|
|
58790
|
+
tool: async (client, args35, ctx) => {
|
|
58791
|
+
const [result] = await testsList(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58491
58792
|
if (!result.ok) {
|
|
58492
58793
|
return {
|
|
58493
58794
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58544,9 +58845,9 @@ var init_updatetestendpointteststestuuidputop = __esm(() => {
|
|
|
58544
58845
|
|
|
58545
58846
|
// src/funcs/testsUpdate.ts
|
|
58546
58847
|
function testsUpdate(client$, request, options) {
|
|
58547
|
-
return new APIPromise($
|
|
58848
|
+
return new APIPromise($do35(client$, request, options));
|
|
58548
58849
|
}
|
|
58549
|
-
async function $
|
|
58850
|
+
async function $do35(client$, request, options) {
|
|
58550
58851
|
const parsed$ = safeParse4(request, (value$) => UpdateTestEndpointTestsTestUuidPutRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58551
58852
|
if (!parsed$.ok) {
|
|
58552
58853
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58626,12 +58927,12 @@ var init_testsUpdate = __esm(() => {
|
|
|
58626
58927
|
});
|
|
58627
58928
|
|
|
58628
58929
|
// src/mcp-server/tools/testsUpdate.ts
|
|
58629
|
-
var
|
|
58930
|
+
var args35, tool$testsUpdate;
|
|
58630
58931
|
var init_testsUpdate2 = __esm(() => {
|
|
58631
58932
|
init_testsUpdate();
|
|
58632
58933
|
init_updatetestendpointteststestuuidputop();
|
|
58633
58934
|
init_tools();
|
|
58634
|
-
|
|
58935
|
+
args35 = {
|
|
58635
58936
|
request: UpdateTestEndpointTestsTestUuidPutRequest$zodSchema
|
|
58636
58937
|
};
|
|
58637
58938
|
tool$testsUpdate = {
|
|
@@ -58648,9 +58949,9 @@ fields to change (name, config). Returns the updated test. Fails with
|
|
|
58648
58949
|
openWorldHint: true,
|
|
58649
58950
|
readOnlyHint: false
|
|
58650
58951
|
},
|
|
58651
|
-
args:
|
|
58652
|
-
tool: async (client,
|
|
58653
|
-
const [result] = await testsUpdate(client,
|
|
58952
|
+
args: args35,
|
|
58953
|
+
tool: async (client, args36, ctx) => {
|
|
58954
|
+
const [result] = await testsUpdate(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58654
58955
|
if (!result.ok) {
|
|
58655
58956
|
return {
|
|
58656
58957
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58666,16 +58967,16 @@ fields to change (name, config). Returns the updated test. Fails with
|
|
|
58666
58967
|
function createMCPServer(deps) {
|
|
58667
58968
|
const server = new McpServer({
|
|
58668
58969
|
name: "CalibrateMcp",
|
|
58669
|
-
version: "0.0.
|
|
58970
|
+
version: "0.0.28"
|
|
58670
58971
|
});
|
|
58671
58972
|
const getClient = deps.getSDK || (() => new CalibrateMcpCore({
|
|
58672
58973
|
security: deps.security,
|
|
58673
58974
|
serverURL: deps.serverURL,
|
|
58674
58975
|
serverIdx: deps.serverIdx,
|
|
58675
58976
|
debugLogger: deps.logger.level === "debug" ? {
|
|
58676
|
-
log: (...
|
|
58677
|
-
group: (...
|
|
58678
|
-
groupEnd: (...
|
|
58977
|
+
log: (...args36) => console.log(...args36),
|
|
58978
|
+
group: (...args36) => console.group(...args36),
|
|
58979
|
+
groupEnd: (...args36) => console.groupEnd(...args36)
|
|
58679
58980
|
} : undefined
|
|
58680
58981
|
}));
|
|
58681
58982
|
const scopes = new Set(deps.scopes);
|
|
@@ -58691,6 +58992,8 @@ function createMCPServer(deps) {
|
|
|
58691
58992
|
tool(tool$agentsList);
|
|
58692
58993
|
tool(tool$agentsGet);
|
|
58693
58994
|
tool(tool$agentsUpdate);
|
|
58995
|
+
tool(tool$agentsListEvaluators);
|
|
58996
|
+
tool(tool$agentsLinkEvaluators);
|
|
58694
58997
|
tool(tool$testsBulkCreate);
|
|
58695
58998
|
tool(tool$testsCreate);
|
|
58696
58999
|
tool(tool$testsList);
|
|
@@ -58730,7 +59033,9 @@ var init_server2 = __esm(() => {
|
|
|
58730
59033
|
init_tools();
|
|
58731
59034
|
init_agentsCreate2();
|
|
58732
59035
|
init_agentsGet2();
|
|
59036
|
+
init_agentsLinkEvaluators2();
|
|
58733
59037
|
init_agentsList2();
|
|
59038
|
+
init_agentsListEvaluators2();
|
|
58734
59039
|
init_agentsResolve2();
|
|
58735
59040
|
init_agentsUpdate2();
|
|
58736
59041
|
init_agentsVerifyConnection2();
|
|
@@ -58807,6 +59112,19 @@ exist or belongs to another org.
|
|
|
58807
59112
|
description: `Update an existing agent by UUID within the caller's org. Supply the
|
|
58808
59113
|
fields to change (name, type, config). Returns the updated agent.
|
|
58809
59114
|
Fails with 404 if the agent does not exist or belongs to another org.
|
|
59115
|
+
`
|
|
59116
|
+
},
|
|
59117
|
+
{
|
|
59118
|
+
name: "list-agent-evaluators",
|
|
59119
|
+
description: `List the evaluators linked to an agent, most recently linked first.
|
|
59120
|
+
Returns each evaluator's UUID, name, type, and live version summary.
|
|
59121
|
+
`
|
|
59122
|
+
},
|
|
59123
|
+
{
|
|
59124
|
+
name: "link-evaluators-to-agent",
|
|
59125
|
+
description: `Link one or more evaluators to an agent, skipping any already linked.
|
|
59126
|
+
Each evaluator must be one you created or a built-in default, and the
|
|
59127
|
+
agent must be in your workspace.
|
|
58810
59128
|
`
|
|
58811
59129
|
},
|
|
58812
59130
|
{
|
|
@@ -59876,7 +60194,7 @@ http_headers = { "api-key-auth" = "YOUR_API_KEY_AUTH" }`;
|
|
|
59876
60194
|
<h1>Instructions</h1>
|
|
59877
60195
|
<p>One-click installation for Claude Desktop users</p>
|
|
59878
60196
|
<div class="instruction-item">
|
|
59879
|
-
<a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.
|
|
60197
|
+
<a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.28/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
|
|
59880
60198
|
\uD83D\uDCE5 Download MCP Bundle
|
|
59881
60199
|
</a>
|
|
59882
60200
|
</div>
|
|
@@ -62528,7 +62846,7 @@ var routes = buildRouteMap({
|
|
|
62528
62846
|
var app = buildApplication(routes, {
|
|
62529
62847
|
name: "mcp",
|
|
62530
62848
|
versionInfo: {
|
|
62531
|
-
currentVersion: "0.0.
|
|
62849
|
+
currentVersion: "0.0.28"
|
|
62532
62850
|
}
|
|
62533
62851
|
});
|
|
62534
62852
|
run(app, process4.argv.slice(2), buildContext(process4));
|
|
@@ -62536,5 +62854,5 @@ export {
|
|
|
62536
62854
|
app
|
|
62537
62855
|
};
|
|
62538
62856
|
|
|
62539
|
-
//# debugId=
|
|
62857
|
+
//# debugId=16DFAEE79A0A324C64756E2164756E21
|
|
62540
62858
|
//# sourceMappingURL=mcp-server.js.map
|