@lightsage/mcp 0.4.8 → 0.4.9

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 (52) hide show
  1. package/README.md +2 -2
  2. package/bin/mcp-server.js +28 -18
  3. package/bin/mcp-server.js.map +15 -15
  4. package/esm/funcs/visibilityCurrentRetrieve.d.ts +1 -1
  5. package/esm/funcs/visibilityCurrentRetrieve.js +1 -1
  6. package/esm/landing-page.js +1 -1
  7. package/esm/lib/config.d.ts +2 -2
  8. package/esm/lib/config.js +2 -2
  9. package/esm/mcp-server/mcp-server.js +1 -1
  10. package/esm/mcp-server/server.js +1 -1
  11. package/esm/mcp-server/tools/visibilityCurrentRetrieve.js +1 -1
  12. package/esm/mcp-server/tools/visibilityCurrentRetrieve.js.map +1 -1
  13. package/esm/models/publiccompetitorrow.d.ts +2 -0
  14. package/esm/models/publiccompetitorrow.d.ts.map +1 -1
  15. package/esm/models/publiccompetitorrow.js +4 -2
  16. package/esm/models/publiccompetitorrow.js.map +1 -1
  17. package/esm/models/publiccurrentvisibilityresponse.d.ts +2 -0
  18. package/esm/models/publiccurrentvisibilityresponse.d.ts.map +1 -1
  19. package/esm/models/publiccurrentvisibilityresponse.js +4 -2
  20. package/esm/models/publiccurrentvisibilityresponse.js.map +1 -1
  21. package/esm/models/publicpromptvisibilitymetrics.d.ts +2 -0
  22. package/esm/models/publicpromptvisibilitymetrics.d.ts.map +1 -1
  23. package/esm/models/publicpromptvisibilitymetrics.js +4 -2
  24. package/esm/models/publicpromptvisibilitymetrics.js.map +1 -1
  25. package/esm/models/publicvisibilitybyplatform.d.ts +3 -0
  26. package/esm/models/publicvisibilitybyplatform.d.ts.map +1 -1
  27. package/esm/models/publicvisibilitybyplatform.js +2 -1
  28. package/esm/models/publicvisibilitybyplatform.js.map +1 -1
  29. package/esm/models/publicvisibilitysnapshot.d.ts +2 -0
  30. package/esm/models/publicvisibilitysnapshot.d.ts.map +1 -1
  31. package/esm/models/publicvisibilitysnapshot.js +4 -2
  32. package/esm/models/publicvisibilitysnapshot.js.map +1 -1
  33. package/esm/models/publicvisibilitytimeseries.d.ts +1 -0
  34. package/esm/models/publicvisibilitytimeseries.d.ts.map +1 -1
  35. package/esm/models/publicvisibilitytimeseries.js +2 -1
  36. package/esm/models/publicvisibilitytimeseries.js.map +1 -1
  37. package/esm/tool-names.js +1 -1
  38. package/esm/tool-names.js.map +1 -1
  39. package/package.json +3 -3
  40. package/src/funcs/visibilityCurrentRetrieve.ts +1 -1
  41. package/src/landing-page.ts +1 -1
  42. package/src/lib/config.ts +2 -2
  43. package/src/mcp-server/mcp-server.ts +1 -1
  44. package/src/mcp-server/server.ts +1 -1
  45. package/src/mcp-server/tools/visibilityCurrentRetrieve.ts +1 -1
  46. package/src/models/publiccompetitorrow.ts +10 -2
  47. package/src/models/publiccurrentvisibilityresponse.ts +10 -2
  48. package/src/models/publicpromptvisibilitymetrics.ts +10 -2
  49. package/src/models/publicvisibilitybyplatform.ts +8 -1
  50. package/src/models/publicvisibilitysnapshot.ts +10 -2
  51. package/src/models/publicvisibilitytimeseries.ts +5 -1
  52. package/src/tool-names.ts +1 -1
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.8/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.9/mcp-server.mcpb) file:
37
37
 
38
- Simply drag and drop the [`mcp-server.mcpb`](https://github.com/lightsagehq/mcp/releases/download/v0.4.8/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.9/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.8",
52847
+ sdkVersion: "0.4.9",
52848
52848
  genVersion: "2.943.0",
52849
- userAgent: "speakeasy-sdk/mcp-typescript 0.4.8 2.943.0 1.0.0 @lightsage/mcp"
52849
+ userAgent: "speakeasy-sdk/mcp-typescript 0.4.9 2.943.0 1.0.0 @lightsage/mcp"
52850
52850
  };
52851
52851
  });
52852
52852
 
@@ -63511,11 +63511,13 @@ var init_publiccurrentvisibilityresponse = __esm(() => {
63511
63511
  date: string2().nullable().optional().describe("Latest prompt-run date in the range."),
63512
63512
  end_date: string2(),
63513
63513
  has_data: boolean2(),
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
+ recommendation_score_rank: int().nullable().optional(),
63514
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."),
63515
63517
  share_of_voice_rank: int().nullable().optional(),
63516
63518
  start_date: string2(),
63517
- visibility_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."),
63518
- visibility_score_rank: int().nullable().optional()
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
63521
  });
63520
63522
  });
63521
63523
 
