@lightsage/mcp 0.2.0 → 0.2.2
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 +37 -29
- package/bin/mcp-server.js.map +16 -16
- package/esm/funcs/evalsMonitor.d.ts +1 -1
- package/esm/funcs/evalsMonitor.js +1 -2
- package/esm/funcs/evalsMonitor.js.map +1 -1
- package/esm/funcs/evalsRun.d.ts +9 -2
- package/esm/funcs/evalsRun.d.ts.map +1 -1
- package/esm/funcs/evalsRun.js +9 -2
- package/esm/funcs/evalsRun.js.map +1 -1
- package/esm/funcs/repositoriesV2RepositoriesList.d.ts +1 -1
- package/esm/funcs/repositoriesV2RepositoriesList.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.js +1 -1
- package/esm/mcp-server/tools/evalsMonitor.js +1 -1
- package/esm/mcp-server/tools/evalsMonitor.js.map +1 -1
- package/esm/mcp-server/tools/evalsRun.d.ts.map +1 -1
- package/esm/mcp-server/tools/evalsRun.js +9 -2
- package/esm/mcp-server/tools/evalsRun.js.map +1 -1
- package/esm/mcp-server/tools/repositoriesV2RepositoriesList.js +1 -1
- package/esm/mcp-server/tools/repositoriesV2RepositoriesList.js.map +1 -1
- package/esm/models/createv2evalrunrequest.d.ts +3 -0
- package/esm/models/createv2evalrunrequest.d.ts.map +1 -1
- package/esm/models/createv2evalrunrequest.js +9 -9
- package/esm/models/createv2evalrunrequest.js.map +1 -1
- package/esm/models/v2evalrunsmonitorop.d.ts +0 -1
- package/esm/models/v2evalrunsmonitorop.d.ts.map +1 -1
- package/esm/models/v2evalrunsmonitorop.js +1 -3
- package/esm/models/v2evalrunsmonitorop.js.map +1 -1
- package/esm/models/v2listtasksresponse.d.ts +1 -1
- package/esm/models/v2repository.d.ts +16 -0
- package/esm/models/v2repository.d.ts.map +1 -1
- package/esm/models/v2repository.js +13 -1
- package/esm/models/v2repository.js.map +1 -1
- package/esm/models/v2taskslistop.d.ts +1 -1
- package/esm/tool-names.js +3 -3
- package/esm/tool-names.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/evalsMonitor.ts +1 -2
- package/src/funcs/evalsRun.ts +9 -2
- package/src/funcs/repositoriesV2RepositoriesList.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 +1 -1
- package/src/mcp-server/tools/evalsMonitor.ts +1 -1
- package/src/mcp-server/tools/evalsRun.ts +9 -2
- package/src/mcp-server/tools/repositoriesV2RepositoriesList.ts +1 -1
- package/src/models/createv2evalrunrequest.ts +16 -9
- package/src/models/v2evalrunsmonitorop.ts +3 -6
- package/src/models/v2repository.ts +26 -1
- package/src/tool-names.ts +3 -3
|
@@ -14,7 +14,7 @@ export declare enum MonitorAcceptEnum {
|
|
|
14
14
|
* Monitor Runs
|
|
15
15
|
*
|
|
16
16
|
* @remarks
|
|
17
|
-
* Streams an immediate snapshot followed by live status and sanitized activity
|
|
17
|
+
* Streams an immediate snapshot followed by live status and sanitized activity. Provide `run_id` to monitor one public v2 eval run, or omit it to capture all active runs when the connection opens.
|
|
18
18
|
*/
|
|
19
19
|
export declare function evalsMonitor(client$: LightsageMcpCore, request?: V2EvalRunsMonitorRequest | undefined, options?: RequestOptions): APIPromise<Result<Response, APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
20
20
|
//# sourceMappingURL=evalsMonitor.d.ts.map
|
|
@@ -18,7 +18,7 @@ export var MonitorAcceptEnum;
|
|
|
18
18
|
* Monitor Runs
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
* Streams an immediate snapshot followed by live status and sanitized activity
|
|
21
|
+
* Streams an immediate snapshot followed by live status and sanitized activity. Provide `run_id` to monitor one public v2 eval run, or omit it to capture all active runs when the connection opens.
|
|
22
22
|
*/
|
|
23
23
|
export function evalsMonitor(client$, request, options) {
|
|
24
24
|
return new APIPromise($do(client$, request, options));
|
|
@@ -33,7 +33,6 @@ async function $do(client$, request, options) {
|
|
|
33
33
|
const path$ = pathToFunc("/v2/eval-runs/monitor")();
|
|
34
34
|
const query$ = encodeFormQuery({
|
|
35
35
|
"after_id": payload$?.after_id,
|
|
36
|
-
"all": payload$?.all,
|
|
37
36
|
"detail": payload$?.detail,
|
|
38
37
|
"run_id": payload$?.run_id,
|
|
39
38
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evalsMonitor.js","sourceRoot":"","sources":["../../src/funcs/evalsMonitor.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAU3C,OAAO,EAEL,kCAAkC,GACnC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD,MAAM,CAAN,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,+DAA0C,CAAA;IAC1C,gEAA2C,CAAA;AAC7C,CAAC,EAHW,iBAAiB,KAAjB,iBAAiB,QAG5B;AAED;;;;;GAKG;AACH,MAAM,UAAU,YAAY,CAC1B,OAAyB,EACzB,OAA8C,EAC9C,OAAwB;IAaxB,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,OAAO,EACP,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,OAAyB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AE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;IAChE,CAAC;IACD,OAAO,CAAC,QAAQ,EAAE;YAChB,MAAM,EAAE,UAAU;YAClB,SAAS,EAAE,IAAI;YACf,QAAQ,EAAE,QAAQ,CAAC,KAAK;SACzB,CAAC,CAAC;AACL,CAAC"}
|
package/esm/funcs/evalsRun.d.ts
CHANGED
|
@@ -7,10 +7,17 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
|
7
7
|
import { APIPromise } from "../types/async.js";
|
|
8
8
|
import { Result } from "../types/fp.js";
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Start an eval run
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Queues a durable eval job and returns immediately with a polling ID. Poll `GET /v2/eval-runs/{run_id}` until its status reaches a terminal value.
|
|
13
|
+
* Queues a durable eval job and returns immediately with a polling ID. Poll `GET /v2/eval-runs/{run_id}` until its status reaches a terminal value.
|
|
14
|
+
*
|
|
15
|
+
* Send one of these flat request forms:
|
|
16
|
+
*
|
|
17
|
+
* - **Saved eval:** provide `eval_id`, `configuration_id`, and `agent_id`.
|
|
18
|
+
* - **Direct create-and-run:** provide `prompt`, `judges`, and `agent_id`. You may also provide a repository, write-only environment variables, and public skill packages.
|
|
19
|
+
*
|
|
20
|
+
* Do not combine saved-run and direct-run fields. No separate `mode` field is required.
|
|
14
21
|
*/
|
|
15
22
|
export declare function evalsRun(client$: LightsageMcpCore, request: CreateV2EvalRunRequest, options?: RequestOptions): APIPromise<Result<Response, APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
16
23
|
//# sourceMappingURL=evalsRun.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evalsRun.d.ts","sourceRoot":"","sources":["../../src/funcs/evalsRun.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY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B,mBAAmB,GACnB,eAAe,CAClB,CACF,CAMA"}
|
package/esm/funcs/evalsRun.js
CHANGED
|
@@ -10,10 +10,17 @@ import { pathToFunc } from "../lib/url.js";
|
|
|
10
10
|
import { CreateV2EvalRunRequest$zodSchema, } from "../models/createv2evalrunrequest.js";
|
|
11
11
|
import { APIPromise } from "../types/async.js";
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Start an eval run
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
* Queues a durable eval job and returns immediately with a polling ID. Poll `GET /v2/eval-runs/{run_id}` until its status reaches a terminal value.
|
|
16
|
+
* Queues a durable eval job and returns immediately with a polling ID. Poll `GET /v2/eval-runs/{run_id}` until its status reaches a terminal value.
|
|
17
|
+
*
|
|
18
|
+
* Send one of these flat request forms:
|
|
19
|
+
*
|
|
20
|
+
* - **Saved eval:** provide `eval_id`, `configuration_id`, and `agent_id`.
|
|
21
|
+
* - **Direct create-and-run:** provide `prompt`, `judges`, and `agent_id`. You may also provide a repository, write-only environment variables, and public skill packages.
|
|
22
|
+
*
|
|
23
|
+
* Do not combine saved-run and direct-run fields. No separate `mode` field is required.
|
|
17
24
|
*/
|
|
18
25
|
export function evalsRun(client$, request, options) {
|
|
19
26
|
return new APIPromise($do(client$, request, options));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evalsRun.js","sourceRoot":"","sources":["../../src/funcs/evalsRun.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAEL,gCAAgC,GACjC,MAAM,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AU,CAAC,EAAE,EAAE,CAAC;QACnB,OAAO,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IAC7C,CAAC;IACD,MAAM,IAAI,GAAG,UAAU,CAAC,KAAK,CAAC;IAE9B,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE;QACvC,OAAO;QACP,UAAU,EAAE,EAAE;QACd,WAAW,EAAE,OAAO,CAAC,WAAW;QAChC,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;IAChE,CAAC;IACD,OAAO,CAAC,QAAQ,EAAE;YAChB,MAAM,EAAE,UAAU;YAClB,SAAS,EAAE,IAAI;YACf,QAAQ,EAAE,QAAQ,CAAC,KAAK;SACzB,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -9,7 +9,7 @@ import { Result } from "../types/fp.js";
|
|
|
9
9
|
* List Repositories
|
|
10
10
|
*
|
|
11
11
|
* @remarks
|
|
12
|
-
* Returns Git repositories
|
|
12
|
+
* Returns built-in templates and enabled saved Git repositories. Pass an item's `id` directly as `repository` in a direct eval run. Public GitHub URLs are also accepted by eval runs but are not included in this list.
|
|
13
13
|
*/
|
|
14
14
|
export declare function repositoriesV2RepositoriesList(client$: LightsageMcpCore, options?: RequestOptions): APIPromise<Result<Response, APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
15
15
|
//# sourceMappingURL=repositoriesV2RepositoriesList.d.ts.map
|
|
@@ -10,7 +10,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
10
10
|
* List Repositories
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Returns Git repositories
|
|
13
|
+
* Returns built-in templates and enabled saved Git repositories. Pass an item's `id` directly as `repository` in a direct eval run. Public GitHub URLs are also accepted by eval runs but are not included in this list.
|
|
14
14
|
*/
|
|
15
15
|
export function repositoriesV2RepositoriesList(client$, options) {
|
|
16
16
|
return new APIPromise($do(client$, options));
|
package/esm/landing-page.js
CHANGED
|
@@ -916,7 +916,7 @@ http_headers = { "lightsage-api-key-auth" = "YOUR_LIGHTSAGE_API_KEY_AUTH" }`;
|
|
|
916
916
|
<h1>Instructions</h1>
|
|
917
917
|
<p>One-click installation for Claude Desktop users</p>
|
|
918
918
|
<div class="instruction-item">
|
|
919
|
-
<a href="https://github.com/lightsagehq/mcp/releases/download/v0.2.
|
|
919
|
+
<a href="https://github.com/lightsagehq/mcp/releases/download/v0.2.2/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
|
|
920
920
|
📥 Download MCP Bundle
|
|
921
921
|
</a>
|
|
922
922
|
</div>
|
package/esm/lib/config.d.ts
CHANGED
|
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
35
35
|
export declare const SDK_METADATA: {
|
|
36
36
|
readonly language: "typescript";
|
|
37
37
|
readonly openapiDocVersion: "1.0.0";
|
|
38
|
-
readonly sdkVersion: "0.2.
|
|
38
|
+
readonly sdkVersion: "0.2.2";
|
|
39
39
|
readonly genVersion: "2.935.1";
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/mcp-typescript 0.2.
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/mcp-typescript 0.2.2 2.935.1 1.0.0 @lightsage/mcp";
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.d.ts.map
|
package/esm/lib/config.js
CHANGED
|
@@ -28,8 +28,8 @@ export function serverURLFromOptions(options) {
|
|
|
28
28
|
export const SDK_METADATA = {
|
|
29
29
|
language: "typescript",
|
|
30
30
|
openapiDocVersion: "1.0.0",
|
|
31
|
-
sdkVersion: "0.2.
|
|
31
|
+
sdkVersion: "0.2.2",
|
|
32
32
|
genVersion: "2.935.1",
|
|
33
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.2.
|
|
33
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.2.2 2.935.1 1.0.0 @lightsage/mcp",
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=config.js.map
|
package/esm/mcp-server/server.js
CHANGED
|
@@ -12,7 +12,7 @@ export const tool$evalsMonitor = {
|
|
|
12
12
|
name: "evals-monitor",
|
|
13
13
|
description: `Monitor Runs
|
|
14
14
|
|
|
15
|
-
Streams an immediate snapshot followed by live status and sanitized activity
|
|
15
|
+
Streams an immediate snapshot followed by live status and sanitized activity. Provide \`run_id\` to monitor one public v2 eval run, or omit it to capture all active runs when the connection opens.`,
|
|
16
16
|
annotations: {
|
|
17
17
|
"title": "",
|
|
18
18
|
"destructiveHint": false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evalsMonitor.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/evalsMonitor.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,kCAAkC,EAAE,MAAM,qCAAqC,CAAC;AACzF,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,kCAAkC,CAAC,QAAQ,EAAE;CACvD,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAgC;IAC5D,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE;;
|
|
1
|
+
{"version":3,"file":"evalsMonitor.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/evalsMonitor.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,kCAAkC,EAAE,MAAM,qCAAqC,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ts","sourceRoot":"","sources":["../../../src/mcp-server/tools/evalsRun.ts"],"names":[],"mappings":"AAOA,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,cAAc,CAAC,OAAO,IAAI,CAoCrD,CAAC"}
|
|
@@ -10,9 +10,16 @@ const args = {
|
|
|
10
10
|
};
|
|
11
11
|
export const tool$evalsRun = {
|
|
12
12
|
name: "evals-run",
|
|
13
|
-
description: `
|
|
13
|
+
description: `Start an eval run
|
|
14
14
|
|
|
15
|
-
Queues a durable eval job and returns immediately with a polling ID. Poll \`GET /v2/eval-runs/{run_id}\` until its status reaches a terminal value.
|
|
15
|
+
Queues a durable eval job and returns immediately with a polling ID. Poll \`GET /v2/eval-runs/{run_id}\` until its status reaches a terminal value.
|
|
16
|
+
|
|
17
|
+
Send one of these flat request forms:
|
|
18
|
+
|
|
19
|
+
- **Saved eval:** provide \`eval_id\`, \`configuration_id\`, and \`agent_id\`.
|
|
20
|
+
- **Direct create-and-run:** provide \`prompt\`, \`judges\`, and \`agent_id\`. You may also provide a repository, write-only environment variables, and public skill packages.
|
|
21
|
+
|
|
22
|
+
Do not combine saved-run and direct-run fields. No separate \`mode\` field is required.`,
|
|
16
23
|
annotations: {
|
|
17
24
|
"title": "",
|
|
18
25
|
"destructiveHint": false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evalsRun.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/evalsRun.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,gCAAgC;CAC1C,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAgC;IACxD,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE
|
|
1
|
+
{"version":3,"file":"evalsRun.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/evalsRun.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,gCAAgC;CAC1C,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAgC;IACxD,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE;;;;;;;;;wFASyE;IACtF,WAAW,EAAE;QACX,OAAO,EAAE,EAAE;QACX,iBAAiB,EAAE,KAAK;QACxB,gBAAgB,EAAE,KAAK;QACvB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,KAAK;KACtB;IACD,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,QAAQ,CAC7B,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,OAAO,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;CACF,CAAC"}
|
|
@@ -8,7 +8,7 @@ export const tool$repositoriesV2RepositoriesList = {
|
|
|
8
8
|
name: "repositories-v2-repositories-list",
|
|
9
9
|
description: `List Repositories
|
|
10
10
|
|
|
11
|
-
Returns Git repositories
|
|
11
|
+
Returns built-in templates and enabled saved Git repositories. Pass an item's \`id\` directly as \`repository\` in a direct eval run. Public GitHub URLs are also accepted by eval runs but are not included in this list.`,
|
|
12
12
|
annotations: {
|
|
13
13
|
"title": "",
|
|
14
14
|
"destructiveHint": false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoriesV2RepositoriesList.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/repositoriesV2RepositoriesList.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,CAAC,MAAM,mCAAmC,GAAmB;IACjE,IAAI,EAAE,mCAAmC;IACzC,WAAW,EAAE;;
|
|
1
|
+
{"version":3,"file":"repositoriesV2RepositoriesList.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/repositoriesV2RepositoriesList.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,CAAC,MAAM,mCAAmC,GAAmB;IACjE,IAAI,EAAE,mCAAmC;IACzC,WAAW,EAAE;;2NAE4M;IACzN,WAAW,EAAE;QACX,OAAO,EAAE,EAAE;QACX,iBAAiB,EAAE,KAAK;QACxB,gBAAgB,EAAE,KAAK;QACvB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;KACrB;IACD,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE;QAC1B,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,8BAA8B,CACnD,MAAM,EACN,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,OAAO,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;CACF,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Start an eval run using one of two flat request forms. Saved runs require `eval_id`, `configuration_id`, and `agent_id`. Direct create-and-run requests require `prompt`, at least one item in `judges`, and `agent_id`. Do not combine saved-run and direct-run fields; no separate mode field is required.
|
|
4
|
+
*/
|
|
2
5
|
export type CreateV2EvalRunRequest = {
|
|
3
6
|
eval_id?: string | undefined;
|
|
4
7
|
configuration_id?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createv2evalrunrequest.d.ts","sourceRoot":"","sources":["../../src/models/createv2evalrunrequest.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,GAAG,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC1C,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,sBAAsB,
|
|
1
|
+
{"version":3,"file":"createv2evalrunrequest.d.ts","sourceRoot":"","sources":["../../src/models/createv2evalrunrequest.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,GAAG,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC1C,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,sBAAsB,CA4BvB,CAAC"}
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
export const CreateV2EvalRunRequest$zodSchema = z.object({
|
|
7
|
-
agent_id: z.string().describe("Runnable agent ID from `GET /v2/agents`."),
|
|
8
|
-
configuration_id: z.string().optional().describe("Saved runtime configuration
|
|
9
|
-
env: z.record(z.string(), z.string()).optional().describe("Write-only environment variables
|
|
10
|
-
eval_id: z.string().optional().describe("Existing eval definition to run. Omit to create
|
|
11
|
-
judges: z.array(z.string()).optional().describe("
|
|
12
|
-
prompt: z.string().optional().describe("Task prompt
|
|
13
|
-
repository: z.string().optional().describe("
|
|
14
|
-
skills: z.array(z.string()).optional().describe("
|
|
15
|
-
});
|
|
7
|
+
agent_id: z.string().describe("Required in both request forms. Runnable agent ID from `GET /v2/agents`."),
|
|
8
|
+
configuration_id: z.string().optional().describe("Saved-run form only. Saved runtime configuration; required when `eval_id` is provided."),
|
|
9
|
+
env: z.record(z.string(), z.string()).optional().describe("Direct create-and-run form only. Write-only environment variables; values are stored only in the queued job's private configuration."),
|
|
10
|
+
eval_id: z.string().optional().describe("Saved-run form only. Existing eval definition to run. Omit this field to use the direct create-and-run form."),
|
|
11
|
+
judges: z.array(z.string()).optional().describe("Direct create-and-run form only. Provide at least one success criterion. CLI clients may expose this string array as a repeatable `--judge` flag."),
|
|
12
|
+
prompt: z.string().optional().describe("Direct create-and-run form only. Task prompt; required when `eval_id` is omitted."),
|
|
13
|
+
repository: z.string().optional().describe("Direct create-and-run form only. A saved repository ID, built-in alias such as `nextjs-starter`, or a public GitHub HTTPS URL."),
|
|
14
|
+
skills: z.array(z.string()).optional().describe("Additional public skill packages to install before the agent starts in either request form, using GitHub `owner/repository` references such as `resend/resend-skills`. CLI clients may expose this string array as a repeatable `--skill` flag."),
|
|
15
|
+
}).describe("Start an eval run using one of two flat request forms. Saved runs require `eval_id`, `configuration_id`, and `agent_id`. Direct create-and-run requests require `prompt`, at least one item in `judges`, and `agent_id`. Do not combine saved-run and direct-run fields; no separate mode field is required.");
|
|
16
16
|
//# sourceMappingURL=createv2evalrunrequest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createv2evalrunrequest.js","sourceRoot":"","sources":["../../src/models/createv2evalrunrequest.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"createv2evalrunrequest.js","sourceRoot":"","sources":["../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export const Detail$zodSchema = z.enum([
|
|
|
17
17
|
]).describe("Reduced activity or the full sanitized durable trace.");
|
|
18
18
|
export const V2EvalRunsMonitorRequest$zodSchema = z.object({
|
|
19
19
|
after_id: z.int().default(0).describe("Durable child-event cursor used when reconnecting."),
|
|
20
|
-
all: z.boolean().default(false).describe("Capture all currently active public v2 eval runs."),
|
|
21
20
|
detail: Detail$zodSchema.default("summary").describe("Reduced activity or the full sanitized durable trace."),
|
|
22
|
-
run_id: z.string().describe("Parent run ID returned by `POST /v2/eval-runs`.")
|
|
23
|
-
.optional(),
|
|
21
|
+
run_id: z.string().describe("Parent run ID returned by `POST /v2/eval-runs`. Omit to capture all currently active public v2 eval runs.").optional(),
|
|
24
22
|
});
|
|
25
23
|
export const V2EvalRunsMonitorResponse$zodSchema = z.union([
|
|
26
24
|
z.string().describe("A server-sent event stream of eval-run status and activity."),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2evalrunsmonitorop.js","sourceRoot":"","sources":["../../src/models/v2evalrunsmonitorop.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACV,CAAC;AAMX,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,IAAI,CAAC;IACrC,SAAS;IACT,SAAS;CACV,CAAC,CAAC,QAAQ,CAAC,uDAAuD,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"v2evalrunsmonitorop.js","sourceRoot":"","sources":["../../src/models/v2evalrunsmonitorop.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACV,CAAC;AAMX,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,IAAI,CAAC;IACrC,SAAS;IACT,SAAS;CACV,CAAC,CAAC,QAAQ,CAAC,uDAAuD,CAAC,CAAC;AAQrE,MAAM,CAAC,MAAM,kCAAkC,GAE3C,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,QAAQ,CACnC,oDAAoD,CACrD;IACD,MAAM,EAAE,gBAAgB,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,QAAQ,CAClD,uDAAuD,CACxD;IACD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CACzB,2GAA2G,CAC5G,CAAC,QAAQ,EAAE;CACb,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,mCAAmC,GAE5C,CAAC,CAAC,KAAK,CAAC;IACV,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CACjB,6DAA6D,CAC9D;IACD,6BAA6B;CAC9B,CAAC,CAAC"}
|
|
@@ -20,13 +20,13 @@ export declare const V2ListTasksResponseStatus: {
|
|
|
20
20
|
export type V2ListTasksResponseStatus = ClosedEnum<typeof V2ListTasksResponseStatus>;
|
|
21
21
|
export declare const V2ListTasksResponseStatus$zodSchema: z.ZodEnum<{
|
|
22
22
|
completed: "completed";
|
|
23
|
-
all: "all";
|
|
24
23
|
active: "active";
|
|
25
24
|
todo: "todo";
|
|
26
25
|
new: "new";
|
|
27
26
|
in_progress: "in_progress";
|
|
28
27
|
done: "done";
|
|
29
28
|
dismissed: "dismissed";
|
|
29
|
+
all: "all";
|
|
30
30
|
}>;
|
|
31
31
|
export type V2ListTasksResponse = {
|
|
32
32
|
action_date: string;
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* Whether the repository is a read-only built-in template or an organization-owned saved repository.
|
|
5
|
+
*/
|
|
6
|
+
export declare const Kind: {
|
|
7
|
+
readonly Template: "template";
|
|
8
|
+
readonly Saved: "saved";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Whether the repository is a read-only built-in template or an organization-owned saved repository.
|
|
12
|
+
*/
|
|
13
|
+
export type Kind = ClosedEnum<typeof Kind>;
|
|
14
|
+
export declare const Kind$zodSchema: z.ZodEnum<{
|
|
15
|
+
template: "template";
|
|
16
|
+
saved: "saved";
|
|
17
|
+
}>;
|
|
3
18
|
export declare const V2RepositoryFramework: {
|
|
4
19
|
readonly Fastify: "fastify";
|
|
5
20
|
readonly Nuxt: "nuxt";
|
|
@@ -27,6 +42,7 @@ export declare const V2RepositoryFramework$zodSchema: z.ZodEnum<{
|
|
|
27
42
|
}>;
|
|
28
43
|
export type V2Repository = {
|
|
29
44
|
id: string;
|
|
45
|
+
kind: Kind;
|
|
30
46
|
name: string;
|
|
31
47
|
repo_url: string;
|
|
32
48
|
ref: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2repository.d.ts","sourceRoot":"","sources":["../../src/models/v2repository.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,qBAAqB;;;;;;;;;;;CAWxB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE7E,eAAO,MAAM,+BAA+B;;;;;;;;;;;EAW1C,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC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,CAAC;IAC1C,SAAS,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAC9C,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAgBzD,CAAC"}
|
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
* @generated-id: 3594ccd1b8bb
|
|
4
4
|
*/
|
|
5
5
|
import * as z from "zod";
|
|
6
|
+
/**
|
|
7
|
+
* Whether the repository is a read-only built-in template or an organization-owned saved repository.
|
|
8
|
+
*/
|
|
9
|
+
export const Kind = {
|
|
10
|
+
Template: "template",
|
|
11
|
+
Saved: "saved",
|
|
12
|
+
};
|
|
13
|
+
export const Kind$zodSchema = z.enum([
|
|
14
|
+
"template",
|
|
15
|
+
"saved",
|
|
16
|
+
]).describe("Whether the repository is a read-only built-in template or an organization-owned saved repository.");
|
|
6
17
|
export const V2RepositoryFramework = {
|
|
7
18
|
Fastify: "fastify",
|
|
8
19
|
Nuxt: "nuxt",
|
|
@@ -31,8 +42,9 @@ export const V2Repository$zodSchema = z.object({
|
|
|
31
42
|
created_at: z.string().nullable().optional(),
|
|
32
43
|
enabled: z.boolean(),
|
|
33
44
|
framework: V2RepositoryFramework$zodSchema.default("custom"),
|
|
34
|
-
id: z.string(),
|
|
45
|
+
id: z.string().describe("Value to pass as `repository` in a direct eval run. Built-in templates use aliases such as `nextjs-starter`; saved repositories use their persisted IDs."),
|
|
35
46
|
install_steps: z.array(z.string()).optional(),
|
|
47
|
+
kind: Kind$zodSchema.describe("Whether the repository is a read-only built-in template or an organization-owned saved repository."),
|
|
36
48
|
name: z.string(),
|
|
37
49
|
ref: z.string(),
|
|
38
50
|
repo_url: z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2repository.js","sourceRoot":"","sources":["../../src/models/v2repository.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,QAAQ;IACf,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC;AAGX,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,IAAI,CAAC;IACpD,SAAS;IACT,MAAM;IACN,SAAS;IACT,QAAQ;IACR,SAAS;IACT,OAAO;IACP,SAAS;IACT,MAAM;IACN,QAAQ;IACR,QAAQ;CACT,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"v2repository.js","sourceRoot":"","sources":["../../src/models/v2repository.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB;;GAEG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACN,CAAC;AAMX,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC;IACnC,UAAU;IACV,OAAO;CACR,CAAC,CAAC,QAAQ,CACT,oGAAoG,CACrG,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,QAAQ;IACf,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC;AAGX,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,IAAI,CAAC;IACpD,SAAS;IACT,MAAM;IACN,SAAS;IACT,QAAQ;IACR,SAAS;IACT,OAAO;IACP,SAAS;IACT,MAAM;IACN,QAAQ;IACR,QAAQ;CACT,CAAC,CAAC;AAgBH,MAAM,CAAC,MAAM,sBAAsB,GAA4B,CAAC,CAAC,MAAM,CAAC;IACtE,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC5C,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,SAAS,EAAE,+BAA+B,CAAC,OAAO,CAAC,QAAQ,CAAC;IAC5D,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CACrB,0JAA0J,CAC3J;IACD,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC7C,IAAI,EAAE,cAAc,CAAC,QAAQ,CAC3B,oGAAoG,CACrG;IACD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC9B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC"}
|
|
@@ -15,13 +15,13 @@ export declare const V2TasksListStatus: {
|
|
|
15
15
|
export type V2TasksListStatus = ClosedEnum<typeof V2TasksListStatus>;
|
|
16
16
|
export declare const V2TasksListStatus$zodSchema: z.ZodEnum<{
|
|
17
17
|
completed: "completed";
|
|
18
|
-
all: "all";
|
|
19
18
|
active: "active";
|
|
20
19
|
todo: "todo";
|
|
21
20
|
new: "new";
|
|
22
21
|
in_progress: "in_progress";
|
|
23
22
|
done: "done";
|
|
24
23
|
dismissed: "dismissed";
|
|
24
|
+
all: "all";
|
|
25
25
|
}>;
|
|
26
26
|
export type V2TasksListRequest = {
|
|
27
27
|
action_date?: string | undefined;
|
package/esm/tool-names.js
CHANGED
|
@@ -150,11 +150,11 @@ export const toolNames = [
|
|
|
150
150
|
},
|
|
151
151
|
{
|
|
152
152
|
"name": "evals-run",
|
|
153
|
-
"description": "
|
|
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`, `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."
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
156
|
"name": "evals-monitor",
|
|
157
|
-
"description": "Monitor Runs\n\nStreams an immediate snapshot followed by live status and sanitized activity
|
|
157
|
+
"description": "Monitor Runs\n\nStreams an immediate snapshot followed by live status and sanitized activity. Provide `run_id` to monitor one public v2 eval run, or omit it to capture all active runs when the connection opens."
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
"name": "eval-runs-v2-eval-runs-list",
|
|
@@ -178,7 +178,7 @@ export const toolNames = [
|
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
"name": "repositories-v2-repositories-list",
|
|
181
|
-
"description": "List Repositories\n\nReturns Git repositories
|
|
181
|
+
"description": "List Repositories\n\nReturns built-in templates and enabled saved Git repositories. Pass an item's `id` directly as `repository` in a direct eval run. Public GitHub URLs are also accepted by eval runs but are not included in this list."
|
|
182
182
|
},
|
|
183
183
|
{
|
|
184
184
|
"name": "repositories-v2-repositories-create",
|
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,EAAE,iCAAiC;QACzC,aAAa,EAAE,qEAAqE;KACrF;IACD;QACE,MAAM,EAAE,iCAAiC;QACzC,aAAa,EAAE,uEAAuE;KACvF;IACD;QACE,MAAM,EAAE,iCAAiC;QACzC,aAAa,EAAE,wJAAwJ;KACxK;IACD;QACE,MAAM,EAAE,6BAA6B;QACrC,aAAa,EAAE,wJAAwJ;KACxK;IACD;QACE,MAAM,EAAE,iCAAiC;QACzC,aAAa,EAAE,6FAA6F;KAC7G;IACD;QACE,MAAM,EAAE,6BAA6B;QACrC,aAAa,EAAE,4FAA4F;KAC5G;IACD;QACE,MAAM,EAAE,2BAA2B;QACnC,aAAa,EAAE,mHAAmH;KACnI;IACD;QACE,MAAM,EAAE,2BAA2B;QACnC,aAAa,EAAE,qHAAqH;KACrI;IACD;QACE,M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QAC7C,aAAa,EAAE,qGAAqG;KACrH;IACD;QACE,MAAM,EAAE,WAAW;QACnB,aAAa,EAAE,
|
|
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,EAAE,iCAAiC;QACzC,aAAa,EAAE,qEAAqE;KACrF;IACD;QACE,MAAM,EAAE,iCAAiC;QACzC,aAAa,EAAE,uEAAuE;KACvF;IACD;QACE,MAAM,EAAE,iCAAiC;QACzC,aAAa,EAAE,wJAAwJ;KACxK;IACD;QACE,MAAM,EAAE,6BAA6B;QACrC,aAAa,EAAE,wJAAwJ;KACxK;IACD;QACE,MAAM,EAAE,iCAAiC;QACzC,aAAa,EAAE,6FAA6F;KAC7G;IACD;QACE,MAAM,EAAE,6BAA6B;QACrC,aAAa,EAAE,4FAA4F;KAC5G;IACD;QACE,MAAM,EAAE,2BAA2B;QACnC,aAAa,EAAE,mHAAmH;KACnI;IACD;QACE,M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AC7C,aAAa,EAAE,yFAAyF;KACzG;IACD;QACE,MAAM,EAAE,qCAAqC;QAC7C,aAAa,EAAE,qGAAqG;KACrH;IACD;QACE,MAAM,EAAE,WAAW;QACnB,aAAa,EAAE,giBAAgiB;KAChjB;IACD;QACE,MAAM,EAAE,eAAe;QACvB,aAAa,EAAE,oNAAoN;KACpO;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,gKAAgK;KAChL;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
|
@@ -35,7 +35,7 @@ export enum MonitorAcceptEnum {
|
|
|
35
35
|
* Monitor Runs
|
|
36
36
|
*
|
|
37
37
|
* @remarks
|
|
38
|
-
* Streams an immediate snapshot followed by live status and sanitized activity
|
|
38
|
+
* Streams an immediate snapshot followed by live status and sanitized activity. Provide `run_id` to monitor one public v2 eval run, or omit it to capture all active runs when the connection opens.
|
|
39
39
|
*/
|
|
40
40
|
export function evalsMonitor(
|
|
41
41
|
client$: LightsageMcpCore,
|
|
@@ -92,7 +92,6 @@ async function $do(
|
|
|
92
92
|
const path$ = pathToFunc("/v2/eval-runs/monitor")();
|
|
93
93
|
const query$ = encodeFormQuery({
|
|
94
94
|
"after_id": payload$?.after_id,
|
|
95
|
-
"all": payload$?.all,
|
|
96
95
|
"detail": payload$?.detail,
|
|
97
96
|
"run_id": payload$?.run_id,
|
|
98
97
|
});
|
package/src/funcs/evalsRun.ts
CHANGED
|
@@ -27,10 +27,17 @@ import { APICall, APIPromise } from "../types/async.js";
|
|
|
27
27
|
import { Result } from "../types/fp.js";
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Start an eval run
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Queues a durable eval job and returns immediately with a polling ID. Poll `GET /v2/eval-runs/{run_id}` until its status reaches a terminal value.
|
|
33
|
+
* Queues a durable eval job and returns immediately with a polling ID. Poll `GET /v2/eval-runs/{run_id}` until its status reaches a terminal value.
|
|
34
|
+
*
|
|
35
|
+
* Send one of these flat request forms:
|
|
36
|
+
*
|
|
37
|
+
* - **Saved eval:** provide `eval_id`, `configuration_id`, and `agent_id`.
|
|
38
|
+
* - **Direct create-and-run:** provide `prompt`, `judges`, and `agent_id`. You may also provide a repository, write-only environment variables, and public skill packages.
|
|
39
|
+
*
|
|
40
|
+
* Do not combine saved-run and direct-run fields. No separate `mode` field is required.
|
|
34
41
|
*/
|
|
35
42
|
export function evalsRun(
|
|
36
43
|
client$: LightsageMcpCore,
|
|
@@ -24,7 +24,7 @@ import { Result } from "../types/fp.js";
|
|
|
24
24
|
* List Repositories
|
|
25
25
|
*
|
|
26
26
|
* @remarks
|
|
27
|
-
* Returns Git repositories
|
|
27
|
+
* Returns built-in templates and enabled saved Git repositories. Pass an item's `id` directly as `repository` in a direct eval run. Public GitHub URLs are also accepted by eval runs but are not included in this list.
|
|
28
28
|
*/
|
|
29
29
|
export function repositoriesV2RepositoriesList(
|
|
30
30
|
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.2.
|
|
934
|
+
<a href="https://github.com/lightsagehq/mcp/releases/download/v0.2.2/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.2.
|
|
69
|
+
sdkVersion: "0.2.2",
|
|
70
70
|
genVersion: "2.935.1",
|
|
71
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.2.
|
|
71
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.2.2 2.935.1 1.0.0 @lightsage/mcp",
|
|
72
72
|
} as const;
|