@lightsage/mcp 0.4.9 → 0.4.10

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.
Files changed (61) hide show
  1. package/README.md +2 -2
  2. package/bin/mcp-server.js +28 -31
  3. package/bin/mcp-server.js.map +19 -19
  4. package/esm/funcs/agentsList.d.ts +1 -1
  5. package/esm/funcs/agentsList.js +1 -1
  6. package/esm/funcs/visibilityCurrentRetrieve.d.ts +1 -1
  7. package/esm/funcs/visibilityCurrentRetrieve.js +1 -1
  8. package/esm/funcs/visibilityPromptsRetrieve.d.ts +1 -1
  9. package/esm/funcs/visibilityPromptsRetrieve.js +1 -1
  10. package/esm/landing-page.js +1 -1
  11. package/esm/lib/config.d.ts +2 -2
  12. package/esm/lib/config.js +2 -2
  13. package/esm/lib/config.js.map +1 -1
  14. package/esm/mcp-server/mcp-server.js +1 -1
  15. package/esm/mcp-server/mcp-server.js.map +1 -1
  16. package/esm/mcp-server/server.js +1 -1
  17. package/esm/mcp-server/server.js.map +1 -1
  18. package/esm/mcp-server/tools/agentsList.js +1 -1
  19. package/esm/mcp-server/tools/agentsList.js.map +1 -1
  20. package/esm/mcp-server/tools/visibilityCurrentRetrieve.js +1 -1
  21. package/esm/mcp-server/tools/visibilityCurrentRetrieve.js.map +1 -1
  22. package/esm/mcp-server/tools/visibilityPromptsRetrieve.js +1 -1
  23. package/esm/mcp-server/tools/visibilityPromptsRetrieve.js.map +1 -1
  24. package/esm/models/publiccompetitorrow.js +4 -4
  25. package/esm/models/publiccompetitorrow.js.map +1 -1
  26. package/esm/models/publiccurrentvisibilityresponse.js +4 -4
  27. package/esm/models/publiccurrentvisibilityresponse.js.map +1 -1
  28. package/esm/models/publicpromptvisibilitymetrics.d.ts +0 -1
  29. package/esm/models/publicpromptvisibilitymetrics.d.ts.map +1 -1
  30. package/esm/models/publicpromptvisibilitymetrics.js +2 -3
  31. package/esm/models/publicpromptvisibilitymetrics.js.map +1 -1
  32. package/esm/models/publicvisibilitybyplatform.d.ts +0 -3
  33. package/esm/models/publicvisibilitybyplatform.d.ts.map +1 -1
  34. package/esm/models/publicvisibilitybyplatform.js +0 -2
  35. package/esm/models/publicvisibilitybyplatform.js.map +1 -1
  36. package/esm/models/publicvisibilitysnapshot.js +4 -4
  37. package/esm/models/publicvisibilitysnapshot.js.map +1 -1
  38. package/esm/models/publicvisibilitytimeseries.d.ts +0 -1
  39. package/esm/models/publicvisibilitytimeseries.d.ts.map +1 -1
  40. package/esm/models/publicvisibilitytimeseries.js +0 -1
  41. package/esm/models/publicvisibilitytimeseries.js.map +1 -1
  42. package/esm/tool-names.js +3 -3
  43. package/esm/tool-names.js.map +1 -1
  44. package/package.json +1 -1
  45. package/src/funcs/agentsList.ts +1 -1
  46. package/src/funcs/visibilityCurrentRetrieve.ts +1 -1
  47. package/src/funcs/visibilityPromptsRetrieve.ts +1 -1
  48. package/src/landing-page.ts +1 -1
  49. package/src/lib/config.ts +2 -2
  50. package/src/mcp-server/mcp-server.ts +1 -1
  51. package/src/mcp-server/server.ts +1 -1
  52. package/src/mcp-server/tools/agentsList.ts +1 -1
  53. package/src/mcp-server/tools/visibilityCurrentRetrieve.ts +1 -1
  54. package/src/mcp-server/tools/visibilityPromptsRetrieve.ts +1 -1
  55. package/src/models/publiccompetitorrow.ts +6 -6
  56. package/src/models/publiccurrentvisibilityresponse.ts +6 -6
  57. package/src/models/publicpromptvisibilitymetrics.ts +2 -6
  58. package/src/models/publicvisibilitybyplatform.ts +0 -5
  59. package/src/models/publicvisibilitysnapshot.ts +6 -6
  60. package/src/models/publicvisibilitytimeseries.ts +0 -4
  61. package/src/tool-names.ts +3 -3
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.9/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.10/mcp-server.mcpb) file:
37
37
 
