@lightsage/mcp 0.3.0 → 0.3.1
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 +198 -81
- package/bin/mcp-server.js.map +32 -29
- package/esm/funcs/evalsRun.d.ts +3 -3
- package/esm/funcs/evalsRun.js +3 -3
- package/esm/funcs/evalsV2EvalsCreate.d.ts +1 -1
- package/esm/funcs/evalsV2EvalsCreate.js +1 -1
- package/esm/funcs/evalsV2EvalsList.d.ts +1 -1
- package/esm/funcs/evalsV2EvalsList.js +1 -1
- package/esm/funcs/evalsV2EvalsRetrieve.d.ts +1 -1
- package/esm/funcs/evalsV2EvalsRetrieve.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 +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/config.js.map +1 -1
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/mcp-server/tools/evalsRun.js +3 -3
- package/esm/mcp-server/tools/evalsRun.js.map +1 -1
- package/esm/mcp-server/tools/evalsV2EvalsCreate.js +1 -1
- package/esm/mcp-server/tools/evalsV2EvalsCreate.js.map +1 -1
- package/esm/mcp-server/tools/evalsV2EvalsList.js +1 -1
- package/esm/mcp-server/tools/evalsV2EvalsList.js.map +1 -1
- package/esm/mcp-server/tools/evalsV2EvalsRetrieve.js +1 -1
- package/esm/mcp-server/tools/evalsV2EvalsRetrieve.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 +16 -20
- package/esm/models/createv2evalrequest.d.ts.map +1 -1
- package/esm/models/createv2evalrequest.js +25 -17
- package/esm/models/createv2evalrequest.js.map +1 -1
- package/esm/models/createv2evalrunrequest.d.ts +19 -4
- package/esm/models/createv2evalrunrequest.d.ts.map +1 -1
- package/esm/models/createv2evalrunrequest.js +31 -6
- package/esm/models/createv2evalrunrequest.js.map +1 -1
- package/esm/models/updatev2evalrequest.d.ts +16 -20
- package/esm/models/updatev2evalrequest.d.ts.map +1 -1
- package/esm/models/updatev2evalrequest.js +25 -17
- package/esm/models/updatev2evalrequest.js.map +1 -1
- package/esm/models/v2eval.d.ts +16 -21
- package/esm/models/v2eval.d.ts.map +1 -1
- package/esm/models/v2eval.js +25 -18
- package/esm/models/v2eval.js.map +1 -1
- package/esm/models/v2evalresult.d.ts +4 -2
- package/esm/models/v2evalresult.d.ts.map +1 -1
- package/esm/models/v2evalresult.js +3 -1
- package/esm/models/v2evalresult.js.map +1 -1
- package/esm/models/v2evalresultsummary.d.ts +4 -1
- package/esm/models/v2evalresultsummary.d.ts.map +1 -1
- package/esm/models/v2evalresultsummary.js +4 -1
- package/esm/models/v2evalresultsummary.js.map +1 -1
- package/esm/models/v2evalrun.d.ts +5 -2
- package/esm/models/v2evalrun.d.ts.map +1 -1
- package/esm/models/v2evalrun.js +5 -2
- package/esm/models/v2evalrun.js.map +1 -1
- package/esm/models/v2evalrunanalysis.d.ts +3 -1
- package/esm/models/v2evalrunanalysis.d.ts.map +1 -1
- package/esm/models/v2evalrunanalysis.js +3 -1
- package/esm/models/v2evalrunanalysis.js.map +1 -1
- package/esm/models/v2evalruntraceevent.d.ts +3 -2
- package/esm/models/v2evalruntraceevent.d.ts.map +1 -1
- package/esm/models/v2evalruntraceevent.js +3 -2
- package/esm/models/v2evalruntraceevent.js.map +1 -1
- package/esm/models/v2inlineclireference.d.ts +6 -0
- package/esm/models/v2inlineclireference.d.ts.map +1 -0
- package/esm/models/v2inlineclireference.js +10 -0
- package/esm/models/v2inlineclireference.js.map +1 -0
- package/esm/models/v2inlinemcpdefinition.d.ts +28 -0
- package/esm/models/v2inlinemcpdefinition.d.ts.map +1 -0
- package/esm/models/v2inlinemcpdefinition.js +25 -0
- package/esm/models/v2inlinemcpdefinition.js.map +1 -0
- package/esm/models/v2savedclireference.d.ts +6 -0
- package/esm/models/v2savedclireference.d.ts.map +1 -0
- package/esm/models/v2savedclireference.js +10 -0
- package/esm/models/v2savedclireference.js.map +1 -0
- package/esm/models/v2savedmcpreference.d.ts +6 -0
- package/esm/models/v2savedmcpreference.d.ts.map +1 -0
- package/esm/models/v2savedmcpreference.js +10 -0
- package/esm/models/v2savedmcpreference.js.map +1 -0
- package/esm/tool-names.js +5 -5
- package/esm/tool-names.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/evalsRun.ts +3 -3
- package/src/funcs/evalsV2EvalsCreate.ts +1 -1
- package/src/funcs/evalsV2EvalsList.ts +1 -1
- package/src/funcs/evalsV2EvalsRetrieve.ts +1 -1
- package/src/funcs/evalsV2EvalsUpdate.ts +1 -1
- package/src/landing-page.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/evalsRun.ts +3 -3
- package/src/mcp-server/tools/evalsV2EvalsCreate.ts +1 -1
- package/src/mcp-server/tools/evalsV2EvalsList.ts +1 -1
- package/src/mcp-server/tools/evalsV2EvalsRetrieve.ts +1 -1
- package/src/mcp-server/tools/evalsV2EvalsUpdate.ts +1 -1
- package/src/models/createv2evalrequest.ts +71 -27
- package/src/models/createv2evalrunrequest.ts +85 -13
- package/src/models/updatev2evalrequest.ts +60 -28
- package/src/models/v2eval.ts +49 -26
- package/src/models/v2evalresult.ts +8 -4
- package/src/models/v2evalresultsummary.ts +9 -3
- package/src/models/v2evalrun.ts +18 -6
- package/src/models/v2evalrunanalysis.ts +11 -3
- package/src/models/v2evalruntraceevent.ts +6 -4
- package/src/models/v2inlineclireference.ts +15 -0
- package/src/models/v2inlinemcpdefinition.ts +51 -0
- package/src/models/v2savedclireference.ts +13 -0
- package/src/models/v2savedmcpreference.ts +13 -0
- package/src/tool-names.ts +5 -5
- package/test/simulations.test.js +162 -0
- package/esm/models/v2evaljudge.d.ts +0 -6
- package/esm/models/v2evaljudge.d.ts.map +0 -1
- package/esm/models/v2evaljudge.js +0 -9
- package/esm/models/v2evaljudge.js.map +0 -1
- package/src/models/v2evaljudge.ts +0 -12
package/esm/tool-names.js
CHANGED
|
@@ -110,19 +110,19 @@ export const toolNames = [
|
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
"name": "evals-v2-evals-list",
|
|
113
|
-
"description": "List Evals\n\nReturns all active
|
|
113
|
+
"description": "List Evals\n\nReturns all active eval definitions owned by the organization."
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
116
|
"name": "evals-v2-evals-create",
|
|
117
|
-
"description": "Create Eval\n\nCreates
|
|
117
|
+
"description": "Create Eval\n\nCreates a reusable simulation definition with one or more task prompts and judges. Optional agents, persona, CLI installations, MCP servers, repeat count, and tags are saved with the eval. Creating the eval does not start a run and does not accept secret environment values."
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
"name": "evals-v2-evals-retrieve",
|
|
121
|
-
"description": "Retrieve Eval\n\nReturns one eval
|
|
121
|
+
"description": "Retrieve Eval\n\nReturns one reusable eval simulation definition."
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
124
|
"name": "evals-v2-evals-update",
|
|
125
|
-
"description": "Update Eval\n\nUpdates
|
|
125
|
+
"description": "Update Eval\n\nUpdates a reusable eval simulation definition. Omitted fields remain unchanged. Empty `agent`, `clis`, `mcps`, or `tags` arrays clear those collections, and `persona: null` clears the saved persona."
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
128
|
"name": "evals-v2-evals-delete",
|
|
@@ -150,7 +150,7 @@ export const toolNames = [
|
|
|
150
150
|
},
|
|
151
151
|
{
|
|
152
152
|
"name": "evals-run",
|
|
153
|
-
"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
|
|
153
|
+
"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`; optionally replace its prompts, persona, agents, CLIs, MCPs, or runs for this launch. A saved configuration can still provide repository, environment, skills, and legacy tool selections.\n- **Direct create-and-run:** provide `prompts`, `judges`, and `agent`. You may also provide a persona, tags, repository, write-only environment variables, saved or inline CLIs and MCP servers, and skills.\n\nThe run fans out across prompts × agents × runs. Persona is shared metadata and does not multiply attempts. No separate `mode` field is required."
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
156
|
"name": "evals-analysis",
|
package/esm/tool-names.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-names.js","sourceRoot":"","sources":["../src/tool-names.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,MAAM,CAAC,MAAM,SAAS,GAAgD;IACpE;QACE,MAAM,EAAE,sBAAsB;QAC9B,aAAa,EAAE,6GAA6G;KAC7H;IACD;QACE,MAAM,EAAE,2BAA2B;QACnC,aAAa,EAAE,0HAA0H;KAC1I;IACD;QACE,MAAM,EAAE,2CAA2C;QACnD,aAAa,EAAE,oOAAoO;KACpP;IACD;QACE,MAAM,EAAE,4CAA4C;QACpD,aAAa,EAAE,oKAAoK;KACpL;IACD;QACE,MAAM,EAAE,yCAAyC;QACjD,aAAa,EAAE,iKAAiK;KACjL;IACD;QACE,MAAM,EAAE,2CAA2C;QACnD,aAAa,EAAE,wKAAwK;KACxL;IACD;QACE,MAAM,EAAE,yBAAyB;QACjC,aAAa,EAAE,qHAAqH;KACrI;IACD;QACE,MAAM,EAAE,2BAA2B;QACnC,aAAa,EAAE,6JAA6J;KAC7K;IACD;QACE,MAAM,EAAE,+BAA+B;QACvC,aAAa,EAAE,yEAAyE;KACzF;IACD;QACE,MAAM,EAA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AAE,uxBAAuxB;KACvyB;IACD;QACE,MAAM,EAAE,gBAAgB;QACxB,aAAa,EAAE,wTAAwT;KACxU;IACD;QACE,MAAM,EAAE,aAAa;QACrB,aAAa,EAAE,+NAA+N;KAC/O;IACD;QACE,MAAM,EAAE,6BAA6B;QACrC,aAAa,EAAE,0HAA0H;KAC1I;IACD;QACE,MAAM,EAAE,iCAAiC;QACzC,aAAa,EAAE,iHAAiH;KACjI;IACD;QACE,MAAM,EAAE,mCAAmC;QAC3C,aAAa,EAAE,uJAAuJ;KACvK;IACD;QACE,MAAM,EAAE,uCAAuC;QAC/C,aAAa,EAAE,qGAAqG;KACrH;IACD;QACE,MAAM,EAAE,uBAAuB;QAC/B,aAAa,EAAE,8GAA8G;KAC9H;IACD;QACE,MAAM,EAAE,mCAAmC;QAC3C,aAAa,EAAE,6OAA6O;KAC7P;IACD;QACE,MAAM,EAAE,qCAAqC;QAC7C,aAAa,EAAE,wFAAwF;KACxG;IACD;QACE,MAAM,EAAE,uCAAuC;QAC/C,aAAa,EAAE,mEAAmE;KACnF;IACD;QACE,MAAM,EAAE,qCAAqC;QAC7C,aAAa,EAAE,uFAAuF;KACvG;IACD;QACE,MAAM,EAAE,qCAAqC;QAC7C,aAAa,EAAE,mGAAmG;KACnH;IACD;QACE,MAAM,EAAE,mCAAmC;QAC3C,aAAa,EAAE,oFAAoF;KACpG;IACD;QACE,MAAM,EAAE,iCAAiC;QACzC,aAAa,EAAE,iGAAiG;KACjH;IACD;QACE,MAAM,EAAE,oBAAoB;QAC5B,aAAa,EAAE,qFAAqF;KACrG;IACD;QACE,MAAM,EAAE,uBAAuB;QAC/B,aAAa,EAAE,wFAAwF;KACxG;CACF,CAAC"}
|
package/package.json
CHANGED
package/src/funcs/evalsRun.ts
CHANGED
|
@@ -34,10 +34,10 @@ import { Result } from "../types/fp.js";
|
|
|
34
34
|
*
|
|
35
35
|
* Send one of these flat request forms:
|
|
36
36
|
*
|
|
37
|
-
* - **Saved eval:** provide `eval_id
|
|
38
|
-
* - **Direct create-and-run:** provide `
|
|
37
|
+
* - **Saved eval:** provide `eval_id`; optionally replace its prompts, persona, agents, CLIs, MCPs, or runs for this launch. A saved configuration can still provide repository, environment, skills, and legacy tool selections.
|
|
38
|
+
* - **Direct create-and-run:** provide `prompts`, `judges`, and `agent`. You may also provide a persona, tags, repository, write-only environment variables, saved or inline CLIs and MCP servers, and skills.
|
|
39
39
|
*
|
|
40
|
-
*
|
|
40
|
+
* The run fans out across prompts × agents × runs. Persona is shared metadata and does not multiply attempts. No separate `mode` field is required.
|
|
41
41
|
*/
|
|
42
42
|
export function evalsRun(
|
|
43
43
|
client$: LightsageMcpCore,
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Create Eval
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Creates
|
|
33
|
+
* Creates a reusable simulation definition with one or more task prompts and judges. Optional agents, persona, CLI installations, MCP servers, repeat count, and tags are saved with the eval. Creating the eval does not start a run and does not accept secret environment values.
|
|
34
34
|
*/
|
|
35
35
|
export function evalsV2EvalsCreate(
|
|
36
36
|
client$: LightsageMcpCore,
|
|
@@ -24,7 +24,7 @@ import { Result } from "../types/fp.js";
|
|
|
24
24
|
* List Evals
|
|
25
25
|
*
|
|
26
26
|
* @remarks
|
|
27
|
-
* Returns all active
|
|
27
|
+
* Returns all active eval definitions owned by the organization.
|
|
28
28
|
*/
|
|
29
29
|
export function evalsV2EvalsList(
|
|
30
30
|
client$: LightsageMcpCore,
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Retrieve Eval
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Returns one eval
|
|
33
|
+
* Returns one reusable eval simulation definition.
|
|
34
34
|
*/
|
|
35
35
|
export function evalsV2EvalsRetrieve(
|
|
36
36
|
client$: LightsageMcpCore,
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Update Eval
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Updates
|
|
33
|
+
* Updates a reusable eval simulation definition. Omitted fields remain unchanged. Empty `agent`, `clis`, `mcps`, or `tags` arrays clear those collections, and `persona: null` clears the saved persona.
|
|
34
34
|
*/
|
|
35
35
|
export function evalsV2EvalsUpdate(
|
|
36
36
|
client$: LightsageMcpCore,
|
package/src/landing-page.ts
CHANGED
|
@@ -931,7 +931,7 @@ http_headers = { "lightsage-api-key-auth" = "YOUR_LIGHTSAGE_API_KEY_AUTH" }`;
|
|
|
931
931
|
<h1>Instructions</h1>
|
|
932
932
|
<p>One-click installation for Claude Desktop users</p>
|
|
933
933
|
<div class="instruction-item">
|
|
934
|
-
<a href="https://github.com/lightsagehq/mcp/releases/download/v0.3.
|
|
934
|
+
<a href="https://github.com/lightsagehq/mcp/releases/download/v0.3.1/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
|
|
935
935
|
📥 Download MCP Bundle
|
|
936
936
|
</a>
|
|
937
937
|
</div>
|
package/src/lib/config.ts
CHANGED
|
@@ -66,7 +66,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
66
66
|
export const SDK_METADATA = {
|
|
67
67
|
language: "typescript",
|
|
68
68
|
openapiDocVersion: "1.0.0",
|
|
69
|
-
sdkVersion: "0.3.
|
|
70
|
-
genVersion: "2.
|
|
71
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.3.
|
|
69
|
+
sdkVersion: "0.3.1",
|
|
70
|
+
genVersion: "2.937.18",
|
|
71
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.3.1 2.937.18 1.0.0 @lightsage/mcp",
|
|
72
72
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -19,10 +19,10 @@ Queues a durable eval job and returns immediately with a polling ID. Poll \`GET
|
|
|
19
19
|
|
|
20
20
|
Send one of these flat request forms:
|
|
21
21
|
|
|
22
|
-
- **Saved eval:** provide \`eval_id
|
|
23
|
-
- **Direct create-and-run:** provide \`
|
|
22
|
+
- **Saved eval:** provide \`eval_id\`; optionally replace its prompts, persona, agents, CLIs, MCPs, or runs for this launch. A saved configuration can still provide repository, environment, skills, and legacy tool selections.
|
|
23
|
+
- **Direct create-and-run:** provide \`prompts\`, \`judges\`, and \`agent\`. You may also provide a persona, tags, repository, write-only environment variables, saved or inline CLIs and MCP servers, and skills.
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
The run fans out across prompts × agents × runs. Persona is shared metadata and does not multiply attempts. No separate \`mode\` field is required.`,
|
|
26
26
|
annotations: {
|
|
27
27
|
"title": "",
|
|
28
28
|
"destructiveHint": false,
|
|
@@ -15,7 +15,7 @@ export const tool$evalsV2EvalsCreate: ToolDefinition<typeof args> = {
|
|
|
15
15
|
name: "evals-v2-evals-create",
|
|
16
16
|
description: `Create Eval
|
|
17
17
|
|
|
18
|
-
Creates
|
|
18
|
+
Creates a reusable simulation definition with one or more task prompts and judges. Optional agents, persona, CLI installations, MCP servers, repeat count, and tags are saved with the eval. Creating the eval does not start a run and does not accept secret environment values.`,
|
|
19
19
|
annotations: {
|
|
20
20
|
"title": "",
|
|
21
21
|
"destructiveHint": false,
|
|
@@ -10,7 +10,7 @@ export const tool$evalsV2EvalsList: ToolDefinition = {
|
|
|
10
10
|
name: "evals-v2-evals-list",
|
|
11
11
|
description: `List Evals
|
|
12
12
|
|
|
13
|
-
Returns all active
|
|
13
|
+
Returns all active eval definitions owned by the organization.`,
|
|
14
14
|
annotations: {
|
|
15
15
|
"title": "",
|
|
16
16
|
"destructiveHint": false,
|
|
@@ -15,7 +15,7 @@ export const tool$evalsV2EvalsRetrieve: ToolDefinition<typeof args> = {
|
|
|
15
15
|
name: "evals-v2-evals-retrieve",
|
|
16
16
|
description: `Retrieve Eval
|
|
17
17
|
|
|
18
|
-
Returns one eval
|
|
18
|
+
Returns one reusable eval simulation definition.`,
|
|
19
19
|
annotations: {
|
|
20
20
|
"title": "",
|
|
21
21
|
"destructiveHint": false,
|
|
@@ -15,7 +15,7 @@ export const tool$evalsV2EvalsUpdate: ToolDefinition<typeof args> = {
|
|
|
15
15
|
name: "evals-v2-evals-update",
|
|
16
16
|
description: `Update Eval
|
|
17
17
|
|
|
18
|
-
Updates
|
|
18
|
+
Updates a reusable eval simulation definition. Omitted fields remain unchanged. Empty \`agent\`, \`clis\`, \`mcps\`, or \`tags\` arrays clear those collections, and \`persona: null\` clears the saved persona.`,
|
|
19
19
|
annotations: {
|
|
20
20
|
"title": "",
|
|
21
21
|
"destructiveHint": false,
|
|
@@ -4,42 +4,86 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import * as z from "zod";
|
|
7
|
-
import {
|
|
7
|
+
import {
|
|
8
|
+
V2InlineCliReference,
|
|
9
|
+
V2InlineCliReference$zodSchema,
|
|
10
|
+
} from "./v2inlineclireference.js";
|
|
11
|
+
import {
|
|
12
|
+
V2InlineMcpDefinition,
|
|
13
|
+
V2InlineMcpDefinition$zodSchema,
|
|
14
|
+
} from "./v2inlinemcpdefinition.js";
|
|
15
|
+
import {
|
|
16
|
+
V2SavedCliReference,
|
|
17
|
+
V2SavedCliReference$zodSchema,
|
|
18
|
+
} from "./v2savedclireference.js";
|
|
19
|
+
import {
|
|
20
|
+
V2SavedMcpReference,
|
|
21
|
+
V2SavedMcpReference$zodSchema,
|
|
22
|
+
} from "./v2savedmcpreference.js";
|
|
8
23
|
|
|
9
|
-
export
|
|
10
|
-
Workflow: "workflow",
|
|
11
|
-
Mcp: "mcp",
|
|
12
|
-
Cli: "cli",
|
|
13
|
-
Skill: "skill",
|
|
14
|
-
} as const;
|
|
15
|
-
export type CreateV2EvalRequestType = ClosedEnum<
|
|
16
|
-
typeof CreateV2EvalRequestType
|
|
17
|
-
>;
|
|
24
|
+
export type CreateV2EvalRequestCli = V2SavedCliReference | V2InlineCliReference;
|
|
18
25
|
|
|
19
|
-
export const
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
26
|
+
export const CreateV2EvalRequestCli$zodSchema: z.ZodType<
|
|
27
|
+
CreateV2EvalRequestCli
|
|
28
|
+
> = z.union([
|
|
29
|
+
V2SavedCliReference$zodSchema,
|
|
30
|
+
V2InlineCliReference$zodSchema,
|
|
31
|
+
]);
|
|
32
|
+
|
|
33
|
+
export type CreateV2EvalRequestMcp =
|
|
34
|
+
| V2InlineMcpDefinition
|
|
35
|
+
| V2SavedMcpReference;
|
|
36
|
+
|
|
37
|
+
export const CreateV2EvalRequestMcp$zodSchema: z.ZodType<
|
|
38
|
+
CreateV2EvalRequestMcp
|
|
39
|
+
> = z.union([
|
|
40
|
+
V2InlineMcpDefinition$zodSchema,
|
|
41
|
+
V2SavedMcpReference$zodSchema,
|
|
24
42
|
]);
|
|
25
43
|
|
|
26
44
|
export type CreateV2EvalRequest = {
|
|
27
45
|
name: string;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
46
|
+
prompts: Array<string>;
|
|
47
|
+
judges: Array<string>;
|
|
48
|
+
agent?: Array<string> | undefined;
|
|
49
|
+
persona?: string | undefined;
|
|
50
|
+
clis?: Array<V2SavedCliReference | V2InlineCliReference> | undefined;
|
|
51
|
+
mcps?: Array<V2InlineMcpDefinition | V2SavedMcpReference> | undefined;
|
|
52
|
+
runs?: number | undefined;
|
|
53
|
+
tags?: Array<string> | undefined;
|
|
34
54
|
};
|
|
35
55
|
|
|
36
56
|
export const CreateV2EvalRequest$zodSchema: z.ZodType<CreateV2EvalRequest> = z
|
|
37
57
|
.object({
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
58
|
+
agent: z.array(z.string()).optional().describe(
|
|
59
|
+
"Runnable agents from `GET /v2/agents`. An empty array saves the eval without default agents. CLI clients expose repeatable `--agent`.",
|
|
60
|
+
),
|
|
61
|
+
clis: z.array(z.union([
|
|
62
|
+
V2SavedCliReference$zodSchema,
|
|
63
|
+
V2InlineCliReference$zodSchema,
|
|
64
|
+
])).optional().describe(
|
|
65
|
+
"Saved CLI references or inline installation commands.",
|
|
66
|
+
),
|
|
67
|
+
judges: z.array(z.string()).describe(
|
|
68
|
+
"Plain-text success criteria. CLI clients expose this as repeatable `--judge`.",
|
|
69
|
+
),
|
|
70
|
+
mcps: z.array(z.union([
|
|
71
|
+
V2InlineMcpDefinition$zodSchema,
|
|
72
|
+
V2SavedMcpReference$zodSchema,
|
|
73
|
+
])).optional().describe(
|
|
74
|
+
"Saved MCP references or inline portable MCP definitions.",
|
|
75
|
+
),
|
|
41
76
|
name: z.string(),
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
77
|
+
persona: z.string().optional().describe(
|
|
78
|
+
"Optional perspective applied to the whole eval. It is stored as metadata and does not change prompts or multiply attempts.",
|
|
79
|
+
),
|
|
80
|
+
prompts: z.array(z.string()).describe(
|
|
81
|
+
"Task prompts. CLI clients expose this as repeatable `--prompt`.",
|
|
82
|
+
),
|
|
83
|
+
runs: z.int().default(1).describe(
|
|
84
|
+
"Independent attempts for every prompt-agent pair.",
|
|
85
|
+
),
|
|
86
|
+
tags: z.array(z.string()).optional().describe(
|
|
87
|
+
"Optional labels for organizing the eval. CLI clients may expose this string array as a repeatable `--tag` flag.",
|
|
88
|
+
),
|
|
45
89
|
});
|
|
@@ -4,48 +4,120 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import * as z from "zod";
|
|
7
|
+
import {
|
|
8
|
+
V2InlineCliReference,
|
|
9
|
+
V2InlineCliReference$zodSchema,
|
|
10
|
+
} from "./v2inlineclireference.js";
|
|
11
|
+
import {
|
|
12
|
+
V2InlineMcpDefinition,
|
|
13
|
+
V2InlineMcpDefinition$zodSchema,
|
|
14
|
+
} from "./v2inlinemcpdefinition.js";
|
|
15
|
+
import {
|
|
16
|
+
V2SavedCliReference,
|
|
17
|
+
V2SavedCliReference$zodSchema,
|
|
18
|
+
} from "./v2savedclireference.js";
|
|
19
|
+
import {
|
|
20
|
+
V2SavedMcpReference,
|
|
21
|
+
V2SavedMcpReference$zodSchema,
|
|
22
|
+
} from "./v2savedmcpreference.js";
|
|
23
|
+
|
|
24
|
+
export type CreateV2EvalRunRequestCli =
|
|
25
|
+
| V2SavedCliReference
|
|
26
|
+
| V2InlineCliReference;
|
|
27
|
+
|
|
28
|
+
export const CreateV2EvalRunRequestCli$zodSchema: z.ZodType<
|
|
29
|
+
CreateV2EvalRunRequestCli
|
|
30
|
+
> = z.union([
|
|
31
|
+
V2SavedCliReference$zodSchema,
|
|
32
|
+
V2InlineCliReference$zodSchema,
|
|
33
|
+
]);
|
|
34
|
+
|
|
35
|
+
export type CreateV2EvalRunRequestMcp =
|
|
36
|
+
| V2InlineMcpDefinition
|
|
37
|
+
| V2SavedMcpReference;
|
|
38
|
+
|
|
39
|
+
export const CreateV2EvalRunRequestMcp$zodSchema: z.ZodType<
|
|
40
|
+
CreateV2EvalRunRequestMcp
|
|
41
|
+
> = z.union([
|
|
42
|
+
V2InlineMcpDefinition$zodSchema,
|
|
43
|
+
V2SavedMcpReference$zodSchema,
|
|
44
|
+
]);
|
|
7
45
|
|
|
8
46
|
/**
|
|
9
|
-
* Start an eval run using one of two flat request forms. Saved runs require `eval_id
|
|
47
|
+
* Start an eval run using one of two flat request forms. Saved runs require `eval_id` and use saved simulation defaults unless the request replaces them. Direct create-and-run requests require `prompts`, `judges`, and `agent`. No separate mode field is required.
|
|
10
48
|
*/
|
|
11
49
|
export type CreateV2EvalRunRequest = {
|
|
12
50
|
eval_id?: string | undefined;
|
|
13
51
|
configuration_id?: string | undefined;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
judges?: Array<string> | undefined;
|
|
52
|
+
name?: string | undefined;
|
|
53
|
+
prompts?: Array<string> | null | undefined;
|
|
54
|
+
judges?: Array<string> | null | undefined;
|
|
55
|
+
agent?: Array<string> | null | undefined;
|
|
56
|
+
persona?: string | undefined;
|
|
57
|
+
clis?: Array<V2SavedCliReference | V2InlineCliReference> | null | undefined;
|
|
58
|
+
mcps?: Array<V2InlineMcpDefinition | V2SavedMcpReference> | null | undefined;
|
|
59
|
+
runs?: number | undefined;
|
|
60
|
+
tags?: Array<string> | undefined;
|
|
17
61
|
repository?: string | undefined;
|
|
18
62
|
env?: { [k: string]: string } | undefined;
|
|
19
63
|
skills?: Array<string> | undefined;
|
|
64
|
+
skill_ids?: Array<string> | undefined;
|
|
20
65
|
};
|
|
21
66
|
|
|
22
67
|
export const CreateV2EvalRunRequest$zodSchema: z.ZodType<
|
|
23
68
|
CreateV2EvalRunRequest
|
|
24
69
|
> = z.object({
|
|
25
|
-
|
|
26
|
-
"
|
|
70
|
+
agent: z.array(z.string()).nullable().optional().describe(
|
|
71
|
+
"Runnable agents from `GET /v2/agents`. Required unless the saved eval already has agents. CLI clients expose repeatable `--agent`.",
|
|
72
|
+
),
|
|
73
|
+
clis: z.array(z.union([
|
|
74
|
+
V2SavedCliReference$zodSchema,
|
|
75
|
+
V2InlineCliReference$zodSchema,
|
|
76
|
+
])).nullable().optional().describe(
|
|
77
|
+
"Saved CLI references or inline installation commands. In saved mode, an explicit empty array disables saved CLIs for this launch.",
|
|
27
78
|
),
|
|
28
79
|
configuration_id: z.string().optional().describe(
|
|
29
|
-
"Saved-run form only.
|
|
80
|
+
"Saved-run form only. Optional saved repository, environment, skills, and legacy tool configuration.",
|
|
30
81
|
),
|
|
31
82
|
env: z.record(z.string(), z.string()).optional().describe(
|
|
32
|
-
"
|
|
83
|
+
"Write-only environment variables for this launch. Values are stored only in the queued job's private configuration.",
|
|
33
84
|
),
|
|
34
85
|
eval_id: z.string().optional().describe(
|
|
35
86
|
"Saved-run form only. Existing eval definition to run. Omit this field to use the direct create-and-run form.",
|
|
36
87
|
),
|
|
37
|
-
judges: z.array(z.string()).optional().describe(
|
|
38
|
-
"
|
|
88
|
+
judges: z.array(z.string()).nullable().optional().describe(
|
|
89
|
+
"Success criteria. Required in direct mode; in saved mode, replaces saved judges for this launch. CLI clients expose repeatable `--judge`.",
|
|
90
|
+
),
|
|
91
|
+
mcps: z.array(z.union([
|
|
92
|
+
V2InlineMcpDefinition$zodSchema,
|
|
93
|
+
V2SavedMcpReference$zodSchema,
|
|
94
|
+
])).nullable().optional().describe(
|
|
95
|
+
"Saved MCP references or inline portable definitions. In saved mode, an explicit empty array disables saved MCPs for this launch.",
|
|
39
96
|
),
|
|
40
|
-
|
|
41
|
-
"Direct create-and-run form only.
|
|
97
|
+
name: z.string().optional().describe(
|
|
98
|
+
"Direct create-and-run form only. Display name for the durable eval. Defaults to the first prompt.",
|
|
99
|
+
),
|
|
100
|
+
persona: z.string().optional().describe(
|
|
101
|
+
"Optional perspective for every attempt in this launch. It does not modify prompts or add a fan-out dimension.",
|
|
102
|
+
),
|
|
103
|
+
prompts: z.array(z.string()).nullable().optional().describe(
|
|
104
|
+
"Task prompts. Required in direct mode; in saved mode, replaces saved prompts for this launch. CLI clients expose repeatable `--prompt`.",
|
|
42
105
|
),
|
|
43
106
|
repository: z.string().optional().describe(
|
|
44
107
|
"Direct create-and-run form only. A saved repository ID, built-in alias such as `nextjs-starter`, or a public GitHub HTTPS URL.",
|
|
45
108
|
),
|
|
109
|
+
runs: z.int().optional().describe(
|
|
110
|
+
"Independent attempts for every prompt-agent pair. Defaults to the saved eval value or 1 for a direct run.",
|
|
111
|
+
),
|
|
112
|
+
skill_ids: z.array(z.string()).optional().describe(
|
|
113
|
+
"Direct create-and-run form only. Reusable skill IDs from `GET /v2/skills` to install before the agent starts.",
|
|
114
|
+
),
|
|
46
115
|
skills: z.array(z.string()).optional().describe(
|
|
47
116
|
"Additional public skill packages to install before the agent starts in either request form, using GitHub `owner/repository` references such as `resend/resend-skills`. CLI clients may expose this string array as a repeatable `--skill` flag.",
|
|
48
117
|
),
|
|
118
|
+
tags: z.array(z.string()).optional().describe(
|
|
119
|
+
"Direct create-and-run form only. Optional labels saved on the created eval. CLI clients may expose this string array as a repeatable `--tag` flag.",
|
|
120
|
+
),
|
|
49
121
|
}).describe(
|
|
50
|
-
"Start an eval run using one of two flat request forms. Saved runs require `eval_id
|
|
122
|
+
"Start an eval run using one of two flat request forms. Saved runs require `eval_id` and use saved simulation defaults unless the request replaces them. Direct create-and-run requests require `prompts`, `judges`, and `agent`. No separate mode field is required.",
|
|
51
123
|
);
|
|
@@ -4,44 +4,76 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import * as z from "zod";
|
|
7
|
-
import {
|
|
7
|
+
import {
|
|
8
|
+
V2InlineCliReference,
|
|
9
|
+
V2InlineCliReference$zodSchema,
|
|
10
|
+
} from "./v2inlineclireference.js";
|
|
11
|
+
import {
|
|
12
|
+
V2InlineMcpDefinition,
|
|
13
|
+
V2InlineMcpDefinition$zodSchema,
|
|
14
|
+
} from "./v2inlinemcpdefinition.js";
|
|
15
|
+
import {
|
|
16
|
+
V2SavedCliReference,
|
|
17
|
+
V2SavedCliReference$zodSchema,
|
|
18
|
+
} from "./v2savedclireference.js";
|
|
19
|
+
import {
|
|
20
|
+
V2SavedMcpReference,
|
|
21
|
+
V2SavedMcpReference$zodSchema,
|
|
22
|
+
} from "./v2savedmcpreference.js";
|
|
8
23
|
|
|
9
|
-
export
|
|
10
|
-
Workflow: "workflow",
|
|
11
|
-
Mcp: "mcp",
|
|
12
|
-
Cli: "cli",
|
|
13
|
-
Skill: "skill",
|
|
14
|
-
} as const;
|
|
15
|
-
export type UpdateV2EvalRequestType = ClosedEnum<
|
|
16
|
-
typeof UpdateV2EvalRequestType
|
|
17
|
-
>;
|
|
24
|
+
export type UpdateV2EvalRequestCli = V2SavedCliReference | V2InlineCliReference;
|
|
18
25
|
|
|
19
|
-
export const
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
26
|
+
export const UpdateV2EvalRequestCli$zodSchema: z.ZodType<
|
|
27
|
+
UpdateV2EvalRequestCli
|
|
28
|
+
> = z.union([
|
|
29
|
+
V2SavedCliReference$zodSchema,
|
|
30
|
+
V2InlineCliReference$zodSchema,
|
|
31
|
+
]);
|
|
32
|
+
|
|
33
|
+
export type UpdateV2EvalRequestMcp =
|
|
34
|
+
| V2InlineMcpDefinition
|
|
35
|
+
| V2SavedMcpReference;
|
|
36
|
+
|
|
37
|
+
export const UpdateV2EvalRequestMcp$zodSchema: z.ZodType<
|
|
38
|
+
UpdateV2EvalRequestMcp
|
|
39
|
+
> = z.union([
|
|
40
|
+
V2InlineMcpDefinition$zodSchema,
|
|
41
|
+
V2SavedMcpReference$zodSchema,
|
|
24
42
|
]);
|
|
25
43
|
|
|
26
44
|
export type UpdateV2EvalRequest = {
|
|
27
45
|
name?: string | undefined;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
46
|
+
prompts?: Array<string> | null | undefined;
|
|
47
|
+
judges?: Array<string> | null | undefined;
|
|
48
|
+
agent?: Array<string> | null | undefined;
|
|
49
|
+
persona?: string | undefined;
|
|
50
|
+
clis?: Array<V2SavedCliReference | V2InlineCliReference> | null | undefined;
|
|
51
|
+
mcps?: Array<V2InlineMcpDefinition | V2SavedMcpReference> | null | undefined;
|
|
52
|
+
runs?: number | undefined;
|
|
53
|
+
tags?: Array<string> | null | undefined;
|
|
34
54
|
};
|
|
35
55
|
|
|
36
56
|
export const UpdateV2EvalRequest$zodSchema: z.ZodType<UpdateV2EvalRequest> = z
|
|
37
57
|
.object({
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
58
|
+
agent: z.array(z.string()).nullable().optional(),
|
|
59
|
+
clis: z.array(z.union([
|
|
60
|
+
V2SavedCliReference$zodSchema,
|
|
61
|
+
V2InlineCliReference$zodSchema,
|
|
62
|
+
])).nullable().optional(),
|
|
63
|
+
judges: z.array(z.string()).nullable().optional().describe(
|
|
64
|
+
"Replacement success criteria for the eval.",
|
|
41
65
|
),
|
|
42
|
-
|
|
66
|
+
mcps: z.array(z.union([
|
|
67
|
+
V2InlineMcpDefinition$zodSchema,
|
|
68
|
+
V2SavedMcpReference$zodSchema,
|
|
69
|
+
])).nullable().optional(),
|
|
43
70
|
name: z.string().optional(),
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
71
|
+
persona: z.string().optional().describe(
|
|
72
|
+
"Replacement eval persona. Pass null to clear it; omit it to leave the saved value unchanged.",
|
|
73
|
+
),
|
|
74
|
+
prompts: z.array(z.string()).nullable().optional(),
|
|
75
|
+
runs: z.int().optional(),
|
|
76
|
+
tags: z.array(z.string()).nullable().optional().describe(
|
|
77
|
+
"Replacement labels for the eval. Pass an empty array to clear all tags.",
|
|
78
|
+
),
|
|
47
79
|
});
|