@lightsage/mcp 0.2.1 → 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 +28 -23
- package/bin/mcp-server.js.map +13 -13
- 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/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/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/v2taskslistop.d.ts +1 -1
- package/esm/tool-names.js +2 -2
- 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/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/models/createv2evalrunrequest.ts +16 -9
- package/src/models/v2evalrunsmonitorop.ts +3 -6
- package/src/tool-names.ts +2 -2
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:
|
|
55759
|
+
|
|
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.
|
|
55757
55762
|
|
|
55758
|
-
|
|
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,
|
|
@@ -61818,7 +61823,7 @@ function createMCPServer(deps) {
|
|
|
61818
61823
|
sizes: ["any"]
|
|
61819
61824
|
}],
|
|
61820
61825
|
name: "LightsageMcp",
|
|
61821
|
-
version: "0.2.
|
|
61826
|
+
version: "0.2.2"
|
|
61822
61827
|
});
|
|
61823
61828
|
const getClient = deps.getSDK || (() => new LightsageMcpCore({
|
|
61824
61829
|
security: deps.security,
|
|
@@ -62171,11 +62176,11 @@ Permanently deletes an eval configuration and returns its last saved state.`
|
|
|
62171
62176
|
},
|
|
62172
62177
|
{
|
|
62173
62178
|
name: "evals-run",
|
|
62174
|
-
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."
|
|
62175
62180
|
},
|
|
62176
62181
|
{
|
|
62177
62182
|
name: "evals-monitor",
|
|
62178
|
-
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."
|
|
62179
62184
|
},
|
|
62180
62185
|
{
|
|
62181
62186
|
name: "eval-runs-v2-eval-runs-list",
|
|
@@ -63163,7 +63168,7 @@ http_headers = { "lightsage-api-key-auth" = "YOUR_LIGHTSAGE_API_KEY_AUTH" }`;
|
|
|
63163
63168
|
<h1>Instructions</h1>
|
|
63164
63169
|
<p>One-click installation for Claude Desktop users</p>
|
|
63165
63170
|
<div class="instruction-item">
|
|
63166
|
-
<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;">
|
|
63167
63172
|
\uD83D\uDCE5 Download MCP Bundle
|
|
63168
63173
|
</a>
|
|
63169
63174
|
</div>
|
|
@@ -66041,7 +66046,7 @@ var routes = buildRouteMap({
|
|
|
66041
66046
|
var app = buildApplication(routes, {
|
|
66042
66047
|
name: "mcp",
|
|
66043
66048
|
versionInfo: {
|
|
66044
|
-
currentVersion: "0.2.
|
|
66049
|
+
currentVersion: "0.2.2"
|
|
66045
66050
|
}
|
|
66046
66051
|
});
|
|
66047
66052
|
run(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -66049,5 +66054,5 @@ export {
|
|
|
66049
66054
|
app
|
|
66050
66055
|
};
|
|
66051
66056
|
|
|
66052
|
-
//# debugId=
|
|
66057
|
+
//# debugId=CEBC041B1CA6530D64756E2164756E21
|
|
66053
66058
|
//# sourceMappingURL=mcp-server.js.map
|