38
- Simply drag and drop the [`mcp-server.mcpb`](https://github.com/lightsagehq/mcp/releases/download/v0.4.9/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.10/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
@@ -52844,9 +52844,9 @@ var init_config = __esm(() => {
52844
52844
  SDK_METADATA = {
52845
52845
  language: "typescript",
52846
52846
  openapiDocVersion: "1.0.0",
52847
- sdkVersion: "0.4.9",
52847
+ sdkVersion: "0.4.10",
52848
52848
  genVersion: "2.943.0",
52849
- userAgent: "speakeasy-sdk/mcp-typescript 0.4.9 2.943.0 1.0.0 @lightsage/mcp"
52849
+ userAgent: "speakeasy-sdk/mcp-typescript 0.4.10 2.943.0 1.0.0 @lightsage/mcp"
52850
52850
  };
52851
52851
  });
52852
52852
 
@@ -55558,7 +55558,7 @@ var init_agentsList2 = __esm(() => {
55558
55558
  name: "agents-list",
55559
55559
  description: `List Agents
55560
55560
 
55561
- Returns all runnable harness-and-model combinations as single agent IDs for use in eval runs.`,
55561
+ Returns the harness-and-model combinations your plan can run, as single agent IDs for use in eval runs.`,
55562
55562
  annotations: {
55563
55563
  title: "",
55564
55564
  destructiveHint: false,
@@ -63513,11 +63513,11 @@ var init_publiccurrentvisibilityresponse = __esm(() => {
63513
63513
  has_data: boolean2(),
63514
63514
  recommendation_score: number2().nullable().optional().describe("Mean recommendation strength across successful prompt runs, from 0 to 1. Each run contributes the company's recommendation strength (0 to 1) when it is mentioned and 0 when it is not. Failed provider runs are excluded."),
63515
63515
  recommendation_score_rank: int().nullable().optional(),
63516
- share_of_voice: number2().nullable().optional().describe("Fraction of successful prompt runs that mention the company, from 0 to 1; for example, 0.25 means one in four runs. Failed provider runs are excluded."),
63517
- share_of_voice_rank: int().nullable().optional(),
63516
+ share_of_voice: number2().nullable().optional().describe("Deprecated: use `visibility_score`. Same value; this field will be removed in a future release."),
63517
+ share_of_voice_rank: int().nullable().optional().describe("Deprecated: use `visibility_score_rank`. Same value; this field will be removed in a future release."),
63518
63518
  start_date: string2(),
63519
- visibility_score: number2().nullable().optional().describe("Deprecated: use `recommendation_score`. Same value; this field will be removed in a future release."),
63520
- visibility_score_rank: int().nullable().optional().describe("Deprecated: use `recommendation_score_rank`. Same value; this field will be removed in a future release.")
63519
+ visibility_score: number2().nullable().optional().describe("Fraction of successful prompt runs that mention the company, from 0 to 1; for example, 0.25 means one in four runs. Failed provider runs are excluded."),
63520
+ visibility_score_rank: int().nullable().optional()
63521
63521
  });
63522
63522
  });
63523
63523
 
@@ -63627,7 +63627,7 @@ var init_visibilityCurrentRetrieve2 = __esm(() => {
63627
63627
  name: "visibility-current-retrieve",
63628
63628
  description: `Retrieve Current Visibility
63629
63629
 
63630
- Returns recommendation score, share of voice, ranks, and date-range metadata for the configured primary company. Metrics are computed from active prompts only; when no data exists, values are \`null\`.`,
63630
+ Returns recommendation score, visibility score, ranks, and date-range metadata for the configured primary company. Metrics are computed from active prompts only; when no data exists, values are \`null\`.`,
63631
63631
  annotations: {
63632
63632
  title: "",
63633
63633
  destructiveHint: false,
@@ -63660,10 +63660,10 @@ var init_publiccompetitorrow = __esm(() => {
63660
63660
  company: PublicCompany$zodSchema,
63661
63661
  recommendation_score: number2().nullable().optional().describe("Mean recommendation strength across successful prompt runs, from 0 to 1. Each run contributes the company's recommendation strength (0 to 1) when it is mentioned and 0 when it is not. Failed provider runs are excluded. Rows do not sum to 1."),
63662
63662
  recommendation_score_rank: int().nullable().optional(),
63663
- share_of_voice: number2().nullable().optional().describe("Fraction of successful prompt runs that mention the company, from 0 to 1; for example, 0.25 means one in four runs. Failed provider runs are excluded. A run can mention several companies, so rows do not sum to 1."),
63664
- share_of_voice_rank: int().nullable().optional(),
63665
- visibility_score: number2().nullable().optional().describe("Deprecated: use `recommendation_score`. Same value; this field will be removed in a future release."),
63666
- visibility_score_rank: int().nullable().optional().describe("Deprecated: use `recommendation_score_rank`. Same value; this field will be removed in a future release.")
63663
+ share_of_voice: number2().nullable().optional().describe("Deprecated: use `visibility_score`. Same value; this field will be removed in a future release."),
63664
+ share_of_voice_rank: int().nullable().optional().describe("Deprecated: use `visibility_score_rank`. Same value; this field will be removed in a future release."),
63665
+ visibility_score: number2().nullable().optional().describe("Fraction of successful prompt runs that mention the company, from 0 to 1; for example, 0.25 means one in four runs. Failed provider runs are excluded. A run can mention several companies, so rows do not sum to 1."),
63666
+ visibility_score_rank: int().nullable().optional()
63667
63667
  });
63668
63668
  });
63669
63669
 
@@ -63699,8 +63699,7 @@ var init_publicvisibilitybyplatform = __esm(() => {
63699
63699
  PublicVisibilityByPlatform$zodSchema = object({
63700
63700
  citations: record(string2(), array(PublicSeriesPoint$zodSchema)).optional().describe("Owned-domain citation counts keyed by platform_id."),
63701
63701
  platforms: array(PublicPlatformRef$zodSchema).optional(),
63702
- recommendation_score: record(string2(), array(PublicSeriesPoint$zodSchema)).optional().describe("Recommendation score series keyed by `platform_id`."),
63703
- visibility_score: record(string2(), array(PublicSeriesPoint$zodSchema)).optional().describe("Deprecated: use `recommendation_score`. Same value; this field will be removed in a future release.")
63702
+ recommendation_score: record(string2(), array(PublicSeriesPoint$zodSchema)).optional().describe("Recommendation score series keyed by `platform_id`.")
63704
63703
  });
63705
63704
  });
63706
63705
 
@@ -63726,11 +63725,11 @@ var init_publicvisibilitysnapshot = __esm(() => {
63726
63725
  average_position_rank: int().nullable().optional(),
63727
63726
  recommendation_score: number2().nullable().optional().describe("Mean recommendation strength across successful prompt runs, from 0 to 1. Each run contributes the company's recommendation strength (0 to 1) when it is mentioned and 0 when it is not. Failed provider runs are excluded."),
63728
63727
  recommendation_score_rank: int().nullable().optional(),
63729
- share_of_voice: number2().nullable().optional().describe("Fraction of successful prompt runs that mention the company, from 0 to 1; for example, 0.25 means one in four runs. Failed provider runs are excluded."),
63730
- share_of_voice_rank: int().nullable().optional(),
63728
+ share_of_voice: number2().nullable().optional().describe("Deprecated: use `visibility_score`. Same value; this field will be removed in a future release."),
63729
+ share_of_voice_rank: int().nullable().optional().describe("Deprecated: use `visibility_score_rank`. Same value; this field will be removed in a future release."),
63731
63730
  total_citations: int().default(0).describe("Owned-domain citations across all platforms; 0, not `null`, with no prompt runs."),
63732
- visibility_score: number2().nullable().optional().describe("Deprecated: use `recommendation_score`. Same value; this field will be removed in a future release."),
63733
- visibility_score_rank: int().nullable().optional().describe("Deprecated: use `recommendation_score_rank`. Same value; this field will be removed in a future release.")
63731
+ visibility_score: number2().nullable().optional().describe("Fraction of successful prompt runs that mention the company, from 0 to 1; for example, 0.25 means one in four runs. Failed provider runs are excluded."),
63732
+ visibility_score_rank: int().nullable().optional()
63734
63733
  });
63735
63734
  });
