@lightsage/mcp 0.2.1 → 0.3.0
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/README.md +2 -2
- package/bin/mcp-server.js +544 -276
- package/bin/mcp-server.js.map +29 -22
- package/esm/funcs/evalResultsV2EvalResultsList.d.ts +1 -1
- package/esm/funcs/evalResultsV2EvalResultsList.js +1 -1
- package/esm/funcs/evalsAnalysis.d.ts +16 -0
- package/esm/funcs/evalsAnalysis.d.ts.map +1 -0
- package/esm/funcs/evalsAnalysis.js +88 -0
- package/esm/funcs/evalsAnalysis.js.map +1 -0
- package/esm/funcs/evalsRun.d.ts +9 -2
- package/esm/funcs/evalsRun.d.ts.map +1 -1
- package/esm/funcs/evalsRun.js +9 -2
- package/esm/funcs/evalsRun.js.map +1 -1
- package/esm/funcs/evalsTrace.d.ts +16 -0
- package/esm/funcs/evalsTrace.d.ts.map +1 -0
- package/esm/funcs/{evalsMonitor.js → evalsTrace.js} +19 -21
- package/esm/funcs/evalsTrace.js.map +1 -0
- package/esm/funcs/evalsV2EvalsCreate.d.ts +1 -1
- package/esm/funcs/evalsV2EvalsCreate.js +1 -1
- package/esm/funcs/evalsV2EvalsUpdate.d.ts +1 -1
- package/esm/funcs/evalsV2EvalsUpdate.js +1 -1
- package/esm/landing-page.js +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +5 -3
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/evalResultsV2EvalResultsList.js +1 -1
- package/esm/mcp-server/tools/evalResultsV2EvalResultsList.js.map +1 -1
- package/esm/mcp-server/tools/evalsAnalysis.d.ts +7 -0
- package/esm/mcp-server/tools/evalsAnalysis.d.ts.map +1 -0
- package/esm/mcp-server/tools/evalsAnalysis.js +35 -0
- package/esm/mcp-server/tools/evalsAnalysis.js.map +1 -0
- package/esm/mcp-server/tools/evalsRun.d.ts.map +1 -1
- package/esm/mcp-server/tools/evalsRun.js +9 -2
- package/esm/mcp-server/tools/evalsRun.js.map +1 -1
- package/esm/mcp-server/tools/evalsTrace.d.ts +7 -0
- package/esm/mcp-server/tools/evalsTrace.d.ts.map +1 -0
- package/esm/mcp-server/tools/evalsTrace.js +35 -0
- package/esm/mcp-server/tools/evalsTrace.js.map +1 -0
- package/esm/mcp-server/tools/evalsV2EvalsCreate.js +1 -1
- package/esm/mcp-server/tools/evalsV2EvalsCreate.js.map +1 -1
- package/esm/mcp-server/tools/evalsV2EvalsUpdate.js +1 -1
- package/esm/mcp-server/tools/evalsV2EvalsUpdate.js.map +1 -1
- package/esm/models/createv2evalrequest.d.ts +1 -2
- package/esm/models/createv2evalrequest.d.ts.map +1 -1
- package/esm/models/createv2evalrequest.js +1 -2
- package/esm/models/createv2evalrequest.js.map +1 -1
- package/esm/models/createv2evalrunrequest.d.ts +3 -0
- package/esm/models/createv2evalrunrequest.d.ts.map +1 -1
- package/esm/models/createv2evalrunrequest.js +9 -9
- package/esm/models/createv2evalrunrequest.js.map +1 -1
- package/esm/models/updatev2evalrequest.d.ts +1 -2
- package/esm/models/updatev2evalrequest.d.ts.map +1 -1
- package/esm/models/updatev2evalrequest.js +1 -2
- package/esm/models/updatev2evalrequest.js.map +1 -1
- package/esm/models/v2evalrunanalysis.d.ts +18 -0
- package/esm/models/v2evalrunanalysis.d.ts.map +1 -0
- package/esm/models/v2evalrunanalysis.js +20 -0
- package/esm/models/v2evalrunanalysis.js.map +1 -0
- package/esm/models/v2evalrunanalysisresponse.d.ts +12 -0
- package/esm/models/v2evalrunanalysisresponse.d.ts.map +1 -0
- package/esm/models/v2evalrunanalysisresponse.js +15 -0
- package/esm/models/v2evalrunanalysisresponse.js.map +1 -0
- package/esm/models/v2evalrunsanalysisop.d.ts +17 -0
- package/esm/models/v2evalrunsanalysisop.d.ts.map +1 -0
- package/esm/models/v2evalrunsanalysisop.js +19 -0
- package/esm/models/v2evalrunsanalysisop.js.map +1 -0
- package/esm/models/v2evalrunstraceop.d.ts +19 -0
- package/esm/models/v2evalrunstraceop.d.ts.map +1 -0
- package/esm/models/v2evalrunstraceop.js +21 -0
- package/esm/models/v2evalrunstraceop.js.map +1 -0
- package/esm/models/v2evalruntraceevent.d.ts +20 -0
- package/esm/models/v2evalruntraceevent.d.ts.map +1 -0
- package/esm/models/v2evalruntraceevent.js +22 -0
- package/esm/models/v2evalruntraceevent.js.map +1 -0
- package/esm/models/v2evalruntraceresponse.d.ts +14 -0
- package/esm/models/v2evalruntraceresponse.d.ts.map +1 -0
- package/esm/models/v2evalruntraceresponse.js +17 -0
- package/esm/models/v2evalruntraceresponse.js.map +1 -0
- package/esm/models/v2listtasksresponse.d.ts +1 -1
- package/esm/models/v2taskslistop.d.ts +1 -1
- package/esm/tool-names.d.ts.map +1 -1
- package/esm/tool-names.js +10 -6
- package/esm/tool-names.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/evalResultsV2EvalResultsList.ts +1 -1
- package/src/funcs/evalsAnalysis.ts +153 -0
- package/src/funcs/evalsRun.ts +9 -2
- package/src/funcs/{evalsMonitor.ts → evalsTrace.ts} +26 -25
- package/src/funcs/evalsV2EvalsCreate.ts +1 -1
- package/src/funcs/evalsV2EvalsUpdate.ts +1 -1
- package/src/landing-page.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +5 -3
- package/src/mcp-server/tools/evalResultsV2EvalResultsList.ts +1 -1
- package/src/mcp-server/tools/evalsAnalysis.ts +43 -0
- package/src/mcp-server/tools/evalsRun.ts +9 -2
- package/src/mcp-server/tools/{evalsMonitor.ts → evalsTrace.ts} +9 -9
- package/src/mcp-server/tools/evalsV2EvalsCreate.ts +1 -1
- package/src/mcp-server/tools/evalsV2EvalsUpdate.ts +1 -1
- package/src/models/createv2evalrequest.ts +2 -3
- package/src/models/createv2evalrunrequest.ts +16 -9
- package/src/models/updatev2evalrequest.ts +4 -3
- package/src/models/v2evalrunanalysis.ts +51 -0
- package/src/models/v2evalrunanalysisresponse.ts +32 -0
- package/src/models/v2evalrunsanalysisop.ts +48 -0
- package/src/models/v2evalrunstraceop.ts +58 -0
- package/src/models/v2evalruntraceevent.ts +43 -0
- package/src/models/v2evalruntraceresponse.ts +38 -0
- package/src/tool-names.ts +10 -6
- package/esm/funcs/evalsMonitor.d.ts +0 -20
- package/esm/funcs/evalsMonitor.d.ts.map +0 -1
- package/esm/funcs/evalsMonitor.js.map +0 -1
- package/esm/mcp-server/tools/evalsMonitor.d.ts +0 -7
- package/esm/mcp-server/tools/evalsMonitor.d.ts.map +0 -1
- package/esm/mcp-server/tools/evalsMonitor.js +0 -35
- package/esm/mcp-server/tools/evalsMonitor.js.map +0 -1
- package/esm/models/v2evalrunsmonitorop.d.ts +0 -28
- package/esm/models/v2evalrunsmonitorop.d.ts.map +0 -1
- package/esm/models/v2evalrunsmonitorop.js +0 -29
- package/esm/models/v2evalrunsmonitorop.js.map +0 -1
- package/src/models/v2evalrunsmonitorop.ts +0 -62
package/bin/mcp-server.js
CHANGED
|
@@ -94,6 +94,27 @@ function floatSafeRemainder(val, step) {
|
|
|
94
94
|
return 0;
|
|
95
95
|
return ratio - roundedRatio;
|
|
96
96
|
}
|
|
97
|
+
function defineLazy(object, key, getter) {
|
|
98
|
+
let value = undefined;
|
|
99
|
+
Object.defineProperty(object, key, {
|
|
100
|
+
get() {
|
|
101
|
+
if (value === EVALUATING) {
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
if (value === undefined) {
|
|
105
|
+
value = EVALUATING;
|
|
106
|
+
value = getter();
|
|
107
|
+
}
|
|
108
|
+
return value;
|
|
109
|
+
},
|
|
110
|
+
set(v) {
|
|
111
|
+
Object.defineProperty(object, key, {
|
|
112
|
+
value: v
|
|
113
|
+
});
|
|
114
|
+
},
|
|
115
|
+
configurable: true
|
|
116
|
+
});
|
|
117
|
+
}
|
|
97
118
|
function assignProp(target, prop, value) {
|
|
98
119
|
Object.defineProperty(target, prop, {
|
|
99
120
|
value,
|
|
@@ -549,9 +570,10 @@ function constantCatch(value) {
|
|
|
549
570
|
fn[CONSTANT_CATCH] = true;
|
|
550
571
|
return fn;
|
|
551
572
|
}
|
|
552
|
-
var captureStackTrace, allowsEval, propertyKeyTypes, NUMBER_FORMAT_RANGES, BIGINT_FORMAT_RANGES, highSurrogate, installing, broke = false, breaker, CONSTANT_CATCH = "~constantCatch";
|
|
573
|
+
var EVALUATING, captureStackTrace, allowsEval, propertyKeyTypes, NUMBER_FORMAT_RANGES, BIGINT_FORMAT_RANGES, highSurrogate, installing, broke = false, breaker, CONSTANT_CATCH = "~constantCatch";
|
|
553
574
|
var init_util = __esm(() => {
|
|
554
575
|
init_core();
|
|
576
|
+
EVALUATING = /* @__PURE__ */ Symbol("evaluating");
|
|
555
577
|
captureStackTrace = "captureStackTrace" in Error ? Error.captureStackTrace : (..._args) => {};
|
|
556
578
|
allowsEval = /* @__PURE__ */ cached(() => {
|
|
557
579
|
if (globalConfig.jitless) {
|
|
@@ -1862,7 +1884,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
1862
1884
|
payload.issues.push(issue(_iss));
|
|
1863
1885
|
}
|
|
1864
1886
|
}
|
|
1865
|
-
var $ZodType, toStandardResult = (r, ctx) => r.issues.length ? { issues: r.issues.map((iss) => finalizeIssue(iss, ctx, config())) } : { value: r.value }, $ZodString, $ZodStringFormat, $ZodGUID, $ZodUUID, $ZodEmail, URL_BAD_FORMAT = 1, URL_UNPARSEABLE = 2, asciiTabOrNewline, $ZodURL, $ZodEmoji, $ZodNanoID, $ZodCUID, $ZodCUID2, $ZodULID, $ZodXID, $ZodKSUID, $ZodISODateTime, $ZodISODate, $ZodISOTime, $ZodISODuration, $ZodIPv4, ipv6Alphabet, $ZodIPv6, $ZodCIDRv4, $ZodCIDRv6, base64Charset, $ZodBase64, base64urlCharset, $ZodBase64URL, $ZodE164, $ZodJWT, $ZodNumber, $ZodNumberFormat, $ZodBoolean, $ZodNull, $ZodAny, $ZodUnknown, $ZodNever, $ZodArray, NO_SYMBOL_KEYS, $ZodObject, $ZodObjectJIT, $ZodUnion, $ZodDiscriminatedUnion, $ZodIntersection, $ZodRecord, $ZodEnum, $ZodLiteral, $ZodTransform, $ZodOptional, $ZodExactOptional, $ZodNullable, $ZodDefault, $ZodPrefault, $ZodNonOptional, $ZodCatch, $ZodPipe, $ZodPreprocess, $ZodReadonly, $ZodCustom;
|
|
1887
|
+
var $ZodType, toStandardResult = (r, ctx) => r.issues.length ? { issues: r.issues.map((iss) => finalizeIssue(iss, ctx, config())) } : { value: r.value }, $ZodString, $ZodStringFormat, $ZodGUID, $ZodUUID, $ZodEmail, URL_BAD_FORMAT = 1, URL_UNPARSEABLE = 2, asciiTabOrNewline, $ZodURL, $ZodEmoji, $ZodNanoID, $ZodCUID, $ZodCUID2, $ZodULID, $ZodXID, $ZodKSUID, $ZodISODateTime, $ZodISODate, $ZodISOTime, $ZodISODuration, $ZodIPv4, ipv6Alphabet, $ZodIPv6, $ZodCIDRv4, $ZodCIDRv6, base64Charset, $ZodBase64, base64urlCharset, $ZodBase64URL, $ZodE164, $ZodJWT, $ZodNumber, $ZodNumberFormat, $ZodBoolean, $ZodNull, $ZodAny, $ZodUnknown, $ZodNever, $ZodArray, NO_SYMBOL_KEYS, $ZodObject, $ZodObjectJIT, $ZodUnion, $ZodDiscriminatedUnion, $ZodIntersection, $ZodRecord, $ZodEnum, $ZodLiteral, $ZodTransform, $ZodOptional, $ZodExactOptional, $ZodNullable, $ZodDefault, $ZodPrefault, $ZodNonOptional, $ZodCatch, $ZodPipe, $ZodPreprocess, $ZodReadonly, $ZodLazy, $ZodCustom;
|
|
1866
1888
|
var init_schemas = __esm(() => {
|
|
1867
1889
|
init_checks();
|
|
1868
1890
|
init_core();
|
|
@@ -3060,6 +3082,23 @@ var init_schemas = __esm(() => {
|
|
|
3060
3082
|
return handleReadonlyResult(result);
|
|
3061
3083
|
};
|
|
3062
3084
|
});
|
|
3085
|
+
$ZodLazy = /* @__PURE__ */ $constructor("$ZodLazy", (inst, def) => {
|
|
3086
|
+
$ZodType.init(inst, def);
|
|
3087
|
+
defineLazy(inst._zod, "innerType", () => {
|
|
3088
|
+
const d = def;
|
|
3089
|
+
if (!d._cachedInner)
|
|
3090
|
+
d._cachedInner = def.getter();
|
|
3091
|
+
return d._cachedInner;
|
|
3092
|
+
});
|
|
3093
|
+
defineLazyInternal(inst, "pattern", (zod) => zod.innerType?._zod?.pattern);
|
|
3094
|
+
defineLazyInternal(inst, "propValues", (zod) => zod.innerType?._zod?.propValues);
|
|
3095
|
+
defineLazyInternal(inst, "optin", (zod) => zod.innerType?._zod?.optin ?? undefined);
|
|
3096
|
+
defineLazyInternal(inst, "optout", (zod) => zod.innerType?._zod?.optout ?? undefined);
|
|
3097
|
+
inst._zod.parse = (payload, ctx) => {
|
|
3098
|
+
const inner = inst._zod.innerType;
|
|
3099
|
+
return inner._zod.run(payload, ctx);
|
|
3100
|
+
};
|
|
3101
|
+
});
|
|
3063
3102
|
$ZodCustom = /* @__PURE__ */ $constructor("$ZodCustom", (inst, def) => {
|
|
3064
3103
|
$ZodCheck.init(inst, def);
|
|
3065
3104
|
$ZodType.init(inst, def);
|
|
@@ -5552,6 +5591,12 @@ function readonly(innerType) {
|
|
|
5552
5591
|
innerType
|
|
5553
5592
|
});
|
|
5554
5593
|
}
|
|
5594
|
+
function lazy(getter) {
|
|
5595
|
+
return new ZodLazy({
|
|
5596
|
+
type: "lazy",
|
|
5597
|
+
getter
|
|
5598
|
+
});
|
|
5599
|
+
}
|
|
5555
5600
|
function custom(fn, _params) {
|
|
5556
5601
|
return _custom(ZodCustom, fn ?? (() => true), _params);
|
|
5557
5602
|
}
|
|
@@ -5568,7 +5613,7 @@ function preprocess(fn, schema) {
|
|
|
5568
5613
|
out: schema
|
|
5569
5614
|
});
|
|
5570
5615
|
}
|
|
5571
|
-
var ZodType, _ZodString, ZodString, ZodStringFormat, ZodISODateTime, ZodISODate, ZodISOTime, ZodISODuration, ZodEmail, ZodGUID, ZodUUID, ZodURL, ZodEmoji, ZodNanoID, ZodCUID, ZodCUID2, ZodULID, ZodXID, ZodKSUID, ZodIPv4, ZodIPv6, ZodCIDRv4, ZodCIDRv6, ZodBase64, ZodBase64URL, ZodE164, ZodJWT, ZodNumber, ZodNumberFormat, ZodBoolean, ZodNull, ZodAny, ZodUnknown, ZodNever, ZodArray, ZodObject, ZodUnion, ZodDiscriminatedUnion, ZodIntersection, ZodRecord, ZodEnum, ZodLiteral, ZodTransform, ZodOptional, ZodExactOptional, ZodNullable, ZodDefault, ZodPrefault, ZodNonOptional, ZodCatch, ZodPipe, ZodPreprocess, ZodReadonly, ZodCustom;
|
|
5616
|
+
var ZodType, _ZodString, ZodString, ZodStringFormat, ZodISODateTime, ZodISODate, ZodISOTime, ZodISODuration, ZodEmail, ZodGUID, ZodUUID, ZodURL, ZodEmoji, ZodNanoID, ZodCUID, ZodCUID2, ZodULID, ZodXID, ZodKSUID, ZodIPv4, ZodIPv6, ZodCIDRv4, ZodCIDRv6, ZodBase64, ZodBase64URL, ZodE164, ZodJWT, ZodNumber, ZodNumberFormat, ZodBoolean, ZodNull, ZodAny, ZodUnknown, ZodNever, ZodArray, ZodObject, ZodUnion, ZodDiscriminatedUnion, ZodIntersection, ZodRecord, ZodEnum, ZodLiteral, ZodTransform, ZodOptional, ZodExactOptional, ZodNullable, ZodDefault, ZodPrefault, ZodNonOptional, ZodCatch, ZodPipe, ZodPreprocess, ZodReadonly, ZodLazy, ZodCustom;
|
|
5572
5617
|
var init_schemas2 = __esm(() => {
|
|
5573
5618
|
init_core2();
|
|
5574
5619
|
init_core2();
|
|
@@ -6320,6 +6365,12 @@ var init_schemas2 = __esm(() => {
|
|
|
6320
6365
|
inst._zod.processJSONSchema = (ctx, json, params) => readonlyProcessor(inst, ctx, json, params);
|
|
6321
6366
|
inst.unwrap = () => inst._zod.def.innerType;
|
|
6322
6367
|
});
|
|
6368
|
+
ZodLazy = /* @__PURE__ */ $constructor("ZodLazy", (inst, def) => {
|
|
6369
|
+
$ZodLazy.init(inst, def);
|
|
6370
|
+
ZodType.init(inst, def);
|
|
6371
|
+
inst._zod.processJSONSchema = (ctx, json, params) => lazyProcessor(inst, ctx, json, params);
|
|
6372
|
+
inst.unwrap = () => inst._zod.def.getter();
|
|
6373
|
+
});
|
|
6323
6374
|
ZodCustom = /* @__PURE__ */ $constructor("ZodCustom", (inst, def) => {
|
|
6324
6375
|
$ZodCustom.init(inst, def);
|
|
6325
6376
|
ZodType.init(inst, def);
|
|
@@ -33300,7 +33351,7 @@ var handleResult = (ctx, result) => {
|
|
|
33300
33351
|
};
|
|
33301
33352
|
}
|
|
33302
33353
|
}, cuidRegex, cuid2Regex, ulidRegex, uuidRegex, nanoidRegex, jwtRegex, durationRegex, emailRegex, _emojiRegex = `^[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$`, emojiRegex, ipv4Regex, ipv4CidrRegex, ipv6Regex, ipv6CidrRegex, base64Regex, base64urlRegex, dateRegexSource = `((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))`, dateRegex, ZodString2, ZodNumber2, ZodBigInt2, ZodBoolean2, ZodDate2, ZodSymbol, ZodUndefined, ZodNull2, ZodAny2, ZodUnknown2, ZodNever2, ZodVoid, ZodArray2, ZodObject2, ZodUnion2, getDiscriminator = (type) => {
|
|
33303
|
-
if (type instanceof
|
|
33354
|
+
if (type instanceof ZodLazy2) {
|
|
33304
33355
|
return getDiscriminator(type.schema);
|
|
33305
33356
|
} else if (type instanceof ZodEffects) {
|
|
33306
33357
|
return getDiscriminator(type.innerType());
|
|
@@ -33329,7 +33380,7 @@ var handleResult = (ctx, result) => {
|
|
|
33329
33380
|
} else {
|
|
33330
33381
|
return [];
|
|
33331
33382
|
}
|
|
33332
|
-
}, ZodDiscriminatedUnion2, ZodIntersection2, ZodTuple, ZodRecord2, ZodMap, ZodSet, ZodFunction,
|
|
33383
|
+
}, ZodDiscriminatedUnion2, ZodIntersection2, ZodTuple, ZodRecord2, ZodMap, ZodSet, ZodFunction, ZodLazy2, ZodLiteral2, ZodEnum2, ZodNativeEnum, ZodPromise, ZodEffects, ZodOptional2, ZodNullable2, ZodDefault2, ZodCatch2, ZodNaN, BRAND, ZodBranded, ZodPipeline, ZodReadonly2, late, ZodFirstPartyTypeKind2, stringType, numberType, nanType, bigIntType, booleanType, dateType, symbolType, undefinedType, nullType, anyType, unknownType, neverType, voidType, arrayType, objectType, strictObjectType, unionType, discriminatedUnionType, intersectionType, tupleType, recordType, mapType, setType, functionType, lazyType, literalType, enumType, nativeEnumType, promiseType, effectsType, optionalType, nullableType, preprocessType, pipelineType;
|
|
33333
33384
|
var init_types2 = __esm(() => {
|
|
33334
33385
|
init_ZodError();
|
|
33335
33386
|
init_errors3();
|
|
@@ -35505,7 +35556,7 @@ var init_types2 = __esm(() => {
|
|
|
35505
35556
|
});
|
|
35506
35557
|
}
|
|
35507
35558
|
};
|
|
35508
|
-
|
|
35559
|
+
ZodLazy2 = class ZodLazy2 extends ZodType2 {
|
|
35509
35560
|
get schema() {
|
|
35510
35561
|
return this._def.getter();
|
|
35511
35562
|
}
|
|
@@ -35515,8 +35566,8 @@ var init_types2 = __esm(() => {
|
|
|
35515
35566
|
return lazySchema._parse({ data: ctx.data, path: ctx.path, parent: ctx });
|
|
35516
35567
|
}
|
|
35517
35568
|
};
|
|
35518
|
-
|
|
35519
|
-
return new
|
|
35569
|
+
ZodLazy2.create = (getter, params) => {
|
|
35570
|
+
return new ZodLazy2({
|
|
35520
35571
|
getter,
|
|
35521
35572
|
typeName: ZodFirstPartyTypeKind2.ZodLazy,
|
|
35522
35573
|
...processCreateParams(params)
|
|
@@ -36112,7 +36163,7 @@ var init_types2 = __esm(() => {
|
|
|
36112
36163
|
mapType = ZodMap.create;
|
|
36113
36164
|
setType = ZodSet.create;
|
|
36114
36165
|
functionType = ZodFunction.create;
|
|
36115
|
-
lazyType =
|
|
36166
|
+
lazyType = ZodLazy2.create;
|
|
36116
36167
|
literalType = ZodLiteral2.create;
|
|
36117
36168
|
enumType = ZodEnum2.create;
|
|
36118
36169
|
nativeEnumType = ZodNativeEnum.create;
|
|
@@ -52718,9 +52769,9 @@ var init_config = __esm(() => {
|
|
|
52718
52769
|
SDK_METADATA = {
|
|
52719
52770
|
language: "typescript",
|
|
52720
52771
|
openapiDocVersion: "1.0.0",
|
|
52721
|
-
sdkVersion: "0.
|
|
52772
|
+
sdkVersion: "0.3.0",
|
|
52722
52773
|
genVersion: "2.935.1",
|
|
52723
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.
|
|
52774
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.3.0 2.935.1 1.0.0 @lightsage/mcp"
|
|
52724
52775
|
};
|
|
52725
52776
|
});
|
|
52726
52777
|
|
|
@@ -55036,7 +55087,7 @@ var init_evalResultsV2EvalResultsList2 = __esm(() => {
|
|
|
55036
55087
|
name: "eval-results-v2-eval-results-list",
|
|
55037
55088
|
description: `List Results
|
|
55038
55089
|
|
|
55039
|
-
Returns completed custom-eval results from
|
|
55090
|
+
Returns completed custom-eval results from all supported run flows, ordered newest first. Result IDs are different from eval run IDs.`,
|
|
55040
55091
|
annotations: {
|
|
55041
55092
|
title: "",
|
|
55042
55093
|
destructiveHint: false,
|
|
@@ -55518,54 +55569,86 @@ Returns the status and progress of an eval job. Poll until the status reaches a
|
|
|
55518
55569
|
};
|
|
55519
55570
|
});
|
|
55520
55571
|
|
|
55521
|
-
// src/models/
|
|
55522
|
-
var
|
|
55523
|
-
var
|
|
55572
|
+
// src/models/v2evalrunanalysis.ts
|
|
55573
|
+
var V2EvalRunAnalysis$zodSchema;
|
|
55574
|
+
var init_v2evalrunanalysis = __esm(() => {
|
|
55575
|
+
init_zod();
|
|
55576
|
+
V2EvalRunAnalysis$zodSchema = object({
|
|
55577
|
+
agent_id: string2().nullable().optional().describe("Runnable agent ID used for this concrete attempt."),
|
|
55578
|
+
analysis: record(string2(), any()).optional().describe("Persisted eval_run_analysis payload, including verdict, outcome, findings, bottleneck, and analysis sections."),
|
|
55579
|
+
analysis_version: string2().nullable().optional().describe("Version of the analysis pipeline that produced this payload."),
|
|
55580
|
+
attempt_id: string2().describe("Child eval-attempt ID used to correlate the analysis with trace events."),
|
|
55581
|
+
created_at: string2().nullable().optional(),
|
|
55582
|
+
eval_id: string2().nullable().optional().describe("Public eval definition ID, not the backing executable eval ID."),
|
|
55583
|
+
id: string2().describe("Persisted eval analysis ID."),
|
|
55584
|
+
repeat_index: int().default(0).describe("Zero-based repeat index within the submitted run."),
|
|
55585
|
+
result_id: string2().describe("Concrete eval result ID analyzed for this attempt."),
|
|
55586
|
+
updated_at: string2().nullable().optional(),
|
|
55587
|
+
variant_key: string2().default("default").describe("Runtime variant that produced this result.")
|
|
55588
|
+
});
|
|
55589
|
+
});
|
|
55590
|
+
|
|
55591
|
+
// src/models/v2evalrunanalysisresponse.ts
|
|
55592
|
+
var V2EvalRunAnalysisResponse$zodSchema;
|
|
55593
|
+
var init_v2evalrunanalysisresponse = __esm(() => {
|
|
55594
|
+
init_zod();
|
|
55595
|
+
init_publicevalrunprogress();
|
|
55596
|
+
init_v2evalrunanalysis();
|
|
55597
|
+
V2EvalRunAnalysisResponse$zodSchema = object({
|
|
55598
|
+
data: array(V2EvalRunAnalysis$zodSchema).optional(),
|
|
55599
|
+
error: string2().nullable().optional(),
|
|
55600
|
+
progress: PublicEvalRunProgress$zodSchema.optional(),
|
|
55601
|
+
run_id: string2(),
|
|
55602
|
+
status: string2()
|
|
55603
|
+
});
|
|
55604
|
+
});
|
|
55605
|
+
|
|
55606
|
+
// src/models/v2evalrunsanalysisop.ts
|
|
55607
|
+
var V2EvalRunsAnalysisRequest$zodSchema, V2EvalRunsAnalysisResponseBody$zodSchema, V2EvalRunsAnalysisResponse$zodSchema;
|
|
55608
|
+
var init_v2evalrunsanalysisop = __esm(() => {
|
|
55524
55609
|
init_zod();
|
|
55525
55610
|
init_httpvalidationerror();
|
|
55526
|
-
|
|
55527
|
-
|
|
55528
|
-
|
|
55529
|
-
|
|
55530
|
-
|
|
55531
|
-
|
|
55532
|
-
|
|
55533
|
-
|
|
55534
|
-
|
|
55535
|
-
|
|
55536
|
-
V2EvalRunsMonitorResponse$zodSchema = union([
|
|
55537
|
-
string2().describe("A server-sent event stream of eval-run status and activity."),
|
|
55611
|
+
init_v2evalrunanalysisresponse();
|
|
55612
|
+
V2EvalRunsAnalysisRequest$zodSchema = object({
|
|
55613
|
+
run_id: string2()
|
|
55614
|
+
});
|
|
55615
|
+
V2EvalRunsAnalysisResponseBody$zodSchema = object({
|
|
55616
|
+
detail: string2()
|
|
55617
|
+
}).describe("Eval run not found. Use the run ID returned when you started the eval.");
|
|
55618
|
+
V2EvalRunsAnalysisResponse$zodSchema = union([
|
|
55619
|
+
V2EvalRunAnalysisResponse$zodSchema,
|
|
55620
|
+
lazy(() => V2EvalRunsAnalysisResponseBody$zodSchema),
|
|
55538
55621
|
HTTPValidationError$zodSchema
|
|
55539
55622
|
]);
|
|
55540
55623
|
});
|
|
55541
55624
|
|
|
55542
|
-
// src/funcs/
|
|
55543
|
-
function
|
|
55625
|
+
// src/funcs/evalsAnalysis.ts
|
|
55626
|
+
function evalsAnalysis(client$, request, options) {
|
|
55544
55627
|
return new APIPromise($do11(client$, request, options));
|
|
55545
55628
|
}
|
|
55546
55629
|
async function $do11(client$, request, options) {
|
|
55547
|
-
const parsed$ = safeParse4(request, (value$) =>
|
|
55630
|
+
const parsed$ = safeParse4(request, (value$) => V2EvalRunsAnalysisRequest$zodSchema.parse(value$), "Input validation failed");
|
|
55548
55631
|
if (!parsed$.ok) {
|
|
55549
55632
|
return [parsed$, { status: "invalid" }];
|
|
55550
55633
|
}
|
|
55551
55634
|
const payload$ = parsed$.value;
|
|
55552
55635
|
const body$ = null;
|
|
55553
|
-
const
|
|
55554
|
-
|
|
55555
|
-
|
|
55556
|
-
|
|
55557
|
-
|
|
55558
|
-
|
|
55559
|
-
});
|
|
55636
|
+
const pathParams$ = {
|
|
55637
|
+
run_id: encodeSimple("run_id", payload$.run_id, {
|
|
55638
|
+
explode: false,
|
|
55639
|
+
charEncoding: "percent"
|
|
55640
|
+
})
|
|
55641
|
+
};
|
|
55642
|
+
const path$ = pathToFunc("/v2/eval-runs/{run_id}/analysis")(pathParams$);
|
|
55560
55643
|
const headers$ = new Headers(compactMap({
|
|
55561
|
-
Accept:
|
|
55644
|
+
Accept: "application/json"
|
|
55562
55645
|
}));
|
|
55563
55646
|
const securityInput = await extractSecurity(client$._options.security);
|
|
55564
55647
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
55565
55648
|
const context = {
|
|
55566
55649
|
options: client$._options,
|
|
55567
55650
|
baseURL: options?.serverURL ?? client$._baseURL ?? "",
|
|
55568
|
-
operationID: "
|
|
55651
|
+
operationID: "v2_eval_runs_analysis",
|
|
55569
55652
|
oAuth2Scopes: null,
|
|
55570
55653
|
resolvedSecurity: requestSecurity,
|
|
55571
55654
|
securitySource: client$._options.security,
|
|
@@ -55584,7 +55667,6 @@ async function $do11(client$, request, options) {
|
|
|
55584
55667
|
baseURL: options?.serverURL,
|
|
55585
55668
|
path: path$,
|
|
55586
55669
|
headers: headers$,
|
|
55587
|
-
query: query$,
|
|
55588
55670
|
body: body$,
|
|
55589
55671
|
userAgent: client$._options.userAgent,
|
|
55590
55672
|
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
@@ -55608,30 +55690,30 @@ async function $do11(client$, request, options) {
|
|
|
55608
55690
|
response: doResult.value
|
|
55609
55691
|
}];
|
|
55610
55692
|
}
|
|
55611
|
-
var
|
|
55693
|
+
var init_evalsAnalysis = __esm(() => {
|
|
55612
55694
|
init_encodings();
|
|
55613
55695
|
init_primitives();
|
|
55614
55696
|
init_schemas4();
|
|
55615
55697
|
init_security();
|
|
55616
55698
|
init_url();
|
|
55617
|
-
|
|
55699
|
+
init_v2evalrunsanalysisop();
|
|
55618
55700
|
init_async();
|
|
55619
55701
|
});
|
|
55620
55702
|
|
|
55621
|
-
// src/mcp-server/tools/
|
|
55622
|
-
var args8, tool$
|
|
55623
|
-
var
|
|
55624
|
-
|
|
55625
|
-
|
|
55703
|
+
// src/mcp-server/tools/evalsAnalysis.ts
|
|
55704
|
+
var args8, tool$evalsAnalysis;
|
|
55705
|
+
var init_evalsAnalysis2 = __esm(() => {
|
|
55706
|
+
init_evalsAnalysis();
|
|
55707
|
+
init_v2evalrunsanalysisop();
|
|
55626
55708
|
init_tools();
|
|
55627
55709
|
args8 = {
|
|
55628
|
-
request:
|
|
55710
|
+
request: V2EvalRunsAnalysisRequest$zodSchema
|
|
55629
55711
|
};
|
|
55630
|
-
tool$
|
|
55631
|
-
name: "evals-
|
|
55632
|
-
description: `
|
|
55712
|
+
tool$evalsAnalysis = {
|
|
55713
|
+
name: "evals-analysis",
|
|
55714
|
+
description: `Retrieve eval run analysis
|
|
55633
55715
|
|
|
55634
|
-
|
|
55716
|
+
Returns the persisted analysis produced for each completed attempt in one eval run. The analysis includes the verdict, outcome explanation, findings, bottleneck, and analysis sections. Active runs return the analysis available so far together with current run status and progress.`,
|
|
55635
55717
|
annotations: {
|
|
55636
55718
|
title: "",
|
|
55637
55719
|
destructiveHint: false,
|
|
@@ -55641,7 +55723,7 @@ Streams an immediate snapshot followed by live status and sanitized activity for
|
|
|
55641
55723
|
},
|
|
55642
55724
|
args: args8,
|
|
55643
55725
|
tool: async (client, args, ctx) => {
|
|
55644
|
-
const [result] = await
|
|
55726
|
+
const [result] = await evalsAnalysis(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55645
55727
|
if (!result.ok) {
|
|
55646
55728
|
return {
|
|
55647
55729
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55658,15 +55740,15 @@ var CreateV2EvalRunRequest$zodSchema;
|
|
|
55658
55740
|
var init_createv2evalrunrequest = __esm(() => {
|
|
55659
55741
|
init_zod();
|
|
55660
55742
|
CreateV2EvalRunRequest$zodSchema = object({
|
|
55661
|
-
agent_id: string2().describe("Runnable agent ID from `GET /v2/agents`."),
|
|
55662
|
-
configuration_id: string2().optional().describe("Saved runtime configuration
|
|
55663
|
-
env: record(string2(), string2()).optional().describe("Write-only environment variables
|
|
55664
|
-
eval_id: string2().optional().describe("Existing eval definition to run. Omit to create
|
|
55665
|
-
judges: array(string2()).optional().describe("
|
|
55666
|
-
prompt: string2().optional().describe("Task prompt
|
|
55667
|
-
repository: string2().optional().describe("
|
|
55668
|
-
skills: array(string2()).optional().describe("
|
|
55669
|
-
});
|
|
55743
|
+
agent_id: string2().describe("Required in both request forms. Runnable agent ID from `GET /v2/agents`."),
|
|
55744
|
+
configuration_id: string2().optional().describe("Saved-run form only. Saved runtime configuration; required when `eval_id` is provided."),
|
|
55745
|
+
env: record(string2(), string2()).optional().describe("Direct create-and-run form only. Write-only environment variables; values are stored only in the queued job's private configuration."),
|
|
55746
|
+
eval_id: string2().optional().describe("Saved-run form only. Existing eval definition to run. Omit this field to use the direct create-and-run form."),
|
|
55747
|
+
judges: array(string2()).optional().describe("Direct create-and-run form only. Provide at least one success criterion. CLI clients may expose this string array as a repeatable `--judge` flag."),
|
|
55748
|
+
prompt: string2().optional().describe("Direct create-and-run form only. Task prompt; required when `eval_id` is omitted."),
|
|
55749
|
+
repository: string2().optional().describe("Direct create-and-run form only. A saved repository ID, built-in alias such as `nextjs-starter`, or a public GitHub HTTPS URL."),
|
|
55750
|
+
skills: array(string2()).optional().describe("Additional public skill packages to install before the agent starts in either request form, using GitHub `owner/repository` references such as `resend/resend-skills`. CLI clients may expose this string array as a repeatable `--skill` flag.")
|
|
55751
|
+
}).describe("Start an eval run using one of two flat request forms. Saved runs require `eval_id`, `configuration_id`, and `agent_id`. Direct create-and-run requests require `prompt`, at least one item in `judges`, and `agent_id`. Do not combine saved-run and direct-run fields; no separate mode field is required.");
|
|
55670
55752
|
});
|
|
55671
55753
|
|
|
55672
55754
|
// src/funcs/evalsRun.ts
|
|
@@ -55753,9 +55835,16 @@ var init_evalsRun2 = __esm(() => {
|
|
|
55753
55835
|
};
|
|
55754
55836
|
tool$evalsRun = {
|
|
55755
55837
|
name: "evals-run",
|
|
55756
|
-
description: `
|
|
55838
|
+
description: `Start an eval run
|
|
55839
|
+
|
|
55840
|
+
Queues a durable eval job and returns immediately with a polling ID. Poll \`GET /v2/eval-runs/{run_id}\` until its status reaches a terminal value.
|
|
55841
|
+
|
|
55842
|
+
Send one of these flat request forms:
|
|
55757
55843
|
|
|
55758
|
-
|
|
55844
|
+
- **Saved eval:** provide \`eval_id\`, \`configuration_id\`, and \`agent_id\`.
|
|
55845
|
+
- **Direct create-and-run:** provide \`prompt\`, \`judges\`, and \`agent_id\`. You may also provide a repository, write-only environment variables, and public skill packages.
|
|
55846
|
+
|
|
55847
|
+
Do not combine saved-run and direct-run fields. No separate \`mode\` field is required.`,
|
|
55759
55848
|
annotations: {
|
|
55760
55849
|
title: "",
|
|
55761
55850
|
destructiveHint: false,
|
|
@@ -55777,6 +55866,183 @@ Queues a durable eval job and returns immediately with a polling ID. Poll \`GET
|
|
|
55777
55866
|
};
|
|
55778
55867
|
});
|
|
55779
55868
|
|
|
55869
|
+
// src/models/v2evalruntraceevent.ts
|
|
55870
|
+
var V2EvalRunTraceEvent$zodSchema;
|
|
55871
|
+
var init_v2evalruntraceevent = __esm(() => {
|
|
55872
|
+
init_zod();
|
|
55873
|
+
V2EvalRunTraceEvent$zodSchema = object({
|
|
55874
|
+
agent_id: string2().nullable().optional(),
|
|
55875
|
+
agent_name: string2().nullable().optional(),
|
|
55876
|
+
category: string2(),
|
|
55877
|
+
child_job_id: string2().describe("Child eval-attempt ID associated with the event."),
|
|
55878
|
+
configuration_id: string2().nullable().optional(),
|
|
55879
|
+
data: record(string2(), any()).optional().describe("Sanitized event payload."),
|
|
55880
|
+
eval_id: string2().nullable().optional(),
|
|
55881
|
+
eval_name: string2().nullable().optional(),
|
|
55882
|
+
event_id: int(),
|
|
55883
|
+
message: string2(),
|
|
55884
|
+
run_id: string2(),
|
|
55885
|
+
timestamp: string2().nullable().optional(),
|
|
55886
|
+
type: string2()
|
|
55887
|
+
});
|
|
55888
|
+
});
|
|
55889
|
+
|
|
55890
|
+
// src/models/v2evalruntraceresponse.ts
|
|
55891
|
+
var V2EvalRunTraceResponse$zodSchema;
|
|
55892
|
+
var init_v2evalruntraceresponse = __esm(() => {
|
|
55893
|
+
init_zod();
|
|
55894
|
+
init_publicevalrunprogress();
|
|
55895
|
+
init_v2evalruntraceevent();
|
|
55896
|
+
V2EvalRunTraceResponse$zodSchema = object({
|
|
55897
|
+
data: array(V2EvalRunTraceEvent$zodSchema).optional(),
|
|
55898
|
+
error: string2().nullable().optional(),
|
|
55899
|
+
has_more: boolean2(),
|
|
55900
|
+
next_after_id: int().describe("Cursor to pass as `after_id` when requesting the next page."),
|
|
55901
|
+
progress: PublicEvalRunProgress$zodSchema.optional(),
|
|
55902
|
+
run_id: string2(),
|
|
55903
|
+
status: string2()
|
|
55904
|
+
});
|
|
55905
|
+
});
|
|
55906
|
+
|
|
55907
|
+
// src/models/v2evalrunstraceop.ts
|
|
55908
|
+
var V2EvalRunsTraceRequest$zodSchema, V2EvalRunsTraceResponseBody$zodSchema, V2EvalRunsTraceResponse$zodSchema;
|
|
55909
|
+
var init_v2evalrunstraceop = __esm(() => {
|
|
55910
|
+
init_zod();
|
|
55911
|
+
init_httpvalidationerror();
|
|
55912
|
+
init_v2evalruntraceresponse();
|
|
55913
|
+
V2EvalRunsTraceRequest$zodSchema = object({
|
|
55914
|
+
after_id: int().default(0).describe("Return events with IDs greater than this cursor."),
|
|
55915
|
+
limit: int().default(500).describe("Maximum number of trace events to return."),
|
|
55916
|
+
run_id: string2()
|
|
55917
|
+
});
|
|
55918
|
+
V2EvalRunsTraceResponseBody$zodSchema = object({
|
|
55919
|
+
detail: string2()
|
|
55920
|
+
}).describe("Eval run not found. Use the run ID returned when you started the eval.");
|
|
55921
|
+
V2EvalRunsTraceResponse$zodSchema = union([
|
|
55922
|
+
V2EvalRunTraceResponse$zodSchema,
|
|
55923
|
+
lazy(() => V2EvalRunsTraceResponseBody$zodSchema),
|
|
55924
|
+
HTTPValidationError$zodSchema
|
|
55925
|
+
]);
|
|
55926
|
+
});
|
|
55927
|
+
|
|
55928
|
+
// src/funcs/evalsTrace.ts
|
|
55929
|
+
function evalsTrace(client$, request, options) {
|
|
55930
|
+
return new APIPromise($do13(client$, request, options));
|
|
55931
|
+
}
|
|
55932
|
+
async function $do13(client$, request, options) {
|
|
55933
|
+
const parsed$ = safeParse4(request, (value$) => V2EvalRunsTraceRequest$zodSchema.parse(value$), "Input validation failed");
|
|
55934
|
+
if (!parsed$.ok) {
|
|
55935
|
+
return [parsed$, { status: "invalid" }];
|
|
55936
|
+
}
|
|
55937
|
+
const payload$ = parsed$.value;
|
|
55938
|
+
const body$ = null;
|
|
55939
|
+
const pathParams$ = {
|
|
55940
|
+
run_id: encodeSimple("run_id", payload$.run_id, {
|
|
55941
|
+
explode: false,
|
|
55942
|
+
charEncoding: "percent"
|
|
55943
|
+
})
|
|
55944
|
+
};
|
|
55945
|
+
const path$ = pathToFunc("/v2/eval-runs/{run_id}/trace")(pathParams$);
|
|
55946
|
+
const query$ = encodeFormQuery({
|
|
55947
|
+
after_id: payload$.after_id,
|
|
55948
|
+
limit: payload$.limit
|
|
55949
|
+
});
|
|
55950
|
+
const headers$ = new Headers(compactMap({
|
|
55951
|
+
Accept: "application/json"
|
|
55952
|
+
}));
|
|
55953
|
+
const securityInput = await extractSecurity(client$._options.security);
|
|
55954
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
55955
|
+
const context = {
|
|
55956
|
+
options: client$._options,
|
|
55957
|
+
baseURL: options?.serverURL ?? client$._baseURL ?? "",
|
|
55958
|
+
operationID: "v2_eval_runs_trace",
|
|
55959
|
+
oAuth2Scopes: null,
|
|
55960
|
+
resolvedSecurity: requestSecurity,
|
|
55961
|
+
securitySource: client$._options.security,
|
|
55962
|
+
retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
|
|
55963
|
+
retryCodes: options?.retryCodes || [
|
|
55964
|
+
"429",
|
|
55965
|
+
"500",
|
|
55966
|
+
"502",
|
|
55967
|
+
"503",
|
|
55968
|
+
"504"
|
|
55969
|
+
]
|
|
55970
|
+
};
|
|
55971
|
+
const requestRes = client$._createRequest(context, {
|
|
55972
|
+
security: requestSecurity,
|
|
55973
|
+
method: "GET",
|
|
55974
|
+
baseURL: options?.serverURL,
|
|
55975
|
+
path: path$,
|
|
55976
|
+
headers: headers$,
|
|
55977
|
+
query: query$,
|
|
55978
|
+
body: body$,
|
|
55979
|
+
userAgent: client$._options.userAgent,
|
|
55980
|
+
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
55981
|
+
}, options);
|
|
55982
|
+
if (!requestRes.ok) {
|
|
55983
|
+
return [requestRes, { status: "invalid" }];
|
|
55984
|
+
}
|
|
55985
|
+
const req$ = requestRes.value;
|
|
55986
|
+
const doResult = await client$._do(req$, {
|
|
55987
|
+
context,
|
|
55988
|
+
errorCodes: [],
|
|
55989
|
+
retryConfig: context.retryConfig,
|
|
55990
|
+
retryCodes: context.retryCodes
|
|
55991
|
+
});
|
|
55992
|
+
if (!doResult.ok) {
|
|
55993
|
+
return [doResult, { status: "request-error", request: req$ }];
|
|
55994
|
+
}
|
|
55995
|
+
return [doResult, {
|
|
55996
|
+
status: "complete",
|
|
55997
|
+
request: req$,
|
|
55998
|
+
response: doResult.value
|
|
55999
|
+
}];
|
|
56000
|
+
}
|
|
56001
|
+
var init_evalsTrace = __esm(() => {
|
|
56002
|
+
init_encodings();
|
|
56003
|
+
init_primitives();
|
|
56004
|
+
init_schemas4();
|
|
56005
|
+
init_security();
|
|
56006
|
+
init_url();
|
|
56007
|
+
init_v2evalrunstraceop();
|
|
56008
|
+
init_async();
|
|
56009
|
+
});
|
|
56010
|
+
|
|
56011
|
+
// src/mcp-server/tools/evalsTrace.ts
|
|
56012
|
+
var args10, tool$evalsTrace;
|
|
56013
|
+
var init_evalsTrace2 = __esm(() => {
|
|
56014
|
+
init_evalsTrace();
|
|
56015
|
+
init_v2evalrunstraceop();
|
|
56016
|
+
init_tools();
|
|
56017
|
+
args10 = {
|
|
56018
|
+
request: V2EvalRunsTraceRequest$zodSchema
|
|
56019
|
+
};
|
|
56020
|
+
tool$evalsTrace = {
|
|
56021
|
+
name: "evals-trace",
|
|
56022
|
+
description: `Retrieve an eval run trace
|
|
56023
|
+
|
|
56024
|
+
Returns a finite page of sanitized execution events for one eval run. Use \`next_after_id\` as \`after_id\` to retrieve the next page. Use the monitor operation instead when following a run live.`,
|
|
56025
|
+
annotations: {
|
|
56026
|
+
title: "",
|
|
56027
|
+
destructiveHint: false,
|
|
56028
|
+
idempotentHint: false,
|
|
56029
|
+
openWorldHint: false,
|
|
56030
|
+
readOnlyHint: true
|
|
56031
|
+
},
|
|
56032
|
+
args: args10,
|
|
56033
|
+
tool: async (client, args, ctx) => {
|
|
56034
|
+
const [result] = await evalsTrace(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56035
|
+
if (!result.ok) {
|
|
56036
|
+
return {
|
|
56037
|
+
content: [{ type: "text", text: result.error.message }],
|
|
56038
|
+
isError: true
|
|
56039
|
+
};
|
|
56040
|
+
}
|
|
56041
|
+
return formatResult(result.value);
|
|
56042
|
+
}
|
|
56043
|
+
};
|
|
56044
|
+
});
|
|
56045
|
+
|
|
55780
56046
|
// src/models/createv2evalconfigurationrequest.ts
|
|
55781
56047
|
var CreateV2EvalConfigurationRequest$zodSchema;
|
|
55782
56048
|
var init_createv2evalconfigurationrequest = __esm(() => {
|
|
@@ -55832,9 +56098,9 @@ var init_v2evalconfigurationscreateop = __esm(() => {
|
|
|
55832
56098
|
|
|
55833
56099
|
// src/funcs/evalsV2EvalConfigurationsCreate.ts
|
|
55834
56100
|
function evalsV2EvalConfigurationsCreate(client$, request, options) {
|
|
55835
|
-
return new APIPromise($
|
|
56101
|
+
return new APIPromise($do14(client$, request, options));
|
|
55836
56102
|
}
|
|
55837
|
-
async function $
|
|
56103
|
+
async function $do14(client$, request, options) {
|
|
55838
56104
|
const parsed$ = safeParse4(request, (value$) => V2EvalConfigurationsCreateRequest$zodSchema.parse(value$), "Input validation failed");
|
|
55839
56105
|
if (!parsed$.ok) {
|
|
55840
56106
|
return [parsed$, { status: "invalid" }];
|
|
@@ -55910,12 +56176,12 @@ var init_evalsV2EvalConfigurationsCreate = __esm(() => {
|
|
|
55910
56176
|
});
|
|
55911
56177
|
|
|
55912
56178
|
// src/mcp-server/tools/evalsV2EvalConfigurationsCreate.ts
|
|
55913
|
-
var
|
|
56179
|
+
var args11, tool$evalsV2EvalConfigurationsCreate;
|
|
55914
56180
|
var init_evalsV2EvalConfigurationsCreate2 = __esm(() => {
|
|
55915
56181
|
init_evalsV2EvalConfigurationsCreate();
|
|
55916
56182
|
init_v2evalconfigurationscreateop();
|
|
55917
56183
|
init_tools();
|
|
55918
|
-
|
|
56184
|
+
args11 = {
|
|
55919
56185
|
request: V2EvalConfigurationsCreateRequest$zodSchema
|
|
55920
56186
|
};
|
|
55921
56187
|
tool$evalsV2EvalConfigurationsCreate = {
|
|
@@ -55930,7 +56196,7 @@ Creates a saved runtime configuration that pairs an eval with a repository, envi
|
|
|
55930
56196
|
openWorldHint: false,
|
|
55931
56197
|
readOnlyHint: false
|
|
55932
56198
|
},
|
|
55933
|
-
args:
|
|
56199
|
+
args: args11,
|
|
55934
56200
|
tool: async (client, args, ctx) => {
|
|
55935
56201
|
const [result] = await evalsV2EvalConfigurationsCreate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55936
56202
|
if (!result.ok) {
|
|
@@ -55962,9 +56228,9 @@ var init_v2evalconfigurationsdeleteop = __esm(() => {
|
|
|
55962
56228
|
|
|
55963
56229
|
// src/funcs/evalsV2EvalConfigurationsDelete.ts
|
|
55964
56230
|
function evalsV2EvalConfigurationsDelete(client$, request, options) {
|
|
55965
|
-
return new APIPromise($
|
|
56231
|
+
return new APIPromise($do15(client$, request, options));
|
|
55966
56232
|
}
|
|
55967
|
-
async function $
|
|
56233
|
+
async function $do15(client$, request, options) {
|
|
55968
56234
|
const parsed$ = safeParse4(request, (value$) => V2EvalConfigurationsDeleteRequest$zodSchema.parse(value$), "Input validation failed");
|
|
55969
56235
|
if (!parsed$.ok) {
|
|
55970
56236
|
return [parsed$, { status: "invalid" }];
|
|
@@ -56040,12 +56306,12 @@ var init_evalsV2EvalConfigurationsDelete = __esm(() => {
|
|
|
56040
56306
|
});
|
|
56041
56307
|
|
|
56042
56308
|
// src/mcp-server/tools/evalsV2EvalConfigurationsDelete.ts
|
|
56043
|
-
var
|
|
56309
|
+
var args12, tool$evalsV2EvalConfigurationsDelete;
|
|
56044
56310
|
var init_evalsV2EvalConfigurationsDelete2 = __esm(() => {
|
|
56045
56311
|
init_evalsV2EvalConfigurationsDelete();
|
|
56046
56312
|
init_v2evalconfigurationsdeleteop();
|
|
56047
56313
|
init_tools();
|
|
56048
|
-
|
|
56314
|
+
args12 = {
|
|
56049
56315
|
request: V2EvalConfigurationsDeleteRequest$zodSchema
|
|
56050
56316
|
};
|
|
56051
56317
|
tool$evalsV2EvalConfigurationsDelete = {
|
|
@@ -56060,7 +56326,7 @@ Permanently deletes an eval configuration and returns its last saved state.`,
|
|
|
56060
56326
|
openWorldHint: false,
|
|
56061
56327
|
readOnlyHint: false
|
|
56062
56328
|
},
|
|
56063
|
-
args:
|
|
56329
|
+
args: args12,
|
|
56064
56330
|
tool: async (client, args, ctx) => {
|
|
56065
56331
|
const [result] = await evalsV2EvalConfigurationsDelete(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56066
56332
|
if (!result.ok) {
|
|
@@ -56102,9 +56368,9 @@ var init_v2evalconfigurationslistop = __esm(() => {
|
|
|
56102
56368
|
|
|
56103
56369
|
// src/funcs/evalsV2EvalConfigurationsList.ts
|
|
56104
56370
|
function evalsV2EvalConfigurationsList(client$, request, options) {
|
|
56105
|
-
return new APIPromise($
|
|
56371
|
+
return new APIPromise($do16(client$, request, options));
|
|
56106
56372
|
}
|
|
56107
|
-
async function $
|
|
56373
|
+
async function $do16(client$, request, options) {
|
|
56108
56374
|
const parsed$ = safeParse4(request, (value$) => V2EvalConfigurationsListRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56109
56375
|
if (!parsed$.ok) {
|
|
56110
56376
|
return [parsed$, { status: "invalid" }];
|
|
@@ -56179,12 +56445,12 @@ var init_evalsV2EvalConfigurationsList = __esm(() => {
|
|
|
56179
56445
|
});
|
|
56180
56446
|
|
|
56181
56447
|
// src/mcp-server/tools/evalsV2EvalConfigurationsList.ts
|
|
56182
|
-
var
|
|
56448
|
+
var args13, tool$evalsV2EvalConfigurationsList;
|
|
56183
56449
|
var init_evalsV2EvalConfigurationsList2 = __esm(() => {
|
|
56184
56450
|
init_evalsV2EvalConfigurationsList();
|
|
56185
56451
|
init_v2evalconfigurationslistop();
|
|
56186
56452
|
init_tools();
|
|
56187
|
-
|
|
56453
|
+
args13 = {
|
|
56188
56454
|
request: V2EvalConfigurationsListRequest$zodSchema
|
|
56189
56455
|
};
|
|
56190
56456
|
tool$evalsV2EvalConfigurationsList = {
|
|
@@ -56199,7 +56465,7 @@ Returns the saved runtime configurations for an eval, including repository, envi
|
|
|
56199
56465
|
openWorldHint: false,
|
|
56200
56466
|
readOnlyHint: true
|
|
56201
56467
|
},
|
|
56202
|
-
args:
|
|
56468
|
+
args: args13,
|
|
56203
56469
|
tool: async (client, args, ctx) => {
|
|
56204
56470
|
const [result] = await evalsV2EvalConfigurationsList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56205
56471
|
if (!result.ok) {
|
|
@@ -56231,9 +56497,9 @@ var init_v2evalconfigurationsretrieveop = __esm(() => {
|
|
|
56231
56497
|
|
|
56232
56498
|
// src/funcs/evalsV2EvalConfigurationsRetrieve.ts
|
|
56233
56499
|
function evalsV2EvalConfigurationsRetrieve(client$, request, options) {
|
|
56234
|
-
return new APIPromise($
|
|
56500
|
+
return new APIPromise($do17(client$, request, options));
|
|
56235
56501
|
}
|
|
56236
|
-
async function $
|
|
56502
|
+
async function $do17(client$, request, options) {
|
|
56237
56503
|
const parsed$ = safeParse4(request, (value$) => V2EvalConfigurationsRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56238
56504
|
if (!parsed$.ok) {
|
|
56239
56505
|
return [parsed$, { status: "invalid" }];
|
|
@@ -56309,12 +56575,12 @@ var init_evalsV2EvalConfigurationsRetrieve = __esm(() => {
|
|
|
56309
56575
|
});
|
|
56310
56576
|
|
|
56311
56577
|
// src/mcp-server/tools/evalsV2EvalConfigurationsRetrieve.ts
|
|
56312
|
-
var
|
|
56578
|
+
var args14, tool$evalsV2EvalConfigurationsRetrieve;
|
|
56313
56579
|
var init_evalsV2EvalConfigurationsRetrieve2 = __esm(() => {
|
|
56314
56580
|
init_evalsV2EvalConfigurationsRetrieve();
|
|
56315
56581
|
init_v2evalconfigurationsretrieveop();
|
|
56316
56582
|
init_tools();
|
|
56317
|
-
|
|
56583
|
+
args14 = {
|
|
56318
56584
|
request: V2EvalConfigurationsRetrieveRequest$zodSchema
|
|
56319
56585
|
};
|
|
56320
56586
|
tool$evalsV2EvalConfigurationsRetrieve = {
|
|
@@ -56329,7 +56595,7 @@ Returns one saved configuration for an eval.`,
|
|
|
56329
56595
|
openWorldHint: false,
|
|
56330
56596
|
readOnlyHint: true
|
|
56331
56597
|
},
|
|
56332
|
-
args:
|
|
56598
|
+
args: args14,
|
|
56333
56599
|
tool: async (client, args, ctx) => {
|
|
56334
56600
|
const [result] = await evalsV2EvalConfigurationsRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56335
56601
|
if (!result.ok) {
|
|
@@ -56379,9 +56645,9 @@ var init_v2evalconfigurationsupdateop = __esm(() => {
|
|
|
56379
56645
|
|
|
56380
56646
|
// src/funcs/evalsV2EvalConfigurationsUpdate.ts
|
|
56381
56647
|
function evalsV2EvalConfigurationsUpdate(client$, request, options) {
|
|
56382
|
-
return new APIPromise($
|
|
56648
|
+
return new APIPromise($do18(client$, request, options));
|
|
56383
56649
|
}
|
|
56384
|
-
async function $
|
|
56650
|
+
async function $do18(client$, request, options) {
|
|
56385
56651
|
const parsed$ = safeParse4(request, (value$) => V2EvalConfigurationsUpdateRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56386
56652
|
if (!parsed$.ok) {
|
|
56387
56653
|
return [parsed$, { status: "invalid" }];
|
|
@@ -56458,12 +56724,12 @@ var init_evalsV2EvalConfigurationsUpdate = __esm(() => {
|
|
|
56458
56724
|
});
|
|
56459
56725
|
|
|
56460
56726
|
// src/mcp-server/tools/evalsV2EvalConfigurationsUpdate.ts
|
|
56461
|
-
var
|
|
56727
|
+
var args15, tool$evalsV2EvalConfigurationsUpdate;
|
|
56462
56728
|
var init_evalsV2EvalConfigurationsUpdate2 = __esm(() => {
|
|
56463
56729
|
init_evalsV2EvalConfigurationsUpdate();
|
|
56464
56730
|
init_v2evalconfigurationsupdateop();
|
|
56465
56731
|
init_tools();
|
|
56466
|
-
|
|
56732
|
+
args15 = {
|
|
56467
56733
|
request: V2EvalConfigurationsUpdateRequest$zodSchema
|
|
56468
56734
|
};
|
|
56469
56735
|
tool$evalsV2EvalConfigurationsUpdate = {
|
|
@@ -56478,7 +56744,7 @@ Updates an eval configuration; omitted fields remain unchanged.`,
|
|
|
56478
56744
|
openWorldHint: false,
|
|
56479
56745
|
readOnlyHint: false
|
|
56480
56746
|
},
|
|
56481
|
-
args:
|
|
56747
|
+
args: args15,
|
|
56482
56748
|
tool: async (client, args, ctx) => {
|
|
56483
56749
|
const [result] = await evalsV2EvalConfigurationsUpdate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56484
56750
|
if (!result.ok) {
|
|
@@ -56492,20 +56758,10 @@ Updates an eval configuration; omitted fields remain unchanged.`,
|
|
|
56492
56758
|
};
|
|
56493
56759
|
});
|
|
56494
56760
|
|
|
56495
|
-
// src/models/v2evaljudge.ts
|
|
56496
|
-
var V2EvalJudge$zodSchema;
|
|
56497
|
-
var init_v2evaljudge = __esm(() => {
|
|
56498
|
-
init_zod();
|
|
56499
|
-
V2EvalJudge$zodSchema = object({
|
|
56500
|
-
criteria: string2().describe("The outcome that counts as success.")
|
|
56501
|
-
});
|
|
56502
|
-
});
|
|
56503
|
-
|
|
56504
56761
|
// src/models/createv2evalrequest.ts
|
|
56505
56762
|
var CreateV2EvalRequestType$zodSchema, CreateV2EvalRequest$zodSchema;
|
|
56506
56763
|
var init_createv2evalrequest = __esm(() => {
|
|
56507
56764
|
init_zod();
|
|
56508
|
-
init_v2evaljudge();
|
|
56509
56765
|
CreateV2EvalRequestType$zodSchema = _enum([
|
|
56510
56766
|
"workflow",
|
|
56511
56767
|
"mcp",
|
|
@@ -56514,7 +56770,7 @@ var init_createv2evalrequest = __esm(() => {
|
|
|
56514
56770
|
]);
|
|
56515
56771
|
CreateV2EvalRequest$zodSchema = object({
|
|
56516
56772
|
cli_id: string2().optional(),
|
|
56517
|
-
judge:
|
|
56773
|
+
judge: string2().describe("Plain-text outcome that counts as success."),
|
|
56518
56774
|
mcp_server_id: string2().optional(),
|
|
56519
56775
|
name: string2(),
|
|
56520
56776
|
prompt: string2(),
|
|
@@ -56525,9 +56781,9 @@ var init_createv2evalrequest = __esm(() => {
|
|
|
56525
56781
|
|
|
56526
56782
|
// src/funcs/evalsV2EvalsCreate.ts
|
|
56527
56783
|
function evalsV2EvalsCreate(client$, request, options) {
|
|
56528
|
-
return new APIPromise($
|
|
56784
|
+
return new APIPromise($do19(client$, request, options));
|
|
56529
56785
|
}
|
|
56530
|
-
async function $
|
|
56786
|
+
async function $do19(client$, request, options) {
|
|
56531
56787
|
const parsed$ = safeParse4(request, (value$) => CreateV2EvalRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56532
56788
|
if (!parsed$.ok) {
|
|
56533
56789
|
return [parsed$, { status: "invalid" }];
|
|
@@ -56597,19 +56853,19 @@ var init_evalsV2EvalsCreate = __esm(() => {
|
|
|
56597
56853
|
});
|
|
56598
56854
|
|
|
56599
56855
|
// src/mcp-server/tools/evalsV2EvalsCreate.ts
|
|
56600
|
-
var
|
|
56856
|
+
var args16, tool$evalsV2EvalsCreate;
|
|
56601
56857
|
var init_evalsV2EvalsCreate2 = __esm(() => {
|
|
56602
56858
|
init_evalsV2EvalsCreate();
|
|
56603
56859
|
init_createv2evalrequest();
|
|
56604
56860
|
init_tools();
|
|
56605
|
-
|
|
56861
|
+
args16 = {
|
|
56606
56862
|
request: CreateV2EvalRequest$zodSchema
|
|
56607
56863
|
};
|
|
56608
56864
|
tool$evalsV2EvalsCreate = {
|
|
56609
56865
|
name: "evals-v2-evals-create",
|
|
56610
56866
|
description: `Create Eval
|
|
56611
56867
|
|
|
56612
|
-
Creates an eval with a task prompt, subject, and judge
|
|
56868
|
+
Creates an eval with a task prompt, subject, and plain-text success criterion in \`judge\`. The eval can then be run through eval runs.`,
|
|
56613
56869
|
annotations: {
|
|
56614
56870
|
title: "",
|
|
56615
56871
|
destructiveHint: false,
|
|
@@ -56617,7 +56873,7 @@ Creates an eval with a task prompt, subject, and judge. The eval can then be run
|
|
|
56617
56873
|
openWorldHint: false,
|
|
56618
56874
|
readOnlyHint: false
|
|
56619
56875
|
},
|
|
56620
|
-
args:
|
|
56876
|
+
args: args16,
|
|
56621
56877
|
tool: async (client, args, ctx) => {
|
|
56622
56878
|
const [result] = await evalsV2EvalsCreate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56623
56879
|
if (!result.ok) {
|
|
@@ -56631,6 +56887,15 @@ Creates an eval with a task prompt, subject, and judge. The eval can then be run
|
|
|
56631
56887
|
};
|
|
56632
56888
|
});
|
|
56633
56889
|
|
|
56890
|
+
// src/models/v2evaljudge.ts
|
|
56891
|
+
var V2EvalJudge$zodSchema;
|
|
56892
|
+
var init_v2evaljudge = __esm(() => {
|
|
56893
|
+
init_zod();
|
|
56894
|
+
V2EvalJudge$zodSchema = object({
|
|
56895
|
+
criteria: string2().describe("The outcome that counts as success.")
|
|
56896
|
+
});
|
|
56897
|
+
});
|
|
56898
|
+
|
|
56634
56899
|
// src/models/v2eval.ts
|
|
56635
56900
|
var V2EvalType$zodSchema, V2Eval$zodSchema;
|
|
56636
56901
|
var init_v2eval = __esm(() => {
|
|
@@ -56673,9 +56938,9 @@ var init_v2evalsdeleteop = __esm(() => {
|
|
|
56673
56938
|
|
|
56674
56939
|
// src/funcs/evalsV2EvalsDelete.ts
|
|
56675
56940
|
function evalsV2EvalsDelete(client$, request, options) {
|
|
56676
|
-
return new APIPromise($
|
|
56941
|
+
return new APIPromise($do20(client$, request, options));
|
|
56677
56942
|
}
|
|
56678
|
-
async function $
|
|
56943
|
+
async function $do20(client$, request, options) {
|
|
56679
56944
|
const parsed$ = safeParse4(request, (value$) => V2EvalsDeleteRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56680
56945
|
if (!parsed$.ok) {
|
|
56681
56946
|
return [parsed$, { status: "invalid" }];
|
|
@@ -56750,12 +57015,12 @@ var init_evalsV2EvalsDelete = __esm(() => {
|
|
|
56750
57015
|
});
|
|
56751
57016
|
|
|
56752
57017
|
// src/mcp-server/tools/evalsV2EvalsDelete.ts
|
|
56753
|
-
var
|
|
57018
|
+
var args17, tool$evalsV2EvalsDelete;
|
|
56754
57019
|
var init_evalsV2EvalsDelete2 = __esm(() => {
|
|
56755
57020
|
init_evalsV2EvalsDelete();
|
|
56756
57021
|
init_v2evalsdeleteop();
|
|
56757
57022
|
init_tools();
|
|
56758
|
-
|
|
57023
|
+
args17 = {
|
|
56759
57024
|
request: V2EvalsDeleteRequest$zodSchema
|
|
56760
57025
|
};
|
|
56761
57026
|
tool$evalsV2EvalsDelete = {
|
|
@@ -56770,7 +57035,7 @@ Permanently deletes an eval and all of its saved configurations.`,
|
|
|
56770
57035
|
openWorldHint: false,
|
|
56771
57036
|
readOnlyHint: false
|
|
56772
57037
|
},
|
|
56773
|
-
args:
|
|
57038
|
+
args: args17,
|
|
56774
57039
|
tool: async (client, args, ctx) => {
|
|
56775
57040
|
const [result] = await evalsV2EvalsDelete(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56776
57041
|
if (!result.ok) {
|
|
@@ -56786,9 +57051,9 @@ Permanently deletes an eval and all of its saved configurations.`,
|
|
|
56786
57051
|
|
|
56787
57052
|
// src/funcs/evalsV2EvalsList.ts
|
|
56788
57053
|
function evalsV2EvalsList(client$, options) {
|
|
56789
|
-
return new APIPromise($
|
|
57054
|
+
return new APIPromise($do21(client$, options));
|
|
56790
57055
|
}
|
|
56791
|
-
async function $
|
|
57056
|
+
async function $do21(client$, options) {
|
|
56792
57057
|
const path$ = pathToFunc("/v2/evals")();
|
|
56793
57058
|
const headers$ = new Headers(compactMap({
|
|
56794
57059
|
Accept: "application/json"
|
|
@@ -56893,9 +57158,9 @@ var init_v2evalsretrieveop = __esm(() => {
|
|
|
56893
57158
|
|
|
56894
57159
|
// src/funcs/evalsV2EvalsRetrieve.ts
|
|
56895
57160
|
function evalsV2EvalsRetrieve(client$, request, options) {
|
|
56896
|
-
return new APIPromise($
|
|
57161
|
+
return new APIPromise($do22(client$, request, options));
|
|
56897
57162
|
}
|
|
56898
|
-
async function $
|
|
57163
|
+
async function $do22(client$, request, options) {
|
|
56899
57164
|
const parsed$ = safeParse4(request, (value$) => V2EvalsRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56900
57165
|
if (!parsed$.ok) {
|
|
56901
57166
|
return [parsed$, { status: "invalid" }];
|
|
@@ -56970,12 +57235,12 @@ var init_evalsV2EvalsRetrieve = __esm(() => {
|
|
|
56970
57235
|
});
|
|
56971
57236
|
|
|
56972
57237
|
// src/mcp-server/tools/evalsV2EvalsRetrieve.ts
|
|
56973
|
-
var
|
|
57238
|
+
var args18, tool$evalsV2EvalsRetrieve;
|
|
56974
57239
|
var init_evalsV2EvalsRetrieve2 = __esm(() => {
|
|
56975
57240
|
init_evalsV2EvalsRetrieve();
|
|
56976
57241
|
init_v2evalsretrieveop();
|
|
56977
57242
|
init_tools();
|
|
56978
|
-
|
|
57243
|
+
args18 = {
|
|
56979
57244
|
request: V2EvalsRetrieveRequest$zodSchema
|
|
56980
57245
|
};
|
|
56981
57246
|
tool$evalsV2EvalsRetrieve = {
|
|
@@ -56990,7 +57255,7 @@ Returns one eval and its judge configuration.`,
|
|
|
56990
57255
|
openWorldHint: false,
|
|
56991
57256
|
readOnlyHint: true
|
|
56992
57257
|
},
|
|
56993
|
-
args:
|
|
57258
|
+
args: args18,
|
|
56994
57259
|
tool: async (client, args, ctx) => {
|
|
56995
57260
|
const [result] = await evalsV2EvalsRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56996
57261
|
if (!result.ok) {
|
|
@@ -57008,7 +57273,6 @@ Returns one eval and its judge configuration.`,
|
|
|
57008
57273
|
var UpdateV2EvalRequestType$zodSchema, UpdateV2EvalRequest$zodSchema;
|
|
57009
57274
|
var init_updatev2evalrequest = __esm(() => {
|
|
57010
57275
|
init_zod();
|
|
57011
|
-
init_v2evaljudge();
|
|
57012
57276
|
UpdateV2EvalRequestType$zodSchema = _enum([
|
|
57013
57277
|
"workflow",
|
|
57014
57278
|
"mcp",
|
|
@@ -57017,7 +57281,7 @@ var init_updatev2evalrequest = __esm(() => {
|
|
|
57017
57281
|
]);
|
|
57018
57282
|
UpdateV2EvalRequest$zodSchema = object({
|
|
57019
57283
|
cli_id: string2().optional(),
|
|
57020
|
-
judge:
|
|
57284
|
+
judge: string2().optional().describe("Plain-text outcome that counts as success."),
|
|
57021
57285
|
mcp_server_id: string2().optional(),
|
|
57022
57286
|
name: string2().optional(),
|
|
57023
57287
|
prompt: string2().optional(),
|
|
@@ -57045,9 +57309,9 @@ var init_v2evalsupdateop = __esm(() => {
|
|
|
57045
57309
|
|
|
57046
57310
|
// src/funcs/evalsV2EvalsUpdate.ts
|
|
57047
57311
|
function evalsV2EvalsUpdate(client$, request, options) {
|
|
57048
|
-
return new APIPromise($
|
|
57312
|
+
return new APIPromise($do23(client$, request, options));
|
|
57049
57313
|
}
|
|
57050
|
-
async function $
|
|
57314
|
+
async function $do23(client$, request, options) {
|
|
57051
57315
|
const parsed$ = safeParse4(request, (value$) => V2EvalsUpdateRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57052
57316
|
if (!parsed$.ok) {
|
|
57053
57317
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57123,19 +57387,19 @@ var init_evalsV2EvalsUpdate = __esm(() => {
|
|
|
57123
57387
|
});
|
|
57124
57388
|
|
|
57125
57389
|
// src/mcp-server/tools/evalsV2EvalsUpdate.ts
|
|
57126
|
-
var
|
|
57390
|
+
var args19, tool$evalsV2EvalsUpdate;
|
|
57127
57391
|
var init_evalsV2EvalsUpdate2 = __esm(() => {
|
|
57128
57392
|
init_evalsV2EvalsUpdate();
|
|
57129
57393
|
init_v2evalsupdateop();
|
|
57130
57394
|
init_tools();
|
|
57131
|
-
|
|
57395
|
+
args19 = {
|
|
57132
57396
|
request: V2EvalsUpdateRequest$zodSchema
|
|
57133
57397
|
};
|
|
57134
57398
|
tool$evalsV2EvalsUpdate = {
|
|
57135
57399
|
name: "evals-v2-evals-update",
|
|
57136
57400
|
description: `Update Eval
|
|
57137
57401
|
|
|
57138
|
-
Updates an eval's task prompt, subject, judge
|
|
57402
|
+
Updates an eval's task prompt, subject, plain-text \`judge\`, or name. Omitted fields remain unchanged.`,
|
|
57139
57403
|
annotations: {
|
|
57140
57404
|
title: "",
|
|
57141
57405
|
destructiveHint: false,
|
|
@@ -57143,7 +57407,7 @@ Updates an eval's task prompt, subject, judge, or name. Omitted fields remain un
|
|
|
57143
57407
|
openWorldHint: false,
|
|
57144
57408
|
readOnlyHint: false
|
|
57145
57409
|
},
|
|
57146
|
-
args:
|
|
57410
|
+
args: args19,
|
|
57147
57411
|
tool: async (client, args, ctx) => {
|
|
57148
57412
|
const [result] = await evalsV2EvalsUpdate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57149
57413
|
if (!result.ok) {
|
|
@@ -57159,9 +57423,9 @@ Updates an eval's task prompt, subject, judge, or name. Omitted fields remain un
|
|
|
57159
57423
|
|
|
57160
57424
|
// src/funcs/mcpServersV2MCPServersList.ts
|
|
57161
57425
|
function mcpServersV2MCPServersList(client$, options) {
|
|
57162
|
-
return new APIPromise($
|
|
57426
|
+
return new APIPromise($do24(client$, options));
|
|
57163
57427
|
}
|
|
57164
|
-
async function $
|
|
57428
|
+
async function $do24(client$, options) {
|
|
57165
57429
|
const path$ = pathToFunc("/v2/mcp-servers")();
|
|
57166
57430
|
const headers$ = new Headers(compactMap({
|
|
57167
57431
|
Accept: "application/json"
|
|
@@ -57343,9 +57607,9 @@ var init_v2opportunitieslistop = __esm(() => {
|
|
|
57343
57607
|
|
|
57344
57608
|
// src/funcs/opportunitiesV2OpportunitiesList.ts
|
|
57345
57609
|
function opportunitiesV2OpportunitiesList(client$, request, options) {
|
|
57346
|
-
return new APIPromise($
|
|
57610
|
+
return new APIPromise($do25(client$, request, options));
|
|
57347
57611
|
}
|
|
57348
|
-
async function $
|
|
57612
|
+
async function $do25(client$, request, options) {
|
|
57349
57613
|
const parsed$ = safeParse4(request, (value$) => V2OpportunitiesListRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
57350
57614
|
if (!parsed$.ok) {
|
|
57351
57615
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57423,12 +57687,12 @@ var init_opportunitiesV2OpportunitiesList = __esm(() => {
|
|
|
57423
57687
|
});
|
|
57424
57688
|
|
|
57425
57689
|
// src/mcp-server/tools/opportunitiesV2OpportunitiesList.ts
|
|
57426
|
-
var
|
|
57690
|
+
var args20, tool$opportunitiesV2OpportunitiesList;
|
|
57427
57691
|
var init_opportunitiesV2OpportunitiesList2 = __esm(() => {
|
|
57428
57692
|
init_opportunitiesV2OpportunitiesList();
|
|
57429
57693
|
init_v2opportunitieslistop();
|
|
57430
57694
|
init_tools();
|
|
57431
|
-
|
|
57695
|
+
args20 = {
|
|
57432
57696
|
request: V2OpportunitiesListRequest$zodSchema.optional()
|
|
57433
57697
|
};
|
|
57434
57698
|
tool$opportunitiesV2OpportunitiesList = {
|
|
@@ -57443,7 +57707,7 @@ Returns ranked opportunities computed from stored prompt visibility results. Eac
|
|
|
57443
57707
|
openWorldHint: false,
|
|
57444
57708
|
readOnlyHint: true
|
|
57445
57709
|
},
|
|
57446
|
-
args:
|
|
57710
|
+
args: args20,
|
|
57447
57711
|
tool: async (client, args, ctx) => {
|
|
57448
57712
|
const [result] = await opportunitiesV2OpportunitiesList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57449
57713
|
if (!result.ok) {
|
|
@@ -57515,9 +57779,9 @@ var init_v2opportunitiesretrieveop = __esm(() => {
|
|
|
57515
57779
|
|
|
57516
57780
|
// src/funcs/opportunitiesV2OpportunitiesRetrieve.ts
|
|
57517
57781
|
function opportunitiesV2OpportunitiesRetrieve(client$, request, options) {
|
|
57518
|
-
return new APIPromise($
|
|
57782
|
+
return new APIPromise($do26(client$, request, options));
|
|
57519
57783
|
}
|
|
57520
|
-
async function $
|
|
57784
|
+
async function $do26(client$, request, options) {
|
|
57521
57785
|
const parsed$ = safeParse4(request, (value$) => V2OpportunitiesRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57522
57786
|
if (!parsed$.ok) {
|
|
57523
57787
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57598,12 +57862,12 @@ var init_opportunitiesV2OpportunitiesRetrieve = __esm(() => {
|
|
|
57598
57862
|
});
|
|
57599
57863
|
|
|
57600
57864
|
// src/mcp-server/tools/opportunitiesV2OpportunitiesRetrieve.ts
|
|
57601
|
-
var
|
|
57865
|
+
var args21, tool$opportunitiesV2OpportunitiesRetrieve;
|
|
57602
57866
|
var init_opportunitiesV2OpportunitiesRetrieve2 = __esm(() => {
|
|
57603
57867
|
init_opportunitiesV2OpportunitiesRetrieve();
|
|
57604
57868
|
init_v2opportunitiesretrieveop();
|
|
57605
57869
|
init_tools();
|
|
57606
|
-
|
|
57870
|
+
args21 = {
|
|
57607
57871
|
request: V2OpportunitiesRetrieveRequest$zodSchema
|
|
57608
57872
|
};
|
|
57609
57873
|
tool$opportunitiesV2OpportunitiesRetrieve = {
|
|
@@ -57618,7 +57882,7 @@ Returns one computed opportunity and its execution context for the selected date
|
|
|
57618
57882
|
openWorldHint: false,
|
|
57619
57883
|
readOnlyHint: true
|
|
57620
57884
|
},
|
|
57621
|
-
args:
|
|
57885
|
+
args: args21,
|
|
57622
57886
|
tool: async (client, args, ctx) => {
|
|
57623
57887
|
const [result] = await opportunitiesV2OpportunitiesRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57624
57888
|
if (!result.ok) {
|
|
@@ -57726,9 +57990,9 @@ var init_v2promptrunslistop = __esm(() => {
|
|
|
57726
57990
|
|
|
57727
57991
|
// src/funcs/promptsV2PromptRunsList.ts
|
|
57728
57992
|
function promptsV2PromptRunsList(client$, request, options) {
|
|
57729
|
-
return new APIPromise($
|
|
57993
|
+
return new APIPromise($do27(client$, request, options));
|
|
57730
57994
|
}
|
|
57731
|
-
async function $
|
|
57995
|
+
async function $do27(client$, request, options) {
|
|
57732
57996
|
const parsed$ = safeParse4(request, (value$) => V2PromptRunsListRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
57733
57997
|
if (!parsed$.ok) {
|
|
57734
57998
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57806,12 +58070,12 @@ var init_promptsV2PromptRunsList = __esm(() => {
|
|
|
57806
58070
|
});
|
|
57807
58071
|
|
|
57808
58072
|
// src/mcp-server/tools/promptsV2PromptRunsList.ts
|
|
57809
|
-
var
|
|
58073
|
+
var args22, tool$promptsV2PromptRunsList;
|
|
57810
58074
|
var init_promptsV2PromptRunsList2 = __esm(() => {
|
|
57811
58075
|
init_promptsV2PromptRunsList();
|
|
57812
58076
|
init_v2promptrunslistop();
|
|
57813
58077
|
init_tools();
|
|
57814
|
-
|
|
58078
|
+
args22 = {
|
|
57815
58079
|
request: V2PromptRunsListRequest$zodSchema.optional()
|
|
57816
58080
|
};
|
|
57817
58081
|
tool$promptsV2PromptRunsList = {
|
|
@@ -57826,7 +58090,7 @@ Returns stored prompt runs without exposing raw runtime or provider configuratio
|
|
|
57826
58090
|
openWorldHint: false,
|
|
57827
58091
|
readOnlyHint: true
|
|
57828
58092
|
},
|
|
57829
|
-
args:
|
|
58093
|
+
args: args22,
|
|
57830
58094
|
tool: async (client, args, ctx) => {
|
|
57831
58095
|
const [result] = await promptsV2PromptRunsList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57832
58096
|
if (!result.ok) {
|
|
@@ -57931,9 +58195,9 @@ var init_v2promptrunsretrieveop = __esm(() => {
|
|
|
57931
58195
|
|
|
57932
58196
|
// src/funcs/promptsV2PromptRunsRetrieve.ts
|
|
57933
58197
|
function promptsV2PromptRunsRetrieve(client$, request, options) {
|
|
57934
|
-
return new APIPromise($
|
|
58198
|
+
return new APIPromise($do28(client$, request, options));
|
|
57935
58199
|
}
|
|
57936
|
-
async function $
|
|
58200
|
+
async function $do28(client$, request, options) {
|
|
57937
58201
|
const parsed$ = safeParse4(request, (value$) => V2PromptRunsRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57938
58202
|
if (!parsed$.ok) {
|
|
57939
58203
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58008,12 +58272,12 @@ var init_promptsV2PromptRunsRetrieve = __esm(() => {
|
|
|
58008
58272
|
});
|
|
58009
58273
|
|
|
58010
58274
|
// src/mcp-server/tools/promptsV2PromptRunsRetrieve.ts
|
|
58011
|
-
var
|
|
58275
|
+
var args23, tool$promptsV2PromptRunsRetrieve;
|
|
58012
58276
|
var init_promptsV2PromptRunsRetrieve2 = __esm(() => {
|
|
58013
58277
|
init_promptsV2PromptRunsRetrieve();
|
|
58014
58278
|
init_v2promptrunsretrieveop();
|
|
58015
58279
|
init_tools();
|
|
58016
|
-
|
|
58280
|
+
args23 = {
|
|
58017
58281
|
request: V2PromptRunsRetrieveRequest$zodSchema
|
|
58018
58282
|
};
|
|
58019
58283
|
tool$promptsV2PromptRunsRetrieve = {
|
|
@@ -58028,7 +58292,7 @@ Returns one stored prompt run, including its mentions and citations.`,
|
|
|
58028
58292
|
openWorldHint: false,
|
|
58029
58293
|
readOnlyHint: true
|
|
58030
58294
|
},
|
|
58031
|
-
args:
|
|
58295
|
+
args: args23,
|
|
58032
58296
|
tool: async (client, args, ctx) => {
|
|
58033
58297
|
const [result] = await promptsV2PromptRunsRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58034
58298
|
if (!result.ok) {
|
|
@@ -58065,9 +58329,9 @@ var init_createv2promptsrequest = __esm(() => {
|
|
|
58065
58329
|
|
|
58066
58330
|
// src/funcs/promptsV2PromptsCreate.ts
|
|
58067
58331
|
function promptsV2PromptsCreate(client$, request, options) {
|
|
58068
|
-
return new APIPromise($
|
|
58332
|
+
return new APIPromise($do29(client$, request, options));
|
|
58069
58333
|
}
|
|
58070
|
-
async function $
|
|
58334
|
+
async function $do29(client$, request, options) {
|
|
58071
58335
|
const parsed$ = safeParse4(request, (value$) => CreateV2PromptsRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58072
58336
|
if (!parsed$.ok) {
|
|
58073
58337
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58137,12 +58401,12 @@ var init_promptsV2PromptsCreate = __esm(() => {
|
|
|
58137
58401
|
});
|
|
58138
58402
|
|
|
58139
58403
|
// src/mcp-server/tools/promptsV2PromptsCreate.ts
|
|
58140
|
-
var
|
|
58404
|
+
var args24, tool$promptsV2PromptsCreate;
|
|
58141
58405
|
var init_promptsV2PromptsCreate2 = __esm(() => {
|
|
58142
58406
|
init_promptsV2PromptsCreate();
|
|
58143
58407
|
init_createv2promptsrequest();
|
|
58144
58408
|
init_tools();
|
|
58145
|
-
|
|
58409
|
+
args24 = {
|
|
58146
58410
|
request: CreateV2PromptsRequest$zodSchema
|
|
58147
58411
|
};
|
|
58148
58412
|
tool$promptsV2PromptsCreate = {
|
|
@@ -58157,7 +58421,7 @@ Creates prompts in a batch. Each item is validated independently, so the respons
|
|
|
58157
58421
|
openWorldHint: false,
|
|
58158
58422
|
readOnlyHint: false
|
|
58159
58423
|
},
|
|
58160
|
-
args:
|
|
58424
|
+
args: args24,
|
|
58161
58425
|
tool: async (client, args, ctx) => {
|
|
58162
58426
|
const [result] = await promptsV2PromptsCreate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58163
58427
|
if (!result.ok) {
|
|
@@ -58197,9 +58461,9 @@ var init_v2promptsdeleteop = __esm(() => {
|
|
|
58197
58461
|
|
|
58198
58462
|
// src/funcs/promptsV2PromptsDelete.ts
|
|
58199
58463
|
function promptsV2PromptsDelete(client$, request, options) {
|
|
58200
|
-
return new APIPromise($
|
|
58464
|
+
return new APIPromise($do30(client$, request, options));
|
|
58201
58465
|
}
|
|
58202
|
-
async function $
|
|
58466
|
+
async function $do30(client$, request, options) {
|
|
58203
58467
|
const parsed$ = safeParse4(request, (value$) => V2PromptsDeleteRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58204
58468
|
if (!parsed$.ok) {
|
|
58205
58469
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58274,12 +58538,12 @@ var init_promptsV2PromptsDelete = __esm(() => {
|
|
|
58274
58538
|
});
|
|
58275
58539
|
|
|
58276
58540
|
// src/mcp-server/tools/promptsV2PromptsDelete.ts
|
|
58277
|
-
var
|
|
58541
|
+
var args25, tool$promptsV2PromptsDelete;
|
|
58278
58542
|
var init_promptsV2PromptsDelete2 = __esm(() => {
|
|
58279
58543
|
init_promptsV2PromptsDelete();
|
|
58280
58544
|
init_v2promptsdeleteop();
|
|
58281
58545
|
init_tools();
|
|
58282
|
-
|
|
58546
|
+
args25 = {
|
|
58283
58547
|
request: V2PromptsDeleteRequest$zodSchema
|
|
58284
58548
|
};
|
|
58285
58549
|
tool$promptsV2PromptsDelete = {
|
|
@@ -58294,7 +58558,7 @@ Archives the prompt and excludes it from normal listings while preserving its hi
|
|
|
58294
58558
|
openWorldHint: false,
|
|
58295
58559
|
readOnlyHint: false
|
|
58296
58560
|
},
|
|
58297
|
-
args:
|
|
58561
|
+
args: args25,
|
|
58298
58562
|
tool: async (client, args, ctx) => {
|
|
58299
58563
|
const [result] = await promptsV2PromptsDelete(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58300
58564
|
if (!result.ok) {
|
|
@@ -58404,9 +58668,9 @@ var init_v2promptslistop = __esm(() => {
|
|
|
58404
58668
|
|
|
58405
58669
|
// src/funcs/promptsV2PromptsList.ts
|
|
58406
58670
|
function promptsV2PromptsList(client$, request, options) {
|
|
58407
|
-
return new APIPromise($
|
|
58671
|
+
return new APIPromise($do31(client$, request, options));
|
|
58408
58672
|
}
|
|
58409
|
-
async function $
|
|
58673
|
+
async function $do31(client$, request, options) {
|
|
58410
58674
|
const parsed$ = safeParse4(request, (value$) => V2PromptsListRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
58411
58675
|
if (!parsed$.ok) {
|
|
58412
58676
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58481,12 +58745,12 @@ var init_promptsV2PromptsList = __esm(() => {
|
|
|
58481
58745
|
});
|
|
58482
58746
|
|
|
58483
58747
|
// src/mcp-server/tools/promptsV2PromptsList.ts
|
|
58484
|
-
var
|
|
58748
|
+
var args26, tool$promptsV2PromptsList;
|
|
58485
58749
|
var init_promptsV2PromptsList2 = __esm(() => {
|
|
58486
58750
|
init_promptsV2PromptsList();
|
|
58487
58751
|
init_v2promptslistop();
|
|
58488
58752
|
init_tools();
|
|
58489
|
-
|
|
58753
|
+
args26 = {
|
|
58490
58754
|
request: V2PromptsListRequest$zodSchema.optional()
|
|
58491
58755
|
};
|
|
58492
58756
|
tool$promptsV2PromptsList = {
|
|
@@ -58501,7 +58765,7 @@ Returns active and inactive prompts by default. Set \`include_archived\` to incl
|
|
|
58501
58765
|
openWorldHint: false,
|
|
58502
58766
|
readOnlyHint: true
|
|
58503
58767
|
},
|
|
58504
|
-
args:
|
|
58768
|
+
args: args26,
|
|
58505
58769
|
tool: async (client, args, ctx) => {
|
|
58506
58770
|
const [result] = await promptsV2PromptsList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58507
58771
|
if (!result.ok) {
|
|
@@ -58532,9 +58796,9 @@ var init_v2promptsretrieveop = __esm(() => {
|
|
|
58532
58796
|
|
|
58533
58797
|
// src/funcs/promptsV2PromptsRetrieve.ts
|
|
58534
58798
|
function promptsV2PromptsRetrieve(client$, request, options) {
|
|
58535
|
-
return new APIPromise($
|
|
58799
|
+
return new APIPromise($do32(client$, request, options));
|
|
58536
58800
|
}
|
|
58537
|
-
async function $
|
|
58801
|
+
async function $do32(client$, request, options) {
|
|
58538
58802
|
const parsed$ = safeParse4(request, (value$) => V2PromptsRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58539
58803
|
if (!parsed$.ok) {
|
|
58540
58804
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58609,12 +58873,12 @@ var init_promptsV2PromptsRetrieve = __esm(() => {
|
|
|
58609
58873
|
});
|
|
58610
58874
|
|
|
58611
58875
|
// src/mcp-server/tools/promptsV2PromptsRetrieve.ts
|
|
58612
|
-
var
|
|
58876
|
+
var args27, tool$promptsV2PromptsRetrieve;
|
|
58613
58877
|
var init_promptsV2PromptsRetrieve2 = __esm(() => {
|
|
58614
58878
|
init_promptsV2PromptsRetrieve();
|
|
58615
58879
|
init_v2promptsretrieveop();
|
|
58616
58880
|
init_tools();
|
|
58617
|
-
|
|
58881
|
+
args27 = {
|
|
58618
58882
|
request: V2PromptsRetrieveRequest$zodSchema
|
|
58619
58883
|
};
|
|
58620
58884
|
tool$promptsV2PromptsRetrieve = {
|
|
@@ -58629,7 +58893,7 @@ Returns a prompt with its topic, platforms, tags, and lifecycle status.`,
|
|
|
58629
58893
|
openWorldHint: false,
|
|
58630
58894
|
readOnlyHint: true
|
|
58631
58895
|
},
|
|
58632
|
-
args:
|
|
58896
|
+
args: args27,
|
|
58633
58897
|
tool: async (client, args, ctx) => {
|
|
58634
58898
|
const [result] = await promptsV2PromptsRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58635
58899
|
if (!result.ok) {
|
|
@@ -58678,9 +58942,9 @@ var init_v2promptsupdateop = __esm(() => {
|
|
|
58678
58942
|
|
|
58679
58943
|
// src/funcs/promptsV2PromptsUpdate.ts
|
|
58680
58944
|
function promptsV2PromptsUpdate(client$, request, options) {
|
|
58681
|
-
return new APIPromise($
|
|
58945
|
+
return new APIPromise($do33(client$, request, options));
|
|
58682
58946
|
}
|
|
58683
|
-
async function $
|
|
58947
|
+
async function $do33(client$, request, options) {
|
|
58684
58948
|
const parsed$ = safeParse4(request, (value$) => V2PromptsUpdateRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58685
58949
|
if (!parsed$.ok) {
|
|
58686
58950
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58756,12 +59020,12 @@ var init_promptsV2PromptsUpdate = __esm(() => {
|
|
|
58756
59020
|
});
|
|
58757
59021
|
|
|
58758
59022
|
// src/mcp-server/tools/promptsV2PromptsUpdate.ts
|
|
58759
|
-
var
|
|
59023
|
+
var args28, tool$promptsV2PromptsUpdate;
|
|
58760
59024
|
var init_promptsV2PromptsUpdate2 = __esm(() => {
|
|
58761
59025
|
init_promptsV2PromptsUpdate();
|
|
58762
59026
|
init_v2promptsupdateop();
|
|
58763
59027
|
init_tools();
|
|
58764
|
-
|
|
59028
|
+
args28 = {
|
|
58765
59029
|
request: V2PromptsUpdateRequest$zodSchema
|
|
58766
59030
|
};
|
|
58767
59031
|
tool$promptsV2PromptsUpdate = {
|
|
@@ -58776,7 +59040,7 @@ Updates a prompt's text, topic, platforms, or lifecycle status. Omitted fields r
|
|
|
58776
59040
|
openWorldHint: false,
|
|
58777
59041
|
readOnlyHint: false
|
|
58778
59042
|
},
|
|
58779
|
-
args:
|
|
59043
|
+
args: args28,
|
|
58780
59044
|
tool: async (client, args, ctx) => {
|
|
58781
59045
|
const [result] = await promptsV2PromptsUpdate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58782
59046
|
if (!result.ok) {
|
|
@@ -58801,9 +59065,9 @@ var init_createprompttopicrequest = __esm(() => {
|
|
|
58801
59065
|
|
|
58802
59066
|
// src/funcs/promptsV2PromptTopicsCreate.ts
|
|
58803
59067
|
function promptsV2PromptTopicsCreate(client$, request, options) {
|
|
58804
|
-
return new APIPromise($
|
|
59068
|
+
return new APIPromise($do34(client$, request, options));
|
|
58805
59069
|
}
|
|
58806
|
-
async function $
|
|
59070
|
+
async function $do34(client$, request, options) {
|
|
58807
59071
|
const parsed$ = safeParse4(request, (value$) => CreatePromptTopicRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58808
59072
|
if (!parsed$.ok) {
|
|
58809
59073
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58873,12 +59137,12 @@ var init_promptsV2PromptTopicsCreate = __esm(() => {
|
|
|
58873
59137
|
});
|
|
58874
59138
|
|
|
58875
59139
|
// src/mcp-server/tools/promptsV2PromptTopicsCreate.ts
|
|
58876
|
-
var
|
|
59140
|
+
var args29, tool$promptsV2PromptTopicsCreate;
|
|
58877
59141
|
var init_promptsV2PromptTopicsCreate2 = __esm(() => {
|
|
58878
59142
|
init_promptsV2PromptTopicsCreate();
|
|
58879
59143
|
init_createprompttopicrequest();
|
|
58880
59144
|
init_tools();
|
|
58881
|
-
|
|
59145
|
+
args29 = {
|
|
58882
59146
|
request: CreatePromptTopicRequest$zodSchema
|
|
58883
59147
|
};
|
|
58884
59148
|
tool$promptsV2PromptTopicsCreate = {
|
|
@@ -58893,7 +59157,7 @@ Creates a prompt topic and returns the saved topic.`,
|
|
|
58893
59157
|
openWorldHint: false,
|
|
58894
59158
|
readOnlyHint: false
|
|
58895
59159
|
},
|
|
58896
|
-
args:
|
|
59160
|
+
args: args29,
|
|
58897
59161
|
tool: async (client, args, ctx) => {
|
|
58898
59162
|
const [result] = await promptsV2PromptTopicsCreate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58899
59163
|
if (!result.ok) {
|
|
@@ -58925,9 +59189,9 @@ var init_v2prompttopicsdeleteop = __esm(() => {
|
|
|
58925
59189
|
|
|
58926
59190
|
// src/funcs/promptsV2PromptTopicsDelete.ts
|
|
58927
59191
|
function promptsV2PromptTopicsDelete(client$, request, options) {
|
|
58928
|
-
return new APIPromise($
|
|
59192
|
+
return new APIPromise($do35(client$, request, options));
|
|
58929
59193
|
}
|
|
58930
|
-
async function $
|
|
59194
|
+
async function $do35(client$, request, options) {
|
|
58931
59195
|
const parsed$ = safeParse4(request, (value$) => V2PromptTopicsDeleteRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58932
59196
|
if (!parsed$.ok) {
|
|
58933
59197
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59006,12 +59270,12 @@ var init_promptsV2PromptTopicsDelete = __esm(() => {
|
|
|
59006
59270
|
});
|
|
59007
59271
|
|
|
59008
59272
|
// src/mcp-server/tools/promptsV2PromptTopicsDelete.ts
|
|
59009
|
-
var
|
|
59273
|
+
var args30, tool$promptsV2PromptTopicsDelete;
|
|
59010
59274
|
var init_promptsV2PromptTopicsDelete2 = __esm(() => {
|
|
59011
59275
|
init_promptsV2PromptTopicsDelete();
|
|
59012
59276
|
init_v2prompttopicsdeleteop();
|
|
59013
59277
|
init_tools();
|
|
59014
|
-
|
|
59278
|
+
args30 = {
|
|
59015
59279
|
request: V2PromptTopicsDeleteRequest$zodSchema
|
|
59016
59280
|
};
|
|
59017
59281
|
tool$promptsV2PromptTopicsDelete = {
|
|
@@ -59026,7 +59290,7 @@ Archives a prompt topic. Set \`archive_prompts\` to archive remaining prompts; o
|
|
|
59026
59290
|
openWorldHint: false,
|
|
59027
59291
|
readOnlyHint: false
|
|
59028
59292
|
},
|
|
59029
|
-
args:
|
|
59293
|
+
args: args30,
|
|
59030
59294
|
tool: async (client, args, ctx) => {
|
|
59031
59295
|
const [result] = await promptsV2PromptTopicsDelete(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59032
59296
|
if (!result.ok) {
|
|
@@ -59042,9 +59306,9 @@ Archives a prompt topic. Set \`archive_prompts\` to archive remaining prompts; o
|
|
|
59042
59306
|
|
|
59043
59307
|
// src/funcs/promptsV2PromptTopicsList.ts
|
|
59044
59308
|
function promptsV2PromptTopicsList(client$, options) {
|
|
59045
|
-
return new APIPromise($
|
|
59309
|
+
return new APIPromise($do36(client$, options));
|
|
59046
59310
|
}
|
|
59047
|
-
async function $
|
|
59311
|
+
async function $do36(client$, options) {
|
|
59048
59312
|
const path$ = pathToFunc("/v2/prompts/topics")();
|
|
59049
59313
|
const headers$ = new Headers(compactMap({
|
|
59050
59314
|
Accept: "application/json"
|
|
@@ -59160,9 +59424,9 @@ var init_v2prompttopicsupdateop = __esm(() => {
|
|
|
59160
59424
|
|
|
59161
59425
|
// src/funcs/promptsV2PromptTopicsUpdate.ts
|
|
59162
59426
|
function promptsV2PromptTopicsUpdate(client$, request, options) {
|
|
59163
|
-
return new APIPromise($
|
|
59427
|
+
return new APIPromise($do37(client$, request, options));
|
|
59164
59428
|
}
|
|
59165
|
-
async function $
|
|
59429
|
+
async function $do37(client$, request, options) {
|
|
59166
59430
|
const parsed$ = safeParse4(request, (value$) => V2PromptTopicsUpdateRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59167
59431
|
if (!parsed$.ok) {
|
|
59168
59432
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59238,12 +59502,12 @@ var init_promptsV2PromptTopicsUpdate = __esm(() => {
|
|
|
59238
59502
|
});
|
|
59239
59503
|
|
|
59240
59504
|
// src/mcp-server/tools/promptsV2PromptTopicsUpdate.ts
|
|
59241
|
-
var
|
|
59505
|
+
var args31, tool$promptsV2PromptTopicsUpdate;
|
|
59242
59506
|
var init_promptsV2PromptTopicsUpdate2 = __esm(() => {
|
|
59243
59507
|
init_promptsV2PromptTopicsUpdate();
|
|
59244
59508
|
init_v2prompttopicsupdateop();
|
|
59245
59509
|
init_tools();
|
|
59246
|
-
|
|
59510
|
+
args31 = {
|
|
59247
59511
|
request: V2PromptTopicsUpdateRequest$zodSchema
|
|
59248
59512
|
};
|
|
59249
59513
|
tool$promptsV2PromptTopicsUpdate = {
|
|
@@ -59258,7 +59522,7 @@ Renames a prompt topic and returns the updated topic.`,
|
|
|
59258
59522
|
openWorldHint: false,
|
|
59259
59523
|
readOnlyHint: false
|
|
59260
59524
|
},
|
|
59261
|
-
args:
|
|
59525
|
+
args: args31,
|
|
59262
59526
|
tool: async (client, args, ctx) => {
|
|
59263
59527
|
const [result] = await promptsV2PromptTopicsUpdate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59264
59528
|
if (!result.ok) {
|
|
@@ -59301,9 +59565,9 @@ var init_createv2repositoryrequest = __esm(() => {
|
|
|
59301
59565
|
|
|
59302
59566
|
// src/funcs/repositoriesV2RepositoriesCreate.ts
|
|
59303
59567
|
function repositoriesV2RepositoriesCreate(client$, request, options) {
|
|
59304
|
-
return new APIPromise($
|
|
59568
|
+
return new APIPromise($do38(client$, request, options));
|
|
59305
59569
|
}
|
|
59306
|
-
async function $
|
|
59570
|
+
async function $do38(client$, request, options) {
|
|
59307
59571
|
const parsed$ = safeParse4(request, (value$) => CreateV2RepositoryRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59308
59572
|
if (!parsed$.ok) {
|
|
59309
59573
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59373,12 +59637,12 @@ var init_repositoriesV2RepositoriesCreate = __esm(() => {
|
|
|
59373
59637
|
});
|
|
59374
59638
|
|
|
59375
59639
|
// src/mcp-server/tools/repositoriesV2RepositoriesCreate.ts
|
|
59376
|
-
var
|
|
59640
|
+
var args32, tool$repositoriesV2RepositoriesCreate;
|
|
59377
59641
|
var init_repositoriesV2RepositoriesCreate2 = __esm(() => {
|
|
59378
59642
|
init_repositoriesV2RepositoriesCreate();
|
|
59379
59643
|
init_createv2repositoryrequest();
|
|
59380
59644
|
init_tools();
|
|
59381
|
-
|
|
59645
|
+
args32 = {
|
|
59382
59646
|
request: CreateV2RepositoryRequest$zodSchema
|
|
59383
59647
|
};
|
|
59384
59648
|
tool$repositoriesV2RepositoriesCreate = {
|
|
@@ -59393,7 +59657,7 @@ Adds a reusable Git repository workspace for eval configurations.`,
|
|
|
59393
59657
|
openWorldHint: false,
|
|
59394
59658
|
readOnlyHint: false
|
|
59395
59659
|
},
|
|
59396
|
-
args:
|
|
59660
|
+
args: args32,
|
|
59397
59661
|
tool: async (client, args, ctx) => {
|
|
59398
59662
|
const [result] = await repositoriesV2RepositoriesCreate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59399
59663
|
if (!result.ok) {
|
|
@@ -59459,9 +59723,9 @@ var init_v2repositoriesdeleteop = __esm(() => {
|
|
|
59459
59723
|
|
|
59460
59724
|
// src/funcs/repositoriesV2RepositoriesDelete.ts
|
|
59461
59725
|
function repositoriesV2RepositoriesDelete(client$, request, options) {
|
|
59462
|
-
return new APIPromise($
|
|
59726
|
+
return new APIPromise($do39(client$, request, options));
|
|
59463
59727
|
}
|
|
59464
|
-
async function $
|
|
59728
|
+
async function $do39(client$, request, options) {
|
|
59465
59729
|
const parsed$ = safeParse4(request, (value$) => V2RepositoriesDeleteRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59466
59730
|
if (!parsed$.ok) {
|
|
59467
59731
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59536,12 +59800,12 @@ var init_repositoriesV2RepositoriesDelete = __esm(() => {
|
|
|
59536
59800
|
});
|
|
59537
59801
|
|
|
59538
59802
|
// src/mcp-server/tools/repositoriesV2RepositoriesDelete.ts
|
|
59539
|
-
var
|
|
59803
|
+
var args33, tool$repositoriesV2RepositoriesDelete;
|
|
59540
59804
|
var init_repositoriesV2RepositoriesDelete2 = __esm(() => {
|
|
59541
59805
|
init_repositoriesV2RepositoriesDelete();
|
|
59542
59806
|
init_v2repositoriesdeleteop();
|
|
59543
59807
|
init_tools();
|
|
59544
|
-
|
|
59808
|
+
args33 = {
|
|
59545
59809
|
request: V2RepositoriesDeleteRequest$zodSchema
|
|
59546
59810
|
};
|
|
59547
59811
|
tool$repositoriesV2RepositoriesDelete = {
|
|
@@ -59556,7 +59820,7 @@ Permanently deletes a repository workspace and returns its last saved state.`,
|
|
|
59556
59820
|
openWorldHint: false,
|
|
59557
59821
|
readOnlyHint: false
|
|
59558
59822
|
},
|
|
59559
|
-
args:
|
|
59823
|
+
args: args33,
|
|
59560
59824
|
tool: async (client, args, ctx) => {
|
|
59561
59825
|
const [result] = await repositoriesV2RepositoriesDelete(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59562
59826
|
if (!result.ok) {
|
|
@@ -59572,9 +59836,9 @@ Permanently deletes a repository workspace and returns its last saved state.`,
|
|
|
59572
59836
|
|
|
59573
59837
|
// src/funcs/repositoriesV2RepositoriesList.ts
|
|
59574
59838
|
function repositoriesV2RepositoriesList(client$, options) {
|
|
59575
|
-
return new APIPromise($
|
|
59839
|
+
return new APIPromise($do40(client$, options));
|
|
59576
59840
|
}
|
|
59577
|
-
async function $
|
|
59841
|
+
async function $do40(client$, options) {
|
|
59578
59842
|
const path$ = pathToFunc("/v2/repositories")();
|
|
59579
59843
|
const headers$ = new Headers(compactMap({
|
|
59580
59844
|
Accept: "application/json"
|
|
@@ -59679,9 +59943,9 @@ var init_v2repositoriesretrieveop = __esm(() => {
|
|
|
59679
59943
|
|
|
59680
59944
|
// src/funcs/repositoriesV2RepositoriesRetrieve.ts
|
|
59681
59945
|
function repositoriesV2RepositoriesRetrieve(client$, request, options) {
|
|
59682
|
-
return new APIPromise($
|
|
59946
|
+
return new APIPromise($do41(client$, request, options));
|
|
59683
59947
|
}
|
|
59684
|
-
async function $
|
|
59948
|
+
async function $do41(client$, request, options) {
|
|
59685
59949
|
const parsed$ = safeParse4(request, (value$) => V2RepositoriesRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59686
59950
|
if (!parsed$.ok) {
|
|
59687
59951
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59756,12 +60020,12 @@ var init_repositoriesV2RepositoriesRetrieve = __esm(() => {
|
|
|
59756
60020
|
});
|
|
59757
60021
|
|
|
59758
60022
|
// src/mcp-server/tools/repositoriesV2RepositoriesRetrieve.ts
|
|
59759
|
-
var
|
|
60023
|
+
var args34, tool$repositoriesV2RepositoriesRetrieve;
|
|
59760
60024
|
var init_repositoriesV2RepositoriesRetrieve2 = __esm(() => {
|
|
59761
60025
|
init_repositoriesV2RepositoriesRetrieve();
|
|
59762
60026
|
init_v2repositoriesretrieveop();
|
|
59763
60027
|
init_tools();
|
|
59764
|
-
|
|
60028
|
+
args34 = {
|
|
59765
60029
|
request: V2RepositoriesRetrieveRequest$zodSchema
|
|
59766
60030
|
};
|
|
59767
60031
|
tool$repositoriesV2RepositoriesRetrieve = {
|
|
@@ -59776,7 +60040,7 @@ Returns one reusable repository workspace.`,
|
|
|
59776
60040
|
openWorldHint: false,
|
|
59777
60041
|
readOnlyHint: true
|
|
59778
60042
|
},
|
|
59779
|
-
args:
|
|
60043
|
+
args: args34,
|
|
59780
60044
|
tool: async (client, args, ctx) => {
|
|
59781
60045
|
const [result] = await repositoriesV2RepositoriesRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59782
60046
|
if (!result.ok) {
|
|
@@ -59836,9 +60100,9 @@ var init_v2repositoriesupdateop = __esm(() => {
|
|
|
59836
60100
|
|
|
59837
60101
|
// src/funcs/repositoriesV2RepositoriesUpdate.ts
|
|
59838
60102
|
function repositoriesV2RepositoriesUpdate(client$, request, options) {
|
|
59839
|
-
return new APIPromise($
|
|
60103
|
+
return new APIPromise($do42(client$, request, options));
|
|
59840
60104
|
}
|
|
59841
|
-
async function $
|
|
60105
|
+
async function $do42(client$, request, options) {
|
|
59842
60106
|
const parsed$ = safeParse4(request, (value$) => V2RepositoriesUpdateRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59843
60107
|
if (!parsed$.ok) {
|
|
59844
60108
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59914,12 +60178,12 @@ var init_repositoriesV2RepositoriesUpdate = __esm(() => {
|
|
|
59914
60178
|
});
|
|
59915
60179
|
|
|
59916
60180
|
// src/mcp-server/tools/repositoriesV2RepositoriesUpdate.ts
|
|
59917
|
-
var
|
|
60181
|
+
var args35, tool$repositoriesV2RepositoriesUpdate;
|
|
59918
60182
|
var init_repositoriesV2RepositoriesUpdate2 = __esm(() => {
|
|
59919
60183
|
init_repositoriesV2RepositoriesUpdate();
|
|
59920
60184
|
init_v2repositoriesupdateop();
|
|
59921
60185
|
init_tools();
|
|
59922
|
-
|
|
60186
|
+
args35 = {
|
|
59923
60187
|
request: V2RepositoriesUpdateRequest$zodSchema
|
|
59924
60188
|
};
|
|
59925
60189
|
tool$repositoriesV2RepositoriesUpdate = {
|
|
@@ -59934,7 +60198,7 @@ Updates a repository workspace; omitted fields remain unchanged.`,
|
|
|
59934
60198
|
openWorldHint: false,
|
|
59935
60199
|
readOnlyHint: false
|
|
59936
60200
|
},
|
|
59937
|
-
args:
|
|
60201
|
+
args: args35,
|
|
59938
60202
|
tool: async (client, args, ctx) => {
|
|
59939
60203
|
const [result] = await repositoriesV2RepositoriesUpdate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59940
60204
|
if (!result.ok) {
|
|
@@ -59950,9 +60214,9 @@ Updates a repository workspace; omitted fields remain unchanged.`,
|
|
|
59950
60214
|
|
|
59951
60215
|
// src/funcs/siteAuditsV2SiteAuditsList.ts
|
|
59952
60216
|
function siteAuditsV2SiteAuditsList(client$, options) {
|
|
59953
|
-
return new APIPromise($
|
|
60217
|
+
return new APIPromise($do43(client$, options));
|
|
59954
60218
|
}
|
|
59955
|
-
async function $
|
|
60219
|
+
async function $do43(client$, options) {
|
|
59956
60220
|
const path$ = pathToFunc("/v2/site-audits")();
|
|
59957
60221
|
const headers$ = new Headers(compactMap({
|
|
59958
60222
|
Accept: "application/json"
|
|
@@ -60093,9 +60357,9 @@ var init_v2siteauditsretrieveop = __esm(() => {
|
|
|
60093
60357
|
|
|
60094
60358
|
// src/funcs/siteAuditsV2SiteAuditsRetrieve.ts
|
|
60095
60359
|
function siteAuditsV2SiteAuditsRetrieve(client$, request, options) {
|
|
60096
|
-
return new APIPromise($
|
|
60360
|
+
return new APIPromise($do44(client$, request, options));
|
|
60097
60361
|
}
|
|
60098
|
-
async function $
|
|
60362
|
+
async function $do44(client$, request, options) {
|
|
60099
60363
|
const parsed$ = safeParse4(request, (value$) => V2SiteAuditsRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
60100
60364
|
if (!parsed$.ok) {
|
|
60101
60365
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60170,12 +60434,12 @@ var init_siteAuditsV2SiteAuditsRetrieve = __esm(() => {
|
|
|
60170
60434
|
});
|
|
60171
60435
|
|
|
60172
60436
|
// src/mcp-server/tools/siteAuditsV2SiteAuditsRetrieve.ts
|
|
60173
|
-
var
|
|
60437
|
+
var args36, tool$siteAuditsV2SiteAuditsRetrieve;
|
|
60174
60438
|
var init_siteAuditsV2SiteAuditsRetrieve2 = __esm(() => {
|
|
60175
60439
|
init_siteAuditsV2SiteAuditsRetrieve();
|
|
60176
60440
|
init_v2siteauditsretrieveop();
|
|
60177
60441
|
init_tools();
|
|
60178
|
-
|
|
60442
|
+
args36 = {
|
|
60179
60443
|
request: V2SiteAuditsRetrieveRequest$zodSchema
|
|
60180
60444
|
};
|
|
60181
60445
|
tool$siteAuditsV2SiteAuditsRetrieve = {
|
|
@@ -60190,7 +60454,7 @@ Returns one audited page with its score, priority, supporting evidence, and reco
|
|
|
60190
60454
|
openWorldHint: false,
|
|
60191
60455
|
readOnlyHint: true
|
|
60192
60456
|
},
|
|
60193
|
-
args:
|
|
60457
|
+
args: args36,
|
|
60194
60458
|
tool: async (client, args, ctx) => {
|
|
60195
60459
|
const [result] = await siteAuditsV2SiteAuditsRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60196
60460
|
if (!result.ok) {
|
|
@@ -60206,9 +60470,9 @@ Returns one audited page with its score, priority, supporting evidence, and reco
|
|
|
60206
60470
|
|
|
60207
60471
|
// src/funcs/skillsV2SkillsList.ts
|
|
60208
60472
|
function skillsV2SkillsList(client$, options) {
|
|
60209
|
-
return new APIPromise($
|
|
60473
|
+
return new APIPromise($do45(client$, options));
|
|
60210
60474
|
}
|
|
60211
|
-
async function $
|
|
60475
|
+
async function $do45(client$, options) {
|
|
60212
60476
|
const path$ = pathToFunc("/v2/skills")();
|
|
60213
60477
|
const headers$ = new Headers(compactMap({
|
|
60214
60478
|
Accept: "application/json"
|
|
@@ -60298,9 +60562,9 @@ Returns reusable skills available to workflows and eval configurations.`,
|
|
|
60298
60562
|
|
|
60299
60563
|
// src/funcs/statusV2AuthStatusGet.ts
|
|
60300
60564
|
function statusV2AuthStatusGet(client$, options) {
|
|
60301
|
-
return new APIPromise($
|
|
60565
|
+
return new APIPromise($do46(client$, options));
|
|
60302
60566
|
}
|
|
60303
|
-
async function $
|
|
60567
|
+
async function $do46(client$, options) {
|
|
60304
60568
|
const path$ = pathToFunc("/v2/auth/status")();
|
|
60305
60569
|
const headers$ = new Headers(compactMap({
|
|
60306
60570
|
Accept: "application/json"
|
|
@@ -60390,9 +60654,9 @@ Validates the API key and returns its organization ID, API key ID, scopes, and a
|
|
|
60390
60654
|
|
|
60391
60655
|
// src/funcs/statusV2StatusGet.ts
|
|
60392
60656
|
function statusV2StatusGet(client$, options) {
|
|
60393
|
-
return new APIPromise($
|
|
60657
|
+
return new APIPromise($do47(client$, options));
|
|
60394
60658
|
}
|
|
60395
|
-
async function $
|
|
60659
|
+
async function $do47(client$, options) {
|
|
60396
60660
|
const path$ = pathToFunc("/v2/status")();
|
|
60397
60661
|
const headers$ = new Headers(compactMap({
|
|
60398
60662
|
Accept: "application/json"
|
|
@@ -60612,9 +60876,9 @@ var init_v2taskslistop = __esm(() => {
|
|
|
60612
60876
|
|
|
60613
60877
|
// src/funcs/tasksV2TasksList.ts
|
|
60614
60878
|
function tasksV2TasksList(client$, request, options) {
|
|
60615
|
-
return new APIPromise($
|
|
60879
|
+
return new APIPromise($do48(client$, request, options));
|
|
60616
60880
|
}
|
|
60617
|
-
async function $
|
|
60881
|
+
async function $do48(client$, request, options) {
|
|
60618
60882
|
const parsed$ = safeParse4(request, (value$) => V2TasksListRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
60619
60883
|
if (!parsed$.ok) {
|
|
60620
60884
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60688,12 +60952,12 @@ var init_tasksV2TasksList = __esm(() => {
|
|
|
60688
60952
|
});
|
|
60689
60953
|
|
|
60690
60954
|
// src/mcp-server/tools/tasksV2TasksList.ts
|
|
60691
|
-
var
|
|
60955
|
+
var args37, tool$tasksV2TasksList;
|
|
60692
60956
|
var init_tasksV2TasksList2 = __esm(() => {
|
|
60693
60957
|
init_tasksV2TasksList();
|
|
60694
60958
|
init_v2taskslistop();
|
|
60695
60959
|
init_tools();
|
|
60696
|
-
|
|
60960
|
+
args37 = {
|
|
60697
60961
|
request: V2TasksListRequest$zodSchema.optional()
|
|
60698
60962
|
};
|
|
60699
60963
|
tool$tasksV2TasksList = {
|
|
@@ -60708,7 +60972,7 @@ Returns persisted daily tasks with execution instructions. Includes per-status c
|
|
|
60708
60972
|
openWorldHint: false,
|
|
60709
60973
|
readOnlyHint: true
|
|
60710
60974
|
},
|
|
60711
|
-
args:
|
|
60975
|
+
args: args37,
|
|
60712
60976
|
tool: async (client, args, ctx) => {
|
|
60713
60977
|
const [result] = await tasksV2TasksList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60714
60978
|
if (!result.ok) {
|
|
@@ -60739,9 +61003,9 @@ var init_v2tasksretrieveop = __esm(() => {
|
|
|
60739
61003
|
|
|
60740
61004
|
// src/funcs/tasksV2TasksRetrieve.ts
|
|
60741
61005
|
function tasksV2TasksRetrieve(client$, request, options) {
|
|
60742
|
-
return new APIPromise($
|
|
61006
|
+
return new APIPromise($do49(client$, request, options));
|
|
60743
61007
|
}
|
|
60744
|
-
async function $
|
|
61008
|
+
async function $do49(client$, request, options) {
|
|
60745
61009
|
const parsed$ = safeParse4(request, (value$) => V2TasksRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
60746
61010
|
if (!parsed$.ok) {
|
|
60747
61011
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60816,12 +61080,12 @@ var init_tasksV2TasksRetrieve = __esm(() => {
|
|
|
60816
61080
|
});
|
|
60817
61081
|
|
|
60818
61082
|
// src/mcp-server/tools/tasksV2TasksRetrieve.ts
|
|
60819
|
-
var
|
|
61083
|
+
var args38, tool$tasksV2TasksRetrieve;
|
|
60820
61084
|
var init_tasksV2TasksRetrieve2 = __esm(() => {
|
|
60821
61085
|
init_tasksV2TasksRetrieve();
|
|
60822
61086
|
init_v2tasksretrieveop();
|
|
60823
61087
|
init_tools();
|
|
60824
|
-
|
|
61088
|
+
args38 = {
|
|
60825
61089
|
request: V2TasksRetrieveRequest$zodSchema
|
|
60826
61090
|
};
|
|
60827
61091
|
tool$tasksV2TasksRetrieve = {
|
|
@@ -60836,7 +61100,7 @@ Returns one persisted task and its execution prompt.`,
|
|
|
60836
61100
|
openWorldHint: false,
|
|
60837
61101
|
readOnlyHint: true
|
|
60838
61102
|
},
|
|
60839
|
-
args:
|
|
61103
|
+
args: args38,
|
|
60840
61104
|
tool: async (client, args, ctx) => {
|
|
60841
61105
|
const [result] = await tasksV2TasksRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60842
61106
|
if (!result.ok) {
|
|
@@ -60899,9 +61163,9 @@ var init_v2tasksupdateop = __esm(() => {
|
|
|
60899
61163
|
|
|
60900
61164
|
// src/funcs/tasksV2TasksUpdate.ts
|
|
60901
61165
|
function tasksV2TasksUpdate(client$, request, options) {
|
|
60902
|
-
return new APIPromise($
|
|
61166
|
+
return new APIPromise($do50(client$, request, options));
|
|
60903
61167
|
}
|
|
60904
|
-
async function $
|
|
61168
|
+
async function $do50(client$, request, options) {
|
|
60905
61169
|
const parsed$ = safeParse4(request, (value$) => V2TasksUpdateRequest$zodSchema.parse(value$), "Input validation failed");
|
|
60906
61170
|
if (!parsed$.ok) {
|
|
60907
61171
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60977,12 +61241,12 @@ var init_tasksV2TasksUpdate = __esm(() => {
|
|
|
60977
61241
|
});
|
|
60978
61242
|
|
|
60979
61243
|
// src/mcp-server/tools/tasksV2TasksUpdate.ts
|
|
60980
|
-
var
|
|
61244
|
+
var args39, tool$tasksV2TasksUpdate;
|
|
60981
61245
|
var init_tasksV2TasksUpdate2 = __esm(() => {
|
|
60982
61246
|
init_tasksV2TasksUpdate();
|
|
60983
61247
|
init_v2tasksupdateop();
|
|
60984
61248
|
init_tools();
|
|
60985
|
-
|
|
61249
|
+
args39 = {
|
|
60986
61250
|
request: V2TasksUpdateRequest$zodSchema
|
|
60987
61251
|
};
|
|
60988
61252
|
tool$tasksV2TasksUpdate = {
|
|
@@ -60997,7 +61261,7 @@ Updates a task's status, priority, assignee, or action type. Only sent fields ar
|
|
|
60997
61261
|
openWorldHint: false,
|
|
60998
61262
|
readOnlyHint: false
|
|
60999
61263
|
},
|
|
61000
|
-
args:
|
|
61264
|
+
args: args39,
|
|
61001
61265
|
tool: async (client, args, ctx) => {
|
|
61002
61266
|
const [result] = await tasksV2TasksUpdate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61003
61267
|
if (!result.ok) {
|
|
@@ -61085,9 +61349,9 @@ var init_v2visibilitycitationslistop = __esm(() => {
|
|
|
61085
61349
|
|
|
61086
61350
|
// src/funcs/visibilityV2VisibilityCitationsList.ts
|
|
61087
61351
|
function visibilityV2VisibilityCitationsList(client$, request, options) {
|
|
61088
|
-
return new APIPromise($
|
|
61352
|
+
return new APIPromise($do51(client$, request, options));
|
|
61089
61353
|
}
|
|
61090
|
-
async function $
|
|
61354
|
+
async function $do51(client$, request, options) {
|
|
61091
61355
|
const parsed$ = safeParse4(request, (value$) => V2VisibilityCitationsListRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
61092
61356
|
if (!parsed$.ok) {
|
|
61093
61357
|
return [parsed$, { status: "invalid" }];
|
|
@@ -61164,12 +61428,12 @@ var init_visibilityV2VisibilityCitationsList = __esm(() => {
|
|
|
61164
61428
|
});
|
|
61165
61429
|
|
|
61166
61430
|
// src/mcp-server/tools/visibilityV2VisibilityCitationsList.ts
|
|
61167
|
-
var
|
|
61431
|
+
var args40, tool$visibilityV2VisibilityCitationsList;
|
|
61168
61432
|
var init_visibilityV2VisibilityCitationsList2 = __esm(() => {
|
|
61169
61433
|
init_visibilityV2VisibilityCitationsList();
|
|
61170
61434
|
init_v2visibilitycitationslistop();
|
|
61171
61435
|
init_tools();
|
|
61172
|
-
|
|
61436
|
+
args40 = {
|
|
61173
61437
|
request: V2VisibilityCitationsListRequest$zodSchema.optional()
|
|
61174
61438
|
};
|
|
61175
61439
|
tool$visibilityV2VisibilityCitationsList = {
|
|
@@ -61184,7 +61448,7 @@ Returns URL-level citation counts ranked from most to least cited. Results can b
|
|
|
61184
61448
|
openWorldHint: false,
|
|
61185
61449
|
readOnlyHint: true
|
|
61186
61450
|
},
|
|
61187
|
-
args:
|
|
61451
|
+
args: args40,
|
|
61188
61452
|
tool: async (client, args, ctx) => {
|
|
61189
61453
|
const [result] = await visibilityV2VisibilityCitationsList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61190
61454
|
if (!result.ok) {
|
|
@@ -61249,9 +61513,9 @@ var init_v2visibilitycurrentretrieveop = __esm(() => {
|
|
|
61249
61513
|
|
|
61250
61514
|
// src/funcs/visibilityV2VisibilityCurrentRetrieve.ts
|
|
61251
61515
|
function visibilityV2VisibilityCurrentRetrieve(client$, request, options) {
|
|
61252
|
-
return new APIPromise($
|
|
61516
|
+
return new APIPromise($do52(client$, request, options));
|
|
61253
61517
|
}
|
|
61254
|
-
async function $
|
|
61518
|
+
async function $do52(client$, request, options) {
|
|
61255
61519
|
const parsed$ = safeParse4(request, (value$) => V2VisibilityCurrentRetrieveRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
61256
61520
|
if (!parsed$.ok) {
|
|
61257
61521
|
return [parsed$, { status: "invalid" }];
|
|
@@ -61325,12 +61589,12 @@ var init_visibilityV2VisibilityCurrentRetrieve = __esm(() => {
|
|
|
61325
61589
|
});
|
|
61326
61590
|
|
|
61327
61591
|
// src/mcp-server/tools/visibilityV2VisibilityCurrentRetrieve.ts
|
|
61328
|
-
var
|
|
61592
|
+
var args41, tool$visibilityV2VisibilityCurrentRetrieve;
|
|
61329
61593
|
var init_visibilityV2VisibilityCurrentRetrieve2 = __esm(() => {
|
|
61330
61594
|
init_visibilityV2VisibilityCurrentRetrieve();
|
|
61331
61595
|
init_v2visibilitycurrentretrieveop();
|
|
61332
61596
|
init_tools();
|
|
61333
|
-
|
|
61597
|
+
args41 = {
|
|
61334
61598
|
request: V2VisibilityCurrentRetrieveRequest$zodSchema.optional()
|
|
61335
61599
|
};
|
|
61336
61600
|
tool$visibilityV2VisibilityCurrentRetrieve = {
|
|
@@ -61345,7 +61609,7 @@ Returns visibility score, share of voice, ranks, and date-range metadata for the
|
|
|
61345
61609
|
openWorldHint: false,
|
|
61346
61610
|
readOnlyHint: true
|
|
61347
61611
|
},
|
|
61348
|
-
args:
|
|
61612
|
+
args: args41,
|
|
61349
61613
|
tool: async (client, args, ctx) => {
|
|
61350
61614
|
const [result] = await visibilityV2VisibilityCurrentRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61351
61615
|
if (!result.ok) {
|
|
@@ -61488,9 +61752,9 @@ var init_v2visibilityoverviewretrieveop = __esm(() => {
|
|
|
61488
61752
|
|
|
61489
61753
|
// src/funcs/visibilityV2VisibilityOverviewRetrieve.ts
|
|
61490
61754
|
function visibilityV2VisibilityOverviewRetrieve(client$, request, options) {
|
|
61491
|
-
return new APIPromise($
|
|
61755
|
+
return new APIPromise($do53(client$, request, options));
|
|
61492
61756
|
}
|
|
61493
|
-
async function $
|
|
61757
|
+
async function $do53(client$, request, options) {
|
|
61494
61758
|
const parsed$ = safeParse4(request, (value$) => V2VisibilityOverviewRetrieveRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
61495
61759
|
if (!parsed$.ok) {
|
|
61496
61760
|
return [parsed$, { status: "invalid" }];
|
|
@@ -61564,12 +61828,12 @@ var init_visibilityV2VisibilityOverviewRetrieve = __esm(() => {
|
|
|
61564
61828
|
});
|
|
61565
61829
|
|
|
61566
61830
|
// src/mcp-server/tools/visibilityV2VisibilityOverviewRetrieve.ts
|
|
61567
|
-
var
|
|
61831
|
+
var args42, tool$visibilityV2VisibilityOverviewRetrieve;
|
|
61568
61832
|
var init_visibilityV2VisibilityOverviewRetrieve2 = __esm(() => {
|
|
61569
61833
|
init_visibilityV2VisibilityOverviewRetrieve();
|
|
61570
61834
|
init_v2visibilityoverviewretrieveop();
|
|
61571
61835
|
init_tools();
|
|
61572
|
-
|
|
61836
|
+
args42 = {
|
|
61573
61837
|
request: V2VisibilityOverviewRetrieveRequest$zodSchema.optional()
|
|
61574
61838
|
};
|
|
61575
61839
|
tool$visibilityV2VisibilityOverviewRetrieve = {
|
|
@@ -61584,7 +61848,7 @@ Returns aggregate snapshot, daily trends, per-platform breakdowns, and competito
|
|
|
61584
61848
|
openWorldHint: false,
|
|
61585
61849
|
readOnlyHint: true
|
|
61586
61850
|
},
|
|
61587
|
-
args:
|
|
61851
|
+
args: args42,
|
|
61588
61852
|
tool: async (client, args, ctx) => {
|
|
61589
61853
|
const [result] = await visibilityV2VisibilityOverviewRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61590
61854
|
if (!result.ok) {
|
|
@@ -61698,9 +61962,9 @@ var init_v2visibilitypromptsretrieveop = __esm(() => {
|
|
|
61698
61962
|
|
|
61699
61963
|
// src/funcs/visibilityV2VisibilityPromptsRetrieve.ts
|
|
61700
61964
|
function visibilityV2VisibilityPromptsRetrieve(client$, request, options) {
|
|
61701
|
-
return new APIPromise($
|
|
61965
|
+
return new APIPromise($do54(client$, request, options));
|
|
61702
61966
|
}
|
|
61703
|
-
async function $
|
|
61967
|
+
async function $do54(client$, request, options) {
|
|
61704
61968
|
const parsed$ = safeParse4(request, (value$) => V2VisibilityPromptsRetrieveRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
61705
61969
|
if (!parsed$.ok) {
|
|
61706
61970
|
return [parsed$, { status: "invalid" }];
|
|
@@ -61774,12 +62038,12 @@ var init_visibilityV2VisibilityPromptsRetrieve = __esm(() => {
|
|
|
61774
62038
|
});
|
|
61775
62039
|
|
|
61776
62040
|
// src/mcp-server/tools/visibilityV2VisibilityPromptsRetrieve.ts
|
|
61777
|
-
var
|
|
62041
|
+
var args43, tool$visibilityV2VisibilityPromptsRetrieve;
|
|
61778
62042
|
var init_visibilityV2VisibilityPromptsRetrieve2 = __esm(() => {
|
|
61779
62043
|
init_visibilityV2VisibilityPromptsRetrieve();
|
|
61780
62044
|
init_v2visibilitypromptsretrieveop();
|
|
61781
62045
|
init_tools();
|
|
61782
|
-
|
|
62046
|
+
args43 = {
|
|
61783
62047
|
request: V2VisibilityPromptsRetrieveRequest$zodSchema.optional()
|
|
61784
62048
|
};
|
|
61785
62049
|
tool$visibilityV2VisibilityPromptsRetrieve = {
|
|
@@ -61794,7 +62058,7 @@ Returns per-topic and per-prompt visibility metrics including score, rank, share
|
|
|
61794
62058
|
openWorldHint: false,
|
|
61795
62059
|
readOnlyHint: true
|
|
61796
62060
|
},
|
|
61797
|
-
args:
|
|
62061
|
+
args: args43,
|
|
61798
62062
|
tool: async (client, args, ctx) => {
|
|
61799
62063
|
const [result] = await visibilityV2VisibilityPromptsRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61800
62064
|
if (!result.ok) {
|
|
@@ -61818,7 +62082,7 @@ function createMCPServer(deps) {
|
|
|
61818
62082
|
sizes: ["any"]
|
|
61819
62083
|
}],
|
|
61820
62084
|
name: "LightsageMcp",
|
|
61821
|
-
version: "0.
|
|
62085
|
+
version: "0.3.0"
|
|
61822
62086
|
});
|
|
61823
62087
|
const getClient = deps.getSDK || (() => new LightsageMcpCore({
|
|
61824
62088
|
security: deps.security,
|
|
@@ -61875,7 +62139,8 @@ function createMCPServer(deps) {
|
|
|
61875
62139
|
tool(tool$evalsV2EvalConfigurationsUpdate);
|
|
61876
62140
|
tool(tool$evalsV2EvalConfigurationsDelete);
|
|
61877
62141
|
tool(tool$evalsRun);
|
|
61878
|
-
tool(tool$
|
|
62142
|
+
tool(tool$evalsAnalysis);
|
|
62143
|
+
tool(tool$evalsTrace);
|
|
61879
62144
|
tool(tool$evalRunsV2EvalRunsList);
|
|
61880
62145
|
tool(tool$evalRunsV2EvalRunsRetrieve);
|
|
61881
62146
|
tool(tool$evalResultsV2EvalResultsList);
|
|
@@ -61910,8 +62175,9 @@ var init_server2 = __esm(() => {
|
|
|
61910
62175
|
init_evalResultsV2EvalResultsRetrieve2();
|
|
61911
62176
|
init_evalRunsV2EvalRunsList2();
|
|
61912
62177
|
init_evalRunsV2EvalRunsRetrieve2();
|
|
61913
|
-
|
|
62178
|
+
init_evalsAnalysis2();
|
|
61914
62179
|
init_evalsRun2();
|
|
62180
|
+
init_evalsTrace2();
|
|
61915
62181
|
init_evalsV2EvalConfigurationsCreate2();
|
|
61916
62182
|
init_evalsV2EvalConfigurationsDelete2();
|
|
61917
62183
|
init_evalsV2EvalConfigurationsList2();
|
|
@@ -62117,9 +62383,7 @@ Returns all active evals including workflow, MCP, CLI, and skill evals owned by
|
|
|
62117
62383
|
},
|
|
62118
62384
|
{
|
|
62119
62385
|
name: "evals-v2-evals-create",
|
|
62120
|
-
description:
|
|
62121
|
-
|
|
62122
|
-
Creates an eval with a task prompt, subject, and judge. The eval can then be run through eval runs.`
|
|
62386
|
+
description: "Create Eval\n\nCreates an eval with a task prompt, subject, and plain-text success criterion in `judge`. The eval can then be run through eval runs."
|
|
62123
62387
|
},
|
|
62124
62388
|
{
|
|
62125
62389
|
name: "evals-v2-evals-retrieve",
|
|
@@ -62129,9 +62393,7 @@ Returns one eval and its judge configuration.`
|
|
|
62129
62393
|
},
|
|
62130
62394
|
{
|
|
62131
62395
|
name: "evals-v2-evals-update",
|
|
62132
|
-
description:
|
|
62133
|
-
|
|
62134
|
-
Updates an eval's task prompt, subject, judge, or name. Omitted fields remain unchanged.`
|
|
62396
|
+
description: "Update Eval\n\nUpdates an eval's task prompt, subject, plain-text `judge`, or name. Omitted fields remain unchanged."
|
|
62135
62397
|
},
|
|
62136
62398
|
{
|
|
62137
62399
|
name: "evals-v2-evals-delete",
|
|
@@ -62171,11 +62433,17 @@ Permanently deletes an eval configuration and returns its last saved state.`
|
|
|
62171
62433
|
},
|
|
62172
62434
|
{
|
|
62173
62435
|
name: "evals-run",
|
|
62174
|
-
description: "
|
|
62436
|
+
description: "Start an eval run\n\nQueues a durable eval job and returns immediately with a polling ID. Poll `GET /v2/eval-runs/{run_id}` until its status reaches a terminal value.\n\nSend one of these flat request forms:\n\n- **Saved eval:** provide `eval_id`, `configuration_id`, and `agent_id`.\n- **Direct create-and-run:** provide `prompt`, `judges`, and `agent_id`. You may also provide a repository, write-only environment variables, and public skill packages.\n\nDo not combine saved-run and direct-run fields. No separate `mode` field is required."
|
|
62437
|
+
},
|
|
62438
|
+
{
|
|
62439
|
+
name: "evals-analysis",
|
|
62440
|
+
description: `Retrieve eval run analysis
|
|
62441
|
+
|
|
62442
|
+
Returns the persisted analysis produced for each completed attempt in one eval run. The analysis includes the verdict, outcome explanation, findings, bottleneck, and analysis sections. Active runs return the analysis available so far together with current run status and progress.`
|
|
62175
62443
|
},
|
|
62176
62444
|
{
|
|
62177
|
-
name: "evals-
|
|
62178
|
-
description: "
|
|
62445
|
+
name: "evals-trace",
|
|
62446
|
+
description: "Retrieve an eval run trace\n\nReturns a finite page of sanitized execution events for one eval run. Use `next_after_id` as `after_id` to retrieve the next page. Use the monitor operation instead when following a run live."
|
|
62179
62447
|
},
|
|
62180
62448
|
{
|
|
62181
62449
|
name: "eval-runs-v2-eval-runs-list",
|
|
@@ -62191,7 +62459,7 @@ Returns the status and progress of an eval job. Poll until the status reaches a
|
|
|
62191
62459
|
name: "eval-results-v2-eval-results-list",
|
|
62192
62460
|
description: `List Results
|
|
62193
62461
|
|
|
62194
|
-
Returns completed custom-eval results from
|
|
62462
|
+
Returns completed custom-eval results from all supported run flows, ordered newest first. Result IDs are different from eval run IDs.`
|
|
62195
62463
|
},
|
|
62196
62464
|
{
|
|
62197
62465
|
name: "eval-results-v2-eval-results-retrieve",
|
|
@@ -63163,7 +63431,7 @@ http_headers = { "lightsage-api-key-auth" = "YOUR_LIGHTSAGE_API_KEY_AUTH" }`;
|
|
|
63163
63431
|
<h1>Instructions</h1>
|
|
63164
63432
|
<p>One-click installation for Claude Desktop users</p>
|
|
63165
63433
|
<div class="instruction-item">
|
|
63166
|
-
<a href="https://github.com/lightsagehq/mcp/releases/download/v0.
|
|
63434
|
+
<a href="https://github.com/lightsagehq/mcp/releases/download/v0.3.0/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
|
|
63167
63435
|
\uD83D\uDCE5 Download MCP Bundle
|
|
63168
63436
|
</a>
|
|
63169
63437
|
</div>
|
|
@@ -66041,7 +66309,7 @@ var routes = buildRouteMap({
|
|
|
66041
66309
|
var app = buildApplication(routes, {
|
|
66042
66310
|
name: "mcp",
|
|
66043
66311
|
versionInfo: {
|
|
66044
|
-
currentVersion: "0.
|
|
66312
|
+
currentVersion: "0.3.0"
|
|
66045
66313
|
}
|
|
66046
66314
|
});
|
|
66047
66315
|
run(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -66049,5 +66317,5 @@ export {
|
|
|
66049
66317
|
app
|
|
66050
66318
|
};
|
|
66051
66319
|
|
|
66052
|
-
//# debugId=
|
|
66320
|
+
//# debugId=E8194E142237D9EF64756E2164756E21
|
|
66053
66321
|
//# sourceMappingURL=mcp-server.js.map
|