@lightsage/mcp 0.4.9 → 0.4.11

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 (67) hide show
  1. package/README.md +2 -2
  2. package/bin/mcp-server.js +21 -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.d.ts +0 -2
  25. package/esm/models/publiccompetitorrow.d.ts.map +1 -1
  26. package/esm/models/publiccompetitorrow.js +2 -4
  27. package/esm/models/publiccompetitorrow.js.map +1 -1
  28. package/esm/models/publiccurrentvisibilityresponse.d.ts +0 -2
  29. package/esm/models/publiccurrentvisibilityresponse.d.ts.map +1 -1
  30. package/esm/models/publiccurrentvisibilityresponse.js +2 -4
  31. package/esm/models/publiccurrentvisibilityresponse.js.map +1 -1
  32. package/esm/models/publicpromptvisibilitymetrics.d.ts +0 -2
  33. package/esm/models/publicpromptvisibilitymetrics.d.ts.map +1 -1
  34. package/esm/models/publicpromptvisibilitymetrics.js +1 -3
  35. package/esm/models/publicpromptvisibilitymetrics.js.map +1 -1
  36. package/esm/models/publicvisibilitybyplatform.d.ts +0 -3
  37. package/esm/models/publicvisibilitybyplatform.d.ts.map +1 -1
  38. package/esm/models/publicvisibilitybyplatform.js +0 -2
  39. package/esm/models/publicvisibilitybyplatform.js.map +1 -1
  40. package/esm/models/publicvisibilitysnapshot.d.ts +0 -2
  41. package/esm/models/publicvisibilitysnapshot.d.ts.map +1 -1
  42. package/esm/models/publicvisibilitysnapshot.js +2 -4
  43. package/esm/models/publicvisibilitysnapshot.js.map +1 -1
  44. package/esm/models/publicvisibilitytimeseries.d.ts +0 -1
  45. package/esm/models/publicvisibilitytimeseries.d.ts.map +1 -1
  46. package/esm/models/publicvisibilitytimeseries.js +0 -1
  47. package/esm/models/publicvisibilitytimeseries.js.map +1 -1
  48. package/esm/tool-names.js +3 -3
  49. package/esm/tool-names.js.map +1 -1
  50. package/package.json +1 -1
  51. package/src/funcs/agentsList.ts +1 -1
  52. package/src/funcs/visibilityCurrentRetrieve.ts +1 -1
  53. package/src/funcs/visibilityPromptsRetrieve.ts +1 -1
  54. package/src/landing-page.ts +1 -1
  55. package/src/lib/config.ts +2 -2
  56. package/src/mcp-server/mcp-server.ts +1 -1
  57. package/src/mcp-server/server.ts +1 -1
  58. package/src/mcp-server/tools/agentsList.ts +1 -1
  59. package/src/mcp-server/tools/visibilityCurrentRetrieve.ts +1 -1
  60. package/src/mcp-server/tools/visibilityPromptsRetrieve.ts +1 -1
  61. package/src/models/publiccompetitorrow.ts +2 -10
  62. package/src/models/publiccurrentvisibilityresponse.ts +2 -10
  63. package/src/models/publicpromptvisibilitymetrics.ts +1 -9
  64. package/src/models/publicvisibilitybyplatform.ts +0 -5
  65. package/src/models/publicvisibilitysnapshot.ts +2 -10
  66. package/src/models/publicvisibilitytimeseries.ts +0 -4
  67. 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.11/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.11/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.11",
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.11 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,9 @@ 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(),
63518
63516
  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.")
63517
+ 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
+ visibility_score_rank: int().nullable().optional()
63521
63519
  });
63522
63520
  });
63523
63521
 
@@ -63627,7 +63625,7 @@ var init_visibilityCurrentRetrieve2 = __esm(() => {
63627
63625
  name: "visibility-current-retrieve",
63628
63626
  description: `Retrieve Current Visibility
63629
63627
 
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\`.`,
63628
+ 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
63629
  annotations: {
63632
63630
  title: "",
63633
63631
  destructiveHint: false,
@@ -63660,10 +63658,8 @@ var init_publiccompetitorrow = __esm(() => {
63660
63658
  company: PublicCompany$zodSchema,
63661
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."),
63662
63660
  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.")
63661
+ 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
+ visibility_score_rank: int().nullable().optional()
63667
63663
  });
63668
63664
  });
63669
63665
 
@@ -63699,8 +63695,7 @@ var init_publicvisibilitybyplatform = __esm(() => {
63699
63695
  PublicVisibilityByPlatform$zodSchema = object({
63700
63696
  citations: record(string2(), array(PublicSeriesPoint$zodSchema)).optional().describe("Owned-domain citation counts keyed by platform_id."),
63701
63697
  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.")
63698
+ recommendation_score: record(string2(), array(PublicSeriesPoint$zodSchema)).optional().describe("Recommendation score series keyed by `platform_id`.")
63704
63699
  });
63705
63700
  });
63706
63701
 
@@ -63726,11 +63721,9 @@ var init_publicvisibilitysnapshot = __esm(() => {
63726
63721
  average_position_rank: int().nullable().optional(),
63727
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."),
63728
63723
  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(),
63731
63724
  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.")
63725
+ 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
+ visibility_score_rank: int().nullable().optional()
63734
63727
  });
63735
63728
  });
