@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
package/README.md
CHANGED
|
@@ -33,9 +33,9 @@ Lightsage Public API: Public API for Lightsage CLI and external integrations.
|
|
|
33
33
|
<details>
|
|
34
34
|
<summary>Claude Desktop</summary>
|
|
35
35
|
|
|
36
|
-
Install the MCP server as a Desktop Extension using the pre-built [`mcp-server.mcpb`](https://github.com/lightsagehq/mcp/releases/download/v0.2.
|
|
36
|
+
Install the MCP server as a Desktop Extension using the pre-built [`mcp-server.mcpb`](https://github.com/lightsagehq/mcp/releases/download/v0.2.2/mcp-server.mcpb) file:
|
|
37
37
|
|
|
38
|
-
Simply drag and drop the [`mcp-server.mcpb`](https://github.com/lightsagehq/mcp/releases/download/v0.2.
|
|
38
|
+
Simply drag and drop the [`mcp-server.mcpb`](https://github.com/lightsagehq/mcp/releases/download/v0.2.2/mcp-server.mcpb) file onto Claude Desktop to install the extension.
|
|
39
39
|
|
|
40
40
|
The MCP bundle package includes the MCP server and all necessary configuration. Once installed, the server will be available without additional setup.
|
|
41
41
|
|
package/bin/mcp-server.js
CHANGED
|
@@ -52718,9 +52718,9 @@ var init_config = __esm(() => {
|
|
|
52718
52718
|
SDK_METADATA = {
|
|
52719
52719
|
language: "typescript",
|
|
52720
52720
|
openapiDocVersion: "1.0.0",
|
|
52721
|
-
sdkVersion: "0.2.
|
|
52721
|
+
sdkVersion: "0.2.2",
|
|
52722
52722
|
genVersion: "2.935.1",
|
|
52723
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.2.
|
|
52723
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.2.2 2.935.1 1.0.0 @lightsage/mcp"
|
|
52724
52724
|
};
|
|
52725
52725
|
});
|
|
52726
52726
|
|
|
@@ -55529,9 +55529,8 @@ var init_v2evalrunsmonitorop = __esm(() => {
|
|
|
55529
55529
|
]).describe("Reduced activity or the full sanitized durable trace.");
|
|
55530
55530
|
V2EvalRunsMonitorRequest$zodSchema = object({
|
|
55531
55531
|
after_id: int().default(0).describe("Durable child-event cursor used when reconnecting."),
|
|
55532
|
-
all: boolean2().default(false).describe("Capture all currently active public v2 eval runs."),
|
|
55533
55532
|
detail: Detail$zodSchema.default("summary").describe("Reduced activity or the full sanitized durable trace."),
|
|
55534
|
-
run_id: string2().describe("Parent run ID returned by `POST /v2/eval-runs`.").optional()
|
|
55533
|
+
run_id: string2().describe("Parent run ID returned by `POST /v2/eval-runs`. Omit to capture all currently active public v2 eval runs.").optional()
|
|
55535
55534
|
});
|
|
55536
55535
|
V2EvalRunsMonitorResponse$zodSchema = union([
|
|
55537
55536
|
string2().describe("A server-sent event stream of eval-run status and activity."),
|
|
@@ -55553,7 +55552,6 @@ async function $do11(client$, request, options) {
|
|
|
55553
55552
|
const path$ = pathToFunc("/v2/eval-runs/monitor")();
|
|
55554
55553
|
const query$ = encodeFormQuery({
|
|
55555
55554
|
after_id: payload$?.after_id,
|
|
55556
|
-
all: payload$?.all,
|
|
55557
55555
|
detail: payload$?.detail,
|
|
55558
55556
|
run_id: payload$?.run_id
|
|
55559
55557
|
});
|
|
@@ -55631,7 +55629,7 @@ var init_evalsMonitor2 = __esm(() => {
|
|
|
55631
55629
|
name: "evals-monitor",
|
|
55632
55630
|
description: `Monitor Runs
|
|
55633
55631
|
|
|
55634
|
-
Streams an immediate snapshot followed by live status and sanitized activity
|
|
55632
|
+
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.`,
|
|
55635
55633
|
annotations: {
|
|
55636
55634
|
title: "",
|
|
55637
55635
|
destructiveHint: false,
|
|
@@ -55658,15 +55656,15 @@ var CreateV2EvalRunRequest$zodSchema;
|
|
|
55658
55656
|
var init_createv2evalrunrequest = __esm(() => {
|
|
55659
55657
|
init_zod();
|
|
55660
55658
|
CreateV2EvalRunRequest$zodSchema = object({
|
|
55661
|
-
agent_id: string2().describe("Runnable agent ID from `GET /v2/agents`."),
|
|
55662
|
-
configuration_id: string2().optional().describe("Saved runtime configuration
|
|
55663
|
-
env: record(string2(), string2()).optional().describe("Write-only environment variables
|
|
55664
|
-
eval_id: string2().optional().describe("Existing eval definition to run. Omit to create
|
|
55665
|
-
judges: array(string2()).optional().describe("
|
|
55666
|
-
prompt: string2().optional().describe("Task prompt
|
|
55667
|
-
repository: string2().optional().describe("
|
|
55668
|
-
skills: array(string2()).optional().describe("
|
|
55669
|
-
});
|
|
55659
|
+
agent_id: string2().describe("Required in both request forms. Runnable agent ID from `GET /v2/agents`."),
|
|
55660
|
+
configuration_id: string2().optional().describe("Saved-run form only. Saved runtime configuration; required when `eval_id` is provided."),
|
|
55661
|
+
env: record(string2(), string2()).optional().describe("Direct create-and-run form only. Write-only environment variables; values are stored only in the queued job's private configuration."),
|
|
55662
|
+
eval_id: string2().optional().describe("Saved-run form only. Existing eval definition to run. Omit this field to use the direct create-and-run form."),
|
|
55663
|
+
judges: array(string2()).optional().describe("Direct create-and-run form only. Provide at least one success criterion. CLI clients may expose this string array as a repeatable `--judge` flag."),
|
|
55664
|
+
prompt: string2().optional().describe("Direct create-and-run form only. Task prompt; required when `eval_id` is omitted."),
|
|
55665
|
+
repository: string2().optional().describe("Direct create-and-run form only. A saved repository ID, built-in alias such as `nextjs-starter`, or a public GitHub HTTPS URL."),
|
|
55666
|
+
skills: array(string2()).optional().describe("Additional public skill packages to install before the agent starts in either request form, using GitHub `owner/repository` references such as `resend/resend-skills`. CLI clients may expose this string array as a repeatable `--skill` flag.")
|
|
55667
|
+
}).describe("Start an eval run using one of two flat request forms. Saved runs require `eval_id`, `configuration_id`, and `agent_id`. Direct create-and-run requests require `prompt`, at least one item in `judges`, and `agent_id`. Do not combine saved-run and direct-run fields; no separate mode field is required.");
|
|
55670
55668
|
});
|
|
55671
55669
|
|
|
55672
55670
|
// src/funcs/evalsRun.ts
|
|
@@ -55753,9 +55751,16 @@ var init_evalsRun2 = __esm(() => {
|
|
|
55753
55751
|
};
|
|
55754
55752
|
tool$evalsRun = {
|
|
55755
55753
|
name: "evals-run",
|
|
55756
|
-
description: `
|
|
55754
|
+
description: `Start an eval run
|
|
55755
|
+
|
|
55756
|
+
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.
|
|
55757
|
+
|
|
55758
|
+
Send one of these flat request forms:
|
|
55757
55759
|
|
|
55758
|
-
|
|
55760
|
+
- **Saved eval:** provide \`eval_id\`, \`configuration_id\`, and \`agent_id\`.
|
|
55761
|
+
- **Direct create-and-run:** provide \`prompt\`, \`judges\`, and \`agent_id\`. You may also provide a repository, write-only environment variables, and public skill packages.
|
|
55762
|
+
|
|
55763
|
+
Do not combine saved-run and direct-run fields. No separate \`mode\` field is required.`,
|
|
55759
55764
|
annotations: {
|
|
55760
55765
|
title: "",
|
|
55761
55766
|
destructiveHint: false,
|
|
@@ -59408,9 +59413,13 @@ Adds a reusable Git repository workspace for eval configurations.`,
|
|
|
59408
59413
|
});
|
|
59409
59414
|
|
|
59410
59415
|
// src/models/v2repository.ts
|
|
59411
|
-
var V2RepositoryFramework$zodSchema, V2Repository$zodSchema;
|
|
59416
|
+
var Kind$zodSchema, V2RepositoryFramework$zodSchema, V2Repository$zodSchema;
|
|
59412
59417
|
var init_v2repository = __esm(() => {
|
|
59413
59418
|
init_zod();
|
|
59419
|
+
Kind$zodSchema = _enum([
|
|
59420
|
+
"template",
|
|
59421
|
+
"saved"
|
|
59422
|
+
]).describe("Whether the repository is a read-only built-in template or an organization-owned saved repository.");
|
|
59414
59423
|
V2RepositoryFramework$zodSchema = _enum([
|
|
59415
59424
|
"fastify",
|
|
59416
59425
|
"nuxt",
|
|
@@ -59427,8 +59436,9 @@ var init_v2repository = __esm(() => {
|
|
|
59427
59436
|
created_at: string2().nullable().optional(),
|
|
59428
59437
|
enabled: boolean2(),
|
|
59429
59438
|
framework: V2RepositoryFramework$zodSchema.default("custom"),
|
|
59430
|
-
id: string2(),
|
|
59439
|
+
id: string2().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."),
|
|
59431
59440
|
install_steps: array(string2()).optional(),
|
|
59441
|
+
kind: Kind$zodSchema.describe("Whether the repository is a read-only built-in template or an organization-owned saved repository."),
|
|
59432
59442
|
name: string2(),
|
|
59433
59443
|
ref: string2(),
|
|
59434
59444
|
repo_url: string2(),
|
|
@@ -59636,7 +59646,7 @@ var init_repositoriesV2RepositoriesList2 = __esm(() => {
|
|
|
59636
59646
|
name: "repositories-v2-repositories-list",
|
|
59637
59647
|
description: `List Repositories
|
|
59638
59648
|
|
|
59639
|
-
Returns Git repositories
|
|
59649
|
+
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.`,
|
|
59640
59650
|
annotations: {
|
|
59641
59651
|
title: "",
|
|
59642
59652
|
destructiveHint: false,
|
|
@@ -61813,7 +61823,7 @@ function createMCPServer(deps) {
|
|
|
61813
61823
|
sizes: ["any"]
|
|
61814
61824
|
}],
|
|
61815
61825
|
name: "LightsageMcp",
|
|
61816
|
-
version: "0.2.
|
|
61826
|
+
version: "0.2.2"
|
|
61817
61827
|
});
|
|
61818
61828
|
const getClient = deps.getSDK || (() => new LightsageMcpCore({
|
|
61819
61829
|
security: deps.security,
|
|
@@ -62166,11 +62176,11 @@ Permanently deletes an eval configuration and returns its last saved state.`
|
|
|
62166
62176
|
},
|
|
62167
62177
|
{
|
|
62168
62178
|
name: "evals-run",
|
|
62169
|
-
description: "
|
|
62179
|
+
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."
|
|
62170
62180
|
},
|
|
62171
62181
|
{
|
|
62172
62182
|
name: "evals-monitor",
|
|
62173
|
-
description: "Monitor Runs\n\nStreams an immediate snapshot followed by live status and sanitized activity
|
|
62183
|
+
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."
|
|
62174
62184
|
},
|
|
62175
62185
|
{
|
|
62176
62186
|
name: "eval-runs-v2-eval-runs-list",
|
|
@@ -62202,9 +62212,7 @@ Returns all runnable harness-and-model combinations as single agent IDs for use
|
|
|
62202
62212
|
},
|
|
62203
62213
|
{
|
|
62204
62214
|
name: "repositories-v2-repositories-list",
|
|
62205
|
-
description:
|
|
62206
|
-
|
|
62207
|
-
Returns Git repositories available as reusable workspaces for eval configurations.`
|
|
62215
|
+
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."
|
|
62208
62216
|
},
|
|
62209
62217
|
{
|
|
62210
62218
|
name: "repositories-v2-repositories-create",
|
|
@@ -63160,7 +63168,7 @@ http_headers = { "lightsage-api-key-auth" = "YOUR_LIGHTSAGE_API_KEY_AUTH" }`;
|
|
|
63160
63168
|
<h1>Instructions</h1>
|
|
63161
63169
|
<p>One-click installation for Claude Desktop users</p>
|
|
63162
63170
|
<div class="instruction-item">
|
|
63163
|
-
<a href="https://github.com/lightsagehq/mcp/releases/download/v0.2.
|
|
63171
|
+
<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;">
|
|
63164
63172
|
\uD83D\uDCE5 Download MCP Bundle
|
|
63165
63173
|
</a>
|
|
63166
63174
|
</div>
|
|
@@ -66038,7 +66046,7 @@ var routes = buildRouteMap({
|
|
|
66038
66046
|
var app = buildApplication(routes, {
|
|
66039
66047
|
name: "mcp",
|
|
66040
66048
|
versionInfo: {
|
|
66041
|
-
currentVersion: "0.2.
|
|
66049
|
+
currentVersion: "0.2.2"
|
|
66042
66050
|
}
|
|
66043
66051
|
});
|
|
66044
66052
|
run(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -66046,5 +66054,5 @@ export {
|
|
|
66046
66054
|
app
|
|
66047
66055
|
};
|
|
66048
66056
|
|
|
66049
|
-
//# debugId=
|
|
66057
|
+
//# debugId=CEBC041B1CA6530D64756E2164756E21
|
|
66050
66058
|
//# sourceMappingURL=mcp-server.js.map
|