@canonry/canonry 7.118.1 → 7.118.2
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/assets/assets/{AccessControls-CCvvzEec.js → AccessControls-Dw14Y8Zb.js} +1 -1
- package/assets/assets/{AgentSetupPage-B-vXoIII.js → AgentSetupPage-QCAFqYqz.js} +1 -1
- package/assets/assets/{AuditHistoryPanel-ClexSdME.js → AuditHistoryPanel-C06iViSe.js} +1 -1
- package/assets/assets/{BacklinksPage-QMPUVhzl.js → BacklinksPage-CJqWfjy1.js} +1 -1
- package/assets/assets/{ChartPrimitives-Dd9VFWrj.js → ChartPrimitives-DBTchs1y.js} +1 -1
- package/assets/assets/{HistoryPage-CzQLFEZG.js → HistoryPage-Dif-fQuy.js} +1 -1
- package/assets/assets/{MeasurementPropertyPage-BTgy_3-R.js → MeasurementPropertyPage-BJFfATTB.js} +1 -1
- package/assets/assets/{ProjectPage-DLgYLplH.js → ProjectPage-CFe_NEmJ.js} +3 -3
- package/assets/assets/{RunsPage-CnWXQk8q.js → RunsPage-DUnwiusE.js} +1 -1
- package/assets/assets/{ServerTrafficSection-DqVZznpe.js → ServerTrafficSection-CBCczz52.js} +3 -3
- package/assets/assets/{SettingsPage-D2j93m5Q.js → SettingsPage-BQRQYuJ9.js} +1 -1
- package/assets/assets/{ToneBadge-Dym1_0XC.js → ToneBadge-CViol5aK.js} +4 -4
- package/assets/assets/{TrafficPage-CzieybRn.js → TrafficPage-jtQlqa0x.js} +1 -1
- package/assets/assets/{TrafficSourceDetailPage-CtmGPXZc.js → TrafficSourceDetailPage-8p8kPet2.js} +1 -1
- package/assets/assets/{account-context-ClThq0Zv.js → account-context-B1G3xhE1.js} +1 -1
- package/assets/assets/{agent-trust-copy-C0WnWM9W.js → agent-trust-copy-CMgWNJn0.js} +1 -1
- package/assets/assets/{card-C-9Q2kJl.js → card-B8kjwkFR.js} +1 -1
- package/assets/assets/{index-CzPXJ0Qs.js → index-DxNmD1SS.js} +3 -3
- package/assets/assets/{preload-helper-DV4nEYWy.js → preload-helper-DzM601DW.js} +1 -1
- package/assets/assets/{query-client-plQHRUyr.js → query-client-3W7wQep0.js} +1 -1
- package/assets/assets/{react-query-Dz0xmEkM.js → react-query-B0EpSPOn.js} +1 -1
- package/assets/assets/{react-sigma_core.esm.min-B-tTeVwc.js → react-sigma_core.esm.min-DWNI6FGP.js} +1 -1
- package/assets/assets/{server-traffic-BNdX8qZ4.js → server-traffic-D6FWsQIv.js} +1 -1
- package/assets/assets/{service-CN4HIDuw.js → service-Cy2ZA98R.js} +1 -1
- package/assets/index.html +9 -9
- package/dist/{ads-GVOTYDS3.js → ads-BJCFT2N7.js} +4 -4
- package/dist/{agent-RFYMQYMN.js → agent-KJ5C5BUZ.js} +8 -8
- package/dist/{agent-ask-MZRUCCJO.js → agent-ask-RP2FZIWH.js} +4 -4
- package/dist/{agent-conversations-WBP5TI3X.js → agent-conversations-N6PJOOJG.js} +4 -4
- package/dist/{agent-journeys-6CR77XCZ.js → agent-journeys-XK3AXOZZ.js} +4 -4
- package/dist/{agent-memory-PH3Y7OKJ.js → agent-memory-RKHE5BVJ.js} +4 -4
- package/dist/{agent-providers-3CBKNXSW.js → agent-providers-G2WHCA5Y.js} +4 -4
- package/dist/{agent-transcript-BN3DCK33.js → agent-transcript-SSRB4KHV.js} +4 -4
- package/dist/{analytics-43UR5IMY.js → analytics-QAKMM34E.js} +4 -4
- package/dist/{apply-POV25FNG.js → apply-6IYX6MC6.js} +4 -4
- package/dist/{backfill-UCUWFGCR.js → backfill-PRLYAK63.js} +11 -11
- package/dist/{backlinks-W3SLOIHP.js → backlinks-G52LSPEQ.js} +4 -4
- package/dist/{bing-HGKOR5GV.js → bing-OULTQLAJ.js} +4 -4
- package/dist/{bootstrap-XAKQKZCC.js → bootstrap-OATKSLBT.js} +11 -11
- package/dist/{cdp-WAB5BPGB.js → cdp-NVM5IFD2.js} +8 -8
- package/dist/{chunk-QOFWKOKD.js → chunk-25KN55WQ.js} +4 -4
- package/dist/{chunk-7JFPGEXQ.js → chunk-2M37UZGH.js} +4 -4
- package/dist/{chunk-SZSZSOXP.js → chunk-3JHLIEOY.js} +2 -2
- package/dist/{chunk-HQ6GLLVU.js → chunk-3MGALUWM.js} +2 -2
- package/dist/{chunk-ZFHVEEXB.js → chunk-3QFIBU25.js} +64 -24
- package/dist/{chunk-7ACE6HGU.js → chunk-43QG3FYE.js} +3 -3
- package/dist/{chunk-EHOA2RFV.js → chunk-4INTWV22.js} +6 -6
- package/dist/{chunk-GSQQ6VVV.js → chunk-4O5ZWHZ4.js} +1 -1
- package/dist/{chunk-NZZSWCNM.js → chunk-552V4T75.js} +1 -1
- package/dist/{chunk-V2VWIGVT.js → chunk-6WBIJWKO.js} +1 -1
- package/dist/{chunk-XDOP2ANX.js → chunk-7CXUZI6H.js} +3087 -3058
- package/dist/{chunk-6AJ4Y3QL.js → chunk-7QFB2AI4.js} +2 -2
- package/dist/{chunk-ISLMLTSB.js → chunk-AABZZA7S.js} +8 -8
- package/dist/{chunk-U3TO2MFS.js → chunk-AR2AXWZC.js} +4 -4
- package/dist/{chunk-LSNAMUIJ.js → chunk-ATHSMFDP.js} +2 -2
- package/dist/{chunk-A5X7CSVB.js → chunk-BTM2WKQL.js} +5 -5
- package/dist/{chunk-WKYQRF5A.js → chunk-G2IJGOVF.js} +3 -3
- package/dist/{chunk-6UNZDUB6.js → chunk-G4NYHN56.js} +1 -1
- package/dist/{chunk-YWRXCL3J.js → chunk-H5LYOND2.js} +22 -22
- package/dist/{chunk-IOOJ7DQ6.js → chunk-J2JJFHAM.js} +1 -1
- package/dist/{chunk-G2JP3KNY.js → chunk-JMYX2YJ3.js} +4 -4
- package/dist/{chunk-HZTKUGQ4.js → chunk-K7BPL2BY.js} +3 -3
- package/dist/{chunk-4A2JURHR.js → chunk-KV5I5RJ3.js} +2 -2
- package/dist/{chunk-DSDNQLJO.js → chunk-KWLCI5HP.js} +4 -4
- package/dist/{chunk-WEZC57IK.js → chunk-MUE2JCK7.js} +5 -5
- package/dist/{chunk-GY7YLVMD.js → chunk-PPIXSQNM.js} +4 -4
- package/dist/{chunk-6ORW2OUQ.js → chunk-QM37PRXI.js} +1 -1
- package/dist/{chunk-VU3TF5CD.js → chunk-QP7S34UT.js} +1 -1
- package/dist/{chunk-Q7LU7GTH.js → chunk-R6SX4KC6.js} +1 -1
- package/dist/{chunk-LBNJVTGN.js → chunk-RJDIAWNE.js} +2 -2
- package/dist/{chunk-35DM6ZZ2.js → chunk-T6ILJ2FW.js} +2 -2
- package/dist/{chunk-ILDAN5TW.js → chunk-TVU3SGB3.js} +1 -1
- package/dist/{chunk-TO6J7C35.js → chunk-U2GFFMHS.js} +5 -5
- package/dist/{chunk-SBLC7FYP.js → chunk-UZBV2MFC.js} +2 -2
- package/dist/{chunk-OBRB7CN6.js → chunk-WHFZQMDU.js} +369 -369
- package/dist/{chunk-G3HBHMML.js → chunk-YB7QBOA6.js} +1 -1
- package/dist/{chunk-377K7XSP.js → chunk-ZTN2BG4D.js} +4 -4
- package/dist/{citations-IMPVSN25.js → citations-7ZI2SULG.js} +5 -5
- package/dist/{cli-catalog-OFMWOBCF.js → cli-catalog-RO57BEAG.js} +4 -4
- package/dist/cli-commands-23N5ZW76.js +18 -0
- package/dist/cli.js +14 -14
- package/dist/{competitor-2NFTABZM.js → competitor-PAILSWRL.js} +4 -4
- package/dist/{content-HYV3JOIS.js → content-VNVROYY3.js} +4 -4
- package/dist/{dashboard-OY75SNYT.js → dashboard-5WAAR33F.js} +7 -7
- package/dist/{demo-643NLHIX.js → demo-QD55GHC7.js} +3 -3
- package/dist/{demo-server-W7YKCOQJ.js → demo-server-KMJC4TWS.js} +13 -13
- package/dist/{discover-VIQMARSR.js → discover-Y4OYY55Y.js} +5 -5
- package/dist/{discover-eval-M5RRXWMX.js → discover-eval-DZGZH6ED.js} +4 -4
- package/dist/{doctor-HATXMESK.js → doctor-7BOKC4J6.js} +4 -4
- package/dist/{evidence-C3IBS7TO.js → evidence-RIJWDHZR.js} +4 -4
- package/dist/{export-cmd-F674KINC.js → export-cmd-J4LZ5GSD.js} +4 -4
- package/dist/{ga-AWBTXHSN.js → ga-IEY3C76P.js} +4 -4
- package/dist/{gbp-NAZYXN4S.js → gbp-OP7B6R6Z.js} +4 -4
- package/dist/{google-IYDAWLIV.js → google-G7MNB3XJ.js} +5 -5
- package/dist/{google-marketing-NHV7BCQM.js → google-marketing-7562CCEM.js} +2 -2
- package/dist/{health-cmd-ASZUPWDG.js → health-cmd-INJ5FWJ7.js} +5 -5
- package/dist/{history-TFLEYUHW.js → history-34NHNH4B.js} +4 -4
- package/dist/index.d.ts +43 -43
- package/dist/index.js +26 -26
- package/dist/{init-CYZUNXPV.js → init-QKAAFP7Z.js} +13 -13
- package/dist/{insights-VMU43BJM.js → insights-TPITCFIE.js} +4 -4
- package/dist/intelligence-service-3ZR7CGWF.js +15 -0
- package/dist/{journeys-DSPUDWGM.js → journeys-AGSHRJVG.js} +4 -4
- package/dist/{keys-K56VXNJX.js → keys-ZGA5ZBFE.js} +4 -4
- package/dist/{keyword-FCMS45PF.js → keyword-XQA6K462.js} +4 -4
- package/dist/{logs-75HP7UD3.js → logs-D2HPGLMI.js} +4 -4
- package/dist/{mcp-D7P73XVO.js → mcp-UKYWUOA6.js} +5 -5
- package/dist/mcp.js +10 -10
- package/dist/{measurement-plan-AX6G3RWU.js → measurement-plan-3S2BV34R.js} +6 -6
- package/dist/{notify-QUOFVHKS.js → notify-PKXIBY2X.js} +4 -4
- package/dist/{organic-evidence-PPHL7QGS.js → organic-evidence-6WAJC7CC.js} +4 -4
- package/dist/{overview-C6SSTCC6.js → overview-YIMXGGQC.js} +6 -6
- package/dist/{project-MMQ2H6TH.js → project-WNMIV5OV.js} +4 -4
- package/dist/{project-setup-6DGYQAG2.js → project-setup-OSAJFEWF.js} +4 -4
- package/dist/{query-EJGNRC2F.js → query-GN654GYL.js} +4 -4
- package/dist/{research-X43RAY3W.js → research-HR67DZJE.js} +4 -4
- package/dist/{results-export-FOQXK6NA.js → results-export-CNAAOWQX.js} +4 -4
- package/dist/{run-D4CFXIFR.js → run-M7F6BMTH.js} +6 -6
- package/dist/{schedule-UFOJOPKA.js → schedule-LKGWXMPF.js} +4 -4
- package/dist/{search-6C3ZPK24.js → search-MRWOL2M3.js} +4 -4
- package/dist/{serve-RBBLESEQ.js → serve-YR2A6YGF.js} +27 -27
- package/dist/{session-4BIHTXY3.js → session-JSZLON4Q.js} +14 -14
- package/dist/{settings-6AGLHMPI.js → settings-O2TJKLTN.js} +4 -4
- package/dist/{sitemaps-FIN5CVTH.js → sitemaps-35MYNHN6.js} +4 -4
- package/dist/{skills-3ZD3N6S7.js → skills-CNUBIGXM.js} +3 -3
- package/dist/{snapshot-EFW3B6TM.js → snapshot-G67JDGMY.js} +4 -4
- package/dist/{src-QSFAXHBF.js → src-T2CVI44I.js} +2 -2
- package/dist/{status-CLWEOZP4.js → status-EBOPJY3L.js} +6 -6
- package/dist/{support-P5H555LC.js → support-Q735EEZ7.js} +2 -2
- package/dist/{technical-aeo-IVNC26PJ.js → technical-aeo-N4WO2GSS.js} +4 -4
- package/dist/{telemetry-ZUFUNFST.js → telemetry-CAZH47YY.js} +5 -5
- package/dist/{tools-V2V7RUTA.js → tools-FCS5X36N.js} +12 -12
- package/dist/{traffic-CN667DLE.js → traffic-G3UAF52O.js} +25 -8
- package/dist/{trends-2XLTO3EN.js → trends-JEQCIQZU.js} +4 -4
- package/dist/{users-NXZSJ7CM.js → users-5QFNLFVU.js} +4 -4
- package/dist/{visibility-stats-DTJD4TEN.js → visibility-stats-MQLGIZEM.js} +5 -5
- package/dist/{wordpress-LE6UNQCX.js → wordpress-NMLL7F6A.js} +4 -4
- package/package.json +1 -1
- package/dist/cli-commands-TJHBC2HQ.js +0 -18
- package/dist/intelligence-service-NGD2KVLQ.js +0 -15
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-G2IJGOVF.js";
|
|
4
|
+
import "./chunk-RJDIAWNE.js";
|
|
5
5
|
import {
|
|
6
6
|
emitJsonl
|
|
7
7
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
CliError,
|
|
11
11
|
isMachineFormat,
|
|
12
12
|
usageError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QP7S34UT.js";
|
|
14
14
|
import {
|
|
15
15
|
describeError,
|
|
16
16
|
formatPercent,
|
|
17
17
|
formatRunErrorOneLine
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7CXUZI6H.js";
|
|
19
19
|
|
|
20
20
|
// src/commands/bing.ts
|
|
21
21
|
function getClient() {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
trackCliConnection
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3JHLIEOY.js";
|
|
4
4
|
import {
|
|
5
5
|
answerServiceDescriptors
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-J2JJFHAM.js";
|
|
7
7
|
import {
|
|
8
8
|
outcomeFailure
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PPIXSQNM.js";
|
|
10
10
|
import {
|
|
11
11
|
isLoopbackBindHost
|
|
12
12
|
} from "./chunk-TSENU4GG.js";
|
|
13
13
|
import {
|
|
14
14
|
registeredProviderNames
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TVU3SGB3.js";
|
|
16
16
|
import {
|
|
17
17
|
isTelemetryEnabled,
|
|
18
18
|
recordInstallRef
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ATHSMFDP.js";
|
|
20
20
|
import {
|
|
21
21
|
createApiClient
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-G2IJGOVF.js";
|
|
23
23
|
import {
|
|
24
24
|
configExists,
|
|
25
25
|
getAnswerServiceEnv,
|
|
@@ -30,25 +30,25 @@ import {
|
|
|
30
30
|
loadConfigRaw,
|
|
31
31
|
saveConfig,
|
|
32
32
|
withBootstrapProviderDefaults
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-RJDIAWNE.js";
|
|
34
34
|
import "./chunk-AOJU5LKX.js";
|
|
35
35
|
import {
|
|
36
36
|
CliError,
|
|
37
37
|
isEndpointMissing,
|
|
38
38
|
isMachineFormat,
|
|
39
39
|
systemError
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
} from "./chunk-QP7S34UT.js";
|
|
41
|
+
import "./chunk-4O5ZWHZ4.js";
|
|
42
42
|
import {
|
|
43
43
|
apiKeys,
|
|
44
44
|
createClient,
|
|
45
45
|
dashboardSessions,
|
|
46
46
|
migrate
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-YB7QBOA6.js";
|
|
48
48
|
import {
|
|
49
49
|
ProviderNames,
|
|
50
50
|
ProviderReloadErrorReasons
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-7CXUZI6H.js";
|
|
52
52
|
|
|
53
53
|
// src/commands/bootstrap.ts
|
|
54
54
|
import crypto from "crypto";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
trackCliConnection
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3JHLIEOY.js";
|
|
4
4
|
import {
|
|
5
5
|
outcomeFailure
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-PPIXSQNM.js";
|
|
7
|
+
import "./chunk-ATHSMFDP.js";
|
|
8
8
|
import {
|
|
9
9
|
createApiClient
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-G2IJGOVF.js";
|
|
11
11
|
import {
|
|
12
12
|
loadConfig,
|
|
13
13
|
saveConfigPatch
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RJDIAWNE.js";
|
|
15
15
|
import "./chunk-AOJU5LKX.js";
|
|
16
16
|
import {
|
|
17
17
|
CliError,
|
|
18
18
|
isMachineFormat
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-QP7S34UT.js";
|
|
20
|
+
import "./chunk-4O5ZWHZ4.js";
|
|
21
21
|
import {
|
|
22
22
|
describeError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-7CXUZI6H.js";
|
|
24
24
|
|
|
25
25
|
// src/commands/cdp.ts
|
|
26
26
|
function getClient() {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-G2IJGOVF.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-6WBIJWKO.js";
|
|
11
11
|
import {
|
|
12
12
|
isMachineFormat,
|
|
13
13
|
systemError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QP7S34UT.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-7CXUZI6H.js";
|
|
43
43
|
|
|
44
44
|
// src/commands/measurement-plan.ts
|
|
45
45
|
import crypto from "crypto";
|
|
@@ -7,25 +7,25 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
createApiClient,
|
|
9
9
|
runWithUsageTags
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-G2IJGOVF.js";
|
|
11
11
|
import {
|
|
12
12
|
canonryMcpTools,
|
|
13
13
|
mcpOutputSchema,
|
|
14
14
|
toolOperationAccess
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZTN2BG4D.js";
|
|
16
16
|
import {
|
|
17
17
|
PACKAGE_VERSION
|
|
18
18
|
} from "./chunk-AOJU5LKX.js";
|
|
19
19
|
import {
|
|
20
20
|
CliError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-QP7S34UT.js";
|
|
22
22
|
import {
|
|
23
23
|
OperationAccesses,
|
|
24
24
|
RESEARCH_RUN_SCOPE,
|
|
25
25
|
isReadOnlyKey,
|
|
26
26
|
restrictedWriteScopes,
|
|
27
27
|
upgradeCaveatFor
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-7CXUZI6H.js";
|
|
29
29
|
|
|
30
30
|
// src/mcp/server.ts
|
|
31
31
|
import { randomUUID } from "crypto";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
trackIntegrationConnection
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PPIXSQNM.js";
|
|
4
4
|
import {
|
|
5
5
|
cliRuntimeContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ATHSMFDP.js";
|
|
7
7
|
|
|
8
8
|
// src/cli-connection-telemetry.ts
|
|
9
9
|
function trackCliConnection(properties) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usageError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QP7S34UT.js";
|
|
4
4
|
import {
|
|
5
5
|
AppError,
|
|
6
6
|
parseWindowIn,
|
|
7
7
|
resolveDateRange
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7CXUZI6H.js";
|
|
9
9
|
|
|
10
10
|
// src/cli-access.ts
|
|
11
11
|
var CLI_ACCESS_BY_ID = Object.freeze({
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
normalizeTrafficPathPattern,
|
|
20
20
|
sessionizeJourneyRequests,
|
|
21
21
|
verifyRequestSignature
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-552V4T75.js";
|
|
23
23
|
import {
|
|
24
24
|
currentOutcomeAttribution,
|
|
25
25
|
getRequestContext,
|
|
26
26
|
registerRequestContext,
|
|
27
27
|
requestAuditIdentity,
|
|
28
28
|
sanitizeRequestContext
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-4O5ZWHZ4.js";
|
|
30
30
|
import {
|
|
31
31
|
RawEventSampleEventTypes,
|
|
32
32
|
SentimentIdempotencyConflict,
|
|
@@ -190,7 +190,7 @@ import {
|
|
|
190
190
|
userSessions,
|
|
191
191
|
users,
|
|
192
192
|
writeNegativeReviewMaxStars
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-YB7QBOA6.js";
|
|
194
194
|
import {
|
|
195
195
|
ADS_ACTIVATE_SCOPE,
|
|
196
196
|
ADS_ACTIVATION_ABSOLUTE_MAX_ENTITIES,
|
|
@@ -712,6 +712,7 @@ import {
|
|
|
712
712
|
createUserInvitationRequestSchema,
|
|
713
713
|
createUserRequestSchema,
|
|
714
714
|
createdApiKeyDtoSchema,
|
|
715
|
+
credentialRedactionValues,
|
|
715
716
|
deduplicateResearchQueries,
|
|
716
717
|
deliveryFailed,
|
|
717
718
|
deltaPercent,
|
|
@@ -1138,6 +1139,7 @@ import {
|
|
|
1138
1139
|
recommendationBriefDtoSchema,
|
|
1139
1140
|
recommendationExplainRequestSchema,
|
|
1140
1141
|
recommendationExplanationDtoSchema,
|
|
1142
|
+
redactKnownSecrets,
|
|
1141
1143
|
redactLogString,
|
|
1142
1144
|
referralAssessmentQuerySchema,
|
|
1143
1145
|
referralAssessmentSchema,
|
|
@@ -1388,7 +1390,7 @@ import {
|
|
|
1388
1390
|
wordpressSchemaDeployResultDtoSchema,
|
|
1389
1391
|
wordpressSchemaStatusResultDtoSchema,
|
|
1390
1392
|
wordpressStatusDtoSchema
|
|
1391
|
-
} from "./chunk-
|
|
1393
|
+
} from "./chunk-7CXUZI6H.js";
|
|
1392
1394
|
|
|
1393
1395
|
// ../api-routes/src/user-session.ts
|
|
1394
1396
|
import crypto2 from "crypto";
|
|
@@ -71552,6 +71554,23 @@ function trimRequired2(name, value) {
|
|
|
71552
71554
|
}
|
|
71553
71555
|
return trimmed;
|
|
71554
71556
|
}
|
|
71557
|
+
function assertSingleLineToken(token) {
|
|
71558
|
+
if (/[\s\u0000-\u001F\u007F]/.test(token)) {
|
|
71559
|
+
throw new VercelLogsApiError(
|
|
71560
|
+
"The Vercel token must be a single line with no spaces. Reconnect the source with the token alone.",
|
|
71561
|
+
400
|
|
71562
|
+
);
|
|
71563
|
+
}
|
|
71564
|
+
}
|
|
71565
|
+
function transportFailure(error) {
|
|
71566
|
+
const name = error instanceof Error ? error.name : "";
|
|
71567
|
+
if (name === "TimeoutError" || name === "AbortError") {
|
|
71568
|
+
return new VercelLogsApiError("Vercel request-logs request timed out", 504);
|
|
71569
|
+
}
|
|
71570
|
+
const cause = error instanceof Error ? error.cause : void 0;
|
|
71571
|
+
const code = typeof cause?.code === "string" && /^[A-Z][A-Z0-9_]{1,40}$/.test(cause.code) ? cause.code : null;
|
|
71572
|
+
return new VercelLogsApiError(`Vercel request-logs request failed${code ? ` (${code})` : ""}`, 503);
|
|
71573
|
+
}
|
|
71555
71574
|
function normalizeMaxPages3(maxPages) {
|
|
71556
71575
|
if (maxPages === void 0) return DEFAULT_MAX_PAGES3;
|
|
71557
71576
|
if (!Number.isInteger(maxPages) || maxPages < 1) {
|
|
@@ -71591,6 +71610,7 @@ async function withVercelRetry(attempt, maxRetries, initialDelayMs) {
|
|
|
71591
71610
|
}
|
|
71592
71611
|
async function listVercelTrafficEvents(options) {
|
|
71593
71612
|
const token = trimRequired2("token", options.token);
|
|
71613
|
+
assertSingleLineToken(token);
|
|
71594
71614
|
const projectId = trimRequired2("projectId", options.projectId);
|
|
71595
71615
|
const teamId = trimRequired2("teamId", options.teamId);
|
|
71596
71616
|
const environment = options.environment ?? DEFAULT_ENVIRONMENT;
|
|
@@ -71614,14 +71634,19 @@ async function listVercelTrafficEvents(options) {
|
|
|
71614
71634
|
url.searchParams.set("endDate", endDate);
|
|
71615
71635
|
url.searchParams.set("environment", environment);
|
|
71616
71636
|
const body = await withVercelRetry(async () => {
|
|
71617
|
-
|
|
71618
|
-
|
|
71619
|
-
|
|
71620
|
-
|
|
71621
|
-
|
|
71622
|
-
|
|
71623
|
-
|
|
71624
|
-
|
|
71637
|
+
let response;
|
|
71638
|
+
try {
|
|
71639
|
+
response = await fetch(url, {
|
|
71640
|
+
method: "GET",
|
|
71641
|
+
headers: {
|
|
71642
|
+
Authorization: `Bearer ${token}`,
|
|
71643
|
+
Accept: "application/json"
|
|
71644
|
+
},
|
|
71645
|
+
signal: AbortSignal.timeout(timeoutMs)
|
|
71646
|
+
});
|
|
71647
|
+
} catch (error) {
|
|
71648
|
+
throw transportFailure(error);
|
|
71649
|
+
}
|
|
71625
71650
|
if (!response.ok) {
|
|
71626
71651
|
const errorBody = await readErrorBody3(response);
|
|
71627
71652
|
const retryAfterSeconds2 = parseRetryAfter2(response.headers.get("retry-after"));
|
|
@@ -72772,6 +72797,14 @@ function aiUserFetchVerificationProvenance(db, projectId, events) {
|
|
|
72772
72797
|
)`).orderBy(aiUserFetchVerificationManifestsHourly.manifestId).all();
|
|
72773
72798
|
return buildVerificationProvenance(events, rows);
|
|
72774
72799
|
}
|
|
72800
|
+
function wordpressRedactionValues(username, applicationPassword) {
|
|
72801
|
+
return [
|
|
72802
|
+
...credentialRedactionValues(applicationPassword),
|
|
72803
|
+
// WordPress accepts the password with or without its group spaces.
|
|
72804
|
+
applicationPassword.replace(/\s+/g, ""),
|
|
72805
|
+
Buffer.from(`${username.trim()}:${applicationPassword.trim()}`, "utf8").toString("base64")
|
|
72806
|
+
];
|
|
72807
|
+
}
|
|
72775
72808
|
function parseSourceConfig(row) {
|
|
72776
72809
|
return row.configJson;
|
|
72777
72810
|
}
|
|
@@ -72953,7 +72986,7 @@ async function runBackfillTaskHoldingLease(options, signal) {
|
|
|
72953
72986
|
return;
|
|
72954
72987
|
}
|
|
72955
72988
|
markFailed(
|
|
72956
|
-
`${pullErrorPrefix}: ${describeError(e)}`,
|
|
72989
|
+
`${pullErrorPrefix}: ${redactKnownSecrets(describeError(e), options.pullSecrets ?? [])}`,
|
|
72957
72990
|
e instanceof VercelRetentionClampError
|
|
72958
72991
|
);
|
|
72959
72992
|
reportBackfill(failedOutcome(e, e instanceof VercelRetentionClampError ? OutcomeReasonCodes.NO_DATA : void 0));
|
|
@@ -73579,13 +73612,15 @@ async function trafficRoutes(app, opts) {
|
|
|
73579
73612
|
});
|
|
73580
73613
|
} catch (e) {
|
|
73581
73614
|
attempt.failed(e, e instanceof EgressRefusedError ? "BLOCKED_UNSAFE_URL" : e instanceof EgressFailedError ? "NETWORK" : void 0);
|
|
73615
|
+
const secrets = wordpressRedactionValues(username, applicationPassword);
|
|
73582
73616
|
if (e instanceof WordpressTrafficApiError) {
|
|
73583
|
-
throw providerError(
|
|
73584
|
-
`WordPress traffic probe failed (HTTP ${e.status}): ${e.message}${e.body ? ` \u2014 ${e.body}` : ""}
|
|
73585
|
-
|
|
73617
|
+
throw providerError(redactKnownSecrets(
|
|
73618
|
+
`WordPress traffic probe failed (HTTP ${e.status}): ${e.message}${e.body ? ` \u2014 ${e.body}` : ""}`,
|
|
73619
|
+
secrets
|
|
73620
|
+
));
|
|
73586
73621
|
}
|
|
73587
73622
|
if (e instanceof EgressRefusedError && !e.redirected) throw validationError(`WordPress baseUrl rejected: ${e.message}`);
|
|
73588
|
-
const msg = describeError(e);
|
|
73623
|
+
const msg = redactKnownSecrets(describeError(e), secrets);
|
|
73589
73624
|
throw providerError(`WordPress traffic probe failed: ${msg}`);
|
|
73590
73625
|
}
|
|
73591
73626
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
@@ -73680,12 +73715,14 @@ async function trafficRoutes(app, opts) {
|
|
|
73680
73715
|
});
|
|
73681
73716
|
} catch (e) {
|
|
73682
73717
|
attempt.failed(e);
|
|
73718
|
+
const secrets = credentialRedactionValues(token);
|
|
73683
73719
|
if (e instanceof VercelLogsApiError) {
|
|
73684
|
-
throw providerError(
|
|
73685
|
-
`Vercel traffic probe failed (HTTP ${e.status}): ${e.message}${e.body ? ` \u2014 ${e.body}` : ""}
|
|
73686
|
-
|
|
73720
|
+
throw providerError(redactKnownSecrets(
|
|
73721
|
+
`Vercel traffic probe failed (HTTP ${e.status}): ${e.message}${e.body ? ` \u2014 ${e.body}` : ""}`,
|
|
73722
|
+
secrets
|
|
73723
|
+
));
|
|
73687
73724
|
}
|
|
73688
|
-
const msg = describeError(e);
|
|
73725
|
+
const msg = redactKnownSecrets(describeError(e), secrets);
|
|
73689
73726
|
throw providerError(`Vercel traffic probe failed: ${msg}`);
|
|
73690
73727
|
}
|
|
73691
73728
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
@@ -74862,7 +74899,7 @@ async function trafficRoutes(app, opts) {
|
|
|
74862
74899
|
allEvents = collected;
|
|
74863
74900
|
nextCursor = cursor;
|
|
74864
74901
|
} catch (e) {
|
|
74865
|
-
const msg = describeError(e);
|
|
74902
|
+
const msg = redactKnownSecrets(describeError(e), wordpressRedactionValues(credential.username, credential.applicationPassword));
|
|
74866
74903
|
markFailed(msg, "PROVIDER_PULL");
|
|
74867
74904
|
if (e instanceof EgressRefusedError && !e.redirected) throw validationError(`WordPress baseUrl rejected: ${msg}`);
|
|
74868
74905
|
throw providerError(`WordPress pull failed: ${msg}`);
|
|
@@ -74962,7 +74999,7 @@ async function trafficRoutes(app, opts) {
|
|
|
74962
74999
|
}
|
|
74963
75000
|
allEvents = drained.events;
|
|
74964
75001
|
} catch (e) {
|
|
74965
|
-
const msg = describeError(e);
|
|
75002
|
+
const msg = redactKnownSecrets(describeError(e), credentialRedactionValues(credential.token));
|
|
74966
75003
|
const credentialRefused = e instanceof VercelLogsApiError && (e.status === 401 || e.status === 403);
|
|
74967
75004
|
markFailed(msg, credentialRefused ? "PROVIDER_AUTH" : "PROVIDER_PULL");
|
|
74968
75005
|
throw providerError(`Vercel pull failed: ${msg}`);
|
|
@@ -75384,6 +75421,7 @@ async function trafficRoutes(app, opts) {
|
|
|
75384
75421
|
windowStart.setUTCMinutes(0, 0, 0);
|
|
75385
75422
|
let pullForBackfill;
|
|
75386
75423
|
let pullErrorPrefix;
|
|
75424
|
+
let pullSecrets = [];
|
|
75387
75425
|
if (sourceRow2.sourceType === TrafficSourceTypes["cloud-run"]) {
|
|
75388
75426
|
const credential = requireCloudRunSourceCredential(sourceRow2, project.name);
|
|
75389
75427
|
const { gcpProjectId, serviceName, location } = credential;
|
|
@@ -75424,6 +75462,7 @@ async function trafficRoutes(app, opts) {
|
|
|
75424
75462
|
const vercelTeamId = config.teamId ?? credential.teamId;
|
|
75425
75463
|
const vercelEnvironment = config.environment ?? credential.environment;
|
|
75426
75464
|
pullErrorPrefix = "Vercel pull failed";
|
|
75465
|
+
pullSecrets = credentialRedactionValues(credential.token);
|
|
75427
75466
|
pullForBackfill = async (signal) => {
|
|
75428
75467
|
const collected = [];
|
|
75429
75468
|
const seenEventIds = /* @__PURE__ */ new Set();
|
|
@@ -75499,7 +75538,8 @@ async function trafficRoutes(app, opts) {
|
|
|
75499
75538
|
windowStart,
|
|
75500
75539
|
windowEnd,
|
|
75501
75540
|
pullForBackfill,
|
|
75502
|
-
pullErrorPrefix
|
|
75541
|
+
pullErrorPrefix,
|
|
75542
|
+
pullSecrets
|
|
75503
75543
|
}).catch(() => {
|
|
75504
75544
|
});
|
|
75505
75545
|
recordOutcome(null);
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
configExists,
|
|
3
3
|
loadConfigRaw,
|
|
4
4
|
saveConfigPatch
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-RJDIAWNE.js";
|
|
6
6
|
import {
|
|
7
7
|
BUNDLED_SKILL_NAMES,
|
|
8
8
|
installSkills
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7QFB2AI4.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-7CXUZI6H.js";
|
|
17
17
|
|
|
18
18
|
// src/skills-autosync.ts
|
|
19
19
|
import fs from "fs";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
isStoredPageReadTool,
|
|
6
6
|
isStoredReadTool,
|
|
7
7
|
truncateToolResult
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MUE2JCK7.js";
|
|
9
9
|
import {
|
|
10
10
|
CANONRY_MCP_TOOLKITS,
|
|
11
11
|
resolveAeroSkillDir
|
|
@@ -23,18 +23,18 @@ import {
|
|
|
23
23
|
resolveApiKeyFor,
|
|
24
24
|
resolveModelForProvider,
|
|
25
25
|
validateAgentProviderRegistry
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-RJDIAWNE.js";
|
|
27
27
|
import {
|
|
28
28
|
CanonryMcpToolNames,
|
|
29
29
|
canonryMcpTools
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-ZTN2BG4D.js";
|
|
31
31
|
import {
|
|
32
32
|
createLogger
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-T6ILJ2FW.js";
|
|
34
34
|
import {
|
|
35
35
|
agentToolEvents,
|
|
36
36
|
llmUsageEvents
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-YB7QBOA6.js";
|
|
38
38
|
import {
|
|
39
39
|
MeasurementPortfolioLists,
|
|
40
40
|
SEO_TREND_METRICS_BY_KIND,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
describeError,
|
|
46
46
|
validationError,
|
|
47
47
|
visibilityReportRequestSchema
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-7CXUZI6H.js";
|
|
49
49
|
|
|
50
50
|
// src/agent/session.ts
|
|
51
51
|
import fs2 from "fs";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
measurementDraftUpsertGroupRequestSchema,
|
|
24
24
|
measurementDraftUpsertMarketRequestSchema,
|
|
25
25
|
measurementDraftUpsertTargetRequestSchema
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-7CXUZI6H.js";
|
|
27
27
|
|
|
28
28
|
// src/measurement-draft-actions.ts
|
|
29
29
|
import { z } from "zod";
|