@lightsage/mcp 0.2.0 → 0.2.1

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.
@@ -9,7 +9,7 @@ import { Result } from "../types/fp.js";
9
9
  * List Repositories
10
10
  *
11
11
  * @remarks
12
- * Returns Git repositories available as reusable workspaces for eval configurations.
12
+ * 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.
13
13
  */
14
14
  export declare function repositoriesV2RepositoriesList(client$: LightsageMcpCore, options?: RequestOptions): APIPromise<Result<Response, APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
15
15
  //# sourceMappingURL=repositoriesV2RepositoriesList.d.ts.map
@@ -10,7 +10,7 @@ import { APIPromise } from "../types/async.js";
10
10
  * List Repositories
11
11
  *
12
12
  * @remarks
13
- * Returns Git repositories available as reusable workspaces for eval configurations.
13
+ * 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.
14
14
  */
15
15
  export function repositoriesV2RepositoriesList(client$, options) {
16
16
  return new APIPromise($do(client$, options));
@@ -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.2.0/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.2.1/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.2.0";
38
+ readonly sdkVersion: "0.2.1";
39
39
  readonly genVersion: "2.935.1";
40
- readonly userAgent: "speakeasy-sdk/mcp-typescript 0.2.0 2.935.1 1.0.0 @lightsage/mcp";
40
+ readonly userAgent: "speakeasy-sdk/mcp-typescript 0.2.1 2.935.1 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.2.0",
31
+ sdkVersion: "0.2.1",
32
32
  genVersion: "2.935.1",
33
- userAgent: "speakeasy-sdk/mcp-typescript 0.2.0 2.935.1 1.0.0 @lightsage/mcp",
33
+ userAgent: "speakeasy-sdk/mcp-typescript 0.2.1 2.935.1 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.2.0",
22
+ currentVersion: "0.2.1",
23
23
  },
24
24
  });
25
25
  run(app, process.argv.slice(2), buildContext(process));
@@ -69,7 +69,7 @@ export function createMCPServer(deps) {
69
69
  sizes: ["any"],
70
70
  }],
71
71
  name: "LightsageMcp",
72
- version: "0.2.0",
72
+ version: "0.2.1",
73
73
  });
