@canonry/canonry 7.55.0 → 7.55.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/README.md +18 -6
- package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +1 -1
- package/assets/assets/{AgentSetupPage-Dr7UsGcq.js → AgentSetupPage-Chb7OZYo.js} +3 -3
- package/assets/assets/{AuditHistoryPanel-Dg9ZNNQw.js → AuditHistoryPanel-CWAAzxGL.js} +1 -1
- package/assets/assets/{BacklinksPage-DSgwyFCi.js → BacklinksPage-CfRqXLjw.js} +1 -1
- package/assets/assets/{HistoryPage-DaX20IWP.js → HistoryPage-EXS6zGfM.js} +1 -1
- package/assets/assets/MeasurementPropertyPage-CnMKVlyr.js +4 -0
- package/assets/assets/ProjectPage-D8rNNTAJ.js +7 -0
- package/assets/assets/{RunsPage-D06GJ47B.js → RunsPage-Ck0A8Z-B.js} +1 -1
- package/assets/assets/{SettingsPage-MSgC8Zrc.js → SettingsPage-DLwUxbGB.js} +1 -1
- package/assets/assets/SiteHealthSection-B7-1csc8.js +2 -0
- package/assets/assets/{ToneBadge-AoUA_EpE.js → ToneBadge-BcN0dkBF.js} +1 -1
- package/assets/assets/{TrafficPage-DikPWmaU.js → TrafficPage-jPUXy6qr.js} +1 -1
- package/assets/assets/{TrafficSourceDetailPage-C1hfimWW.js → TrafficSourceDetailPage-D1ApU8pZ.js} +1 -1
- package/assets/assets/{account-context-CHtJm4fz.js → account-context-W2az42JI.js} +1 -1
- package/assets/assets/{card-BO6dtEV9.js → card-YusVbEjF.js} +1 -1
- package/assets/assets/{extract-error-message-Q9pkEqUE.js → extract-error-message-XEIEg9D6.js} +1 -1
- package/assets/assets/{format-helpers-Gj1ekh6p.js → format-helpers-Bb7jAdHk.js} +1 -1
- package/assets/assets/index-Gz_0R4O6.js +56 -0
- package/assets/assets/{query-client-C22j0Z7h.js → query-client-Dz-pGbg8.js} +1 -1
- package/assets/assets/react-query-DB0ftGOM.js +1 -0
- package/assets/assets/{react-sigma_core.esm.min-j5DWE8Rk.js → react-sigma_core.esm.min--9Hr2IJs.js} +1 -1
- package/assets/assets/{service-2DEngBCR.js → service-B6yV5DWh.js} +1 -1
- package/assets/index.html +7 -7
- package/dist/{ads-A5S2NQBZ.js → ads-FZ7MIWXC.js} +3 -3
- package/dist/{agent-BV7G7QN7.js → agent-E6DBBS3U.js} +7 -7
- package/dist/{agent-ask-5ALAHZ6T.js → agent-ask-GFG646FW.js} +3 -3
- package/dist/{agent-conversations-MJPQCJYR.js → agent-conversations-MF3JQUBO.js} +3 -3
- package/dist/{agent-memory-Z3VPA5KH.js → agent-memory-AHBHISRL.js} +3 -3
- package/dist/{agent-providers-FP3LAZPG.js → agent-providers-GPPFRFOJ.js} +3 -3
- package/dist/{agent-transcript-4GXCOC73.js → agent-transcript-WAFQUNNS.js} +3 -3
- package/dist/{analytics-TOLSUYSN.js → analytics-JIMNYMK7.js} +3 -3
- package/dist/{apply-EU5JAFVZ.js → apply-VQGED53E.js} +3 -3
- package/dist/{backfill-3263IYJH.js → backfill-2Z5NQJH7.js} +9 -9
- package/dist/{backlinks-XQ5JTN6W.js → backlinks-3OWR2TKF.js} +3 -3
- package/dist/{bing-LYHRD7BF.js → bing-VN5M2WTQ.js} +3 -3
- package/dist/{bootstrap-AKWTIMMH.js → bootstrap-E27HOPUD.js} +10 -10
- package/dist/{cdp-N4PQJWGQ.js → cdp-DGUIUB6T.js} +7 -7
- package/dist/{chunk-4LVJFSPH.js → chunk-23YDBDYE.js} +5 -5
- package/dist/{chunk-2OB7YQEZ.js → chunk-4DQFJP5E.js} +324 -324
- package/dist/{chunk-VCTP2RG6.js → chunk-4MTFV6L2.js} +5 -5
- package/dist/{chunk-YOZ35ZTT.js → chunk-5DX7N34L.js} +1 -1
- package/dist/{chunk-LCTYTGSE.js → chunk-5XOGLDAG.js} +3 -3
- package/dist/{chunk-ZILJZNMQ.js → chunk-64MEDTTQ.js} +1 -1
- package/dist/{chunk-K5MBEK4S.js → chunk-6HEDNOEF.js} +8 -8
- package/dist/{chunk-VF7XGX2I.js → chunk-6ME76HJO.js} +1 -1
- package/dist/{chunk-R4AFXPM4.js → chunk-7LA7MY4D.js} +1 -1
- package/dist/{chunk-T63KVDWY.js → chunk-BM4XREGB.js} +10 -6
- package/dist/{chunk-Y2YBRLSS.js → chunk-BR4RBXLD.js} +3 -3
- package/dist/{chunk-RHO7UNXA.js → chunk-BVWCQLRX.js} +20 -20
- package/dist/{chunk-VMCVLESK.js → chunk-CBJ2SBKN.js} +4 -4
- package/dist/{chunk-GFRIXUDK.js → chunk-DGBFU7YE.js} +1 -1
- package/dist/{chunk-VB47PTY7.js → chunk-E4T73OGZ.js} +3 -3
- package/dist/{chunk-ZA7D7CCN.js → chunk-EAE4N2VX.js} +2 -2
- package/dist/{chunk-QFKDFU73.js → chunk-EULFLYW5.js} +2 -2
- package/dist/{chunk-XJVCTI2N.js → chunk-F3KBEYKI.js} +3 -3
- package/dist/{chunk-SKZVEZZK.js → chunk-FZW44W5P.js} +2 -2
- package/dist/{chunk-RHCDUPD6.js → chunk-I7V5UIUZ.js} +2 -2
- package/dist/{chunk-J7VN3FZ3.js → chunk-JKXX6DQS.js} +1 -1
- package/dist/{chunk-H6EQMYGT.js → chunk-JYDXICGN.js} +1 -1
- package/dist/{chunk-OMXWBR2R.js → chunk-L23GLMDH.js} +28 -2
- package/dist/{chunk-F5XONXGH.js → chunk-M5E4ANAN.js} +4 -4
- package/dist/{chunk-EIG2V6UI.js → chunk-MHG2AFWS.js} +1 -1
- package/dist/{chunk-6WTSWWP6.js → chunk-OIOHLANV.js} +2 -2
- package/dist/{chunk-D234NBWI.js → chunk-QUMODKMN.js} +1 -1
- package/dist/{chunk-75CFTTBF.js → chunk-SLMYLF4H.js} +2 -2
- package/dist/{chunk-PRNO5TLE.js → chunk-T5UIEVCS.js} +15 -7
- package/dist/{chunk-MARVEIWH.js → chunk-TBQTJRWL.js} +4 -4
- package/dist/{chunk-OHVXKFQI.js → chunk-TDMEFWWH.js} +1 -1
- package/dist/{chunk-B37SDIGU.js → chunk-UOHAWN66.js} +1 -1
- package/dist/{chunk-WDJMIIY2.js → chunk-Y7CK6NY4.js} +1 -1
- package/dist/{chunk-BQKKAPMW.js → chunk-YZP6IMCC.js} +1 -1
- package/dist/{citations-JK3ZMAR7.js → citations-X3ACB4BK.js} +3 -3
- package/dist/{cli-catalog-P2I6IYNI.js → cli-catalog-KGYSKGDJ.js} +3 -3
- package/dist/{cli-commands-U6NDGGK2.js → cli-commands-KN3ZROPW.js} +7 -7
- package/dist/cli.js +13 -13
- package/dist/{competitor-5CJPM36M.js → competitor-K4XKRB2A.js} +3 -3
- package/dist/{content-5FEDXNHR.js → content-K4ZF5PLU.js} +3 -3
- package/dist/{dashboard-ME7MBJTX.js → dashboard-IKLVLUF6.js} +6 -6
- package/dist/{demo-J3QCDV43.js → demo-S6MCF65Z.js} +1 -1
- package/dist/{demo-server-FJLSYQXZ.js → demo-server-TFPIU4E2.js} +11 -11
- package/dist/{discover-EAISVTA6.js → discover-PF4CWAL3.js} +3 -3
- package/dist/{discover-eval-JIBKK44Q.js → discover-eval-GL5EN3DK.js} +3 -3
- package/dist/{doctor-HSQYOZ4C.js → doctor-GGMC5LXO.js} +3 -3
- package/dist/{evidence-PSYAWKPP.js → evidence-KLMPJDIX.js} +3 -3
- package/dist/{export-cmd-MWJN6H7W.js → export-cmd-SUBBU5TK.js} +3 -3
- package/dist/{ga-WSQWECYY.js → ga-XTJ4272V.js} +3 -3
- package/dist/{gbp-OD26AEPF.js → gbp-3XIL64BL.js} +3 -3
- package/dist/{google-FMJ7IWAF.js → google-4ZVLOEO7.js} +4 -4
- package/dist/{google-marketing-66JL4V24.js → google-marketing-EKHYN6RN.js} +1 -1
- package/dist/{health-cmd-2RO5LAI4.js → health-cmd-AS2XVZGM.js} +3 -3
- package/dist/{history-X6CNPW7G.js → history-UFO6W5MK.js} +3 -3
- package/dist/index.d.ts +28 -28
- package/dist/index.js +24 -24
- package/dist/{init-EDSKLFUY.js → init-X6CJISQ7.js} +11 -11
- package/dist/{insights-6IWWA6JU.js → insights-MQUSMDKL.js} +3 -3
- package/dist/intelligence-service-P44IBE6G.js +15 -0
- package/dist/{keys-ABXAPISY.js → keys-SHGKOF7L.js} +3 -3
- package/dist/{keyword-LERAVMI3.js → keyword-PQHI62EQ.js} +3 -3
- package/dist/{logs-BTAB5SNZ.js → logs-GKZ3C6U7.js} +3 -3
- package/dist/{mcp-5E42RT6R.js → mcp-II46ISJK.js} +2 -2
- package/dist/mcp.js +9 -9
- package/dist/{measurement-plan-MRZRNBJG.js → measurement-plan-AMYXJNGA.js} +5 -5
- package/dist/{notify-YQYGC5UZ.js → notify-HBSOBXU5.js} +3 -3
- package/dist/{organic-evidence-6QT4YT3K.js → organic-evidence-B6FTSLSS.js} +3 -3
- package/dist/{overview-EHZ3FTS2.js → overview-CMSXYEFO.js} +4 -4
- package/dist/{project-RNLV2ARE.js → project-TPY5QLJB.js} +3 -3
- package/dist/{query-IM2RXI4L.js → query-GRI574XT.js} +3 -3
- package/dist/{research-4FALR336.js → research-XZBMLGPZ.js} +3 -3
- package/dist/{results-export-4ETSRUGO.js → results-export-P2R6W24Y.js} +3 -3
- package/dist/{run-QL7226N7.js → run-TYVYDQSF.js} +4 -4
- package/dist/{schedule-GJE634VO.js → schedule-GKMCGZUD.js} +3 -3
- package/dist/{search-7OQL67R6.js → search-IENKPV43.js} +3 -3
- package/dist/{serve-VJ3M7FAT.js → serve-GORRM5KD.js} +25 -25
- package/dist/{session-5M54TVY5.js → session-JXRG3LRH.js} +12 -12
- package/dist/{settings-2QOL7YBM.js → settings-RATO7LTH.js} +3 -3
- package/dist/{skills-GPLAAU3I.js → skills-BQRJVV3P.js} +2 -2
- package/dist/{snapshot-5YMJFRJS.js → snapshot-5O44JQYF.js} +3 -3
- package/dist/{src-YF3JLURF.js → src-5HJMZCHY.js} +2 -2
- package/dist/{status-WGWC6FLN.js → status-O2JPGJ27.js} +4 -4
- package/dist/{technical-aeo-RNMLD7OL.js → technical-aeo-7DAQZPV2.js} +3 -3
- package/dist/{telemetry-7U3ZICU4.js → telemetry-4YY5IP5A.js} +4 -4
- package/dist/{tools-CSKTZTKT.js → tools-MQZ5KQVL.js} +11 -11
- package/dist/{traffic-QIAXLW6J.js → traffic-RGIEOKUQ.js} +5 -5
- package/dist/{users-I6X5P5AO.js → users-HNRMET2A.js} +3 -3
- package/dist/{visibility-stats-33OUKQQL.js → visibility-stats-AOQTJIWH.js} +3 -3
- package/dist/{wordpress-3IO3O27D.js → wordpress-UOAWGG7N.js} +3 -3
- package/package.json +1 -1
- package/assets/assets/MeasurementPropertyPage-FGhKdZAP.js +0 -4
- package/assets/assets/ProjectPage-BTJYS9gc.js +0 -7
- package/assets/assets/SiteHealthSection-4PXTNjon.js +0 -2
- package/assets/assets/index-BBfEsbxI.js +0 -56
- package/assets/assets/react-query-BLKqSvlU.js +0 -1
- package/dist/intelligence-service-N334P6FH.js +0 -15
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
isStoredPageReadTool,
|
|
6
6
|
isStoredReadTool,
|
|
7
7
|
truncateToolResult
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TBQTJRWL.js";
|
|
9
9
|
import {
|
|
10
10
|
CANONRY_MCP_TOOLKITS
|
|
11
11
|
} from "./chunk-4MJYGB56.js";
|
|
@@ -22,15 +22,15 @@ import {
|
|
|
22
22
|
resolveApiKeyFor,
|
|
23
23
|
resolveModelForProvider,
|
|
24
24
|
validateAgentProviderRegistry
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YZP6IMCC.js";
|
|
26
26
|
import {
|
|
27
27
|
CanonryMcpToolNames,
|
|
28
28
|
canonryMcpTools
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-BM4XREGB.js";
|
|
30
30
|
import {
|
|
31
31
|
agentToolEvents,
|
|
32
32
|
llmUsageEvents
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-DGBFU7YE.js";
|
|
34
34
|
import {
|
|
35
35
|
MeasurementPortfolioLists,
|
|
36
36
|
agentTurnLimitsSchema,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
describeError,
|
|
39
39
|
validationError,
|
|
40
40
|
visibilityReportRequestSchema
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-L23GLMDH.js";
|
|
42
42
|
|
|
43
43
|
// src/agent/session.ts
|
|
44
44
|
import fs3 from "fs";
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
createApiClient,
|
|
8
8
|
runWithUsageTags
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-I7V5UIUZ.js";
|
|
10
10
|
import {
|
|
11
11
|
canonryMcpTools,
|
|
12
12
|
toolOperationAccess
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BM4XREGB.js";
|
|
14
14
|
import {
|
|
15
15
|
PACKAGE_VERSION
|
|
16
16
|
} from "./chunk-AOJU5LKX.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
isReadOnlyKey,
|
|
24
24
|
restrictedWriteScopes,
|
|
25
25
|
upgradeCaveatFor
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-L23GLMDH.js";
|
|
27
27
|
|
|
28
28
|
// src/mcp/server.ts
|
|
29
29
|
import { randomUUID } from "crypto";
|
|
@@ -7,27 +7,27 @@ import {
|
|
|
7
7
|
reparseStoredResult4,
|
|
8
8
|
reparseStoredResult5,
|
|
9
9
|
resolveStoredApiResponse
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FZW44W5P.js";
|
|
11
11
|
import {
|
|
12
12
|
loadConfig
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YZP6IMCC.js";
|
|
14
14
|
import {
|
|
15
15
|
isMachineFormat
|
|
16
16
|
} from "./chunk-HGMYEDAQ.js";
|
|
17
17
|
import {
|
|
18
18
|
determineCitationState
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-64MEDTTQ.js";
|
|
20
20
|
import {
|
|
21
21
|
backfillProjectAnswerMentions,
|
|
22
22
|
competitorIdentityColumns,
|
|
23
23
|
createRunCompetitorResolver,
|
|
24
24
|
readMarketCompetitorNames,
|
|
25
25
|
refreshSnapshotMentionIdentity
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-T5UIEVCS.js";
|
|
27
27
|
import {
|
|
28
28
|
classifyAiUserFetch,
|
|
29
29
|
classifyCrawler
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-5DX7N34L.js";
|
|
31
31
|
import {
|
|
32
32
|
aiUserFetchEventsHourly,
|
|
33
33
|
auditLog,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
querySnapshots,
|
|
43
43
|
rawEventSamples,
|
|
44
44
|
runs
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-DGBFU7YE.js";
|
|
46
46
|
import {
|
|
47
47
|
ProviderNames,
|
|
48
48
|
RetrievalContracts,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
extractRecommendedCompetitors,
|
|
60
60
|
normalizeUrlPath,
|
|
61
61
|
openRouterRouteModel
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-L23GLMDH.js";
|
|
63
63
|
|
|
64
64
|
// src/commands/backfill.ts
|
|
65
65
|
import { setImmediate as yieldToEventLoop } from "timers/promises";
|
|
@@ -437,7 +437,7 @@ No DB writes performed. Re-run without --dry-run to apply.`);
|
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
439
|
async function backfillInsightsCommand(project, opts) {
|
|
440
|
-
const { IntelligenceService } = await import("./intelligence-service-
|
|
440
|
+
const { IntelligenceService } = await import("./intelligence-service-P44IBE6G.js");
|
|
441
441
|
const config = loadConfig();
|
|
442
442
|
const db = createClient(config.database);
|
|
443
443
|
migrate(db);
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
dedupeGscSitemapUrls,
|
|
3
3
|
resolveDiscoveredGscSitemapUrls,
|
|
4
4
|
submitGscSitemapBatches
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JKXX6DQS.js";
|
|
6
6
|
import {
|
|
7
7
|
measurementDraftOperationSchema,
|
|
8
8
|
runMeasurementDraftAction
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QUMODKMN.js";
|
|
10
10
|
import {
|
|
11
11
|
CliError
|
|
12
12
|
} from "./chunk-HGMYEDAQ.js";
|
|
@@ -65,6 +65,7 @@ import {
|
|
|
65
65
|
gaSearchLandingWindowSchema,
|
|
66
66
|
googleAdsMetricsWindowSchema,
|
|
67
67
|
gscPerformanceOrderBySchema,
|
|
68
|
+
insightSeveritySchema,
|
|
68
69
|
instanceStatusDtoSchema,
|
|
69
70
|
keywordBatchRequestSchema,
|
|
70
71
|
keywordGenerateRequestSchema,
|
|
@@ -147,7 +148,7 @@ import {
|
|
|
147
148
|
trafficSeriesGranularitySchema,
|
|
148
149
|
visibilityCompareSelectionSchema,
|
|
149
150
|
visibilityReportRequestSchema
|
|
150
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-L23GLMDH.js";
|
|
151
152
|
|
|
152
153
|
// src/mcp/tool-registry.ts
|
|
153
154
|
import { z as z2 } from "zod";
|
|
@@ -408,7 +409,10 @@ var snapshotsDiffInputSchema = z2.object({
|
|
|
408
409
|
var insightsListInputSchema = z2.object({
|
|
409
410
|
project: projectNameSchema,
|
|
410
411
|
dismissed: z2.boolean().optional(),
|
|
411
|
-
runId: runIdSchema.optional()
|
|
412
|
+
runId: runIdSchema.optional(),
|
|
413
|
+
type: z2.string().min(1).optional().describe("One insight type, or a family prefix such as gbp-*."),
|
|
414
|
+
severity: insightSeveritySchema.optional().describe("Minimum severity: high returns high and critical."),
|
|
415
|
+
limit: z2.number().int().positive().max(500).optional().describe("Keep the first N in list order.")
|
|
412
416
|
});
|
|
413
417
|
var insightInputSchema = z2.object({
|
|
414
418
|
project: projectNameSchema,
|
|
@@ -1595,13 +1599,13 @@ var rawCanonryMcpTools = [
|
|
|
1595
1599
|
defineTool({
|
|
1596
1600
|
name: "canonry_insights_list",
|
|
1597
1601
|
title: "List insights",
|
|
1598
|
-
description: "List
|
|
1602
|
+
description: "List a Canonry project's insights, newest analysis first. Within one analysis, insights that need action come before wins to monitor, then the most severe first, so the first rows are the ones to act on.",
|
|
1599
1603
|
access: "read",
|
|
1600
1604
|
tier: "monitoring",
|
|
1601
1605
|
inputSchema: insightsListInputSchema,
|
|
1602
1606
|
annotations: readAnnotations(),
|
|
1603
1607
|
openApiOperations: ["GET /api/v1/projects/{name}/insights"],
|
|
1604
|
-
handler: (client, input) => client.getInsights(input.project, { dismissed: input.dismissed, runId: input.runId })
|
|
1608
|
+
handler: (client, input) => client.getInsights(input.project, { dismissed: input.dismissed, runId: input.runId, type: input.type, severity: input.severity, limit: input.limit })
|
|
1605
1609
|
}),
|
|
1606
1610
|
defineTool({
|
|
1607
1611
|
name: "canonry_insight_get",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I7V5UIUZ.js";
|
|
4
4
|
import {
|
|
5
5
|
emitJsonl
|
|
6
6
|
} from "./chunk-Z7IUAJOF.js";
|
|
7
7
|
import {
|
|
8
8
|
measurementDraftOperationSchema,
|
|
9
9
|
runMeasurementDraftAction
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QUMODKMN.js";
|
|
11
11
|
import {
|
|
12
12
|
isMachineFormat,
|
|
13
13
|
systemError
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
unattributedAnswersLabel,
|
|
38
38
|
uncheckedSourcesLabel,
|
|
39
39
|
visibilityReportRequestSchema
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-L23GLMDH.js";
|
|
41
41
|
|
|
42
42
|
// src/commands/measurement-plan.ts
|
|
43
43
|
import crypto from "crypto";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
answerServiceAdapters,
|
|
3
3
|
answerServiceDescriptors
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7LA7MY4D.js";
|
|
5
5
|
import {
|
|
6
6
|
AeroLlmUsageFeatures,
|
|
7
7
|
aeroTurnStatus,
|
|
@@ -27,14 +27,14 @@ import {
|
|
|
27
27
|
resolveConfiguredAgentProvider,
|
|
28
28
|
resolveSessionProviderAndModel,
|
|
29
29
|
setAeroSystemPrompt
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-4MTFV6L2.js";
|
|
31
31
|
import {
|
|
32
32
|
AeroToolProfiles,
|
|
33
33
|
AeroToolScopes,
|
|
34
34
|
buildAeroStateTools,
|
|
35
35
|
isAeroToolProfile,
|
|
36
36
|
truncateToolResult
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-TBQTJRWL.js";
|
|
38
38
|
import {
|
|
39
39
|
getGoogleAuthConfig,
|
|
40
40
|
getGoogleConnection,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
removeCloudflareTrafficConnection,
|
|
54
54
|
removeCloudflareTrafficConnectionBySourceId,
|
|
55
55
|
upsertCloudflareTrafficConnection
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-Y7CK6NY4.js";
|
|
57
57
|
import {
|
|
58
58
|
claudeAdapter,
|
|
59
59
|
embedQueries,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
openaiAdapter,
|
|
65
65
|
openrouterAdapter,
|
|
66
66
|
perplexityAdapter
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-FZW44W5P.js";
|
|
68
68
|
import {
|
|
69
69
|
classifyUsageSurface,
|
|
70
70
|
createApiUsageTelemetry,
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
startOutcomeTimer,
|
|
77
77
|
trackFeatureCompleted,
|
|
78
78
|
trackInstallState
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-CBJ2SBKN.js";
|
|
80
80
|
import {
|
|
81
81
|
isLoopbackBindHost
|
|
82
82
|
} from "./chunk-TSENU4GG.js";
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
isApiProviderRegistrable,
|
|
85
85
|
isCdpProviderRegistrable,
|
|
86
86
|
registeredProviderNames
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-6ME76HJO.js";
|
|
88
88
|
import {
|
|
89
89
|
checkLatestVersionForServer,
|
|
90
90
|
getOrCreateAnonymousId,
|
|
@@ -95,17 +95,17 @@ import {
|
|
|
95
95
|
recordDashboardEvent,
|
|
96
96
|
setTelemetryPreference,
|
|
97
97
|
trackEvent
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-EULFLYW5.js";
|
|
99
99
|
import {
|
|
100
100
|
createCanonryMcpServer
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-5XOGLDAG.js";
|
|
102
102
|
import {
|
|
103
103
|
CANONRY_MCP_TIERS,
|
|
104
104
|
CANONRY_MCP_TOOLKIT_NAMES
|
|
105
105
|
} from "./chunk-4MJYGB56.js";
|
|
106
106
|
import {
|
|
107
107
|
ApiClient
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-I7V5UIUZ.js";
|
|
109
109
|
import {
|
|
110
110
|
AGENT_PROVIDERS,
|
|
111
111
|
adapterSupportsBatch,
|
|
@@ -136,21 +136,21 @@ import {
|
|
|
136
136
|
saveConfigPatch,
|
|
137
137
|
sentimentInstallReadiness,
|
|
138
138
|
updateSharedProviderExecutionGate
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-YZP6IMCC.js";
|
|
140
140
|
import {
|
|
141
141
|
getBundledSkillSnapshots
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-UOHAWN66.js";
|
|
143
143
|
import {
|
|
144
144
|
computeFactorAverages,
|
|
145
145
|
deleteSiteCrawlGraphLayout,
|
|
146
146
|
persistSiteCrawlGraphLayout,
|
|
147
147
|
prepareSiteCrawlGraphLayout,
|
|
148
148
|
recordedSharePct
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-EAE4N2VX.js";
|
|
150
150
|
import {
|
|
151
151
|
CanonryMcpToolNames,
|
|
152
152
|
canonryMcpTools
|
|
153
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-BM4XREGB.js";
|
|
154
154
|
import {
|
|
155
155
|
PACKAGE_VERSION
|
|
156
156
|
} from "./chunk-AOJU5LKX.js";
|
|
@@ -162,11 +162,11 @@ import {
|
|
|
162
162
|
addLogListener,
|
|
163
163
|
createFastifyLogger,
|
|
164
164
|
createLogger
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-23YDBDYE.js";
|
|
166
166
|
import {
|
|
167
167
|
computeCitedCompetitorDomains,
|
|
168
168
|
determineCitationState
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-64MEDTTQ.js";
|
|
170
170
|
import {
|
|
171
171
|
BingApiError,
|
|
172
172
|
CC_CACHE_DIR,
|
|
@@ -284,7 +284,7 @@ import {
|
|
|
284
284
|
webhookResponseReason,
|
|
285
285
|
webhookTargetRefusalReason,
|
|
286
286
|
writeAuditLog
|
|
287
|
-
} from "./chunk-
|
|
287
|
+
} from "./chunk-T5UIEVCS.js";
|
|
288
288
|
import {
|
|
289
289
|
OperationalLogStore,
|
|
290
290
|
SentimentIdempotencyConflict,
|
|
@@ -366,7 +366,7 @@ import {
|
|
|
366
366
|
siteLivenessState,
|
|
367
367
|
trafficSources,
|
|
368
368
|
usageCounters
|
|
369
|
-
} from "./chunk-
|
|
369
|
+
} from "./chunk-DGBFU7YE.js";
|
|
370
370
|
import {
|
|
371
371
|
AGENT_MEMORY_VALUE_MAX_BYTES,
|
|
372
372
|
AI_ENGINE_DOMAINS,
|
|
@@ -601,7 +601,7 @@ import {
|
|
|
601
601
|
winnabilityClassLabel,
|
|
602
602
|
withRetry,
|
|
603
603
|
withSkippedProviders
|
|
604
|
-
} from "./chunk-
|
|
604
|
+
} from "./chunk-L23GLMDH.js";
|
|
605
605
|
|
|
606
606
|
// src/google-marketing-runtime.ts
|
|
607
607
|
import crypto2 from "crypto";
|
|
@@ -5097,7 +5097,7 @@ function nonBlank(value) {
|
|
|
5097
5097
|
return trimmed ? trimmed : void 0;
|
|
5098
5098
|
}
|
|
5099
5099
|
function resolveBuildCommit(env = process.env) {
|
|
5100
|
-
const embedded = true ? "
|
|
5100
|
+
const embedded = true ? "34bb1cce8fe7321c63352ad8be4a5d8b251df8db" : void 0;
|
|
5101
5101
|
return nonBlank(embedded) ?? nonBlank(env.CANONRY_COMMIT);
|
|
5102
5102
|
}
|
|
5103
5103
|
function resolveInstanceIdentity(env = process.env) {
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
bucketCliCommandDuration,
|
|
3
3
|
isTelemetryEnabled,
|
|
4
4
|
trackEvent
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EULFLYW5.js";
|
|
6
6
|
import {
|
|
7
7
|
getConfigDir
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YZP6IMCC.js";
|
|
9
9
|
import {
|
|
10
10
|
currentOutcomeAttribution
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MHG2AFWS.js";
|
|
12
12
|
import {
|
|
13
13
|
AGENT_NONE,
|
|
14
14
|
OutcomeSurfaces,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
integrationConnectionPropertiesSchema,
|
|
20
20
|
normalizeAgentSlug,
|
|
21
21
|
usageSurfaceSchema
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-L23GLMDH.js";
|
|
23
23
|
|
|
24
24
|
// src/outcome-telemetry.ts
|
|
25
25
|
import fs from "fs";
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
configExists,
|
|
3
3
|
loadConfigRaw,
|
|
4
4
|
saveConfigPatch
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YZP6IMCC.js";
|
|
6
6
|
import {
|
|
7
7
|
BUNDLED_SKILL_NAMES,
|
|
8
8
|
installSkills
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UOHAWN66.js";
|
|
10
10
|
import {
|
|
11
11
|
PACKAGE_VERSION
|
|
12
12
|
} from "./chunk-AOJU5LKX.js";
|
|
13
13
|
import {
|
|
14
14
|
SKILL_MANIFEST_FILENAME,
|
|
15
15
|
SkillsClients
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-L23GLMDH.js";
|
|
17
17
|
|
|
18
18
|
// src/skills-autosync.ts
|
|
19
19
|
import fs from "fs";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
siteCrawlGraphNodes,
|
|
6
6
|
siteCrawlPages,
|
|
7
7
|
siteCrawlSnapshots
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DGBFU7YE.js";
|
|
9
9
|
import {
|
|
10
10
|
SITE_CRAWL_GRAPH_MAX_EDGES,
|
|
11
11
|
SITE_CRAWL_GRAPH_MAX_NODES,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
factorStatusFromDistribution,
|
|
16
16
|
factorStatusFromScore,
|
|
17
17
|
roundPreservingTotal
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-L23GLMDH.js";
|
|
19
19
|
|
|
20
20
|
// src/site-audit-factors.ts
|
|
21
21
|
function recordedSharePct(factor) {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
loadConfig,
|
|
6
6
|
loadConfigRaw,
|
|
7
7
|
saveConfigPatch
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YZP6IMCC.js";
|
|
9
9
|
import {
|
|
10
10
|
CANONRY_NPM_PACKAGE_URL,
|
|
11
11
|
compareSemver,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
updateCheckEnvOptOut,
|
|
19
19
|
upgradeCaveatFor,
|
|
20
20
|
upgradeCommandFor
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-L23GLMDH.js";
|
|
22
22
|
|
|
23
23
|
// src/runtime-context.ts
|
|
24
24
|
function cliRuntimeContext(env = process.env, stdio = process) {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
resolveCliAccess,
|
|
4
4
|
resolveCliAccessForInvocation,
|
|
5
5
|
windowOptions
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JYDXICGN.js";
|
|
7
7
|
import {
|
|
8
8
|
emitJsonl
|
|
9
9
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-HGMYEDAQ.js";
|
|
15
15
|
import {
|
|
16
16
|
OperationAccesses
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-L23GLMDH.js";
|
|
18
18
|
|
|
19
19
|
// src/cli-catalog.ts
|
|
20
20
|
import { createRequire } from "module";
|
|
@@ -111,7 +111,7 @@ async function dispatchRegisteredCommand(args, fallbackFormat, specs) {
|
|
|
111
111
|
const accessValue = accessFilterFromArgs(argsWithoutHelp);
|
|
112
112
|
validateAccessFilter(accessValue);
|
|
113
113
|
if (fallbackFormat !== "text") {
|
|
114
|
-
const { printCliCatalog: printCliCatalog2 } = await import("./cli-catalog-
|
|
114
|
+
const { printCliCatalog: printCliCatalog2 } = await import("./cli-catalog-KGYSKGDJ.js");
|
|
115
115
|
const group2 = argsWithoutHelp.find((arg) => !arg.startsWith("--"));
|
|
116
116
|
printCliCatalog2(specs, fallbackFormat, group2, accessValue);
|
|
117
117
|
return true;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseJsonColumn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DGBFU7YE.js";
|
|
4
4
|
import {
|
|
5
5
|
AI_ENGINE_DOMAINS,
|
|
6
6
|
AI_ENGINE_SELF_DOMAINS,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
retryAfterDelayMs,
|
|
27
27
|
usageCount,
|
|
28
28
|
withRetry
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-L23GLMDH.js";
|
|
30
30
|
|
|
31
31
|
// ../provider-openai/src/normalize.ts
|
|
32
32
|
import OpenAI from "openai";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadConfig
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YZP6IMCC.js";
|
|
4
4
|
import {
|
|
5
5
|
PACKAGE_VERSION
|
|
6
6
|
} from "./chunk-AOJU5LKX.js";
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
sentimentSettingsReadSchema,
|
|
37
37
|
sentimentSummaryReadSchema,
|
|
38
38
|
upgradeCommandFor
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-L23GLMDH.js";
|
|
40
40
|
|
|
41
41
|
// ../api-client-generated/src/generated/core/bodySerializer.gen.ts
|
|
42
42
|
var jsonBodySerializer = {
|
|
@@ -22703,6 +22703,29 @@ var COMPETITOR_SUGGESTION_COUNT_UNITS = {
|
|
|
22703
22703
|
|
|
22704
22704
|
// ../contracts/src/intelligence.ts
|
|
22705
22705
|
import { z as z77 } from "zod";
|
|
22706
|
+
var insightSeveritySchema = z77.enum(["critical", "high", "medium", "low"]);
|
|
22707
|
+
var insightActionGroupSchema = z77.enum(["write", "investigate", "monitor"]);
|
|
22708
|
+
var InsightActionGroups = insightActionGroupSchema.enum;
|
|
22709
|
+
var insightActionGroupByType = {
|
|
22710
|
+
// Content-required: a missing or competitive answer needs new or updated material.
|
|
22711
|
+
opportunity: InsightActionGroups.write,
|
|
22712
|
+
"persistent-gap": InsightActionGroups.write,
|
|
22713
|
+
"competitor-gained": InsightActionGroups.write,
|
|
22714
|
+
"competitor-lost": InsightActionGroups.write,
|
|
22715
|
+
// Diagnostic: something previously cited dropped, so find out why first.
|
|
22716
|
+
regression: InsightActionGroups.investigate,
|
|
22717
|
+
// Observational: positive movement; keep watching that it doesn't reverse.
|
|
22718
|
+
gain: InsightActionGroups.monitor,
|
|
22719
|
+
"first-citation": InsightActionGroups.monitor,
|
|
22720
|
+
"provider-pickup": InsightActionGroups.monitor,
|
|
22721
|
+
// GBP: profile gaps need content or profile work; metric and keyword drops need diagnosis.
|
|
22722
|
+
"gbp-lodging-gap": InsightActionGroups.write,
|
|
22723
|
+
"gbp-listing-discrepancy": InsightActionGroups.write,
|
|
22724
|
+
"gbp-cta-gap": InsightActionGroups.write,
|
|
22725
|
+
"gbp-description-missing": InsightActionGroups.write,
|
|
22726
|
+
"gbp-metric-drop": InsightActionGroups.investigate,
|
|
22727
|
+
"gbp-keyword-drop": InsightActionGroups.investigate
|
|
22728
|
+
};
|
|
22706
22729
|
var healthSnapshotDtoSchema = z77.object({
|
|
22707
22730
|
id: z77.string(),
|
|
22708
22731
|
projectId: z77.string(),
|
|
@@ -23404,7 +23427,7 @@ var projectOverviewInsightSchema = z80.object({
|
|
|
23404
23427
|
"gbp-metric-drop",
|
|
23405
23428
|
"gbp-keyword-drop"
|
|
23406
23429
|
]),
|
|
23407
|
-
severity:
|
|
23430
|
+
severity: insightSeveritySchema,
|
|
23408
23431
|
title: z80.string(),
|
|
23409
23432
|
query: z80.string(),
|
|
23410
23433
|
provider: z80.string(),
|
|
@@ -23571,7 +23594,7 @@ var projectSearchInsightHitSchema = z80.object({
|
|
|
23571
23594
|
"gbp-metric-drop",
|
|
23572
23595
|
"gbp-keyword-drop"
|
|
23573
23596
|
]),
|
|
23574
|
-
severity:
|
|
23597
|
+
severity: insightSeveritySchema,
|
|
23575
23598
|
title: z80.string(),
|
|
23576
23599
|
query: z80.string(),
|
|
23577
23600
|
provider: z80.string(),
|
|
@@ -25878,6 +25901,9 @@ export {
|
|
|
25878
25901
|
CompetitorSuggestionStatuses,
|
|
25879
25902
|
competitorSuggestionsResponseSchema,
|
|
25880
25903
|
COMPETITOR_SUGGESTION_COUNT_UNITS,
|
|
25904
|
+
insightSeveritySchema,
|
|
25905
|
+
InsightActionGroups,
|
|
25906
|
+
insightActionGroupByType,
|
|
25881
25907
|
healthSnapshotDtoSchema,
|
|
25882
25908
|
agentViewContextSchema,
|
|
25883
25909
|
agentTurnLimitsSchema,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registeredProviderNames
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6ME76HJO.js";
|
|
4
4
|
import {
|
|
5
5
|
configExists,
|
|
6
6
|
loadConfigRaw
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YZP6IMCC.js";
|
|
8
8
|
|
|
9
9
|
// src/setup-state.ts
|
|
10
10
|
import fs from "fs";
|
|
@@ -28,7 +28,7 @@ async function buildSetupState() {
|
|
|
28
28
|
}
|
|
29
29
|
if (dbPath && fs.existsSync(dbPath)) {
|
|
30
30
|
try {
|
|
31
|
-
const { createClient, projects, queries: queriesTable } = await import("./src-
|
|
31
|
+
const { createClient, projects, queries: queriesTable } = await import("./src-5HJMZCHY.js");
|
|
32
32
|
const db = createClient(dbPath);
|
|
33
33
|
project_count = db.select({ id: projects.id }).from(projects).all().length;
|
|
34
34
|
const firstQuery = db.select({ id: queriesTable.id }).from(queriesTable).limit(1).all();
|
|
@@ -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-GORRM5KD.js");
|
|
51
51
|
await serveCommand(format);
|
|
52
52
|
}
|
|
53
53
|
|