@lightsage/mcp 0.4.20 → 0.4.22

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 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.4.20/mcp-server.mcpb) file:
36
+ Install the MCP server as a Desktop Extension using the pre-built [`mcp-server.mcpb`](https://github.com/lightsagehq/mcp/releases/download/v0.4.22/mcp-server.mcpb) file:
37
37
 
38
- Simply drag and drop the [`mcp-server.mcpb`](https://github.com/lightsagehq/mcp/releases/download/v0.4.20/mcp-server.mcpb) file onto Claude Desktop to install the extension.
38
+ Simply drag and drop the [`mcp-server.mcpb`](https://github.com/lightsagehq/mcp/releases/download/v0.4.22/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
@@ -53747,9 +53747,9 @@ var init_config = __esm(() => {
53747
53747
  SDK_METADATA = {
53748
53748
  language: "typescript",
53749
53749
  openapiDocVersion: "1.0.0",
53750
- sdkVersion: "0.4.20",
53750
+ sdkVersion: "0.4.22",
53751
53751
  genVersion: "2.948.4",
53752
- userAgent: "speakeasy-sdk/mcp-typescript 0.4.20 2.948.4 1.0.0 @lightsage/mcp"
53752
+ userAgent: "speakeasy-sdk/mcp-typescript 0.4.22 2.948.4 1.0.0 @lightsage/mcp"
53753
53753
  };
53754
53754
  });
53755
53755
 
@@ -59282,6 +59282,25 @@ var init_publicgraderresult = __esm(() => {
59282
59282
  });
59283
59283
  });
59284
59284
 
59285
+ // src/models/v2evalresulttoolcall.ts
59286
+ var TimingBasis$zodSchema, V2EvalResultToolCall$zodSchema;
59287
+ var init_v2evalresulttoolcall = __esm(() => {
59288
+ init_zod();
59289
+ TimingBasis$zodSchema = _enum([
59290
+ "agent_reported",
59291
+ "event_receipt",
59292
+ "unavailable"
59293
+ ]).describe("How the time was measured. `agent_reported`: the agent timed the call itself; `completed_at` is when its result reached us and `started_at` is that duration earlier. `event_receipt`: when the call and its result reached us as the agent streamed them, so times include streaming delay. `unavailable`: the agent's log has no timing for this call, for example because the agent reported the call only after it finished, so the times are null.");
59294
+ V2EvalResultToolCall$zodSchema = object({
59295
+ completed_at: string2().nullable().optional().describe("When the call's result was received. Null when not measured or the call never returned."),
59296
+ duration_ms: int().nullable().optional().describe("Milliseconds from the call to its result. Null when it could not be measured, never 0 in its place."),
59297
+ started_at: string2().nullable().optional().describe("When the call was received. Null when not measured."),
59298
+ timing_basis: TimingBasis$zodSchema.describe("How the time was measured. `agent_reported`: the agent timed the call itself; `completed_at` is when its result reached us and `started_at` is that duration earlier. `event_receipt`: when the call and its result reached us as the agent streamed them, so times include streaming delay. `unavailable`: the agent's log has no timing for this call, for example because the agent reported the call only after it finished, so the times are null."),
59299
+ tool_call_id: string2().nullable().optional().describe("ID of the tool invocation, the same as `tool_call_id` on this attempt's trace events. Null when the agent's log did not include call IDs."),
59300
+ tool_name: string2().nullable().optional().describe("Tool the agent called.")
59301
+ }).describe("How long one tool call of an eval result took.");
59302
+ });
59303
+
59285
59304
  // src/models/v2evalresultsummary.ts
59286
59305
  var V2EvalResultSummary$zodSchema;
59287
59306
  var init_v2evalresultsummary = __esm(() => {
@@ -59289,6 +59308,7 @@ var init_v2evalresultsummary = __esm(() => {
59289
59308
  init_publicevalrunenvironment();
59290
59309
  init_publicgraderresult();
59291
59310
  init_searchgroundingmode();
59311
+ init_v2evalresulttoolcall();
59292
59312
  init_v2preferenceresult();
59293
59313
  V2EvalResultSummary$zodSchema = object({
59294
59314
  agent: string2().nullable().optional().describe("Runnable agent combining the harness and model."),
@@ -59309,6 +59329,7 @@ var init_v2evalresultsummary = __esm(() => {
59309
59329
  score: number2().nullable().optional().describe("Score from 0 to 1."),
59310
59330
  search_grounding: SearchGroundingMode$zodSchema.nullable().optional(),
59311
59331
  search_observed: boolean2().nullable().optional(),
59332
+ tool_calls: array(V2EvalResultToolCall$zodSchema).optional().describe("Every tool call the agent made, in order, with how long each took. Empty when the agent made no tool calls or the model does not use tools."),
59312
59333
  web_retrieval_observed: boolean2().nullable().optional()
59313
59334
  });
59314
59335
  });
@@ -59892,7 +59913,8 @@ var init_v2evalruntraceevent = __esm(() => {
59892
59913
  repeat_index: int().default(0),
59893
59914
  run_id: string2(),
59894
59915
  timestamp: string2().nullable().optional(),
59895
- type: string2().describe("Event type. Events are not tool invocations: one invocation usually emits a `tool_call` event and a `tool_result` event, and can emit extra `tool_call` updates as its arguments stream. Count invocations with the result's `tool_calls`, not with trace events.")
59916
+ tool_call_id: string2().nullable().optional().describe("ID of the tool invocation this event belongs to. Set on `tool_call`, `tool_call_rejected` and `tool_result` events; a call and its result share the same ID, so replies can be matched to calls when the agent makes several at once. IDs are unique within one `child_job_id`. Null on other events, and on tool events when the agent's log did not include call IDs."),
59917
+ type: string2().describe("Event type. Events are not tool invocations: one invocation usually emits a `tool_call` event and a `tool_result` event, and can emit extra `tool_call` updates as its arguments stream. Use `tool_call_id` to pair a call with its result and to count invocations.")
59896
59918
  });
59897
59919
  });
59898
59920
 
@@ -67060,7 +67082,7 @@ function createMCPServer(deps) {
67060
67082
  sizes: ["any"]
67061
67083
  }],
67062
67084
  name: "LightsageMcp",
67063
- version: "0.4.20"
67085
+ version: "0.4.22"
67064
67086
  });
