@canonry/canonry 7.120.2 → 7.122.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/assets/agent-workspace/skills/canonry/references/canonry-cli.md +4 -0
- package/assets/assets/{AccessControls-D9u5mHZy.js → AccessControls-CUyRn6C4.js} +2 -2
- package/assets/assets/{AgentSetupPage-sxobNnR4.js → AgentSetupPage-DZpC1KEN.js} +4 -4
- package/assets/assets/{AuditHistoryPanel-B-br1Rgm.js → AuditHistoryPanel--uz8Pwrq.js} +1 -1
- package/assets/assets/{BacklinksPage-DBncT_in.js → BacklinksPage-CO95Zmi-.js} +1 -1
- package/assets/assets/{ChartPrimitives-BVl_On4G.js → ChartPrimitives-Cs6yrwNk.js} +1 -1
- package/assets/assets/{Hint-DiyoPGOX.js → Hint-Drf3KqdJ.js} +1 -1
- package/assets/assets/{HistoryPage-DLzXIHGd.js → HistoryPage-jJE-3Cp-.js} +1 -1
- package/assets/assets/{InfoTooltip-laRfQjZw.js → InfoTooltip-Dm4gYO4N.js} +1 -1
- package/assets/assets/MeasurementPropertyPage-DVFgfLBE.js +4 -0
- package/assets/assets/ProjectPage-BUMmtHvg.js +15 -0
- package/assets/assets/{RunsPage-CGdstDkz.js → RunsPage-BSc3AZzW.js} +1 -1
- package/assets/assets/ServerTrafficSection-DVCQnnCe.js +41 -0
- package/assets/assets/SettingsPage-Cx3ChDuH.js +1 -0
- package/assets/assets/ToneBadge-D_99MaKo.js +60 -0
- package/assets/assets/{TrafficPage-HQMcIXhQ.js → TrafficPage-4lFwcOoT.js} +1 -1
- package/assets/assets/TrafficSourceDetailPage-BEjZCkMr.js +1 -0
- package/assets/assets/{account-context-BNo2KFA7.js → account-context-DHwkScAb.js} +1 -1
- package/assets/assets/{agent-trust-copy-B3Dw_M_3.js → agent-trust-copy-B2DSn_wB.js} +1 -1
- package/assets/assets/{card-h-mmYzMc.js → card-DsNIE4Gq.js} +1 -1
- package/assets/assets/index-BBPDLDlS.js +43 -0
- package/assets/assets/{index-C9Op8ix9.css → index-Dr7ccjP_.css} +1 -1
- package/assets/assets/preload-helper-BHfj17NS.js +1 -0
- package/assets/assets/{query-client-gk-fhrrc.js → query-client-DmL4VdXj.js} +1 -1
- package/assets/assets/react-query-ss3hNF7i.js +1 -0
- package/assets/assets/{react-sigma_core.esm.min-CbMudrIV.js → react-sigma_core.esm.min-CE7yMg4d.js} +1 -1
- package/assets/assets/{server-traffic-CL5cYldZ.js → server-traffic-CiJh_mR4.js} +1 -1
- package/assets/assets/service-Ck0xuYS9.js +1 -0
- package/assets/assets/{use-tooltip-position-CM1lD8cm.js → use-tooltip-position-71Ffohl_.js} +1 -1
- package/assets/assets/vendor-lucide-C3F7vHjd.js +1 -0
- package/assets/assets/{vendor-markdown-CQdHmjWd.js → vendor-markdown-DMxglFrF.js} +1 -1
- package/assets/assets/{vendor-radix-WbUsEVSn.js → vendor-radix-CXYx3LLU.js} +1 -1
- package/assets/assets/{vendor-recharts-DCxaNd0O.js → vendor-recharts-DAGVAt0P.js} +1 -1
- package/assets/assets/{vendor-tanstack-C613NhXZ.js → vendor-tanstack-ZnWhYpCU.js} +1 -1
- package/assets/index.html +18 -18
- package/dist/{ads-PMDSTHUC.js → ads-RVWK3WOT.js} +4 -4
- package/dist/{agent-5EL5AECW.js → agent-OSSTIYD5.js} +8 -8
- package/dist/{agent-ask-VAZUSWFA.js → agent-ask-2SPA6RIE.js} +4 -4
- package/dist/{agent-conversations-KOBHBQS6.js → agent-conversations-36UMFQY6.js} +4 -4
- package/dist/{agent-journeys-Q5J6K76M.js → agent-journeys-TW2CF6JI.js} +4 -4
- package/dist/{agent-memory-UTZWNL5K.js → agent-memory-GD2X65LE.js} +4 -4
- package/dist/{agent-providers-TBMKTIJT.js → agent-providers-A4E2TUJ7.js} +4 -4
- package/dist/{agent-transcript-4MIMLCSN.js → agent-transcript-JLHXL72N.js} +4 -4
- package/dist/{analytics-VGPQ3P7U.js → analytics-BZ7FJTK4.js} +4 -4
- package/dist/{apply-AL52P3BT.js → apply-BJDXDQXK.js} +4 -4
- package/dist/{backfill-AE23XODQ.js → backfill-F2OC7F22.js} +11 -11
- package/dist/{backlinks-T5ZWICGA.js → backlinks-IGSJG4TC.js} +4 -4
- package/dist/{bing-DFU4M6P2.js → bing-HHWCD5QU.js} +4 -4
- package/dist/{bootstrap-VBGDPCJ4.js → bootstrap-5LOT7HNU.js} +11 -11
- package/dist/{cdp-WHDGSGRE.js → cdp-5XNSVSBE.js} +8 -8
- package/dist/{chunk-OO4RE44D.js → chunk-3CT756HO.js} +1 -1
- package/dist/{chunk-AOD35IKL.js → chunk-3LJH6WL6.js} +1 -1
- package/dist/{chunk-FYTSSBV7.js → chunk-AYXUCVYX.js} +23 -23
- package/dist/{chunk-AHVF5OE5.js → chunk-BB2KXNOG.js} +2 -2
- package/dist/{chunk-TTQBEFSU.js → chunk-CCFEMZI5.js} +1 -1
- package/dist/{chunk-R2CBQPN6.js → chunk-D4G3FP7N.js} +13 -6
- package/dist/{chunk-5KINLLTJ.js → chunk-E6WLCHXT.js} +4 -4
- package/dist/{chunk-ZCRUXUHU.js → chunk-EGH7MBFI.js} +5 -5
- package/dist/{chunk-6KH4XZLA.js → chunk-F5UUN6UB.js} +1 -1
- package/dist/{chunk-6WG3PZUR.js → chunk-G56TRFKC.js} +7 -7
- package/dist/{chunk-3Q2D53KV.js → chunk-HGXAKSRX.js} +1 -1
- package/dist/{chunk-PM4GX6FP.js → chunk-HVE7FL2B.js} +4 -4
- package/dist/{chunk-XTR3KSV2.js → chunk-IQGRGJFP.js} +1 -1
- package/dist/{chunk-VCXKSGZF.js → chunk-LJ3MSVVW.js} +1 -1
- package/dist/{chunk-2FNWSHOE.js → chunk-LNBJ3ZEK.js} +17 -3
- package/dist/{chunk-AOYSK6D2.js → chunk-LZSY5GNZ.js} +2 -2
- package/dist/{chunk-FTPGW2WX.js → chunk-M2OSHVTB.js} +2 -2
- package/dist/{chunk-OXYZQJLV.js → chunk-NGTWSJSP.js} +1 -1
- package/dist/{chunk-WLG476HL.js → chunk-NJTIZSBH.js} +5 -5
- package/dist/{chunk-WVZR3J7X.js → chunk-NZQWQK4N.js} +4 -4
- package/dist/{chunk-FYL67YEU.js → chunk-QE3PIF67.js} +8 -8
- package/dist/{chunk-NQFBIMS4.js → chunk-QFPQIPX3.js} +2 -2
- package/dist/{chunk-RDISN2CO.js → chunk-REDBG2JO.js} +5 -5
- package/dist/{chunk-EZOBUXLP.js → chunk-RHWKLRLF.js} +3 -3
- package/dist/{chunk-TS477DBZ.js → chunk-RVRQJ2SA.js} +2 -2
- package/dist/{chunk-47Y5UAYA.js → chunk-S6GBOBNO.js} +2 -2
- package/dist/{chunk-ZDYWXTNN.js → chunk-SPNDMTXM.js} +42 -4
- package/dist/{chunk-QC4MPO7E.js → chunk-T3HVXCOW.js} +423 -372
- package/dist/{chunk-3N2MSPPU.js → chunk-TAFIB6LC.js} +3 -2
- package/dist/{chunk-QCXKLTVC.js → chunk-TH6JFDUI.js} +4 -4
- package/dist/{chunk-VOK62VGC.js → chunk-UYRC244Y.js} +11 -0
- package/dist/{chunk-VK6SYZAH.js → chunk-VXBYTMSM.js} +87 -4
- package/dist/{chunk-GDRZPBPF.js → chunk-WKYQ7255.js} +2 -2
- package/dist/{chunk-J4FMWPEM.js → chunk-X2WJ563G.js} +3 -3
- package/dist/{chunk-HFNLWW3Z.js → chunk-XDCXC6DL.js} +1 -1
- package/dist/{chunk-QT475Y6O.js → chunk-XXKC266R.js} +2 -2
- package/dist/{chunk-RLLYGXNA.js → chunk-YETOLZWJ.js} +4 -4
- package/dist/{chunk-IWQFTZ75.js → chunk-ZA44DK2O.js} +1 -1
- package/dist/{citations-JOM2DJX3.js → citations-BJKMX32Y.js} +5 -5
- package/dist/{cli-catalog-4ZCK2TFK.js → cli-catalog-VK4DK55E.js} +4 -4
- package/dist/cli-commands-7AIQBJRW.js +18 -0
- package/dist/cli.js +14 -14
- package/dist/{competitor-FQH7LNR2.js → competitor-ONXSUUEJ.js} +4 -4
- package/dist/{content-KEZJJEV2.js → content-U276NS4F.js} +4 -4
- package/dist/{dashboard-7I6A2XHW.js → dashboard-SVYP4JIF.js} +7 -7
- package/dist/{demo-JGVDDJYC.js → demo-CJEZXMD7.js} +3 -3
- package/dist/{demo-server-YOMJIFPD.js → demo-server-ASS76Y3T.js} +13 -13
- package/dist/{discover-ZB6I2A65.js → discover-O6MXXTQP.js} +5 -5
- package/dist/{discover-eval-XXRA3XDQ.js → discover-eval-RWCDKTW2.js} +4 -4
- package/dist/{doctor-KTGY5L57.js → doctor-LDHRSYBN.js} +4 -4
- package/dist/{evidence-BEBTLKK4.js → evidence-HCQ3XGR3.js} +4 -4
- package/dist/{export-cmd-VIQGUL7N.js → export-cmd-FCD27XDA.js} +4 -4
- package/dist/{ga-YEQKHEN2.js → ga-DNE32K5T.js} +4 -4
- package/dist/{gbp-NFTRCNGZ.js → gbp-BD6N5ZNR.js} +4 -4
- package/dist/{google-MBQW2EGU.js → google-JGLRBRDJ.js} +5 -5
- package/dist/{google-marketing-KIGW7ZGN.js → google-marketing-VGDUCHDK.js} +2 -2
- package/dist/{health-cmd-6B6VSAX3.js → health-cmd-SSUFVJXH.js} +5 -5
- package/dist/{history-DX2QSPL2.js → history-FPNPI3FR.js} +4 -4
- package/dist/index.d.ts +75 -71
- package/dist/index.js +27 -27
- package/dist/{init-BK6GYDZP.js → init-LE67AJR6.js} +13 -13
- package/dist/{insights-ZJD3KUA7.js → insights-JXWPCIKX.js} +4 -4
- package/dist/intelligence-service-XCADQRDI.js +15 -0
- package/dist/{journeys-E4FC7PCM.js → journeys-ULUM5VHN.js} +4 -4
- package/dist/{keys-TD6NBRRY.js → keys-K7LFSZEV.js} +4 -4
- package/dist/{keyword-FEOQSKMZ.js → keyword-FEVMF4GU.js} +4 -4
- package/dist/{logs-YV5JPJH3.js → logs-IFSEC6EG.js} +4 -4
- package/dist/{mcp-S3YNKUQQ.js → mcp-GEHAKVJQ.js} +5 -5
- package/dist/mcp.js +11 -11
- package/dist/{measurement-plan-VVDLIBQO.js → measurement-plan-P3VN75M2.js} +6 -6
- package/dist/{notify-GUJ6PLRU.js → notify-J4FVK5NC.js} +21 -5
- package/dist/{organic-evidence-A66B5BWS.js → organic-evidence-X53DBTMQ.js} +4 -4
- package/dist/{overview-JKW5LARL.js → overview-F3LYI5W4.js} +6 -6
- package/dist/{project-XUYBPKWJ.js → project-RXT5IJKZ.js} +4 -4
- package/dist/{project-setup-YO6R26JG.js → project-setup-ATO24GGB.js} +4 -4
- package/dist/{query-YOTYGF4K.js → query-LGPJDI56.js} +4 -4
- package/dist/{research-QVG5XZDF.js → research-BHOCLEHN.js} +4 -4
- package/dist/{results-export-4TMA6DJT.js → results-export-PFKBOBPA.js} +4 -4
- package/dist/{run-HGYYDS6S.js → run-ASLSXRUQ.js} +6 -6
- package/dist/{schedule-RR6OUMKT.js → schedule-SQOLIVNL.js} +4 -4
- package/dist/{search-KO7PIUMR.js → search-3ZHHJHIN.js} +4 -4
- package/dist/{serve-GLPKVWZE.js → serve-VOZCS346.js} +28 -28
- package/dist/{session-RJ5AYV6Q.js → session-KZJB4SN3.js} +15 -15
- package/dist/{settings-HDENU4PV.js → settings-JOPGFAZS.js} +4 -4
- package/dist/{sitemaps-GTHH2RP3.js → sitemaps-AAEYPCF3.js} +4 -4
- package/dist/{skills-U3MDHCWF.js → skills-IWK7KYBF.js} +3 -3
- package/dist/{snapshot-SWFUS4D2.js → snapshot-N45FCZO3.js} +4 -4
- package/dist/{src-R74K2NOZ.js → src-D5YFNRUG.js} +2 -2
- package/dist/{status-ACUIXSLV.js → status-O4GQAJV5.js} +6 -6
- package/dist/{support-3IFWJF3E.js → support-RNNKG6QY.js} +2 -2
- package/dist/{technical-aeo-NWE56UCG.js → technical-aeo-IMGI4ST7.js} +4 -4
- package/dist/{telemetry-CHW3LG5A.js → telemetry-ELCKZQGI.js} +5 -5
- package/dist/{tools-BCDSJTKK.js → tools-7NYNPJTI.js} +12 -12
- package/dist/{traffic-MHCGXV2V.js → traffic-NJ476WXB.js} +6 -6
- package/dist/{trends-5IEV52XW.js → trends-ULBZCMKS.js} +4 -4
- package/dist/{users-KRY5MKJ4.js → users-TFQRXDHF.js} +4 -4
- package/dist/{visibility-stats-JF3SXXKS.js → visibility-stats-Q3F5ORLR.js} +5 -5
- package/dist/{wordpress-TV2NSQPK.js → wordpress-JPDUJ7ZW.js} +4 -4
- package/package.json +1 -1
- package/assets/assets/MeasurementPropertyPage-C2RXn2iP.js +0 -4
- package/assets/assets/ProjectPage-CUGvozZu.js +0 -15
- package/assets/assets/ServerTrafficSection-DsmN-vR2.js +0 -41
- package/assets/assets/SettingsPage-DAnYQBff.js +0 -1
- package/assets/assets/ToneBadge-BCQPh7t2.js +0 -60
- package/assets/assets/TrafficSourceDetailPage-BXQX0fyG.js +0 -1
- package/assets/assets/index-DpBLjU4G.js +0 -43
- package/assets/assets/preload-helper-D2o-5DDv.js +0 -1
- package/assets/assets/react-query-hUdNgz2a.js +0 -1
- package/assets/assets/service-CxbxBFUX.js +0 -1
- package/assets/assets/vendor-lucide-7AWeFVeL.js +0 -1
- package/dist/cli-commands-Z7Q5HLBB.js +0 -18
- package/dist/intelligence-service-7S4ZFNB6.js +0 -15
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usageError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZA44DK2O.js";
|
|
4
4
|
import {
|
|
5
5
|
AppError,
|
|
6
6
|
parseWindowIn,
|
|
7
7
|
resolveDateRange
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UYRC244Y.js";
|
|
9
9
|
|
|
10
10
|
// src/cli-access.ts
|
|
11
11
|
var CLI_ACCESS_BY_ID = Object.freeze({
|
|
@@ -302,6 +302,7 @@ var CLI_ACCESS_BY_ID = Object.freeze({
|
|
|
302
302
|
"notify.list": "stored",
|
|
303
303
|
"notify.remove": "write",
|
|
304
304
|
"notify.test": "write",
|
|
305
|
+
"notify.update": "write",
|
|
305
306
|
"organic-evidence": "stored",
|
|
306
307
|
"overview": "stored",
|
|
307
308
|
"project": "write",
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
SNAPSHOT_CELL_LEGEND,
|
|
3
3
|
citationGlyph,
|
|
4
4
|
mentionGlyph
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XDCXC6DL.js";
|
|
6
6
|
import {
|
|
7
7
|
createApiClient
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LNBJ3ZEK.js";
|
|
9
9
|
import {
|
|
10
10
|
emitJsonl
|
|
11
11
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
CliError,
|
|
14
14
|
EXIT_SYSTEM_ERROR,
|
|
15
15
|
isMachineFormat
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZA44DK2O.js";
|
|
17
17
|
import {
|
|
18
18
|
MentionIdentities,
|
|
19
19
|
OUTSTANDING_PROVIDER_BATCH_STATUSES,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
formatMicros,
|
|
24
24
|
formatRunErrorOneLine,
|
|
25
25
|
resolveProviderInput
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-UYRC244Y.js";
|
|
27
27
|
|
|
28
28
|
// src/commands/run.ts
|
|
29
29
|
function getClient() {
|
|
@@ -604,6 +604,12 @@ var notificationCreateRequestSchema = z6.object({
|
|
|
604
604
|
events: z6.array(notificationEventSchema).min(1),
|
|
605
605
|
source: z6.string().optional()
|
|
606
606
|
});
|
|
607
|
+
var notificationUpdateRequestSchema = z6.object({
|
|
608
|
+
events: z6.array(notificationEventSchema).min(1).optional(),
|
|
609
|
+
addEvents: z6.array(notificationEventSchema).min(1).optional(),
|
|
610
|
+
removeEvents: z6.array(notificationEventSchema).min(1).optional(),
|
|
611
|
+
enabled: z6.boolean().optional()
|
|
612
|
+
}).strict();
|
|
607
613
|
var HEALTH_NO_LONGER_URGENT = "No longer urgent.";
|
|
608
614
|
var ReviewDeliveryStates = Object.freeze({
|
|
609
615
|
Pending: "pending",
|
|
@@ -25844,13 +25850,17 @@ var CLAUDE_SEARCH_AND_BATCH = {
|
|
|
25844
25850
|
};
|
|
25845
25851
|
var DEFAULT_MODEL_PRICES = {
|
|
25846
25852
|
claude: {
|
|
25853
|
+
"claude-fable-5-2": { inputPerMTok: 8, outputPerMTok: 40, cachedInputPerMTok: 0.2, ...CLAUDE_SEARCH_AND_BATCH },
|
|
25854
|
+
"claude-mythos-5-2": { inputPerMTok: 8, outputPerMTok: 40, cachedInputPerMTok: 0.2, ...CLAUDE_SEARCH_AND_BATCH },
|
|
25847
25855
|
"claude-opus-5-5": { inputPerMTok: 4, outputPerMTok: 20, cachedInputPerMTok: 0.2, ...CLAUDE_SEARCH_AND_BATCH },
|
|
25848
25856
|
"claude-fable-5-1": { inputPerMTok: 10, outputPerMTok: 50, cachedInputPerMTok: 0.25, ...CLAUDE_SEARCH_AND_BATCH },
|
|
25857
|
+
"claude-mythos-5-1": { inputPerMTok: 10, outputPerMTok: 50, cachedInputPerMTok: 0.25, ...CLAUDE_SEARCH_AND_BATCH },
|
|
25849
25858
|
"claude-fable-5": { inputPerMTok: 10, outputPerMTok: 50, ...CLAUDE_SEARCH_AND_BATCH },
|
|
25850
25859
|
"claude-opus-5": { inputPerMTok: 5, outputPerMTok: 25, ...CLAUDE_SEARCH_AND_BATCH },
|
|
25851
25860
|
"claude-opus-4-8": { inputPerMTok: 5, outputPerMTok: 25, ...CLAUDE_SEARCH_AND_BATCH },
|
|
25852
25861
|
"claude-opus-4-7": { inputPerMTok: 5, outputPerMTok: 25, ...CLAUDE_SEARCH_AND_BATCH },
|
|
25853
25862
|
"claude-opus-4-6": { inputPerMTok: 5, outputPerMTok: 25, ...CLAUDE_SEARCH_AND_BATCH },
|
|
25863
|
+
"claude-sonnet-5-5": { inputPerMTok: 2, outputPerMTok: 10, cachedInputPerMTok: 0.1, ...CLAUDE_SEARCH_AND_BATCH },
|
|
25854
25864
|
"claude-sonnet-5": { inputPerMTok: 2, outputPerMTok: 10, ...CLAUDE_SEARCH_AND_BATCH },
|
|
25855
25865
|
"claude-sonnet-4-6": { inputPerMTok: 3, outputPerMTok: 15, ...CLAUDE_SEARCH_AND_BATCH },
|
|
25856
25866
|
"claude-haiku-4-5": { inputPerMTok: 1, outputPerMTok: 5, ...CLAUDE_SEARCH_AND_BATCH }
|
|
@@ -29572,6 +29582,7 @@ export {
|
|
|
29572
29582
|
NOTIFICATION_EVENT_DESCRIPTIONS,
|
|
29573
29583
|
notificationDtoSchema,
|
|
29574
29584
|
notificationCreateRequestSchema,
|
|
29585
|
+
notificationUpdateRequestSchema,
|
|
29575
29586
|
HEALTH_NO_LONGER_URGENT,
|
|
29576
29587
|
ReviewDeliveryStates,
|
|
29577
29588
|
googleBusinessReviewUrl,
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
normalizeTrafficPathPattern,
|
|
20
20
|
sessionizeJourneyRequests,
|
|
21
21
|
verifyRequestSignature
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HGXAKSRX.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-CCFEMZI5.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-LJ3MSVVW.js";
|
|
194
194
|
import {
|
|
195
195
|
ADS_ACTIVATE_SCOPE,
|
|
196
196
|
ADS_ACTIVATION_ABSOLUTE_MAX_ENTITIES,
|
|
@@ -1064,6 +1064,7 @@ import {
|
|
|
1064
1064
|
notImplemented,
|
|
1065
1065
|
notificationDtoSchema,
|
|
1066
1066
|
notificationEventSchema,
|
|
1067
|
+
notificationUpdateRequestSchema,
|
|
1067
1068
|
onboardingTelemetryEventSchema,
|
|
1068
1069
|
openRouterRouteModel,
|
|
1069
1070
|
operationAccess,
|
|
@@ -1390,7 +1391,7 @@ import {
|
|
|
1390
1391
|
wordpressSchemaDeployResultDtoSchema,
|
|
1391
1392
|
wordpressSchemaStatusResultDtoSchema,
|
|
1392
1393
|
wordpressStatusDtoSchema
|
|
1393
|
-
} from "./chunk-
|
|
1394
|
+
} from "./chunk-UYRC244Y.js";
|
|
1394
1395
|
|
|
1395
1396
|
// ../api-routes/src/user-session.ts
|
|
1396
1397
|
import crypto2 from "crypto";
|
|
@@ -40789,6 +40790,7 @@ var SCHEMA_TABLE = {
|
|
|
40789
40790
|
MeasurementSegmentRetirementResponse: measurementSegmentRetirementResponseSchema,
|
|
40790
40791
|
MeasurementSetupResponse: measurementSetupResponseSchema,
|
|
40791
40792
|
NotificationDto: notificationDtoSchema,
|
|
40793
|
+
NotificationUpdateRequest: notificationUpdateRequestSchema,
|
|
40792
40794
|
OnboardingTelemetryEvent: onboardingTelemetryEventSchema,
|
|
40793
40795
|
UiTelemetryEvent: uiTelemetryEventSchema,
|
|
40794
40796
|
OrganicEvidenceDto: organicEvidenceDtoSchema,
|
|
@@ -44792,6 +44794,27 @@ var routeCatalog = [
|
|
|
44792
44794
|
404: errorResponse("Notification not found.")
|
|
44793
44795
|
}
|
|
44794
44796
|
},
|
|
44797
|
+
{
|
|
44798
|
+
method: "patch",
|
|
44799
|
+
path: "/api/v1/projects/{name}/notifications/{id}",
|
|
44800
|
+
summary: "Update a notification",
|
|
44801
|
+
description: "Changes an existing webhook in place: replaces its event list and/or turns it on or off. The URL and signing secret stay as they are; to send somewhere else, add a new webhook. Name at least one field.",
|
|
44802
|
+
tags: ["notifications"],
|
|
44803
|
+
parameters: [nameParameter, notificationIdParameter],
|
|
44804
|
+
requestBody: {
|
|
44805
|
+
required: true,
|
|
44806
|
+
content: {
|
|
44807
|
+
"application/json": {
|
|
44808
|
+
schema: { $ref: "#/components/schemas/NotificationUpdateRequest" }
|
|
44809
|
+
}
|
|
44810
|
+
}
|
|
44811
|
+
},
|
|
44812
|
+
responses: {
|
|
44813
|
+
200: jsonResponse("Notification updated.", "NotificationDto"),
|
|
44814
|
+
400: errorResponse("Invalid notification update."),
|
|
44815
|
+
404: errorResponse("Notification not found.")
|
|
44816
|
+
}
|
|
44817
|
+
},
|
|
44795
44818
|
{
|
|
44796
44819
|
method: "post",
|
|
44797
44820
|
path: "/api/v1/projects/{name}/notifications/{id}/test",
|
|
@@ -51808,6 +51831,61 @@ async function notificationRoutes(app, opts = {}) {
|
|
|
51808
51831
|
});
|
|
51809
51832
|
return reply.status(204).send();
|
|
51810
51833
|
}));
|
|
51834
|
+
app.patch("/projects/:name/notifications/:id", async (request, reply) => {
|
|
51835
|
+
const body = request.body;
|
|
51836
|
+
const fields = body && typeof body === "object" ? body : {};
|
|
51837
|
+
const eventLists = [fields.events, fields.addEvents, fields.removeEvents];
|
|
51838
|
+
const invalid = eventLists.flatMap((list) => Array.isArray(list) ? list.filter((e) => !VALID_EVENTS.includes(e)) : []);
|
|
51839
|
+
if (invalid.length) {
|
|
51840
|
+
throw validationError(`Invalid event(s): ${invalid.join(", ")}. Must be one of: ${VALID_EVENTS.join(", ")}`);
|
|
51841
|
+
}
|
|
51842
|
+
const parsed = notificationUpdateRequestSchema.safeParse(body ?? {});
|
|
51843
|
+
if (!parsed.success) {
|
|
51844
|
+
throw validationError("Invalid notification update", {
|
|
51845
|
+
issues: parsed.error.issues.map((issue) => ({
|
|
51846
|
+
path: issue.path.join(".") || ("keys" in issue && Array.isArray(issue.keys) ? issue.keys.join(".") : ""),
|
|
51847
|
+
message: issue.message
|
|
51848
|
+
}))
|
|
51849
|
+
});
|
|
51850
|
+
}
|
|
51851
|
+
const update = parsed.data;
|
|
51852
|
+
if (update.events !== void 0 && (update.addEvents !== void 0 || update.removeEvents !== void 0)) {
|
|
51853
|
+
throw validationError('"events" replaces the whole list; send it alone, or use "addEvents" / "removeEvents" without it');
|
|
51854
|
+
}
|
|
51855
|
+
if (update.events === void 0 && update.addEvents === void 0 && update.removeEvents === void 0 && update.enabled === void 0) {
|
|
51856
|
+
throw validationError('Name at least one field to change: "events", "addEvents", "removeEvents" or "enabled"');
|
|
51857
|
+
}
|
|
51858
|
+
const project = resolveProject(app.db, request.params.name);
|
|
51859
|
+
const notification = app.db.select().from(notifications).where(eq85(notifications.id, request.params.id)).get();
|
|
51860
|
+
if (!notification || notification.projectId !== project.id) {
|
|
51861
|
+
throw notFound("Notification", request.params.id);
|
|
51862
|
+
}
|
|
51863
|
+
const config = notification.config;
|
|
51864
|
+
const events = nextNotificationEvents(config.events, update);
|
|
51865
|
+
if (events.length === 0) {
|
|
51866
|
+
throw validationError("A webhook needs at least one event; remove the webhook instead of removing all of its events");
|
|
51867
|
+
}
|
|
51868
|
+
const enabled = update.enabled ?? notification.enabled;
|
|
51869
|
+
const eventsChanged = events.length !== config.events.length || events.some((event, i) => event !== config.events[i]);
|
|
51870
|
+
const enabledChanged = enabled !== notification.enabled;
|
|
51871
|
+
if (eventsChanged || enabledChanged) {
|
|
51872
|
+
app.db.transaction((tx) => {
|
|
51873
|
+
tx.update(notifications).set({ config: { ...config, events }, enabled, updatedAt: (/* @__PURE__ */ new Date()).toISOString() }).where(eq85(notifications.id, notification.id)).run();
|
|
51874
|
+
writeAuditLog(tx, {
|
|
51875
|
+
projectId: project.id,
|
|
51876
|
+
actor: "api",
|
|
51877
|
+
action: "notification.updated",
|
|
51878
|
+
entityType: "notification",
|
|
51879
|
+
entityId: notification.id,
|
|
51880
|
+
diff: {
|
|
51881
|
+
...eventsChanged ? { events: { from: config.events, to: events } } : {},
|
|
51882
|
+
...enabledChanged ? { enabled: { from: notification.enabled, to: enabled } } : {}
|
|
51883
|
+
}
|
|
51884
|
+
});
|
|
51885
|
+
});
|
|
51886
|
+
}
|
|
51887
|
+
return reply.send(formatNotification(app.db.select().from(notifications).where(eq85(notifications.id, notification.id)).get()));
|
|
51888
|
+
});
|
|
51811
51889
|
app.post("/projects/:name/notifications/:id/test", connectionRoute(app, (request) => {
|
|
51812
51890
|
const stored = app.db.select({ config: notifications.config }).from(notifications).where(eq85(notifications.id, request.params.id)).get();
|
|
51813
51891
|
const config = stored?.config;
|
|
@@ -51859,6 +51937,11 @@ async function notificationRoutes(app, opts = {}) {
|
|
|
51859
51937
|
return reply.send({ status, ok: status >= 200 && status < 300 });
|
|
51860
51938
|
}));
|
|
51861
51939
|
}
|
|
51940
|
+
function nextNotificationEvents(stored, update) {
|
|
51941
|
+
if (update.events) return [...new Set(update.events)];
|
|
51942
|
+
const removed = new Set(update.removeEvents ?? []);
|
|
51943
|
+
return [.../* @__PURE__ */ new Set([...stored, ...update.addEvents ?? []])].filter((event) => !removed.has(event));
|
|
51944
|
+
}
|
|
51862
51945
|
function formatNotification(row) {
|
|
51863
51946
|
const config = row.config;
|
|
51864
51947
|
const redacted = redactNotificationUrl(config.url);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CliError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZA44DK2O.js";
|
|
4
4
|
import {
|
|
5
5
|
AGENT_PROVIDER_IDS,
|
|
6
6
|
AgentProviderIds,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
resolveProviderModel,
|
|
23
23
|
schedulableRunKindSchema,
|
|
24
24
|
sentimentEvaluatorProviderSchema
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-UYRC244Y.js";
|
|
26
26
|
|
|
27
27
|
// ../config/src/index.ts
|
|
28
28
|
import { z as z5 } from "zod";
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
configExists,
|
|
3
3
|
loadConfigRaw,
|
|
4
4
|
saveConfigPatch
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WKYQ7255.js";
|
|
6
6
|
import {
|
|
7
7
|
BUNDLED_SKILL_NAMES,
|
|
8
8
|
installSkills
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RVRQJ2SA.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-UYRC244Y.js";
|
|
17
17
|
|
|
18
18
|
// src/skills-autosync.ts
|
|
19
19
|
import fs from "fs";
|
|
@@ -68,8 +68,8 @@ var CANONRY_MCP_TOOLKITS = [
|
|
|
68
68
|
{
|
|
69
69
|
name: "setup",
|
|
70
70
|
title: "Project setup and measurement",
|
|
71
|
-
description: "Manage project configuration, Advanced Measurement drafts, query assets, competitors, and
|
|
72
|
-
whenToLoad: "Load when onboarding a project, editing its measurement plan, or managing tracked queries, competitors, or
|
|
71
|
+
description: "Manage project configuration, Advanced Measurement drafts, query assets, competitors, schedules, and notification webhooks.",
|
|
72
|
+
whenToLoad: "Load when onboarding a project, editing its measurement plan, or managing tracked queries, competitors, schedules, or which events a webhook receives."
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
75
|
name: "gsc",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LNBJ3ZEK.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-IQGRGJFP.js";
|
|
11
11
|
import {
|
|
12
12
|
isMachineFormat,
|
|
13
13
|
systemError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZA44DK2O.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-UYRC244Y.js";
|
|
43
43
|
|
|
44
44
|
// src/commands/measurement-plan.ts
|
|
45
45
|
import crypto from "crypto";
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
citationGlyph,
|
|
4
4
|
citedBase,
|
|
5
5
|
mentionGlyph
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XDCXC6DL.js";
|
|
7
7
|
import {
|
|
8
8
|
createApiClient
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-LNBJ3ZEK.js";
|
|
10
|
+
import "./chunk-WKYQ7255.js";
|
|
11
11
|
import {
|
|
12
12
|
emitJsonl
|
|
13
13
|
} from "./chunk-Z7IUAJOF.js";
|
|
14
14
|
import "./chunk-AOJU5LKX.js";
|
|
15
15
|
import {
|
|
16
16
|
isMachineFormat
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-ZA44DK2O.js";
|
|
18
|
+
import "./chunk-UYRC244Y.js";
|
|
19
19
|
|
|
20
20
|
// src/commands/citations.ts
|
|
21
21
|
async function showCitationVisibility(project, opts) {
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
buildCliCatalog,
|
|
4
4
|
printCliCatalog,
|
|
5
5
|
renderTopLevelHelp
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-NZQWQK4N.js";
|
|
7
|
+
import "./chunk-TAFIB6LC.js";
|
|
8
8
|
import "./chunk-Z7IUAJOF.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-ZA44DK2O.js";
|
|
10
|
+
import "./chunk-UYRC244Y.js";
|
|
11
11
|
export {
|
|
12
12
|
CLI_ROOT_SUMMARIES,
|
|
13
13
|
buildCliCatalog,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
REGISTERED_CLI_COMMANDS
|
|
3
|
+
} from "./chunk-T3HVXCOW.js";
|
|
4
|
+
import "./chunk-6GO5VVAC.js";
|
|
5
|
+
import "./chunk-VJWDBFSL.js";
|
|
6
|
+
import "./chunk-YETOLZWJ.js";
|
|
7
|
+
import "./chunk-TSENU4GG.js";
|
|
8
|
+
import "./chunk-LNBJ3ZEK.js";
|
|
9
|
+
import "./chunk-WKYQ7255.js";
|
|
10
|
+
import "./chunk-TAFIB6LC.js";
|
|
11
|
+
import "./chunk-Z7IUAJOF.js";
|
|
12
|
+
import "./chunk-IQGRGJFP.js";
|
|
13
|
+
import "./chunk-AOJU5LKX.js";
|
|
14
|
+
import "./chunk-ZA44DK2O.js";
|
|
15
|
+
import "./chunk-UYRC244Y.js";
|
|
16
|
+
export {
|
|
17
|
+
REGISTERED_CLI_COMMANDS
|
|
18
|
+
};
|
package/dist/cli.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node --import tsx
|
|
2
2
|
import {
|
|
3
3
|
REGISTERED_CLI_COMMANDS
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-T3HVXCOW.js";
|
|
5
5
|
import "./chunk-6GO5VVAC.js";
|
|
6
6
|
import {
|
|
7
7
|
buildSetupState,
|
|
8
8
|
runPendingServeHandoff
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HVE7FL2B.js";
|
|
10
10
|
import "./chunk-VJWDBFSL.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-YETOLZWJ.js";
|
|
12
12
|
import "./chunk-TSENU4GG.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-F5UUN6UB.js";
|
|
14
14
|
import {
|
|
15
15
|
checkLatestVersionForCli,
|
|
16
16
|
cliRuntimeContext,
|
|
@@ -24,24 +24,24 @@ import {
|
|
|
24
24
|
showFirstRunNotice,
|
|
25
25
|
trackCliCommandFinished,
|
|
26
26
|
trackEvent
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-LZSY5GNZ.js";
|
|
28
28
|
import {
|
|
29
29
|
autoSyncSkills,
|
|
30
30
|
formatAutoSyncNotice
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-X2WJ563G.js";
|
|
32
|
+
import "./chunk-LNBJ3ZEK.js";
|
|
33
|
+
import "./chunk-WKYQ7255.js";
|
|
34
34
|
import {
|
|
35
35
|
accessFilterFromArgs,
|
|
36
36
|
dispatchRegisteredCommand,
|
|
37
37
|
printCliCatalog
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-NZQWQK4N.js";
|
|
39
39
|
import {
|
|
40
40
|
resolveCliAccess
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-TAFIB6LC.js";
|
|
42
42
|
import "./chunk-Z7IUAJOF.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-RVRQJ2SA.js";
|
|
44
|
+
import "./chunk-IQGRGJFP.js";
|
|
45
45
|
import "./chunk-AOJU5LKX.js";
|
|
46
46
|
import {
|
|
47
47
|
CliError,
|
|
@@ -49,10 +49,10 @@ import {
|
|
|
49
49
|
isMachineFormat,
|
|
50
50
|
printCliError,
|
|
51
51
|
usageError
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-ZA44DK2O.js";
|
|
53
53
|
import {
|
|
54
54
|
OperationAccesses
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-UYRC244Y.js";
|
|
56
56
|
|
|
57
57
|
// src/cli.ts
|
|
58
58
|
import { pathToFileURL } from "url";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-LNBJ3ZEK.js";
|
|
4
|
+
import "./chunk-WKYQ7255.js";
|
|
5
5
|
import {
|
|
6
6
|
emitJsonl
|
|
7
7
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
CliError,
|
|
11
11
|
isMachineFormat,
|
|
12
12
|
usageError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZA44DK2O.js";
|
|
14
14
|
import {
|
|
15
15
|
CompetitorChangeKinds,
|
|
16
16
|
CompetitorShareImpactCaveats,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
normalizeCompetitorDomain,
|
|
22
22
|
shareOfVoiceLabel,
|
|
23
23
|
shareOfVoiceReason
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-UYRC244Y.js";
|
|
25
25
|
|
|
26
26
|
// src/commands/competitor.ts
|
|
27
27
|
import fs from "fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-LNBJ3ZEK.js";
|
|
4
|
+
import "./chunk-WKYQ7255.js";
|
|
5
5
|
import {
|
|
6
6
|
emitJsonl
|
|
7
7
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
CliError,
|
|
11
11
|
isMachineFormat,
|
|
12
12
|
usageError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZA44DK2O.js";
|
|
14
14
|
import {
|
|
15
15
|
contentTargetDismissRequestSchema,
|
|
16
16
|
formatPercent
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-UYRC244Y.js";
|
|
18
18
|
|
|
19
19
|
// src/commands/content.ts
|
|
20
20
|
var WINNABILITY_COVERAGE_CHECK_ID = "content.winnability.coverage";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearDashboardPassword,
|
|
3
3
|
loadConfigRaw
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WKYQ7255.js";
|
|
5
5
|
import {
|
|
6
6
|
isMachineFormat
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZA44DK2O.js";
|
|
8
8
|
import {
|
|
9
9
|
anyUsersExist
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-VXBYTMSM.js";
|
|
11
|
+
import "./chunk-HGXAKSRX.js";
|
|
12
|
+
import "./chunk-CCFEMZI5.js";
|
|
13
13
|
import {
|
|
14
14
|
createClient
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-LJ3MSVVW.js";
|
|
16
|
+
import "./chunk-UYRC244Y.js";
|
|
17
17
|
|
|
18
18
|
// src/commands/dashboard.ts
|
|
19
19
|
import fs from "fs";
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
CliError,
|
|
8
8
|
isMachineFormat
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-ZA44DK2O.js";
|
|
10
|
+
import "./chunk-UYRC244Y.js";
|
|
11
11
|
|
|
12
12
|
// src/commands/demo.ts
|
|
13
13
|
function parseDemoListenOptions(options) {
|
|
@@ -40,7 +40,7 @@ function parseDemoTrustedProxies(values) {
|
|
|
40
40
|
async function demoCommand(options) {
|
|
41
41
|
const { host, port } = parseDemoListenOptions(options);
|
|
42
42
|
const trustProxy = parseDemoTrustedProxies(options.trustProxy);
|
|
43
|
-
const { createDemoServer } = await import("./demo-server-
|
|
43
|
+
const { createDemoServer } = await import("./demo-server-ASS76Y3T.js");
|
|
44
44
|
const app = await createDemoServer({ trustProxy });
|
|
45
45
|
let stopping = false;
|
|
46
46
|
const stop = () => {
|
|
@@ -5,31 +5,31 @@ import {
|
|
|
5
5
|
computeFactorAverages,
|
|
6
6
|
layoutSiteCrawlGraphInput,
|
|
7
7
|
persistSiteCrawlGraphLayout
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-M2OSHVTB.js";
|
|
9
9
|
import {
|
|
10
10
|
canonryMcpTools
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SPNDMTXM.js";
|
|
12
12
|
import "./chunk-UX3HJV2V.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-QFPQIPX3.js";
|
|
14
|
+
import "./chunk-IQGRGJFP.js";
|
|
15
15
|
import {
|
|
16
16
|
PACKAGE_VERSION
|
|
17
17
|
} from "./chunk-AOJU5LKX.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-ZA44DK2O.js";
|
|
19
19
|
import {
|
|
20
20
|
HISTORY_WINDOW_RUNS,
|
|
21
21
|
IntelligenceService
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-REDBG2JO.js";
|
|
23
23
|
import {
|
|
24
24
|
determineCitationState
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-3LJH6WL6.js";
|
|
26
|
+
import "./chunk-BB2KXNOG.js";
|
|
27
27
|
import {
|
|
28
28
|
apiRoutes,
|
|
29
29
|
assessConversionTrackingIntegrity
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-VXBYTMSM.js";
|
|
31
|
+
import "./chunk-HGXAKSRX.js";
|
|
32
|
+
import "./chunk-CCFEMZI5.js";
|
|
33
33
|
import {
|
|
34
34
|
adsAdGroups,
|
|
35
35
|
adsAds,
|
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
siteCrawlPages,
|
|
106
106
|
siteCrawlSnapshots,
|
|
107
107
|
trafficSources
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-LJ3MSVVW.js";
|
|
109
109
|
import {
|
|
110
110
|
AI_ENGINE_DOMAINS,
|
|
111
111
|
CitationStates,
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
siteAuditPageFactorSchema,
|
|
155
155
|
wilsonInterval,
|
|
156
156
|
withLegacyAgentReadinessPaths
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-UYRC244Y.js";
|
|
158
158
|
|
|
159
159
|
// src/demo-server.ts
|
|
160
160
|
import { dirname, join as join2 } from "path";
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
SNAPSHOT_CELL_LEGEND,
|
|
3
3
|
citationGlyph,
|
|
4
4
|
mentionGlyph
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XDCXC6DL.js";
|
|
6
6
|
import {
|
|
7
7
|
createApiClient
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-LNBJ3ZEK.js";
|
|
9
|
+
import "./chunk-WKYQ7255.js";
|
|
10
10
|
import {
|
|
11
11
|
emitJsonl
|
|
12
12
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -14,11 +14,11 @@ import "./chunk-AOJU5LKX.js";
|
|
|
14
14
|
import {
|
|
15
15
|
CliError,
|
|
16
16
|
isMachineFormat
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZA44DK2O.js";
|
|
18
18
|
import {
|
|
19
19
|
DiscoveryPromoteCompetitorSkipReasons,
|
|
20
20
|
describeError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-UYRC244Y.js";
|
|
22
22
|
|
|
23
23
|
// src/commands/discover.ts
|
|
24
24
|
var TERMINAL_DISCOVERY_STATUSES = /* @__PURE__ */ new Set([
|