74
74
  const getClient = deps.getSDK || (() => new LightsageMcpCore({
75
75
  security: deps.security,
@@ -8,7 +8,7 @@ export const tool$repositoriesV2RepositoriesList = {
8
8
  name: "repositories-v2-repositories-list",
9
9
  description: `List Repositories
10
10
 
11
- Returns Git repositories available as reusable workspaces for eval configurations.`,
11
+ 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.`,
12
12
  annotations: {
13
13
  "title": "",
14
14
  "destructiveHint": false,
@@ -1 +1 @@
1
- {"version":3,"file":"repositoriesV2RepositoriesList.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/repositoriesV2RepositoriesList.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,CAAC,MAAM,mCAAmC,GAAmB;IACjE,IAAI,EAAE,mCAAmC;IACzC,WAAW,EAAE;;mFAEoE;IACjF,WAAW,EAAE;QACX,OAAO,EAAE,EAAE;QACX,iBAAiB,EAAE,KAAK;QACxB,gBAAgB,EAAE,KAAK;QACvB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;KACrB;IACD,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE;QAC1B,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,8BAA8B,CACnD,MAAM,EACN,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,OAAO,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;CACF,CAAC"}
1
+ {"version":3,"file":"repositoriesV2RepositoriesList.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/repositoriesV2RepositoriesList.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,CAAC,MAAM,mCAAmC,GAAmB;IACjE,IAAI,EAAE,mCAAmC;IACzC,WAAW,EAAE;;2NAE4M;IACzN,WAAW,EAAE;QACX,OAAO,EAAE,EAAE;QACX,iBAAiB,EAAE,KAAK;QACxB,gBAAgB,EAAE,KAAK;QACvB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;KACrB;IACD,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,EAAE;QAC1B,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,8BAA8B,CACnD,MAAM,EACN,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,OAAO,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;CACF,CAAC"}
@@ -1,5 +1,20 @@
1
1
  import * as z from "zod";
2
2
  import { ClosedEnum } from "../types/enums.js";
3
+ /**
4
+ * Whether the repository is a read-only built-in template or an organization-owned saved repository.
5
+ */
6
+ export declare const Kind: {
7
+ readonly Template: "template";
8
+ readonly Saved: "saved";
9
+ };
10
+ /**
11
+ * Whether the repository is a read-only built-in template or an organization-owned saved repository.
12
+ */
13
+ export type Kind = ClosedEnum<typeof Kind>;
14
+ export declare const Kind$zodSchema: z.ZodEnum<{
15
+ template: "template";
16
+ saved: "saved";
17
+ }>;
3
18
  export declare const V2RepositoryFramework: {
4
19
  readonly Fastify: "fastify";
5
20
  readonly Nuxt: "nuxt";
@@ -27,6 +42,7 @@ export declare const V2RepositoryFramework$zodSchema: z.ZodEnum<{
27
42
  }>;
28
43
  export type V2Repository = {
29
44
  id: string;
45
+ kind: Kind;
30
46
  name: string;
31
47
  repo_url: string;
32
48
  ref: string;
@@ -1 +1 @@
1
- {"version":3,"file":"v2repository.d.ts","sourceRoot":"","sources":["../../src/models/v2repository.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,qBAAqB;;;;;;;;;;;CAWxB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE7E,eAAO,MAAM,+BAA+B;;;;;;;;;;;EAW1C,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAC1C,SAAS,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAC9C,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAWzD,CAAC"}
1
+ {"version":3,"file":"v2repository.d.ts","sourceRoot":"","sources":["../../src/models/v2repository.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,IAAI;;;CAGP,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC;AAE3C,eAAO,MAAM,cAAc;;;EAK1B,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;CAWxB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE7E,eAAO,MAAM,+BAA+B;;;;;;;;;;;EAW1C,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAC1C,SAAS,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAC9C,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAgBzD,CAAC"}
@@ -3,6 +3,17 @@
3
3
  * @generated-id: 3594ccd1b8bb
4
4
  */
5
5
  import * as z from "zod";
6
+ /**
7
+ * Whether the repository is a read-only built-in template or an organization-owned saved repository.
8
+ */
9
+ export const Kind = {
10
+ Template: "template",
11
+ Saved: "saved",
12
+ };
13
+ export const Kind$zodSchema = z.enum([
14
+ "template",
15
+ "saved",
16
+ ]).describe("Whether the repository is a read-only built-in template or an organization-owned saved repository.");
6
17
  export const V2RepositoryFramework = {
7
18
  Fastify: "fastify",
8
19
  Nuxt: "nuxt",
@@ -31,8 +42,9 @@ export const V2Repository$zodSchema = z.object({
31
42
  created_at: z.string().nullable().optional(),
32
43
  enabled: z.boolean(),
33
44
  framework: V2RepositoryFramework$zodSchema.default("custom"),
34
- id: z.string(),
45
+ id: z.string().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."),
35
46
  install_steps: z.array(z.string()).optional(),
47
+ kind: Kind$zodSchema.describe("Whether the repository is a read-only built-in template or an organization-owned saved repository."),
36
48
  name: z.string(),
37
49
  ref: z.string(),
38
50
  repo_url: z.string(),
@@ -1 +1 @@
1
- {"version":3,"file":"v2repository.js","sourceRoot":"","sources":["../../src/models/v2repository.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,QAAQ;IACf,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC;AAGX,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,IAAI,CAAC;IACpD,SAAS;IACT,MAAM;IACN,SAAS;IACT,QAAQ;IACR,SAAS;IACT,OAAO;IACP,SAAS;IACT,MAAM;IACN,QAAQ;IACR,QAAQ;CACT,CAAC,CAAC;AAeH,MAAM,CAAC,MAAM,sBAAsB,GAA4B,CAAC,CAAC,MAAM,CAAC;IACtE,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ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BAA+B,GAAG,CAAC,CAAC,IAAI,CAAC;IACpD,SAAS;IACT,MAAM;IACN,SAAS;IACT,QAAQ;IACR,SAAS;IACT,OAAO;IACP,SAAS;IACT,MAAM;IACN,QAAQ;IACR,QAAQ;CACT,CAAC,CAAC;AAgBH,MAAM,CAAC,MAAM,sBAAsB,GAA4B,CAAC,CAAC,MAAM,CAAC;IACtE,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC5C,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,SAAS,EAAE,+BAA+B,CAAC,OAAO,CAAC,QAAQ,CAAC;IAC5D,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CACrB,0JAA0J,CAC3J;IACD,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC7C,IAAI,EAAE,cAAc,CAAC,QAAQ,CAC3B,oGAAoG,CACrG;IACD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC9B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC"}
package/esm/tool-names.js CHANGED
@@ -178,7 +178,7 @@ export const toolNames = [
178
178
  },
179
179
  {
180
180
  "name": "repositories-v2-repositories-list",
181
- "description": "List Repositories\n\nReturns Git repositories available as reusable workspaces for eval configurations."
181
+ "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."
182
182
  },
183
183
  {
184
184
  "name": "repositories-v2-repositories-create",
@@ -1 +1 @@
1
- {"version":3,"file":"tool-names.js","sourceRoot":"","sources":["../src/tool-names.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,MAAM,CAAC,MAAM,SAAS,GAAgD;IACpE;QACE,MAAM,EAAE,sBAAsB;QAC9B,aAAa,EAAE,6GAA6G;KAC7H;IACD;QACE,MAAM,EAAE,2BAA2B;QACnC,aAAa,EAAE,0HAA0H;KAC1I;IACD;QACE,MAAM,EAAE,2CAA2C;QACnD,aAAa,EAAE,oOAAoO;KACpP;IACD;QACE,MAAM,EAAE,4CAA4C;QACpD,aAAa,EAAE,oKAAoK;KACpL;IACD;QACE,MAAM,EAAE,yCAAyC;QACjD,aAAa,EAAE,iKAAiK;KACjL;IACD;QACE,MAAM,EAAE,2CAA2C;QACnD,aAAa,EAAE,wKAAwK;KACxL;IACD;QACE,MAAM,EAAE,yBAAyB;QACjC,aAAa,EAAE,qHAAqH;KACrI;IACD;QACE,MAAM,EAAE,2BAA2B;QACnC,aAAa,EAAE,6JAA6J;KAC7K;IACD;QACE,MAAM,EAAE,+BAA+B;QACvC,aAAa,EAAE,yEAAyE;KACzF;IACD;QACE,MAAM,EAAE,iCAAiC;QACzC,aAAa,EAAE,qEAAqE;KACrF;IACD;QACE,MAAM,EAAE,iCAAiC;QACzC,aAAa,EAAE,uEAAuE;KACvF;IACD;QACE,MAAM,EAAE,iCAAiC;QACzC,aAAa,EAAE,wJAAwJ;KACxK;IACD;QACE,MAAM,EAAE,6BAA6B;QACrC,aAAa,EAAE,wJAAwJ;KACxK;IACD;QACE,MAAM,EAAE,iCAAiC;QACzC,aAAa,EAAE,6FAA6F;KAC7G;IACD;QACE,MAAM,EAAE,6BAA6B;QACrC,aAAa,EAAE,4FAA4F;KAC5G;IACD;QACE,MAAM,EAAE,2BAA2B;QACnC,aAAa,EAAE,mHAAmH;KACnI;IACD;QACE,MAAM,EAAE,2BAA2B;QACnC,aAAa,EAAE,qHAAqH;KACrI;IACD;QACE,MAAM,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C,aAAa,EAAE,qGAAqG;KACrH;IACD;QACE,MAAM,EAAE,WAAW;QACnB,aAAa,EAAE,icAAic;KACjd;IACD;QACE,MAAM,EAAE,eAAe;QACvB,aAAa,EAAE,mOAAmO;KACnP;IACD;QACE,MAAM,EAAE,6BAA6B;QACrC,aAAa,EAAE,0HAA0H;KAC1I;IACD;QACE,MAAM,EAAE,iCAAiC;QACzC,aAAa,EAAE,iHAAiH;KACjI;IACD;QACE,MAAM,EAAE,mCAAmC;QAC3C,aAAa,EAAE,gKAAgK;KAChL;IACD;QACE,MAAM,EAAE,uCAAuC;QAC/C,aAAa,EAAE,qGAAqG;KACrH;IACD;QACE,MAAM,EAAE,uBAAuB;QAC/B,aAAa,EAAE,8GAA8G;KAC9H;IACD;QACE,MAAM,EAAE,mCAAmC;QAC3C,aAAa,EAAE,yGAAyG;KACzH;IACD;QACE,MAAM,EAAE,qCAAqC;QAC7C,aAAa,EAAE,wFAAwF;KACxG;IACD;QACE,MAAM,EAAE,uCAAuC;QAC/C,aAAa,EAAE,mEAAmE;KACnF;IACD;QACE,MAAM,EAAE,qCAAqC;QAC7C,aAAa,EAAE,uFAAuF;KACvG;IACD;QACE,MAAM,EAAE,qCAAqC;QAC7C,aAAa,EAAE,mGAAmG;KACnH;IACD;QACE,MAAM,EAAE,mCAAmC;QAC3C,aAAa,EAAE,oFAAoF;KACpG;IACD;QACE,MAAM,EAAE,iCAAiC;QACzC,aAAa,EAAE,iGAAiG;KACjH;IACD;QACE,MAAM,EAAE,oBAAoB;QAC5B,aAAa,EAAE,qFAAqF;KACrG;IACD;QACE,MAAM,EAAE,uBAAuB;QAC/B,aAAa,EAAE,wFAAwF;KACxG;CACF,CAAC"}
1
+ {"version":3,"file":"tool-names.js","sourceRoot":"","sources":["../src/tool-names.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,MAAM,CAAC,MAAM,SAAS,GAAgD;IACpE;QACE,MAAM,EAAE,sBAAsB;QAC9B,aAAa,EAAE,6GAA6G;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H;KAC1I;IACD;QACE,MAAM,EAAE,iCAAiC;QACzC,aAAa,EAAE,iHAAiH;KACjI;IACD;QACE,MAAM,EAAE,mCAAmC;QAC3C,aAAa,EAAE,gKAAgK;KAChL;IACD;QACE,MAAM,EAAE,uCAAuC;QAC/C,aAAa,EAAE,qGAAqG;KACrH;IACD;QACE,MAAM,EAAE,uBAAuB;QAC/B,aAAa,EAAE,8GAA8G;KAC9H;IACD;QACE,MAAM,EAAE,mCAAmC;QAC3C,aAAa,EAAE,6OAA6O;KAC7P;IACD;QACE,MAAM,EAAE,qCAAqC;QAC7C,aAAa,EAAE,wFAAwF;KACxG;IACD;QACE,MAAM,EAAE,uCAAuC;QAC/C,aAAa,EAAE,mEAAmE;KACnF;IACD;QACE,MAAM,EAAE,qCAAqC;QAC7C,aAAa,EAAE,uFAAuF;KACvG;IACD;QACE,MAAM,EAAE,qCAAqC;QAC7C,aAAa,EAAE,mGAAmG;KACnH;IACD;QACE,MAAM,EAAE,mCAAmC;QAC3C,aAAa,EAAE,oFAAoF;KACpG;IACD;QACE,MAAM,EAAE,iCAAiC;QACzC,aAAa,EAAE,iGAAiG;KACjH;IACD;QACE,MAAM,EAAE,oBAAoB;QAC5B,aAAa,EAAE,qFAAqF;KACrG;IACD;QACE,MAAM,EAAE,uBAAuB;QAC/B,aAAa,EAAE,wFAAwF;KACxG;CACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightsage/mcp",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "author": "Speakeasy",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -24,7 +24,7 @@ import { Result } from "../types/fp.js";
24
24
  * List Repositories
25
25
  *
26
26
  * @remarks
27
- * Returns Git repositories available as reusable workspaces for eval configurations.
27
+ * 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.
28
28
  */
29
29
  export function repositoriesV2RepositoriesList(
30
30
  client$: LightsageMcpCore,
@@ -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.2.0/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.2.1/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.2.0",
69
+ sdkVersion: "0.2.1",
70
70
  genVersion: "2.935.1",
71
- userAgent: "speakeasy-sdk/mcp-typescript 0.2.0 2.935.1 1.0.0 @lightsage/mcp",
71
+ userAgent: "speakeasy-sdk/mcp-typescript 0.2.1 2.935.1 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.2.0",
25
+ currentVersion: "0.2.1",
26
26
  },
27
27
  });
28
28
 
@@ -91,7 +91,7 @@ export function createMCPServer(deps: {
91
91
  sizes: ["any"],
92
92
  }],
93
93
  name: "LightsageMcp",
94
- version: "0.2.0",
94
+ version: "0.2.1",
95
95
  });
96
96
 
97
97
  const getClient = deps.getSDK || (() =>
@@ -10,7 +10,7 @@ export const tool$repositoriesV2RepositoriesList: ToolDefinition = {
10
10
  name: "repositories-v2-repositories-list",
11
11
  description: `List Repositories
12
12
 
13
- Returns Git repositories available as reusable workspaces for eval configurations.`,
13
+ 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.`,
14
14
  annotations: {
15
15
  "title": "",
16
16
  "destructiveHint": false,
@@ -6,6 +6,25 @@
6
6
  import * as z from "zod";
7
7
  import { ClosedEnum } from "../types/enums.js";
8
8
 
9
+ /**
10
+ * Whether the repository is a read-only built-in template or an organization-owned saved repository.
11
+ */
12
+ export const Kind = {
13
+ Template: "template",
14
+ Saved: "saved",
15
+ } as const;
16
+ /**
17
+ * Whether the repository is a read-only built-in template or an organization-owned saved repository.
18
+ */
19
+ export type Kind = ClosedEnum<typeof Kind>;
20
+
21
+ export const Kind$zodSchema = z.enum([
22
+ "template",
23
+ "saved",
24
+ ]).describe(
25
+ "Whether the repository is a read-only built-in template or an organization-owned saved repository.",
26
+ );
27
+
9
28
  export const V2RepositoryFramework = {
10
29
  Fastify: "fastify",
11
30
  Nuxt: "nuxt",
@@ -35,6 +54,7 @@ export const V2RepositoryFramework$zodSchema = z.enum([
35
54
 
36
55
  export type V2Repository = {
37
56
  id: string;
57
+ kind: Kind;
38
58
  name: string;
39
59
  repo_url: string;
40
60
  ref: string;
@@ -50,8 +70,13 @@ export const V2Repository$zodSchema: z.ZodType<V2Repository> = z.object({
50
70
  created_at: z.string().nullable().optional(),
51
71
  enabled: z.boolean(),
52
72
  framework: V2RepositoryFramework$zodSchema.default("custom"),
53
- id: z.string(),
73
+ id: z.string().describe(
74
+ "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.",
75
+ ),
54
76
  install_steps: z.array(z.string()).optional(),
77
+ kind: Kind$zodSchema.describe(
78
+ "Whether the repository is a read-only built-in template or an organization-owned saved repository.",
79
+ ),
55
80
  name: z.string(),
56
81
  ref: z.string(),
57
82
  repo_url: z.string(),
package/src/tool-names.ts CHANGED
@@ -178,7 +178,7 @@ export const toolNames: Array<{ name: string; description: string }>= [
178
178
  },
179
179
  {
180
180
  "name": "repositories-v2-repositories-list",
181
- "description": "List Repositories\n\nReturns Git repositories available as reusable workspaces for eval configurations."
181
+ "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."
182
182
  },
183
183
  {
184
184
  "name": "repositories-v2-repositories-create",