@lightsage/mcp 0.4.22 → 0.4.23
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 +11 -11
- package/bin/mcp-server.js.map +7 -7
- 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/models/v2evalresulttoolcall.d.ts +8 -8
- package/esm/models/v2evalresulttoolcall.js +9 -9
- package/esm/models/v2evalresulttoolcall.js.map +1 -1
- package/package.json +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/models/v2evalresulttoolcall.ts +10 -10
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.4.
|
|
919
|
+
<a href="https://github.com/lightsagehq/mcp/releases/download/v0.4.23/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.4.
|
|
38
|
+
readonly sdkVersion: "0.4.23";
|
|
39
39
|
readonly genVersion: "2.948.4";
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/mcp-typescript 0.4.
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/mcp-typescript 0.4.23 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.
|
|
31
|
+
sdkVersion: "0.4.23",
|
|
32
32
|
genVersion: "2.948.4",
|
|
33
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.4.
|
|
33
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.4.23 2.948.4 1.0.0 @lightsage/mcp",
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=config.js.map
|
package/esm/mcp-server/server.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { ClosedEnum } from "../types/enums.js";
|
|
3
3
|
/**
|
|
4
|
-
* How the time was measured. `
|
|
4
|
+
* How the time was measured. `timed_by_agent`: the agent timed the call itself; `completed_at` is when its result reached us and `started_at` is that duration earlier. `timed_from_messages`: the time between the agent's call message and its result message reaching us, so it includes message delay and runs slightly long. `not_timed`: there is no reliable time for this call, for example because the agent reported the call only after it finished, so the times are null.
|
|
5
5
|
*/
|
|
6
6
|
export declare const TimingBasis: {
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
9
|
-
readonly
|
|
7
|
+
readonly TimedByAgent: "timed_by_agent";
|
|
8
|
+
readonly TimedFromMessages: "timed_from_messages";
|
|
9
|
+
readonly NotTimed: "not_timed";
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
|
-
* How the time was measured. `
|
|
12
|
+
* How the time was measured. `timed_by_agent`: the agent timed the call itself; `completed_at` is when its result reached us and `started_at` is that duration earlier. `timed_from_messages`: the time between the agent's call message and its result message reaching us, so it includes message delay and runs slightly long. `not_timed`: there is no reliable time for this call, for example because the agent reported the call only after it finished, so the times are null.
|
|
13
13
|
*/
|
|
14
14
|
export type TimingBasis = ClosedEnum<typeof TimingBasis>;
|
|
15
15
|
export declare const TimingBasis$zodSchema: z.ZodEnum<{
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
timed_by_agent: "timed_by_agent";
|
|
17
|
+
timed_from_messages: "timed_from_messages";
|
|
18
|
+
not_timed: "not_timed";
|
|
19
19
|
}>;
|
|
20
20
|
/**
|
|
21
21
|
* How long one tool call of an eval result took.
|
|
@@ -4,24 +4,24 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
/**
|
|
7
|
-
* How the time was measured. `
|
|
7
|
+
* How the time was measured. `timed_by_agent`: the agent timed the call itself; `completed_at` is when its result reached us and `started_at` is that duration earlier. `timed_from_messages`: the time between the agent's call message and its result message reaching us, so it includes message delay and runs slightly long. `not_timed`: there is no reliable time for this call, for example because the agent reported the call only after it finished, so the times are null.
|
|
8
8
|
*/
|
|
9
9
|
export const TimingBasis = {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
TimedByAgent: "timed_by_agent",
|
|
11
|
+
TimedFromMessages: "timed_from_messages",
|
|
12
|
+
NotTimed: "not_timed",
|
|
13
13
|
};
|
|
14
14
|
export const TimingBasis$zodSchema = z.enum([
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
]).describe("How the time was measured. `
|
|
15
|
+
"timed_by_agent",
|
|
16
|
+
"timed_from_messages",
|
|
17
|
+
"not_timed",
|
|
18
|
+
]).describe("How the time was measured. `timed_by_agent`: the agent timed the call itself; `completed_at` is when its result reached us and `started_at` is that duration earlier. `timed_from_messages`: the time between the agent's call message and its result message reaching us, so it includes message delay and runs slightly long. `not_timed`: there is no reliable time for this call, for example because the agent reported the call only after it finished, so the times are null.");
|
|
19
19
|
export const V2EvalResultToolCall$zodSchema = z
|
|
20
20
|
.object({
|
|
21
21
|
completed_at: z.string().nullable().optional().describe("When the call's result was received. Null when not measured or the call never returned."),
|
|
22
22
|
duration_ms: z.int().nullable().optional().describe("Milliseconds from the call to its result. Null when it could not be measured, never 0 in its place."),
|
|
23
23
|
started_at: z.string().nullable().optional().describe("When the call was received. Null when not measured."),
|
|
24
|
-
timing_basis: TimingBasis$zodSchema.describe("How the time was measured. `
|
|
24
|
+
timing_basis: TimingBasis$zodSchema.describe("How the time was measured. `timed_by_agent`: the agent timed the call itself; `completed_at` is when its result reached us and `started_at` is that duration earlier. `timed_from_messages`: the time between the agent's call message and its result message reaching us, so it includes message delay and runs slightly long. `not_timed`: there is no reliable time for this call, for example because the agent reported the call only after it finished, so the times are null."),
|
|
25
25
|
tool_call_id: z.string().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."),
|
|
26
26
|
tool_name: z.string().nullable().optional().describe("Tool the agent called."),
|
|
27
27
|
}).describe("How long one tool call of an eval result took.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2evalresulttoolcall.js","sourceRoot":"","sources":["../../src/models/v2evalresulttoolcall.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,
|
|
1
|
+
{"version":3,"file":"v2evalresulttoolcall.js","sourceRoot":"","sources":["../../src/models/v2evalresulttoolcall.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,YAAY,EAAE,gBAAgB;IAC9B,iBAAiB,EAAE,qBAAqB;IACxC,QAAQ,EAAE,WAAW;CACb,CAAC;AAMX,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC1C,gBAAgB;IAChB,qBAAqB;IACrB,WAAW;CACZ,CAAC,CAAC,QAAQ,CACT,sdAAsd,CACvd,CAAC;AAcF,MAAM,CAAC,MAAM,8BAA8B,GAAoC,CAAC;KAC7E,MAAM,CAAC;IACN,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACrD,yFAAyF,CAC1F;IACD,WAAW,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACjD,qGAAqG,CACtG;IACD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACnD,qDAAqD,CACtD;IACD,YAAY,EAAE,qBAAqB,CAAC,QAAQ,CAC1C,sdAAsd,CACvd;IACD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACrD,2IAA2I,CAC5I;IACD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAClD,wBAAwB,CACzB;CACF,CAAC,CAAC,QAAQ,CAAC,gDAAgD,CAAC,CAAC"}
|
package/package.json
CHANGED
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.4.
|
|
934
|
+
<a href="https://github.com/lightsagehq/mcp/releases/download/v0.4.23/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.
|
|
69
|
+
sdkVersion: "0.4.23",
|
|
70
70
|
genVersion: "2.948.4",
|
|
71
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.4.
|
|
71
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.4.23 2.948.4 1.0.0 @lightsage/mcp",
|
|
72
72
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -7,24 +7,24 @@ import * as z from "zod";
|
|
|
7
7
|
import { ClosedEnum } from "../types/enums.js";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* How the time was measured. `
|
|
10
|
+
* How the time was measured. `timed_by_agent`: the agent timed the call itself; `completed_at` is when its result reached us and `started_at` is that duration earlier. `timed_from_messages`: the time between the agent's call message and its result message reaching us, so it includes message delay and runs slightly long. `not_timed`: there is no reliable time for this call, for example because the agent reported the call only after it finished, so the times are null.
|
|
11
11
|
*/
|
|
12
12
|
export const TimingBasis = {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
TimedByAgent: "timed_by_agent",
|
|
14
|
+
TimedFromMessages: "timed_from_messages",
|
|
15
|
+
NotTimed: "not_timed",
|
|
16
16
|
} as const;
|
|
17
17
|
/**
|
|
18
|
-
* How the time was measured. `
|
|
18
|
+
* How the time was measured. `timed_by_agent`: the agent timed the call itself; `completed_at` is when its result reached us and `started_at` is that duration earlier. `timed_from_messages`: the time between the agent's call message and its result message reaching us, so it includes message delay and runs slightly long. `not_timed`: there is no reliable time for this call, for example because the agent reported the call only after it finished, so the times are null.
|
|
19
19
|
*/
|
|
20
20
|
export type TimingBasis = ClosedEnum<typeof TimingBasis>;
|
|
21
21
|
|
|
22
22
|
export const TimingBasis$zodSchema = z.enum([
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
23
|
+
"timed_by_agent",
|
|
24
|
+
"timed_from_messages",
|
|
25
|
+
"not_timed",
|
|
26
26
|
]).describe(
|
|
27
|
-
"How the time was measured. `
|
|
27
|
+
"How the time was measured. `timed_by_agent`: the agent timed the call itself; `completed_at` is when its result reached us and `started_at` is that duration earlier. `timed_from_messages`: the time between the agent's call message and its result message reaching us, so it includes message delay and runs slightly long. `not_timed`: there is no reliable time for this call, for example because the agent reported the call only after it finished, so the times are null.",
|
|
28
28
|
);
|
|
29
29
|
|
|
30
30
|
/**
|
|
@@ -51,7 +51,7 @@ export const V2EvalResultToolCall$zodSchema: z.ZodType<V2EvalResultToolCall> = z
|
|
|
51
51
|
"When the call was received. Null when not measured.",
|
|
52
52
|
),
|
|
53
53
|
timing_basis: TimingBasis$zodSchema.describe(
|
|
54
|
-
"How the time was measured. `
|
|
54
|
+
"How the time was measured. `timed_by_agent`: the agent timed the call itself; `completed_at` is when its result reached us and `started_at` is that duration earlier. `timed_from_messages`: the time between the agent's call message and its result message reaching us, so it includes message delay and runs slightly long. `not_timed`: there is no reliable time for this call, for example because the agent reported the call only after it finished, so the times are null.",
|
|
55
55
|
),
|
|
56
56
|
tool_call_id: z.string().nullable().optional().describe(
|
|
57
57
|
"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.",
|