63736
63735
 
@@ -63740,8 +63739,7 @@ var init_publicvisibilitytimeseries = __esm(() => {
63740
63739
  init_zod();
63741
63740
  init_publicseriespoint();
63742
63741
  PublicVisibilityTimeseries$zodSchema = object({
63743
- recommendation_score: array(PublicSeriesPoint$zodSchema).optional(),
63744
- visibility_score: array(PublicSeriesPoint$zodSchema).optional().describe("Deprecated: use `recommendation_score`. Same value; this field will be removed in a future release.")
63742
+ recommendation_score: array(PublicSeriesPoint$zodSchema).optional()
63745
63743
  });
63746
63744
  });
63747
63745
 
@@ -63916,9 +63914,8 @@ var init_publicpromptvisibilitymetrics = __esm(() => {
63916
63914
  recommendation_score: number2().nullable().optional().describe("Mean recommendation strength across successful prompt runs, from 0 to 1. Each run contributes the company's recommendation strength (0 to 1) when it is mentioned and 0 when it is not. Failed provider runs are excluded."),
63917
63915
  recommendation_score_rank: int().nullable().optional(),
63918
63916
  run_count: int().default(0).describe("One per prompt, platform, and run date."),
63919
- share_of_voice: number2().nullable().optional().describe("Fraction of successful prompt runs that mention the company, from 0 to 1; for example, 0.25 means one in four runs. Failed provider runs are excluded."),
63920
- visibility_score: number2().nullable().optional().describe("Deprecated: use `recommendation_score`. Same value; this field will be removed in a future release."),
63921
- visibility_score_rank: int().nullable().optional().describe("Deprecated: use `recommendation_score_rank`. Same value; this field will be removed in a future release.")
63917
+ share_of_voice: number2().nullable().optional().describe("Deprecated: use `visibility_score`. Same value; this field will be removed in a future release."),
63918
+ visibility_score: number2().nullable().optional().describe("Fraction of successful prompt runs that mention the company, from 0 to 1; for example, 0.25 means one in four runs. Failed provider runs are excluded.")
63922
63919
  });