@@ -63625,7 +63627,7 @@ var init_visibilityCurrentRetrieve2 = __esm(() => {
63625
63627
  name: "visibility-current-retrieve",
63626
63628
  description: `Retrieve Current Visibility
63627
63629
 
63628
- Returns visibility 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, 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\`.`,
63629
63631
  annotations: {
63630
63632
  title: "",
63631
63633
  destructiveHint: false,
@@ -63656,10 +63658,12 @@ var init_publiccompetitorrow = __esm(() => {
63656
63658
  average_position: number2().nullable().optional().describe("Mean mention position in AI responses; 1 is first and lower is better. 0 when never mentioned."),
63657
63659
  average_position_rank: int().nullable().optional().describe("Companies with an `average_position` of 0 rank last."),
63658
63660
  company: PublicCompany$zodSchema,
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
+ recommendation_score_rank: int().nullable().optional(),
63659
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."),
63660
63664
  share_of_voice_rank: int().nullable().optional(),
63661
- visibility_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
- visibility_score_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
63667
  });
63664
63668
  });
63665
63669
 
@@ -63695,7 +63699,8 @@ var init_publicvisibilitybyplatform = __esm(() => {
63695
63699
  PublicVisibilityByPlatform$zodSchema = object({
63696
63700
  citations: record(string2(), array(PublicSeriesPoint$zodSchema)).optional().describe("Owned-domain citation counts keyed by platform_id."),
63697
63701
  platforms: array(PublicPlatformRef$zodSchema).optional(),
63698
- visibility_score: record(string2(), array(PublicSeriesPoint$zodSchema)).optional().describe("Visibility score series keyed by `platform_id`.")
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.")
63699
63704
  });
63700
63705
  });
63701
63706
 
@@ -63719,11 +63724,13 @@ var init_publicvisibilitysnapshot = __esm(() => {
63719
63724
  PublicVisibilitySnapshot$zodSchema = object({
63720
63725
  average_position: number2().nullable().optional().describe("Mean mention position in AI responses; 1 is first and lower is better."),
63721
63726
  average_position_rank: int().nullable().optional(),
63727
+ 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
+ recommendation_score_rank: int().nullable().optional(),
63722
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."),
63723
63730
  share_of_voice_rank: int().nullable().optional(),
63724
63731
  total_citations: int().default(0).describe("Owned-domain citations across all platforms; 0, not `null`, with no prompt runs."),
63725
- visibility_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."),
63726
- visibility_score_rank: int().nullable().optional()
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.")
63727
63734
  });
63728
63735
  });
63729
63736
 
@@ -63733,7 +63740,8 @@ var init_publicvisibilitytimeseries = __esm(() => {
63733
63740
  init_zod();
63734
63741
  init_publicseriespoint();
63735
63742
  PublicVisibilityTimeseries$zodSchema = object({
63736
- visibility_score: array(PublicSeriesPoint$zodSchema).optional()
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.")
63737
63745
  });
63738
63746
  });
63739
63747
 
@@ -63905,10 +63913,12 @@ var init_publicpromptvisibilitymetrics = __esm(() => {
63905
63913
  PublicPromptVisibilityMetrics$zodSchema = object({
63906
63914
  average_position: number2().nullable().optional().describe("Mean mention position in AI responses; 1 is first and lower is better. 0 when runs produced no mentions."),
63907
63915
  citation_count: int().default(0).describe("Owned-domain citations only."),
63916
+ 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
+ recommendation_score_rank: int().nullable().optional(),
63908
63918
  run_count: int().default(0).describe("One per prompt, platform, and run date."),
63909
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."),
63910
- visibility_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."),
63911
- visibility_score_rank: int().nullable().optional()
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.")
63912
63922
  });
63913
63923
  });
63914
63924
 
@@ -64106,7 +64116,7 @@ function createMCPServer(deps) {
64106
64116
  sizes: ["any"]
64107
64117
  }],
64108
64118
  name: "LightsageMcp",
64109
- version: "0.4.8"
64119
+ version: "0.4.9"
64110
64120
  });
64111
64121
  const getClient = deps.getSDK || (() => new LightsageMcpCore({
64112
64122
  security: deps.security,
@@ -64283,7 +64293,7 @@ Validates the API key and returns its organization ID, API key ID, scopes, and a
64283
64293
  },
64284
64294
  {
64285
64295
  name: "visibility-current-retrieve",
64286
- description: "Retrieve Current Visibility\n\nReturns visibility 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`."
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`."
64287
64297
  },
64288
64298
  {
64289
64299
  name: "visibility-overview-retrieve",
@@ -65530,7 +65540,7 @@ http_headers = { "lightsage-api-key-auth" = "YOUR_LIGHTSAGE_API_KEY_AUTH" }`;
65530
65540
  <h1>Instructions</h1>
65531
65541
  <p>One-click installation for Claude Desktop users</p>
65532
65542
  <div class="instruction-item">
65533
- <a href="https://github.com/lightsagehq/mcp/releases/download/v0.4.8/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
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;">
65534
65544
  \uD83D\uDCE5 Download MCP Bundle
65535
65545
  </a>
65536
65546
  </div>
@@ -68408,7 +68418,7 @@ var routes = buildRouteMap({
68408
68418
  var app = buildApplication(routes, {
68409
68419
  name: "mcp",
68410
68420
  versionInfo: {
68411
- currentVersion: "0.4.8"
68421
+ currentVersion: "0.4.9"
68412
68422
  }
68413
68423
  });
68414
68424
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -68416,5 +68426,5 @@ export {
68416
68426
  app
68417
68427
  };
68418
68428
 
68419
- //# debugId=1B821B76381F998E64756E2164756E21
68429
+ //# debugId=212DEC1536F330DE64756E2164756E21
68420
68430
  //# sourceMappingURL=mcp-server.js.map