@canonry/canonry 7.130.0 → 7.130.1
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/{backfill-E3EVDP2O.js → backfill-AM2VXWLI.js} +3 -3
- package/dist/{chunk-XVEPR3ZC.js → chunk-56TGVPRB.js} +1 -1
- package/dist/{chunk-MI575M4K.js → chunk-6UU2I6AG.js} +6 -6
- package/dist/{chunk-37MF5NMW.js → chunk-CBREBUUV.js} +1 -1
- package/dist/{chunk-NUBJTRIV.js → chunk-HMCDVKHS.js} +4 -4
- package/dist/{chunk-76N4UIAF.js → chunk-M3BKRPB7.js} +14 -14
- package/dist/{chunk-4KITKJPN.js → chunk-N5GK27RW.js} +1 -1
- package/dist/{chunk-GXLF45FF.js → chunk-VEBSXHB2.js} +3 -3
- package/dist/{chunk-BERGWPA7.js → chunk-WEJOT2VP.js} +1 -1
- package/dist/{chunk-5U4HCSI6.js → chunk-ZZSKYOHV.js} +1 -1
- package/dist/{cli-commands-6J6A5ULK.js → cli-commands-PSZFKTZM.js} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{dashboard-F7NFKQLL.js → dashboard-QNOTLZUI.js} +1 -1
- package/dist/{demo-653PUOIB.js → demo-FVTIXDAO.js} +1 -1
- package/dist/{demo-server-PVBLYPC5.js → demo-server-R7LG5BRB.js} +2 -2
- package/dist/index.d.ts +26 -26
- package/dist/index.js +6 -6
- package/dist/{init-URQ4E3XR.js → init-IZVPCO36.js} +1 -1
- package/dist/{intelligence-service-GPA7IGDX.js → intelligence-service-LMVQQRPN.js} +2 -2
- package/dist/{serve-3QDHKCHE.js → serve-PKDK7ZWB.js} +7 -7
- package/dist/{session-ZN3YZI2D.js → session-EZ6I5VUF.js} +3 -3
- package/dist/{tools-Y67PVNIJ.js → tools-NFVIW4YP.js} +2 -2
- package/package.json +1 -1
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
backfillSnapshotAttributionCommand,
|
|
11
11
|
backfillTrafficClassificationCommand,
|
|
12
12
|
replayQueryAuditLog
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-VEBSXHB2.js";
|
|
14
|
+
import "./chunk-CBREBUUV.js";
|
|
15
15
|
import "./chunk-52J7GFCK.js";
|
|
16
16
|
import "./chunk-QRIKJT6Y.js";
|
|
17
17
|
import "./chunk-LJ65QBRP.js";
|
|
@@ -19,7 +19,7 @@ import "./chunk-VRY5M7CR.js";
|
|
|
19
19
|
import {
|
|
20
20
|
backfillProjectAnswerMentions,
|
|
21
21
|
backfillProjectAnswerMentionsInChunks
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HMCDVKHS.js";
|
|
23
23
|
import "./chunk-7PTUA52C.js";
|
|
24
24
|
import "./chunk-C4JM5HJW.js";
|
|
25
25
|
import "./chunk-FI7HVTO6.js";
|
|
@@ -24,14 +24,14 @@ import {
|
|
|
24
24
|
resolveConfiguredAgentProvider,
|
|
25
25
|
resolveSessionProviderAndModel,
|
|
26
26
|
setAeroSystemPrompt
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-56TGVPRB.js";
|
|
28
28
|
import {
|
|
29
29
|
AeroToolProfiles,
|
|
30
30
|
AeroToolScopes,
|
|
31
31
|
buildAeroStateTools,
|
|
32
32
|
isAeroToolProfile,
|
|
33
33
|
truncateToolResult
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-N5GK27RW.js";
|
|
35
35
|
import {
|
|
36
36
|
answerServiceAdapters,
|
|
37
37
|
answerServiceDescriptors
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
openrouterAdapter,
|
|
70
70
|
perplexityAdapter,
|
|
71
71
|
startTrafficReclassification
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-CBREBUUV.js";
|
|
73
73
|
import {
|
|
74
74
|
classifyUsageSurface,
|
|
75
75
|
createApiUsageTelemetry,
|
|
@@ -169,7 +169,7 @@ import {
|
|
|
169
169
|
} from "./chunk-QRIKJT6Y.js";
|
|
170
170
|
import {
|
|
171
171
|
IntelligenceService
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-WEJOT2VP.js";
|
|
173
173
|
import {
|
|
174
174
|
computeCitedCompetitorDomains,
|
|
175
175
|
determineCitationState
|
|
@@ -339,7 +339,7 @@ import {
|
|
|
339
339
|
webhookTargetRefusalReason,
|
|
340
340
|
webhookUserAgent,
|
|
341
341
|
writeAuditLog
|
|
342
|
-
} from "./chunk-
|
|
342
|
+
} from "./chunk-HMCDVKHS.js";
|
|
343
343
|
import {
|
|
344
344
|
OperationalLogStore,
|
|
345
345
|
SentimentIdempotencyConflict,
|
|
@@ -6527,7 +6527,7 @@ function nonBlank(value) {
|
|
|
6527
6527
|
return trimmed ? trimmed : void 0;
|
|
6528
6528
|
}
|
|
6529
6529
|
function resolveBuildCommit(env = process.env) {
|
|
6530
|
-
const embedded = true ? "
|
|
6530
|
+
const embedded = true ? "0d0fadf1b0c7b9aa5db613c379f61fb949704fa4" : void 0;
|
|
6531
6531
|
return nonBlank(embedded) ?? nonBlank(env.CANONRY_COMMIT);
|
|
6532
6532
|
}
|
|
6533
6533
|
function resolveInstanceIdentity(env = process.env) {
|
|
@@ -16478,8 +16478,8 @@ function resolveOAuthAccessToken(db, token, expectedResource, now = /* @__PURE__
|
|
|
16478
16478
|
}
|
|
16479
16479
|
function registerOAuthAdminRoutes(app, opts) {
|
|
16480
16480
|
const { db } = opts;
|
|
16481
|
-
app.get("/oauth/clients", async (request) => {
|
|
16482
|
-
|
|
16481
|
+
app.get("/oauth/clients", { config: { projectBoundRefusal: narrowKeyRefused } }, async (request) => {
|
|
16482
|
+
requireInstanceAdministrator(request);
|
|
16483
16483
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
16484
16484
|
const clients = db.select().from(oauthClients).all();
|
|
16485
16485
|
const tokens = db.select().from(oauthTokens).all();
|
|
@@ -16497,8 +16497,8 @@ function registerOAuthAdminRoutes(app, opts) {
|
|
|
16497
16497
|
}))
|
|
16498
16498
|
};
|
|
16499
16499
|
});
|
|
16500
|
-
app.delete("/oauth/clients/:id", async (request) => {
|
|
16501
|
-
|
|
16500
|
+
app.delete("/oauth/clients/:id", { config: { projectBoundRefusal: narrowKeyRefused } }, async (request) => {
|
|
16501
|
+
requireInstanceAdministrator(request);
|
|
16502
16502
|
const { id } = request.params;
|
|
16503
16503
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
16504
16504
|
const revokedAt = db.transaction((tx) => {
|
|
@@ -783,7 +783,7 @@ var DEMO_CLI_COMMANDS = [{
|
|
|
783
783
|
options: { host: stringOption(), port: stringOption(), "trust-proxy": multiStringOption() },
|
|
784
784
|
allowPositionals: false,
|
|
785
785
|
run: async (input) => {
|
|
786
|
-
const { demoCommand } = await import("./demo-
|
|
786
|
+
const { demoCommand } = await import("./demo-FVTIXDAO.js");
|
|
787
787
|
await demoCommand({
|
|
788
788
|
host: getString(input.values, "host"),
|
|
789
789
|
port: getString(input.values, "port"),
|
|
@@ -804,7 +804,7 @@ var BACKFILL_CLI_COMMANDS = [
|
|
|
804
804
|
allowPositionals: false,
|
|
805
805
|
supportsDryRun: true,
|
|
806
806
|
run: async (input) => {
|
|
807
|
-
const { backfillAnswerVisibilityCommand } = await import("./backfill-
|
|
807
|
+
const { backfillAnswerVisibilityCommand } = await import("./backfill-AM2VXWLI.js");
|
|
808
808
|
await backfillAnswerVisibilityCommand({
|
|
809
809
|
project: getString(input.values, "project"),
|
|
810
810
|
dryRun: input.dryRun,
|
|
@@ -821,7 +821,7 @@ var BACKFILL_CLI_COMMANDS = [
|
|
|
821
821
|
allowPositionals: false,
|
|
822
822
|
supportsDryRun: true,
|
|
823
823
|
run: async (input) => {
|
|
824
|
-
const { backfillAnswerMentionsCommand } = await import("./backfill-
|
|
824
|
+
const { backfillAnswerMentionsCommand } = await import("./backfill-AM2VXWLI.js");
|
|
825
825
|
await backfillAnswerMentionsCommand({
|
|
826
826
|
project: getString(input.values, "project"),
|
|
827
827
|
dryRun: input.dryRun,
|
|
@@ -839,7 +839,7 @@ var BACKFILL_CLI_COMMANDS = [
|
|
|
839
839
|
},
|
|
840
840
|
supportsDryRun: true,
|
|
841
841
|
run: async (input) => {
|
|
842
|
-
const { backfillInsightsCommand } = await import("./backfill-
|
|
842
|
+
const { backfillInsightsCommand } = await import("./backfill-AM2VXWLI.js");
|
|
843
843
|
const usage = "canonry backfill insights <project> [--from-run <id>] [--to-run <id>] [--since <date>] [--dry-run] [--format json]";
|
|
844
844
|
const project3 = requireProject(input, "backfill insights", usage);
|
|
845
845
|
await backfillInsightsCommand(project3, {
|
|
@@ -859,7 +859,7 @@ var BACKFILL_CLI_COMMANDS = [
|
|
|
859
859
|
},
|
|
860
860
|
allowPositionals: false,
|
|
861
861
|
run: async (input) => {
|
|
862
|
-
const { backfillNormalizedPathsCommand } = await import("./backfill-
|
|
862
|
+
const { backfillNormalizedPathsCommand } = await import("./backfill-AM2VXWLI.js");
|
|
863
863
|
await backfillNormalizedPathsCommand({
|
|
864
864
|
project: getString(input.values, "project"),
|
|
865
865
|
format: input.format
|
|
@@ -874,7 +874,7 @@ var BACKFILL_CLI_COMMANDS = [
|
|
|
874
874
|
},
|
|
875
875
|
allowPositionals: false,
|
|
876
876
|
run: async (input) => {
|
|
877
|
-
const { backfillAiReferralPathsCommand } = await import("./backfill-
|
|
877
|
+
const { backfillAiReferralPathsCommand } = await import("./backfill-AM2VXWLI.js");
|
|
878
878
|
await backfillAiReferralPathsCommand({
|
|
879
879
|
project: getString(input.values, "project"),
|
|
880
880
|
format: input.format
|
|
@@ -886,7 +886,7 @@ var BACKFILL_CLI_COMMANDS = [
|
|
|
886
886
|
usage: "canonry backfill snapshot-attribution <project> [--dry-run] [--format json]",
|
|
887
887
|
supportsDryRun: true,
|
|
888
888
|
run: async (input) => {
|
|
889
|
-
const { backfillSnapshotAttributionCommand } = await import("./backfill-
|
|
889
|
+
const { backfillSnapshotAttributionCommand } = await import("./backfill-AM2VXWLI.js");
|
|
890
890
|
const usage = "canonry backfill snapshot-attribution <project> [--dry-run] [--format json]";
|
|
891
891
|
const project3 = requireProject(input, "backfill snapshot-attribution", usage);
|
|
892
892
|
await backfillSnapshotAttributionCommand({
|
|
@@ -905,7 +905,7 @@ var BACKFILL_CLI_COMMANDS = [
|
|
|
905
905
|
allowPositionals: false,
|
|
906
906
|
supportsDryRun: true,
|
|
907
907
|
run: async (input) => {
|
|
908
|
-
const { backfillTrafficClassificationCommand } = await import("./backfill-
|
|
908
|
+
const { backfillTrafficClassificationCommand } = await import("./backfill-AM2VXWLI.js");
|
|
909
909
|
await backfillTrafficClassificationCommand({
|
|
910
910
|
project: getString(input.values, "project"),
|
|
911
911
|
dryRun: input.dryRun,
|
|
@@ -1551,7 +1551,7 @@ var DASHBOARD_CLI_COMMANDS = [
|
|
|
1551
1551
|
usage: "canonry dashboard reset-password [--format json]",
|
|
1552
1552
|
help: "Clears the dashboard password from config.yaml, so the dashboard asks for a new one after a restart.\nLocal only: it edits the config file under CANONRY_CONFIG_DIR and does not call the server.",
|
|
1553
1553
|
run: async (input) => {
|
|
1554
|
-
const { resetDashboardPassword } = await import("./dashboard-
|
|
1554
|
+
const { resetDashboardPassword } = await import("./dashboard-QNOTLZUI.js");
|
|
1555
1555
|
await resetDashboardPassword({ format: input.format });
|
|
1556
1556
|
}
|
|
1557
1557
|
},
|
|
@@ -7524,7 +7524,7 @@ var SYSTEM_CLI_COMMANDS = [
|
|
|
7524
7524
|
options: { access: stringOption() },
|
|
7525
7525
|
run: async (input) => {
|
|
7526
7526
|
if (input.positionals.length > 1) throw usageError("Expected at most one command group");
|
|
7527
|
-
const [{ printCliCatalog }, { REGISTERED_CLI_COMMANDS: REGISTERED_CLI_COMMANDS2 }] = await Promise.all([import("./cli-catalog-RT3QPDLR.js"), import("./cli-commands-
|
|
7527
|
+
const [{ printCliCatalog }, { REGISTERED_CLI_COMMANDS: REGISTERED_CLI_COMMANDS2 }] = await Promise.all([import("./cli-catalog-RT3QPDLR.js"), import("./cli-commands-PSZFKTZM.js")]);
|
|
7528
7528
|
printCliCatalog(REGISTERED_CLI_COMMANDS2, input.format, input.positionals[0], getString(input.values, "access"));
|
|
7529
7529
|
}
|
|
7530
7530
|
},
|
|
@@ -7573,7 +7573,7 @@ var SYSTEM_CLI_COMMANDS = [
|
|
|
7573
7573
|
},
|
|
7574
7574
|
allowPositionals: false,
|
|
7575
7575
|
run: async (input) => {
|
|
7576
|
-
const { initCommand } = await import("./init-
|
|
7576
|
+
const { initCommand } = await import("./init-IZVPCO36.js");
|
|
7577
7577
|
await initCommand({
|
|
7578
7578
|
force: getBoolean(input.values, "force"),
|
|
7579
7579
|
ref: getString(input.values, "ref"),
|
|
@@ -7629,7 +7629,7 @@ var SYSTEM_CLI_COMMANDS = [
|
|
|
7629
7629
|
allowPositionals: false,
|
|
7630
7630
|
run: async (input) => {
|
|
7631
7631
|
applyServerEnv(input.values);
|
|
7632
|
-
const { serveCommand } = await import("./serve-
|
|
7632
|
+
const { serveCommand } = await import("./serve-PKDK7ZWB.js");
|
|
7633
7633
|
await serveCommand(input.format);
|
|
7634
7634
|
}
|
|
7635
7635
|
},
|
|
@@ -9014,8 +9014,8 @@ var AGENT_CLI_COMMANDS = [
|
|
|
9014
9014
|
"timeout-ms": stringOption()
|
|
9015
9015
|
},
|
|
9016
9016
|
run: async (input) => {
|
|
9017
|
-
const { coerceAgentProvider } = await import("./session-
|
|
9018
|
-
const { AERO_TOOL_PROFILES, isAeroToolProfile } = await import("./tools-
|
|
9017
|
+
const { coerceAgentProvider } = await import("./session-EZ6I5VUF.js");
|
|
9018
|
+
const { AERO_TOOL_PROFILES, isAeroToolProfile } = await import("./tools-NFVIW4YP.js");
|
|
9019
9019
|
const { agentAsk } = await import("./agent-ask-CB756SUB.js");
|
|
9020
9020
|
const usage = `canonry agent ask <project> "<prompt>" [--provider ${AGENT_PROVIDER_IDS.join("|")}] [--model <id>] [--scope all|read-only] [--profile default|ads-operator] [--context <json>] [--conversation <id>] [--max-tool-calls <n>] [--timeout-ms <ms>] [--format json]`;
|
|
9021
9021
|
const project3 = requireProject(input, "agent.ask", usage);
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
reparseStoredResult4,
|
|
9
9
|
reparseStoredResult5,
|
|
10
10
|
resolveStoredApiResponse
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CBREBUUV.js";
|
|
12
12
|
import {
|
|
13
13
|
loadConfig
|
|
14
14
|
} from "./chunk-52J7GFCK.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
createRunCompetitorResolver,
|
|
26
26
|
readMarketCompetitorNames,
|
|
27
27
|
refreshSnapshotMentionIdentity
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-HMCDVKHS.js";
|
|
29
29
|
import {
|
|
30
30
|
RawEventSampleEventTypes,
|
|
31
31
|
auditLog,
|
|
@@ -430,7 +430,7 @@ No DB writes performed. Re-run without --dry-run to apply.`);
|
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
432
|
async function backfillInsightsCommand(project, opts) {
|
|
433
|
-
const { IntelligenceService } = await import("./intelligence-service-
|
|
433
|
+
const { IntelligenceService } = await import("./intelligence-service-LMVQQRPN.js");
|
|
434
434
|
const config = loadConfig();
|
|
435
435
|
const db = createClient(config.database);
|
|
436
436
|
migrate(db);
|
|
@@ -47,7 +47,7 @@ function queueServeHandoff() {
|
|
|
47
47
|
async function runPendingServeHandoff(format) {
|
|
48
48
|
if (!pendingServeHandoff) return;
|
|
49
49
|
pendingServeHandoff = false;
|
|
50
|
-
const { serveCommand } = await import("./serve-
|
|
50
|
+
const { serveCommand } = await import("./serve-PKDK7ZWB.js");
|
|
51
51
|
await serveCommand(format);
|
|
52
52
|
}
|
|
53
53
|
|
package/dist/cli.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node --import tsx
|
|
2
2
|
import {
|
|
3
3
|
REGISTERED_CLI_COMMANDS
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-M3BKRPB7.js";
|
|
5
5
|
import "./chunk-6GO5VVAC.js";
|
|
6
6
|
import {
|
|
7
7
|
buildSetupState,
|
|
8
8
|
runPendingServeHandoff
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZZSKYOHV.js";
|
|
10
10
|
import "./chunk-VJWDBFSL.js";
|
|
11
11
|
import "./chunk-MARIMDMX.js";
|
|
12
12
|
import "./chunk-TSENU4GG.js";
|
|
@@ -40,7 +40,7 @@ function parseDemoTrustedProxies(values) {
|
|
|
40
40
|
async function demoCommand(options) {
|
|
41
41
|
const { host, port } = parseDemoListenOptions(options);
|
|
42
42
|
const trustProxy = parseDemoTrustedProxies(options.trustProxy);
|
|
43
|
-
const { createDemoServer } = await import("./demo-server-
|
|
43
|
+
const { createDemoServer } = await import("./demo-server-R7LG5BRB.js");
|
|
44
44
|
const app = await createDemoServer({ trustProxy });
|
|
45
45
|
let stopping = false;
|
|
46
46
|
const stop = () => {
|
|
@@ -19,7 +19,7 @@ import "./chunk-QRIKJT6Y.js";
|
|
|
19
19
|
import {
|
|
20
20
|
HISTORY_WINDOW_RUNS,
|
|
21
21
|
IntelligenceService
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WEJOT2VP.js";
|
|
23
23
|
import {
|
|
24
24
|
determineCitationState
|
|
25
25
|
} from "./chunk-LJ65QBRP.js";
|
|
@@ -27,7 +27,7 @@ import "./chunk-VRY5M7CR.js";
|
|
|
27
27
|
import {
|
|
28
28
|
apiRoutes,
|
|
29
29
|
assessConversionTrackingIntegrity
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-HMCDVKHS.js";
|
|
31
31
|
import "./chunk-7PTUA52C.js";
|
|
32
32
|
import "./chunk-C4JM5HJW.js";
|
|
33
33
|
import {
|
package/dist/index.d.ts
CHANGED
|
@@ -1306,8 +1306,8 @@ declare const seoCapabilitySchema: z.ZodEnum<{
|
|
|
1306
1306
|
type SeoCapability = z.infer<typeof seoCapabilitySchema>;
|
|
1307
1307
|
declare const seoTargetSchema: z.ZodObject<{
|
|
1308
1308
|
kind: z.ZodEnum<{
|
|
1309
|
-
host: "host";
|
|
1310
1309
|
domain: "domain";
|
|
1310
|
+
host: "host";
|
|
1311
1311
|
}>;
|
|
1312
1312
|
value: z.ZodString;
|
|
1313
1313
|
includeSubdomains: z.ZodBoolean;
|
|
@@ -1323,8 +1323,8 @@ type SeoDevice = z.infer<typeof seoDeviceSchema>;
|
|
|
1323
1323
|
declare const seoCompetitorSchema: z.ZodObject<{
|
|
1324
1324
|
target: z.ZodObject<{
|
|
1325
1325
|
kind: z.ZodEnum<{
|
|
1326
|
-
host: "host";
|
|
1327
1326
|
domain: "domain";
|
|
1327
|
+
host: "host";
|
|
1328
1328
|
}>;
|
|
1329
1329
|
value: z.ZodString;
|
|
1330
1330
|
includeSubdomains: z.ZodBoolean;
|
|
@@ -1360,16 +1360,16 @@ type SeoKeywordGapMode = z.infer<typeof seoKeywordGapModeSchema>;
|
|
|
1360
1360
|
declare const seoKeywordGapSchema: z.ZodObject<{
|
|
1361
1361
|
target: z.ZodObject<{
|
|
1362
1362
|
kind: z.ZodEnum<{
|
|
1363
|
-
host: "host";
|
|
1364
1363
|
domain: "domain";
|
|
1364
|
+
host: "host";
|
|
1365
1365
|
}>;
|
|
1366
1366
|
value: z.ZodString;
|
|
1367
1367
|
includeSubdomains: z.ZodBoolean;
|
|
1368
1368
|
}, z.core.$strict>;
|
|
1369
1369
|
competitor: z.ZodObject<{
|
|
1370
1370
|
kind: z.ZodEnum<{
|
|
1371
|
-
host: "host";
|
|
1372
1371
|
domain: "domain";
|
|
1372
|
+
host: "host";
|
|
1373
1373
|
}>;
|
|
1374
1374
|
value: z.ZodString;
|
|
1375
1375
|
includeSubdomains: z.ZodBoolean;
|
|
@@ -1440,8 +1440,8 @@ declare const seoMarketRankingSchema: z.ZodObject<{
|
|
|
1440
1440
|
locationLabel: z.ZodString;
|
|
1441
1441
|
target: z.ZodObject<{
|
|
1442
1442
|
kind: z.ZodEnum<{
|
|
1443
|
-
host: "host";
|
|
1444
1443
|
domain: "domain";
|
|
1444
|
+
host: "host";
|
|
1445
1445
|
}>;
|
|
1446
1446
|
value: z.ZodString;
|
|
1447
1447
|
includeSubdomains: z.ZodBoolean;
|
|
@@ -1510,8 +1510,8 @@ declare const seoResultsSchema: z.ZodObject<{
|
|
|
1510
1510
|
domainIntelligence: z.ZodArray<z.ZodObject<{
|
|
1511
1511
|
target: z.ZodObject<{
|
|
1512
1512
|
kind: z.ZodEnum<{
|
|
1513
|
-
host: "host";
|
|
1514
1513
|
domain: "domain";
|
|
1514
|
+
host: "host";
|
|
1515
1515
|
}>;
|
|
1516
1516
|
value: z.ZodString;
|
|
1517
1517
|
includeSubdomains: z.ZodBoolean;
|
|
@@ -1542,8 +1542,8 @@ declare const seoResultsSchema: z.ZodObject<{
|
|
|
1542
1542
|
rankedKeywords: z.ZodArray<z.ZodObject<{
|
|
1543
1543
|
target: z.ZodObject<{
|
|
1544
1544
|
kind: z.ZodEnum<{
|
|
1545
|
-
host: "host";
|
|
1546
1545
|
domain: "domain";
|
|
1546
|
+
host: "host";
|
|
1547
1547
|
}>;
|
|
1548
1548
|
value: z.ZodString;
|
|
1549
1549
|
includeSubdomains: z.ZodBoolean;
|
|
@@ -1588,8 +1588,8 @@ declare const seoResultsSchema: z.ZodObject<{
|
|
|
1588
1588
|
locationLabel: z.ZodString;
|
|
1589
1589
|
target: z.ZodObject<{
|
|
1590
1590
|
kind: z.ZodEnum<{
|
|
1591
|
-
host: "host";
|
|
1592
1591
|
domain: "domain";
|
|
1592
|
+
host: "host";
|
|
1593
1593
|
}>;
|
|
1594
1594
|
value: z.ZodString;
|
|
1595
1595
|
includeSubdomains: z.ZodBoolean;
|
|
@@ -1627,8 +1627,8 @@ declare const seoResultsSchema: z.ZodObject<{
|
|
|
1627
1627
|
competitors: z.ZodArray<z.ZodObject<{
|
|
1628
1628
|
target: z.ZodObject<{
|
|
1629
1629
|
kind: z.ZodEnum<{
|
|
1630
|
-
host: "host";
|
|
1631
1630
|
domain: "domain";
|
|
1631
|
+
host: "host";
|
|
1632
1632
|
}>;
|
|
1633
1633
|
value: z.ZodString;
|
|
1634
1634
|
includeSubdomains: z.ZodBoolean;
|
|
@@ -1657,16 +1657,16 @@ declare const seoResultsSchema: z.ZodObject<{
|
|
|
1657
1657
|
keywordGaps: z.ZodArray<z.ZodObject<{
|
|
1658
1658
|
target: z.ZodObject<{
|
|
1659
1659
|
kind: z.ZodEnum<{
|
|
1660
|
-
host: "host";
|
|
1661
1660
|
domain: "domain";
|
|
1661
|
+
host: "host";
|
|
1662
1662
|
}>;
|
|
1663
1663
|
value: z.ZodString;
|
|
1664
1664
|
includeSubdomains: z.ZodBoolean;
|
|
1665
1665
|
}, z.core.$strict>;
|
|
1666
1666
|
competitor: z.ZodObject<{
|
|
1667
1667
|
kind: z.ZodEnum<{
|
|
1668
|
-
host: "host";
|
|
1669
1668
|
domain: "domain";
|
|
1669
|
+
host: "host";
|
|
1670
1670
|
}>;
|
|
1671
1671
|
value: z.ZodString;
|
|
1672
1672
|
includeSubdomains: z.ZodBoolean;
|
|
@@ -1825,7 +1825,7 @@ declare const seoProfiles: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1825
1825
|
connectionId: string;
|
|
1826
1826
|
capabilities: ("keyword-metrics" | "domain-intelligence" | "ranked-keywords" | "market-rankings" | "competitor-discovery" | "keyword-gaps")[];
|
|
1827
1827
|
targets: {
|
|
1828
|
-
kind: "
|
|
1828
|
+
kind: "domain" | "host";
|
|
1829
1829
|
value: string;
|
|
1830
1830
|
includeSubdomains: boolean;
|
|
1831
1831
|
}[];
|
|
@@ -1839,7 +1839,7 @@ declare const seoProfiles: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1839
1839
|
expectedPlanRevision?: number | undefined;
|
|
1840
1840
|
};
|
|
1841
1841
|
competitors?: {
|
|
1842
|
-
kind: "
|
|
1842
|
+
kind: "domain" | "host";
|
|
1843
1843
|
value: string;
|
|
1844
1844
|
includeSubdomains: boolean;
|
|
1845
1845
|
}[] | undefined;
|
|
@@ -1870,7 +1870,7 @@ declare const seoProfiles: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1870
1870
|
connectionId: string;
|
|
1871
1871
|
capabilities: ("keyword-metrics" | "domain-intelligence" | "ranked-keywords" | "market-rankings" | "competitor-discovery" | "keyword-gaps")[];
|
|
1872
1872
|
targets: {
|
|
1873
|
-
kind: "
|
|
1873
|
+
kind: "domain" | "host";
|
|
1874
1874
|
value: string;
|
|
1875
1875
|
includeSubdomains: boolean;
|
|
1876
1876
|
}[];
|
|
@@ -1884,7 +1884,7 @@ declare const seoProfiles: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
1884
1884
|
expectedPlanRevision?: number | undefined;
|
|
1885
1885
|
};
|
|
1886
1886
|
competitors?: {
|
|
1887
|
-
kind: "
|
|
1887
|
+
kind: "domain" | "host";
|
|
1888
1888
|
value: string;
|
|
1889
1889
|
includeSubdomains: boolean;
|
|
1890
1890
|
}[] | undefined;
|
|
@@ -2067,7 +2067,7 @@ declare const seoJobs: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2067
2067
|
connectionId: string;
|
|
2068
2068
|
capabilities: ("keyword-metrics" | "domain-intelligence" | "ranked-keywords" | "market-rankings" | "competitor-discovery" | "keyword-gaps")[];
|
|
2069
2069
|
targets: {
|
|
2070
|
-
kind: "
|
|
2070
|
+
kind: "domain" | "host";
|
|
2071
2071
|
value: string;
|
|
2072
2072
|
includeSubdomains: boolean;
|
|
2073
2073
|
}[];
|
|
@@ -2081,7 +2081,7 @@ declare const seoJobs: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2081
2081
|
expectedPlanRevision?: number | undefined;
|
|
2082
2082
|
};
|
|
2083
2083
|
competitors?: {
|
|
2084
|
-
kind: "
|
|
2084
|
+
kind: "domain" | "host";
|
|
2085
2085
|
value: string;
|
|
2086
2086
|
includeSubdomains: boolean;
|
|
2087
2087
|
}[] | undefined;
|
|
@@ -2112,7 +2112,7 @@ declare const seoJobs: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2112
2112
|
connectionId: string;
|
|
2113
2113
|
capabilities: ("keyword-metrics" | "domain-intelligence" | "ranked-keywords" | "market-rankings" | "competitor-discovery" | "keyword-gaps")[];
|
|
2114
2114
|
targets: {
|
|
2115
|
-
kind: "
|
|
2115
|
+
kind: "domain" | "host";
|
|
2116
2116
|
value: string;
|
|
2117
2117
|
includeSubdomains: boolean;
|
|
2118
2118
|
}[];
|
|
@@ -2126,7 +2126,7 @@ declare const seoJobs: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
2126
2126
|
expectedPlanRevision?: number | undefined;
|
|
2127
2127
|
};
|
|
2128
2128
|
competitors?: {
|
|
2129
|
-
kind: "
|
|
2129
|
+
kind: "domain" | "host";
|
|
2130
2130
|
value: string;
|
|
2131
2131
|
includeSubdomains: boolean;
|
|
2132
2132
|
}[] | undefined;
|
|
@@ -3300,7 +3300,7 @@ declare const projects: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3300
3300
|
tableName: "projects";
|
|
3301
3301
|
dataType: "json";
|
|
3302
3302
|
columnType: "SQLiteTextJson";
|
|
3303
|
-
data: ("
|
|
3303
|
+
data: ("linkedin" | "x" | "reddit")[];
|
|
3304
3304
|
driverParam: string;
|
|
3305
3305
|
notNull: true;
|
|
3306
3306
|
hasDefault: true;
|
|
@@ -3312,7 +3312,7 @@ declare const projects: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
3312
3312
|
identity: undefined;
|
|
3313
3313
|
generated: undefined;
|
|
3314
3314
|
}, {}, {
|
|
3315
|
-
$type: ("
|
|
3315
|
+
$type: ("linkedin" | "x" | "reddit")[];
|
|
3316
3316
|
}>;
|
|
3317
3317
|
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3318
3318
|
name: "created_at";
|
|
@@ -42208,7 +42208,7 @@ declare const socialMentions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
42208
42208
|
tableName: "social_mentions";
|
|
42209
42209
|
dataType: "string";
|
|
42210
42210
|
columnType: "SQLiteText";
|
|
42211
|
-
data: "
|
|
42211
|
+
data: "linkedin" | "x" | "reddit";
|
|
42212
42212
|
driverParam: string;
|
|
42213
42213
|
notNull: true;
|
|
42214
42214
|
hasDefault: false;
|
|
@@ -42221,7 +42221,7 @@ declare const socialMentions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
|
42221
42221
|
generated: undefined;
|
|
42222
42222
|
}, {}, {
|
|
42223
42223
|
length: number | undefined;
|
|
42224
|
-
$type: "
|
|
42224
|
+
$type: "linkedin" | "x" | "reddit";
|
|
42225
42225
|
}>;
|
|
42226
42226
|
externalId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
42227
42227
|
name: "external_id";
|
|
@@ -42600,7 +42600,7 @@ declare const socialConnections: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
42600
42600
|
tableName: "social_connections";
|
|
42601
42601
|
dataType: "string";
|
|
42602
42602
|
columnType: "SQLiteText";
|
|
42603
|
-
data: "
|
|
42603
|
+
data: "linkedin" | "x" | "reddit";
|
|
42604
42604
|
driverParam: string;
|
|
42605
42605
|
notNull: true;
|
|
42606
42606
|
hasDefault: false;
|
|
@@ -42613,7 +42613,7 @@ declare const socialConnections: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
|
|
|
42613
42613
|
generated: undefined;
|
|
42614
42614
|
}, {}, {
|
|
42615
42615
|
length: number | undefined;
|
|
42616
|
-
$type: "
|
|
42616
|
+
$type: "linkedin" | "x" | "reddit";
|
|
42617
42617
|
}>;
|
|
42618
42618
|
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
42619
42619
|
name: "project_id";
|
|
@@ -42950,8 +42950,8 @@ type ClassificationConfig = z.infer<typeof classificationConfigSchema>;
|
|
|
42950
42950
|
declare const seoInstallConfigSchema: z.ZodObject<{
|
|
42951
42951
|
enabled: z.ZodBoolean;
|
|
42952
42952
|
fundingMode: z.ZodEnum<{
|
|
42953
|
-
"self-hosted": "self-hosted";
|
|
42954
42953
|
hosted: "hosted";
|
|
42954
|
+
"self-hosted": "self-hosted";
|
|
42955
42955
|
}>;
|
|
42956
42956
|
policy: z.ZodObject<{
|
|
42957
42957
|
maxRunCostMicros: z.ZodNumber;
|
package/dist/index.js
CHANGED
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
createGoogleMarketingCredentialStore,
|
|
4
4
|
createGoogleMarketingRuntime,
|
|
5
5
|
createServer
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-6UU2I6AG.js";
|
|
7
|
+
import "./chunk-56TGVPRB.js";
|
|
8
|
+
import "./chunk-N5GK27RW.js";
|
|
9
9
|
import "./chunk-AP54KLWN.js";
|
|
10
10
|
import "./chunk-XAJS5FH3.js";
|
|
11
11
|
import "./chunk-XEBKF4N5.js";
|
|
12
12
|
import "./chunk-ELCLGWUT.js";
|
|
13
13
|
import "./chunk-WP76HORO.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-CBREBUUV.js";
|
|
15
15
|
import "./chunk-4ISL4JNK.js";
|
|
16
16
|
import "./chunk-TSENU4GG.js";
|
|
17
17
|
import "./chunk-ALU56PI7.js";
|
|
@@ -30,10 +30,10 @@ import "./chunk-VEDGR4LZ.js";
|
|
|
30
30
|
import "./chunk-ZHXPH7WB.js";
|
|
31
31
|
import "./chunk-AOJU5LKX.js";
|
|
32
32
|
import "./chunk-QRIKJT6Y.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-WEJOT2VP.js";
|
|
34
34
|
import "./chunk-LJ65QBRP.js";
|
|
35
35
|
import "./chunk-VRY5M7CR.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-HMCDVKHS.js";
|
|
37
37
|
import "./chunk-7PTUA52C.js";
|
|
38
38
|
import "./chunk-C4JM5HJW.js";
|
|
39
39
|
import "./chunk-FI7HVTO6.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HISTORY_WINDOW_RUNS,
|
|
3
3
|
IntelligenceService
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WEJOT2VP.js";
|
|
5
5
|
import "./chunk-LJ65QBRP.js";
|
|
6
6
|
import "./chunk-VRY5M7CR.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-HMCDVKHS.js";
|
|
8
8
|
import "./chunk-7PTUA52C.js";
|
|
9
9
|
import "./chunk-C4JM5HJW.js";
|
|
10
10
|
import "./chunk-FI7HVTO6.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
backfillAiReferralPaths,
|
|
3
3
|
backfillNormalizedPaths
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VEBSXHB2.js";
|
|
5
5
|
import {
|
|
6
6
|
operatorHttpUrl
|
|
7
7
|
} from "./chunk-6GO5VVAC.js";
|
|
@@ -10,15 +10,15 @@ import {
|
|
|
10
10
|
createServer,
|
|
11
11
|
getFirstRunSetupToken,
|
|
12
12
|
waitForServerRuntimeStartup
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-6UU2I6AG.js";
|
|
14
|
+
import "./chunk-56TGVPRB.js";
|
|
15
|
+
import "./chunk-N5GK27RW.js";
|
|
16
16
|
import "./chunk-AP54KLWN.js";
|
|
17
17
|
import "./chunk-XAJS5FH3.js";
|
|
18
18
|
import "./chunk-XEBKF4N5.js";
|
|
19
19
|
import "./chunk-ELCLGWUT.js";
|
|
20
20
|
import "./chunk-WP76HORO.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-CBREBUUV.js";
|
|
22
22
|
import {
|
|
23
23
|
trackFeatureCompleted
|
|
24
24
|
} from "./chunk-4ISL4JNK.js";
|
|
@@ -60,13 +60,13 @@ import {
|
|
|
60
60
|
CliError,
|
|
61
61
|
isMachineFormat
|
|
62
62
|
} from "./chunk-QRIKJT6Y.js";
|
|
63
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-WEJOT2VP.js";
|
|
64
64
|
import "./chunk-LJ65QBRP.js";
|
|
65
65
|
import "./chunk-VRY5M7CR.js";
|
|
66
66
|
import {
|
|
67
67
|
refreshSnapshotMentionIdentity,
|
|
68
68
|
snapshotsWithSentimentResults
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-HMCDVKHS.js";
|
|
70
70
|
import "./chunk-7PTUA52C.js";
|
|
71
71
|
import "./chunk-C4JM5HJW.js";
|
|
72
72
|
import {
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
resolveAeroModel,
|
|
10
10
|
resolveConfiguredAgentProvider,
|
|
11
11
|
resolveSessionProviderAndModel
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-56TGVPRB.js";
|
|
13
|
+
import "./chunk-N5GK27RW.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveAeroSkillDir
|
|
16
16
|
} from "./chunk-MG4COK23.js";
|
|
@@ -27,7 +27,7 @@ import "./chunk-ZHXPH7WB.js";
|
|
|
27
27
|
import "./chunk-AOJU5LKX.js";
|
|
28
28
|
import "./chunk-QRIKJT6Y.js";
|
|
29
29
|
import "./chunk-VRY5M7CR.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-HMCDVKHS.js";
|
|
31
31
|
import "./chunk-7PTUA52C.js";
|
|
32
32
|
import "./chunk-C4JM5HJW.js";
|
|
33
33
|
import "./chunk-FI7HVTO6.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
buildAllTools,
|
|
12
12
|
buildReadTools,
|
|
13
13
|
isAeroToolProfile
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-N5GK27RW.js";
|
|
15
15
|
import "./chunk-KQQERQJ2.js";
|
|
16
16
|
import "./chunk-52J7GFCK.js";
|
|
17
17
|
import "./chunk-S6X3HHSN.js";
|
|
@@ -20,7 +20,7 @@ import "./chunk-VEDGR4LZ.js";
|
|
|
20
20
|
import "./chunk-ZHXPH7WB.js";
|
|
21
21
|
import "./chunk-AOJU5LKX.js";
|
|
22
22
|
import "./chunk-QRIKJT6Y.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-HMCDVKHS.js";
|
|
24
24
|
import "./chunk-7PTUA52C.js";
|
|
25
25
|
import "./chunk-C4JM5HJW.js";
|
|
26
26
|
import "./chunk-FI7HVTO6.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canonry/canonry",
|
|
3
|
-
"version": "7.130.
|
|
3
|
+
"version": "7.130.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Self-hosted AI visibility (AEO) platform: track how ChatGPT, Claude, Gemini, and Perplexity cite your domain, join it with Search Console, GA4, server-side traffic, and paid media, and fix what you find through agent tools (CLI, REST, MCP). Local SQLite.",
|
|
6
6
|
"keywords": [
|