@lightsage/mcp 0.2.2 → 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 +525 -262
- package/bin/mcp-server.js.map +26 -19
- 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/evalsTrace.d.ts +16 -0
- package/esm/funcs/evalsTrace.d.ts.map +1 -0
- package/esm/funcs/{evalsMonitor.js → evalsTrace.js} +19 -20
- 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/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/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/tool-names.d.ts.map +1 -1
- package/esm/tool-names.js +9 -5
- 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/{evalsMonitor.ts → evalsTrace.ts} +26 -24
- 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/{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/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 +9 -5
- 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 -27
- package/esm/models/v2evalrunsmonitorop.d.ts.map +0 -1
- package/esm/models/v2evalrunsmonitorop.js +0 -27
- package/esm/models/v2evalrunsmonitorop.js.map +0 -1
- package/src/models/v2evalrunsmonitorop.ts +0 -59
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,52 +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
|
-
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),
|
|
55537
55621
|
HTTPValidationError$zodSchema
|
|
55538
55622
|
]);
|
|
55539
55623
|
});
|
|
55540
55624
|
|
|
55541
|
-
// src/funcs/
|
|
55542
|
-
function
|
|
55625
|
+
// src/funcs/evalsAnalysis.ts
|
|
55626
|
+
function evalsAnalysis(client$, request, options) {
|
|
55543
55627
|
return new APIPromise($do11(client$, request, options));
|
|
55544
55628
|
}
|
|
55545
55629
|
async function $do11(client$, request, options) {
|
|
55546
|
-
const parsed$ = safeParse4(request, (value$) =>
|
|
55630
|
+
const parsed$ = safeParse4(request, (value$) => V2EvalRunsAnalysisRequest$zodSchema.parse(value$), "Input validation failed");
|
|
55547
55631
|
if (!parsed$.ok) {
|
|
55548
55632
|
return [parsed$, { status: "invalid" }];
|
|
55549
55633
|
}
|
|
55550
55634
|
const payload$ = parsed$.value;
|
|
55551
55635
|
const body$ = null;
|
|
55552
|
-
const
|
|
55553
|
-
|
|
55554
|
-
|
|
55555
|
-
|
|
55556
|
-
|
|
55557
|
-
}
|
|
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$);
|
|
55558
55643
|
const headers$ = new Headers(compactMap({
|
|
55559
|
-
Accept:
|
|
55644
|
+
Accept: "application/json"
|
|
55560
55645
|
}));
|
|
55561
55646
|
const securityInput = await extractSecurity(client$._options.security);
|
|
55562
55647
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
55563
55648
|
const context = {
|
|
55564
55649
|
options: client$._options,
|
|
55565
55650
|
baseURL: options?.serverURL ?? client$._baseURL ?? "",
|
|
55566
|
-
operationID: "
|
|
55651
|
+
operationID: "v2_eval_runs_analysis",
|
|
55567
55652
|
oAuth2Scopes: null,
|
|
55568
55653
|
resolvedSecurity: requestSecurity,
|
|
55569
55654
|
securitySource: client$._options.security,
|
|
@@ -55582,7 +55667,6 @@ async function $do11(client$, request, options) {
|
|
|
55582
55667
|
baseURL: options?.serverURL,
|
|
55583
55668
|
path: path$,
|
|
55584
55669
|
headers: headers$,
|
|
55585
|
-
query: query$,
|
|
55586
55670
|
body: body$,
|
|
55587
55671
|
userAgent: client$._options.userAgent,
|
|
55588
55672
|
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
@@ -55606,30 +55690,30 @@ async function $do11(client$, request, options) {
|
|
|
55606
55690
|
response: doResult.value
|
|
55607
55691
|
}];
|
|
55608
55692
|
}
|
|
55609
|
-
var
|
|
55693
|
+
var init_evalsAnalysis = __esm(() => {
|
|
55610
55694
|
init_encodings();
|
|
55611
55695
|
init_primitives();
|
|
55612
55696
|
init_schemas4();
|
|
55613
55697
|
init_security();
|
|
55614
55698
|
init_url();
|
|
55615
|
-
|
|
55699
|
+
init_v2evalrunsanalysisop();
|
|
55616
55700
|
init_async();
|
|
55617
55701
|
});
|
|
55618
55702
|
|
|
55619
|
-
// src/mcp-server/tools/
|
|
55620
|
-
var args8, tool$
|
|
55621
|
-
var
|
|
55622
|
-
|
|
55623
|
-
|
|
55703
|
+
// src/mcp-server/tools/evalsAnalysis.ts
|
|
55704
|
+
var args8, tool$evalsAnalysis;
|
|
55705
|
+
var init_evalsAnalysis2 = __esm(() => {
|
|
55706
|
+
init_evalsAnalysis();
|
|
55707
|
+
init_v2evalrunsanalysisop();
|
|
55624
55708
|
init_tools();
|
|
55625
55709
|
args8 = {
|
|
55626
|
-
request:
|
|
55710
|
+
request: V2EvalRunsAnalysisRequest$zodSchema
|
|
55627
55711
|
};
|
|
55628
|
-
tool$
|
|
55629
|
-
name: "evals-
|
|
55630
|
-
description: `
|
|
55712
|
+
tool$evalsAnalysis = {
|
|
55713
|
+
name: "evals-analysis",
|
|
55714
|
+
description: `Retrieve eval run analysis
|
|
55631
55715
|
|
|
55632
|
-
|
|
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.`,
|
|
55633
55717
|
annotations: {
|
|
55634
55718
|
title: "",
|
|
55635
55719
|
destructiveHint: false,
|
|
@@ -55639,7 +55723,7 @@ Streams an immediate snapshot followed by live status and sanitized activity. Pr
|
|
|
55639
55723
|
},
|
|
55640
55724
|
args: args8,
|
|
55641
55725
|
tool: async (client, args, ctx) => {
|
|
55642
|
-
const [result] = await
|
|
55726
|
+
const [result] = await evalsAnalysis(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55643
55727
|
if (!result.ok) {
|
|
55644
55728
|
return {
|
|
55645
55729
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55782,6 +55866,183 @@ Do not combine saved-run and direct-run fields. No separate \`mode\` field is re
|
|
|
55782
55866
|
};
|
|
55783
55867
|
});
|
|
55784
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
|
+
|
|
55785
56046
|
// src/models/createv2evalconfigurationrequest.ts
|
|
55786
56047
|
var CreateV2EvalConfigurationRequest$zodSchema;
|
|
55787
56048
|
var init_createv2evalconfigurationrequest = __esm(() => {
|
|
@@ -55837,9 +56098,9 @@ var init_v2evalconfigurationscreateop = __esm(() => {
|
|
|
55837
56098
|
|
|
55838
56099
|
// src/funcs/evalsV2EvalConfigurationsCreate.ts
|
|
55839
56100
|
function evalsV2EvalConfigurationsCreate(client$, request, options) {
|
|
55840
|
-
return new APIPromise($
|
|
56101
|
+
return new APIPromise($do14(client$, request, options));
|
|
55841
56102
|
}
|
|
55842
|
-
async function $
|
|
56103
|
+
async function $do14(client$, request, options) {
|
|
55843
56104
|
const parsed$ = safeParse4(request, (value$) => V2EvalConfigurationsCreateRequest$zodSchema.parse(value$), "Input validation failed");
|
|
55844
56105
|
if (!parsed$.ok) {
|
|
55845
56106
|
return [parsed$, { status: "invalid" }];
|
|
@@ -55915,12 +56176,12 @@ var init_evalsV2EvalConfigurationsCreate = __esm(() => {
|
|
|
55915
56176
|
});
|
|
55916
56177
|
|
|
55917
56178
|
// src/mcp-server/tools/evalsV2EvalConfigurationsCreate.ts
|
|
55918
|
-
var
|
|
56179
|
+
var args11, tool$evalsV2EvalConfigurationsCreate;
|
|
55919
56180
|
var init_evalsV2EvalConfigurationsCreate2 = __esm(() => {
|
|
55920
56181
|
init_evalsV2EvalConfigurationsCreate();
|
|
55921
56182
|
init_v2evalconfigurationscreateop();
|
|
55922
56183
|
init_tools();
|
|
55923
|
-
|
|
56184
|
+
args11 = {
|
|
55924
56185
|
request: V2EvalConfigurationsCreateRequest$zodSchema
|
|
55925
56186
|
};
|
|
55926
56187
|
tool$evalsV2EvalConfigurationsCreate = {
|
|
@@ -55935,7 +56196,7 @@ Creates a saved runtime configuration that pairs an eval with a repository, envi
|
|
|
55935
56196
|
openWorldHint: false,
|
|
55936
56197
|
readOnlyHint: false
|
|
55937
56198
|
},
|
|
55938
|
-
args:
|
|
56199
|
+
args: args11,
|
|
55939
56200
|
tool: async (client, args, ctx) => {
|
|
55940
56201
|
const [result] = await evalsV2EvalConfigurationsCreate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55941
56202
|
if (!result.ok) {
|
|
@@ -55967,9 +56228,9 @@ var init_v2evalconfigurationsdeleteop = __esm(() => {
|
|
|
55967
56228
|
|
|
55968
56229
|
// src/funcs/evalsV2EvalConfigurationsDelete.ts
|
|
55969
56230
|
function evalsV2EvalConfigurationsDelete(client$, request, options) {
|
|
55970
|
-
return new APIPromise($
|
|
56231
|
+
return new APIPromise($do15(client$, request, options));
|
|
55971
56232
|
}
|
|
55972
|
-
async function $
|
|
56233
|
+
async function $do15(client$, request, options) {
|
|
55973
56234
|
const parsed$ = safeParse4(request, (value$) => V2EvalConfigurationsDeleteRequest$zodSchema.parse(value$), "Input validation failed");
|
|
55974
56235
|
if (!parsed$.ok) {
|
|
55975
56236
|
return [parsed$, { status: "invalid" }];
|
|
@@ -56045,12 +56306,12 @@ var init_evalsV2EvalConfigurationsDelete = __esm(() => {
|
|
|
56045
56306
|
});
|
|
56046
56307
|
|
|
56047
56308
|
// src/mcp-server/tools/evalsV2EvalConfigurationsDelete.ts
|
|
56048
|
-
var
|
|
56309
|
+
var args12, tool$evalsV2EvalConfigurationsDelete;
|
|
56049
56310
|
var init_evalsV2EvalConfigurationsDelete2 = __esm(() => {
|
|
56050
56311
|
init_evalsV2EvalConfigurationsDelete();
|
|
56051
56312
|
init_v2evalconfigurationsdeleteop();
|
|
56052
56313
|
init_tools();
|
|
56053
|
-
|
|
56314
|
+
args12 = {
|
|
56054
56315
|
request: V2EvalConfigurationsDeleteRequest$zodSchema
|
|
56055
56316
|
};
|
|
56056
56317
|
tool$evalsV2EvalConfigurationsDelete = {
|
|
@@ -56065,7 +56326,7 @@ Permanently deletes an eval configuration and returns its last saved state.`,
|
|
|
56065
56326
|
openWorldHint: false,
|
|
56066
56327
|
readOnlyHint: false
|
|
56067
56328
|
},
|
|
56068
|
-
args:
|
|
56329
|
+
args: args12,
|
|
56069
56330
|
tool: async (client, args, ctx) => {
|
|
56070
56331
|
const [result] = await evalsV2EvalConfigurationsDelete(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56071
56332
|
if (!result.ok) {
|
|
@@ -56107,9 +56368,9 @@ var init_v2evalconfigurationslistop = __esm(() => {
|
|
|
56107
56368
|
|
|
56108
56369
|
// src/funcs/evalsV2EvalConfigurationsList.ts
|
|
56109
56370
|
function evalsV2EvalConfigurationsList(client$, request, options) {
|
|
56110
|
-
return new APIPromise($
|
|
56371
|
+
return new APIPromise($do16(client$, request, options));
|
|
56111
56372
|
}
|
|
56112
|
-
async function $
|
|
56373
|
+
async function $do16(client$, request, options) {
|
|
56113
56374
|
const parsed$ = safeParse4(request, (value$) => V2EvalConfigurationsListRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56114
56375
|
if (!parsed$.ok) {
|
|
56115
56376
|
return [parsed$, { status: "invalid" }];
|
|
@@ -56184,12 +56445,12 @@ var init_evalsV2EvalConfigurationsList = __esm(() => {
|
|
|
56184
56445
|
});
|
|
56185
56446
|
|
|
56186
56447
|
// src/mcp-server/tools/evalsV2EvalConfigurationsList.ts
|
|
56187
|
-
var
|
|
56448
|
+
var args13, tool$evalsV2EvalConfigurationsList;
|
|
56188
56449
|
var init_evalsV2EvalConfigurationsList2 = __esm(() => {
|
|
56189
56450
|
init_evalsV2EvalConfigurationsList();
|
|
56190
56451
|
init_v2evalconfigurationslistop();
|
|
56191
56452
|
init_tools();
|
|
56192
|
-
|
|
56453
|
+
args13 = {
|
|
56193
56454
|
request: V2EvalConfigurationsListRequest$zodSchema
|
|
56194
56455
|
};
|
|
56195
56456
|
tool$evalsV2EvalConfigurationsList = {
|
|
@@ -56204,7 +56465,7 @@ Returns the saved runtime configurations for an eval, including repository, envi
|
|
|
56204
56465
|
openWorldHint: false,
|
|
56205
56466
|
readOnlyHint: true
|
|
56206
56467
|
},
|
|
56207
|
-
args:
|
|
56468
|
+
args: args13,
|
|
56208
56469
|
tool: async (client, args, ctx) => {
|
|
56209
56470
|
const [result] = await evalsV2EvalConfigurationsList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56210
56471
|
if (!result.ok) {
|
|
@@ -56236,9 +56497,9 @@ var init_v2evalconfigurationsretrieveop = __esm(() => {
|
|
|
56236
56497
|
|
|
56237
56498
|
// src/funcs/evalsV2EvalConfigurationsRetrieve.ts
|
|
56238
56499
|
function evalsV2EvalConfigurationsRetrieve(client$, request, options) {
|
|
56239
|
-
return new APIPromise($
|
|
56500
|
+
return new APIPromise($do17(client$, request, options));
|
|
56240
56501
|
}
|
|
56241
|
-
async function $
|
|
56502
|
+
async function $do17(client$, request, options) {
|
|
56242
56503
|
const parsed$ = safeParse4(request, (value$) => V2EvalConfigurationsRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56243
56504
|
if (!parsed$.ok) {
|
|
56244
56505
|
return [parsed$, { status: "invalid" }];
|
|
@@ -56314,12 +56575,12 @@ var init_evalsV2EvalConfigurationsRetrieve = __esm(() => {
|
|
|
56314
56575
|
});
|
|
56315
56576
|
|
|
56316
56577
|
// src/mcp-server/tools/evalsV2EvalConfigurationsRetrieve.ts
|
|
56317
|
-
var
|
|
56578
|
+
var args14, tool$evalsV2EvalConfigurationsRetrieve;
|
|
56318
56579
|
var init_evalsV2EvalConfigurationsRetrieve2 = __esm(() => {
|
|
56319
56580
|
init_evalsV2EvalConfigurationsRetrieve();
|
|
56320
56581
|
init_v2evalconfigurationsretrieveop();
|
|
56321
56582
|
init_tools();
|
|
56322
|
-
|
|
56583
|
+
args14 = {
|
|
56323
56584
|
request: V2EvalConfigurationsRetrieveRequest$zodSchema
|
|
56324
56585
|
};
|
|
56325
56586
|
tool$evalsV2EvalConfigurationsRetrieve = {
|
|
@@ -56334,7 +56595,7 @@ Returns one saved configuration for an eval.`,
|
|
|
56334
56595
|
openWorldHint: false,
|
|
56335
56596
|
readOnlyHint: true
|
|
56336
56597
|
},
|
|
56337
|
-
args:
|
|
56598
|
+
args: args14,
|
|
56338
56599
|
tool: async (client, args, ctx) => {
|
|
56339
56600
|
const [result] = await evalsV2EvalConfigurationsRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56340
56601
|
if (!result.ok) {
|
|
@@ -56384,9 +56645,9 @@ var init_v2evalconfigurationsupdateop = __esm(() => {
|
|
|
56384
56645
|
|
|
56385
56646
|
// src/funcs/evalsV2EvalConfigurationsUpdate.ts
|
|
56386
56647
|
function evalsV2EvalConfigurationsUpdate(client$, request, options) {
|
|
56387
|
-
return new APIPromise($
|
|
56648
|
+
return new APIPromise($do18(client$, request, options));
|
|
56388
56649
|
}
|
|
56389
|
-
async function $
|
|
56650
|
+
async function $do18(client$, request, options) {
|
|
56390
56651
|
const parsed$ = safeParse4(request, (value$) => V2EvalConfigurationsUpdateRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56391
56652
|
if (!parsed$.ok) {
|
|
56392
56653
|
return [parsed$, { status: "invalid" }];
|
|
@@ -56463,12 +56724,12 @@ var init_evalsV2EvalConfigurationsUpdate = __esm(() => {
|
|
|
56463
56724
|
});
|
|
56464
56725
|
|
|
56465
56726
|
// src/mcp-server/tools/evalsV2EvalConfigurationsUpdate.ts
|
|
56466
|
-
var
|
|
56727
|
+
var args15, tool$evalsV2EvalConfigurationsUpdate;
|
|
56467
56728
|
var init_evalsV2EvalConfigurationsUpdate2 = __esm(() => {
|
|
56468
56729
|
init_evalsV2EvalConfigurationsUpdate();
|
|
56469
56730
|
init_v2evalconfigurationsupdateop();
|
|
56470
56731
|
init_tools();
|
|
56471
|
-
|
|
56732
|
+
args15 = {
|
|
56472
56733
|
request: V2EvalConfigurationsUpdateRequest$zodSchema
|
|
56473
56734
|
};
|
|
56474
56735
|
tool$evalsV2EvalConfigurationsUpdate = {
|
|
@@ -56483,7 +56744,7 @@ Updates an eval configuration; omitted fields remain unchanged.`,
|
|
|
56483
56744
|
openWorldHint: false,
|
|
56484
56745
|
readOnlyHint: false
|
|
56485
56746
|
},
|
|
56486
|
-
args:
|
|
56747
|
+
args: args15,
|
|
56487
56748
|
tool: async (client, args, ctx) => {
|
|
56488
56749
|
const [result] = await evalsV2EvalConfigurationsUpdate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56489
56750
|
if (!result.ok) {
|
|
@@ -56497,20 +56758,10 @@ Updates an eval configuration; omitted fields remain unchanged.`,
|
|
|
56497
56758
|
};
|
|
56498
56759
|
});
|
|
56499
56760
|
|
|
56500
|
-
// src/models/v2evaljudge.ts
|
|
56501
|
-
var V2EvalJudge$zodSchema;
|
|
56502
|
-
var init_v2evaljudge = __esm(() => {
|
|
56503
|
-
init_zod();
|
|
56504
|
-
V2EvalJudge$zodSchema = object({
|
|
56505
|
-
criteria: string2().describe("The outcome that counts as success.")
|
|
56506
|
-
});
|
|
56507
|
-
});
|
|
56508
|
-
|
|
56509
56761
|
// src/models/createv2evalrequest.ts
|
|
56510
56762
|
var CreateV2EvalRequestType$zodSchema, CreateV2EvalRequest$zodSchema;
|
|
56511
56763
|
var init_createv2evalrequest = __esm(() => {
|
|
56512
56764
|
init_zod();
|
|
56513
|
-
init_v2evaljudge();
|
|
56514
56765
|
CreateV2EvalRequestType$zodSchema = _enum([
|
|
56515
56766
|
"workflow",
|
|
56516
56767
|
"mcp",
|
|
@@ -56519,7 +56770,7 @@ var init_createv2evalrequest = __esm(() => {
|
|
|
56519
56770
|
]);
|
|
56520
56771
|
CreateV2EvalRequest$zodSchema = object({
|
|
56521
56772
|
cli_id: string2().optional(),
|
|
56522
|
-
judge:
|
|
56773
|
+
judge: string2().describe("Plain-text outcome that counts as success."),
|
|
56523
56774
|
mcp_server_id: string2().optional(),
|
|
56524
56775
|
name: string2(),
|
|
56525
56776
|
prompt: string2(),
|
|
@@ -56530,9 +56781,9 @@ var init_createv2evalrequest = __esm(() => {
|
|
|
56530
56781
|
|
|
56531
56782
|
// src/funcs/evalsV2EvalsCreate.ts
|
|
56532
56783
|
function evalsV2EvalsCreate(client$, request, options) {
|
|
56533
|
-
return new APIPromise($
|
|
56784
|
+
return new APIPromise($do19(client$, request, options));
|
|
56534
56785
|
}
|
|
56535
|
-
async function $
|
|
56786
|
+
async function $do19(client$, request, options) {
|
|
56536
56787
|
const parsed$ = safeParse4(request, (value$) => CreateV2EvalRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56537
56788
|
if (!parsed$.ok) {
|
|
56538
56789
|
return [parsed$, { status: "invalid" }];
|
|
@@ -56602,19 +56853,19 @@ var init_evalsV2EvalsCreate = __esm(() => {
|
|
|
56602
56853
|
});
|
|
56603
56854
|
|
|
56604
56855
|
// src/mcp-server/tools/evalsV2EvalsCreate.ts
|
|
56605
|
-
var
|
|
56856
|
+
var args16, tool$evalsV2EvalsCreate;
|
|
56606
56857
|
var init_evalsV2EvalsCreate2 = __esm(() => {
|
|
56607
56858
|
init_evalsV2EvalsCreate();
|
|
56608
56859
|
init_createv2evalrequest();
|
|
56609
56860
|
init_tools();
|
|
56610
|
-
|
|
56861
|
+
args16 = {
|
|
56611
56862
|
request: CreateV2EvalRequest$zodSchema
|
|
56612
56863
|
};
|
|
56613
56864
|
tool$evalsV2EvalsCreate = {
|
|
56614
56865
|
name: "evals-v2-evals-create",
|
|
56615
56866
|
description: `Create Eval
|
|
56616
56867
|
|
|
56617
|
-
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.`,
|
|
56618
56869
|
annotations: {
|
|
56619
56870
|
title: "",
|
|
56620
56871
|
destructiveHint: false,
|
|
@@ -56622,7 +56873,7 @@ Creates an eval with a task prompt, subject, and judge. The eval can then be run
|
|
|
56622
56873
|
openWorldHint: false,
|
|
56623
56874
|
readOnlyHint: false
|
|
56624
56875
|
},
|
|
56625
|
-
args:
|
|
56876
|
+
args: args16,
|
|
56626
56877
|
tool: async (client, args, ctx) => {
|
|
56627
56878
|
const [result] = await evalsV2EvalsCreate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56628
56879
|
if (!result.ok) {
|
|
@@ -56636,6 +56887,15 @@ Creates an eval with a task prompt, subject, and judge. The eval can then be run
|
|
|
56636
56887
|
};
|
|
56637
56888
|
});
|
|
56638
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
|
+
|
|
56639
56899
|
// src/models/v2eval.ts
|
|
56640
56900
|
var V2EvalType$zodSchema, V2Eval$zodSchema;
|
|
56641
56901
|
var init_v2eval = __esm(() => {
|
|
@@ -56678,9 +56938,9 @@ var init_v2evalsdeleteop = __esm(() => {
|
|
|
56678
56938
|
|
|
56679
56939
|
// src/funcs/evalsV2EvalsDelete.ts
|
|
56680
56940
|
function evalsV2EvalsDelete(client$, request, options) {
|
|
56681
|
-
return new APIPromise($
|
|
56941
|
+
return new APIPromise($do20(client$, request, options));
|
|
56682
56942
|
}
|
|
56683
|
-
async function $
|
|
56943
|
+
async function $do20(client$, request, options) {
|
|
56684
56944
|
const parsed$ = safeParse4(request, (value$) => V2EvalsDeleteRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56685
56945
|
if (!parsed$.ok) {
|
|
56686
56946
|
return [parsed$, { status: "invalid" }];
|
|
@@ -56755,12 +57015,12 @@ var init_evalsV2EvalsDelete = __esm(() => {
|
|
|
56755
57015
|
});
|
|
56756
57016
|
|
|
56757
57017
|
// src/mcp-server/tools/evalsV2EvalsDelete.ts
|
|
56758
|
-
var
|
|
57018
|
+
var args17, tool$evalsV2EvalsDelete;
|
|
56759
57019
|
var init_evalsV2EvalsDelete2 = __esm(() => {
|
|
56760
57020
|
init_evalsV2EvalsDelete();
|
|
56761
57021
|
init_v2evalsdeleteop();
|
|
56762
57022
|
init_tools();
|
|
56763
|
-
|
|
57023
|
+
args17 = {
|
|
56764
57024
|
request: V2EvalsDeleteRequest$zodSchema
|
|
56765
57025
|
};
|
|
56766
57026
|
tool$evalsV2EvalsDelete = {
|
|
@@ -56775,7 +57035,7 @@ Permanently deletes an eval and all of its saved configurations.`,
|
|
|
56775
57035
|
openWorldHint: false,
|
|
56776
57036
|
readOnlyHint: false
|
|
56777
57037
|
},
|
|
56778
|
-
args:
|
|
57038
|
+
args: args17,
|
|
56779
57039
|
tool: async (client, args, ctx) => {
|
|
56780
57040
|
const [result] = await evalsV2EvalsDelete(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
56781
57041
|
if (!result.ok) {
|
|
@@ -56791,9 +57051,9 @@ Permanently deletes an eval and all of its saved configurations.`,
|
|
|
56791
57051
|
|
|
56792
57052
|
// src/funcs/evalsV2EvalsList.ts
|
|
56793
57053
|
function evalsV2EvalsList(client$, options) {
|
|
56794
|
-
return new APIPromise($
|
|
57054
|
+
return new APIPromise($do21(client$, options));
|
|
56795
57055
|
}
|
|
56796
|
-
async function $
|
|
57056
|
+
async function $do21(client$, options) {
|
|
56797
57057
|
const path$ = pathToFunc("/v2/evals")();
|
|
56798
57058
|
const headers$ = new Headers(compactMap({
|
|
56799
57059
|
Accept: "application/json"
|
|
@@ -56898,9 +57158,9 @@ var init_v2evalsretrieveop = __esm(() => {
|
|
|
56898
57158
|
|
|
56899
57159
|
// src/funcs/evalsV2EvalsRetrieve.ts
|
|
56900
57160
|
function evalsV2EvalsRetrieve(client$, request, options) {
|
|
56901
|
-
return new APIPromise($
|
|
57161
|
+
return new APIPromise($do22(client$, request, options));
|
|
56902
57162
|
}
|
|
56903
|
-
async function $
|
|
57163
|
+
async function $do22(client$, request, options) {
|
|
56904
57164
|
const parsed$ = safeParse4(request, (value$) => V2EvalsRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
56905
57165
|
if (!parsed$.ok) {
|
|
56906
57166
|
return [parsed$, { status: "invalid" }];
|
|
@@ -56975,12 +57235,12 @@ var init_evalsV2EvalsRetrieve = __esm(() => {
|
|
|
56975
57235
|
});
|
|
56976
57236
|
|
|
56977
57237
|
// src/mcp-server/tools/evalsV2EvalsRetrieve.ts
|
|
56978
|
-
var
|
|
57238
|
+
var args18, tool$evalsV2EvalsRetrieve;
|
|
56979
57239
|
var init_evalsV2EvalsRetrieve2 = __esm(() => {
|
|
56980
57240
|
init_evalsV2EvalsRetrieve();
|
|
56981
57241
|
init_v2evalsretrieveop();
|
|
56982
57242
|
init_tools();
|
|
56983
|
-
|
|
57243
|
+
args18 = {
|
|
56984
57244
|
request: V2EvalsRetrieveRequest$zodSchema
|
|
56985
57245
|
};
|
|
56986
57246
|
tool$evalsV2EvalsRetrieve = {
|
|
@@ -56995,7 +57255,7 @@ Returns one eval and its judge configuration.`,
|
|
|
56995
57255
|
openWorldHint: false,
|
|
56996
57256
|
readOnlyHint: true
|
|
56997
57257
|
},
|
|
56998
|
-
args:
|
|
57258
|
+
args: args18,
|
|
56999
57259
|
tool: async (client, args, ctx) => {
|
|
57000
57260
|
const [result] = await evalsV2EvalsRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57001
57261
|
if (!result.ok) {
|
|
@@ -57013,7 +57273,6 @@ Returns one eval and its judge configuration.`,
|
|
|
57013
57273
|
var UpdateV2EvalRequestType$zodSchema, UpdateV2EvalRequest$zodSchema;
|
|
57014
57274
|
var init_updatev2evalrequest = __esm(() => {
|
|
57015
57275
|
init_zod();
|
|
57016
|
-
init_v2evaljudge();
|
|
57017
57276
|
UpdateV2EvalRequestType$zodSchema = _enum([
|
|
57018
57277
|
"workflow",
|
|
57019
57278
|
"mcp",
|
|
@@ -57022,7 +57281,7 @@ var init_updatev2evalrequest = __esm(() => {
|
|
|
57022
57281
|
]);
|
|
57023
57282
|
UpdateV2EvalRequest$zodSchema = object({
|
|
57024
57283
|
cli_id: string2().optional(),
|
|
57025
|
-
judge:
|
|
57284
|
+
judge: string2().optional().describe("Plain-text outcome that counts as success."),
|
|
57026
57285
|
mcp_server_id: string2().optional(),
|
|
57027
57286
|
name: string2().optional(),
|
|
57028
57287
|
prompt: string2().optional(),
|
|
@@ -57050,9 +57309,9 @@ var init_v2evalsupdateop = __esm(() => {
|
|
|
57050
57309
|
|
|
57051
57310
|
// src/funcs/evalsV2EvalsUpdate.ts
|
|
57052
57311
|
function evalsV2EvalsUpdate(client$, request, options) {
|
|
57053
|
-
return new APIPromise($
|
|
57312
|
+
return new APIPromise($do23(client$, request, options));
|
|
57054
57313
|
}
|
|
57055
|
-
async function $
|
|
57314
|
+
async function $do23(client$, request, options) {
|
|
57056
57315
|
const parsed$ = safeParse4(request, (value$) => V2EvalsUpdateRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57057
57316
|
if (!parsed$.ok) {
|
|
57058
57317
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57128,19 +57387,19 @@ var init_evalsV2EvalsUpdate = __esm(() => {
|
|
|
57128
57387
|
});
|
|
57129
57388
|
|
|
57130
57389
|
// src/mcp-server/tools/evalsV2EvalsUpdate.ts
|
|
57131
|
-
var
|
|
57390
|
+
var args19, tool$evalsV2EvalsUpdate;
|
|
57132
57391
|
var init_evalsV2EvalsUpdate2 = __esm(() => {
|
|
57133
57392
|
init_evalsV2EvalsUpdate();
|
|
57134
57393
|
init_v2evalsupdateop();
|
|
57135
57394
|
init_tools();
|
|
57136
|
-
|
|
57395
|
+
args19 = {
|
|
57137
57396
|
request: V2EvalsUpdateRequest$zodSchema
|
|
57138
57397
|
};
|
|
57139
57398
|
tool$evalsV2EvalsUpdate = {
|
|
57140
57399
|
name: "evals-v2-evals-update",
|
|
57141
57400
|
description: `Update Eval
|
|
57142
57401
|
|
|
57143
|
-
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.`,
|
|
57144
57403
|
annotations: {
|
|
57145
57404
|
title: "",
|
|
57146
57405
|
destructiveHint: false,
|
|
@@ -57148,7 +57407,7 @@ Updates an eval's task prompt, subject, judge, or name. Omitted fields remain un
|
|
|
57148
57407
|
openWorldHint: false,
|
|
57149
57408
|
readOnlyHint: false
|
|
57150
57409
|
},
|
|
57151
|
-
args:
|
|
57410
|
+
args: args19,
|
|
57152
57411
|
tool: async (client, args, ctx) => {
|
|
57153
57412
|
const [result] = await evalsV2EvalsUpdate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57154
57413
|
if (!result.ok) {
|
|
@@ -57164,9 +57423,9 @@ Updates an eval's task prompt, subject, judge, or name. Omitted fields remain un
|
|
|
57164
57423
|
|
|
57165
57424
|
// src/funcs/mcpServersV2MCPServersList.ts
|
|
57166
57425
|
function mcpServersV2MCPServersList(client$, options) {
|
|
57167
|
-
return new APIPromise($
|
|
57426
|
+
return new APIPromise($do24(client$, options));
|
|
57168
57427
|
}
|
|
57169
|
-
async function $
|
|
57428
|
+
async function $do24(client$, options) {
|
|
57170
57429
|
const path$ = pathToFunc("/v2/mcp-servers")();
|
|
57171
57430
|
const headers$ = new Headers(compactMap({
|
|
57172
57431
|
Accept: "application/json"
|
|
@@ -57348,9 +57607,9 @@ var init_v2opportunitieslistop = __esm(() => {
|
|
|
57348
57607
|
|
|
57349
57608
|
// src/funcs/opportunitiesV2OpportunitiesList.ts
|
|
57350
57609
|
function opportunitiesV2OpportunitiesList(client$, request, options) {
|
|
57351
|
-
return new APIPromise($
|
|
57610
|
+
return new APIPromise($do25(client$, request, options));
|
|
57352
57611
|
}
|
|
57353
|
-
async function $
|
|
57612
|
+
async function $do25(client$, request, options) {
|
|
57354
57613
|
const parsed$ = safeParse4(request, (value$) => V2OpportunitiesListRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
57355
57614
|
if (!parsed$.ok) {
|
|
57356
57615
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57428,12 +57687,12 @@ var init_opportunitiesV2OpportunitiesList = __esm(() => {
|
|
|
57428
57687
|
});
|
|
57429
57688
|
|
|
57430
57689
|
// src/mcp-server/tools/opportunitiesV2OpportunitiesList.ts
|
|
57431
|
-
var
|
|
57690
|
+
var args20, tool$opportunitiesV2OpportunitiesList;
|
|
57432
57691
|
var init_opportunitiesV2OpportunitiesList2 = __esm(() => {
|
|
57433
57692
|
init_opportunitiesV2OpportunitiesList();
|
|
57434
57693
|
init_v2opportunitieslistop();
|
|
57435
57694
|
init_tools();
|
|
57436
|
-
|
|
57695
|
+
args20 = {
|
|
57437
57696
|
request: V2OpportunitiesListRequest$zodSchema.optional()
|
|
57438
57697
|
};
|
|
57439
57698
|
tool$opportunitiesV2OpportunitiesList = {
|
|
@@ -57448,7 +57707,7 @@ Returns ranked opportunities computed from stored prompt visibility results. Eac
|
|
|
57448
57707
|
openWorldHint: false,
|
|
57449
57708
|
readOnlyHint: true
|
|
57450
57709
|
},
|
|
57451
|
-
args:
|
|
57710
|
+
args: args20,
|
|
57452
57711
|
tool: async (client, args, ctx) => {
|
|
57453
57712
|
const [result] = await opportunitiesV2OpportunitiesList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57454
57713
|
if (!result.ok) {
|
|
@@ -57520,9 +57779,9 @@ var init_v2opportunitiesretrieveop = __esm(() => {
|
|
|
57520
57779
|
|
|
57521
57780
|
// src/funcs/opportunitiesV2OpportunitiesRetrieve.ts
|
|
57522
57781
|
function opportunitiesV2OpportunitiesRetrieve(client$, request, options) {
|
|
57523
|
-
return new APIPromise($
|
|
57782
|
+
return new APIPromise($do26(client$, request, options));
|
|
57524
57783
|
}
|
|
57525
|
-
async function $
|
|
57784
|
+
async function $do26(client$, request, options) {
|
|
57526
57785
|
const parsed$ = safeParse4(request, (value$) => V2OpportunitiesRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57527
57786
|
if (!parsed$.ok) {
|
|
57528
57787
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57603,12 +57862,12 @@ var init_opportunitiesV2OpportunitiesRetrieve = __esm(() => {
|
|
|
57603
57862
|
});
|
|
57604
57863
|
|
|
57605
57864
|
// src/mcp-server/tools/opportunitiesV2OpportunitiesRetrieve.ts
|
|
57606
|
-
var
|
|
57865
|
+
var args21, tool$opportunitiesV2OpportunitiesRetrieve;
|
|
57607
57866
|
var init_opportunitiesV2OpportunitiesRetrieve2 = __esm(() => {
|
|
57608
57867
|
init_opportunitiesV2OpportunitiesRetrieve();
|
|
57609
57868
|
init_v2opportunitiesretrieveop();
|
|
57610
57869
|
init_tools();
|
|
57611
|
-
|
|
57870
|
+
args21 = {
|
|
57612
57871
|
request: V2OpportunitiesRetrieveRequest$zodSchema
|
|
57613
57872
|
};
|
|
57614
57873
|
tool$opportunitiesV2OpportunitiesRetrieve = {
|
|
@@ -57623,7 +57882,7 @@ Returns one computed opportunity and its execution context for the selected date
|
|
|
57623
57882
|
openWorldHint: false,
|
|
57624
57883
|
readOnlyHint: true
|
|
57625
57884
|
},
|
|
57626
|
-
args:
|
|
57885
|
+
args: args21,
|
|
57627
57886
|
tool: async (client, args, ctx) => {
|
|
57628
57887
|
const [result] = await opportunitiesV2OpportunitiesRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57629
57888
|
if (!result.ok) {
|
|
@@ -57731,9 +57990,9 @@ var init_v2promptrunslistop = __esm(() => {
|
|
|
57731
57990
|
|
|
57732
57991
|
// src/funcs/promptsV2PromptRunsList.ts
|
|
57733
57992
|
function promptsV2PromptRunsList(client$, request, options) {
|
|
57734
|
-
return new APIPromise($
|
|
57993
|
+
return new APIPromise($do27(client$, request, options));
|
|
57735
57994
|
}
|
|
57736
|
-
async function $
|
|
57995
|
+
async function $do27(client$, request, options) {
|
|
57737
57996
|
const parsed$ = safeParse4(request, (value$) => V2PromptRunsListRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
57738
57997
|
if (!parsed$.ok) {
|
|
57739
57998
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57811,12 +58070,12 @@ var init_promptsV2PromptRunsList = __esm(() => {
|
|
|
57811
58070
|
});
|
|
57812
58071
|
|
|
57813
58072
|
// src/mcp-server/tools/promptsV2PromptRunsList.ts
|
|
57814
|
-
var
|
|
58073
|
+
var args22, tool$promptsV2PromptRunsList;
|
|
57815
58074
|
var init_promptsV2PromptRunsList2 = __esm(() => {
|
|
57816
58075
|
init_promptsV2PromptRunsList();
|
|
57817
58076
|
init_v2promptrunslistop();
|
|
57818
58077
|
init_tools();
|
|
57819
|
-
|
|
58078
|
+
args22 = {
|
|
57820
58079
|
request: V2PromptRunsListRequest$zodSchema.optional()
|
|
57821
58080
|
};
|
|
57822
58081
|
tool$promptsV2PromptRunsList = {
|
|
@@ -57831,7 +58090,7 @@ Returns stored prompt runs without exposing raw runtime or provider configuratio
|
|
|
57831
58090
|
openWorldHint: false,
|
|
57832
58091
|
readOnlyHint: true
|
|
57833
58092
|
},
|
|
57834
|
-
args:
|
|
58093
|
+
args: args22,
|
|
57835
58094
|
tool: async (client, args, ctx) => {
|
|
57836
58095
|
const [result] = await promptsV2PromptRunsList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57837
58096
|
if (!result.ok) {
|
|
@@ -57936,9 +58195,9 @@ var init_v2promptrunsretrieveop = __esm(() => {
|
|
|
57936
58195
|
|
|
57937
58196
|
// src/funcs/promptsV2PromptRunsRetrieve.ts
|
|
57938
58197
|
function promptsV2PromptRunsRetrieve(client$, request, options) {
|
|
57939
|
-
return new APIPromise($
|
|
58198
|
+
return new APIPromise($do28(client$, request, options));
|
|
57940
58199
|
}
|
|
57941
|
-
async function $
|
|
58200
|
+
async function $do28(client$, request, options) {
|
|
57942
58201
|
const parsed$ = safeParse4(request, (value$) => V2PromptRunsRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57943
58202
|
if (!parsed$.ok) {
|
|
57944
58203
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58013,12 +58272,12 @@ var init_promptsV2PromptRunsRetrieve = __esm(() => {
|
|
|
58013
58272
|
});
|
|
58014
58273
|
|
|
58015
58274
|
// src/mcp-server/tools/promptsV2PromptRunsRetrieve.ts
|
|
58016
|
-
var
|
|
58275
|
+
var args23, tool$promptsV2PromptRunsRetrieve;
|
|
58017
58276
|
var init_promptsV2PromptRunsRetrieve2 = __esm(() => {
|
|
58018
58277
|
init_promptsV2PromptRunsRetrieve();
|
|
58019
58278
|
init_v2promptrunsretrieveop();
|
|
58020
58279
|
init_tools();
|
|
58021
|
-
|
|
58280
|
+
args23 = {
|
|
58022
58281
|
request: V2PromptRunsRetrieveRequest$zodSchema
|
|
58023
58282
|
};
|
|
58024
58283
|
tool$promptsV2PromptRunsRetrieve = {
|
|
@@ -58033,7 +58292,7 @@ Returns one stored prompt run, including its mentions and citations.`,
|
|
|
58033
58292
|
openWorldHint: false,
|
|
58034
58293
|
readOnlyHint: true
|
|
58035
58294
|
},
|
|
58036
|
-
args:
|
|
58295
|
+
args: args23,
|
|
58037
58296
|
tool: async (client, args, ctx) => {
|
|
58038
58297
|
const [result] = await promptsV2PromptRunsRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58039
58298
|
if (!result.ok) {
|
|
@@ -58070,9 +58329,9 @@ var init_createv2promptsrequest = __esm(() => {
|
|
|
58070
58329
|
|
|
58071
58330
|
// src/funcs/promptsV2PromptsCreate.ts
|
|
58072
58331
|
function promptsV2PromptsCreate(client$, request, options) {
|
|
58073
|
-
return new APIPromise($
|
|
58332
|
+
return new APIPromise($do29(client$, request, options));
|
|
58074
58333
|
}
|
|
58075
|
-
async function $
|
|
58334
|
+
async function $do29(client$, request, options) {
|
|
58076
58335
|
const parsed$ = safeParse4(request, (value$) => CreateV2PromptsRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58077
58336
|
if (!parsed$.ok) {
|
|
58078
58337
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58142,12 +58401,12 @@ var init_promptsV2PromptsCreate = __esm(() => {
|
|
|
58142
58401
|
});
|
|
58143
58402
|
|
|
58144
58403
|
// src/mcp-server/tools/promptsV2PromptsCreate.ts
|
|
58145
|
-
var
|
|
58404
|
+
var args24, tool$promptsV2PromptsCreate;
|
|
58146
58405
|
var init_promptsV2PromptsCreate2 = __esm(() => {
|
|
58147
58406
|
init_promptsV2PromptsCreate();
|
|
58148
58407
|
init_createv2promptsrequest();
|
|
58149
58408
|
init_tools();
|
|
58150
|
-
|
|
58409
|
+
args24 = {
|
|
58151
58410
|
request: CreateV2PromptsRequest$zodSchema
|
|
58152
58411
|
};
|
|
58153
58412
|
tool$promptsV2PromptsCreate = {
|
|
@@ -58162,7 +58421,7 @@ Creates prompts in a batch. Each item is validated independently, so the respons
|
|
|
58162
58421
|
openWorldHint: false,
|
|
58163
58422
|
readOnlyHint: false
|
|
58164
58423
|
},
|
|
58165
|
-
args:
|
|
58424
|
+
args: args24,
|
|
58166
58425
|
tool: async (client, args, ctx) => {
|
|
58167
58426
|
const [result] = await promptsV2PromptsCreate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58168
58427
|
if (!result.ok) {
|
|
@@ -58202,9 +58461,9 @@ var init_v2promptsdeleteop = __esm(() => {
|
|
|
58202
58461
|
|
|
58203
58462
|
// src/funcs/promptsV2PromptsDelete.ts
|
|
58204
58463
|
function promptsV2PromptsDelete(client$, request, options) {
|
|
58205
|
-
return new APIPromise($
|
|
58464
|
+
return new APIPromise($do30(client$, request, options));
|
|
58206
58465
|
}
|
|
58207
|
-
async function $
|
|
58466
|
+
async function $do30(client$, request, options) {
|
|
58208
58467
|
const parsed$ = safeParse4(request, (value$) => V2PromptsDeleteRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58209
58468
|
if (!parsed$.ok) {
|
|
58210
58469
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58279,12 +58538,12 @@ var init_promptsV2PromptsDelete = __esm(() => {
|
|
|
58279
58538
|
});
|
|
58280
58539
|
|
|
58281
58540
|
// src/mcp-server/tools/promptsV2PromptsDelete.ts
|
|
58282
|
-
var
|
|
58541
|
+
var args25, tool$promptsV2PromptsDelete;
|
|
58283
58542
|
var init_promptsV2PromptsDelete2 = __esm(() => {
|
|
58284
58543
|
init_promptsV2PromptsDelete();
|
|
58285
58544
|
init_v2promptsdeleteop();
|
|
58286
58545
|
init_tools();
|
|
58287
|
-
|
|
58546
|
+
args25 = {
|
|
58288
58547
|
request: V2PromptsDeleteRequest$zodSchema
|
|
58289
58548
|
};
|
|
58290
58549
|
tool$promptsV2PromptsDelete = {
|
|
@@ -58299,7 +58558,7 @@ Archives the prompt and excludes it from normal listings while preserving its hi
|
|
|
58299
58558
|
openWorldHint: false,
|
|
58300
58559
|
readOnlyHint: false
|
|
58301
58560
|
},
|
|
58302
|
-
args:
|
|
58561
|
+
args: args25,
|
|
58303
58562
|
tool: async (client, args, ctx) => {
|
|
58304
58563
|
const [result] = await promptsV2PromptsDelete(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58305
58564
|
if (!result.ok) {
|
|
@@ -58409,9 +58668,9 @@ var init_v2promptslistop = __esm(() => {
|
|
|
58409
58668
|
|
|
58410
58669
|
// src/funcs/promptsV2PromptsList.ts
|
|
58411
58670
|
function promptsV2PromptsList(client$, request, options) {
|
|
58412
|
-
return new APIPromise($
|
|
58671
|
+
return new APIPromise($do31(client$, request, options));
|
|
58413
58672
|
}
|
|
58414
|
-
async function $
|
|
58673
|
+
async function $do31(client$, request, options) {
|
|
58415
58674
|
const parsed$ = safeParse4(request, (value$) => V2PromptsListRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
58416
58675
|
if (!parsed$.ok) {
|
|
58417
58676
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58486,12 +58745,12 @@ var init_promptsV2PromptsList = __esm(() => {
|
|
|
58486
58745
|
});
|
|
58487
58746
|
|
|
58488
58747
|
// src/mcp-server/tools/promptsV2PromptsList.ts
|
|
58489
|
-
var
|
|
58748
|
+
var args26, tool$promptsV2PromptsList;
|
|
58490
58749
|
var init_promptsV2PromptsList2 = __esm(() => {
|
|
58491
58750
|
init_promptsV2PromptsList();
|
|
58492
58751
|
init_v2promptslistop();
|
|
58493
58752
|
init_tools();
|
|
58494
|
-
|
|
58753
|
+
args26 = {
|
|
58495
58754
|
request: V2PromptsListRequest$zodSchema.optional()
|
|
58496
58755
|
};
|
|
58497
58756
|
tool$promptsV2PromptsList = {
|
|
@@ -58506,7 +58765,7 @@ Returns active and inactive prompts by default. Set \`include_archived\` to incl
|
|
|
58506
58765
|
openWorldHint: false,
|
|
58507
58766
|
readOnlyHint: true
|
|
58508
58767
|
},
|
|
58509
|
-
args:
|
|
58768
|
+
args: args26,
|
|
58510
58769
|
tool: async (client, args, ctx) => {
|
|
58511
58770
|
const [result] = await promptsV2PromptsList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58512
58771
|
if (!result.ok) {
|
|
@@ -58537,9 +58796,9 @@ var init_v2promptsretrieveop = __esm(() => {
|
|
|
58537
58796
|
|
|
58538
58797
|
// src/funcs/promptsV2PromptsRetrieve.ts
|
|
58539
58798
|
function promptsV2PromptsRetrieve(client$, request, options) {
|
|
58540
|
-
return new APIPromise($
|
|
58799
|
+
return new APIPromise($do32(client$, request, options));
|
|
58541
58800
|
}
|
|
58542
|
-
async function $
|
|
58801
|
+
async function $do32(client$, request, options) {
|
|
58543
58802
|
const parsed$ = safeParse4(request, (value$) => V2PromptsRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58544
58803
|
if (!parsed$.ok) {
|
|
58545
58804
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58614,12 +58873,12 @@ var init_promptsV2PromptsRetrieve = __esm(() => {
|
|
|
58614
58873
|
});
|
|
58615
58874
|
|
|
58616
58875
|
// src/mcp-server/tools/promptsV2PromptsRetrieve.ts
|
|
58617
|
-
var
|
|
58876
|
+
var args27, tool$promptsV2PromptsRetrieve;
|
|
58618
58877
|
var init_promptsV2PromptsRetrieve2 = __esm(() => {
|
|
58619
58878
|
init_promptsV2PromptsRetrieve();
|
|
58620
58879
|
init_v2promptsretrieveop();
|
|
58621
58880
|
init_tools();
|
|
58622
|
-
|
|
58881
|
+
args27 = {
|
|
58623
58882
|
request: V2PromptsRetrieveRequest$zodSchema
|
|
58624
58883
|
};
|
|
58625
58884
|
tool$promptsV2PromptsRetrieve = {
|
|
@@ -58634,7 +58893,7 @@ Returns a prompt with its topic, platforms, tags, and lifecycle status.`,
|
|
|
58634
58893
|
openWorldHint: false,
|
|
58635
58894
|
readOnlyHint: true
|
|
58636
58895
|
},
|
|
58637
|
-
args:
|
|
58896
|
+
args: args27,
|
|
58638
58897
|
tool: async (client, args, ctx) => {
|
|
58639
58898
|
const [result] = await promptsV2PromptsRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58640
58899
|
if (!result.ok) {
|
|
@@ -58683,9 +58942,9 @@ var init_v2promptsupdateop = __esm(() => {
|
|
|
58683
58942
|
|
|
58684
58943
|
// src/funcs/promptsV2PromptsUpdate.ts
|
|
58685
58944
|
function promptsV2PromptsUpdate(client$, request, options) {
|
|
58686
|
-
return new APIPromise($
|
|
58945
|
+
return new APIPromise($do33(client$, request, options));
|
|
58687
58946
|
}
|
|
58688
|
-
async function $
|
|
58947
|
+
async function $do33(client$, request, options) {
|
|
58689
58948
|
const parsed$ = safeParse4(request, (value$) => V2PromptsUpdateRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58690
58949
|
if (!parsed$.ok) {
|
|
58691
58950
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58761,12 +59020,12 @@ var init_promptsV2PromptsUpdate = __esm(() => {
|
|
|
58761
59020
|
});
|
|
58762
59021
|
|
|
58763
59022
|
// src/mcp-server/tools/promptsV2PromptsUpdate.ts
|
|
58764
|
-
var
|
|
59023
|
+
var args28, tool$promptsV2PromptsUpdate;
|
|
58765
59024
|
var init_promptsV2PromptsUpdate2 = __esm(() => {
|
|
58766
59025
|
init_promptsV2PromptsUpdate();
|
|
58767
59026
|
init_v2promptsupdateop();
|
|
58768
59027
|
init_tools();
|
|
58769
|
-
|
|
59028
|
+
args28 = {
|
|
58770
59029
|
request: V2PromptsUpdateRequest$zodSchema
|
|
58771
59030
|
};
|
|
58772
59031
|
tool$promptsV2PromptsUpdate = {
|
|
@@ -58781,7 +59040,7 @@ Updates a prompt's text, topic, platforms, or lifecycle status. Omitted fields r
|
|
|
58781
59040
|
openWorldHint: false,
|
|
58782
59041
|
readOnlyHint: false
|
|
58783
59042
|
},
|
|
58784
|
-
args:
|
|
59043
|
+
args: args28,
|
|
58785
59044
|
tool: async (client, args, ctx) => {
|
|
58786
59045
|
const [result] = await promptsV2PromptsUpdate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58787
59046
|
if (!result.ok) {
|
|
@@ -58806,9 +59065,9 @@ var init_createprompttopicrequest = __esm(() => {
|
|
|
58806
59065
|
|
|
58807
59066
|
// src/funcs/promptsV2PromptTopicsCreate.ts
|
|
58808
59067
|
function promptsV2PromptTopicsCreate(client$, request, options) {
|
|
58809
|
-
return new APIPromise($
|
|
59068
|
+
return new APIPromise($do34(client$, request, options));
|
|
58810
59069
|
}
|
|
58811
|
-
async function $
|
|
59070
|
+
async function $do34(client$, request, options) {
|
|
58812
59071
|
const parsed$ = safeParse4(request, (value$) => CreatePromptTopicRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58813
59072
|
if (!parsed$.ok) {
|
|
58814
59073
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58878,12 +59137,12 @@ var init_promptsV2PromptTopicsCreate = __esm(() => {
|
|
|
58878
59137
|
});
|
|
58879
59138
|
|
|
58880
59139
|
// src/mcp-server/tools/promptsV2PromptTopicsCreate.ts
|
|
58881
|
-
var
|
|
59140
|
+
var args29, tool$promptsV2PromptTopicsCreate;
|
|
58882
59141
|
var init_promptsV2PromptTopicsCreate2 = __esm(() => {
|
|
58883
59142
|
init_promptsV2PromptTopicsCreate();
|
|
58884
59143
|
init_createprompttopicrequest();
|
|
58885
59144
|
init_tools();
|
|
58886
|
-
|
|
59145
|
+
args29 = {
|
|
58887
59146
|
request: CreatePromptTopicRequest$zodSchema
|
|
58888
59147
|
};
|
|
58889
59148
|
tool$promptsV2PromptTopicsCreate = {
|
|
@@ -58898,7 +59157,7 @@ Creates a prompt topic and returns the saved topic.`,
|
|
|
58898
59157
|
openWorldHint: false,
|
|
58899
59158
|
readOnlyHint: false
|
|
58900
59159
|
},
|
|
58901
|
-
args:
|
|
59160
|
+
args: args29,
|
|
58902
59161
|
tool: async (client, args, ctx) => {
|
|
58903
59162
|
const [result] = await promptsV2PromptTopicsCreate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58904
59163
|
if (!result.ok) {
|
|
@@ -58930,9 +59189,9 @@ var init_v2prompttopicsdeleteop = __esm(() => {
|
|
|
58930
59189
|
|
|
58931
59190
|
// src/funcs/promptsV2PromptTopicsDelete.ts
|
|
58932
59191
|
function promptsV2PromptTopicsDelete(client$, request, options) {
|
|
58933
|
-
return new APIPromise($
|
|
59192
|
+
return new APIPromise($do35(client$, request, options));
|
|
58934
59193
|
}
|
|
58935
|
-
async function $
|
|
59194
|
+
async function $do35(client$, request, options) {
|
|
58936
59195
|
const parsed$ = safeParse4(request, (value$) => V2PromptTopicsDeleteRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58937
59196
|
if (!parsed$.ok) {
|
|
58938
59197
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59011,12 +59270,12 @@ var init_promptsV2PromptTopicsDelete = __esm(() => {
|
|
|
59011
59270
|
});
|
|
59012
59271
|
|
|
59013
59272
|
// src/mcp-server/tools/promptsV2PromptTopicsDelete.ts
|
|
59014
|
-
var
|
|
59273
|
+
var args30, tool$promptsV2PromptTopicsDelete;
|
|
59015
59274
|
var init_promptsV2PromptTopicsDelete2 = __esm(() => {
|
|
59016
59275
|
init_promptsV2PromptTopicsDelete();
|
|
59017
59276
|
init_v2prompttopicsdeleteop();
|
|
59018
59277
|
init_tools();
|
|
59019
|
-
|
|
59278
|
+
args30 = {
|
|
59020
59279
|
request: V2PromptTopicsDeleteRequest$zodSchema
|
|
59021
59280
|
};
|
|
59022
59281
|
tool$promptsV2PromptTopicsDelete = {
|
|
@@ -59031,7 +59290,7 @@ Archives a prompt topic. Set \`archive_prompts\` to archive remaining prompts; o
|
|
|
59031
59290
|
openWorldHint: false,
|
|
59032
59291
|
readOnlyHint: false
|
|
59033
59292
|
},
|
|
59034
|
-
args:
|
|
59293
|
+
args: args30,
|
|
59035
59294
|
tool: async (client, args, ctx) => {
|
|
59036
59295
|
const [result] = await promptsV2PromptTopicsDelete(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59037
59296
|
if (!result.ok) {
|
|
@@ -59047,9 +59306,9 @@ Archives a prompt topic. Set \`archive_prompts\` to archive remaining prompts; o
|
|
|
59047
59306
|
|
|
59048
59307
|
// src/funcs/promptsV2PromptTopicsList.ts
|
|
59049
59308
|
function promptsV2PromptTopicsList(client$, options) {
|
|
59050
|
-
return new APIPromise($
|
|
59309
|
+
return new APIPromise($do36(client$, options));
|
|
59051
59310
|
}
|
|
59052
|
-
async function $
|
|
59311
|
+
async function $do36(client$, options) {
|
|
59053
59312
|
const path$ = pathToFunc("/v2/prompts/topics")();
|
|
59054
59313
|
const headers$ = new Headers(compactMap({
|
|
59055
59314
|
Accept: "application/json"
|
|
@@ -59165,9 +59424,9 @@ var init_v2prompttopicsupdateop = __esm(() => {
|
|
|
59165
59424
|
|
|
59166
59425
|
// src/funcs/promptsV2PromptTopicsUpdate.ts
|
|
59167
59426
|
function promptsV2PromptTopicsUpdate(client$, request, options) {
|
|
59168
|
-
return new APIPromise($
|
|
59427
|
+
return new APIPromise($do37(client$, request, options));
|
|
59169
59428
|
}
|
|
59170
|
-
async function $
|
|
59429
|
+
async function $do37(client$, request, options) {
|
|
59171
59430
|
const parsed$ = safeParse4(request, (value$) => V2PromptTopicsUpdateRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59172
59431
|
if (!parsed$.ok) {
|
|
59173
59432
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59243,12 +59502,12 @@ var init_promptsV2PromptTopicsUpdate = __esm(() => {
|
|
|
59243
59502
|
});
|
|
59244
59503
|
|
|
59245
59504
|
// src/mcp-server/tools/promptsV2PromptTopicsUpdate.ts
|
|
59246
|
-
var
|
|
59505
|
+
var args31, tool$promptsV2PromptTopicsUpdate;
|
|
59247
59506
|
var init_promptsV2PromptTopicsUpdate2 = __esm(() => {
|
|
59248
59507
|
init_promptsV2PromptTopicsUpdate();
|
|
59249
59508
|
init_v2prompttopicsupdateop();
|
|
59250
59509
|
init_tools();
|
|
59251
|
-
|
|
59510
|
+
args31 = {
|
|
59252
59511
|
request: V2PromptTopicsUpdateRequest$zodSchema
|
|
59253
59512
|
};
|
|
59254
59513
|
tool$promptsV2PromptTopicsUpdate = {
|
|
@@ -59263,7 +59522,7 @@ Renames a prompt topic and returns the updated topic.`,
|
|
|
59263
59522
|
openWorldHint: false,
|
|
59264
59523
|
readOnlyHint: false
|
|
59265
59524
|
},
|
|
59266
|
-
args:
|
|
59525
|
+
args: args31,
|
|
59267
59526
|
tool: async (client, args, ctx) => {
|
|
59268
59527
|
const [result] = await promptsV2PromptTopicsUpdate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59269
59528
|
if (!result.ok) {
|
|
@@ -59306,9 +59565,9 @@ var init_createv2repositoryrequest = __esm(() => {
|
|
|
59306
59565
|
|
|
59307
59566
|
// src/funcs/repositoriesV2RepositoriesCreate.ts
|
|
59308
59567
|
function repositoriesV2RepositoriesCreate(client$, request, options) {
|
|
59309
|
-
return new APIPromise($
|
|
59568
|
+
return new APIPromise($do38(client$, request, options));
|
|
59310
59569
|
}
|
|
59311
|
-
async function $
|
|
59570
|
+
async function $do38(client$, request, options) {
|
|
59312
59571
|
const parsed$ = safeParse4(request, (value$) => CreateV2RepositoryRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59313
59572
|
if (!parsed$.ok) {
|
|
59314
59573
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59378,12 +59637,12 @@ var init_repositoriesV2RepositoriesCreate = __esm(() => {
|
|
|
59378
59637
|
});
|
|
59379
59638
|
|
|
59380
59639
|
// src/mcp-server/tools/repositoriesV2RepositoriesCreate.ts
|
|
59381
|
-
var
|
|
59640
|
+
var args32, tool$repositoriesV2RepositoriesCreate;
|
|
59382
59641
|
var init_repositoriesV2RepositoriesCreate2 = __esm(() => {
|
|
59383
59642
|
init_repositoriesV2RepositoriesCreate();
|
|
59384
59643
|
init_createv2repositoryrequest();
|
|
59385
59644
|
init_tools();
|
|
59386
|
-
|
|
59645
|
+
args32 = {
|
|
59387
59646
|
request: CreateV2RepositoryRequest$zodSchema
|
|
59388
59647
|
};
|
|
59389
59648
|
tool$repositoriesV2RepositoriesCreate = {
|
|
@@ -59398,7 +59657,7 @@ Adds a reusable Git repository workspace for eval configurations.`,
|
|
|
59398
59657
|
openWorldHint: false,
|
|
59399
59658
|
readOnlyHint: false
|
|
59400
59659
|
},
|
|
59401
|
-
args:
|
|
59660
|
+
args: args32,
|
|
59402
59661
|
tool: async (client, args, ctx) => {
|
|
59403
59662
|
const [result] = await repositoriesV2RepositoriesCreate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59404
59663
|
if (!result.ok) {
|
|
@@ -59464,9 +59723,9 @@ var init_v2repositoriesdeleteop = __esm(() => {
|
|
|
59464
59723
|
|
|
59465
59724
|
// src/funcs/repositoriesV2RepositoriesDelete.ts
|
|
59466
59725
|
function repositoriesV2RepositoriesDelete(client$, request, options) {
|
|
59467
|
-
return new APIPromise($
|
|
59726
|
+
return new APIPromise($do39(client$, request, options));
|
|
59468
59727
|
}
|
|
59469
|
-
async function $
|
|
59728
|
+
async function $do39(client$, request, options) {
|
|
59470
59729
|
const parsed$ = safeParse4(request, (value$) => V2RepositoriesDeleteRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59471
59730
|
if (!parsed$.ok) {
|
|
59472
59731
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59541,12 +59800,12 @@ var init_repositoriesV2RepositoriesDelete = __esm(() => {
|
|
|
59541
59800
|
});
|
|
59542
59801
|
|
|
59543
59802
|
// src/mcp-server/tools/repositoriesV2RepositoriesDelete.ts
|
|
59544
|
-
var
|
|
59803
|
+
var args33, tool$repositoriesV2RepositoriesDelete;
|
|
59545
59804
|
var init_repositoriesV2RepositoriesDelete2 = __esm(() => {
|
|
59546
59805
|
init_repositoriesV2RepositoriesDelete();
|
|
59547
59806
|
init_v2repositoriesdeleteop();
|
|
59548
59807
|
init_tools();
|
|
59549
|
-
|
|
59808
|
+
args33 = {
|
|
59550
59809
|
request: V2RepositoriesDeleteRequest$zodSchema
|
|
59551
59810
|
};
|
|
59552
59811
|
tool$repositoriesV2RepositoriesDelete = {
|
|
@@ -59561,7 +59820,7 @@ Permanently deletes a repository workspace and returns its last saved state.`,
|
|
|
59561
59820
|
openWorldHint: false,
|
|
59562
59821
|
readOnlyHint: false
|
|
59563
59822
|
},
|
|
59564
|
-
args:
|
|
59823
|
+
args: args33,
|
|
59565
59824
|
tool: async (client, args, ctx) => {
|
|
59566
59825
|
const [result] = await repositoriesV2RepositoriesDelete(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59567
59826
|
if (!result.ok) {
|
|
@@ -59577,9 +59836,9 @@ Permanently deletes a repository workspace and returns its last saved state.`,
|
|
|
59577
59836
|
|
|
59578
59837
|
// src/funcs/repositoriesV2RepositoriesList.ts
|
|
59579
59838
|
function repositoriesV2RepositoriesList(client$, options) {
|
|
59580
|
-
return new APIPromise($
|
|
59839
|
+
return new APIPromise($do40(client$, options));
|
|
59581
59840
|
}
|
|
59582
|
-
async function $
|
|
59841
|
+
async function $do40(client$, options) {
|
|
59583
59842
|
const path$ = pathToFunc("/v2/repositories")();
|
|
59584
59843
|
const headers$ = new Headers(compactMap({
|
|
59585
59844
|
Accept: "application/json"
|
|
@@ -59684,9 +59943,9 @@ var init_v2repositoriesretrieveop = __esm(() => {
|
|
|
59684
59943
|
|
|
59685
59944
|
// src/funcs/repositoriesV2RepositoriesRetrieve.ts
|
|
59686
59945
|
function repositoriesV2RepositoriesRetrieve(client$, request, options) {
|
|
59687
|
-
return new APIPromise($
|
|
59946
|
+
return new APIPromise($do41(client$, request, options));
|
|
59688
59947
|
}
|
|
59689
|
-
async function $
|
|
59948
|
+
async function $do41(client$, request, options) {
|
|
59690
59949
|
const parsed$ = safeParse4(request, (value$) => V2RepositoriesRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59691
59950
|
if (!parsed$.ok) {
|
|
59692
59951
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59761,12 +60020,12 @@ var init_repositoriesV2RepositoriesRetrieve = __esm(() => {
|
|
|
59761
60020
|
});
|
|
59762
60021
|
|
|
59763
60022
|
// src/mcp-server/tools/repositoriesV2RepositoriesRetrieve.ts
|
|
59764
|
-
var
|
|
60023
|
+
var args34, tool$repositoriesV2RepositoriesRetrieve;
|
|
59765
60024
|
var init_repositoriesV2RepositoriesRetrieve2 = __esm(() => {
|
|
59766
60025
|
init_repositoriesV2RepositoriesRetrieve();
|
|
59767
60026
|
init_v2repositoriesretrieveop();
|
|
59768
60027
|
init_tools();
|
|
59769
|
-
|
|
60028
|
+
args34 = {
|
|
59770
60029
|
request: V2RepositoriesRetrieveRequest$zodSchema
|
|
59771
60030
|
};
|
|
59772
60031
|
tool$repositoriesV2RepositoriesRetrieve = {
|
|
@@ -59781,7 +60040,7 @@ Returns one reusable repository workspace.`,
|
|
|
59781
60040
|
openWorldHint: false,
|
|
59782
60041
|
readOnlyHint: true
|
|
59783
60042
|
},
|
|
59784
|
-
args:
|
|
60043
|
+
args: args34,
|
|
59785
60044
|
tool: async (client, args, ctx) => {
|
|
59786
60045
|
const [result] = await repositoriesV2RepositoriesRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59787
60046
|
if (!result.ok) {
|
|
@@ -59841,9 +60100,9 @@ var init_v2repositoriesupdateop = __esm(() => {
|
|
|
59841
60100
|
|
|
59842
60101
|
// src/funcs/repositoriesV2RepositoriesUpdate.ts
|
|
59843
60102
|
function repositoriesV2RepositoriesUpdate(client$, request, options) {
|
|
59844
|
-
return new APIPromise($
|
|
60103
|
+
return new APIPromise($do42(client$, request, options));
|
|
59845
60104
|
}
|
|
59846
|
-
async function $
|
|
60105
|
+
async function $do42(client$, request, options) {
|
|
59847
60106
|
const parsed$ = safeParse4(request, (value$) => V2RepositoriesUpdateRequest$zodSchema.parse(value$), "Input validation failed");
|
|
59848
60107
|
if (!parsed$.ok) {
|
|
59849
60108
|
return [parsed$, { status: "invalid" }];
|
|
@@ -59919,12 +60178,12 @@ var init_repositoriesV2RepositoriesUpdate = __esm(() => {
|
|
|
59919
60178
|
});
|
|
59920
60179
|
|
|
59921
60180
|
// src/mcp-server/tools/repositoriesV2RepositoriesUpdate.ts
|
|
59922
|
-
var
|
|
60181
|
+
var args35, tool$repositoriesV2RepositoriesUpdate;
|
|
59923
60182
|
var init_repositoriesV2RepositoriesUpdate2 = __esm(() => {
|
|
59924
60183
|
init_repositoriesV2RepositoriesUpdate();
|
|
59925
60184
|
init_v2repositoriesupdateop();
|
|
59926
60185
|
init_tools();
|
|
59927
|
-
|
|
60186
|
+
args35 = {
|
|
59928
60187
|
request: V2RepositoriesUpdateRequest$zodSchema
|
|
59929
60188
|
};
|
|
59930
60189
|
tool$repositoriesV2RepositoriesUpdate = {
|
|
@@ -59939,7 +60198,7 @@ Updates a repository workspace; omitted fields remain unchanged.`,
|
|
|
59939
60198
|
openWorldHint: false,
|
|
59940
60199
|
readOnlyHint: false
|
|
59941
60200
|
},
|
|
59942
|
-
args:
|
|
60201
|
+
args: args35,
|
|
59943
60202
|
tool: async (client, args, ctx) => {
|
|
59944
60203
|
const [result] = await repositoriesV2RepositoriesUpdate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59945
60204
|
if (!result.ok) {
|
|
@@ -59955,9 +60214,9 @@ Updates a repository workspace; omitted fields remain unchanged.`,
|
|
|
59955
60214
|
|
|
59956
60215
|
// src/funcs/siteAuditsV2SiteAuditsList.ts
|
|
59957
60216
|
function siteAuditsV2SiteAuditsList(client$, options) {
|
|
59958
|
-
return new APIPromise($
|
|
60217
|
+
return new APIPromise($do43(client$, options));
|
|
59959
60218
|
}
|
|
59960
|
-
async function $
|
|
60219
|
+
async function $do43(client$, options) {
|
|
59961
60220
|
const path$ = pathToFunc("/v2/site-audits")();
|
|
59962
60221
|
const headers$ = new Headers(compactMap({
|
|
59963
60222
|
Accept: "application/json"
|
|
@@ -60098,9 +60357,9 @@ var init_v2siteauditsretrieveop = __esm(() => {
|
|
|
60098
60357
|
|
|
60099
60358
|
// src/funcs/siteAuditsV2SiteAuditsRetrieve.ts
|
|
60100
60359
|
function siteAuditsV2SiteAuditsRetrieve(client$, request, options) {
|
|
60101
|
-
return new APIPromise($
|
|
60360
|
+
return new APIPromise($do44(client$, request, options));
|
|
60102
60361
|
}
|
|
60103
|
-
async function $
|
|
60362
|
+
async function $do44(client$, request, options) {
|
|
60104
60363
|
const parsed$ = safeParse4(request, (value$) => V2SiteAuditsRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
60105
60364
|
if (!parsed$.ok) {
|
|
60106
60365
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60175,12 +60434,12 @@ var init_siteAuditsV2SiteAuditsRetrieve = __esm(() => {
|
|
|
60175
60434
|
});
|
|
60176
60435
|
|
|
60177
60436
|
// src/mcp-server/tools/siteAuditsV2SiteAuditsRetrieve.ts
|
|
60178
|
-
var
|
|
60437
|
+
var args36, tool$siteAuditsV2SiteAuditsRetrieve;
|
|
60179
60438
|
var init_siteAuditsV2SiteAuditsRetrieve2 = __esm(() => {
|
|
60180
60439
|
init_siteAuditsV2SiteAuditsRetrieve();
|
|
60181
60440
|
init_v2siteauditsretrieveop();
|
|
60182
60441
|
init_tools();
|
|
60183
|
-
|
|
60442
|
+
args36 = {
|
|
60184
60443
|
request: V2SiteAuditsRetrieveRequest$zodSchema
|
|
60185
60444
|
};
|
|
60186
60445
|
tool$siteAuditsV2SiteAuditsRetrieve = {
|
|
@@ -60195,7 +60454,7 @@ Returns one audited page with its score, priority, supporting evidence, and reco
|
|
|
60195
60454
|
openWorldHint: false,
|
|
60196
60455
|
readOnlyHint: true
|
|
60197
60456
|
},
|
|
60198
|
-
args:
|
|
60457
|
+
args: args36,
|
|
60199
60458
|
tool: async (client, args, ctx) => {
|
|
60200
60459
|
const [result] = await siteAuditsV2SiteAuditsRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60201
60460
|
if (!result.ok) {
|
|
@@ -60211,9 +60470,9 @@ Returns one audited page with its score, priority, supporting evidence, and reco
|
|
|
60211
60470
|
|
|
60212
60471
|
// src/funcs/skillsV2SkillsList.ts
|
|
60213
60472
|
function skillsV2SkillsList(client$, options) {
|
|
60214
|
-
return new APIPromise($
|
|
60473
|
+
return new APIPromise($do45(client$, options));
|
|
60215
60474
|
}
|
|
60216
|
-
async function $
|
|
60475
|
+
async function $do45(client$, options) {
|
|
60217
60476
|
const path$ = pathToFunc("/v2/skills")();
|
|
60218
60477
|
const headers$ = new Headers(compactMap({
|
|
60219
60478
|
Accept: "application/json"
|
|
@@ -60303,9 +60562,9 @@ Returns reusable skills available to workflows and eval configurations.`,
|
|
|
60303
60562
|
|
|
60304
60563
|
// src/funcs/statusV2AuthStatusGet.ts
|
|
60305
60564
|
function statusV2AuthStatusGet(client$, options) {
|
|
60306
|
-
return new APIPromise($
|
|
60565
|
+
return new APIPromise($do46(client$, options));
|
|
60307
60566
|
}
|
|
60308
|
-
async function $
|
|
60567
|
+
async function $do46(client$, options) {
|
|
60309
60568
|
const path$ = pathToFunc("/v2/auth/status")();
|
|
60310
60569
|
const headers$ = new Headers(compactMap({
|
|
60311
60570
|
Accept: "application/json"
|
|
@@ -60395,9 +60654,9 @@ Validates the API key and returns its organization ID, API key ID, scopes, and a
|
|
|
60395
60654
|
|
|
60396
60655
|
// src/funcs/statusV2StatusGet.ts
|
|
60397
60656
|
function statusV2StatusGet(client$, options) {
|
|
60398
|
-
return new APIPromise($
|
|
60657
|
+
return new APIPromise($do47(client$, options));
|
|
60399
60658
|
}
|
|
60400
|
-
async function $
|
|
60659
|
+
async function $do47(client$, options) {
|
|
60401
60660
|
const path$ = pathToFunc("/v2/status")();
|
|
60402
60661
|
const headers$ = new Headers(compactMap({
|
|
60403
60662
|
Accept: "application/json"
|
|
@@ -60617,9 +60876,9 @@ var init_v2taskslistop = __esm(() => {
|
|
|
60617
60876
|
|
|
60618
60877
|
// src/funcs/tasksV2TasksList.ts
|
|
60619
60878
|
function tasksV2TasksList(client$, request, options) {
|
|
60620
|
-
return new APIPromise($
|
|
60879
|
+
return new APIPromise($do48(client$, request, options));
|
|
60621
60880
|
}
|
|
60622
|
-
async function $
|
|
60881
|
+
async function $do48(client$, request, options) {
|
|
60623
60882
|
const parsed$ = safeParse4(request, (value$) => V2TasksListRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
60624
60883
|
if (!parsed$.ok) {
|
|
60625
60884
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60693,12 +60952,12 @@ var init_tasksV2TasksList = __esm(() => {
|
|
|
60693
60952
|
});
|
|
60694
60953
|
|
|
60695
60954
|
// src/mcp-server/tools/tasksV2TasksList.ts
|
|
60696
|
-
var
|
|
60955
|
+
var args37, tool$tasksV2TasksList;
|
|
60697
60956
|
var init_tasksV2TasksList2 = __esm(() => {
|
|
60698
60957
|
init_tasksV2TasksList();
|
|
60699
60958
|
init_v2taskslistop();
|
|
60700
60959
|
init_tools();
|
|
60701
|
-
|
|
60960
|
+
args37 = {
|
|
60702
60961
|
request: V2TasksListRequest$zodSchema.optional()
|
|
60703
60962
|
};
|
|
60704
60963
|
tool$tasksV2TasksList = {
|
|
@@ -60713,7 +60972,7 @@ Returns persisted daily tasks with execution instructions. Includes per-status c
|
|
|
60713
60972
|
openWorldHint: false,
|
|
60714
60973
|
readOnlyHint: true
|
|
60715
60974
|
},
|
|
60716
|
-
args:
|
|
60975
|
+
args: args37,
|
|
60717
60976
|
tool: async (client, args, ctx) => {
|
|
60718
60977
|
const [result] = await tasksV2TasksList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60719
60978
|
if (!result.ok) {
|
|
@@ -60744,9 +61003,9 @@ var init_v2tasksretrieveop = __esm(() => {
|
|
|
60744
61003
|
|
|
60745
61004
|
// src/funcs/tasksV2TasksRetrieve.ts
|
|
60746
61005
|
function tasksV2TasksRetrieve(client$, request, options) {
|
|
60747
|
-
return new APIPromise($
|
|
61006
|
+
return new APIPromise($do49(client$, request, options));
|
|
60748
61007
|
}
|
|
60749
|
-
async function $
|
|
61008
|
+
async function $do49(client$, request, options) {
|
|
60750
61009
|
const parsed$ = safeParse4(request, (value$) => V2TasksRetrieveRequest$zodSchema.parse(value$), "Input validation failed");
|
|
60751
61010
|
if (!parsed$.ok) {
|
|
60752
61011
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60821,12 +61080,12 @@ var init_tasksV2TasksRetrieve = __esm(() => {
|
|
|
60821
61080
|
});
|
|
60822
61081
|
|
|
60823
61082
|
// src/mcp-server/tools/tasksV2TasksRetrieve.ts
|
|
60824
|
-
var
|
|
61083
|
+
var args38, tool$tasksV2TasksRetrieve;
|
|
60825
61084
|
var init_tasksV2TasksRetrieve2 = __esm(() => {
|
|
60826
61085
|
init_tasksV2TasksRetrieve();
|
|
60827
61086
|
init_v2tasksretrieveop();
|
|
60828
61087
|
init_tools();
|
|
60829
|
-
|
|
61088
|
+
args38 = {
|
|
60830
61089
|
request: V2TasksRetrieveRequest$zodSchema
|
|
60831
61090
|
};
|
|
60832
61091
|
tool$tasksV2TasksRetrieve = {
|
|
@@ -60841,7 +61100,7 @@ Returns one persisted task and its execution prompt.`,
|
|
|
60841
61100
|
openWorldHint: false,
|
|
60842
61101
|
readOnlyHint: true
|
|
60843
61102
|
},
|
|
60844
|
-
args:
|
|
61103
|
+
args: args38,
|
|
60845
61104
|
tool: async (client, args, ctx) => {
|
|
60846
61105
|
const [result] = await tasksV2TasksRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
60847
61106
|
if (!result.ok) {
|
|
@@ -60904,9 +61163,9 @@ var init_v2tasksupdateop = __esm(() => {
|
|
|
60904
61163
|
|
|
60905
61164
|
// src/funcs/tasksV2TasksUpdate.ts
|
|
60906
61165
|
function tasksV2TasksUpdate(client$, request, options) {
|
|
60907
|
-
return new APIPromise($
|
|
61166
|
+
return new APIPromise($do50(client$, request, options));
|
|
60908
61167
|
}
|
|
60909
|
-
async function $
|
|
61168
|
+
async function $do50(client$, request, options) {
|
|
60910
61169
|
const parsed$ = safeParse4(request, (value$) => V2TasksUpdateRequest$zodSchema.parse(value$), "Input validation failed");
|
|
60911
61170
|
if (!parsed$.ok) {
|
|
60912
61171
|
return [parsed$, { status: "invalid" }];
|
|
@@ -60982,12 +61241,12 @@ var init_tasksV2TasksUpdate = __esm(() => {
|
|
|
60982
61241
|
});
|
|
60983
61242
|
|
|
60984
61243
|
// src/mcp-server/tools/tasksV2TasksUpdate.ts
|
|
60985
|
-
var
|
|
61244
|
+
var args39, tool$tasksV2TasksUpdate;
|
|
60986
61245
|
var init_tasksV2TasksUpdate2 = __esm(() => {
|
|
60987
61246
|
init_tasksV2TasksUpdate();
|
|
60988
61247
|
init_v2tasksupdateop();
|
|
60989
61248
|
init_tools();
|
|
60990
|
-
|
|
61249
|
+
args39 = {
|
|
60991
61250
|
request: V2TasksUpdateRequest$zodSchema
|
|
60992
61251
|
};
|
|
60993
61252
|
tool$tasksV2TasksUpdate = {
|
|
@@ -61002,7 +61261,7 @@ Updates a task's status, priority, assignee, or action type. Only sent fields ar
|
|
|
61002
61261
|
openWorldHint: false,
|
|
61003
61262
|
readOnlyHint: false
|
|
61004
61263
|
},
|
|
61005
|
-
args:
|
|
61264
|
+
args: args39,
|
|
61006
61265
|
tool: async (client, args, ctx) => {
|
|
61007
61266
|
const [result] = await tasksV2TasksUpdate(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61008
61267
|
if (!result.ok) {
|
|
@@ -61090,9 +61349,9 @@ var init_v2visibilitycitationslistop = __esm(() => {
|
|
|
61090
61349
|
|
|
61091
61350
|
// src/funcs/visibilityV2VisibilityCitationsList.ts
|
|
61092
61351
|
function visibilityV2VisibilityCitationsList(client$, request, options) {
|
|
61093
|
-
return new APIPromise($
|
|
61352
|
+
return new APIPromise($do51(client$, request, options));
|
|
61094
61353
|
}
|
|
61095
|
-
async function $
|
|
61354
|
+
async function $do51(client$, request, options) {
|
|
61096
61355
|
const parsed$ = safeParse4(request, (value$) => V2VisibilityCitationsListRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
61097
61356
|
if (!parsed$.ok) {
|
|
61098
61357
|
return [parsed$, { status: "invalid" }];
|
|
@@ -61169,12 +61428,12 @@ var init_visibilityV2VisibilityCitationsList = __esm(() => {
|
|
|
61169
61428
|
});
|
|
61170
61429
|
|
|
61171
61430
|
// src/mcp-server/tools/visibilityV2VisibilityCitationsList.ts
|
|
61172
|
-
var
|
|
61431
|
+
var args40, tool$visibilityV2VisibilityCitationsList;
|
|
61173
61432
|
var init_visibilityV2VisibilityCitationsList2 = __esm(() => {
|
|
61174
61433
|
init_visibilityV2VisibilityCitationsList();
|
|
61175
61434
|
init_v2visibilitycitationslistop();
|
|
61176
61435
|
init_tools();
|
|
61177
|
-
|
|
61436
|
+
args40 = {
|
|
61178
61437
|
request: V2VisibilityCitationsListRequest$zodSchema.optional()
|
|
61179
61438
|
};
|
|
61180
61439
|
tool$visibilityV2VisibilityCitationsList = {
|
|
@@ -61189,7 +61448,7 @@ Returns URL-level citation counts ranked from most to least cited. Results can b
|
|
|
61189
61448
|
openWorldHint: false,
|
|
61190
61449
|
readOnlyHint: true
|
|
61191
61450
|
},
|
|
61192
|
-
args:
|
|
61451
|
+
args: args40,
|
|
61193
61452
|
tool: async (client, args, ctx) => {
|
|
61194
61453
|
const [result] = await visibilityV2VisibilityCitationsList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61195
61454
|
if (!result.ok) {
|
|
@@ -61254,9 +61513,9 @@ var init_v2visibilitycurrentretrieveop = __esm(() => {
|
|
|
61254
61513
|
|
|
61255
61514
|
// src/funcs/visibilityV2VisibilityCurrentRetrieve.ts
|
|
61256
61515
|
function visibilityV2VisibilityCurrentRetrieve(client$, request, options) {
|
|
61257
|
-
return new APIPromise($
|
|
61516
|
+
return new APIPromise($do52(client$, request, options));
|
|
61258
61517
|
}
|
|
61259
|
-
async function $
|
|
61518
|
+
async function $do52(client$, request, options) {
|
|
61260
61519
|
const parsed$ = safeParse4(request, (value$) => V2VisibilityCurrentRetrieveRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
61261
61520
|
if (!parsed$.ok) {
|
|
61262
61521
|
return [parsed$, { status: "invalid" }];
|
|
@@ -61330,12 +61589,12 @@ var init_visibilityV2VisibilityCurrentRetrieve = __esm(() => {
|
|
|
61330
61589
|
});
|
|
61331
61590
|
|
|
61332
61591
|
// src/mcp-server/tools/visibilityV2VisibilityCurrentRetrieve.ts
|
|
61333
|
-
var
|
|
61592
|
+
var args41, tool$visibilityV2VisibilityCurrentRetrieve;
|
|
61334
61593
|
var init_visibilityV2VisibilityCurrentRetrieve2 = __esm(() => {
|
|
61335
61594
|
init_visibilityV2VisibilityCurrentRetrieve();
|
|
61336
61595
|
init_v2visibilitycurrentretrieveop();
|
|
61337
61596
|
init_tools();
|
|
61338
|
-
|
|
61597
|
+
args41 = {
|
|
61339
61598
|
request: V2VisibilityCurrentRetrieveRequest$zodSchema.optional()
|
|
61340
61599
|
};
|
|
61341
61600
|
tool$visibilityV2VisibilityCurrentRetrieve = {
|
|
@@ -61350,7 +61609,7 @@ Returns visibility score, share of voice, ranks, and date-range metadata for the
|
|
|
61350
61609
|
openWorldHint: false,
|
|
61351
61610
|
readOnlyHint: true
|
|
61352
61611
|
},
|
|
61353
|
-
args:
|
|
61612
|
+
args: args41,
|
|
61354
61613
|
tool: async (client, args, ctx) => {
|
|
61355
61614
|
const [result] = await visibilityV2VisibilityCurrentRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61356
61615
|
if (!result.ok) {
|
|
@@ -61493,9 +61752,9 @@ var init_v2visibilityoverviewretrieveop = __esm(() => {
|
|
|
61493
61752
|
|
|
61494
61753
|
// src/funcs/visibilityV2VisibilityOverviewRetrieve.ts
|
|
61495
61754
|
function visibilityV2VisibilityOverviewRetrieve(client$, request, options) {
|
|
61496
|
-
return new APIPromise($
|
|
61755
|
+
return new APIPromise($do53(client$, request, options));
|
|
61497
61756
|
}
|
|
61498
|
-
async function $
|
|
61757
|
+
async function $do53(client$, request, options) {
|
|
61499
61758
|
const parsed$ = safeParse4(request, (value$) => V2VisibilityOverviewRetrieveRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
61500
61759
|
if (!parsed$.ok) {
|
|
61501
61760
|
return [parsed$, { status: "invalid" }];
|
|
@@ -61569,12 +61828,12 @@ var init_visibilityV2VisibilityOverviewRetrieve = __esm(() => {
|
|
|
61569
61828
|
});
|
|
61570
61829
|
|
|
61571
61830
|
// src/mcp-server/tools/visibilityV2VisibilityOverviewRetrieve.ts
|
|
61572
|
-
var
|
|
61831
|
+
var args42, tool$visibilityV2VisibilityOverviewRetrieve;
|
|
61573
61832
|
var init_visibilityV2VisibilityOverviewRetrieve2 = __esm(() => {
|
|
61574
61833
|
init_visibilityV2VisibilityOverviewRetrieve();
|
|
61575
61834
|
init_v2visibilityoverviewretrieveop();
|
|
61576
61835
|
init_tools();
|
|
61577
|
-
|
|
61836
|
+
args42 = {
|
|
61578
61837
|
request: V2VisibilityOverviewRetrieveRequest$zodSchema.optional()
|
|
61579
61838
|
};
|
|
61580
61839
|
tool$visibilityV2VisibilityOverviewRetrieve = {
|
|
@@ -61589,7 +61848,7 @@ Returns aggregate snapshot, daily trends, per-platform breakdowns, and competito
|
|
|
61589
61848
|
openWorldHint: false,
|
|
61590
61849
|
readOnlyHint: true
|
|
61591
61850
|
},
|
|
61592
|
-
args:
|
|
61851
|
+
args: args42,
|
|
61593
61852
|
tool: async (client, args, ctx) => {
|
|
61594
61853
|
const [result] = await visibilityV2VisibilityOverviewRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61595
61854
|
if (!result.ok) {
|
|
@@ -61703,9 +61962,9 @@ var init_v2visibilitypromptsretrieveop = __esm(() => {
|
|
|
61703
61962
|
|
|
61704
61963
|
// src/funcs/visibilityV2VisibilityPromptsRetrieve.ts
|
|
61705
61964
|
function visibilityV2VisibilityPromptsRetrieve(client$, request, options) {
|
|
61706
|
-
return new APIPromise($
|
|
61965
|
+
return new APIPromise($do54(client$, request, options));
|
|
61707
61966
|
}
|
|
61708
|
-
async function $
|
|
61967
|
+
async function $do54(client$, request, options) {
|
|
61709
61968
|
const parsed$ = safeParse4(request, (value$) => V2VisibilityPromptsRetrieveRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
61710
61969
|
if (!parsed$.ok) {
|
|
61711
61970
|
return [parsed$, { status: "invalid" }];
|
|
@@ -61779,12 +62038,12 @@ var init_visibilityV2VisibilityPromptsRetrieve = __esm(() => {
|
|
|
61779
62038
|
});
|
|
61780
62039
|
|
|
61781
62040
|
// src/mcp-server/tools/visibilityV2VisibilityPromptsRetrieve.ts
|
|
61782
|
-
var
|
|
62041
|
+
var args43, tool$visibilityV2VisibilityPromptsRetrieve;
|
|
61783
62042
|
var init_visibilityV2VisibilityPromptsRetrieve2 = __esm(() => {
|
|
61784
62043
|
init_visibilityV2VisibilityPromptsRetrieve();
|
|
61785
62044
|
init_v2visibilitypromptsretrieveop();
|
|
61786
62045
|
init_tools();
|
|
61787
|
-
|
|
62046
|
+
args43 = {
|
|
61788
62047
|
request: V2VisibilityPromptsRetrieveRequest$zodSchema.optional()
|
|
61789
62048
|
};
|
|
61790
62049
|
tool$visibilityV2VisibilityPromptsRetrieve = {
|
|
@@ -61799,7 +62058,7 @@ Returns per-topic and per-prompt visibility metrics including score, rank, share
|
|
|
61799
62058
|
openWorldHint: false,
|
|
61800
62059
|
readOnlyHint: true
|
|
61801
62060
|
},
|
|
61802
|
-
args:
|
|
62061
|
+
args: args43,
|
|
61803
62062
|
tool: async (client, args, ctx) => {
|
|
61804
62063
|
const [result] = await visibilityV2VisibilityPromptsRetrieve(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
61805
62064
|
if (!result.ok) {
|
|
@@ -61823,7 +62082,7 @@ function createMCPServer(deps) {
|
|
|
61823
62082
|
sizes: ["any"]
|
|
61824
62083
|
}],
|
|
61825
62084
|
name: "LightsageMcp",
|
|
61826
|
-
version: "0.
|
|
62085
|
+
version: "0.3.0"
|
|
61827
62086
|
});
|
|
61828
62087
|
const getClient = deps.getSDK || (() => new LightsageMcpCore({
|
|
61829
62088
|
security: deps.security,
|
|
@@ -61880,7 +62139,8 @@ function createMCPServer(deps) {
|
|
|
61880
62139
|
tool(tool$evalsV2EvalConfigurationsUpdate);
|
|
61881
62140
|
tool(tool$evalsV2EvalConfigurationsDelete);
|
|
61882
62141
|
tool(tool$evalsRun);
|
|
61883
|
-
tool(tool$
|
|
62142
|
+
tool(tool$evalsAnalysis);
|
|
62143
|
+
tool(tool$evalsTrace);
|
|
61884
62144
|
tool(tool$evalRunsV2EvalRunsList);
|
|
61885
62145
|
tool(tool$evalRunsV2EvalRunsRetrieve);
|
|
61886
62146
|
tool(tool$evalResultsV2EvalResultsList);
|
|
@@ -61915,8 +62175,9 @@ var init_server2 = __esm(() => {
|
|
|
61915
62175
|
init_evalResultsV2EvalResultsRetrieve2();
|
|
61916
62176
|
init_evalRunsV2EvalRunsList2();
|
|
61917
62177
|
init_evalRunsV2EvalRunsRetrieve2();
|
|
61918
|
-
|
|
62178
|
+
init_evalsAnalysis2();
|
|
61919
62179
|
init_evalsRun2();
|
|
62180
|
+
init_evalsTrace2();
|
|
61920
62181
|
init_evalsV2EvalConfigurationsCreate2();
|
|
61921
62182
|
init_evalsV2EvalConfigurationsDelete2();
|
|
61922
62183
|
init_evalsV2EvalConfigurationsList2();
|
|
@@ -62122,9 +62383,7 @@ Returns all active evals including workflow, MCP, CLI, and skill evals owned by
|
|
|
62122
62383
|
},
|
|
62123
62384
|
{
|
|
62124
62385
|
name: "evals-v2-evals-create",
|
|
62125
|
-
description:
|
|
62126
|
-
|
|
62127
|
-
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."
|
|
62128
62387
|
},
|
|
62129
62388
|
{
|
|
62130
62389
|
name: "evals-v2-evals-retrieve",
|
|
@@ -62134,9 +62393,7 @@ Returns one eval and its judge configuration.`
|
|
|
62134
62393
|
},
|
|
62135
62394
|
{
|
|
62136
62395
|
name: "evals-v2-evals-update",
|
|
62137
|
-
description:
|
|
62138
|
-
|
|
62139
|
-
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."
|
|
62140
62397
|
},
|
|
62141
62398
|
{
|
|
62142
62399
|
name: "evals-v2-evals-delete",
|
|
@@ -62179,8 +62436,14 @@ Permanently deletes an eval configuration and returns its last saved state.`
|
|
|
62179
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."
|
|
62180
62437
|
},
|
|
62181
62438
|
{
|
|
62182
|
-
name: "evals-
|
|
62183
|
-
description:
|
|
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.`
|
|
62443
|
+
},
|
|
62444
|
+
{
|
|
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."
|
|
62184
62447
|
},
|
|
62185
62448
|
{
|
|
62186
62449
|
name: "eval-runs-v2-eval-runs-list",
|
|
@@ -62196,7 +62459,7 @@ Returns the status and progress of an eval job. Poll until the status reaches a
|
|
|
62196
62459
|
name: "eval-results-v2-eval-results-list",
|
|
62197
62460
|
description: `List Results
|
|
62198
62461
|
|
|
62199
|
-
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.`
|
|
62200
62463
|
},
|
|
62201
62464
|
{
|
|
62202
62465
|
name: "eval-results-v2-eval-results-retrieve",
|
|
@@ -63168,7 +63431,7 @@ http_headers = { "lightsage-api-key-auth" = "YOUR_LIGHTSAGE_API_KEY_AUTH" }`;
|
|
|
63168
63431
|
<h1>Instructions</h1>
|
|
63169
63432
|
<p>One-click installation for Claude Desktop users</p>
|
|
63170
63433
|
<div class="instruction-item">
|
|
63171
|
-
<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;">
|
|
63172
63435
|
\uD83D\uDCE5 Download MCP Bundle
|
|
63173
63436
|
</a>
|
|
63174
63437
|
</div>
|
|
@@ -66046,7 +66309,7 @@ var routes = buildRouteMap({
|
|
|
66046
66309
|
var app = buildApplication(routes, {
|
|
66047
66310
|
name: "mcp",
|
|
66048
66311
|
versionInfo: {
|
|
66049
|
-
currentVersion: "0.
|
|
66312
|
+
currentVersion: "0.3.0"
|
|
66050
66313
|
}
|
|
66051
66314
|
});
|
|
66052
66315
|
run(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -66054,5 +66317,5 @@ export {
|
|
|
66054
66317
|
app
|
|
66055
66318
|
};
|
|
66056
66319
|
|
|
66057
|
-
//# debugId=
|
|
66320
|
+
//# debugId=E8194E142237D9EF64756E2164756E21
|
|
66058
66321
|
//# sourceMappingURL=mcp-server.js.map
|