@canonry/canonry 7.104.1 → 7.104.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/agent-workspace/skills/aero/references/ai-traffic-tracking.md +2 -1
- package/assets/agent-workspace/skills/canonry/references/ai-traffic-tracking.md +2 -1
- package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +3 -1
- package/assets/assets/{AccessControls-CBkDcxwx.js → AccessControls-hIgRxmCY.js} +1 -1
- package/assets/assets/{AgentSetupPage-iGYETW-I.js → AgentSetupPage-BEYkXfMI.js} +1 -1
- package/assets/assets/{AuditHistoryPanel-DiFMK7eE.js → AuditHistoryPanel-B4RSWnDd.js} +1 -1
- package/assets/assets/{BacklinksPage-Cg9LQLMo.js → BacklinksPage-CU089NxY.js} +1 -1
- package/assets/assets/{ChartPrimitives-DYS88Zzt.js → ChartPrimitives-DfRYjnsb.js} +1 -1
- package/assets/assets/{HistoryPage-CmI5CX94.js → HistoryPage-CtOK4bCH.js} +1 -1
- package/assets/assets/MeasurementPropertyPage-C-XeLSL1.js +4 -0
- package/assets/assets/ProjectPage-HpOMuZBk.js +15 -0
- package/assets/assets/{RunsPage-BqvrT8Xm.js → RunsPage-CRnzj7dU.js} +1 -1
- package/assets/assets/{ServerTrafficSection-CtFe7WDd.js → ServerTrafficSection-x_7QecPB.js} +1 -1
- package/assets/assets/{SettingsPage-snu8wJ8l.js → SettingsPage-BumPFoPz.js} +1 -1
- package/assets/assets/{ToneBadge-CkTo2T8d.js → ToneBadge-BoscSKWW.js} +2 -2
- package/assets/assets/{TrafficPage-BxiiQjwl.js → TrafficPage-CxEO_Y2c.js} +1 -1
- package/assets/assets/{TrafficSourceDetailPage-8BKFz7py.js → TrafficSourceDetailPage-D9me5kmv.js} +1 -1
- package/assets/assets/{account-context-BlfC71NP.js → account-context-n5iq1FxI.js} +1 -1
- package/assets/assets/{agent-trust-copy-C_J3OmRg.js → agent-trust-copy-BWQkohiR.js} +1 -1
- package/assets/assets/{card-CeXmlLH2.js → card-CnZ3aU1G.js} +1 -1
- package/assets/assets/index-BEk3rfJu.js +43 -0
- package/assets/assets/{query-client-DWYnC2Lg.js → query-client-CTKEElDQ.js} +1 -1
- package/assets/assets/{react-query-CQhkmL4O.js → react-query-D-G5epGz.js} +1 -1
- package/assets/assets/{react-sigma_core.esm.min-YHPB9pkU.js → react-sigma_core.esm.min-4Kr0Zt4p.js} +1 -1
- package/assets/assets/{server-traffic-ChxoKQ0y.js → server-traffic-Deh27adW.js} +1 -1
- package/assets/assets/{service-u1pn5oyA.js → service-Dur_GX4q.js} +1 -1
- package/assets/index.html +8 -8
- package/dist/{ads-ARJJACSH.js → ads-LPBLEQBU.js} +3 -3
- package/dist/{agent-57EQMSOO.js → agent-NUQQRFIX.js} +7 -7
- package/dist/{agent-ask-TF2WTRTO.js → agent-ask-RLIEXI6J.js} +3 -3
- package/dist/{agent-conversations-5GXNREFK.js → agent-conversations-HXWBYGSK.js} +3 -3
- package/dist/{agent-journeys-6CDPI4TE.js → agent-journeys-DZ4OK6RG.js} +3 -3
- package/dist/{agent-memory-X3FQ4YDE.js → agent-memory-QASRDHY6.js} +3 -3
- package/dist/{agent-providers-32Z3YXO4.js → agent-providers-UNJBT65F.js} +3 -3
- package/dist/{agent-transcript-2S64XPF2.js → agent-transcript-IYQDRVLL.js} +3 -3
- package/dist/{analytics-WPCHRXQZ.js → analytics-TGZAZQ4V.js} +3 -3
- package/dist/{apply-3WHRQBQB.js → apply-OVSQL4ND.js} +3 -3
- package/dist/{backfill-QD3I5MYX.js → backfill-ZH3OF4WC.js} +10 -10
- package/dist/{backlinks-TRVNCPUB.js → backlinks-TAEE5NW2.js} +3 -3
- package/dist/{bing-F3B76XX5.js → bing-Y47PPL2K.js} +3 -3
- package/dist/{bootstrap-QOAGLWNN.js → bootstrap-6SVPLI2X.js} +10 -10
- package/dist/{cdp-4I3DNMLG.js → cdp-AQQZBCSJ.js} +7 -7
- package/dist/{chunk-BYYP43Q3.js → chunk-2P2YNCJB.js} +1 -1
- package/dist/{chunk-3V5Y2XTA.js → chunk-34ZFWATV.js} +1 -1
- package/dist/{chunk-IHY4Q74C.js → chunk-4MHU35U6.js} +5 -5
- package/dist/{chunk-2VNQKUCW.js → chunk-4PLVST2T.js} +2 -2
- package/dist/{chunk-D76TB5JS.js → chunk-73SA4H5D.js} +1 -1
- package/dist/{chunk-FCUUJO3Z.js → chunk-7X5YFLPM.js} +2 -2
- package/dist/{chunk-NI2JFXIS.js → chunk-A2CPQTHW.js} +21 -21
- package/dist/{chunk-2AECECUY.js → chunk-BDPFPPPQ.js} +1 -1
- package/dist/{chunk-5UHNDYUH.js → chunk-BKWHZDJX.js} +4 -4
- package/dist/{chunk-HPFT4IKN.js → chunk-BNSSB6H4.js} +1 -1
- package/dist/{chunk-FYRNKI3A.js → chunk-BTNWUQDC.js} +7 -7
- package/dist/{chunk-PU5OA57Z.js → chunk-BYIUY2US.js} +6 -6
- package/dist/{chunk-LCZZACLE.js → chunk-FEHIXKYR.js} +3 -3
- package/dist/{chunk-ZJFLVXDZ.js → chunk-FS65HPCW.js} +2 -2
- package/dist/{chunk-756RPVYB.js → chunk-GV22EPIQ.js} +4 -4
- package/dist/{chunk-HTGJSXCR.js → chunk-HUH6676A.js} +3 -3
- package/dist/{chunk-47QPY6Y3.js → chunk-HXSPVBYA.js} +5 -5
- package/dist/{chunk-7XJG2OTB.js → chunk-JMYH66HM.js} +366 -366
- package/dist/{chunk-6AW6ONTF.js → chunk-MUBVE7E5.js} +2 -2
- package/dist/{chunk-7UQZCDYK.js → chunk-MXCBG4Z7.js} +1 -1
- package/dist/{chunk-TCXITSDO.js → chunk-N5YFWTDQ.js} +1 -1
- package/dist/{chunk-MDRAKMCV.js → chunk-NWOPXLH3.js} +3 -3
- package/dist/{chunk-K32GU473.js → chunk-O3HY3VSN.js} +1 -1
- package/dist/{chunk-WQQ4TNIY.js → chunk-OBDOHDDJ.js} +2 -2
- package/dist/{chunk-HLM3GYK4.js → chunk-QZKQL65D.js} +1 -1
- package/dist/{chunk-QRR5ZW22.js → chunk-T52VRYI6.js} +3 -3
- package/dist/{chunk-SZ64N26K.js → chunk-T6TLIZEO.js} +1 -1
- package/dist/{chunk-7VKVGR6X.js → chunk-TXH5BMVL.js} +3 -3
- package/dist/{chunk-NGGMSNF6.js → chunk-UQIFH6WN.js} +39 -33
- package/dist/{chunk-52D6WBCZ.js → chunk-VBNULTRM.js} +1 -1
- package/dist/{chunk-5FMZGO6R.js → chunk-VFT4AFA6.js} +4 -4
- package/dist/{chunk-TFP6UJXW.js → chunk-VZXLMIPS.js} +3 -3
- package/dist/{chunk-CJ55MGWI.js → chunk-W6ORSOMS.js} +1 -1
- package/dist/{chunk-CCHYRLX4.js → chunk-WMZYHYKE.js} +2 -2
- package/dist/{chunk-DLZCOJCY.js → chunk-ZGAOBFAT.js} +1 -1
- package/dist/{citations-6CW3G5YP.js → citations-EPWMDINT.js} +4 -4
- package/dist/{cli-catalog-6B2O2JQE.js → cli-catalog-LOONVW4I.js} +3 -3
- package/dist/{cli-commands-O46WFSHZ.js → cli-commands-4H2OFVBT.js} +7 -7
- package/dist/cli.js +13 -13
- package/dist/{competitor-D4BVO2KQ.js → competitor-XUXFF3N5.js} +3 -3
- package/dist/{content-H2PGFRWM.js → content-X4VUI6Q4.js} +3 -3
- package/dist/{dashboard-4KP7KKMY.js → dashboard-3W63AKDU.js} +6 -6
- package/dist/{demo-NKCOCN6Z.js → demo-SBBC7HXE.js} +1 -1
- package/dist/{demo-server-RQB6VRBH.js → demo-server-H2SHGAER.js} +12 -12
- package/dist/{discover-K4GIXAN5.js → discover-Q53AI7AP.js} +4 -4
- package/dist/{discover-eval-L4IF5XFV.js → discover-eval-72A2EKS5.js} +3 -3
- package/dist/{doctor-OVJTEQCK.js → doctor-PSJW22ME.js} +3 -3
- package/dist/{evidence-MXQK4YYL.js → evidence-BVP2S73D.js} +3 -3
- package/dist/{export-cmd-Z3CWJALI.js → export-cmd-3LZAJ24E.js} +3 -3
- package/dist/{ga-347UNNJP.js → ga-VRCCYIOW.js} +3 -3
- package/dist/{gbp-47MIYIQC.js → gbp-OK4CJ6JF.js} +3 -3
- package/dist/{google-7Q3FYNVP.js → google-GULK767N.js} +4 -4
- package/dist/{google-marketing-TMKWY5AP.js → google-marketing-TQPEDQY6.js} +1 -1
- package/dist/{health-cmd-77TMLQ6T.js → health-cmd-IC5IQKBN.js} +4 -4
- package/dist/{history-Q756HPJM.js → history-EAEYLEVG.js} +3 -3
- package/dist/index.d.ts +70 -70
- package/dist/index.js +25 -25
- package/dist/{init-WDRQTCKK.js → init-BVTSZJHP.js} +12 -12
- package/dist/{insights-TPNHIVNH.js → insights-ICTSKQD6.js} +3 -3
- package/dist/intelligence-service-VBCP7TAC.js +16 -0
- package/dist/{journeys-F6UAVPVI.js → journeys-H2BOW42B.js} +3 -3
- package/dist/{keys-Q6VMDIAH.js → keys-OTJZGBGX.js} +3 -3
- package/dist/{keyword-7BH5P5P7.js → keyword-ZZ4SPADG.js} +3 -3
- package/dist/{logs-P2J6XFVJ.js → logs-IH74KKBP.js} +3 -3
- package/dist/{mcp-RPXFNAKS.js → mcp-U736ZMVE.js} +4 -4
- package/dist/mcp.js +9 -9
- package/dist/{measurement-plan-KKUB6SLB.js → measurement-plan-EJ5H5S3X.js} +5 -5
- package/dist/{notify-2IK6NR7Y.js → notify-PVTESANP.js} +3 -3
- package/dist/{organic-evidence-N4HIUIHJ.js → organic-evidence-PGDCDE7I.js} +3 -3
- package/dist/{overview-FSNB42W5.js → overview-3QPRHIML.js} +5 -5
- package/dist/{project-D5ODS46C.js → project-FLF4NQYK.js} +3 -3
- package/dist/{project-setup-X7NGKC4R.js → project-setup-HMIMB7LA.js} +3 -3
- package/dist/{query-JGCEDLI2.js → query-WFNBO5IA.js} +3 -3
- package/dist/{research-3S5FLAFX.js → research-NOC77N5S.js} +3 -3
- package/dist/{results-export-YMX4F2K6.js → results-export-MQ372TJX.js} +3 -3
- package/dist/{run-MCJAGAHJ.js → run-KQEZAMFC.js} +5 -5
- package/dist/{schedule-CLWDPYZG.js → schedule-RXJR7S5O.js} +3 -3
- package/dist/{search-X7SXPESS.js → search-AVPIH3SH.js} +3 -3
- package/dist/{serve-UHEE443J.js → serve-ICAC74E4.js} +26 -26
- package/dist/{session-AS2VQ7VL.js → session-ZBTQR24L.js} +13 -13
- package/dist/{settings-UZEODHZ3.js → settings-FOPSQVXA.js} +3 -3
- package/dist/{sitemaps-SK2ZE5EJ.js → sitemaps-GOA3STCM.js} +3 -3
- package/dist/{skills-SI6C7MPT.js → skills-XJKTJ6LH.js} +2 -2
- package/dist/{snapshot-AOQUU5Q2.js → snapshot-4W4FLLRV.js} +3 -3
- package/dist/{src-BXXLPHVZ.js → src-VTBSLT3E.js} +2 -2
- package/dist/{status-TMKQNQ74.js → status-DMP7OCRB.js} +5 -5
- package/dist/{technical-aeo-WBLZMCUY.js → technical-aeo-IBYKY4VO.js} +3 -3
- package/dist/{telemetry-DS22S3C3.js → telemetry-PXSA7GSQ.js} +4 -4
- package/dist/{tools-YGKVGB5M.js → tools-WCZXIV6B.js} +11 -11
- package/dist/{traffic-6AIRXYMI.js → traffic-USZLDNGC.js} +5 -5
- package/dist/{trends-LEAXHSM6.js → trends-FT5WL6EZ.js} +3 -3
- package/dist/{users-VCNIWES5.js → users-C5QGTAEE.js} +3 -3
- package/dist/{visibility-stats-4XA2YZET.js → visibility-stats-FJRKQAIB.js} +4 -4
- package/dist/{wordpress-YG3ECQXW.js → wordpress-DII4DF43.js} +3 -3
- package/package.json +1 -1
- package/assets/assets/MeasurementPropertyPage-DshJzp9b.js +0 -4
- package/assets/assets/ProjectPage-DwVxUhxM.js +0 -15
- package/assets/assets/index-BKbmkmyo.js +0 -43
- package/dist/intelligence-service-DAUXHAOP.js +0 -16
- /package/dist/{chunk-WT22Z3I7.js → chunk-CPLY2O4L.js} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
siteCrawlGraphNodes,
|
|
6
6
|
siteCrawlPages,
|
|
7
7
|
siteCrawlSnapshots
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2P2YNCJB.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-CPLY2O4L.js";
|
|
19
19
|
|
|
20
20
|
// src/site-audit-factors.ts
|
|
21
21
|
function recordedSharePct(factor) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4PLVST2T.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-73SA4H5D.js";
|
|
11
11
|
import {
|
|
12
12
|
isMachineFormat,
|
|
13
13
|
systemError
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
unattributedAnswersLabel,
|
|
40
40
|
uncheckedSourcesLabel,
|
|
41
41
|
visibilityReportRequestSchema
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-CPLY2O4L.js";
|
|
43
43
|
|
|
44
44
|
// src/commands/measurement-plan.ts
|
|
45
45
|
import crypto from "crypto";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRequestContext
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-N5YFWTDQ.js";
|
|
4
4
|
import {
|
|
5
5
|
diagnosticIdentity,
|
|
6
6
|
redactLogString,
|
|
7
7
|
redactLogValue
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CPLY2O4L.js";
|
|
9
9
|
|
|
10
10
|
// ../api-routes/src/runtime-logger.ts
|
|
11
11
|
import { format } from "util";
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
createApiClient,
|
|
9
9
|
runWithUsageTags
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4PLVST2T.js";
|
|
11
11
|
import {
|
|
12
12
|
canonryMcpTools,
|
|
13
13
|
mcpOutputSchema,
|
|
14
14
|
toolOperationAccess
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HUH6676A.js";
|
|
16
16
|
import {
|
|
17
17
|
PACKAGE_VERSION
|
|
18
18
|
} from "./chunk-AOJU5LKX.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
isReadOnlyKey,
|
|
26
26
|
restrictedWriteScopes,
|
|
27
27
|
upgradeCaveatFor
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-CPLY2O4L.js";
|
|
29
29
|
|
|
30
30
|
// src/mcp/server.ts
|
|
31
31
|
import { randomUUID } from "crypto";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
resolveCliAccess,
|
|
4
4
|
resolveCliAccessForInvocation,
|
|
5
5
|
windowOptions
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MXCBG4Z7.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-CPLY2O4L.js";
|
|
18
18
|
|
|
19
19
|
// src/cli-catalog.ts
|
|
20
20
|
import { createRequire } from "module";
|
|
@@ -122,7 +122,7 @@ async function dispatchRegisteredCommand(args, fallbackFormat, specs) {
|
|
|
122
122
|
const accessValue = accessFilterFromArgs(argsWithoutHelp);
|
|
123
123
|
validateAccessFilter(accessValue);
|
|
124
124
|
if (fallbackFormat !== "text") {
|
|
125
|
-
const { printCliCatalog: printCliCatalog2 } = await import("./cli-catalog-
|
|
125
|
+
const { printCliCatalog: printCliCatalog2 } = await import("./cli-catalog-LOONVW4I.js");
|
|
126
126
|
const group2 = argsWithoutHelp.find((arg) => !arg.startsWith("--"));
|
|
127
127
|
printCliCatalog2(specs, fallbackFormat, group2, accessValue);
|
|
128
128
|
return true;
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
normalizeTrafficPathPattern,
|
|
20
20
|
sessionizeJourneyRequests,
|
|
21
21
|
verifyRequestSignature
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-O3HY3VSN.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-N5YFWTDQ.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-2P2YNCJB.js";
|
|
194
194
|
import {
|
|
195
195
|
ADS_ACTIVATE_SCOPE,
|
|
196
196
|
ADS_ACTIVATION_ABSOLUTE_MAX_ENTITIES,
|
|
@@ -1354,7 +1354,7 @@ import {
|
|
|
1354
1354
|
wordpressSchemaDeployResultDtoSchema,
|
|
1355
1355
|
wordpressSchemaStatusResultDtoSchema,
|
|
1356
1356
|
wordpressStatusDtoSchema
|
|
1357
|
-
} from "./chunk-
|
|
1357
|
+
} from "./chunk-CPLY2O4L.js";
|
|
1358
1358
|
|
|
1359
1359
|
// ../api-routes/src/user-session.ts
|
|
1360
1360
|
import crypto2 from "crypto";
|
|
@@ -65010,7 +65010,7 @@ async function cdpRoutes(app, opts) {
|
|
|
65010
65010
|
|
|
65011
65011
|
// ../api-routes/src/ga.ts
|
|
65012
65012
|
import crypto56 from "crypto";
|
|
65013
|
-
import { eq as eq95, desc as desc43, and as and80, sql as sql42 } from "drizzle-orm";
|
|
65013
|
+
import { eq as eq95, desc as desc43, and as and80, inArray as inArray45, sql as sql42 } from "drizzle-orm";
|
|
65014
65014
|
|
|
65015
65015
|
// ../api-routes/src/ga-session-history.ts
|
|
65016
65016
|
function buildSessionHistory(landingPageDays, dailyTotals) {
|
|
@@ -65456,11 +65456,12 @@ var lastDayOf = (month) => new Date(Date.parse(`${addMonths(month, 1)}-01T00:00:
|
|
|
65456
65456
|
function aiReferralMonthlySeries(input) {
|
|
65457
65457
|
const today = input.now.toISOString().slice(0, 10);
|
|
65458
65458
|
const fillingFrom = gaFillingFrom(input.now);
|
|
65459
|
-
const
|
|
65459
|
+
const coverageStart = input.aiCoverageStart;
|
|
65460
|
+
const measured = new Set(coverageStart === null ? [] : input.measuredDates.filter((date) => date >= coverageStart));
|
|
65461
|
+
const firstDay = input.range.startDate ?? [...input.days.map((day) => day.date), ...measured].sort()[0];
|
|
65460
65462
|
if (!firstDay) return { months: [], monthlyTrend: null };
|
|
65461
65463
|
const lastDay = input.range.endDate && input.range.endDate < today ? input.range.endDate : today;
|
|
65462
65464
|
const labels = new Map(input.byEngine.series.map((s) => [s.key, s.label]));
|
|
65463
|
-
const measured = new Set(input.measuredDates);
|
|
65464
65465
|
const months = [];
|
|
65465
65466
|
for (let month = firstDay.slice(0, 7); month <= lastDay.slice(0, 7); month = addMonths(month, 1)) {
|
|
65466
65467
|
const inMonth = (date) => date.startsWith(month);
|
|
@@ -66747,11 +66748,16 @@ async function ga4Routes(app, opts) {
|
|
|
66747
66748
|
const series = buildAiReferralDailySeries(rows);
|
|
66748
66749
|
const measuredDates = app.db.selectDistinct({ date: gaDailyTotals.date }).from(gaDailyTotals).where(and80(eq95(gaDailyTotals.projectId, project.id), ...dateRangeConditions(gaDailyTotals.date, range))).all().map((row) => row.date);
|
|
66749
66750
|
const firstAiDate = app.db.select({ date: sql42`MIN(${gaAiReferrals.date})` }).from(gaAiReferrals).where(eq95(gaAiReferrals.projectId, project.id)).get()?.date ?? null;
|
|
66751
|
+
const firstReceipts = new Map(app.db.select({ component: gaSyncCoverage.component, date: sql42`MIN(${gaSyncCoverage.date})` }).from(gaSyncCoverage).where(and80(eq95(gaSyncCoverage.projectId, project.id), inArray45(gaSyncCoverage.component, ["ai", "traffic"]))).groupBy(gaSyncCoverage.component).all().map((row) => [row.component, row.date]));
|
|
66752
|
+
const firstTrafficReceipt = firstReceipts.get("traffic") ?? null;
|
|
66753
|
+
const firstTrafficDate = app.db.select({ date: sql42`MIN(${gaTrafficSnapshots.date})` }).from(gaTrafficSnapshots).where(eq95(gaTrafficSnapshots.projectId, project.id)).get()?.date ?? null;
|
|
66754
|
+
const trafficBeforeReceipts = firstTrafficDate !== null && (firstTrafficReceipt === null || firstTrafficDate < firstTrafficReceipt) ? firstTrafficDate : null;
|
|
66755
|
+
const aiCoverageStart = [firstReceipts.get("ai") ?? null, trafficBeforeReceipts, firstAiDate].filter((date) => date !== null).sort()[0] ?? null;
|
|
66750
66756
|
const now = /* @__PURE__ */ new Date();
|
|
66751
66757
|
return {
|
|
66752
66758
|
...series,
|
|
66753
66759
|
trend: aiReferralDailyTrend(series.days, measuredDates, firstAiDate, now),
|
|
66754
|
-
...aiReferralMonthlySeries({ days: series.days, byEngine: series.byEngine, measuredDates, range, firstAiDate, now })
|
|
66760
|
+
...aiReferralMonthlySeries({ days: series.days, byEngine: series.byEngine, measuredDates, range, firstAiDate, aiCoverageStart, now })
|
|
66755
66761
|
};
|
|
66756
66762
|
});
|
|
66757
66763
|
app.get("/projects/:name/ga/social-referral-history", async (request, _reply) => {
|
|
@@ -69591,7 +69597,7 @@ async function backlinksRoutes(app, opts) {
|
|
|
69591
69597
|
import crypto60 from "crypto";
|
|
69592
69598
|
import { isIP as isIP3 } from "net";
|
|
69593
69599
|
import { isDeepStrictEqual } from "util";
|
|
69594
|
-
import { and as and86, desc as desc46, eq as eq100, gt as gt8, gte as gte26, inArray as
|
|
69600
|
+
import { and as and86, desc as desc46, eq as eq100, gt as gt8, gte as gte26, inArray as inArray46, lt as lt20, lte as lte27, sql as sql45 } from "drizzle-orm";
|
|
69595
69601
|
|
|
69596
69602
|
// ../api-routes/src/traffic-limits.ts
|
|
69597
69603
|
var VERCEL_MAX_SYNC_WINDOW_MS = 24 * 60 * 6e4;
|
|
@@ -74321,7 +74327,7 @@ async function trafficRoutes(app, opts) {
|
|
|
74321
74327
|
const listed = useContentList ? contentPaths : infraPaths;
|
|
74322
74328
|
const IN_LIST_CAP = 2e4;
|
|
74323
74329
|
const listFitsInSql = listed.length <= IN_LIST_CAP;
|
|
74324
|
-
const contentExpr = listed.length === 0 ? useContentList ? sql45`0` : sql45`${crawlerEventsHourly.hits}` : useContentList ? sql45`CASE WHEN ${
|
|
74330
|
+
const contentExpr = listed.length === 0 ? useContentList ? sql45`0` : sql45`${crawlerEventsHourly.hits}` : useContentList ? sql45`CASE WHEN ${inArray46(crawlerEventsHourly.pathNormalized, listed)} THEN ${crawlerEventsHourly.hits} ELSE 0 END` : sql45`CASE WHEN ${inArray46(crawlerEventsHourly.pathNormalized, listed)} THEN 0 ELSE ${crawlerEventsHourly.hits} END`;
|
|
74325
74331
|
if (listFitsInSql) {
|
|
74326
74332
|
const crawlerSeries = app.db.select({
|
|
74327
74333
|
bucket: crawlerSeriesBucket,
|
|
@@ -74726,7 +74732,7 @@ var reportSweepsCheck = {
|
|
|
74726
74732
|
};
|
|
74727
74733
|
|
|
74728
74734
|
// ../api-routes/src/doctor/checks/report-models.ts
|
|
74729
|
-
import { and as and88, eq as eq102, gte as gte28, inArray as
|
|
74735
|
+
import { and as and88, eq as eq102, gte as gte28, inArray as inArray47, lte as lte29 } from "drizzle-orm";
|
|
74730
74736
|
var reportModelsCheck = {
|
|
74731
74737
|
id: "report.models",
|
|
74732
74738
|
category: CheckCategories.providers,
|
|
@@ -74741,7 +74747,7 @@ var reportModelsCheck = {
|
|
|
74741
74747
|
const months = reportMonths.flatMap((month) => {
|
|
74742
74748
|
const bounds = calendarMonthBounds(month);
|
|
74743
74749
|
const previous = new Date(Date.parse(bounds.since) - 1).toISOString().slice(0, 7);
|
|
74744
|
-
const observations = ctx.db.select({ provider: querySnapshots.provider, model: querySnapshots.model, at: runs.createdAt }).from(querySnapshots).innerJoin(runs, eq102(runs.id, querySnapshots.runId)).where(and88(eq102(runs.projectId, ctx.project.id), eq102(runs.kind, RunKinds["answer-visibility"]),
|
|
74750
|
+
const observations = ctx.db.select({ provider: querySnapshots.provider, model: querySnapshots.model, at: runs.createdAt }).from(querySnapshots).innerJoin(runs, eq102(runs.id, querySnapshots.runId)).where(and88(eq102(runs.projectId, ctx.project.id), eq102(runs.kind, RunKinds["answer-visibility"]), inArray47(runs.status, [RunStatuses.completed, RunStatuses.partial]), notProbeRun(), gte28(runs.createdAt, bounds.since), lte29(runs.createdAt, bounds.until))).all();
|
|
74745
74751
|
return readVisibilityContinuity(ctx.db, ctx.project.name, { from: previous, to: month }).map(({ frame, continuity: continuity2 }) => ({
|
|
74746
74752
|
month,
|
|
74747
74753
|
previousMonth: previous,
|
|
@@ -75318,7 +75324,7 @@ var BACKLINKS_CHECKS = [
|
|
|
75318
75324
|
];
|
|
75319
75325
|
|
|
75320
75326
|
// ../api-routes/src/doctor/checks/bing-auth.ts
|
|
75321
|
-
import { and as and90, desc as desc47, eq as eq105, inArray as
|
|
75327
|
+
import { and as and90, desc as desc47, eq as eq105, inArray as inArray48 } from "drizzle-orm";
|
|
75322
75328
|
var BING_CONNECTION_ENTITY = "bing_connection";
|
|
75323
75329
|
var BING_CONNECTED_ACTION = "bing.connected";
|
|
75324
75330
|
var BING_DISCONNECTED_ACTION = "bing.disconnected";
|
|
@@ -75329,7 +75335,7 @@ function lostBingConnection(ctx, project) {
|
|
|
75329
75335
|
const lastChange = ctx.db.select({ action: auditLog.action }).from(auditLog).where(and90(
|
|
75330
75336
|
eq105(auditLog.entityType, BING_CONNECTION_ENTITY),
|
|
75331
75337
|
eq105(auditLog.entityId, project.canonicalDomain),
|
|
75332
|
-
|
|
75338
|
+
inArray48(auditLog.action, [BING_CONNECTED_ACTION, BING_DISCONNECTED_ACTION])
|
|
75333
75339
|
)).orderBy(desc47(auditLog.createdAt)).limit(1).get();
|
|
75334
75340
|
return lastChange?.action !== BING_DISCONNECTED_ACTION;
|
|
75335
75341
|
}
|
|
@@ -75875,7 +75881,7 @@ var ga4ConnectionCheck = {
|
|
|
75875
75881
|
var GA_AUTH_CHECKS = [ga4ConnectionCheck];
|
|
75876
75882
|
|
|
75877
75883
|
// ../api-routes/src/doctor/checks/data-freshness.ts
|
|
75878
|
-
import { and as and91, desc as desc48, eq as eq108, inArray as
|
|
75884
|
+
import { and as and91, desc as desc48, eq as eq108, inArray as inArray49 } from "drizzle-orm";
|
|
75879
75885
|
var GA_DATA_AGING_DAYS = 3;
|
|
75880
75886
|
var GA_DATA_STALE_DAYS = 5;
|
|
75881
75887
|
var GSC_DATA_AGING_DAYS = 5;
|
|
@@ -75905,7 +75911,7 @@ function skipped(code, summary3) {
|
|
|
75905
75911
|
return { status: CheckStatuses.skipped, code, summary: summary3, remediation: null };
|
|
75906
75912
|
}
|
|
75907
75913
|
function lastSyncAgeDays(ctx, kinds) {
|
|
75908
|
-
const row = ctx.db.select({ createdAt: runs.createdAt }).from(runs).where(and91(eq108(runs.projectId, ctx.project.id),
|
|
75914
|
+
const row = ctx.db.select({ createdAt: runs.createdAt }).from(runs).where(and91(eq108(runs.projectId, ctx.project.id), inArray49(runs.kind, kinds), eq108(runs.status, "completed"))).orderBy(desc48(runs.createdAt)).limit(1).get();
|
|
75909
75915
|
if (!row?.createdAt) return null;
|
|
75910
75916
|
const age = Math.floor((Date.now() - Date.parse(row.createdAt)) / DAY_MS6);
|
|
75911
75917
|
return Number.isFinite(age) ? age : null;
|
|
@@ -76031,7 +76037,7 @@ var gscRecentDataCheck = {
|
|
|
76031
76037
|
var DATA_FRESHNESS_CHECKS = [gaRecentDataCheck, gscRecentDataCheck];
|
|
76032
76038
|
|
|
76033
76039
|
// ../api-routes/src/doctor/checks/seo-refresh.ts
|
|
76034
|
-
import { and as and92, asc as asc29, desc as desc49, eq as eq109, gt as gt9, inArray as
|
|
76040
|
+
import { and as and92, asc as asc29, desc as desc49, eq as eq109, gt as gt9, inArray as inArray50, sql as sql46 } from "drizzle-orm";
|
|
76035
76041
|
var GRACE_DAYS = 2;
|
|
76036
76042
|
var DAY_MS7 = 24 * 60 * 60 * 1e3;
|
|
76037
76043
|
var FIRING_SPAN_MS = 6e4;
|
|
@@ -76063,7 +76069,7 @@ function isIncomplete(run) {
|
|
|
76063
76069
|
return run.status === RunStatuses.failed || run.status === RunStatuses.partial;
|
|
76064
76070
|
}
|
|
76065
76071
|
function runProfiles(ctx, firing) {
|
|
76066
|
-
const jobs = firing.length === 0 ? [] : ctx.db.select({ runId: seoJobs.runId, profileId: seoJobs.profileId }).from(seoJobs).where(
|
|
76072
|
+
const jobs = firing.length === 0 ? [] : ctx.db.select({ runId: seoJobs.runId, profileId: seoJobs.profileId }).from(seoJobs).where(inArray50(seoJobs.runId, firing.map((run) => run.id))).all();
|
|
76067
76073
|
const byRun = new Map(jobs.flatMap((job) => job.runId ? [[job.runId, job.profileId]] : []));
|
|
76068
76074
|
return new Map(firing.map((run) => [run.id, byRun.get(run.id) ?? skippedRefreshProfile(run.error)]));
|
|
76069
76075
|
}
|
|
@@ -76173,7 +76179,7 @@ function gradeSeoRefresh(ctx, project) {
|
|
|
76173
76179
|
};
|
|
76174
76180
|
}
|
|
76175
76181
|
if (now >= Date.parse(deadlineAt)) {
|
|
76176
|
-
const active = ctx.db.select({ id: runs.id, createdAt: runs.createdAt }).from(runs).where(and92(seoSyncRuns(project.id),
|
|
76182
|
+
const active = ctx.db.select({ id: runs.id, createdAt: runs.createdAt }).from(runs).where(and92(seoSyncRuns(project.id), inArray50(runs.status, [RunStatuses.queued, RunStatuses.running]))).orderBy(asc29(runs.createdAt)).limit(1).get();
|
|
76177
76183
|
const since = last ? `No SEO refresh has completed since ${day(last.at)}.` : "No SEO refresh has completed since the schedule was enabled.";
|
|
76178
76184
|
const missed = last ? `The scheduled refresh due ${day(dueAt)} did not complete within ${GRACE_DAYS} days.` : `Its first refresh, due ${day(dueAt)}, did not complete within ${GRACE_DAYS} days.`;
|
|
76179
76185
|
return {
|
|
@@ -76589,7 +76595,7 @@ async function probeApiHost(host, options = {}) {
|
|
|
76589
76595
|
}
|
|
76590
76596
|
|
|
76591
76597
|
// ../api-routes/src/doctor/checks/integration-sync.ts
|
|
76592
|
-
import { and as and93, count as count9, desc as desc50, eq as eq110, gte as gte29, gt as gt10, inArray as
|
|
76598
|
+
import { and as and93, count as count9, desc as desc50, eq as eq110, gte as gte29, gt as gt10, inArray as inArray51, isNull as isNull18, notInArray as notInArray3, or as or20 } from "drizzle-orm";
|
|
76593
76599
|
var SYNC_FAILURE_WINDOW = 3;
|
|
76594
76600
|
var SUMMARY_ERROR_LIMIT = 300;
|
|
76595
76601
|
var FINISHED_STATUSES = [RunStatuses.completed, RunStatuses.partial, RunStatuses.failed];
|
|
@@ -76696,8 +76702,8 @@ function readSyncRunState(db, projectId, kind, options = {}) {
|
|
|
76696
76702
|
...options.nothingToSyncErrors?.length ? [or20(isNull18(runs.error), notInArray3(runs.error, [...options.nothingToSyncErrors]))] : []
|
|
76697
76703
|
);
|
|
76698
76704
|
const graded = options.since ? and93(scope, gte29(runs.createdAt, options.since)) : scope;
|
|
76699
|
-
const recent = db.select({ id: runs.id, status: runs.status, trigger: runs.trigger, error: runs.error, createdAt: runs.createdAt }).from(runs).where(and93(graded,
|
|
76700
|
-
const lastSuccess = db.select({ createdAt: runs.createdAt, finishedAt: runs.finishedAt }).from(runs).where(and93(graded,
|
|
76705
|
+
const recent = db.select({ id: runs.id, status: runs.status, trigger: runs.trigger, error: runs.error, createdAt: runs.createdAt }).from(runs).where(and93(graded, inArray51(runs.status, FINISHED_STATUSES))).orderBy(desc50(runs.createdAt)).limit(SYNC_FAILURE_WINDOW).all();
|
|
76706
|
+
const lastSuccess = db.select({ createdAt: runs.createdAt, finishedAt: runs.finishedAt }).from(runs).where(and93(graded, inArray51(runs.status, SUCCESS_STATUSES))).orderBy(desc50(runs.createdAt)).limit(1).get();
|
|
76701
76707
|
const failureCount = db.select({ count: count9() }).from(runs).where(and93(lastSuccess ? and93(graded, gt10(runs.createdAt, lastSuccess.createdAt)) : graded, eq110(runs.status, RunStatuses.failed))).get();
|
|
76702
76708
|
const failuresSinceSuccess = Number(failureCount?.count ?? 0);
|
|
76703
76709
|
const latest = recent[0];
|
|
@@ -77258,7 +77264,7 @@ var PLACES_CHECK_BY_ID = Object.fromEntries(
|
|
|
77258
77264
|
);
|
|
77259
77265
|
|
|
77260
77266
|
// ../api-routes/src/doctor/checks/gbp-reviews.ts
|
|
77261
|
-
import { and as and95, desc as desc51, eq as eq114, gte as gte30, inArray as
|
|
77267
|
+
import { and as and95, desc as desc51, eq as eq114, gte as gte30, inArray as inArray52, sql as sql47 } from "drizzle-orm";
|
|
77262
77268
|
var REVIEW_EVENTS = /* @__PURE__ */ new Set(["review.negative", "review.rating-dropped"]);
|
|
77263
77269
|
var V4_ACCESS_REMEDIATION = "Business Profile reviews use the legacy My Business API (mybusiness.googleapis.com), which Google enables per Cloud project only on request; the API Library and `gcloud services enable` cannot turn it on. Open the enable link in the API access approval email as the approved account, or reply to the access-request thread asking Google to enable mybusiness.googleapis.com for your project number, then run `canonry gbp sync`.";
|
|
77264
77270
|
var reviewsAccessCheck = {
|
|
@@ -77381,7 +77387,7 @@ var reviewDeliveryCheck = {
|
|
|
77381
77387
|
payload: reviewWebhookDeliveries.payload
|
|
77382
77388
|
}).from(reviewWebhookDeliveries).where(and95(
|
|
77383
77389
|
eq114(reviewWebhookDeliveries.projectId, ctx.project.id),
|
|
77384
|
-
|
|
77390
|
+
inArray52(reviewWebhookDeliveries.state, [ReviewDeliveryStates.Uncertain, ReviewDeliveryStates.Failed]),
|
|
77385
77391
|
gte30(lastTouched, since)
|
|
77386
77392
|
)).orderBy(desc51(lastTouched)).all();
|
|
77387
77393
|
if (rows.length === 0) {
|
|
@@ -77966,7 +77972,7 @@ var RUNTIME_STATE_CHECKS = [
|
|
|
77966
77972
|
];
|
|
77967
77973
|
|
|
77968
77974
|
// ../api-routes/src/doctor/checks/traffic-source.ts
|
|
77969
|
-
import { and as and96, desc as desc52, eq as eq115, gte as gte31, inArray as
|
|
77975
|
+
import { and as and96, desc as desc52, eq as eq115, gte as gte31, inArray as inArray53, isNotNull as isNotNull10, ne as ne17, sql as sql48 } from "drizzle-orm";
|
|
77970
77976
|
var RECENT_DATA_WARN_DAYS = 7;
|
|
77971
77977
|
var RECENT_DATA_FAIL_DAYS = 30;
|
|
77972
77978
|
function isCloudflareDirectPush(source) {
|
|
@@ -78146,7 +78152,7 @@ var recentDataCheck = {
|
|
|
78146
78152
|
ctx.db.select({ total: sql48`COALESCE(SUM(${crawlerEventsHourly.hits}), 0)` }).from(crawlerEventsHourly).where(
|
|
78147
78153
|
and96(
|
|
78148
78154
|
eq115(crawlerEventsHourly.projectId, ctx.project.id),
|
|
78149
|
-
|
|
78155
|
+
inArray53(crawlerEventsHourly.sourceId, activeSourceIds),
|
|
78150
78156
|
gte31(crawlerEventsHourly.tsHour, warnCutoff)
|
|
78151
78157
|
)
|
|
78152
78158
|
).get()?.total ?? 0
|
|
@@ -78155,7 +78161,7 @@ var recentDataCheck = {
|
|
|
78155
78161
|
ctx.db.select({ total: sql48`COALESCE(SUM(${aiReferralEventsHourly.sessionsOrHits}), 0)` }).from(aiReferralEventsHourly).where(
|
|
78156
78162
|
and96(
|
|
78157
78163
|
eq115(aiReferralEventsHourly.projectId, ctx.project.id),
|
|
78158
|
-
|
|
78164
|
+
inArray53(aiReferralEventsHourly.sourceId, activeSourceIds),
|
|
78159
78165
|
gte31(aiReferralEventsHourly.tsHour, warnCutoff)
|
|
78160
78166
|
)
|
|
78161
78167
|
).get()?.total ?? 0
|
|
@@ -78164,7 +78170,7 @@ var recentDataCheck = {
|
|
|
78164
78170
|
ctx.db.select({ total: sql48`COALESCE(SUM(${aiUserFetchEventsHourly.hits}), 0)` }).from(aiUserFetchEventsHourly).where(
|
|
78165
78171
|
and96(
|
|
78166
78172
|
eq115(aiUserFetchEventsHourly.projectId, ctx.project.id),
|
|
78167
|
-
|
|
78173
|
+
inArray53(aiUserFetchEventsHourly.sourceId, activeSourceIds),
|
|
78168
78174
|
gte31(aiUserFetchEventsHourly.tsHour, warnCutoff)
|
|
78169
78175
|
)
|
|
78170
78176
|
).get()?.total ?? 0
|
|
@@ -78190,7 +78196,7 @@ var recentDataCheck = {
|
|
|
78190
78196
|
ctx.db.select({ total: sql48`COALESCE(SUM(${crawlerEventsHourly.hits}), 0)` }).from(crawlerEventsHourly).where(
|
|
78191
78197
|
and96(
|
|
78192
78198
|
eq115(crawlerEventsHourly.projectId, ctx.project.id),
|
|
78193
|
-
|
|
78199
|
+
inArray53(crawlerEventsHourly.sourceId, activeSourceIds),
|
|
78194
78200
|
gte31(crawlerEventsHourly.tsHour, failCutoff)
|
|
78195
78201
|
)
|
|
78196
78202
|
).get()?.total ?? 0
|
|
@@ -78199,7 +78205,7 @@ var recentDataCheck = {
|
|
|
78199
78205
|
ctx.db.select({ total: sql48`COALESCE(SUM(${aiReferralEventsHourly.sessionsOrHits}), 0)` }).from(aiReferralEventsHourly).where(
|
|
78200
78206
|
and96(
|
|
78201
78207
|
eq115(aiReferralEventsHourly.projectId, ctx.project.id),
|
|
78202
|
-
|
|
78208
|
+
inArray53(aiReferralEventsHourly.sourceId, activeSourceIds),
|
|
78203
78209
|
gte31(aiReferralEventsHourly.tsHour, failCutoff)
|
|
78204
78210
|
)
|
|
78205
78211
|
).get()?.total ?? 0
|
|
@@ -78208,7 +78214,7 @@ var recentDataCheck = {
|
|
|
78208
78214
|
ctx.db.select({ total: sql48`COALESCE(SUM(${aiUserFetchEventsHourly.hits}), 0)` }).from(aiUserFetchEventsHourly).where(
|
|
78209
78215
|
and96(
|
|
78210
78216
|
eq115(aiUserFetchEventsHourly.projectId, ctx.project.id),
|
|
78211
|
-
|
|
78217
|
+
inArray53(aiUserFetchEventsHourly.sourceId, activeSourceIds),
|
|
78212
78218
|
gte31(aiUserFetchEventsHourly.tsHour, failCutoff)
|
|
78213
78219
|
)
|
|
78214
78220
|
).get()?.total ?? 0
|
|
@@ -79468,7 +79474,7 @@ async function statusRoutes(app, opts) {
|
|
|
79468
79474
|
|
|
79469
79475
|
// ../api-routes/src/discovery/routes.ts
|
|
79470
79476
|
import crypto62 from "crypto";
|
|
79471
|
-
import { and as and98, desc as desc54, eq as eq117, gte as gte32, inArray as
|
|
79477
|
+
import { and as and98, desc as desc54, eq as eq117, gte as gte32, inArray as inArray54, isNull as isNull20, or as or21 } from "drizzle-orm";
|
|
79472
79478
|
var MAX_INFLIGHT_DISCOVERY_AGE_MS = 2 * 60 * 60 * 1e3;
|
|
79473
79479
|
async function discoveryRoutes(app, opts) {
|
|
79474
79480
|
app.post("/projects/:name/discover/run", async (request, reply) => {
|
|
@@ -79523,7 +79529,7 @@ async function discoveryRoutes(app, opts) {
|
|
|
79523
79529
|
// must never reuse another set's session. Null (= Gemini-only
|
|
79524
79530
|
// default, including explicit ['gemini']) matches legacy rows.
|
|
79525
79531
|
seedProviders == null ? isNull20(discoverySessions.seedProviders) : eq117(discoverySessions.seedProviders, seedProviders),
|
|
79526
|
-
|
|
79532
|
+
inArray54(discoverySessions.status, [
|
|
79527
79533
|
DiscoverySessionStatuses.queued,
|
|
79528
79534
|
DiscoverySessionStatuses.seeding,
|
|
79529
79535
|
DiscoverySessionStatuses.probing
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
bucketCliCommandDuration,
|
|
3
3
|
isTelemetryEnabled,
|
|
4
4
|
trackEvent
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FS65HPCW.js";
|
|
6
6
|
import {
|
|
7
7
|
getConfigDir
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BNSSB6H4.js";
|
|
9
9
|
import {
|
|
10
10
|
currentOutcomeAttribution
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-N5YFWTDQ.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-CPLY2O4L.js";
|
|
23
23
|
|
|
24
24
|
// src/outcome-telemetry.ts
|
|
25
25
|
import fs from "fs";
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
SNAPSHOT_CELL_LEGEND,
|
|
3
3
|
citationGlyph,
|
|
4
4
|
mentionGlyph
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BDPFPPPQ.js";
|
|
6
6
|
import {
|
|
7
7
|
createApiClient
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4PLVST2T.js";
|
|
9
9
|
import {
|
|
10
10
|
emitJsonl
|
|
11
11
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
formatMicros,
|
|
24
24
|
formatRunErrorOneLine,
|
|
25
25
|
resolveProviderInput
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-CPLY2O4L.js";
|
|
27
27
|
|
|
28
28
|
// src/commands/run.ts
|
|
29
29
|
function getClient() {
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
} from "./chunk-VJWDBFSL.js";
|
|
5
5
|
import {
|
|
6
6
|
createApiClient
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4PLVST2T.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError,
|
|
10
10
|
isMachineFormat
|
|
11
11
|
} from "./chunk-HGMYEDAQ.js";
|
|
12
12
|
import {
|
|
13
13
|
describeError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CPLY2O4L.js";
|
|
15
15
|
|
|
16
16
|
// src/commands/mcp.ts
|
|
17
17
|
import fs from "fs";
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
citationGlyph,
|
|
4
4
|
citedBase,
|
|
5
5
|
mentionGlyph
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BDPFPPPQ.js";
|
|
7
7
|
import {
|
|
8
8
|
createApiClient
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-4PLVST2T.js";
|
|
10
|
+
import "./chunk-BNSSB6H4.js";
|
|
11
11
|
import "./chunk-AOJU5LKX.js";
|
|
12
12
|
import "./chunk-HGMYEDAQ.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-CPLY2O4L.js";
|
|
14
14
|
import "./chunk-MLKGABMK.js";
|
|
15
15
|
|
|
16
16
|
// src/commands/citations.ts
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
buildCliCatalog,
|
|
4
4
|
printCliCatalog,
|
|
5
5
|
renderTopLevelHelp
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-TXH5BMVL.js";
|
|
7
|
+
import "./chunk-MXCBG4Z7.js";
|
|
8
8
|
import "./chunk-Z7IUAJOF.js";
|
|
9
9
|
import "./chunk-HGMYEDAQ.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-CPLY2O4L.js";
|
|
11
11
|
import "./chunk-MLKGABMK.js";
|
|
12
12
|
export {
|
|
13
13
|
CLI_ROOT_SUMMARIES,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
REGISTERED_CLI_COMMANDS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JMYH66HM.js";
|
|
4
4
|
import "./chunk-6GO5VVAC.js";
|
|
5
5
|
import "./chunk-VJWDBFSL.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-NWOPXLH3.js";
|
|
7
7
|
import "./chunk-TSENU4GG.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-4PLVST2T.js";
|
|
9
|
+
import "./chunk-BNSSB6H4.js";
|
|
10
|
+
import "./chunk-MXCBG4Z7.js";
|
|
11
11
|
import "./chunk-Z7IUAJOF.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-73SA4H5D.js";
|
|
13
13
|
import "./chunk-AOJU5LKX.js";
|
|
14
14
|
import "./chunk-HGMYEDAQ.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-CPLY2O4L.js";
|
|
16
16
|
import "./chunk-MLKGABMK.js";
|
|
17
17
|
export {
|
|
18
18
|
REGISTERED_CLI_COMMANDS
|