@lightsage/mcp 0.4.11 → 0.4.13

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 (53) hide show
  1. package/README.md +2 -2
  2. package/bin/mcp-server.js +23 -12
  3. package/bin/mcp-server.js.map +14 -14
  4. package/esm/landing-page.js +1 -1
  5. package/esm/lib/config.d.ts +2 -2
  6. package/esm/lib/config.js +2 -2
  7. package/esm/mcp-server/mcp-server.js +1 -1
  8. package/esm/mcp-server/server.js +1 -1
  9. package/esm/models/publiccompetitorrow.d.ts +2 -0
  10. package/esm/models/publiccompetitorrow.d.ts.map +1 -1
  11. package/esm/models/publiccompetitorrow.js +3 -1
  12. package/esm/models/publiccompetitorrow.js.map +1 -1
  13. package/esm/models/publiccurrentvisibilityresponse.d.ts +2 -0
  14. package/esm/models/publiccurrentvisibilityresponse.d.ts.map +1 -1
  15. package/esm/models/publiccurrentvisibilityresponse.js +3 -1
  16. package/esm/models/publiccurrentvisibilityresponse.js.map +1 -1
  17. package/esm/models/publicpromptvisibilitymetrics.d.ts +1 -0
  18. package/esm/models/publicpromptvisibilitymetrics.d.ts.map +1 -1
  19. package/esm/models/publicpromptvisibilitymetrics.js +2 -1
  20. package/esm/models/publicpromptvisibilitymetrics.js.map +1 -1
  21. package/esm/models/publicvisibilitybyplatform.d.ts +3 -0
  22. package/esm/models/publicvisibilitybyplatform.d.ts.map +1 -1
  23. package/esm/models/publicvisibilitybyplatform.js +3 -1
  24. package/esm/models/publicvisibilitybyplatform.js.map +1 -1
  25. package/esm/models/publicvisibilitysnapshot.d.ts +2 -0
  26. package/esm/models/publicvisibilitysnapshot.d.ts.map +1 -1
  27. package/esm/models/publicvisibilitysnapshot.js +3 -1
  28. package/esm/models/publicvisibilitysnapshot.js.map +1 -1
  29. package/esm/models/publicvisibilitytimeseries.d.ts +1 -0
  30. package/esm/models/publicvisibilitytimeseries.d.ts.map +1 -1
  31. package/esm/models/publicvisibilitytimeseries.js +3 -1
  32. package/esm/models/publicvisibilitytimeseries.js.map +1 -1
  33. package/esm/models/updatev2promptrequest.d.ts +1 -0
  34. package/esm/models/updatev2promptrequest.d.ts.map +1 -1
  35. package/esm/models/updatev2promptrequest.js +1 -0
  36. package/esm/models/updatev2promptrequest.js.map +1 -1
  37. package/esm/models/v2promptresponse.d.ts +1 -0
  38. package/esm/models/v2promptresponse.d.ts.map +1 -1
  39. package/esm/models/v2promptresponse.js +1 -0
  40. package/esm/models/v2promptresponse.js.map +1 -1
  41. package/package.json +1 -1
  42. package/src/landing-page.ts +1 -1
  43. package/src/lib/config.ts +2 -2
  44. package/src/mcp-server/mcp-server.ts +1 -1
  45. package/src/mcp-server/server.ts +1 -1
  46. package/src/models/publiccompetitorrow.ts +9 -1
  47. package/src/models/publiccurrentvisibilityresponse.ts +9 -1
  48. package/src/models/publicpromptvisibilitymetrics.ts +5 -1
  49. package/src/models/publicvisibilitybyplatform.ts +8 -1
  50. package/src/models/publicvisibilitysnapshot.ts +9 -1
  51. package/src/models/publicvisibilitytimeseries.ts +8 -1
  52. package/src/models/updatev2promptrequest.ts +4 -0
  53. package/src/models/v2promptresponse.ts +4 -0
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.11/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.13/mcp-server.mcpb) file:
37
37
 
38
- Simply drag and drop the [`mcp-server.mcpb`](https://github.com/lightsagehq/mcp/releases/download/v0.4.11/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.13/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.11",
52847
+ sdkVersion: "0.4.13",
52848
52848
  genVersion: "2.943.0",
52849
- userAgent: "speakeasy-sdk/mcp-typescript 0.4.11 2.943.0 1.0.0 @lightsage/mcp"
52849
+ userAgent: "speakeasy-sdk/mcp-typescript 0.4.13 2.943.0 1.0.0 @lightsage/mcp"
52850
52850
  };
52851
52851
  });
52852
52852
 