63736
63729
 
@@ -63740,8 +63733,7 @@ var init_publicvisibilitytimeseries = __esm(() => {
63740
63733
  init_zod();
63741
63734
  init_publicseriespoint();
63742
63735
  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.")
63736
+ recommendation_score: array(PublicSeriesPoint$zodSchema).optional()
63745
63737
  });
63746
63738
  });
63747
63739
 
@@ -63916,9 +63908,7 @@ var init_publicpromptvisibilitymetrics = __esm(() => {
63916
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."),
63917
63909
  recommendation_score_rank: int().nullable().optional(),
63918
63910
  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.")
63911
+ 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
63912
  });
63923
63913
  });
63924
63914
 
@@ -64084,7 +64074,7 @@ var init_visibilityPromptsRetrieve2 = __esm(() => {
64084
64074
  name: "visibility-prompts-retrieve",
64085
64075
  description: `Retrieve Prompt Visibility Report
64086
64076
 
64087
- Returns per-topic and per-prompt visibility metrics including score, rank, share of voice, average position, and citation counts.`,
64077
+ Returns per-topic and per-prompt visibility metrics including recommendation score, rank, visibility score, average position, and citation counts.`,
64088
64078
  annotations: {
64089
64079
  title: "",
64090
64080
  destructiveHint: false,
@@ -64116,7 +64106,7 @@ function createMCPServer(deps) {
64116
64106
  sizes: ["any"]
64117
64107
  }],
64118
64108
  name: "LightsageMcp",
64119
- version: "0.4.9"
64109
+ version: "0.4.11"
64120
64110
  });
64121
64111
  const getClient = deps.getSDK || (() => new LightsageMcpCore({
64122
64112
  security: deps.security,
@@ -64293,7 +64283,7 @@ Validates the API key and returns its organization ID, API key ID, scopes, and a
64293
64283
  },
64294
64284
  {
64295
64285
  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`."
64286
+ 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
64287
  },
64298
64288
  {
64299
64289
  name: "visibility-overview-retrieve",
@@ -64311,7 +64301,7 @@ Returns URL-level citation counts ranked from most to least cited. Results can b
64311
64301
  name: "visibility-prompts-retrieve",
64312
64302
  description: `Retrieve Prompt Visibility Report
64313
64303
 
64314
- Returns per-topic and per-prompt visibility metrics including score, rank, share of voice, average position, and citation counts.`
64304
+ Returns per-topic and per-prompt visibility metrics including recommendation score, rank, visibility score, average position, and citation counts.`
64315
64305
  },
64316
64306
  {
64317
64307
  name: "prompts-list",
@@ -64580,7 +64570,7 @@ Returns recorded attempts for an Agent Preference eval, newest first, each with
64580
64570
  name: "agents-list",
64581
64571
  description: `List Agents
64582
64572
 
64583
- Returns all runnable harness-and-model combinations as single agent IDs for use in eval runs.`
64573
+ Returns the harness-and-model combinations your plan can run, as single agent IDs for use in eval runs.`
64584
64574
  },
64585
64575
  {
64586
64576
  name: "repositories-list",
@@ -65540,7 +65530,7 @@ http_headers = { "lightsage-api-key-auth" = "YOUR_LIGHTSAGE_API_KEY_AUTH" }`;
65540
65530
  <h1>Instructions</h1>
65541
65531
  <p>One-click installation for Claude Desktop users</p>
65542
65532
  <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;">
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
65534
  \uD83D\uDCE5 Download MCP Bundle
65545
65535
  </a>
65546
65536
  </div>
@@ -68418,7 +68408,7 @@ var routes = buildRouteMap({
68418
68408
  var app = buildApplication(routes, {
68419
68409
  name: "mcp",
68420
68410
  versionInfo: {
68421
- currentVersion: "0.4.9"
68411
+ currentVersion: "0.4.11"
68422
68412
  }
68423
68413
  });
68424
68414
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -68426,5 +68416,5 @@ export {
68426
68416
  app
68427
68417
  };
68428
68418
 
68429
- //# debugId=212DEC1536F330DE64756E2164756E21
68419
+ //# debugId=FE09D50C9B6DB7EA64756E2164756E21
68430
68420
  //# sourceMappingURL=mcp-server.js.map