@canonry/canonry 7.116.1 → 7.118.0
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 +1 -0
- package/assets/agent-workspace/skills/aero/references/agent-operations.md +4 -1
- package/assets/agent-workspace/skills/aero/references/getting-started.md +8 -6
- package/assets/agent-workspace/skills/canonry/SKILL.md +4 -1
- package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +12 -1
- package/assets/agent-workspace/skills/canonry/references/getting-started.md +8 -6
- package/assets/agent-workspace/skills/canonry/references/indexing.md +6 -1
- package/assets/agent-workspace/skills/canonry/references/server-side-traffic.md +13 -0
- package/assets/assets/{AccessControls-BTEv8WEG.js → AccessControls-CCvvzEec.js} +2 -2
- package/assets/assets/{AgentSetupPage-s4qM5l-m.js → AgentSetupPage-B-vXoIII.js} +7 -7
- package/assets/assets/{AuditHistoryPanel-BzSIEL75.js → AuditHistoryPanel-ClexSdME.js} +1 -1
- package/assets/assets/BacklinksPage-QMPUVhzl.js +1 -0
- package/assets/assets/{ChartPrimitives-IodrWRFV.js → ChartPrimitives-Dd9VFWrj.js} +1 -1
- package/assets/assets/{Hint-3TTi0MgX.js → Hint-DiyoPGOX.js} +1 -1
- package/assets/assets/{HistoryPage-C3iaKueQ.js → HistoryPage-CzQLFEZG.js} +1 -1
- package/assets/assets/{InfoTooltip-D29JcNMW.js → InfoTooltip-laRfQjZw.js} +1 -1
- package/assets/assets/MeasurementPropertyPage-BTgy_3-R.js +4 -0
- package/assets/assets/ProjectPage-DLgYLplH.js +15 -0
- package/assets/assets/{RunsPage-DdZT_ymi.js → RunsPage-CnWXQk8q.js} +1 -1
- package/assets/assets/ServerTrafficSection-DqVZznpe.js +41 -0
- package/assets/assets/SettingsPage-D2j93m5Q.js +1 -0
- package/assets/assets/ToneBadge-Dym1_0XC.js +60 -0
- package/assets/assets/{TrafficPage-BiOAIZ_a.js → TrafficPage-CzieybRn.js} +1 -1
- package/assets/assets/TrafficSourceDetailPage-CtmGPXZc.js +1 -0
- package/assets/assets/{account-context-CBRGXimz.js → account-context-ClThq0Zv.js} +1 -1
- package/assets/assets/{agent-trust-copy-Bfe0oX0J.js → agent-trust-copy-C0WnWM9W.js} +1 -1
- package/assets/assets/{card-Biwv3_aH.js → card-C-9Q2kJl.js} +1 -1
- package/assets/assets/index-C9Op8ix9.css +1 -0
- package/assets/assets/index-CzPXJ0Qs.js +43 -0
- package/assets/assets/preload-helper-DV4nEYWy.js +1 -0
- package/assets/assets/{query-client-CsLay1me.js → query-client-plQHRUyr.js} +1 -1
- package/assets/assets/react-query-Dz0xmEkM.js +1 -0
- package/assets/assets/{react-sigma_core.esm.min-BVgWTcxp.js → react-sigma_core.esm.min-B-tTeVwc.js} +1 -1
- package/assets/assets/server-traffic-BNdX8qZ4.js +1 -0
- package/assets/assets/service-CN4HIDuw.js +1 -0
- package/assets/assets/{use-tooltip-position-BOzm-6Wy.js → use-tooltip-position-CM1lD8cm.js} +1 -1
- package/assets/assets/vendor-lucide-7AWeFVeL.js +1 -0
- package/assets/assets/{vendor-markdown-BBGbNklj.js → vendor-markdown-CQdHmjWd.js} +1 -1
- package/assets/assets/{vendor-radix-DKCt5Z_h.js → vendor-radix-WbUsEVSn.js} +1 -1
- package/assets/assets/{vendor-recharts-ColROAYR.js → vendor-recharts-DCxaNd0O.js} +1 -1
- package/assets/assets/{vendor-tanstack-16u6cATb.js → vendor-tanstack-C613NhXZ.js} +1 -1
- package/assets/index.html +17 -17
- package/dist/{ads-JE6P76GB.js → ads-GVOTYDS3.js} +4 -5
- package/dist/{agent-BFX6GSRF.js → agent-RFYMQYMN.js} +8 -9
- package/dist/{agent-ask-SKR5ZR3S.js → agent-ask-MZRUCCJO.js} +4 -5
- package/dist/{agent-conversations-AI6UIDDB.js → agent-conversations-WBP5TI3X.js} +4 -5
- package/dist/{agent-journeys-PBVXSG4K.js → agent-journeys-6CR77XCZ.js} +4 -5
- package/dist/{agent-memory-MUPLQMXZ.js → agent-memory-PH3Y7OKJ.js} +4 -5
- package/dist/{agent-providers-56SGYO6F.js → agent-providers-3CBKNXSW.js} +4 -5
- package/dist/{agent-transcript-W2TCKZHU.js → agent-transcript-BN3DCK33.js} +4 -5
- package/dist/{analytics-E5DJUXYW.js → analytics-43UR5IMY.js} +4 -5
- package/dist/{apply-4BBHEPRB.js → apply-POV25FNG.js} +4 -5
- package/dist/{backfill-WNCUA5QU.js → backfill-CWC3W72X.js} +11 -12
- package/dist/{backlinks-F7KVYHNP.js → backlinks-W3SLOIHP.js} +4 -5
- package/dist/{bing-BKM3V5KY.js → bing-HGKOR5GV.js} +11 -10
- package/dist/{bootstrap-CJ4T6WIR.js → bootstrap-XAKQKZCC.js} +11 -12
- package/dist/{cdp-4DP7RUMV.js → cdp-WAB5BPGB.js} +8 -9
- package/dist/{chunk-GNXQMAHP.js → chunk-35DM6ZZ2.js} +2 -2
- package/dist/{chunk-QFIUKE5K.js → chunk-377K7XSP.js} +126 -8
- package/dist/{chunk-D7XW5LNC.js → chunk-3C6A63IG.js} +15 -5
- package/dist/{chunk-LSYMN3XT.js → chunk-4A2JURHR.js} +2 -2
- package/dist/{chunk-A2SB6EMM.js → chunk-6AJ4Y3QL.js} +2 -2
- package/dist/{chunk-IOMPGPSF.js → chunk-6ORW2OUQ.js} +1 -1
- package/dist/{chunk-LK6KW5JN.js → chunk-6UNZDUB6.js} +1 -1
- package/dist/{chunk-ZPHDPDLL.js → chunk-7ACE6HGU.js} +3 -3
- package/dist/{chunk-OSATM2GX.js → chunk-7JFPGEXQ.js} +34 -7
- package/dist/{chunk-DCW5R7SJ.js → chunk-CDPZTIK2.js} +4 -4
- package/dist/{chunk-64EMWVEP.js → chunk-G2JP3KNY.js} +4 -4
- package/dist/{chunk-BBMZ6534.js → chunk-G3HBHMML.js} +2 -4
- package/dist/{chunk-BGIH54A3.js → chunk-GSQQ6VVV.js} +1 -1
- package/dist/{chunk-T2AF4QN7.js → chunk-GY7YLVMD.js} +4 -4
- package/dist/{chunk-CSQTR3JO.js → chunk-HIPSMSH3.js} +387 -380
- package/dist/{chunk-QNWN7VRZ.js → chunk-HQ6GLLVU.js} +2 -2
- package/dist/{chunk-TKD5RVLL.js → chunk-HZTKUGQ4.js} +3 -3
- package/dist/{chunk-G5O4D7I6.js → chunk-ILDAN5TW.js} +1 -1
- package/dist/{chunk-X3ZK4A2L.js → chunk-IOOJ7DQ6.js} +1 -1
- package/dist/{chunk-3BMWBXHZ.js → chunk-LBNJVTGN.js} +11 -2
- package/dist/{chunk-LA42RIFU.js → chunk-LSNAMUIJ.js} +2 -2
- package/dist/{chunk-LLKXFSCH.js → chunk-NJWBSLRW.js} +8 -8
- package/dist/{chunk-3NUSGD54.js → chunk-NZZSWCNM.js} +1 -1
- package/dist/{chunk-WAFH2X45.js → chunk-O67HAPZL.js} +7 -7
- package/dist/{chunk-7Q4DS5JP.js → chunk-OKPD7X4P.js} +102 -102
- package/dist/{chunk-PSP56PWY.js → chunk-Q7LU7GTH.js} +1 -1
- package/dist/{chunk-P5EFITKV.js → chunk-QOFWKOKD.js} +4 -4
- package/dist/{chunk-NNHI6SOT.js → chunk-QT475Y6O.js} +4 -4
- package/dist/{chunk-BBVTNECC.js → chunk-RLDRNIB4.js} +5 -5
- package/dist/{chunk-RRBIKOMI.js → chunk-SBLC7FYP.js} +2 -2
- package/dist/{chunk-JU3KGXW6.js → chunk-SG7E3WTC.js} +5 -5
- package/dist/{chunk-L6TNLBXW.js → chunk-SZSZSOXP.js} +2 -2
- package/dist/{chunk-YNWBNADZ.js → chunk-U3TO2MFS.js} +4 -4
- package/dist/{chunk-3MUJYDIH.js → chunk-UKFXP4R5.js} +1301 -1140
- package/dist/{chunk-F44DLEKZ.js → chunk-V2VWIGVT.js} +1 -1
- package/dist/{chunk-HGMYEDAQ.js → chunk-VU3TF5CD.js} +4 -6
- package/dist/{chunk-GXMQORTQ.js → chunk-WKYQRF5A.js} +3 -3
- package/dist/chunk-XAJS5FH3.js +10 -0
- package/dist/{chunk-LABWX26D.js → chunk-XDOP2ANX.js} +7891 -7816
- package/dist/{citations-4FVSVZT2.js → citations-IMPVSN25.js} +5 -6
- package/dist/{cli-catalog-SAUMPDAU.js → cli-catalog-OFMWOBCF.js} +4 -5
- package/dist/cli-commands-HZNVXGGC.js +18 -0
- package/dist/cli.js +14 -15
- package/dist/{competitor-MJZ2BYYY.js → competitor-2NFTABZM.js} +4 -5
- package/dist/{content-GRWRFY7N.js → content-HYV3JOIS.js} +4 -5
- package/dist/{dashboard-SWAO3TZZ.js → dashboard-DCYRYQ6M.js} +7 -8
- package/dist/{demo-QIIAAUSK.js → demo-X44XG3CF.js} +3 -3
- package/dist/{demo-server-UUENUNWU.js → demo-server-SPMBNVZA.js} +13 -14
- package/dist/{discover-KFWFOOT5.js → discover-VIQMARSR.js} +5 -6
- package/dist/{discover-eval-DOUPPY2M.js → discover-eval-M5RRXWMX.js} +4 -5
- package/dist/{doctor-ZGZ2VEAR.js → doctor-HATXMESK.js} +4 -5
- package/dist/{evidence-27V4BDDW.js → evidence-C3IBS7TO.js} +4 -5
- package/dist/{export-cmd-HCS5ILVI.js → export-cmd-F674KINC.js} +4 -5
- package/dist/{ga-MP2CGERV.js → ga-AWBTXHSN.js} +4 -5
- package/dist/{gbp-OLZAMOYH.js → gbp-NAZYXN4S.js} +4 -5
- package/dist/{google-QB5MVADA.js → google-IYDAWLIV.js} +5 -6
- package/dist/{google-marketing-LWQPSXDT.js → google-marketing-NHV7BCQM.js} +2 -3
- package/dist/{health-cmd-YITDAMGQ.js → health-cmd-ASZUPWDG.js} +5 -6
- package/dist/{history-UUSJUU64.js → history-TFLEYUHW.js} +4 -5
- package/dist/index.d.ts +8 -4
- package/dist/index.js +28 -28
- package/dist/{init-HU3CQ3KE.js → init-ZMIYUSPN.js} +13 -14
- package/dist/{insights-Y2CVUEG7.js → insights-VMU43BJM.js} +4 -5
- package/dist/intelligence-service-TGXLLDIW.js +15 -0
- package/dist/{journeys-DJ7VEJHO.js → journeys-DSPUDWGM.js} +4 -5
- package/dist/{keys-DLI7ZAYO.js → keys-K56VXNJX.js} +4 -5
- package/dist/{keyword-VXU2JWZW.js → keyword-FCMS45PF.js} +4 -5
- package/dist/{logs-WINF42ZW.js → logs-75HP7UD3.js} +4 -5
- package/dist/{mcp-OBWG4O3Z.js → mcp-D7P73XVO.js} +5 -6
- package/dist/mcp.js +11 -12
- package/dist/{measurement-plan-MFZD2EVF.js → measurement-plan-AX6G3RWU.js} +6 -7
- package/dist/{notify-UXPTKXDA.js → notify-QUOFVHKS.js} +4 -5
- package/dist/{organic-evidence-7L6ZTSAH.js → organic-evidence-PPHL7QGS.js} +4 -5
- package/dist/{overview-M3OFICCH.js → overview-C6SSTCC6.js} +6 -7
- package/dist/{project-54O4VABG.js → project-MMQ2H6TH.js} +4 -5
- package/dist/{project-setup-KQBXILOX.js → project-setup-6DGYQAG2.js} +4 -5
- package/dist/{query-QAX5GMLH.js → query-EJGNRC2F.js} +4 -5
- package/dist/{research-5FO3VMLG.js → research-X43RAY3W.js} +4 -5
- package/dist/{results-export-75SDUK5R.js → results-export-FOQXK6NA.js} +4 -5
- package/dist/{run-ZYFBIQJ4.js → run-D4CFXIFR.js} +6 -7
- package/dist/{schedule-5MXMD6MZ.js → schedule-UFOJOPKA.js} +4 -5
- package/dist/{search-AVVB33MS.js → search-6C3ZPK24.js} +4 -5
- package/dist/{serve-AAGQ7AV7.js → serve-5WZQBOXG.js} +29 -29
- package/dist/{session-QLNH3YT4.js → session-3YQ2HXJW.js} +15 -16
- package/dist/{settings-LJ4W7KYC.js → settings-6AGLHMPI.js} +4 -5
- package/dist/{sitemaps-E26UGDHB.js → sitemaps-FIN5CVTH.js} +4 -5
- package/dist/{skills-KDKO76BH.js → skills-3ZD3N6S7.js} +3 -4
- package/dist/{snapshot-H6ESNKUI.js → snapshot-EFW3B6TM.js} +4 -5
- package/dist/{src-SS2AAYBS.js → src-QSFAXHBF.js} +2 -3
- package/dist/{status-RTXJFACN.js → status-CLWEOZP4.js} +6 -7
- package/dist/support-P5H555LC.js +41 -0
- package/dist/{technical-aeo-KMN7F4ZM.js → technical-aeo-IVNC26PJ.js} +4 -5
- package/dist/{telemetry-GKKKHJSB.js → telemetry-ZUFUNFST.js} +5 -6
- package/dist/{tools-HDZAXBXJ.js → tools-QYZRDVAH.js} +12 -13
- package/dist/{traffic-H57O776E.js → traffic-CN667DLE.js} +20 -27
- package/dist/{trends-JD5DR6AW.js → trends-2XLTO3EN.js} +4 -5
- package/dist/{users-TEDPJX74.js → users-NXZSJ7CM.js} +4 -5
- package/dist/{visibility-stats-UQLDR4QJ.js → visibility-stats-DTJD4TEN.js} +5 -6
- package/dist/{wordpress-NQGK7CYA.js → wordpress-LE6UNQCX.js} +4 -5
- package/package.json +1 -1
- package/assets/assets/BacklinksPage-ChKIJpMB.js +0 -1
- package/assets/assets/MeasurementPropertyPage-D5As0Tnh.js +0 -4
- package/assets/assets/ProjectPage-DpsuPdQ6.js +0 -15
- package/assets/assets/ServerTrafficSection-Co3bhYAQ.js +0 -41
- package/assets/assets/SettingsPage-BBMyfzb2.js +0 -1
- package/assets/assets/ToneBadge-D3F2fbxC.js +0 -60
- package/assets/assets/TrafficSourceDetailPage-CmA6q6Gi.js +0 -1
- package/assets/assets/index-CvmK3vq7.css +0 -1
- package/assets/assets/index-yaR6JS3H.js +0 -43
- package/assets/assets/preload-helper-BHTtLTWU.js +0 -1
- package/assets/assets/react-query-DNgX0alO.js +0 -1
- package/assets/assets/server-traffic-CvK4BAVZ.js +0 -1
- package/assets/assets/service-DxCuciCi.js +0 -1
- package/assets/assets/vendor-lucide-iE5MEh2-.js +0 -1
- package/dist/chunk-MLKGABMK.js +0 -9
- package/dist/cli-commands-J2E4ZSGG.js +0 -19
- package/dist/intelligence-service-R7ZGIFFP.js +0 -16
- package/dist/support-ARF4HER7.js +0 -24
|
@@ -24,18 +24,21 @@ import {
|
|
|
24
24
|
resolveConfiguredAgentProvider,
|
|
25
25
|
resolveSessionProviderAndModel,
|
|
26
26
|
setAeroSystemPrompt
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-O67HAPZL.js";
|
|
28
28
|
import {
|
|
29
29
|
answerServiceAdapters,
|
|
30
30
|
answerServiceDescriptors
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-IOOJ7DQ6.js";
|
|
32
|
+
import {
|
|
33
|
+
isManagedCanonryInstall
|
|
34
|
+
} from "./chunk-XAJS5FH3.js";
|
|
32
35
|
import {
|
|
33
36
|
AeroToolProfiles,
|
|
34
37
|
AeroToolScopes,
|
|
35
38
|
buildAeroStateTools,
|
|
36
39
|
isAeroToolProfile,
|
|
37
40
|
truncateToolResult
|
|
38
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-3C6A63IG.js";
|
|
39
42
|
import {
|
|
40
43
|
getGoogleAuthConfig,
|
|
41
44
|
getGoogleConnection,
|
|
@@ -54,7 +57,7 @@ import {
|
|
|
54
57
|
removeCloudflareTrafficConnection,
|
|
55
58
|
removeCloudflareTrafficConnectionBySourceId,
|
|
56
59
|
upsertCloudflareTrafficConnection
|
|
57
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-6ORW2OUQ.js";
|
|
58
61
|
import {
|
|
59
62
|
claudeAdapter,
|
|
60
63
|
embedQueries,
|
|
@@ -66,7 +69,7 @@ import {
|
|
|
66
69
|
openrouterAdapter,
|
|
67
70
|
perplexityAdapter,
|
|
68
71
|
startTrafficReclassification
|
|
69
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-RLDRNIB4.js";
|
|
70
73
|
import {
|
|
71
74
|
classifyUsageSurface,
|
|
72
75
|
createApiUsageTelemetry,
|
|
@@ -78,7 +81,7 @@ import {
|
|
|
78
81
|
startOutcomeTimer,
|
|
79
82
|
trackFeatureCompleted,
|
|
80
83
|
trackInstallState
|
|
81
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-GY7YLVMD.js";
|
|
82
85
|
import {
|
|
83
86
|
isLoopbackBindHost
|
|
84
87
|
} from "./chunk-TSENU4GG.js";
|
|
@@ -86,7 +89,7 @@ import {
|
|
|
86
89
|
isApiProviderRegistrable,
|
|
87
90
|
isCdpProviderRegistrable,
|
|
88
91
|
registeredProviderNames
|
|
89
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-ILDAN5TW.js";
|
|
90
93
|
import {
|
|
91
94
|
checkLatestVersionForServer,
|
|
92
95
|
getOrCreateAnonymousId,
|
|
@@ -98,17 +101,17 @@ import {
|
|
|
98
101
|
recordDashboardEvent,
|
|
99
102
|
setTelemetryPreference,
|
|
100
103
|
trackEvent
|
|
101
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-LSNAMUIJ.js";
|
|
102
105
|
import {
|
|
103
106
|
createCanonryMcpServer
|
|
104
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-7JFPGEXQ.js";
|
|
105
108
|
import {
|
|
106
109
|
CANONRY_MCP_TIERS,
|
|
107
110
|
CANONRY_MCP_TOOLKIT_NAMES
|
|
108
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-QT475Y6O.js";
|
|
109
112
|
import {
|
|
110
113
|
ApiClient
|
|
111
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-WKYQRF5A.js";
|
|
112
115
|
import {
|
|
113
116
|
AGENT_PROVIDERS,
|
|
114
117
|
PROVIDER_MODELS,
|
|
@@ -143,39 +146,39 @@ import {
|
|
|
143
146
|
saveConfigPatch,
|
|
144
147
|
sentimentInstallReadiness,
|
|
145
148
|
updateSharedProviderExecutionGate
|
|
146
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-LBNJVTGN.js";
|
|
147
150
|
import {
|
|
148
151
|
getBundledSkillSnapshots
|
|
149
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-6AJ4Y3QL.js";
|
|
150
153
|
import {
|
|
151
154
|
computeFactorAverages,
|
|
152
155
|
deleteSiteCrawlGraphLayout,
|
|
153
156
|
persistSiteCrawlGraphLayout,
|
|
154
157
|
prepareSiteCrawlGraphLayout,
|
|
155
158
|
recordedSharePct
|
|
156
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-4A2JURHR.js";
|
|
157
160
|
import {
|
|
158
161
|
CanonryMcpToolNames,
|
|
159
162
|
canonryMcpTools
|
|
160
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-377K7XSP.js";
|
|
161
164
|
import {
|
|
162
165
|
PACKAGE_VERSION
|
|
163
166
|
} from "./chunk-AOJU5LKX.js";
|
|
164
167
|
import {
|
|
165
168
|
CliError
|
|
166
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-VU3TF5CD.js";
|
|
167
170
|
import {
|
|
168
171
|
IntelligenceService
|
|
169
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-SG7E3WTC.js";
|
|
170
173
|
import {
|
|
171
174
|
computeCitedCompetitorDomains,
|
|
172
175
|
determineCitationState
|
|
173
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-Q7LU7GTH.js";
|
|
174
177
|
import {
|
|
175
178
|
addLogListener,
|
|
176
179
|
createFastifyLogger,
|
|
177
180
|
createLogger
|
|
178
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-35DM6ZZ2.js";
|
|
179
182
|
import {
|
|
180
183
|
BingApiError,
|
|
181
184
|
CC_CACHE_DIR,
|
|
@@ -327,7 +330,7 @@ import {
|
|
|
327
330
|
webhookTargetRefusalReason,
|
|
328
331
|
webhookUserAgent,
|
|
329
332
|
writeAuditLog
|
|
330
|
-
} from "./chunk-
|
|
333
|
+
} from "./chunk-UKFXP4R5.js";
|
|
331
334
|
import {
|
|
332
335
|
OperationalLogStore,
|
|
333
336
|
SentimentIdempotencyConflict,
|
|
@@ -429,7 +432,7 @@ import {
|
|
|
429
432
|
unrecognizedAgentEventsHourly,
|
|
430
433
|
unrecognizedAgentNotifyState,
|
|
431
434
|
usageCounters
|
|
432
|
-
} from "./chunk-
|
|
435
|
+
} from "./chunk-G3HBHMML.js";
|
|
433
436
|
import {
|
|
434
437
|
AGENT_MEMORY_VALUE_MAX_BYTES,
|
|
435
438
|
AI_ENGINE_DOMAINS,
|
|
@@ -576,6 +579,7 @@ import {
|
|
|
576
579
|
contentBriefDtoSchema,
|
|
577
580
|
createTemplateLinkDetectionTally,
|
|
578
581
|
createTemplateLinkPairIndex,
|
|
582
|
+
defaultSearchSitemapUrl,
|
|
579
583
|
deliveryFailed,
|
|
580
584
|
deriveCitedUrlCandidates,
|
|
581
585
|
deriveGoogleAdsEffectiveGoalGraph,
|
|
@@ -711,7 +715,7 @@ import {
|
|
|
711
715
|
winnabilityClassLabel,
|
|
712
716
|
withRetry,
|
|
713
717
|
withSkippedProviders
|
|
714
|
-
} from "./chunk-
|
|
718
|
+
} from "./chunk-XDOP2ANX.js";
|
|
715
719
|
|
|
716
720
|
// src/google-marketing-runtime.ts
|
|
717
721
|
import crypto2 from "crypto";
|
|
@@ -6191,39 +6195,37 @@ function removeGa4Connection(config, projectName) {
|
|
|
6191
6195
|
}
|
|
6192
6196
|
|
|
6193
6197
|
// src/cloud-run-config.ts
|
|
6194
|
-
function
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
+
function saveConnections(config, connections, persist) {
|
|
6199
|
+
const cloudRun = connections.length ? { ...config.cloudRun, connections } : void 0;
|
|
6200
|
+
persist?.({ cloudRun });
|
|
6201
|
+
if (cloudRun) config.cloudRun = cloudRun;
|
|
6202
|
+
else delete config.cloudRun;
|
|
6203
|
+
}
|
|
6204
|
+
function listCloudRunConnections(config) {
|
|
6205
|
+
return config.cloudRun?.connections ?? [];
|
|
6198
6206
|
}
|
|
6199
6207
|
function getCloudRunConnection(config, projectName) {
|
|
6200
6208
|
return (config.cloudRun?.connections ?? []).find((c) => c.projectName === projectName);
|
|
6201
6209
|
}
|
|
6202
|
-
function upsertCloudRunConnection(config, connection) {
|
|
6203
|
-
const connections =
|
|
6210
|
+
function upsertCloudRunConnection(config, connection, persist) {
|
|
6211
|
+
const connections = [...listCloudRunConnections(config)];
|
|
6204
6212
|
const index = connections.findIndex((c) => c.projectName === connection.projectName);
|
|
6205
|
-
if (index === -1)
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
}
|
|
6209
|
-
connections[index] = connection;
|
|
6213
|
+
if (index === -1) connections.push(connection);
|
|
6214
|
+
else connections[index] = connection;
|
|
6215
|
+
saveConnections(config, connections, persist);
|
|
6210
6216
|
return connection;
|
|
6211
6217
|
}
|
|
6212
|
-
function removeCloudRunConnection(config, projectName) {
|
|
6218
|
+
function removeCloudRunConnection(config, projectName, persist) {
|
|
6213
6219
|
const connections = config.cloudRun?.connections;
|
|
6214
6220
|
if (!connections?.length) return false;
|
|
6215
6221
|
const next = connections.filter((c) => c.projectName !== projectName);
|
|
6216
6222
|
if (next.length === connections.length) return false;
|
|
6217
|
-
|
|
6218
|
-
config.cloudRun.connections = next;
|
|
6219
|
-
if (next.length === 0) {
|
|
6220
|
-
delete config.cloudRun;
|
|
6221
|
-
}
|
|
6223
|
+
saveConnections(config, next, persist);
|
|
6222
6224
|
return true;
|
|
6223
6225
|
}
|
|
6224
6226
|
|
|
6225
6227
|
// src/wordpress-traffic-config.ts
|
|
6226
|
-
function
|
|
6228
|
+
function ensureConnections4(config) {
|
|
6227
6229
|
if (!config.wordpressTraffic) config.wordpressTraffic = {};
|
|
6228
6230
|
if (!config.wordpressTraffic.connections) config.wordpressTraffic.connections = [];
|
|
6229
6231
|
return config.wordpressTraffic.connections;
|
|
@@ -6232,7 +6234,7 @@ function getWordpressTrafficConnection(config, projectName) {
|
|
|
6232
6234
|
return (config.wordpressTraffic?.connections ?? []).find((c) => c.projectName === projectName);
|
|
6233
6235
|
}
|
|
6234
6236
|
function upsertWordpressTrafficConnection(config, connection) {
|
|
6235
|
-
const connections =
|
|
6237
|
+
const connections = ensureConnections4(config);
|
|
6236
6238
|
const index = connections.findIndex((c) => c.projectName === connection.projectName);
|
|
6237
6239
|
if (index === -1) {
|
|
6238
6240
|
connections.push(connection);
|
|
@@ -6255,7 +6257,7 @@ function removeWordpressTrafficConnection(config, projectName) {
|
|
|
6255
6257
|
}
|
|
6256
6258
|
|
|
6257
6259
|
// src/vercel-traffic-config.ts
|
|
6258
|
-
function
|
|
6260
|
+
function ensureConnections5(config) {
|
|
6259
6261
|
if (!config.vercelTraffic) config.vercelTraffic = {};
|
|
6260
6262
|
if (!config.vercelTraffic.connections) config.vercelTraffic.connections = [];
|
|
6261
6263
|
return config.vercelTraffic.connections;
|
|
@@ -6264,7 +6266,7 @@ function getVercelTrafficConnection(config, projectName) {
|
|
|
6264
6266
|
return (config.vercelTraffic?.connections ?? []).find((c) => c.projectName === projectName);
|
|
6265
6267
|
}
|
|
6266
6268
|
function upsertVercelTrafficConnection(config, connection) {
|
|
6267
|
-
const connections =
|
|
6269
|
+
const connections = ensureConnections5(config);
|
|
6268
6270
|
const index = connections.findIndex((c) => c.projectName === connection.projectName);
|
|
6269
6271
|
if (index === -1) {
|
|
6270
6272
|
connections.push(connection);
|
|
@@ -6293,7 +6295,7 @@ function buildCloudflareIngestUrlTemplate(config) {
|
|
|
6293
6295
|
}
|
|
6294
6296
|
|
|
6295
6297
|
// src/wordpress-config.ts
|
|
6296
|
-
function
|
|
6298
|
+
function ensureConnections6(config) {
|
|
6297
6299
|
if (!config.wordpress) config.wordpress = {};
|
|
6298
6300
|
if (!config.wordpress.connections) config.wordpress.connections = [];
|
|
6299
6301
|
return config.wordpress.connections;
|
|
@@ -6310,7 +6312,7 @@ function getWordpressConnection(config, projectName) {
|
|
|
6310
6312
|
return (config.wordpress?.connections ?? []).find((connection) => connection.projectName === projectName);
|
|
6311
6313
|
}
|
|
6312
6314
|
function upsertWordpressConnection(config, connection) {
|
|
6313
|
-
const connections =
|
|
6315
|
+
const connections = ensureConnections6(config);
|
|
6314
6316
|
const normalized = normalizeConnection(connection);
|
|
6315
6317
|
const index = connections.findIndex((entry) => entry.projectName === connection.projectName);
|
|
6316
6318
|
if (index === -1) {
|
|
@@ -6465,7 +6467,7 @@ function nonBlank(value) {
|
|
|
6465
6467
|
return trimmed ? trimmed : void 0;
|
|
6466
6468
|
}
|
|
6467
6469
|
function resolveBuildCommit(env = process.env) {
|
|
6468
|
-
const embedded = true ? "
|
|
6470
|
+
const embedded = true ? "4eca6fdd82ff9626bd450a591a6321722dcc15c7" : void 0;
|
|
6469
6471
|
return nonBlank(embedded) ?? nonBlank(env.CANONRY_COMMIT);
|
|
6470
6472
|
}
|
|
6471
6473
|
function resolveInstanceIdentity(env = process.env) {
|
|
@@ -10566,7 +10568,7 @@ async function getAdGroupInsights(apiKey, adGroupId, opts) {
|
|
|
10566
10568
|
}
|
|
10567
10569
|
|
|
10568
10570
|
// src/ads-config.ts
|
|
10569
|
-
function
|
|
10571
|
+
function ensureConnections7(config) {
|
|
10570
10572
|
if (!config.openaiAds) config.openaiAds = {};
|
|
10571
10573
|
if (!config.openaiAds.connections) config.openaiAds.connections = [];
|
|
10572
10574
|
return config.openaiAds.connections;
|
|
@@ -10575,7 +10577,7 @@ function getOpenAiAdsConnection(config, projectName) {
|
|
|
10575
10577
|
return (config.openaiAds?.connections ?? []).find((c) => c.projectName === projectName);
|
|
10576
10578
|
}
|
|
10577
10579
|
function upsertOpenAiAdsConnection(config, connection) {
|
|
10578
|
-
const connections =
|
|
10580
|
+
const connections = ensureConnections7(config);
|
|
10579
10581
|
const index = connections.findIndex((c) => c.projectName === connection.projectName);
|
|
10580
10582
|
if (index === -1) {
|
|
10581
10583
|
connections.push(connection);
|
|
@@ -11157,7 +11159,8 @@ async function executeInspectSitemap(db, runId, projectId, opts) {
|
|
|
11157
11159
|
const persistConfigPatch = opts.saveConfigPatch ?? saveConfigPatch;
|
|
11158
11160
|
persistConfigPatch(opts.config);
|
|
11159
11161
|
}
|
|
11160
|
-
const sitemapUrl = opts.sitemapUrl || conn.sitemapUrl ||
|
|
11162
|
+
const sitemapUrl = opts.sitemapUrl || conn.sitemapUrl || defaultSearchSitemapUrl(conn.propertyId, project.canonicalDomain);
|
|
11163
|
+
if (!sitemapUrl) throw withOutcomeReason(new Error("Cannot determine a sitemap URL for this Search Console property"), OutcomeReasonCodes.VALIDATION);
|
|
11161
11164
|
log9.info("sitemap.fetch", { runId, projectId, sitemapUrl });
|
|
11162
11165
|
const urls = await fetchAndParseSitemap(sitemapUrl);
|
|
11163
11166
|
log9.info("sitemap.parsed", { runId, projectId, urlCount: urls.length, sitemapUrl });
|
|
@@ -11295,7 +11298,8 @@ async function executeBingInspectSitemap(db, runId, projectId, opts) {
|
|
|
11295
11298
|
OutcomeReasonCodes.PROPERTY_NOT_FOUND
|
|
11296
11299
|
);
|
|
11297
11300
|
}
|
|
11298
|
-
const sitemapUrl = opts.sitemapUrl ??
|
|
11301
|
+
const sitemapUrl = opts.sitemapUrl ?? defaultSearchSitemapUrl(conn.siteUrl, project.canonicalDomain);
|
|
11302
|
+
if (!sitemapUrl) throw withOutcomeReason(new Error("Cannot determine a sitemap URL for this Bing site"), OutcomeReasonCodes.VALIDATION);
|
|
11299
11303
|
log10.info("sitemap.fetch", { runId, projectId, sitemapUrl });
|
|
11300
11304
|
phase = OutcomePhases.crawl;
|
|
11301
11305
|
const sitemapUrls = await fetchAndParseSitemap(sitemapUrl);
|
|
@@ -22383,14 +22387,24 @@ async function createServer(opts) {
|
|
|
22383
22387
|
opts.config.bing?.apiKey || opts.config.bing?.connections?.some((c) => c.apiKey)
|
|
22384
22388
|
)
|
|
22385
22389
|
};
|
|
22390
|
+
function saveSearchConnection(section, change) {
|
|
22391
|
+
const draft = { ...opts.config, [section]: structuredClone(opts.config[section]) };
|
|
22392
|
+
const result = change(draft);
|
|
22393
|
+
if (result) {
|
|
22394
|
+
persistConfigPatch({ [section]: draft[section] });
|
|
22395
|
+
opts.config[section] = draft[section];
|
|
22396
|
+
}
|
|
22397
|
+
return result;
|
|
22398
|
+
}
|
|
22386
22399
|
const bingConnectionStore = {
|
|
22400
|
+
getSavedApiKey: () => opts.config.bing?.apiKey,
|
|
22387
22401
|
getConnection: (domain) => {
|
|
22388
22402
|
return opts.config.bing?.connections?.find((c) => c.domain === domain);
|
|
22389
22403
|
},
|
|
22390
|
-
upsertConnection: (connection) => {
|
|
22391
|
-
if (!
|
|
22392
|
-
if (!
|
|
22393
|
-
const idx =
|
|
22404
|
+
upsertConnection: (connection) => saveSearchConnection("bing", (draft) => {
|
|
22405
|
+
if (!draft.bing) draft.bing = {};
|
|
22406
|
+
if (!draft.bing.connections) draft.bing.connections = [];
|
|
22407
|
+
const idx = draft.bing.connections.findIndex(
|
|
22394
22408
|
(c) => c.domain === connection.domain
|
|
22395
22409
|
);
|
|
22396
22410
|
const normalized = {
|
|
@@ -22398,32 +22412,29 @@ async function createServer(opts) {
|
|
|
22398
22412
|
createdByProjectId: connection.createdByProjectId ?? null
|
|
22399
22413
|
};
|
|
22400
22414
|
if (idx >= 0) {
|
|
22401
|
-
|
|
22415
|
+
draft.bing.connections[idx] = normalized;
|
|
22402
22416
|
} else {
|
|
22403
|
-
|
|
22417
|
+
draft.bing.connections.push(normalized);
|
|
22404
22418
|
}
|
|
22405
|
-
persistConfigPatch(opts.config);
|
|
22406
22419
|
return normalized;
|
|
22407
|
-
},
|
|
22408
|
-
updateConnection: (domain, patch) => {
|
|
22409
|
-
const conn =
|
|
22420
|
+
}),
|
|
22421
|
+
updateConnection: (domain, patch) => saveSearchConnection("bing", (draft) => {
|
|
22422
|
+
const conn = draft.bing?.connections?.find(
|
|
22410
22423
|
(c) => c.domain === domain
|
|
22411
22424
|
);
|
|
22412
22425
|
if (!conn) return void 0;
|
|
22413
22426
|
Object.assign(conn, patch);
|
|
22414
|
-
persistConfigPatch(opts.config);
|
|
22415
22427
|
return conn;
|
|
22416
|
-
},
|
|
22417
|
-
deleteConnection: (domain) => {
|
|
22418
|
-
if (!
|
|
22419
|
-
const idx =
|
|
22428
|
+
}),
|
|
22429
|
+
deleteConnection: (domain) => saveSearchConnection("bing", (draft) => {
|
|
22430
|
+
if (!draft.bing?.connections) return false;
|
|
22431
|
+
const idx = draft.bing.connections.findIndex(
|
|
22420
22432
|
(c) => c.domain === domain
|
|
22421
22433
|
);
|
|
22422
22434
|
if (idx < 0) return false;
|
|
22423
|
-
|
|
22424
|
-
persistConfigPatch(opts.config);
|
|
22435
|
+
draft.bing.connections.splice(idx, 1);
|
|
22425
22436
|
return true;
|
|
22426
|
-
}
|
|
22437
|
+
})
|
|
22427
22438
|
};
|
|
22428
22439
|
const ga4CredentialStore = {
|
|
22429
22440
|
getConnection: (projectName) => {
|
|
@@ -22445,14 +22456,10 @@ async function createServer(opts) {
|
|
|
22445
22456
|
return getCloudRunConnection(opts.config, projectName);
|
|
22446
22457
|
},
|
|
22447
22458
|
upsertConnection: (record) => {
|
|
22448
|
-
|
|
22449
|
-
persistConfigPatch(opts.config);
|
|
22450
|
-
return updated;
|
|
22459
|
+
return upsertCloudRunConnection(opts.config, record, persistConfigPatch);
|
|
22451
22460
|
},
|
|
22452
22461
|
deleteConnection: (projectName) => {
|
|
22453
|
-
|
|
22454
|
-
if (removed) persistConfigPatch(opts.config);
|
|
22455
|
-
return removed;
|
|
22462
|
+
return removeCloudRunConnection(opts.config, projectName, persistConfigPatch);
|
|
22456
22463
|
}
|
|
22457
22464
|
};
|
|
22458
22465
|
const wordpressTrafficCredentialStore = {
|
|
@@ -22518,30 +22525,9 @@ async function createServer(opts) {
|
|
|
22518
22525
|
const googleConnectionStore = {
|
|
22519
22526
|
listConnections: (domain) => listGoogleConnections(opts.config, domain),
|
|
22520
22527
|
getConnection: (domain, connectionType) => getGoogleConnection(opts.config, domain, connectionType),
|
|
22521
|
-
upsertConnection: (connection) =>
|
|
22522
|
-
|
|
22523
|
-
|
|
22524
|
-
return updated;
|
|
22525
|
-
},
|
|
22526
|
-
updateConnection: (domain, connectionType, patch) => {
|
|
22527
|
-
const updated = patchGoogleConnection(
|
|
22528
|
-
opts.config,
|
|
22529
|
-
domain,
|
|
22530
|
-
connectionType,
|
|
22531
|
-
patch
|
|
22532
|
-
);
|
|
22533
|
-
if (updated) persistConfigPatch(opts.config);
|
|
22534
|
-
return updated;
|
|
22535
|
-
},
|
|
22536
|
-
deleteConnection: (domain, connectionType) => {
|
|
22537
|
-
const removed = removeGoogleConnection(
|
|
22538
|
-
opts.config,
|
|
22539
|
-
domain,
|
|
22540
|
-
connectionType
|
|
22541
|
-
);
|
|
22542
|
-
if (removed) persistConfigPatch(opts.config);
|
|
22543
|
-
return removed;
|
|
22544
|
-
}
|
|
22528
|
+
upsertConnection: (connection) => saveSearchConnection("google", (draft) => upsertGoogleConnection(draft, connection)),
|
|
22529
|
+
updateConnection: (domain, connectionType, patch) => saveSearchConnection("google", (draft) => patchGoogleConnection(draft, domain, connectionType, patch)),
|
|
22530
|
+
deleteConnection: (domain, connectionType) => saveSearchConnection("google", (draft) => removeGoogleConnection(draft, domain, connectionType))
|
|
22545
22531
|
};
|
|
22546
22532
|
const wordpressConnectionStore = {
|
|
22547
22533
|
getConnection: (projectName) => {
|
|
@@ -22579,8 +22565,11 @@ async function createServer(opts) {
|
|
|
22579
22565
|
}
|
|
22580
22566
|
const dashboardRequirePassword = resolveDashboardRequirePassword(process.env, opts.config);
|
|
22581
22567
|
const dashboardShowResourceLinks = resolveDashboardShowResourceLinks(process.env, opts.config);
|
|
22568
|
+
const dashboardShowFeedback = parseBooleanEnv(process.env.CANONRY_DASHBOARD_SHOW_FEEDBACK) ?? opts.config.dashboard?.showFeedback ?? true;
|
|
22569
|
+
const managedInstall = isManagedCanonryInstall();
|
|
22582
22570
|
const dashboardShowLocalAgentSetup = resolveDashboardShowLocalAgentSetup(process.env, opts.config);
|
|
22583
22571
|
const dashboardShowUpdateNotification = resolveDashboardShowUpdateNotification(process.env, opts.config);
|
|
22572
|
+
const dashboardWhatsNewOnly = managedInstall || (parseBooleanEnv(process.env.CANONRY_DASHBOARD_WHATS_NEW_ONLY) ?? opts.config.dashboard?.whatsNewOnly ?? false);
|
|
22584
22573
|
const dashboardOnboardingMode = resolveDashboardOnboardingMode(process.env, opts.config);
|
|
22585
22574
|
const dashboardBrandMark = resolveDashboardBrandMark(process.env, opts.config);
|
|
22586
22575
|
const researchAllowViewers = resolveResearchAllowViewers(process.env, opts.config);
|
|
@@ -23714,6 +23703,8 @@ async function createServer(opts) {
|
|
|
23714
23703
|
return snapshotService.createReport(input);
|
|
23715
23704
|
}
|
|
23716
23705
|
});
|
|
23706
|
+
const buildCommit = resolveBuildCommit();
|
|
23707
|
+
const build = { version: PKG_VERSION, ...buildCommit ? { commit: buildCommit } : {} };
|
|
23717
23708
|
const dirname = path6.dirname(fileURLToPath(import.meta.url));
|
|
23718
23709
|
const assetsDir = opts.assetsDir ?? path6.join(dirname, "..", "assets");
|
|
23719
23710
|
if (fs6.existsSync(assetsDir)) {
|
|
@@ -23721,19 +23712,29 @@ async function createServer(opts) {
|
|
|
23721
23712
|
const injectConfig = (html, projectTabsOverride, themeOverride, renderTokenOverride, queryLimitOverride) => {
|
|
23722
23713
|
const clientConfig = {};
|
|
23723
23714
|
if (basePath) clientConfig.basePath = basePath;
|
|
23715
|
+
if (!embed.enabled) clientConfig.build = build;
|
|
23724
23716
|
const dashboardConfig = {};
|
|
23725
23717
|
if (dashboardOnboardingMode) {
|
|
23726
23718
|
dashboardConfig.onboardingMode = dashboardOnboardingMode;
|
|
23727
23719
|
}
|
|
23720
|
+
if (managedInstall) {
|
|
23721
|
+
dashboardConfig.managedInstance = true;
|
|
23722
|
+
}
|
|
23728
23723
|
if (!dashboardShowResourceLinks) {
|
|
23729
23724
|
dashboardConfig.showResourceLinks = false;
|
|
23730
23725
|
}
|
|
23726
|
+
if (!dashboardShowFeedback) {
|
|
23727
|
+
dashboardConfig.showFeedback = false;
|
|
23728
|
+
}
|
|
23731
23729
|
if (!dashboardShowLocalAgentSetup) {
|
|
23732
23730
|
dashboardConfig.showLocalAgentSetup = false;
|
|
23733
23731
|
}
|
|
23734
23732
|
if (!dashboardShowUpdateNotification) {
|
|
23735
23733
|
dashboardConfig.showUpdateNotification = false;
|
|
23736
23734
|
}
|
|
23735
|
+
if (dashboardWhatsNewOnly) {
|
|
23736
|
+
dashboardConfig.whatsNewOnly = true;
|
|
23737
|
+
}
|
|
23737
23738
|
if (dashboardBrandMark === "icon") {
|
|
23738
23739
|
dashboardConfig.brandMark = "icon";
|
|
23739
23740
|
}
|
|
@@ -23769,7 +23770,7 @@ async function createServer(opts) {
|
|
|
23769
23770
|
}
|
|
23770
23771
|
const configScript = `<script>window.__CANONRY_CONFIG__=${serializeForInlineScript(clientConfig)}</script>`;
|
|
23771
23772
|
const baseTag = `<base href="${basePath ?? "/"}">`;
|
|
23772
|
-
return (dashboardBrandMark === "icon" ? withIconMarkLinks(html) : html).replace("<head>", `<head>${baseTag}`).replace("</head>", `${configScript}</head>`);
|
|
23773
|
+
return (dashboardBrandMark === "icon" ? withIconMarkLinks(html) : html).replace("<head>", `<head>${baseTag}`).replace("</head>", () => `${configScript}</head>`);
|
|
23773
23774
|
};
|
|
23774
23775
|
const sendSpaDocument = (reply, html) => {
|
|
23775
23776
|
reply.header("Cache-Control", "no-cache, must-revalidate");
|
|
@@ -23816,6 +23817,7 @@ async function createServer(opts) {
|
|
|
23816
23817
|
};
|
|
23817
23818
|
const rootRouteTrailing = basePath ?? "/";
|
|
23818
23819
|
app.get(rootRouteTrailing, serveIndex);
|
|
23820
|
+
app.get(rootRouteTrailing + "index.html", serveIndex);
|
|
23819
23821
|
if (basePath) {
|
|
23820
23822
|
const rootRouteBare = basePath.replace(/\/$/, "");
|
|
23821
23823
|
if (rootRouteBare) app.get(rootRouteBare, serveIndex);
|
|
@@ -23852,7 +23854,6 @@ async function createServer(opts) {
|
|
|
23852
23854
|
return reply.status(404).send({ error: "Not found" });
|
|
23853
23855
|
});
|
|
23854
23856
|
}
|
|
23855
|
-
const buildCommit = resolveBuildCommit();
|
|
23856
23857
|
const instance = resolveInstanceIdentity();
|
|
23857
23858
|
const healthHandler = (request) => {
|
|
23858
23859
|
const storedOnly = request.headers[STORED_ONLY_HEADER] === "1" || request.headers[STORED_ONLY_HEADER] === "true";
|
|
@@ -23860,9 +23861,8 @@ async function createServer(opts) {
|
|
|
23860
23861
|
return {
|
|
23861
23862
|
status: "ok",
|
|
23862
23863
|
service: "canonry",
|
|
23863
|
-
|
|
23864
|
+
...build,
|
|
23864
23865
|
mcp: getMcpHealth(),
|
|
23865
|
-
...buildCommit ? { commit: buildCommit } : {},
|
|
23866
23866
|
...instance ? { instance } : {},
|
|
23867
23867
|
...basePath ? { basePath: basePath.replace(/\/$/, "") } : {},
|
|
23868
23868
|
...update ? { updateAvailable: update } : {}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WKYQRF5A.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-V2VWIGVT.js";
|
|
11
11
|
import {
|
|
12
12
|
isMachineFormat,
|
|
13
13
|
systemError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VU3TF5CD.js";
|
|
15
15
|
import {
|
|
16
16
|
CITATION_NOT_MEASURED_REASON,
|
|
17
17
|
MeasurementEvidenceShapes,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
unattributedAnswersLabel,
|
|
40
40
|
uncheckedSourcesLabel,
|
|
41
41
|
visibilityReportRequestSchema
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-XDOP2ANX.js";
|
|
43
43
|
|
|
44
44
|
// src/commands/measurement-plan.ts
|
|
45
45
|
import crypto from "crypto";
|
|
@@ -75,19 +75,19 @@ var CANONRY_MCP_TOOLKITS = [
|
|
|
75
75
|
name: "gsc",
|
|
76
76
|
title: "Google Search Console",
|
|
77
77
|
description: "Read GSC performance, per-query totals, inspections, coverage, sitemaps, and deindexed URLs.",
|
|
78
|
-
whenToLoad: "Load
|
|
78
|
+
whenToLoad: "Load to connect Search Console, select a property, or inspect indexing, coverage and sitemaps."
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
name: "bing",
|
|
82
82
|
title: "Bing Webmaster Tools",
|
|
83
|
-
description: "
|
|
84
|
-
whenToLoad: "Load
|
|
83
|
+
description: "Connect with the Bing Webmaster Tools key saved in Canonry Settings, select a site, and review its index coverage and search data.",
|
|
84
|
+
whenToLoad: "Load to connect a Bing site or review its indexed, not indexed and unknown URLs."
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
87
|
name: "ga",
|
|
88
88
|
title: "Google Analytics 4",
|
|
89
89
|
description: "Read GA traffic (with social and creator platforms ranked by conversions per 1,000 sessions), AI/social referral history, attribution trend, session history, and GA4's Search Console landing-page report (Google organic clicks, impressions, CTR, position and active users per landing page).",
|
|
90
|
-
whenToLoad: "Load
|
|
90
|
+
whenToLoad: "Load to connect Google Analytics 4, select a property, or read traffic, referral and attribution data."
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
93
|
name: "gbp",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLogger
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-35DM6ZZ2.js";
|
|
4
4
|
import {
|
|
5
5
|
addLikelyFakeAgentHits,
|
|
6
6
|
correctBackgroundCallJourneys,
|
|
7
7
|
mergeSplitJourneyVisitors,
|
|
8
8
|
repairAiReferralArrivalsOnStartup,
|
|
9
9
|
writeUnrecognizedAgentBuckets
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UKFXP4R5.js";
|
|
11
11
|
import {
|
|
12
12
|
AGENT_TRUST_RULES_VERSION,
|
|
13
13
|
BROWSER_AGENT_BOT_IDS,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
normalizeTrafficPathPattern,
|
|
32
32
|
rulesShareVerificationList,
|
|
33
33
|
unrecognizedAgentName
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-NZZSWCNM.js";
|
|
35
35
|
import {
|
|
36
36
|
RawEventSampleEventTypes,
|
|
37
37
|
agentJourneyCaptureDays,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
trafficReclassificationState,
|
|
49
49
|
trafficSources,
|
|
50
50
|
unrecognizedAgentEventsHourly
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-G3HBHMML.js";
|
|
52
52
|
import {
|
|
53
53
|
AI_ENGINE_DOMAINS,
|
|
54
54
|
AI_ENGINE_SELF_DOMAINS,
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
sortedUnique,
|
|
85
85
|
usageCount,
|
|
86
86
|
withRetry
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-XDOP2ANX.js";
|
|
88
88
|
|
|
89
89
|
// ../provider-openai/src/normalize.ts
|
|
90
90
|
import OpenAI from "openai";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CliError,
|
|
3
3
|
EXIT_SYSTEM_ERROR
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VU3TF5CD.js";
|
|
5
5
|
import {
|
|
6
6
|
describeError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XDOP2ANX.js";
|
|
8
8
|
|
|
9
9
|
// src/gsc-sitemap-submission.ts
|
|
10
10
|
function dedupeGscSitemapUrls(urls) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pickProjectCitedDomain
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Q7LU7GTH.js";
|
|
4
4
|
import {
|
|
5
5
|
createLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-35DM6ZZ2.js";
|
|
7
7
|
import {
|
|
8
8
|
GBP_INSIGHT_PROVIDER,
|
|
9
9
|
PERSISTENT_GAP_THRESHOLD,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
mergeGscQueryTotalsWithFallback,
|
|
18
18
|
readGscQueryDailyRows,
|
|
19
19
|
readLatestGscDataDate
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-UKFXP4R5.js";
|
|
21
21
|
import {
|
|
22
22
|
competitors,
|
|
23
23
|
gbpDailyMetrics,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
queries,
|
|
36
36
|
querySnapshots,
|
|
37
37
|
runs
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-G3HBHMML.js";
|
|
39
39
|
import {
|
|
40
40
|
CitationStates,
|
|
41
41
|
RunKinds,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
effectiveDomains,
|
|
45
45
|
isCitationStateMeasured,
|
|
46
46
|
readCitationState
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-XDOP2ANX.js";
|
|
48
48
|
|
|
49
49
|
// src/intelligence-service.ts
|
|
50
50
|
import { eq, desc, asc, and, ne, or, inArray, gte, lte, isNull, sql, exists } from "drizzle-orm";
|