@@ -59916,6 +59916,7 @@ var init_v2promptresponse = __esm(() => {
59916
59916
  V2PromptResponse$zodSchema = object({
59917
59917
  created_at: string2().nullable().optional(),
59918
59918
  id: string2(),
59919
+ is_branded: boolean2().default(false).describe("Whether the prompt text names your own brand. Detected when the prompt is created, and can be set explicitly."),
59919
59920
  language_id: string2().nullable().optional(),
59920
59921
  platforms: array(PublicPromptPlatform$zodSchema).optional(),
59921
59922
  region_id: string2().nullable().optional(),
@@ -61421,6 +61422,7 @@ var init_updatev2promptrequest = __esm(() => {
61421
61422
  "inactive"
61422
61423
  ]);
61423
61424
  UpdateV2PromptRequest$zodSchema = object({
61425
+ is_branded: boolean2().optional().describe("Marks the prompt as branded or unbranded. Omit to keep the current value; changing `text` does not change it."),
61424
61426
  platform_ids: array(string2()).nullable().optional().describe("Replacement list of answer-platform IDs."),
61425
61427
  run_settings: V2PromptRunSettingsInput$zodSchema.nullable().optional().describe("Run settings that apply to coding-agent runs of this prompt. Omitted fields keep their current or default values."),
61426
61428
  status: UpdateV2PromptRequestStatus$zodSchema.optional(),
@@ -63511,8 +63513,10 @@ var init_publiccurrentvisibilityresponse = __esm(() => {
63511
63513
  date: string2().nullable().optional().describe("Latest prompt-run date in the range."),
63512
63514
  end_date: string2(),
63513
63515
  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."),
63516
+ 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. `null` unless the organization turns on Recommendation Score under Settings › Navigation."),
63515
63517
  recommendation_score_rank: int().nullable().optional(),
63518
+ share_of_voice: number2().nullable().optional().describe("The company's share of all mentions of tracked companies (your company plus configured competitors) in the same prompt runs, from 0 to 1; tracked companies add up to 1. Each company counts once per run. `null` for companies you do not track. Not the `share_of_voice` field removed in October 2026, which held the mention rate now returned as `visibility_score`."),
63519
+ share_of_voice_rank: int().nullable().optional().describe("Rank by `share_of_voice` among tracked companies, highest first."),
63516
63520
  start_date: string2(),
63517
63521
  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."),
63518
63522
  visibility_score_rank: int().nullable().optional()
@@ -63656,8 +63660,10 @@ var init_publiccompetitorrow = __esm(() => {
63656
63660
  average_position: number2().nullable().optional().describe("Mean mention position in AI responses; 1 is first and lower is better. 0 when never mentioned."),
63657
63661
  average_position_rank: int().nullable().optional().describe("Companies with an `average_position` of 0 rank last."),
63658
63662
  company: PublicCompany$zodSchema,
63659
- 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."),
63663
+ 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. `null` unless the organization turns on Recommendation Score under Settings › Navigation. Rows do not sum to 1."),
63660
63664
  recommendation_score_rank: int().nullable().optional(),
63665
+ share_of_voice: number2().nullable().optional().describe("The company's share of all mentions of tracked companies (your company plus configured competitors) in the same prompt runs, from 0 to 1; tracked companies add up to 1. Each company counts once per run. `null` for companies you do not track. Not the `share_of_voice` field removed in October 2026, which held the mention rate now returned as `visibility_score`."),
63666
+ share_of_voice_rank: int().nullable().optional().describe("Rank by `share_of_voice` among tracked companies, highest first."),
63661
63667
  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."),
63662
63668
  visibility_score_rank: int().nullable().optional()
63663
63669
  });
@@ -63695,7 +63701,8 @@ var init_publicvisibilitybyplatform = __esm(() => {
63695
63701
  PublicVisibilityByPlatform$zodSchema = object({
63696
63702
  citations: record(string2(), array(PublicSeriesPoint$zodSchema)).optional().describe("Owned-domain citation counts keyed by platform_id."),
63697
63703
  platforms: array(PublicPlatformRef$zodSchema).optional(),
63698
- recommendation_score: record(string2(), array(PublicSeriesPoint$zodSchema)).optional().describe("Recommendation score series keyed by `platform_id`.")
63704
+ recommendation_score: record(string2(), array(PublicSeriesPoint$zodSchema)).optional().describe("Recommendation score series keyed by `platform_id`. Empty unless the organization turns on Recommendation Score under Settings › Navigation."),
63705
+ visibility_score: record(string2(), array(PublicSeriesPoint$zodSchema)).optional().describe("Visibility score series keyed by `platform_id`: the share of that platform's prompt runs each day that mention the company (0 to 1).")
63699
63706
  });
63700
63707
  });
63701
63708
 
@@ -63719,8 +63726,10 @@ var init_publicvisibilitysnapshot = __esm(() => {
63719
63726
  PublicVisibilitySnapshot$zodSchema = object({
63720
63727
  average_position: number2().nullable().optional().describe("Mean mention position in AI responses; 1 is first and lower is better."),
63721
63728
  average_position_rank: int().nullable().optional(),
63722
- 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."),
63729
+ 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. `null` unless the organization turns on Recommendation Score under Settings › Navigation."),
63723
63730
  recommendation_score_rank: int().nullable().optional(),
63731
+ share_of_voice: number2().nullable().optional().describe("The company's share of all mentions of tracked companies (your company plus configured competitors) in the same prompt runs, from 0 to 1; tracked companies add up to 1. Each company counts once per run. `null` for companies you do not track. Not the `share_of_voice` field removed in October 2026, which held the mention rate now returned as `visibility_score`."),
63732
+ share_of_voice_rank: int().nullable().optional().describe("Rank by `share_of_voice` among tracked companies, highest first."),
63724
63733
  total_citations: int().default(0).describe("Owned-domain citations across all platforms; 0, not `null`, with no prompt runs."),
63725
63734
  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."),
63726
63735
  visibility_score_rank: int().nullable().optional()
@@ -63733,7 +63742,8 @@ var init_publicvisibilitytimeseries = __esm(() => {
63733
63742
  init_zod();
63734
63743
  init_publicseriespoint();
63735
63744
  PublicVisibilityTimeseries$zodSchema = object({
63736
- recommendation_score: array(PublicSeriesPoint$zodSchema).optional()
63745
+ recommendation_score: array(PublicSeriesPoint$zodSchema).optional().describe("Company recommendation score per day. Empty unless the organization turns on Recommendation Score under Settings › Navigation."),
63746
+ visibility_score: array(PublicSeriesPoint$zodSchema).optional().describe("Company visibility score per day: the share of prompt runs that mention the company (0 to 1).")
63737
63747
  });
63738
63748
  });
63739
63749
 
@@ -63905,9 +63915,10 @@ var init_publicpromptvisibilitymetrics = __esm(() => {
63905
63915
  PublicPromptVisibilityMetrics$zodSchema = object({
63906
63916
  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
63917
  citation_count: int().default(0).describe("Owned-domain citations only."),
63908
- 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."),
63918
+ 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. `null` unless the organization turns on Recommendation Score under Settings › Navigation."),
63909
63919
  recommendation_score_rank: int().nullable().optional(),
63910
63920
  run_count: int().default(0).describe("One per prompt, platform, and run date."),
63921
+ share_of_voice: number2().nullable().optional().describe("The company's share of all mentions of tracked companies (your company plus configured competitors) in the same prompt runs, from 0 to 1; tracked companies add up to 1. Each company counts once per run. `null` for companies you do not track. Not the `share_of_voice` field removed in October 2026, which held the mention rate now returned as `visibility_score`."),
63911
63922
  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.")
63912
63923
  });
63913
63924
  });
@@ -64106,7 +64117,7 @@ function createMCPServer(deps) {
64106
64117
  sizes: ["any"]
64107
64118
  }],
64108
64119
  name: "LightsageMcp",
64109
- version: "0.4.11"
64120
+ version: "0.4.13"
64110
64121
  });
64111
64122
  const getClient = deps.getSDK || (() => new LightsageMcpCore({
64112
64123
  security: deps.security,
@@ -65530,7 +65541,7 @@ http_headers = { "lightsage-api-key-auth" = "YOUR_LIGHTSAGE_API_KEY_AUTH" }`;
65530
65541
  <h1>Instructions</h1>
65531
65542
  <p>One-click installation for Claude Desktop users</p>
65532
65543
  <div class="instruction-item">
65533
- <a href="https://github.com/lightsagehq/mcp/releases/download/v0.4.11/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
65544
+ <a href="https://github.com/lightsagehq/mcp/releases/download/v0.4.13/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
65534
65545
  \uD83D\uDCE5 Download MCP Bundle
65535
65546
  </a>
65536
65547
  </div>
@@ -68408,7 +68419,7 @@ var routes = buildRouteMap({
68408
68419
  var app = buildApplication(routes, {
68409
68420
  name: "mcp",
68410
68421
  versionInfo: {
68411
- currentVersion: "0.4.11"
68422
+ currentVersion: "0.4.13"
68412
68423
  }
68413
68424
  });
68414
68425
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -68416,5 +68427,5 @@ export {
68416
68427
  app
68417
68428
  };
68418
68429
 
68419
- //# debugId=FE09D50C9B6DB7EA64756E2164756E21
68430
+ //# debugId=D0F84367AD5BED5264756E2164756E21
68420
68431
  //# sourceMappingURL=mcp-server.js.map