@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.
- package/README.md +2 -2
- package/bin/mcp-server.js +28 -18
- package/bin/mcp-server.js.map +15 -15
- package/esm/funcs/visibilityCurrentRetrieve.d.ts +1 -1
- package/esm/funcs/visibilityCurrentRetrieve.js +1 -1
- package/esm/landing-page.js +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/mcp-server/tools/visibilityCurrentRetrieve.js +1 -1
- package/esm/mcp-server/tools/visibilityCurrentRetrieve.js.map +1 -1
- package/esm/models/publiccompetitorrow.d.ts +2 -0
- package/esm/models/publiccompetitorrow.d.ts.map +1 -1
- package/esm/models/publiccompetitorrow.js +4 -2
- package/esm/models/publiccompetitorrow.js.map +1 -1
- package/esm/models/publiccurrentvisibilityresponse.d.ts +2 -0
- package/esm/models/publiccurrentvisibilityresponse.d.ts.map +1 -1
- package/esm/models/publiccurrentvisibilityresponse.js +4 -2
- package/esm/models/publiccurrentvisibilityresponse.js.map +1 -1
- package/esm/models/publicpromptvisibilitymetrics.d.ts +2 -0
- package/esm/models/publicpromptvisibilitymetrics.d.ts.map +1 -1
- package/esm/models/publicpromptvisibilitymetrics.js +4 -2
- package/esm/models/publicpromptvisibilitymetrics.js.map +1 -1
- package/esm/models/publicvisibilitybyplatform.d.ts +3 -0
- package/esm/models/publicvisibilitybyplatform.d.ts.map +1 -1
- package/esm/models/publicvisibilitybyplatform.js +2 -1
- package/esm/models/publicvisibilitybyplatform.js.map +1 -1
- package/esm/models/publicvisibilitysnapshot.d.ts +2 -0
- package/esm/models/publicvisibilitysnapshot.d.ts.map +1 -1
- package/esm/models/publicvisibilitysnapshot.js +4 -2
- package/esm/models/publicvisibilitysnapshot.js.map +1 -1
- package/esm/models/publicvisibilitytimeseries.d.ts +1 -0
- package/esm/models/publicvisibilitytimeseries.d.ts.map +1 -1
- package/esm/models/publicvisibilitytimeseries.js +2 -1
- package/esm/models/publicvisibilitytimeseries.js.map +1 -1
- package/esm/tool-names.js +1 -1
- package/esm/tool-names.js.map +1 -1
- package/package.json +3 -3
- package/src/funcs/visibilityCurrentRetrieve.ts +1 -1
- package/src/landing-page.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/visibilityCurrentRetrieve.ts +1 -1
- package/src/models/publiccompetitorrow.ts +10 -2
- package/src/models/publiccurrentvisibilityresponse.ts +10 -2
- package/src/models/publicpromptvisibilitymetrics.ts +10 -2
- package/src/models/publicvisibilitybyplatform.ts +8 -1
- package/src/models/publicvisibilitysnapshot.ts +10 -2
- package/src/models/publicvisibilitytimeseries.ts +5 -1
- package/src/tool-names.ts +1 -1
|
@@ -10,7 +10,7 @@ import { Result } from "../types/fp.js";
|
|
|
10
10
|
* Retrieve Current Visibility
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Returns
|
|
13
|
+
* 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`.
|
|
14
14
|
*/
|
|
15
15
|
export declare function visibilityCurrentRetrieve(client$: LightsageMcpCore, request?: V2VisibilityCurrentRetrieveRequest | undefined, options?: RequestOptions): APIPromise<Result<Response, APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
16
16
|
//# sourceMappingURL=visibilityCurrentRetrieve.d.ts.map
|
|
@@ -13,7 +13,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
13
13
|
* Retrieve Current Visibility
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
* Returns
|
|
16
|
+
* 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`.
|
|
17
17
|
*/
|
|
18
18
|
export function visibilityCurrentRetrieve(client$, request, options) {
|
|
19
19
|
return new APIPromise($do(client$, request, options));
|
package/esm/landing-page.js
CHANGED
|
@@ -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.4.
|
|
919
|
+
<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;">
|
|
920
920
|
📥 Download MCP Bundle
|
|
921
921
|
</a>
|
|
922
922
|
</div>
|
package/esm/lib/config.d.ts
CHANGED
|
@@ -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.4.
|
|
38
|
+
readonly sdkVersion: "0.4.9";
|
|
39
39
|
readonly genVersion: "2.943.0";
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/mcp-typescript 0.4.
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/mcp-typescript 0.4.9 2.943.0 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.4.
|
|
31
|
+
sdkVersion: "0.4.9",
|
|
32
32
|
genVersion: "2.943.0",
|
|
33
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.4.
|
|
33
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.4.9 2.943.0 1.0.0 @lightsage/mcp",
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=config.js.map
|
package/esm/mcp-server/server.js
CHANGED
|
@@ -12,7 +12,7 @@ export const tool$visibilityCurrentRetrieve = {
|
|
|
12
12
|
name: "visibility-current-retrieve",
|
|
13
13
|
description: `Retrieve Current Visibility
|
|
14
14
|
|
|
15
|
-
Returns
|
|
15
|
+
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\`.`,
|
|
16
16
|
annotations: {
|
|
17
17
|
"title": "",
|
|
18
18
|
"destructiveHint": false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visibilityCurrentRetrieve.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/visibilityCurrentRetrieve.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,4CAA4C,EAAE,MAAM,+CAA+C,CAAC;AAC7G,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,4CAA4C,CAAC,QAAQ,EAAE;CACjE,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAgC;IACzE,IAAI,EAAE,6BAA6B;IACnC,WAAW,EAAE;;
|
|
1
|
+
{"version":3,"file":"visibilityCurrentRetrieve.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/visibilityCurrentRetrieve.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,4CAA4C,EAAE,MAAM,+CAA+C,CAAC;AAC7G,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,4CAA4C,CAAC,QAAQ,EAAE;CACjE,CAAC;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAgC;IACzE,IAAI,EAAE,6BAA6B;IACnC,WAAW,EAAE;;0MAE2L;IACxM,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;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,yBAAyB,CAC9C,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,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"}
|
|
@@ -2,6 +2,8 @@ import * as z from "zod";
|
|
|
2
2
|
import { PublicCompany } from "./publiccompany.js";
|
|
3
3
|
export type PublicCompetitorRow = {
|
|
4
4
|
company: PublicCompany;
|
|
5
|
+
recommendation_score?: number | null | undefined;
|
|
6
|
+
recommendation_score_rank?: number | null | undefined;
|
|
5
7
|
visibility_score?: number | null | undefined;
|
|
6
8
|
visibility_score_rank?: number | null | undefined;
|
|
7
9
|
share_of_voice?: number | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publiccompetitorrow.d.ts","sourceRoot":"","sources":["../../src/models/publiccompetitorrow.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,aAAa,EAA2B,MAAM,oBAAoB,CAAC;AAE5E,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,aAAa,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClD,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChD,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACnD,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"publiccompetitorrow.d.ts","sourceRoot":"","sources":["../../src/models/publiccompetitorrow.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,aAAa,EAA2B,MAAM,oBAAoB,CAAC;AAE5E,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,aAAa,CAAC;IACvB,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjD,yBAAyB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtD,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClD,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChD,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACnD,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAuBrE,CAAC"}
|
|
@@ -9,9 +9,11 @@ export const PublicCompetitorRow$zodSchema = z
|
|
|
9
9
|
average_position: z.number().nullable().optional().describe("Mean mention position in AI responses; 1 is first and lower is better. 0 when never mentioned."),
|
|
10
10
|
average_position_rank: z.int().nullable().optional().describe("Companies with an `average_position` of 0 rank last."),
|
|
11
11
|
company: PublicCompany$zodSchema,
|
|
12
|
+
recommendation_score: z.number().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."),
|
|
13
|
+
recommendation_score_rank: z.int().nullable().optional(),
|
|
12
14
|
share_of_voice: z.number().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."),
|
|
13
15
|
share_of_voice_rank: z.int().nullable().optional(),
|
|
14
|
-
visibility_score: z.number().nullable().optional().describe("
|
|
15
|
-
visibility_score_rank: z.int().nullable().optional(),
|
|
16
|
+
visibility_score: z.number().nullable().optional().describe("Deprecated: use `recommendation_score`. Same value; this field will be removed in a future release."),
|
|
17
|
+
visibility_score_rank: z.int().nullable().optional().describe("Deprecated: use `recommendation_score_rank`. Same value; this field will be removed in a future release."),
|
|
16
18
|
});
|
|
17
19
|
//# sourceMappingURL=publiccompetitorrow.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publiccompetitorrow.js","sourceRoot":"","sources":["../../src/models/publiccompetitorrow.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAiB,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"publiccompetitorrow.js","sourceRoot":"","sources":["../../src/models/publiccompetitorrow.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAiB,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAc5E,MAAM,CAAC,MAAM,6BAA6B,GAAmC,CAAC;KAC3E,MAAM,CAAC;IACN,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACzD,gGAAgG,CACjG;IACD,qBAAqB,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC3D,sDAAsD,CACvD;IACD,OAAO,EAAE,uBAAuB;IAChC,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC7D,kPAAkP,CACnP;IACD,yBAAyB,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACxD,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACvD,sNAAsN,CACvN;IACD,mBAAmB,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAClD,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACzD,qGAAqG,CACtG;IACD,qBAAqB,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC3D,0GAA0G,CAC3G;CACF,CAAC,CAAC"}
|
|
@@ -2,6 +2,8 @@ import * as z from "zod";
|
|
|
2
2
|
import { PublicCompany } from "./publiccompany.js";
|
|
3
3
|
export type PublicCurrentVisibilityResponse = {
|
|
4
4
|
company: PublicCompany;
|
|
5
|
+
recommendation_score?: number | null | undefined;
|
|
6
|
+
recommendation_score_rank?: number | null | undefined;
|
|
5
7
|
visibility_score?: number | null | undefined;
|
|
6
8
|
visibility_score_rank?: number | null | undefined;
|
|
7
9
|
share_of_voice?: number | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publiccurrentvisibilityresponse.d.ts","sourceRoot":"","sources":["../../src/models/publiccurrentvisibilityresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,aAAa,EAA2B,MAAM,oBAAoB,CAAC;AAE5E,MAAM,MAAM,+BAA+B,GAAG;IAC5C,OAAO,EAAE,aAAa,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClD,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChD,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClD,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,mBAAmB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC1C,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,+BAA+B,
|
|
1
|
+
{"version":3,"file":"publiccurrentvisibilityresponse.d.ts","sourceRoot":"","sources":["../../src/models/publiccurrentvisibilityresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,aAAa,EAA2B,MAAM,oBAAoB,CAAC;AAE5E,MAAM,MAAM,+BAA+B,GAAG;IAC5C,OAAO,EAAE,aAAa,CAAC;IACvB,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjD,yBAAyB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtD,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClD,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChD,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClD,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,mBAAmB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC1C,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,+BAA+B,CA4B/B,CAAC"}
|
|
@@ -12,10 +12,12 @@ export const PublicCurrentVisibilityResponse$zodSchema = z.object({
|
|
|
12
12
|
date: z.string().nullable().optional().describe("Latest prompt-run date in the range."),
|
|
13
13
|
end_date: z.string(),
|
|
14
14
|
has_data: z.boolean(),
|
|
15
|
+
recommendation_score: z.number().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."),
|
|
16
|
+
recommendation_score_rank: z.int().nullable().optional(),
|
|
15
17
|
share_of_voice: z.number().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."),
|
|
16
18
|
share_of_voice_rank: z.int().nullable().optional(),
|
|
17
19
|
start_date: z.string(),
|
|
18
|
-
visibility_score: z.number().nullable().optional().describe("
|
|
19
|
-
visibility_score_rank: z.int().nullable().optional(),
|
|
20
|
+
visibility_score: z.number().nullable().optional().describe("Deprecated: use `recommendation_score`. Same value; this field will be removed in a future release."),
|
|
21
|
+
visibility_score_rank: z.int().nullable().optional().describe("Deprecated: use `recommendation_score_rank`. Same value; this field will be removed in a future release."),
|
|
20
22
|
});
|
|
21
23
|
//# sourceMappingURL=publiccurrentvisibilityresponse.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publiccurrentvisibilityresponse.js","sourceRoot":"","sources":["../../src/models/publiccurrentvisibilityresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAiB,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"publiccurrentvisibilityresponse.js","sourceRoot":"","sources":["../../src/models/publiccurrentvisibilityresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAiB,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAmB5E,MAAM,CAAC,MA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AC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
export type PublicPromptVisibilityMetrics = {
|
|
3
|
+
recommendation_score?: number | null | undefined;
|
|
4
|
+
recommendation_score_rank?: number | null | undefined;
|
|
3
5
|
visibility_score?: number | null | undefined;
|
|
4
6
|
visibility_score_rank?: number | null | undefined;
|
|
5
7
|
share_of_voice?: number | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publicpromptvisibilitymetrics.d.ts","sourceRoot":"","sources":["../../src/models/publicpromptvisibilitymetrics.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClD,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,6BAA6B,
|
|
1
|
+
{"version":3,"file":"publicpromptvisibilitymetrics.d.ts","sourceRoot":"","sources":["../../src/models/publicpromptvisibilitymetrics.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjD,yBAAyB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtD,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClD,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,6BAA6B,CAsB7B,CAAC"}
|
|
@@ -6,9 +6,11 @@ import * as z from "zod";
|
|
|
6
6
|
export const PublicPromptVisibilityMetrics$zodSchema = z.object({
|
|
7
7
|
average_position: z.number().nullable().optional().describe("Mean mention position in AI responses; 1 is first and lower is better. 0 when runs produced no mentions."),
|
|
8
8
|
citation_count: z.int().default(0).describe("Owned-domain citations only."),
|
|
9
|
+
recommendation_score: z.number().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."),
|
|
10
|
+
recommendation_score_rank: z.int().nullable().optional(),
|
|
9
11
|
run_count: z.int().default(0).describe("One per prompt, platform, and run date."),
|
|
10
12
|
share_of_voice: z.number().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."),
|
|
11
|
-
visibility_score: z.number().nullable().optional().describe("
|
|
12
|
-
visibility_score_rank: z.int().nullable().optional(),
|
|
13
|
+
visibility_score: z.number().nullable().optional().describe("Deprecated: use `recommendation_score`. Same value; this field will be removed in a future release."),
|
|
14
|
+
visibility_score_rank: z.int().nullable().optional().describe("Deprecated: use `recommendation_score_rank`. Same value; this field will be removed in a future release."),
|
|
13
15
|
});
|
|
14
16
|
//# sourceMappingURL=publicpromptvisibilitymetrics.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publicpromptvisibilitymetrics.js","sourceRoot":"","sources":["../../src/models/publicpromptvisibilitymetrics.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"publicpromptvisibilitymetrics.js","sourceRoot":"","sources":["../../src/models/publicpromptvisibilitymetrics.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAazB,MAAM,CAAC,MAAM,uCAAuC,GAEhD,CAAC,CAAC,MAAM,CAAC;IACX,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACzD,0GAA0G,CAC3G;IACD,cAAc,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IAC3E,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC7D,4NAA4N,CAC7N;IACD,yBAAyB,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACxD,SAAS,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,QAAQ,CACpC,yCAAyC,CAC1C;IACD,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACvD,wJAAwJ,CACzJ;IACD,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACzD,qGAAqG,CACtG;IACD,qBAAqB,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC3D,0GAA0G,CAC3G;CACF,CAAC,CAAC"}
|
|
@@ -3,6 +3,9 @@ import { PublicPlatformRef } from "./publicplatformref.js";
|
|
|
3
3
|
import { PublicSeriesPoint } from "./publicseriespoint.js";
|
|
4
4
|
export type PublicVisibilityByPlatform = {
|
|
5
5
|
platforms?: Array<PublicPlatformRef> | undefined;
|
|
6
|
+
recommendation_score?: {
|
|
7
|
+
[k: string]: Array<PublicSeriesPoint>;
|
|
8
|
+
} | undefined;
|
|
6
9
|
visibility_score?: {
|
|
7
10
|
[k: string]: Array<PublicSeriesPoint>;
|
|
8
11
|
} | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publicvisibilitybyplatform.d.ts","sourceRoot":"","sources":["../../src/models/publicvisibilitybyplatform.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAEhC,MAAM,MAAM,0BAA0B,GAAG;IACvC,SAAS,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;IACjD,gBAAgB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,iBAAiB,CAAC,CAAA;KAAE,GAAG,SAAS,CAAC;IACzE,SAAS,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,iBAAiB,CAAC,CAAA;KAAE,GAAG,SAAS,CAAC;CACnE,CAAC;AAEF,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,0BAA0B,
|
|
1
|
+
{"version":3,"file":"publicvisibilitybyplatform.d.ts","sourceRoot":"","sources":["../../src/models/publicvisibilitybyplatform.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAEhC,MAAM,MAAM,0BAA0B,GAAG;IACvC,SAAS,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;IACjD,oBAAoB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,iBAAiB,CAAC,CAAA;KAAE,GAAG,SAAS,CAAC;IAC7E,gBAAgB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,iBAAiB,CAAC,CAAA;KAAE,GAAG,SAAS,CAAC;IACzE,SAAS,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,iBAAiB,CAAC,CAAA;KAAE,GAAG,SAAS,CAAC;CACnE,CAAC;AAEF,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,0BAA0B,CAa1B,CAAC"}
|
|
@@ -9,7 +9,8 @@ export const PublicVisibilityByPlatform$zodSchema = z.object({
|
|
|
9
9
|
citations: z.record(z.string(), z.array(PublicSeriesPoint$zodSchema))
|
|
10
10
|
.optional().describe("Owned-domain citation counts keyed by platform_id."),
|
|
11
11
|
platforms: z.array(PublicPlatformRef$zodSchema).optional(),
|
|
12
|
+
recommendation_score: z.record(z.string(), z.array(PublicSeriesPoint$zodSchema)).optional().describe("Recommendation score series keyed by `platform_id`."),
|
|
12
13
|
visibility_score: z.record(z.string(), z.array(PublicSeriesPoint$zodSchema))
|
|
13
|
-
.optional().describe("
|
|
14
|
+
.optional().describe("Deprecated: use `recommendation_score`. Same value; this field will be removed in a future release."),
|
|
14
15
|
});
|
|
15
16
|
//# sourceMappingURL=publicvisibilitybyplatform.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publicvisibilitybyplatform.js","sourceRoot":"","sources":["../../src/models/publicvisibilitybyplatform.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"publicvisibilitybyplatform.js","sourceRoot":"","sources":["../../src/models/publicvisibilitybyplatform.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAShC,MAAM,CAAC,MAAM,oCAAoC,GAE7C,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC;SAClE,QAAQ,EAAE,CAAC,QAAQ,CAAC,oDAAoD,CAAC;IAC5E,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC,QAAQ,EAAE;IAC1D,oBAAoB,EAAE,CAAC,CAAC,MAAM,CAC5B,CAAC,CAAC,MAAM,EAAE,EACV,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,CACrC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,qDAAqD,CAAC;IAC5E,gBAAgB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC;SACzE,QAAQ,EAAE,CAAC,QAAQ,CAClB,qGAAqG,CACtG;CACJ,CAAC,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
export type PublicVisibilitySnapshot = {
|
|
3
|
+
recommendation_score?: number | null | undefined;
|
|
4
|
+
recommendation_score_rank?: number | null | undefined;
|
|
3
5
|
visibility_score?: number | null | undefined;
|
|
4
6
|
visibility_score_rank?: number | null | undefined;
|
|
5
7
|
share_of_voice?: number | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publicvisibilitysnapshot.d.ts","sourceRoot":"","sources":["../../src/models/publicvisibilitysnapshot.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,wBAAwB,GAAG;IACrC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClD,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChD,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClD,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,wBAAwB,
|
|
1
|
+
{"version":3,"file":"publicvisibilitysnapshot.d.ts","sourceRoot":"","sources":["../../src/models/publicvisibilitysnapshot.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,wBAAwB,GAAG;IACrC,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjD,yBAAyB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtD,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClD,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChD,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClD,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,wBAAwB,CAuBxB,CAAC"}
|
|
@@ -6,10 +6,12 @@ import * as z from "zod";
|
|
|
6
6
|
export const PublicVisibilitySnapshot$zodSchema = z.object({
|
|
7
7
|
average_position: z.number().nullable().optional().describe("Mean mention position in AI responses; 1 is first and lower is better."),
|
|
8
8
|
average_position_rank: z.int().nullable().optional(),
|
|
9
|
+
recommendation_score: z.number().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."),
|
|
10
|
+
recommendation_score_rank: z.int().nullable().optional(),
|
|
9
11
|
share_of_voice: z.number().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."),
|
|
10
12
|
share_of_voice_rank: z.int().nullable().optional(),
|
|
11
13
|
total_citations: z.int().default(0).describe("Owned-domain citations across all platforms; 0, not `null`, with no prompt runs."),
|
|
12
|
-
visibility_score: z.number().nullable().optional().describe("
|
|
13
|
-
visibility_score_rank: z.int().nullable().optional(),
|
|
14
|
+
visibility_score: z.number().nullable().optional().describe("Deprecated: use `recommendation_score`. Same value; this field will be removed in a future release."),
|
|
15
|
+
visibility_score_rank: z.int().nullable().optional().describe("Deprecated: use `recommendation_score_rank`. Same value; this field will be removed in a future release."),
|
|
14
16
|
});
|
|
15
17
|
//# sourceMappingURL=publicvisibilitysnapshot.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publicvisibilitysnapshot.js","sourceRoot":"","sources":["../../src/models/publicvisibilitysnapshot.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"publicvisibilitysnapshot.js","sourceRoot":"","sources":["../../src/models/publicvisibilitysnapshot.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAczB,MAAM,CAAC,MAAM,kCAAkC,GAE3C,CAAC,CAAC,MAAM,CAAC;IACX,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACzD,wEAAwE,CACzE;IACD,qBAAqB,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACpD,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC7D,4NAA4N,CAC7N;IACD,yBAAyB,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACxD,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACvD,wJAAwJ,CACzJ;IACD,mBAAmB,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAClD,eAAe,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,QAAQ,CAC1C,kFAAkF,CACnF;IACD,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACzD,qGAAqG,CACtG;IACD,qBAAqB,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC3D,0GAA0G,CAC3G;CACF,CAAC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { PublicSeriesPoint } from "./publicseriespoint.js";
|
|
3
3
|
export type PublicVisibilityTimeseries = {
|
|
4
|
+
recommendation_score?: Array<PublicSeriesPoint> | undefined;
|
|
4
5
|
visibility_score?: Array<PublicSeriesPoint> | undefined;
|
|
5
6
|
};
|
|
6
7
|
export declare const PublicVisibilityTimeseries$zodSchema: z.ZodType<PublicVisibilityTimeseries>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publicvisibilitytimeseries.d.ts","sourceRoot":"","sources":["../../src/models/publicvisibilitytimeseries.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAEhC,MAAM,MAAM,0BAA0B,GAAG;IACvC,gBAAgB,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;CACzD,CAAC;AAEF,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,0BAA0B,
|
|
1
|
+
{"version":3,"file":"publicvisibilitytimeseries.d.ts","sourceRoot":"","sources":["../../src/models/publicvisibilitytimeseries.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAEhC,MAAM,MAAM,0BAA0B,GAAG;IACvC,oBAAoB,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;IAC5D,gBAAgB,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;CACzD,CAAC;AAEF,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,0BAA0B,CAM1B,CAAC"}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { PublicSeriesPoint$zodSchema, } from "./publicseriespoint.js";
|
|
7
7
|
export const PublicVisibilityTimeseries$zodSchema = z.object({
|
|
8
|
-
|
|
8
|
+
recommendation_score: z.array(PublicSeriesPoint$zodSchema).optional(),
|
|
9
|
+
visibility_score: z.array(PublicSeriesPoint$zodSchema).optional().describe("Deprecated: use `recommendation_score`. Same value; this field will be removed in a future release."),
|
|
9
10
|
});
|
|
10
11
|
//# sourceMappingURL=publicvisibilitytimeseries.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publicvisibilitytimeseries.js","sourceRoot":"","sources":["../../src/models/publicvisibilitytimeseries.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"publicvisibilitytimeseries.js","sourceRoot":"","sources":["../../src/models/publicvisibilitytimeseries.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAOhC,MAAM,CAAC,MAAM,oCAAoC,GAE7C,CAAC,CAAC,MAAM,CAAC;IACX,oBAAoB,EAAE,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC,QAAQ,EAAE;IACrE,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACxE,qGAAqG,CACtG;CACF,CAAC,CAAC"}
|
package/esm/tool-names.js
CHANGED
|
@@ -10,7 +10,7 @@ export const toolNames = [
|
|
|
10
10
|
},
|
|
11
11
|
{
|
|
12
12
|
"name": "visibility-current-retrieve",
|
|
13
|
-
"description": "Retrieve Current Visibility\n\nReturns
|
|
13
|
+
"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`."
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
"name": "visibility-overview-retrieve",
|
package/esm/tool-names.js.map
CHANGED
|
@@ -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,YAAY;QACpB,aAAa,EAAE,6GAA6G;KAC7H;IACD;QACE,MAAM,EAAE,wBAAwB;QAChC,aAAa,EAAE,0HAA0H;KAC1I;IACD;QACE,MAAM,EAAE,6BAA6B;QACrC,aAAa,EAAE,
|
|
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,YAAY;QACpB,aAAa,EAAE,6GAA6G;KAC7H;IACD;QACE,MAAM,EAAE,wBAAwB;QAChC,aAAa,EAAE,0HAA0H;KAC1I;IACD;QACE,MAAM,EAAE,6BAA6B;QACrC,aAAa,EAAE,wOAAwO;KACxP;IACD;QACE,MAAM,EAAE,8BAA8B;QACtC,aAAa,EAAE,oKAAoK;KACpL;IACD;QACE,MAAM,EAAE,2BAA2B;QACnC,aAAa,EAAE,iKAAiK;KACjL;IACD;QACE,MAAM,EAAE,6BAA6B;QACrC,aAAa,EAAE,wKAAwK;KACxL;IACD;QACE,MAAM,EAAE,cAAc;QACtB,aA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package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightsage/mcp",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.9",
|
|
4
4
|
"author": "Speakeasy",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
},
|
|
31
31
|
"overrides": {
|
|
32
32
|
"@modelcontextprotocol/sdk": "1.26.0",
|
|
33
|
-
"hono": ">=4.
|
|
33
|
+
"hono": ">=4.13.7 <5.0.0",
|
|
34
34
|
"fast-uri": ">=4.1.3 <5.0.0",
|
|
35
35
|
"js-yaml": ">=4.3.2 <5.0.0",
|
|
36
|
-
"ip-address": ">=10.
|
|
36
|
+
"ip-address": ">=10.7.1 <11.0.0",
|
|
37
37
|
"nanoid@^5.0.0": ">=5.1.16 <6.0.0",
|
|
38
38
|
"brace-expansion@^2.0.0": ">=2.1.4 <3.0.0",
|
|
39
39
|
"body-parser": ">=2.3.0 <3.0.0",
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Retrieve Current Visibility
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
-
* Returns
|
|
33
|
+
* 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`.
|
|
34
34
|
*/
|
|
35
35
|
export function visibilityCurrentRetrieve(
|
|
36
36
|
client$: LightsageMcpCore,
|
package/src/landing-page.ts
CHANGED
|
@@ -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.4.
|
|
934
|
+
<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;">
|
|
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.4.
|
|
69
|
+
sdkVersion: "0.4.9",
|
|
70
70
|
genVersion: "2.943.0",
|
|
71
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.4.
|
|
71
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.4.9 2.943.0 1.0.0 @lightsage/mcp",
|
|
72
72
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -15,7 +15,7 @@ export const tool$visibilityCurrentRetrieve: ToolDefinition<typeof args> = {
|
|
|
15
15
|
name: "visibility-current-retrieve",
|
|
16
16
|
description: `Retrieve Current Visibility
|
|
17
17
|
|
|
18
|
-
Returns
|
|
18
|
+
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\`.`,
|
|
19
19
|
annotations: {
|
|
20
20
|
"title": "",
|
|
21
21
|
"destructiveHint": false,
|
|
@@ -8,6 +8,8 @@ import { PublicCompany, PublicCompany$zodSchema } from "./publiccompany.js";
|
|
|
8
8
|
|
|
9
9
|
export type PublicCompetitorRow = {
|
|
10
10
|
company: PublicCompany;
|
|
11
|
+
recommendation_score?: number | null | undefined;
|
|
12
|
+
recommendation_score_rank?: number | null | undefined;
|
|
11
13
|
visibility_score?: number | null | undefined;
|
|
12
14
|
visibility_score_rank?: number | null | undefined;
|
|
13
15
|
share_of_voice?: number | null | undefined;
|
|
@@ -25,12 +27,18 @@ export const PublicCompetitorRow$zodSchema: z.ZodType<PublicCompetitorRow> = z
|
|
|
25
27
|
"Companies with an `average_position` of 0 rank last.",
|
|
26
28
|
),
|
|
27
29
|
company: PublicCompany$zodSchema,
|
|
30
|
+
recommendation_score: z.number().nullable().optional().describe(
|
|
31
|
+
"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.",
|
|
32
|
+
),
|
|
33
|
+
recommendation_score_rank: z.int().nullable().optional(),
|
|
28
34
|
share_of_voice: z.number().nullable().optional().describe(
|
|
29
35
|
"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.",
|
|
30
36
|
),
|
|
31
37
|
share_of_voice_rank: z.int().nullable().optional(),
|
|
32
38
|
visibility_score: z.number().nullable().optional().describe(
|
|
33
|
-
"
|
|
39
|
+
"Deprecated: use `recommendation_score`. Same value; this field will be removed in a future release.",
|
|
40
|
+
),
|
|
41
|
+
visibility_score_rank: z.int().nullable().optional().describe(
|
|
42
|
+
"Deprecated: use `recommendation_score_rank`. Same value; this field will be removed in a future release.",
|
|
34
43
|
),
|
|
35
|
-
visibility_score_rank: z.int().nullable().optional(),
|
|
36
44
|
});
|
|
@@ -8,6 +8,8 @@ import { PublicCompany, PublicCompany$zodSchema } from "./publiccompany.js";
|
|
|
8
8
|
|
|
9
9
|
export type PublicCurrentVisibilityResponse = {
|
|
10
10
|
company: PublicCompany;
|
|
11
|
+
recommendation_score?: number | null | undefined;
|
|
12
|
+
recommendation_score_rank?: number | null | undefined;
|
|
11
13
|
visibility_score?: number | null | undefined;
|
|
12
14
|
visibility_score_rank?: number | null | undefined;
|
|
13
15
|
share_of_voice?: number | null | undefined;
|
|
@@ -35,13 +37,19 @@ export const PublicCurrentVisibilityResponse$zodSchema: z.ZodType<
|
|
|
35
37
|
),
|
|
36
38
|
end_date: z.string(),
|
|
37
39
|
has_data: z.boolean(),
|
|
40
|
+
recommendation_score: z.number().nullable().optional().describe(
|
|
41
|
+
"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.",
|
|
42
|
+
),
|
|
43
|
+
recommendation_score_rank: z.int().nullable().optional(),
|
|
38
44
|
share_of_voice: z.number().nullable().optional().describe(
|
|
39
45
|
"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.",
|
|
40
46
|
),
|
|
41
47
|
share_of_voice_rank: z.int().nullable().optional(),
|
|
42
48
|
start_date: z.string(),
|
|
43
49
|
visibility_score: z.number().nullable().optional().describe(
|
|
44
|
-
"
|
|
50
|
+
"Deprecated: use `recommendation_score`. Same value; this field will be removed in a future release.",
|
|
51
|
+
),
|
|
52
|
+
visibility_score_rank: z.int().nullable().optional().describe(
|
|
53
|
+
"Deprecated: use `recommendation_score_rank`. Same value; this field will be removed in a future release.",
|
|
45
54
|
),
|
|
46
|
-
visibility_score_rank: z.int().nullable().optional(),
|
|
47
55
|
});
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
import * as z from "zod";
|
|
7
7
|
|
|
8
8
|
export type PublicPromptVisibilityMetrics = {
|
|
9
|
+
recommendation_score?: number | null | undefined;
|
|
10
|
+
recommendation_score_rank?: number | null | undefined;
|
|
9
11
|
visibility_score?: number | null | undefined;
|
|
10
12
|
visibility_score_rank?: number | null | undefined;
|
|
11
13
|
share_of_voice?: number | null | undefined;
|
|
@@ -21,6 +23,10 @@ export const PublicPromptVisibilityMetrics$zodSchema: z.ZodType<
|
|
|
21
23
|
"Mean mention position in AI responses; 1 is first and lower is better. 0 when runs produced no mentions.",
|
|
22
24
|
),
|
|
23
25
|
citation_count: z.int().default(0).describe("Owned-domain citations only."),
|
|
26
|
+
recommendation_score: z.number().nullable().optional().describe(
|
|
27
|
+
"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.",
|
|
28
|
+
),
|
|
29
|
+
recommendation_score_rank: z.int().nullable().optional(),
|
|
24
30
|
run_count: z.int().default(0).describe(
|
|
25
31
|
"One per prompt, platform, and run date.",
|
|
26
32
|
),
|
|
@@ -28,7 +34,9 @@ export const PublicPromptVisibilityMetrics$zodSchema: z.ZodType<
|
|
|
28
34
|
"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.",
|
|
29
35
|
),
|
|
30
36
|
visibility_score: z.number().nullable().optional().describe(
|
|
31
|
-
"
|
|
37
|
+
"Deprecated: use `recommendation_score`. Same value; this field will be removed in a future release.",
|
|
38
|
+
),
|
|
39
|
+
visibility_score_rank: z.int().nullable().optional().describe(
|
|
40
|
+
"Deprecated: use `recommendation_score_rank`. Same value; this field will be removed in a future release.",
|
|
32
41
|
),
|
|
33
|
-
visibility_score_rank: z.int().nullable().optional(),
|
|
34
42
|
});
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
|
|
16
16
|
export type PublicVisibilityByPlatform = {
|
|
17
17
|
platforms?: Array<PublicPlatformRef> | undefined;
|
|
18
|
+
recommendation_score?: { [k: string]: Array<PublicSeriesPoint> } | undefined;
|
|
18
19
|
visibility_score?: { [k: string]: Array<PublicSeriesPoint> } | undefined;
|
|
19
20
|
citations?: { [k: string]: Array<PublicSeriesPoint> } | undefined;
|
|
20
21
|
};
|
|
@@ -25,6 +26,12 @@ export const PublicVisibilityByPlatform$zodSchema: z.ZodType<
|
|
|
25
26
|
citations: z.record(z.string(), z.array(PublicSeriesPoint$zodSchema))
|
|
26
27
|
.optional().describe("Owned-domain citation counts keyed by platform_id."),
|
|
27
28
|
platforms: z.array(PublicPlatformRef$zodSchema).optional(),
|
|
29
|
+
recommendation_score: z.record(
|
|
30
|
+
z.string(),
|
|
31
|
+
z.array(PublicSeriesPoint$zodSchema),
|
|
32
|
+
).optional().describe("Recommendation score series keyed by `platform_id`."),
|
|
28
33
|
visibility_score: z.record(z.string(), z.array(PublicSeriesPoint$zodSchema))
|
|
29
|
-
.optional().describe(
|
|
34
|
+
.optional().describe(
|
|
35
|
+
"Deprecated: use `recommendation_score`. Same value; this field will be removed in a future release.",
|
|
36
|
+
),
|
|
30
37
|
});
|