@reddoorla/maintenance 0.88.2 → 0.88.3
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/dist/{blux-DN4MI532.js → blux-EATHOHKK.js} +5 -5
- package/dist/{chunk-KMCZA7CH.js → chunk-6UCVWYDA.js} +4 -4
- package/dist/{chunk-7TMWBXX7.js → chunk-CEW5PEHZ.js} +10 -3
- package/dist/{chunk-7TMWBXX7.js.map → chunk-CEW5PEHZ.js.map} +1 -1
- package/dist/{chunk-ANJNTAMM.js → chunk-WPL5GERE.js} +3 -1
- package/dist/{chunk-A2UNJIKH.js → chunk-XKDCR4UE.js} +6 -3
- package/dist/chunk-XKDCR4UE.js.map +1 -0
- package/dist/{chunk-K6SLF6GI.js → chunk-XSOINOPY.js} +4 -4
- package/dist/cli/bin.js +13 -10
- package/dist/cli/bin.js.map +1 -1
- package/dist/cli/commands/audit.js +2 -2
- package/dist/{db-V6UIS433.js → db-DXUUAMXT.js} +2 -2
- package/dist/{digest-2JEAEJK6.js → digest-NBLECFM7.js} +65 -8
- package/dist/digest-NBLECFM7.js.map +1 -0
- package/dist/digest-collectors-NM7WUWQP.js +50 -0
- package/dist/digest-state-3KHZF7GD.js +50 -0
- package/dist/digest-state-3KHZF7GD.js.map +1 -0
- package/dist/{email-SL7464YI.js → email-FMMEUPX6.js} +3 -3
- package/dist/{github-signals-GWGCKEE2.js → github-signals-DB25UWY4.js} +3 -3
- package/dist/index.d.ts +3 -0
- package/dist/index.js +12 -11
- package/dist/index.js.map +1 -1
- package/dist/{init-FGTYNGUI.js → init-32AWPS7A.js} +3 -3
- package/dist/{launch-5H7LPEGP.js → launch-52WUE4TZ.js} +3 -3
- package/dist/{pipeline-WYTXSLHX.js → pipeline-YIBIQ7XK.js} +2 -2
- package/dist/{prismic-models-NJN5JORF.js → prismic-models-IJWZW2EO.js} +2 -2
- package/dist/prospect/types.d.ts +19 -0
- package/dist/{prospect-audit-JMBRVXSG.js → prospect-audit-WJQI7V5V.js} +4 -4
- package/dist/{render-VX72AESY.js → render-CVKE7IWC.js} +3 -3
- package/dist/{report-TALY5P3L.js → report-2LM2SX67.js} +5 -5
- package/dist/{selftest-NZTR4SM2.js → selftest-DIZ5JD2X.js} +2 -2
- package/dist/{write-audits-to-airtable-OBHGR7DQ.js → write-audits-to-airtable-OPBJXGS4.js} +3 -3
- package/dist/write-audits-to-airtable-OPBJXGS4.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-A2UNJIKH.js.map +0 -1
- package/dist/digest-2JEAEJK6.js.map +0 -1
- package/dist/digest-state-CRZRNGDI.js +0 -25
- package/dist/digest-state-CRZRNGDI.js.map +0 -1
- /package/dist/{blux-DN4MI532.js.map → blux-EATHOHKK.js.map} +0 -0
- /package/dist/{chunk-KMCZA7CH.js.map → chunk-6UCVWYDA.js.map} +0 -0
- /package/dist/{chunk-ANJNTAMM.js.map → chunk-WPL5GERE.js.map} +0 -0
- /package/dist/{chunk-K6SLF6GI.js.map → chunk-XSOINOPY.js.map} +0 -0
- /package/dist/{db-V6UIS433.js.map → db-DXUUAMXT.js.map} +0 -0
- /package/dist/{pipeline-WYTXSLHX.js.map → digest-collectors-NM7WUWQP.js.map} +0 -0
- /package/dist/{email-SL7464YI.js.map → email-FMMEUPX6.js.map} +0 -0
- /package/dist/{github-signals-GWGCKEE2.js.map → github-signals-DB25UWY4.js.map} +0 -0
- /package/dist/{init-FGTYNGUI.js.map → init-32AWPS7A.js.map} +0 -0
- /package/dist/{launch-5H7LPEGP.js.map → launch-52WUE4TZ.js.map} +0 -0
- /package/dist/{render-VX72AESY.js.map → pipeline-YIBIQ7XK.js.map} +0 -0
- /package/dist/{prismic-models-NJN5JORF.js.map → prismic-models-IJWZW2EO.js.map} +0 -0
- /package/dist/{prospect-audit-JMBRVXSG.js.map → prospect-audit-WJQI7V5V.js.map} +0 -0
- /package/dist/{write-audits-to-airtable-OBHGR7DQ.js.map → render-CVKE7IWC.js.map} +0 -0
- /package/dist/{report-TALY5P3L.js.map → report-2LM2SX67.js.map} +0 -0
- /package/dist/{selftest-NZTR4SM2.js.map → selftest-DIZ5JD2X.js.map} +0 -0
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
frozenPageCustomType,
|
|
5
5
|
makeIsMapMount
|
|
6
6
|
} from "./chunk-DRDAEELJ.js";
|
|
7
|
-
import {
|
|
8
|
-
assetRef,
|
|
9
|
-
richText
|
|
10
|
-
} from "./chunk-UWJZXL2D.js";
|
|
11
7
|
import {
|
|
12
8
|
CDN_HOSTS,
|
|
13
9
|
collectAssetUrls
|
|
14
10
|
} from "./chunk-SL24DCGC.js";
|
|
11
|
+
import {
|
|
12
|
+
assetRef,
|
|
13
|
+
richText
|
|
14
|
+
} from "./chunk-UWJZXL2D.js";
|
|
15
15
|
|
|
16
16
|
// src/cli/commands/blux.ts
|
|
17
17
|
import { readFile, writeFile, mkdir } from "fs/promises";
|
|
@@ -4767,4 +4767,4 @@ ${lines.join("\n")}`,
|
|
|
4767
4767
|
export {
|
|
4768
4768
|
runBluxCommand
|
|
4769
4769
|
};
|
|
4770
|
-
//# sourceMappingURL=blux-
|
|
4770
|
+
//# sourceMappingURL=blux-EATHOHKK.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TURSO_IS_AUTHORITATIVE
|
|
3
|
+
} from "./chunk-RUPPWAD6.js";
|
|
1
4
|
import {
|
|
2
5
|
hasRealScores,
|
|
3
6
|
lighthouseScoresFromResult
|
|
4
7
|
} from "./chunk-7BZUOZPU.js";
|
|
5
|
-
import {
|
|
6
|
-
TURSO_IS_AUTHORITATIVE
|
|
7
|
-
} from "./chunk-RUPPWAD6.js";
|
|
8
8
|
import {
|
|
9
9
|
detectAuditEvents
|
|
10
10
|
} from "./chunk-5L3FPQIJ.js";
|
|
@@ -343,4 +343,4 @@ export {
|
|
|
343
343
|
formatFleetWriteSummary,
|
|
344
344
|
writeFleetAuditsToAirtable
|
|
345
345
|
};
|
|
346
|
-
//# sourceMappingURL=chunk-
|
|
346
|
+
//# sourceMappingURL=chunk-6UCVWYDA.js.map
|
|
@@ -1115,11 +1115,15 @@ async function runVisibilityProbes(input, engines, opts = {}) {
|
|
|
1115
1115
|
const nameIsDistinctive = isDistinctiveName(brand);
|
|
1116
1116
|
const answers = [];
|
|
1117
1117
|
const competitorCounts = /* @__PURE__ */ new Map();
|
|
1118
|
+
const perEngine = /* @__PURE__ */ new Map();
|
|
1118
1119
|
for (const engine of engines) {
|
|
1120
|
+
const tally = { categoryAttempted: 0, answeredAny: false };
|
|
1121
|
+
perEngine.set(engine.name, tally);
|
|
1119
1122
|
await pacedEach(
|
|
1120
1123
|
queries,
|
|
1121
1124
|
delayMs,
|
|
1122
1125
|
async ({ query, kind }) => {
|
|
1126
|
+
if (kind === "category") tally.categoryAttempted += 1;
|
|
1123
1127
|
let reply;
|
|
1124
1128
|
try {
|
|
1125
1129
|
reply = await engine.ask(query);
|
|
@@ -1132,6 +1136,7 @@ async function runVisibilityProbes(input, engines, opts = {}) {
|
|
|
1132
1136
|
return;
|
|
1133
1137
|
}
|
|
1134
1138
|
}
|
|
1139
|
+
tally.answeredAny = true;
|
|
1135
1140
|
const citedDomains = reply.citedDomains.map(domainOf);
|
|
1136
1141
|
const domainCited = citedDomains.some((d) => isSameSite(d, prospect));
|
|
1137
1142
|
const brandMentioned = mentionsBrand(reply.answer.toLowerCase(), brand);
|
|
@@ -1161,13 +1166,15 @@ async function runVisibilityProbes(input, engines, opts = {}) {
|
|
|
1161
1166
|
}
|
|
1162
1167
|
const categoryAnswers = answers.filter((a) => a.kind === "category");
|
|
1163
1168
|
const visibleCategory = categoryAnswers.filter((a) => a.countedAsVisible).length;
|
|
1164
|
-
const
|
|
1169
|
+
const categoryAttempted = [...perEngine.values()].filter((t) => t.answeredAny).reduce((n, t) => n + t.categoryAttempted, 0);
|
|
1170
|
+
const visibilityScore = categoryAttempted === 0 || categoryAnswers.length === 0 ? null : Math.round(visibleCategory / categoryAttempted * 100);
|
|
1165
1171
|
const brandedRecognized = answers.some((a) => a.kind === "branded" && a.domainCited);
|
|
1166
1172
|
return {
|
|
1167
1173
|
answers,
|
|
1168
1174
|
visibilityScore,
|
|
1169
1175
|
brandedRecognized,
|
|
1170
|
-
competitorsSeen: [...competitorCounts.entries()].map(([domain, count]) => ({ domain, count })).sort((a, b) => b.count - a.count).slice(0, 8)
|
|
1176
|
+
competitorsSeen: [...competitorCounts.entries()].map(([domain, count]) => ({ domain, count })).sort((a, b) => b.count - a.count).slice(0, 8),
|
|
1177
|
+
categoryProbes: { attempted: categoryAttempted, answered: categoryAnswers.length }
|
|
1171
1178
|
};
|
|
1172
1179
|
}
|
|
1173
1180
|
function perplexityEngine(apiKey, fetchImpl = fetch) {
|
|
@@ -1365,4 +1372,4 @@ export {
|
|
|
1365
1372
|
ANALYZE_SKIPPED,
|
|
1366
1373
|
runProspectAudit
|
|
1367
1374
|
};
|
|
1368
|
-
//# sourceMappingURL=chunk-
|
|
1375
|
+
//# sourceMappingURL=chunk-CEW5PEHZ.js.map
|