63923
63920
  });
63924
63921
 
@@ -64084,7 +64081,7 @@ var init_visibilityPromptsRetrieve2 = __esm(() => {
64084
64081
  name: "visibility-prompts-retrieve",
64085
64082
  description: `Retrieve Prompt Visibility Report
64086
64083
 
64087
- Returns per-topic and per-prompt visibility metrics including score, rank, share of voice, average position, and citation counts.`,
64084
+ Returns per-topic and per-prompt visibility metrics including recommendation score, rank, visibility score, average position, and citation counts.`,
64088
64085
  annotations: {
64089
64086
  title: "",
64090
64087
  destructiveHint: false,
@@ -64116,7 +64113,7 @@ function createMCPServer(deps) {
64116
64113
  sizes: ["any"]
64117
64114
  }],
64118
64115
  name: "LightsageMcp",
64119
- version: "0.4.9"
64116
+ version: "0.4.10"
64120
64117
  });
64121
64118
  const getClient = deps.getSDK || (() => new LightsageMcpCore({
64122
64119
  security: deps.security,
@@ -64293,7 +64290,7 @@ Validates the API key and returns its organization ID, API key ID, scopes, and a
64293
64290
  },
64294
64291
  {
64295
64292
  name: "visibility-current-retrieve",
64296
- description: "Retrieve Current Visibility\n\nReturns recommendation score, share of voice, ranks, and date-range metadata for the configured primary company. Metrics are computed from active prompts only; when no data exists, values are `null`."
64293
+ description: "Retrieve Current Visibility\n\nReturns recommendation score, visibility score, ranks, and date-range metadata for the configured primary company. Metrics are computed from active prompts only; when no data exists, values are `null`."
64297
64294
  },
64298
64295
  {
64299
64296
  name: "visibility-overview-retrieve",
@@ -64311,7 +64308,7 @@ Returns URL-level citation counts ranked from most to least cited. Results can b
64311
64308
  name: "visibility-prompts-retrieve",
64312
64309
  description: `Retrieve Prompt Visibility Report
64313
64310
 
64314
- Returns per-topic and per-prompt visibility metrics including score, rank, share of voice, average position, and citation counts.`
64311
+ Returns per-topic and per-prompt visibility metrics including recommendation score, rank, visibility score, average position, and citation counts.`
64315
64312
  },
64316
64313
  {
64317
64314
  name: "prompts-list",
@@ -64580,7 +64577,7 @@ Returns recorded attempts for an Agent Preference eval, newest first, each with
64580
64577
  name: "agents-list",
64581
64578
  description: `List Agents
64582
64579
 
64583
- Returns all runnable harness-and-model combinations as single agent IDs for use in eval runs.`
64580
+ Returns the harness-and-model combinations your plan can run, as single agent IDs for use in eval runs.`
64584
64581
  },
64585
64582
  {
64586
64583
  name: "repositories-list",
@@ -65540,7 +65537,7 @@ http_headers = { "lightsage-api-key-auth" = "YOUR_LIGHTSAGE_API_KEY_AUTH" }`;
65540
65537
  <h1>Instructions</h1>
65541
65538
  <p>One-click installation for Claude Desktop users</p>
65542
65539
  <div class="instruction-item">
65543
- <a href="https://github.com/lightsagehq/mcp/releases/download/v0.4.9/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
65540
+ <a href="https://github.com/lightsagehq/mcp/releases/download/v0.4.10/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
65544
65541
  \uD83D\uDCE5 Download MCP Bundle
65545
65542
  </a>
65546
65543
  </div>
@@ -68418,7 +68415,7 @@ var routes = buildRouteMap({
68418
68415
  var app = buildApplication(routes, {
68419
68416
  name: "mcp",
68420
68417
  versionInfo: {
68421
- currentVersion: "0.4.9"
68418
+ currentVersion: "0.4.10"
68422
68419
  }
68423
68420
  });
68424
68421
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -68426,5 +68423,5 @@ export {
68426
68423
  app
68427
68424
  };
68428
68425
 
68429
- //# debugId=212DEC1536F330DE64756E2164756E21
68426
+ //# debugId=9D2D623108C3BD3F64756E2164756E21
68430
68427
  //# sourceMappingURL=mcp-server.js.map