67065
67087
  const getClient = deps.getSDK || (() => new LightsageMcpCore({
67066
67088
  security: deps.security,
@@ -68555,7 +68577,7 @@ http_headers = { "lightsage-api-key-auth" = "YOUR_LIGHTSAGE_API_KEY_AUTH" }`;
68555
68577
  <h1>Instructions</h1>
68556
68578
  <p>One-click installation for Claude Desktop users</p>
68557
68579
  <div class="instruction-item">
68558
- <a href="https://github.com/lightsagehq/mcp/releases/download/v0.4.20/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
68580
+ <a href="https://github.com/lightsagehq/mcp/releases/download/v0.4.22/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
68559
68581
  \uD83D\uDCE5 Download MCP Bundle
68560
68582
  </a>
68561
68583
  </div>
@@ -71455,7 +71477,7 @@ var routes = buildRouteMap({
71455
71477
  var app = buildApplication(routes, {
71456
71478
  name: "mcp",
71457
71479
  versionInfo: {
71458
- currentVersion: "0.4.20"
71480
+ currentVersion: "0.4.22"
71459
71481
  }
71460
71482
  });
71461
71483
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -71463,5 +71485,5 @@ export {
71463
71485
  app
71464
71486
  };
71465
71487
 
71466
- //# debugId=D2DE954636D1AFD064756E2164756E21
71488
+ //# debugId=6CCB7F6FE3BD14A364756E2164756E21
71467
71489
  //# sourceMappingURL=mcp-server.js.map