@lightsage/mcp 0.4.20 → 0.4.21

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.
@@ -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.4.20/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
919
+ <a href="https://github.com/lightsagehq/mcp/releases/download/v0.4.21/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>
@@ -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.4.20";
38
+ readonly sdkVersion: "0.4.21";
39
39
  readonly genVersion: "2.948.4";
40
- readonly userAgent: "speakeasy-sdk/mcp-typescript 0.4.20 2.948.4 1.0.0 @lightsage/mcp";
40
+ readonly userAgent: "speakeasy-sdk/mcp-typescript 0.4.21 2.948.4 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.4.20",
31
+ sdkVersion: "0.4.21",
32
32
  genVersion: "2.948.4",
33
- userAgent: "speakeasy-sdk/mcp-typescript 0.4.20 2.948.4 1.0.0 @lightsage/mcp",
33
+ userAgent: "speakeasy-sdk/mcp-typescript 0.4.21 2.948.4 1.0.0 @lightsage/mcp",
34
34
  };
35
35
  //# sourceMappingURL=config.js.map
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "0.4.20",
22
+ currentVersion: "0.4.21",
23
23
  },
24
24
  });
25
25
  run(app, process.argv.slice(2), buildContext(process));
@@ -92,7 +92,7 @@ export function createMCPServer(deps) {
92
92
  sizes: ["any"],
93
93
  }],
94
94
  name: "LightsageMcp",
95
- version: "0.4.20",
95
+ version: "0.4.21",
96
96
  });
97
97
  const getClient = deps.getSDK || (() => new LightsageMcpCore({
98
98
  security: deps.security,
@@ -12,6 +12,7 @@ export type V2EvalRunTraceEvent = {
12
12
  timestamp?: string | null | undefined;
13
13
  category: string;
14
14
  type: string;
15
+ tool_call_id?: string | null | undefined;
15
16
  message: string;
16
17
  data?: {
17
18
  [k: string]: any;
@@ -1 +1 @@
1
- {"version":3,"file":"v2evalruntraceevent.d.ts","sourceRoot":"","sources":["../../src/models/v2evalruntraceevent.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;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C,CAAC,OAAO,CAAC,mBAAmB,CAyBrE,CAAC"}
@@ -18,6 +18,7 @@ export const V2EvalRunTraceEvent$zodSchema = z
18
18
  repeat_index: z.int().default(0),
19
19
  run_id: z.string(),
20
20
  timestamp: z.string().nullable().optional(),
21
- type: z.string().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."),
21
+ tool_call_id: z.string().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."),
22
+ type: z.string().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."),
22
23
  });
23
24
  //# sourceMappingURL=v2evalruntraceevent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"v2evalruntraceevent.js","sourceRoot":"","sources":["../../src/models/v2evalruntraceevent.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAmBzB,MAAM,CAAC,MAAM,6BAA6B,GAAmC,CAAC;KAC3E,MAAM,CAAC;IACN,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACvC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAC/B,kDAAkD,CACnD;IACD,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAClD,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,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AAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACrD,0BAA0B,CAC3B;IACD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACzC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC3C,QAAQ,EAAE,CAAC,CAAC,GAAG,EAAE;IACjB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,YAAY,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAChC,YAAY,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAChC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC3C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACrD,yWAAyW,CAC1W;IACD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CACvB,sQAAsQ,CACvQ;CACF,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightsage/mcp",
3
- "version": "0.4.20",
3
+ "version": "0.4.21",
4
4
  "author": "Speakeasy",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -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.4.20/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
934
+ <a href="https://github.com/lightsagehq/mcp/releases/download/v0.4.21/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.4.20",
69
+ sdkVersion: "0.4.21",
70
70
  genVersion: "2.948.4",
71
- userAgent: "speakeasy-sdk/mcp-typescript 0.4.20 2.948.4 1.0.0 @lightsage/mcp",
71
+ userAgent: "speakeasy-sdk/mcp-typescript 0.4.21 2.948.4 1.0.0 @lightsage/mcp",
72
72
  } as const;
@@ -22,7 +22,7 @@ const routes = buildRouteMap({
22
22
  export const app = buildApplication(routes, {
23
23
  name: "mcp",
24
24
  versionInfo: {
25
- currentVersion: "0.4.20",
25
+ currentVersion: "0.4.21",
26
26
  },
27
27
  });
28
28
 
@@ -114,7 +114,7 @@ export function createMCPServer(deps: {
114
114
  sizes: ["any"],
115
115
  }],
116
116
  name: "LightsageMcp",
117
- version: "0.4.20",
117
+ version: "0.4.21",
118
118
  });
119
119
 
120
120
  const getClient = deps.getSDK || (() =>
@@ -18,6 +18,7 @@ export type V2EvalRunTraceEvent = {
18
18
  timestamp?: string | null | undefined;
19
19
  category: string;
20
20
  type: string;
21
+ tool_call_id?: string | null | undefined;
21
22
  message: string;
22
23
  data?: { [k: string]: any } | undefined;
23
24
  };
@@ -41,7 +42,10 @@ export const V2EvalRunTraceEvent$zodSchema: z.ZodType<V2EvalRunTraceEvent> = z
41
42
  repeat_index: z.int().default(0),
42
43
  run_id: z.string(),
43
44
  timestamp: z.string().nullable().optional(),
45
+ tool_call_id: z.string().nullable().optional().describe(
46
+ "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.",
47
+ ),
44
48
  type: z.string().describe(
45
- "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.",
49
+ "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.",
46
50
  ),
47
51
  });