@canonry/canonry 7.130.1 → 7.131.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 +5 -3
- package/dist/{activity-VIJVNTMK.js → activity-URKAZ4QI.js} +4 -4
- package/dist/{ads-PLZRG4BQ.js → ads-OEKDHREI.js} +4 -4
- package/dist/{agent-RFRMOTLE.js → agent-TBU46LO6.js} +6 -6
- package/dist/{agent-ask-CB756SUB.js → agent-ask-EDJZGROO.js} +25 -21
- package/dist/agent-conversations-BQKCD4CA.js +44 -0
- package/dist/{agent-journeys-PLYAVLGB.js → agent-journeys-ASY5XCAJ.js} +3 -3
- package/dist/agent-memory-HAGNNLCP.js +74 -0
- package/dist/agent-providers-WUDOCAHF.js +49 -0
- package/dist/agent-transcript-4MAQ7NCM.js +62 -0
- package/dist/{analytics-W6B2FQSA.js → analytics-RYRF5TFC.js} +3 -3
- package/dist/{answerability-BDOOPOJF.js → answerability-7VPMCZHE.js} +3 -3
- package/dist/{apply-LCANKKT5.js → apply-BNTPH5FW.js} +8 -5
- package/dist/{backfill-AM2VXWLI.js → backfill-2DYJLCOU.js} +3 -3
- package/dist/{backlinks-ZXSN3XNV.js → backlinks-5HZTCZFW.js} +11 -6
- package/dist/{bing-FMDKRCXN.js → bing-S6BOIOTS.js} +31 -17
- package/dist/{bootstrap-IHKKYDBO.js → bootstrap-EITWL66P.js} +6 -6
- package/dist/{cdp-ASPLW35M.js → cdp-TY2TZB7J.js} +13 -7
- package/dist/{chunk-6UU2I6AG.js → chunk-3CDHCDCE.js} +22 -21
- package/dist/{chunk-JUZ4ZCOX.js → chunk-3GAJD5NP.js} +3 -3
- package/dist/{chunk-MARIMDMX.js → chunk-3LXRY57V.js} +60 -48
- package/dist/{chunk-56TGVPRB.js → chunk-3STPYNCP.js} +3 -3
- package/dist/{chunk-Z77D43M5.js → chunk-623X526L.js} +1 -1
- package/dist/{chunk-M3BKRPB7.js → chunk-63FHJJUO.js} +435 -444
- package/dist/chunk-APKBR2BP.js +40 -0
- package/dist/{chunk-VEDGR4LZ.js → chunk-BJWPYUKT.js} +1 -1
- package/dist/{chunk-NUYKLS2R.js → chunk-CUXA47XW.js} +2 -2
- package/dist/{chunk-HH6FQW5W.js → chunk-DYDATNE5.js} +6 -3
- package/dist/{chunk-S6X3HHSN.js → chunk-IPUZGRSN.js} +2 -2
- package/dist/{chunk-WZPKPA6I.js → chunk-KJX5CMPC.js} +1 -1
- package/dist/{chunk-4ISL4JNK.js → chunk-LXFLUFQT.js} +2 -2
- package/dist/{chunk-ZZSKYOHV.js → chunk-NK4G4JPQ.js} +2 -2
- package/dist/{chunk-JMJSAK2H.js → chunk-NYZH7SM2.js} +2 -2
- package/dist/{chunk-MQFH765X.js → chunk-P4ETUNQR.js} +3 -3
- package/dist/{chunk-VON4PHNS.js → chunk-RGT2S3VS.js} +35 -15
- package/dist/{chunk-KQQERQJ2.js → chunk-RSB3X7UR.js} +2 -2
- package/dist/{chunk-52J7GFCK.js → chunk-T6CABZ3N.js} +1 -1
- package/dist/{chunk-GVCL4XBU.js → chunk-UFVVOJU3.js} +2 -2
- package/dist/{chunk-N5GK27RW.js → chunk-WIQBXZMU.js} +3 -3
- package/dist/{chunk-ZHWJJVCT.js → chunk-X3ES2XOJ.js} +1 -1
- package/dist/{chunk-QRIKJT6Y.js → chunk-Y7JEJNNS.js} +32 -3
- package/dist/{chunk-VEBSXHB2.js → chunk-ZSVQTHX3.js} +4 -3
- package/dist/{citations-YWXR3WBL.js → citations-ERRYYKNY.js} +7 -5
- package/dist/{cli-catalog-RT3QPDLR.js → cli-catalog-ETUQDYOX.js} +3 -3
- package/dist/{cli-commands-PSZFKTZM.js → cli-commands-ORLKC2XM.js} +7 -6
- package/dist/cli.js +30 -19
- package/dist/{competitor-6ZTA2SZH.js → competitor-IC6KRZAD.js} +7 -4
- package/dist/{content-DJYGQ5CP.js → content-3Y6ZKQHG.js} +6 -5
- package/dist/{dashboard-QNOTLZUI.js → dashboard-XBS4EVSA.js} +3 -3
- package/dist/{demo-FVTIXDAO.js → demo-7D4W32J6.js} +2 -2
- package/dist/{demo-server-R7LG5BRB.js → demo-server-CGOD7EPX.js} +3 -3
- package/dist/{discover-3E7QM2TL.js → discover-34E5JIM5.js} +3 -3
- package/dist/{discover-eval-NAZPA6PV.js → discover-eval-TLH2MMNK.js} +41 -16
- package/dist/{doctor-OFFSPNBK.js → doctor-SGJQPWRI.js} +3 -3
- package/dist/{evidence-VOSSML2G.js → evidence-TFFVSNEL.js} +6 -5
- package/dist/{export-cmd-IVACTDSV.js → export-cmd-YRG7CEVX.js} +3 -3
- package/dist/{ga-BX4C7TPI.js → ga-VVJWYWQX.js} +6 -5
- package/dist/{gbp-SV3J2VG3.js → gbp-RYA62WDX.js} +23 -10
- package/dist/{google-J23OD7TR.js → google-5HRSXPUF.js} +13 -12
- package/dist/{google-marketing-TTLXMDMD.js → google-marketing-UGMDLFPE.js} +1 -1
- package/dist/{health-cmd-26AHD5XL.js → health-cmd-WUBFEQX6.js} +3 -3
- package/dist/{history-QWBRFDQR.js → history-5GFG76UO.js} +5 -3
- package/dist/index.d.ts +15 -15
- package/dist/index.js +12 -12
- package/dist/{init-IZVPCO36.js → init-CHZSBQOK.js} +10 -9
- package/dist/{insights-PMTHHZ2H.js → insights-LWLKXKNO.js} +3 -3
- package/dist/{journeys-IA7TF753.js → journeys-IQLWLZBY.js} +3 -3
- package/dist/{keys-DOHLZTRI.js → keys-3VVORLK2.js} +3 -3
- package/dist/{keyword-3C2ZU6OB.js → keyword-3MWGUBHL.js} +7 -4
- package/dist/{logs-P7VRVZ5N.js → logs-PSV4DZ6F.js} +3 -3
- package/dist/{mcp-6NA62OAY.js → mcp-NNBM3MLW.js} +5 -4
- package/dist/mcp.js +8 -8
- package/dist/{measurement-plan-RHKCARVE.js → measurement-plan-M4VLA2ZN.js} +5 -4
- package/dist/{notify-ODCY7TD3.js → notify-EDSJINE5.js} +3 -3
- package/dist/{organic-evidence-76P5AYB3.js → organic-evidence-VBT6URMQ.js} +3 -3
- package/dist/{overview-5T776SEB.js → overview-LRNI342W.js} +6 -6
- package/dist/{project-ITMGW45M.js → project-HO4GOEC4.js} +3 -3
- package/dist/{project-setup-A3Q6ZX73.js → project-setup-AXVIZND6.js} +4 -4
- package/dist/{query-3QAQITK3.js → query-E2D2K6MD.js} +8 -5
- package/dist/{research-R74N3VRL.js → research-Z3IZQH2M.js} +3 -3
- package/dist/{results-export-23GY45AY.js → results-export-TVWWLJQA.js} +3 -3
- package/dist/{run-ID66JYBN.js → run-RJDJPROH.js} +4 -4
- package/dist/{schedule-HZ2CRUAL.js → schedule-NVDN72YG.js} +3 -3
- package/dist/{search-DM5WWMTE.js → search-A4PBZ53D.js} +3 -3
- package/dist/{serve-PKDK7ZWB.js → serve-7WPMQUVW.js} +13 -13
- package/dist/{session-EZ6I5VUF.js → session-VPJH4TRC.js} +7 -7
- package/dist/{settings-SIEKVYD7.js → settings-EYEXRKTM.js} +5 -5
- package/dist/{sitemaps-M4IAZLK2.js → sitemaps-4HCWZJOZ.js} +3 -3
- package/dist/{skills-J6LWTNU5.js → skills-GPYMDDRH.js} +2 -2
- package/dist/{snapshot-SM3BVX5M.js → snapshot-SNR7KBK4.js} +3 -3
- package/dist/{status-BHJJOUCK.js → status-VTQJVZFU.js} +12 -6
- package/dist/{support-FPXXXJPZ.js → support-H7ANOX67.js} +1 -1
- package/dist/{technical-aeo-4DJWWPUN.js → technical-aeo-IDMFUDXP.js} +7 -5
- package/dist/{telemetry-LKVQUSO7.js → telemetry-DA43ILAA.js} +4 -4
- package/dist/{tools-NFVIW4YP.js → tools-F3FZEG5K.js} +6 -6
- package/dist/{traffic-QSZYZHFW.js → traffic-EPWP3D2K.js} +21 -29
- package/dist/{trends-WIHWJVJR.js → trends-IVYSKMND.js} +3 -3
- package/dist/{users-HQOPQRTP.js → users-ZJMBGWUF.js} +3 -3
- package/dist/{visibility-stats-MCY5CAUC.js → visibility-stats-M2I3SUES.js} +11 -5
- package/dist/{wordpress-IB5YOJSM.js → wordpress-BGIOJPIF.js} +3 -3
- package/package.json +1 -1
- package/dist/agent-conversations-RRI7T74B.js +0 -51
- package/dist/agent-memory-R5Q7DLRZ.js +0 -91
- package/dist/agent-providers-HNMGZ7GY.js +0 -58
- package/dist/agent-transcript-N6ZBTF72.js +0 -76
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
showMeasurementProperty,
|
|
21
21
|
showMeasurementPropertyEvidence,
|
|
22
22
|
showMeasurementReport
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-3LXRY57V.js";
|
|
24
24
|
import {
|
|
25
25
|
resolveServePort
|
|
26
26
|
} from "./chunk-TSENU4GG.js";
|
|
27
27
|
import {
|
|
28
28
|
createApiClient
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-RSB3X7UR.js";
|
|
30
30
|
import {
|
|
31
31
|
getConfigDir,
|
|
32
32
|
loadConfig
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-T6CABZ3N.js";
|
|
34
34
|
import {
|
|
35
35
|
getBoolean,
|
|
36
36
|
getString,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
resolveCliAccess,
|
|
44
44
|
stringOption,
|
|
45
45
|
unknownSubcommand
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-X3ES2XOJ.js";
|
|
47
47
|
import {
|
|
48
48
|
emitJsonl
|
|
49
49
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
EXIT_USER_ERROR,
|
|
53
53
|
isMachineFormat,
|
|
54
54
|
usageError
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-Y7JEJNNS.js";
|
|
56
56
|
import {
|
|
57
57
|
AGENT_PROVIDER_IDS,
|
|
58
58
|
AppError,
|
|
@@ -102,6 +102,7 @@ import {
|
|
|
102
102
|
seoReconcileInputSchema,
|
|
103
103
|
seoSyncInputSchema,
|
|
104
104
|
seoTrendsQuerySchema,
|
|
105
|
+
shellQuote,
|
|
105
106
|
siteAuditIssueListQuerySchema,
|
|
106
107
|
siteAuditPageBudgetSchema,
|
|
107
108
|
snapshotProviderModeSchema,
|
|
@@ -783,7 +784,7 @@ var DEMO_CLI_COMMANDS = [{
|
|
|
783
784
|
options: { host: stringOption(), port: stringOption(), "trust-proxy": multiStringOption() },
|
|
784
785
|
allowPositionals: false,
|
|
785
786
|
run: async (input) => {
|
|
786
|
-
const { demoCommand } = await import("./demo-
|
|
787
|
+
const { demoCommand } = await import("./demo-7D4W32J6.js");
|
|
787
788
|
await demoCommand({
|
|
788
789
|
host: getString(input.values, "host"),
|
|
789
790
|
port: getString(input.values, "port"),
|
|
@@ -804,7 +805,7 @@ var BACKFILL_CLI_COMMANDS = [
|
|
|
804
805
|
allowPositionals: false,
|
|
805
806
|
supportsDryRun: true,
|
|
806
807
|
run: async (input) => {
|
|
807
|
-
const { backfillAnswerVisibilityCommand } = await import("./backfill-
|
|
808
|
+
const { backfillAnswerVisibilityCommand } = await import("./backfill-2DYJLCOU.js");
|
|
808
809
|
await backfillAnswerVisibilityCommand({
|
|
809
810
|
project: getString(input.values, "project"),
|
|
810
811
|
dryRun: input.dryRun,
|
|
@@ -821,7 +822,7 @@ var BACKFILL_CLI_COMMANDS = [
|
|
|
821
822
|
allowPositionals: false,
|
|
822
823
|
supportsDryRun: true,
|
|
823
824
|
run: async (input) => {
|
|
824
|
-
const { backfillAnswerMentionsCommand } = await import("./backfill-
|
|
825
|
+
const { backfillAnswerMentionsCommand } = await import("./backfill-2DYJLCOU.js");
|
|
825
826
|
await backfillAnswerMentionsCommand({
|
|
826
827
|
project: getString(input.values, "project"),
|
|
827
828
|
dryRun: input.dryRun,
|
|
@@ -839,7 +840,7 @@ var BACKFILL_CLI_COMMANDS = [
|
|
|
839
840
|
},
|
|
840
841
|
supportsDryRun: true,
|
|
841
842
|
run: async (input) => {
|
|
842
|
-
const { backfillInsightsCommand } = await import("./backfill-
|
|
843
|
+
const { backfillInsightsCommand } = await import("./backfill-2DYJLCOU.js");
|
|
843
844
|
const usage = "canonry backfill insights <project> [--from-run <id>] [--to-run <id>] [--since <date>] [--dry-run] [--format json]";
|
|
844
845
|
const project3 = requireProject(input, "backfill insights", usage);
|
|
845
846
|
await backfillInsightsCommand(project3, {
|
|
@@ -859,7 +860,7 @@ var BACKFILL_CLI_COMMANDS = [
|
|
|
859
860
|
},
|
|
860
861
|
allowPositionals: false,
|
|
861
862
|
run: async (input) => {
|
|
862
|
-
const { backfillNormalizedPathsCommand } = await import("./backfill-
|
|
863
|
+
const { backfillNormalizedPathsCommand } = await import("./backfill-2DYJLCOU.js");
|
|
863
864
|
await backfillNormalizedPathsCommand({
|
|
864
865
|
project: getString(input.values, "project"),
|
|
865
866
|
format: input.format
|
|
@@ -874,7 +875,7 @@ var BACKFILL_CLI_COMMANDS = [
|
|
|
874
875
|
},
|
|
875
876
|
allowPositionals: false,
|
|
876
877
|
run: async (input) => {
|
|
877
|
-
const { backfillAiReferralPathsCommand } = await import("./backfill-
|
|
878
|
+
const { backfillAiReferralPathsCommand } = await import("./backfill-2DYJLCOU.js");
|
|
878
879
|
await backfillAiReferralPathsCommand({
|
|
879
880
|
project: getString(input.values, "project"),
|
|
880
881
|
format: input.format
|
|
@@ -886,7 +887,7 @@ var BACKFILL_CLI_COMMANDS = [
|
|
|
886
887
|
usage: "canonry backfill snapshot-attribution <project> [--dry-run] [--format json]",
|
|
887
888
|
supportsDryRun: true,
|
|
888
889
|
run: async (input) => {
|
|
889
|
-
const { backfillSnapshotAttributionCommand } = await import("./backfill-
|
|
890
|
+
const { backfillSnapshotAttributionCommand } = await import("./backfill-2DYJLCOU.js");
|
|
890
891
|
const usage = "canonry backfill snapshot-attribution <project> [--dry-run] [--format json]";
|
|
891
892
|
const project3 = requireProject(input, "backfill snapshot-attribution", usage);
|
|
892
893
|
await backfillSnapshotAttributionCommand({
|
|
@@ -905,7 +906,7 @@ var BACKFILL_CLI_COMMANDS = [
|
|
|
905
906
|
allowPositionals: false,
|
|
906
907
|
supportsDryRun: true,
|
|
907
908
|
run: async (input) => {
|
|
908
|
-
const { backfillTrafficClassificationCommand } = await import("./backfill-
|
|
909
|
+
const { backfillTrafficClassificationCommand } = await import("./backfill-2DYJLCOU.js");
|
|
909
910
|
await backfillTrafficClassificationCommand({
|
|
910
911
|
project: getString(input.values, "project"),
|
|
911
912
|
dryRun: input.dryRun,
|
|
@@ -933,7 +934,7 @@ var BACKLINKS_CLI_COMMANDS = [
|
|
|
933
934
|
usage: "canonry backlinks install [--format json]",
|
|
934
935
|
options: {},
|
|
935
936
|
run: async (input) => {
|
|
936
|
-
const { backlinksInstall } = await import("./backlinks-
|
|
937
|
+
const { backlinksInstall } = await import("./backlinks-5HZTCZFW.js");
|
|
937
938
|
await backlinksInstall({ format: input.format });
|
|
938
939
|
}
|
|
939
940
|
},
|
|
@@ -942,7 +943,7 @@ var BACKLINKS_CLI_COMMANDS = [
|
|
|
942
943
|
usage: "canonry backlinks doctor [--format json]",
|
|
943
944
|
options: {},
|
|
944
945
|
run: async (input) => {
|
|
945
|
-
const { backlinksDoctor } = await import("./backlinks-
|
|
946
|
+
const { backlinksDoctor } = await import("./backlinks-5HZTCZFW.js");
|
|
946
947
|
await backlinksDoctor({ format: input.format });
|
|
947
948
|
}
|
|
948
949
|
},
|
|
@@ -954,7 +955,7 @@ var BACKLINKS_CLI_COMMANDS = [
|
|
|
954
955
|
wait: { type: "boolean" }
|
|
955
956
|
},
|
|
956
957
|
run: async (input) => {
|
|
957
|
-
const { backlinksSync } = await import("./backlinks-
|
|
958
|
+
const { backlinksSync } = await import("./backlinks-5HZTCZFW.js");
|
|
958
959
|
await backlinksSync({
|
|
959
960
|
release: getString(input.values, "release"),
|
|
960
961
|
wait: getBoolean(input.values, "wait"),
|
|
@@ -967,7 +968,7 @@ var BACKLINKS_CLI_COMMANDS = [
|
|
|
967
968
|
usage: "canonry backlinks status [--format json]",
|
|
968
969
|
options: {},
|
|
969
970
|
run: async (input) => {
|
|
970
|
-
const { backlinksStatus } = await import("./backlinks-
|
|
971
|
+
const { backlinksStatus } = await import("./backlinks-5HZTCZFW.js");
|
|
971
972
|
await backlinksStatus({ format: input.format });
|
|
972
973
|
}
|
|
973
974
|
},
|
|
@@ -981,7 +982,7 @@ var BACKLINKS_CLI_COMMANDS = [
|
|
|
981
982
|
"exclude-crawlers": { type: "boolean" }
|
|
982
983
|
},
|
|
983
984
|
run: async (input) => {
|
|
984
|
-
const { backlinksList, parseSourceFlag } = await import("./backlinks-
|
|
985
|
+
const { backlinksList, parseSourceFlag } = await import("./backlinks-5HZTCZFW.js");
|
|
985
986
|
const project3 = requireProject(
|
|
986
987
|
input,
|
|
987
988
|
"backlinks list",
|
|
@@ -1009,7 +1010,7 @@ var BACKLINKS_CLI_COMMANDS = [
|
|
|
1009
1010
|
"exclude-crawlers": { type: "boolean" }
|
|
1010
1011
|
},
|
|
1011
1012
|
run: async (input) => {
|
|
1012
|
-
const { backlinksSources } = await import("./backlinks-
|
|
1013
|
+
const { backlinksSources } = await import("./backlinks-5HZTCZFW.js");
|
|
1013
1014
|
const project3 = requireProject(
|
|
1014
1015
|
input,
|
|
1015
1016
|
"backlinks sources",
|
|
@@ -1027,7 +1028,7 @@ var BACKLINKS_CLI_COMMANDS = [
|
|
|
1027
1028
|
usage: "canonry backlinks releases [--format json]",
|
|
1028
1029
|
options: {},
|
|
1029
1030
|
run: async (input) => {
|
|
1030
|
-
const { backlinksReleases } = await import("./backlinks-
|
|
1031
|
+
const { backlinksReleases } = await import("./backlinks-5HZTCZFW.js");
|
|
1031
1032
|
await backlinksReleases({ format: input.format });
|
|
1032
1033
|
}
|
|
1033
1034
|
},
|
|
@@ -1036,7 +1037,7 @@ var BACKLINKS_CLI_COMMANDS = [
|
|
|
1036
1037
|
usage: "canonry backlinks releases latest [--format json]",
|
|
1037
1038
|
options: {},
|
|
1038
1039
|
run: async (input) => {
|
|
1039
|
-
const { backlinksLatestRelease } = await import("./backlinks-
|
|
1040
|
+
const { backlinksLatestRelease } = await import("./backlinks-5HZTCZFW.js");
|
|
1040
1041
|
await backlinksLatestRelease({ format: input.format });
|
|
1041
1042
|
}
|
|
1042
1043
|
},
|
|
@@ -1048,7 +1049,7 @@ var BACKLINKS_CLI_COMMANDS = [
|
|
|
1048
1049
|
wait: { type: "boolean" }
|
|
1049
1050
|
},
|
|
1050
1051
|
run: async (input) => {
|
|
1051
|
-
const { backlinksExtract } = await import("./backlinks-
|
|
1052
|
+
const { backlinksExtract } = await import("./backlinks-5HZTCZFW.js");
|
|
1052
1053
|
const project3 = requireProject(
|
|
1053
1054
|
input,
|
|
1054
1055
|
"backlinks extract",
|
|
@@ -1069,7 +1070,7 @@ var BACKLINKS_CLI_COMMANDS = [
|
|
|
1069
1070
|
release: stringOption()
|
|
1070
1071
|
},
|
|
1071
1072
|
run: async (input) => {
|
|
1072
|
-
const { backlinksCachePrune } = await import("./backlinks-
|
|
1073
|
+
const { backlinksCachePrune } = await import("./backlinks-5HZTCZFW.js");
|
|
1073
1074
|
const release = requireStringOption(input, "release", {
|
|
1074
1075
|
message: "--release is required",
|
|
1075
1076
|
usage: "canonry backlinks cache prune --release <id>",
|
|
@@ -1093,7 +1094,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1093
1094
|
"use-saved-key": { type: "boolean", default: false }
|
|
1094
1095
|
},
|
|
1095
1096
|
run: async (input) => {
|
|
1096
|
-
const { bingConnect } = await import("./bing-
|
|
1097
|
+
const { bingConnect } = await import("./bing-S6BOIOTS.js");
|
|
1097
1098
|
const project3 = requireProject(input, "bing.connect", "canonry bing connect <project> (--api-key <key> | --use-saved-key) [--format json]");
|
|
1098
1099
|
await bingConnect(project3, {
|
|
1099
1100
|
apiKey: getString(input.values, "api-key"),
|
|
@@ -1106,7 +1107,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1106
1107
|
path: ["bing", "disconnect"],
|
|
1107
1108
|
usage: "canonry bing disconnect <project> [--format json]",
|
|
1108
1109
|
run: async (input) => {
|
|
1109
|
-
const { bingDisconnect } = await import("./bing-
|
|
1110
|
+
const { bingDisconnect } = await import("./bing-S6BOIOTS.js");
|
|
1110
1111
|
const project3 = requireProject(input, "bing.disconnect", "canonry bing disconnect <project> [--format json]");
|
|
1111
1112
|
await bingDisconnect(project3, input.format);
|
|
1112
1113
|
}
|
|
@@ -1115,7 +1116,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1115
1116
|
path: ["bing", "status"],
|
|
1116
1117
|
usage: "canonry bing status <project> [--format json]",
|
|
1117
1118
|
run: async (input) => {
|
|
1118
|
-
const { bingStatus } = await import("./bing-
|
|
1119
|
+
const { bingStatus } = await import("./bing-S6BOIOTS.js");
|
|
1119
1120
|
const project3 = requireProject(input, "bing.status", "canonry bing status <project> [--format json]");
|
|
1120
1121
|
await bingStatus(project3, input.format);
|
|
1121
1122
|
}
|
|
@@ -1124,7 +1125,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1124
1125
|
path: ["bing", "sites"],
|
|
1125
1126
|
usage: "canonry bing sites <project> [--format json]",
|
|
1126
1127
|
run: async (input) => {
|
|
1127
|
-
const { bingSites } = await import("./bing-
|
|
1128
|
+
const { bingSites } = await import("./bing-S6BOIOTS.js");
|
|
1128
1129
|
const project3 = requireProject(input, "bing.sites", "canonry bing sites <project> [--format json]");
|
|
1129
1130
|
await bingSites(project3, input.format);
|
|
1130
1131
|
}
|
|
@@ -1133,7 +1134,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1133
1134
|
path: ["bing", "set-site"],
|
|
1134
1135
|
usage: "canonry bing set-site <project> <url> [--format json]",
|
|
1135
1136
|
run: async (input) => {
|
|
1136
|
-
const { bingSetSite } = await import("./bing-
|
|
1137
|
+
const { bingSetSite } = await import("./bing-S6BOIOTS.js");
|
|
1137
1138
|
const project3 = requireProject(input, "bing.set-site", "canonry bing set-site <project> <url> [--format json]");
|
|
1138
1139
|
const siteUrl = requirePositional(input, 1, {
|
|
1139
1140
|
command: "bing.set-site",
|
|
@@ -1148,7 +1149,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1148
1149
|
usage: "canonry bing coverage-history <project> [--limit <n>] [--format json]",
|
|
1149
1150
|
options: { limit: stringOption() },
|
|
1150
1151
|
run: async (input) => {
|
|
1151
|
-
const { bingCoverageHistory } = await import("./bing-
|
|
1152
|
+
const { bingCoverageHistory } = await import("./bing-S6BOIOTS.js");
|
|
1152
1153
|
const project3 = requireProject(input, "bing.coverage-history", "canonry bing coverage-history <project> [--limit <n>] [--format json]");
|
|
1153
1154
|
await bingCoverageHistory(project3, {
|
|
1154
1155
|
limit: parseIntegerOption(input, "limit", {
|
|
@@ -1164,7 +1165,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1164
1165
|
path: ["bing", "coverage"],
|
|
1165
1166
|
usage: "canonry bing coverage <project> [--format json]",
|
|
1166
1167
|
run: async (input) => {
|
|
1167
|
-
const { bingCoverage } = await import("./bing-
|
|
1168
|
+
const { bingCoverage } = await import("./bing-S6BOIOTS.js");
|
|
1168
1169
|
const project3 = requireProject(input, "bing.coverage", "canonry bing coverage <project> [--format json]");
|
|
1169
1170
|
await bingCoverage(project3, input.format);
|
|
1170
1171
|
}
|
|
@@ -1173,7 +1174,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1173
1174
|
path: ["bing", "inspect"],
|
|
1174
1175
|
usage: "canonry bing inspect <project> <url> [--format json]",
|
|
1175
1176
|
run: async (input) => {
|
|
1176
|
-
const { bingInspect } = await import("./bing-
|
|
1177
|
+
const { bingInspect } = await import("./bing-S6BOIOTS.js");
|
|
1177
1178
|
const project3 = requireProject(input, "bing.inspect", "canonry bing inspect <project> <url> [--format json]");
|
|
1178
1179
|
const url = requirePositional(input, 1, {
|
|
1179
1180
|
command: "bing.inspect",
|
|
@@ -1190,7 +1191,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1190
1191
|
url: stringOption()
|
|
1191
1192
|
},
|
|
1192
1193
|
run: async (input) => {
|
|
1193
|
-
const { bingInspections } = await import("./bing-
|
|
1194
|
+
const { bingInspections } = await import("./bing-S6BOIOTS.js");
|
|
1194
1195
|
const project3 = requireProject(input, "bing.inspections", "canonry bing inspections <project> [--url <url>] [--format json]");
|
|
1195
1196
|
await bingInspections(project3, {
|
|
1196
1197
|
url: getString(input.values, "url"),
|
|
@@ -1206,7 +1207,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1206
1207
|
wait: { type: "boolean", default: false }
|
|
1207
1208
|
},
|
|
1208
1209
|
run: async (input) => {
|
|
1209
|
-
const { bingInspectSitemap } = await import("./bing-
|
|
1210
|
+
const { bingInspectSitemap } = await import("./bing-S6BOIOTS.js");
|
|
1210
1211
|
const project3 = requireProject(input, "bing.inspect-sitemap", "canonry bing inspect-sitemap <project> [--sitemap-url <url>] [--wait] [--format json]");
|
|
1211
1212
|
await bingInspectSitemap(project3, {
|
|
1212
1213
|
sitemapUrl: getString(input.values, "sitemap-url"),
|
|
@@ -1222,7 +1223,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1222
1223
|
"all-unindexed": { type: "boolean", default: false }
|
|
1223
1224
|
},
|
|
1224
1225
|
run: async (input) => {
|
|
1225
|
-
const { bingRequestIndexing } = await import("./bing-
|
|
1226
|
+
const { bingRequestIndexing } = await import("./bing-S6BOIOTS.js");
|
|
1226
1227
|
const project3 = requireProject(input, "bing.request-indexing", "canonry bing request-indexing <project> [url] [--all-unindexed] [--format json]");
|
|
1227
1228
|
const url = input.positionals[1];
|
|
1228
1229
|
const allUnindexed = getBoolean(input.values, "all-unindexed");
|
|
@@ -1246,7 +1247,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1246
1247
|
path: ["bing", "performance"],
|
|
1247
1248
|
usage: "canonry bing performance <project> [--format json]",
|
|
1248
1249
|
run: async (input) => {
|
|
1249
|
-
const { bingPerformance } = await import("./bing-
|
|
1250
|
+
const { bingPerformance } = await import("./bing-S6BOIOTS.js");
|
|
1250
1251
|
const project3 = requireProject(input, "bing.performance", "canonry bing performance <project> [--format json]");
|
|
1251
1252
|
await bingPerformance(project3, input.format);
|
|
1252
1253
|
}
|
|
@@ -1255,7 +1256,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1255
1256
|
path: ["bing", "refresh"],
|
|
1256
1257
|
usage: "canonry bing refresh <project> [--format json]",
|
|
1257
1258
|
run: async (input) => {
|
|
1258
|
-
const { bingRefresh } = await import("./bing-
|
|
1259
|
+
const { bingRefresh } = await import("./bing-S6BOIOTS.js");
|
|
1259
1260
|
const project3 = requireProject(input, "bing.refresh", "canonry bing refresh <project> [--format json]");
|
|
1260
1261
|
await bingRefresh(project3, input.format);
|
|
1261
1262
|
}
|
|
@@ -1264,7 +1265,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1264
1265
|
path: ["bing", "submit-sitemap"],
|
|
1265
1266
|
usage: "canonry bing submit-sitemap <project> <sitemap-url> [--format json]",
|
|
1266
1267
|
run: async (input) => {
|
|
1267
|
-
const { bingSubmitSitemap } = await import("./bing-
|
|
1268
|
+
const { bingSubmitSitemap } = await import("./bing-S6BOIOTS.js");
|
|
1268
1269
|
const project3 = requireProject(input, "bing.submit-sitemap", "canonry bing submit-sitemap <project> <sitemap-url> [--format json]");
|
|
1269
1270
|
const sitemapUrl = requirePositional(input, 1, { command: "bing.submit-sitemap", usage: "canonry bing submit-sitemap <project> <sitemap-url> [--format json]", message: "project name and sitemap URL are required" });
|
|
1270
1271
|
await bingSubmitSitemap(project3, sitemapUrl, { format: input.format });
|
|
@@ -1275,7 +1276,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1275
1276
|
usage: "canonry bing sync <project> [--wait] [--format json]",
|
|
1276
1277
|
options: { wait: { type: "boolean", default: false } },
|
|
1277
1278
|
run: async (input) => {
|
|
1278
|
-
const { bingSync } = await import("./bing-
|
|
1279
|
+
const { bingSync } = await import("./bing-S6BOIOTS.js");
|
|
1279
1280
|
const project3 = requireProject(input, "bing.sync", "canonry bing sync <project> [--wait] [--format json]");
|
|
1280
1281
|
await bingSync(project3, { wait: getBoolean(input.values, "wait"), format: input.format });
|
|
1281
1282
|
}
|
|
@@ -1285,7 +1286,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1285
1286
|
usage: "canonry bing traffic <project> [--window 7d|30d|90d|all] [--days <n>] [--start-date <YYYY-MM-DD>] [--end-date <YYYY-MM-DD>] [--format json|jsonl]",
|
|
1286
1287
|
options: { window: stringOption(), days: stringOption(), "start-date": stringOption(), "end-date": stringOption() },
|
|
1287
1288
|
run: async (input) => {
|
|
1288
|
-
const { bingTraffic } = await import("./bing-
|
|
1289
|
+
const { bingTraffic } = await import("./bing-S6BOIOTS.js");
|
|
1289
1290
|
const project3 = requireProject(input, "bing.traffic", "canonry bing traffic <project> [--window 7d|30d|90d|all] [--days <n>] [--start-date <YYYY-MM-DD>] [--end-date <YYYY-MM-DD>] [--format json|jsonl]");
|
|
1290
1291
|
await bingTraffic(project3, { window: getString(input.values, "window"), days: getString(input.values, "days"), startDate: getString(input.values, "start-date"), endDate: getString(input.values, "end-date"), format: input.format });
|
|
1291
1292
|
}
|
|
@@ -1295,7 +1296,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1295
1296
|
usage: "canonry bing queries <project> [--window 7d|30d|90d|all] [--days <n>] [--start-date <YYYY-MM-DD>] [--end-date <YYYY-MM-DD>] [--query <text> [--exact]] [--group-by query|week] [--limit <n>] [--offset <n>] [--format json|jsonl]",
|
|
1296
1297
|
options: { window: stringOption(), days: stringOption(), "start-date": stringOption(), "end-date": stringOption(), query: stringOption(), exact: { type: "boolean", default: false }, "group-by": stringOption(), limit: stringOption(), offset: stringOption() },
|
|
1297
1298
|
run: async (input) => {
|
|
1298
|
-
const { bingQueries } = await import("./bing-
|
|
1299
|
+
const { bingQueries } = await import("./bing-S6BOIOTS.js");
|
|
1299
1300
|
const project3 = requireProject(input, "bing.queries", "canonry bing queries <project> [--window 7d|30d|90d|all] [--days <n>] [--start-date <YYYY-MM-DD>] [--end-date <YYYY-MM-DD>] [--query <text> [--exact]] [--group-by query|week] [--limit <n>] [--offset <n>] [--format json|jsonl]");
|
|
1300
1301
|
await bingQueries(project3, {
|
|
1301
1302
|
window: getString(input.values, "window"),
|
|
@@ -1316,7 +1317,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1316
1317
|
usage: "canonry bing pages <project> [--window 7d|30d|90d|all] [--days <n>] [--start-date <YYYY-MM-DD>] [--end-date <YYYY-MM-DD>] [--page <text> [--exact]] [--group-by page|week] [--limit <n>] [--offset <n>] [--format json|jsonl]",
|
|
1317
1318
|
options: { window: stringOption(), days: stringOption(), "start-date": stringOption(), "end-date": stringOption(), page: stringOption(), exact: { type: "boolean", default: false }, "group-by": stringOption(), limit: stringOption(), offset: stringOption() },
|
|
1318
1319
|
run: async (input) => {
|
|
1319
|
-
const { bingPages } = await import("./bing-
|
|
1320
|
+
const { bingPages } = await import("./bing-S6BOIOTS.js");
|
|
1320
1321
|
const project3 = requireProject(input, "bing.pages", "canonry bing pages <project> [--window 7d|30d|90d|all] [--days <n>] [--start-date <YYYY-MM-DD>] [--end-date <YYYY-MM-DD>] [--page <text> [--exact]] [--group-by page|week] [--limit <n>] [--offset <n>] [--format json|jsonl]");
|
|
1321
1322
|
await bingPages(project3, {
|
|
1322
1323
|
window: getString(input.values, "window"),
|
|
@@ -1337,7 +1338,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1337
1338
|
usage: "canonry bing crawl-stats <project> [--days <n>] [--start-date <YYYY-MM-DD>] [--end-date <YYYY-MM-DD>] [--format json|jsonl]",
|
|
1338
1339
|
options: { days: stringOption(), "start-date": stringOption(), "end-date": stringOption() },
|
|
1339
1340
|
run: async (input) => {
|
|
1340
|
-
const { bingCrawlStats } = await import("./bing-
|
|
1341
|
+
const { bingCrawlStats } = await import("./bing-S6BOIOTS.js");
|
|
1341
1342
|
const project3 = requireProject(input, "bing.crawl-stats", "canonry bing crawl-stats <project> [--days <n>] [--start-date <YYYY-MM-DD>] [--end-date <YYYY-MM-DD>] [--format json|jsonl]");
|
|
1342
1343
|
await bingCrawlStats(project3, { days: getString(input.values, "days"), startDate: getString(input.values, "start-date"), endDate: getString(input.values, "end-date"), format: input.format });
|
|
1343
1344
|
}
|
|
@@ -1346,7 +1347,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1346
1347
|
path: ["bing", "sitemaps"],
|
|
1347
1348
|
usage: "canonry bing sitemaps <project> [--format json|jsonl]",
|
|
1348
1349
|
run: async (input) => {
|
|
1349
|
-
const { bingSitemaps } = await import("./bing-
|
|
1350
|
+
const { bingSitemaps } = await import("./bing-S6BOIOTS.js");
|
|
1350
1351
|
const project3 = requireProject(input, "bing.sitemaps", "canonry bing sitemaps <project> [--format json|jsonl]");
|
|
1351
1352
|
await bingSitemaps(project3, input.format);
|
|
1352
1353
|
}
|
|
@@ -1356,7 +1357,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1356
1357
|
usage: "canonry bing site <project> [--kind <kind>] [--format json|jsonl]",
|
|
1357
1358
|
options: { kind: stringOption() },
|
|
1358
1359
|
run: async (input) => {
|
|
1359
|
-
const { bingSite } = await import("./bing-
|
|
1360
|
+
const { bingSite } = await import("./bing-S6BOIOTS.js");
|
|
1360
1361
|
const project3 = requireProject(input, "bing.site", "canonry bing site <project> [--kind <kind>] [--format json|jsonl]");
|
|
1361
1362
|
await bingSite(project3, { kind: getString(input.values, "kind"), format: input.format });
|
|
1362
1363
|
}
|
|
@@ -1366,7 +1367,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1366
1367
|
usage: "canonry bing keyword-demand <project> [--query <tracked query>] [--format json|jsonl]",
|
|
1367
1368
|
options: { query: stringOption() },
|
|
1368
1369
|
run: async (input) => {
|
|
1369
|
-
const { bingKeywordDemand } = await import("./bing-
|
|
1370
|
+
const { bingKeywordDemand } = await import("./bing-S6BOIOTS.js");
|
|
1370
1371
|
const project3 = requireProject(input, "bing.keyword-demand", "canonry bing keyword-demand <project> [--query <tracked query>] [--format json|jsonl]");
|
|
1371
1372
|
await bingKeywordDemand(project3, { query: getString(input.values, "query"), format: input.format });
|
|
1372
1373
|
}
|
|
@@ -1375,7 +1376,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1375
1376
|
path: ["bing", "query-pages"],
|
|
1376
1377
|
usage: "canonry bing query-pages <project> <query> [--format json|jsonl]",
|
|
1377
1378
|
run: async (input) => {
|
|
1378
|
-
const { bingQueryPages } = await import("./bing-
|
|
1379
|
+
const { bingQueryPages } = await import("./bing-S6BOIOTS.js");
|
|
1379
1380
|
const project3 = requireProject(input, "bing.query-pages", "canonry bing query-pages <project> <query> [--format json|jsonl]");
|
|
1380
1381
|
const searchQuery = requirePositional(input, 1, { command: "bing.query-pages", usage: "canonry bing query-pages <project> <query> [--format json|jsonl]", message: "project name and query are required" });
|
|
1381
1382
|
await bingQueryPages(project3, searchQuery, input.format);
|
|
@@ -1385,7 +1386,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1385
1386
|
path: ["bing", "page-queries"],
|
|
1386
1387
|
usage: "canonry bing page-queries <project> <page-url> [--format json|jsonl]",
|
|
1387
1388
|
run: async (input) => {
|
|
1388
|
-
const { bingPageQueries } = await import("./bing-
|
|
1389
|
+
const { bingPageQueries } = await import("./bing-S6BOIOTS.js");
|
|
1389
1390
|
const project3 = requireProject(input, "bing.page-queries", "canonry bing page-queries <project> <page-url> [--format json|jsonl]");
|
|
1390
1391
|
const page = requirePositional(input, 1, { command: "bing.page-queries", usage: "canonry bing page-queries <project> <page-url> [--format json|jsonl]", message: "project name and page URL are required" });
|
|
1391
1392
|
await bingPageQueries(project3, page, input.format);
|
|
@@ -1396,7 +1397,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1396
1397
|
usage: "canonry bing query-history <project> <query> [--page <url>] [--format json|jsonl]",
|
|
1397
1398
|
options: { page: stringOption() },
|
|
1398
1399
|
run: async (input) => {
|
|
1399
|
-
const { bingQueryHistory } = await import("./bing-
|
|
1400
|
+
const { bingQueryHistory } = await import("./bing-S6BOIOTS.js");
|
|
1400
1401
|
const project3 = requireProject(input, "bing.query-history", "canonry bing query-history <project> <query> [--page <url>] [--format json|jsonl]");
|
|
1401
1402
|
const searchQuery = requirePositional(input, 1, { command: "bing.query-history", usage: "canonry bing query-history <project> <query> [--page <url>] [--format json|jsonl]", message: "project name and query are required" });
|
|
1402
1403
|
await bingQueryHistory(project3, { query: searchQuery, page: getString(input.values, "page"), format: input.format });
|
|
@@ -1407,7 +1408,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1407
1408
|
usage: "canonry bing url-traffic <project> <url> [--children] [--page <n>] [--format json|jsonl]",
|
|
1408
1409
|
options: { children: { type: "boolean", default: false }, page: stringOption() },
|
|
1409
1410
|
run: async (input) => {
|
|
1410
|
-
const { bingUrlTraffic } = await import("./bing-
|
|
1411
|
+
const { bingUrlTraffic } = await import("./bing-S6BOIOTS.js");
|
|
1411
1412
|
const project3 = requireProject(input, "bing.url-traffic", "canonry bing url-traffic <project> <url> [--children] [--page <n>] [--format json|jsonl]");
|
|
1412
1413
|
const url = requirePositional(input, 1, { command: "bing.url-traffic", usage: "canonry bing url-traffic <project> <url> [--children] [--page <n>] [--format json|jsonl]", message: "project name and URL are required" });
|
|
1413
1414
|
await bingUrlTraffic(project3, { url, children: getBoolean(input.values, "children"), page: parseIntegerOption(input, "page", { command: "bing.url-traffic", message: "--page must be an integer", usage: "canonry bing url-traffic <project> <url> [--children] [--page <n>] [--format json|jsonl]" }), format: input.format });
|
|
@@ -1418,7 +1419,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1418
1419
|
usage: "canonry bing url-children <project> <url> [--page <n>] [--format json|jsonl]",
|
|
1419
1420
|
options: { page: stringOption() },
|
|
1420
1421
|
run: async (input) => {
|
|
1421
|
-
const { bingUrlChildren } = await import("./bing-
|
|
1422
|
+
const { bingUrlChildren } = await import("./bing-S6BOIOTS.js");
|
|
1422
1423
|
const project3 = requireProject(input, "bing.url-children", "canonry bing url-children <project> <url> [--page <n>] [--format json|jsonl]");
|
|
1423
1424
|
const url = requirePositional(input, 1, { command: "bing.url-children", usage: "canonry bing url-children <project> <url> [--page <n>] [--format json|jsonl]", message: "project name and URL are required" });
|
|
1424
1425
|
await bingUrlChildren(project3, { url, page: parseIntegerOption(input, "page", { command: "bing.url-children", message: "--page must be an integer", usage: "canonry bing url-children <project> <url> [--page <n>] [--format json|jsonl]" }), format: input.format });
|
|
@@ -1429,7 +1430,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1429
1430
|
usage: "canonry bing links <project> [--url <page-url>] [--page <n>] [--format json|jsonl]",
|
|
1430
1431
|
options: { url: stringOption(), page: stringOption() },
|
|
1431
1432
|
run: async (input) => {
|
|
1432
|
-
const { bingLinks } = await import("./bing-
|
|
1433
|
+
const { bingLinks } = await import("./bing-S6BOIOTS.js");
|
|
1433
1434
|
const project3 = requireProject(input, "bing.links", "canonry bing links <project> [--url <page-url>] [--page <n>] [--format json|jsonl]");
|
|
1434
1435
|
await bingLinks(project3, { url: getString(input.values, "url"), page: parseIntegerOption(input, "page", { command: "bing.links", message: "--page must be an integer", usage: "canonry bing links <project> [--url <page-url>] [--page <n>] [--format json|jsonl]" }), format: input.format });
|
|
1435
1436
|
}
|
|
@@ -1439,7 +1440,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1439
1440
|
usage: "canonry bing fetched-urls <project> [--url <url>] [--format json|jsonl]",
|
|
1440
1441
|
options: { url: stringOption() },
|
|
1441
1442
|
run: async (input) => {
|
|
1442
|
-
const { bingFetchedUrls } = await import("./bing-
|
|
1443
|
+
const { bingFetchedUrls } = await import("./bing-S6BOIOTS.js");
|
|
1443
1444
|
const project3 = requireProject(input, "bing.fetched-urls", "canonry bing fetched-urls <project> [--url <url>] [--format json|jsonl]");
|
|
1444
1445
|
await bingFetchedUrls(project3, { url: getString(input.values, "url"), format: input.format });
|
|
1445
1446
|
}
|
|
@@ -1449,7 +1450,7 @@ var BING_CLI_COMMANDS = [
|
|
|
1449
1450
|
usage: "canonry bing keywords <project> <keyword> [--country <cc>] [--language <tag>] [--start-date <YYYY-MM-DD>] [--end-date <YYYY-MM-DD>] [--format json|jsonl]",
|
|
1450
1451
|
options: { country: stringOption(), language: stringOption(), "start-date": stringOption(), "end-date": stringOption() },
|
|
1451
1452
|
run: async (input) => {
|
|
1452
|
-
const { bingKeywords } = await import("./bing-
|
|
1453
|
+
const { bingKeywords } = await import("./bing-S6BOIOTS.js");
|
|
1453
1454
|
const project3 = requireProject(input, "bing.keywords", "canonry bing keywords <project> <keyword> [--country <cc>] [--language <tag>] [--start-date <YYYY-MM-DD>] [--end-date <YYYY-MM-DD>] [--format json|jsonl]");
|
|
1454
1455
|
const keyword = requirePositional(input, 1, { command: "bing.keywords", usage: "canonry bing keywords <project> <keyword> [--country <cc>] [--language <tag>] [--start-date <YYYY-MM-DD>] [--end-date <YYYY-MM-DD>] [--format json|jsonl]", message: "project name and keyword are required" });
|
|
1455
1456
|
await bingKeywords(project3, {
|
|
@@ -1486,7 +1487,7 @@ var CDP_CLI_COMMANDS = [
|
|
|
1486
1487
|
},
|
|
1487
1488
|
allowPositionals: false,
|
|
1488
1489
|
run: async (input) => {
|
|
1489
|
-
const { cdpConnect } = await import("./cdp-
|
|
1490
|
+
const { cdpConnect } = await import("./cdp-TY2TZB7J.js");
|
|
1490
1491
|
await cdpConnect({
|
|
1491
1492
|
host: getString(input.values, "host"),
|
|
1492
1493
|
port: getString(input.values, "port"),
|
|
@@ -1499,7 +1500,7 @@ var CDP_CLI_COMMANDS = [
|
|
|
1499
1500
|
usage: "canonry cdp status [--format json]",
|
|
1500
1501
|
allowPositionals: false,
|
|
1501
1502
|
run: async (input) => {
|
|
1502
|
-
const { cdpStatus } = await import("./cdp-
|
|
1503
|
+
const { cdpStatus } = await import("./cdp-TY2TZB7J.js");
|
|
1503
1504
|
await cdpStatus(input.format);
|
|
1504
1505
|
}
|
|
1505
1506
|
},
|
|
@@ -1508,7 +1509,7 @@ var CDP_CLI_COMMANDS = [
|
|
|
1508
1509
|
usage: "canonry cdp targets [--format json]",
|
|
1509
1510
|
allowPositionals: false,
|
|
1510
1511
|
run: async (input) => {
|
|
1511
|
-
const { cdpTargets } = await import("./cdp-
|
|
1512
|
+
const { cdpTargets } = await import("./cdp-TY2TZB7J.js");
|
|
1512
1513
|
await cdpTargets(input.format);
|
|
1513
1514
|
}
|
|
1514
1515
|
},
|
|
@@ -1519,7 +1520,7 @@ var CDP_CLI_COMMANDS = [
|
|
|
1519
1520
|
targets: stringOption()
|
|
1520
1521
|
},
|
|
1521
1522
|
run: async (input) => {
|
|
1522
|
-
const { cdpScreenshot } = await import("./cdp-
|
|
1523
|
+
const { cdpScreenshot } = await import("./cdp-TY2TZB7J.js");
|
|
1523
1524
|
const query = requirePositional(input, 0, {
|
|
1524
1525
|
command: "cdp.screenshot",
|
|
1525
1526
|
usage: "canonry cdp screenshot <query> [--targets <list>] [--format json]",
|
|
@@ -1551,7 +1552,7 @@ var DASHBOARD_CLI_COMMANDS = [
|
|
|
1551
1552
|
usage: "canonry dashboard reset-password [--format json]",
|
|
1552
1553
|
help: "Clears the dashboard password from config.yaml, so the dashboard asks for a new one after a restart.\nLocal only: it edits the config file under CANONRY_CONFIG_DIR and does not call the server.",
|
|
1553
1554
|
run: async (input) => {
|
|
1554
|
-
const { resetDashboardPassword } = await import("./dashboard-
|
|
1555
|
+
const { resetDashboardPassword } = await import("./dashboard-XBS4EVSA.js");
|
|
1555
1556
|
await resetDashboardPassword({ format: input.format });
|
|
1556
1557
|
}
|
|
1557
1558
|
},
|
|
@@ -1667,7 +1668,7 @@ var DISCOVER_CLI_COMMANDS = [
|
|
|
1667
1668
|
wait: { type: "boolean", default: false }
|
|
1668
1669
|
},
|
|
1669
1670
|
run: async (input) => {
|
|
1670
|
-
const { discoverRun } = await import("./discover-
|
|
1671
|
+
const { discoverRun } = await import("./discover-34E5JIM5.js");
|
|
1671
1672
|
const usage = 'canonry discover run <project> [--icp "..."] [--buyer "..."] [--seed-provider gemini --seed-provider openai] [--icp-angle "..."] [--locations michigan,florida] [--dedup-threshold 0.95] [--max-probes 100] [--probe-concurrency 3] [--wait] [--format json]';
|
|
1672
1673
|
const project3 = requireProject(input, "discover.run", usage);
|
|
1673
1674
|
await discoverRun(project3, {
|
|
@@ -1704,7 +1705,7 @@ var DISCOVER_CLI_COMMANDS = [
|
|
|
1704
1705
|
"probe-concurrency": stringOption()
|
|
1705
1706
|
},
|
|
1706
1707
|
run: async (input) => {
|
|
1707
|
-
const { discoverEval } = await import("./discover-eval-
|
|
1708
|
+
const { discoverEval } = await import("./discover-eval-TLH2MMNK.js");
|
|
1708
1709
|
const usage = "canonry discover eval [--baseline <path>] [--update-baseline] [--shape eval-b2b-saas ...] [--seed-provider gemini --seed-provider openai] [--max-probes 2] [--probe-concurrency 2] [--format json]";
|
|
1709
1710
|
await discoverEval({
|
|
1710
1711
|
baseline: getString(input.values, "baseline"),
|
|
@@ -1740,7 +1741,7 @@ var DISCOVER_CLI_COMMANDS = [
|
|
|
1740
1741
|
wait: { type: "boolean", default: false }
|
|
1741
1742
|
},
|
|
1742
1743
|
run: async (input) => {
|
|
1743
|
-
const { discoverSeed } = await import("./discover-
|
|
1744
|
+
const { discoverSeed } = await import("./discover-34E5JIM5.js");
|
|
1744
1745
|
const usage = 'canonry discover seed <project> [--icp "..."] [--buyer "..."] [--seed-provider gemini --seed-provider openai] [--icp-angle "..."] [--locations michigan,florida] [--dedup-threshold 0.95] [--max-probes 100] [--probe-concurrency 3] [--wait] [--format json]';
|
|
1745
1746
|
const project3 = requireProject(input, "discover.seed", usage);
|
|
1746
1747
|
await discoverSeed(project3, {
|
|
@@ -1769,7 +1770,7 @@ var DISCOVER_CLI_COMMANDS = [
|
|
|
1769
1770
|
path: ["discover", "probe"],
|
|
1770
1771
|
usage: "canonry discover probe <project> <session-id> [--format json]",
|
|
1771
1772
|
run: async (input) => {
|
|
1772
|
-
const { discoverProbe } = await import("./discover-
|
|
1773
|
+
const { discoverProbe } = await import("./discover-34E5JIM5.js");
|
|
1773
1774
|
const project3 = requireProject(
|
|
1774
1775
|
input,
|
|
1775
1776
|
"discover.probe",
|
|
@@ -1790,7 +1791,7 @@ var DISCOVER_CLI_COMMANDS = [
|
|
|
1790
1791
|
limit: stringOption()
|
|
1791
1792
|
},
|
|
1792
1793
|
run: async (input) => {
|
|
1793
|
-
const { discoverList } = await import("./discover-
|
|
1794
|
+
const { discoverList } = await import("./discover-34E5JIM5.js");
|
|
1794
1795
|
const project3 = requireProject(
|
|
1795
1796
|
input,
|
|
1796
1797
|
"discover.list",
|
|
@@ -1810,7 +1811,7 @@ var DISCOVER_CLI_COMMANDS = [
|
|
|
1810
1811
|
path: ["discover", "show"],
|
|
1811
1812
|
usage: "canonry discover show <project> <session-id> [--format json]",
|
|
1812
1813
|
run: async (input) => {
|
|
1813
|
-
const { discoverShow } = await import("./discover-
|
|
1814
|
+
const { discoverShow } = await import("./discover-34E5JIM5.js");
|
|
1814
1815
|
const project3 = requireProject(
|
|
1815
1816
|
input,
|
|
1816
1817
|
"discover.show",
|
|
@@ -1833,7 +1834,7 @@ var DISCOVER_CLI_COMMANDS = [
|
|
|
1833
1834
|
"no-competitors": { type: "boolean", default: false }
|
|
1834
1835
|
},
|
|
1835
1836
|
run: async (input) => {
|
|
1836
|
-
const { discoverPromote } = await import("./discover-
|
|
1837
|
+
const { discoverPromote } = await import("./discover-34E5JIM5.js");
|
|
1837
1838
|
const usage = "canonry discover promote <project> <session-id> [--bucket cited,aspirational,wasted-surface] [--competitor-types direct-competitor,editorial-media] [--no-competitors] [--format json]";
|
|
1838
1839
|
const project3 = requireProject(input, "discover.promote", usage);
|
|
1839
1840
|
const sessionId = requirePositional(input, 1, {
|
|
@@ -1857,7 +1858,7 @@ var DISCOVER_CLI_COMMANDS = [
|
|
|
1857
1858
|
"no-anchor": { type: "boolean", default: false }
|
|
1858
1859
|
},
|
|
1859
1860
|
run: async (input) => {
|
|
1860
|
-
const { discoverHarvest } = await import("./discover-
|
|
1861
|
+
const { discoverHarvest } = await import("./discover-34E5JIM5.js");
|
|
1861
1862
|
const usage = "canonry discover harvest <project> <session-id> [--min-probe-hits <n>] [--no-anchor] [--format json|jsonl]";
|
|
1862
1863
|
const project3 = requireProject(input, "discover.harvest", usage);
|
|
1863
1864
|
const sessionId = requirePositional(input, 1, {
|
|
@@ -1880,7 +1881,7 @@ var DISCOVER_CLI_COMMANDS = [
|
|
|
1880
1881
|
path: ["discover", "promote", "preview"],
|
|
1881
1882
|
usage: "canonry discover promote preview <project> <session-id> [--format json]",
|
|
1882
1883
|
run: async (input) => {
|
|
1883
|
-
const { discoverPromotePreview } = await import("./discover-
|
|
1884
|
+
const { discoverPromotePreview } = await import("./discover-34E5JIM5.js");
|
|
1884
1885
|
const project3 = requireProject(
|
|
1885
1886
|
input,
|
|
1886
1887
|
"discover.promote.preview",
|
|
@@ -1981,7 +1982,7 @@ var RESEARCH_CLI_COMMANDS = [
|
|
|
1981
1982
|
usage: BATCH_USAGE,
|
|
1982
1983
|
options: { wait: { type: "boolean", default: false } },
|
|
1983
1984
|
run: async (input) => {
|
|
1984
|
-
const { researchBatch } = await import("./research-
|
|
1985
|
+
const { researchBatch } = await import("./research-Z3IZQH2M.js");
|
|
1985
1986
|
const project3 = requireProject(input, "research.batch", BATCH_USAGE);
|
|
1986
1987
|
const source = requirePositional(input, 1, {
|
|
1987
1988
|
command: "research.batch",
|
|
@@ -2008,7 +2009,7 @@ var RESEARCH_CLI_COMMANDS = [
|
|
|
2008
2009
|
wait: { type: "boolean", default: false }
|
|
2009
2010
|
},
|
|
2010
2011
|
run: async (input) => {
|
|
2011
|
-
const { researchRun } = await import("./research-
|
|
2012
|
+
const { researchRun } = await import("./research-Z3IZQH2M.js");
|
|
2012
2013
|
const project3 = requireProject(input, "research.run", RUN_USAGE);
|
|
2013
2014
|
const provider = getString(input.values, "provider")?.trim() || void 0;
|
|
2014
2015
|
const model = getString(input.values, "model")?.trim() || void 0;
|
|
@@ -2037,7 +2038,7 @@ Usage: ${RUN_USAGE}`, {
|
|
|
2037
2038
|
usage: "canonry research list <project> [--limit <n>] [--cursor <cursor>] [--format json|jsonl]",
|
|
2038
2039
|
options: { limit: stringOption(), cursor: stringOption() },
|
|
2039
2040
|
run: async (input) => {
|
|
2040
|
-
const { researchList } = await import("./research-
|
|
2041
|
+
const { researchList } = await import("./research-Z3IZQH2M.js");
|
|
2041
2042
|
const usage = "canonry research list <project> [--limit <n>] [--cursor <cursor>] [--format json|jsonl]";
|
|
2042
2043
|
const project3 = requireProject(input, "research.list", usage);
|
|
2043
2044
|
await researchList(project3, {
|
|
@@ -2051,7 +2052,7 @@ Usage: ${RUN_USAGE}`, {
|
|
|
2051
2052
|
path: ["research", "show"],
|
|
2052
2053
|
usage: "canonry research show <project> <run-id> [--format json|jsonl]",
|
|
2053
2054
|
run: async (input) => {
|
|
2054
|
-
const { researchShow } = await import("./research-
|
|
2055
|
+
const { researchShow } = await import("./research-Z3IZQH2M.js");
|
|
2055
2056
|
const usage = "canonry research show <project> <run-id> [--format json|jsonl]";
|
|
2056
2057
|
const project3 = requireProject(input, "research.show", usage);
|
|
2057
2058
|
const runId = requirePositional(input, 1, { command: "research.show", usage, message: "research run ID is required" });
|
|
@@ -2074,7 +2075,7 @@ var DOCTOR_CLI_COMMANDS = [
|
|
|
2074
2075
|
},
|
|
2075
2076
|
allowPositionals: false,
|
|
2076
2077
|
run: async (input) => {
|
|
2077
|
-
const { doctorCommand } = await import("./doctor-
|
|
2078
|
+
const { doctorCommand } = await import("./doctor-SGJQPWRI.js");
|
|
2078
2079
|
await doctorCommand({
|
|
2079
2080
|
project: getString(input.values, "project"),
|
|
2080
2081
|
reportMonth: getString(input.values, "report-month"),
|
|
@@ -2095,7 +2096,7 @@ var ADS_CLI_COMMANDS = [
|
|
|
2095
2096
|
"api-key": stringOption()
|
|
2096
2097
|
},
|
|
2097
2098
|
run: async (input) => {
|
|
2098
|
-
const { adsConnect } = await import("./ads-
|
|
2099
|
+
const { adsConnect } = await import("./ads-OEKDHREI.js");
|
|
2099
2100
|
const project3 = requireProject(input, "ads.connect", "canonry ads connect <project> --api-key <sdk-key> [--format json]");
|
|
2100
2101
|
await adsConnect(project3, {
|
|
2101
2102
|
apiKey: getString(input.values, "api-key"),
|
|
@@ -2107,7 +2108,7 @@ var ADS_CLI_COMMANDS = [
|
|
|
2107
2108
|
path: ["ads", "disconnect"],
|
|
2108
2109
|
usage: "canonry ads disconnect <project> [--format json]",
|
|
2109
2110
|
run: async (input) => {
|
|
2110
|
-
const { adsDisconnect } = await import("./ads-
|
|
2111
|
+
const { adsDisconnect } = await import("./ads-OEKDHREI.js");
|
|
2111
2112
|
const project3 = requireProject(input, "ads.disconnect", "canonry ads disconnect <project> [--format json]");
|
|
2112
2113
|
await adsDisconnect(project3, { format: input.format });
|
|
2113
2114
|
}
|
|
@@ -2116,7 +2117,7 @@ var ADS_CLI_COMMANDS = [
|
|
|
2116
2117
|
path: ["ads", "status"],
|
|
2117
2118
|
usage: "canonry ads status <project> [--format json]",
|
|
2118
2119
|
run: async (input) => {
|
|
2119
|
-
const { adsStatus } = await import("./ads-
|
|
2120
|
+
const { adsStatus } = await import("./ads-OEKDHREI.js");
|
|
2120
2121
|
const project3 = requireProject(input, "ads.status", "canonry ads status <project> [--format json]");
|
|
2121
2122
|
await adsStatus(project3, { format: input.format });
|
|
2122
2123
|
}
|
|
@@ -2125,7 +2126,7 @@ var ADS_CLI_COMMANDS = [
|
|
|
2125
2126
|
path: ["ads", "account"],
|
|
2126
2127
|
usage: "canonry ads account <project> [--format json]",
|
|
2127
2128
|
run: async (input) => {
|
|
2128
|
-
const { adsAccount } = await import("./ads-
|
|
2129
|
+
const { adsAccount } = await import("./ads-OEKDHREI.js");
|
|
2129
2130
|
const project3 = requireProject(input, "ads.account", "canonry ads account <project> [--format json]");
|
|
2130
2131
|
await adsAccount(project3, { format: input.format });
|
|
2131
2132
|
}
|
|
@@ -2138,7 +2139,7 @@ var ADS_CLI_COMMANDS = [
|
|
|
2138
2139
|
limit: stringOption()
|
|
2139
2140
|
},
|
|
2140
2141
|
run: async (input) => {
|
|
2141
|
-
const { adsGeoSearch } = await import("./ads-
|
|
2142
|
+
const { adsGeoSearch } = await import("./ads-OEKDHREI.js");
|
|
2142
2143
|
const usage = "canonry ads geo search <project> --query <text> [--limit <n>] [--format json|jsonl]";
|
|
2143
2144
|
const project3 = requireProject(input, "ads.geo.search", usage);
|
|
2144
2145
|
await adsGeoSearch(project3, {
|
|
@@ -2156,7 +2157,7 @@ var ADS_CLI_COMMANDS = [
|
|
|
2156
2157
|
path: ["ads", "conversions", "pixels"],
|
|
2157
2158
|
usage: "canonry ads conversions pixels <project> [--format json|jsonl]",
|
|
2158
2159
|
run: async (input) => {
|
|
2159
|
-
const { adsConversionPixels } = await import("./ads-
|
|
2160
|
+
const { adsConversionPixels } = await import("./ads-OEKDHREI.js");
|
|
2160
2161
|
const project3 = requireProject(input, "ads.conversions.pixels", "canonry ads conversions pixels <project> [--format json|jsonl]");
|
|
2161
2162
|
await adsConversionPixels(project3, { format: input.format });
|
|
2162
2163
|
}
|
|
@@ -2165,7 +2166,7 @@ var ADS_CLI_COMMANDS = [
|
|
|
2165
2166
|
path: ["ads", "conversions", "event-settings"],
|
|
2166
2167
|
usage: "canonry ads conversions event-settings <project> [--format json|jsonl]",
|
|
2167
2168
|
run: async (input) => {
|
|
2168
|
-
const { adsConversionEventSettings } = await import("./ads-
|
|
2169
|
+
const { adsConversionEventSettings } = await import("./ads-OEKDHREI.js");
|
|
2169
2170
|
const project3 = requireProject(input, "ads.conversions.event-settings", "canonry ads conversions event-settings <project> [--format json|jsonl]");
|
|
2170
2171
|
await adsConversionEventSettings(project3, { format: input.format });
|
|
2171
2172
|
}
|
|
@@ -2179,7 +2180,7 @@ var ADS_CLI_COMMANDS = [
|
|
|
2179
2180
|
cursor: stringOption()
|
|
2180
2181
|
},
|
|
2181
2182
|
run: async (input) => {
|
|
2182
|
-
const { adsOperationsUnresolved } = await import("./ads-
|
|
2183
|
+
const { adsOperationsUnresolved } = await import("./ads-OEKDHREI.js");
|
|
2183
2184
|
const usage = "canonry ads operations unresolved <project> [--state <csv>] [--limit <n>] [--cursor <opaque>] [--format json|jsonl]";
|
|
2184
2185
|
const project3 = requireProject(
|
|
2185
2186
|
input,
|
|
@@ -2211,7 +2212,7 @@ Usage: ${usage}`, {
|
|
|
2211
2212
|
path: ["ads", "operation"],
|
|
2212
2213
|
usage: "canonry ads operation <project> <operation-key> [--format json]",
|
|
2213
2214
|
run: async (input) => {
|
|
2214
|
-
const { adsOperationGet } = await import("./ads-
|
|
2215
|
+
const { adsOperationGet } = await import("./ads-OEKDHREI.js");
|
|
2215
2216
|
const usage = "canonry ads operation <project> <operation-key> [--format json]";
|
|
2216
2217
|
const project3 = requireProject(input, "ads.operation", usage);
|
|
2217
2218
|
const operationKey = requirePositional(input, 1, {
|
|
@@ -2229,7 +2230,7 @@ Usage: ${usage}`, {
|
|
|
2229
2230
|
"operation-key": stringOption()
|
|
2230
2231
|
},
|
|
2231
2232
|
run: async (input) => {
|
|
2232
|
-
const { adsOperationReconcile } = await import("./ads-
|
|
2233
|
+
const { adsOperationReconcile } = await import("./ads-OEKDHREI.js");
|
|
2233
2234
|
const usage = "canonry ads operation reconcile <project> --operation-key <key> [--format json]";
|
|
2234
2235
|
const project3 = requireProject(input, "ads.operation.reconcile", usage);
|
|
2235
2236
|
const operationKey = requireStringOption(input, "operation-key", {
|
|
@@ -2248,7 +2249,7 @@ Usage: ${usage}`, {
|
|
|
2248
2249
|
usage: "canonry ads operation resume-activation <project> --operation-key <key> [--format json]",
|
|
2249
2250
|
options: { "operation-key": stringOption() },
|
|
2250
2251
|
run: async (input) => {
|
|
2251
|
-
const { adsOperationResumeActivation } = await import("./ads-
|
|
2252
|
+
const { adsOperationResumeActivation } = await import("./ads-OEKDHREI.js");
|
|
2252
2253
|
const usage = "canonry ads operation resume-activation <project> --operation-key <key> [--format json]";
|
|
2253
2254
|
const project3 = requireProject(input, "ads.operation.resume-activation", usage);
|
|
2254
2255
|
await adsOperationResumeActivation(project3, {
|
|
@@ -2266,7 +2267,7 @@ Usage: ${usage}`, {
|
|
|
2266
2267
|
usage: "canonry ads activation-grant create <project> --input <json-file|-> [--format json]",
|
|
2267
2268
|
options: { input: stringOption() },
|
|
2268
2269
|
run: async (input) => {
|
|
2269
|
-
const { adsActivationGrantCreate } = await import("./ads-
|
|
2270
|
+
const { adsActivationGrantCreate } = await import("./ads-OEKDHREI.js");
|
|
2270
2271
|
const usage = "canonry ads activation-grant create <project> --input <json-file|-> [--format json]";
|
|
2271
2272
|
const project3 = requireProject(input, "ads.activation-grant.create", usage);
|
|
2272
2273
|
await adsActivationGrantCreate(project3, {
|
|
@@ -2279,7 +2280,7 @@ Usage: ${usage}`, {
|
|
|
2279
2280
|
path: ["ads", "activation-grant", "revoke"],
|
|
2280
2281
|
usage: "canonry ads activation-grant revoke <project> <grant-id> [--format json]",
|
|
2281
2282
|
run: async (input) => {
|
|
2282
|
-
const { adsActivationGrantRevoke } = await import("./ads-
|
|
2283
|
+
const { adsActivationGrantRevoke } = await import("./ads-OEKDHREI.js");
|
|
2283
2284
|
const usage = "canonry ads activation-grant revoke <project> <grant-id> [--format json]";
|
|
2284
2285
|
const project3 = requireProject(input, "ads.activation-grant.revoke", usage);
|
|
2285
2286
|
const grantId = requirePositional(input, 1, {
|
|
@@ -2295,7 +2296,7 @@ Usage: ${usage}`, {
|
|
|
2295
2296
|
usage: "canonry ads image upload <project> --input <json-file|-> [--format json]",
|
|
2296
2297
|
options: { input: stringOption() },
|
|
2297
2298
|
run: async (input) => {
|
|
2298
|
-
const { adsImageUpload } = await import("./ads-
|
|
2299
|
+
const { adsImageUpload } = await import("./ads-OEKDHREI.js");
|
|
2299
2300
|
const project3 = requireProject(input, "ads.image.upload", "canonry ads image upload <project> --input <json-file|-> [--format json]");
|
|
2300
2301
|
await adsImageUpload(project3, { input: getString(input.values, "input"), format: input.format });
|
|
2301
2302
|
}
|
|
@@ -2305,7 +2306,7 @@ Usage: ${usage}`, {
|
|
|
2305
2306
|
usage: "canonry ads campaign create <project> --input <json-file|-> [--format json]",
|
|
2306
2307
|
options: { input: stringOption() },
|
|
2307
2308
|
run: async (input) => {
|
|
2308
|
-
const { adsCampaignCreate } = await import("./ads-
|
|
2309
|
+
const { adsCampaignCreate } = await import("./ads-OEKDHREI.js");
|
|
2309
2310
|
const project3 = requireProject(input, "ads.campaign.create", "canonry ads campaign create <project> --input <json-file|-> [--format json]");
|
|
2310
2311
|
await adsCampaignCreate(project3, { input: getString(input.values, "input"), format: input.format });
|
|
2311
2312
|
}
|
|
@@ -2315,7 +2316,7 @@ Usage: ${usage}`, {
|
|
|
2315
2316
|
usage: "canonry ads campaign update <project> <campaign-id> --input <json-file|-> [--format json]",
|
|
2316
2317
|
options: { input: stringOption() },
|
|
2317
2318
|
run: async (input) => {
|
|
2318
|
-
const { adsCampaignUpdate } = await import("./ads-
|
|
2319
|
+
const { adsCampaignUpdate } = await import("./ads-OEKDHREI.js");
|
|
2319
2320
|
const usage = "canonry ads campaign update <project> <campaign-id> --input <json-file|-> [--format json]";
|
|
2320
2321
|
const project3 = requireProject(input, "ads.campaign.update", usage);
|
|
2321
2322
|
const id2 = requirePositional(input, 1, { command: "ads.campaign.update", usage, message: "campaign id is required" });
|
|
@@ -2327,7 +2328,7 @@ Usage: ${usage}`, {
|
|
|
2327
2328
|
usage: "canonry ads campaign activate-tree <project> <campaign-id> --input <json-file|-> [--format json]",
|
|
2328
2329
|
options: { input: stringOption() },
|
|
2329
2330
|
run: async (input) => {
|
|
2330
|
-
const { adsCampaignActivateTree } = await import("./ads-
|
|
2331
|
+
const { adsCampaignActivateTree } = await import("./ads-OEKDHREI.js");
|
|
2331
2332
|
const usage = "canonry ads campaign activate-tree <project> <campaign-id> --input <json-file|-> [--format json]";
|
|
2332
2333
|
const project3 = requireProject(input, "ads.campaign.activate-tree", usage);
|
|
2333
2334
|
const id2 = requirePositional(input, 1, {
|
|
@@ -2346,7 +2347,7 @@ Usage: ${usage}`, {
|
|
|
2346
2347
|
usage: "canonry ads campaign pause <project> <campaign-id> --input <json-file|-> [--format json]",
|
|
2347
2348
|
options: { input: stringOption() },
|
|
2348
2349
|
run: async (input) => {
|
|
2349
|
-
const { adsCampaignPause } = await import("./ads-
|
|
2350
|
+
const { adsCampaignPause } = await import("./ads-OEKDHREI.js");
|
|
2350
2351
|
const usage = "canonry ads campaign pause <project> <campaign-id> --input <json-file|-> [--format json]";
|
|
2351
2352
|
const project3 = requireProject(input, "ads.campaign.pause", usage);
|
|
2352
2353
|
const id2 = requirePositional(input, 1, { command: "ads.campaign.pause", usage, message: "campaign id is required" });
|
|
@@ -2358,7 +2359,7 @@ Usage: ${usage}`, {
|
|
|
2358
2359
|
usage: "canonry ads ad-group create <project> --input <json-file|-> [--format json]",
|
|
2359
2360
|
options: { input: stringOption() },
|
|
2360
2361
|
run: async (input) => {
|
|
2361
|
-
const { adsAdGroupCreate } = await import("./ads-
|
|
2362
|
+
const { adsAdGroupCreate } = await import("./ads-OEKDHREI.js");
|
|
2362
2363
|
const project3 = requireProject(input, "ads.ad-group.create", "canonry ads ad-group create <project> --input <json-file|-> [--format json]");
|
|
2363
2364
|
await adsAdGroupCreate(project3, { input: getString(input.values, "input"), format: input.format });
|
|
2364
2365
|
}
|
|
@@ -2368,7 +2369,7 @@ Usage: ${usage}`, {
|
|
|
2368
2369
|
usage: "canonry ads ad-group update <project> <ad-group-id> --input <json-file|-> [--format json]",
|
|
2369
2370
|
options: { input: stringOption() },
|
|
2370
2371
|
run: async (input) => {
|
|
2371
|
-
const { adsAdGroupUpdate } = await import("./ads-
|
|
2372
|
+
const { adsAdGroupUpdate } = await import("./ads-OEKDHREI.js");
|
|
2372
2373
|
const usage = "canonry ads ad-group update <project> <ad-group-id> --input <json-file|-> [--format json]";
|
|
2373
2374
|
const project3 = requireProject(input, "ads.ad-group.update", usage);
|
|
2374
2375
|
const id2 = requirePositional(input, 1, { command: "ads.ad-group.update", usage, message: "ad group id is required" });
|
|
@@ -2380,7 +2381,7 @@ Usage: ${usage}`, {
|
|
|
2380
2381
|
usage: "canonry ads ad-group pause <project> <ad-group-id> --input <json-file|-> [--format json]",
|
|
2381
2382
|
options: { input: stringOption() },
|
|
2382
2383
|
run: async (input) => {
|
|
2383
|
-
const { adsAdGroupPause } = await import("./ads-
|
|
2384
|
+
const { adsAdGroupPause } = await import("./ads-OEKDHREI.js");
|
|
2384
2385
|
const usage = "canonry ads ad-group pause <project> <ad-group-id> --input <json-file|-> [--format json]";
|
|
2385
2386
|
const project3 = requireProject(input, "ads.ad-group.pause", usage);
|
|
2386
2387
|
const id2 = requirePositional(input, 1, { command: "ads.ad-group.pause", usage, message: "ad group id is required" });
|
|
@@ -2392,7 +2393,7 @@ Usage: ${usage}`, {
|
|
|
2392
2393
|
usage: "canonry ads ad create <project> --input <json-file|-> [--format json]",
|
|
2393
2394
|
options: { input: stringOption() },
|
|
2394
2395
|
run: async (input) => {
|
|
2395
|
-
const { adsAdCreate } = await import("./ads-
|
|
2396
|
+
const { adsAdCreate } = await import("./ads-OEKDHREI.js");
|
|
2396
2397
|
const project3 = requireProject(input, "ads.ad.create", "canonry ads ad create <project> --input <json-file|-> [--format json]");
|
|
2397
2398
|
await adsAdCreate(project3, { input: getString(input.values, "input"), format: input.format });
|
|
2398
2399
|
}
|
|
@@ -2402,7 +2403,7 @@ Usage: ${usage}`, {
|
|
|
2402
2403
|
usage: "canonry ads ad update <project> <ad-id> --input <json-file|-> [--format json]",
|
|
2403
2404
|
options: { input: stringOption() },
|
|
2404
2405
|
run: async (input) => {
|
|
2405
|
-
const { adsAdUpdate } = await import("./ads-
|
|
2406
|
+
const { adsAdUpdate } = await import("./ads-OEKDHREI.js");
|
|
2406
2407
|
const usage = "canonry ads ad update <project> <ad-id> --input <json-file|-> [--format json]";
|
|
2407
2408
|
const project3 = requireProject(input, "ads.ad.update", usage);
|
|
2408
2409
|
const id2 = requirePositional(input, 1, { command: "ads.ad.update", usage, message: "ad id is required" });
|
|
@@ -2414,7 +2415,7 @@ Usage: ${usage}`, {
|
|
|
2414
2415
|
usage: "canonry ads ad pause <project> <ad-id> --input <json-file|-> [--format json]",
|
|
2415
2416
|
options: { input: stringOption() },
|
|
2416
2417
|
run: async (input) => {
|
|
2417
|
-
const { adsAdPause } = await import("./ads-
|
|
2418
|
+
const { adsAdPause } = await import("./ads-OEKDHREI.js");
|
|
2418
2419
|
const usage = "canonry ads ad pause <project> <ad-id> --input <json-file|-> [--format json]";
|
|
2419
2420
|
const project3 = requireProject(input, "ads.ad.pause", usage);
|
|
2420
2421
|
const id2 = requirePositional(input, 1, { command: "ads.ad.pause", usage, message: "ad id is required" });
|
|
@@ -2425,7 +2426,7 @@ Usage: ${usage}`, {
|
|
|
2425
2426
|
path: ["ads", "sync"],
|
|
2426
2427
|
usage: "canonry ads sync <project> [--format json]",
|
|
2427
2428
|
run: async (input) => {
|
|
2428
|
-
const { adsSync } = await import("./ads-
|
|
2429
|
+
const { adsSync } = await import("./ads-OEKDHREI.js");
|
|
2429
2430
|
const project3 = requireProject(input, "ads.sync", "canonry ads sync <project> [--format json]");
|
|
2430
2431
|
await adsSync(project3, { format: input.format });
|
|
2431
2432
|
}
|
|
@@ -2434,7 +2435,7 @@ Usage: ${usage}`, {
|
|
|
2434
2435
|
path: ["ads", "campaigns"],
|
|
2435
2436
|
usage: "canonry ads campaigns <project> [--format json|jsonl]",
|
|
2436
2437
|
run: async (input) => {
|
|
2437
|
-
const { adsCampaigns } = await import("./ads-
|
|
2438
|
+
const { adsCampaigns } = await import("./ads-OEKDHREI.js");
|
|
2438
2439
|
const project3 = requireProject(input, "ads.campaigns", "canonry ads campaigns <project> [--format json|jsonl]");
|
|
2439
2440
|
await adsCampaigns(project3, { format: input.format });
|
|
2440
2441
|
}
|
|
@@ -2450,7 +2451,7 @@ Usage: ${usage}`, {
|
|
|
2450
2451
|
to: stringOption()
|
|
2451
2452
|
},
|
|
2452
2453
|
run: async (input) => {
|
|
2453
|
-
const { adsInsights } = await import("./ads-
|
|
2454
|
+
const { adsInsights } = await import("./ads-OEKDHREI.js");
|
|
2454
2455
|
const project3 = requireProject(input, "ads.insights", "canonry ads insights <project> [--level <level>] [--entity <id>] [--from <date>] [--to <date>] [--format json|jsonl]");
|
|
2455
2456
|
await adsInsights(project3, {
|
|
2456
2457
|
level: getString(input.values, "level"),
|
|
@@ -2465,7 +2466,7 @@ Usage: ${usage}`, {
|
|
|
2465
2466
|
path: ["ads", "summary"],
|
|
2466
2467
|
usage: "canonry ads summary <project> [--format json]",
|
|
2467
2468
|
run: async (input) => {
|
|
2468
|
-
const { adsSummary } = await import("./ads-
|
|
2469
|
+
const { adsSummary } = await import("./ads-OEKDHREI.js");
|
|
2469
2470
|
const project3 = requireProject(input, "ads.summary", "canonry ads summary <project> [--format json]");
|
|
2470
2471
|
await adsSummary(project3, { format: input.format });
|
|
2471
2472
|
}
|
|
@@ -2478,7 +2479,7 @@ Usage: ${usage}`, {
|
|
|
2478
2479
|
"lookback-days": stringOption()
|
|
2479
2480
|
},
|
|
2480
2481
|
run: async (input) => {
|
|
2481
|
-
const { adsLiveDelivery } = await import("./ads-
|
|
2482
|
+
const { adsLiveDelivery } = await import("./ads-OEKDHREI.js");
|
|
2482
2483
|
const usage = "canonry ads live-delivery <project> [--campaign <id>] [--lookback-days <n>] [--format json]";
|
|
2483
2484
|
const project3 = requireProject(input, "ads.live-delivery", usage);
|
|
2484
2485
|
await adsLiveDelivery(project3, {
|
|
@@ -2496,7 +2497,7 @@ Usage: ${usage}`, {
|
|
|
2496
2497
|
path: ["ads", "delivery-diagnostics"],
|
|
2497
2498
|
usage: "canonry ads delivery-diagnostics <project> [--format json]",
|
|
2498
2499
|
run: async (input) => {
|
|
2499
|
-
const { adsDeliveryDiagnostics } = await import("./ads-
|
|
2500
|
+
const { adsDeliveryDiagnostics } = await import("./ads-OEKDHREI.js");
|
|
2500
2501
|
const project3 = requireProject(input, "ads.delivery-diagnostics", "canonry ads delivery-diagnostics <project> [--format json]");
|
|
2501
2502
|
await adsDeliveryDiagnostics(project3, { format: input.format });
|
|
2502
2503
|
}
|
|
@@ -2525,7 +2526,7 @@ var GA_CLI_COMMANDS = [
|
|
|
2525
2526
|
help: "Stored GA4 sessions only, with filtered totals independent of grouping and paging. Never calls Google. Meaningful page query parameters remain distinct.",
|
|
2526
2527
|
options: { ...RANGE_OPTIONS, channel: stringOption(), source: stringOption(), medium: stringOption(), host: stringOption(), "landing-page": stringOption(), "path-prefix": stringOption(), "group-by": stringOption(), limit: stringOption(), offset: stringOption() },
|
|
2527
2528
|
run: async (input) => {
|
|
2528
|
-
const { gaAcquisition } = await import("./ga-
|
|
2529
|
+
const { gaAcquisition } = await import("./ga-VVJWYWQX.js");
|
|
2529
2530
|
const project3 = requireProject(input, "ga.acquisition", "canonry ga acquisition <project>");
|
|
2530
2531
|
const aliases = { channel: "channelGroup", host: "hostName", "landing-page": "landingPage" };
|
|
2531
2532
|
const groupBy = getString(input.values, "group-by")?.split(",").map((key) => aliases[key.trim()] ?? key.trim()).join(",");
|
|
@@ -2542,14 +2543,10 @@ var GA_CLI_COMMANDS = [
|
|
|
2542
2543
|
"key-json": stringOption()
|
|
2543
2544
|
},
|
|
2544
2545
|
run: async (input) => {
|
|
2545
|
-
const { gaConnect } = await import("./ga-
|
|
2546
|
+
const { gaConnect } = await import("./ga-VVJWYWQX.js");
|
|
2546
2547
|
const project3 = requireProject(input, "ga.connect", "canonry ga connect <project> --property-id <id> [--key-file <path>]");
|
|
2547
|
-
const propertyId = getString(input.values, "property-id");
|
|
2548
|
-
if (!propertyId) {
|
|
2549
|
-
throw new Error("--property-id is required");
|
|
2550
|
-
}
|
|
2551
2548
|
await gaConnect(project3, {
|
|
2552
|
-
propertyId,
|
|
2549
|
+
propertyId: getString(input.values, "property-id"),
|
|
2553
2550
|
keyFile: getString(input.values, "key-file"),
|
|
2554
2551
|
keyJson: getString(input.values, "key-json"),
|
|
2555
2552
|
format: input.format
|
|
@@ -2560,7 +2557,7 @@ var GA_CLI_COMMANDS = [
|
|
|
2560
2557
|
path: ["ga", "disconnect"],
|
|
2561
2558
|
usage: "canonry ga disconnect <project> [--format json]",
|
|
2562
2559
|
run: async (input) => {
|
|
2563
|
-
const { gaDisconnect } = await import("./ga-
|
|
2560
|
+
const { gaDisconnect } = await import("./ga-VVJWYWQX.js");
|
|
2564
2561
|
const project3 = requireProject(input, "ga.disconnect", "canonry ga disconnect <project> [--format json]");
|
|
2565
2562
|
await gaDisconnect(project3, input.format);
|
|
2566
2563
|
}
|
|
@@ -2569,7 +2566,7 @@ var GA_CLI_COMMANDS = [
|
|
|
2569
2566
|
path: ["ga", "properties"],
|
|
2570
2567
|
usage: "canonry ga properties <project> [--format json]",
|
|
2571
2568
|
run: async (input) => {
|
|
2572
|
-
const { gaProperties } = await import("./ga-
|
|
2569
|
+
const { gaProperties } = await import("./ga-VVJWYWQX.js");
|
|
2573
2570
|
const project3 = requireProject(input, "ga.properties", "canonry ga properties <project> [--format json]");
|
|
2574
2571
|
await gaProperties(project3, input.format);
|
|
2575
2572
|
}
|
|
@@ -2578,7 +2575,7 @@ var GA_CLI_COMMANDS = [
|
|
|
2578
2575
|
path: ["ga", "status"],
|
|
2579
2576
|
usage: "canonry ga status <project> [--format json]",
|
|
2580
2577
|
run: async (input) => {
|
|
2581
|
-
const { gaStatus } = await import("./ga-
|
|
2578
|
+
const { gaStatus } = await import("./ga-VVJWYWQX.js");
|
|
2582
2579
|
const project3 = requireProject(input, "ga.status", "canonry ga status <project> [--format json]");
|
|
2583
2580
|
await gaStatus(project3, input.format);
|
|
2584
2581
|
}
|
|
@@ -2591,7 +2588,7 @@ var GA_CLI_COMMANDS = [
|
|
|
2591
2588
|
only: stringOption()
|
|
2592
2589
|
},
|
|
2593
2590
|
run: async (input) => {
|
|
2594
|
-
const { gaSync } = await import("./ga-
|
|
2591
|
+
const { gaSync } = await import("./ga-VVJWYWQX.js");
|
|
2595
2592
|
const project3 = requireProject(input, "ga.sync", "canonry ga sync <project> [--days 30] [--only traffic|ai|social|search-landing] [--format json]");
|
|
2596
2593
|
const daysStr = getString(input.values, "days");
|
|
2597
2594
|
const days = daysStr ? parseInt(daysStr, 10) : void 0;
|
|
@@ -2614,7 +2611,7 @@ var GA_CLI_COMMANDS = [
|
|
|
2614
2611
|
limit: stringOption()
|
|
2615
2612
|
},
|
|
2616
2613
|
run: async (input) => {
|
|
2617
|
-
const { gaMeasurementAnalysis } = await import("./ga-
|
|
2614
|
+
const { gaMeasurementAnalysis } = await import("./ga-VVJWYWQX.js");
|
|
2618
2615
|
const project3 = requireProject(input, "ga.measurement-analysis", "canonry ga measurement-analysis <project> [--window 30d|60d|90d] [--format json]");
|
|
2619
2616
|
const limitValue = getString(input.values, "limit");
|
|
2620
2617
|
await gaMeasurementAnalysis(project3, {
|
|
@@ -2636,7 +2633,7 @@ var GA_CLI_COMMANDS = [
|
|
|
2636
2633
|
offset: stringOption()
|
|
2637
2634
|
},
|
|
2638
2635
|
run: async (input) => {
|
|
2639
|
-
const { gaSearchLandingPages } = await import("./ga-
|
|
2636
|
+
const { gaSearchLandingPages } = await import("./ga-VVJWYWQX.js");
|
|
2640
2637
|
const project3 = requireProject(input, "ga.search-landing-pages", "canonry ga search-landing-pages <project> [--window 7d|28d|90d|180d] [--limit 50] [--offset 0] [--format json|jsonl]");
|
|
2641
2638
|
await gaSearchLandingPages(project3, {
|
|
2642
2639
|
window: getString(input.values, "window"),
|
|
@@ -2655,7 +2652,7 @@ var GA_CLI_COMMANDS = [
|
|
|
2655
2652
|
...RANGE_OPTIONS
|
|
2656
2653
|
},
|
|
2657
2654
|
run: async (input) => {
|
|
2658
|
-
const { gaTraffic } = await import("./ga-
|
|
2655
|
+
const { gaTraffic } = await import("./ga-VVJWYWQX.js");
|
|
2659
2656
|
const project3 = requireProject(input, "ga.traffic", `canonry ga traffic <project> [--limit 50] ${RANGE_USAGE} [--format json]`);
|
|
2660
2657
|
const limitStr = getString(input.values, "limit");
|
|
2661
2658
|
const limit = limitStr ? parseInt(limitStr, 10) : void 0;
|
|
@@ -2670,7 +2667,7 @@ var GA_CLI_COMMANDS = [
|
|
|
2670
2667
|
path: ["ga", "coverage"],
|
|
2671
2668
|
usage: "canonry ga coverage <project> [--format json]",
|
|
2672
2669
|
run: async (input) => {
|
|
2673
|
-
const { gaCoverage } = await import("./ga-
|
|
2670
|
+
const { gaCoverage } = await import("./ga-VVJWYWQX.js");
|
|
2674
2671
|
const project3 = requireProject(input, "ga.coverage", "canonry ga coverage <project> [--format json]");
|
|
2675
2672
|
await gaCoverage(project3, input.format);
|
|
2676
2673
|
}
|
|
@@ -2681,7 +2678,7 @@ var GA_CLI_COMMANDS = [
|
|
|
2681
2678
|
usage: `canonry ga ai-referral-history <project> ${RANGE_USAGE} [--format json]`,
|
|
2682
2679
|
options: { ...RANGE_OPTIONS },
|
|
2683
2680
|
run: async (input) => {
|
|
2684
|
-
const { gaAiReferralHistory } = await import("./ga-
|
|
2681
|
+
const { gaAiReferralHistory } = await import("./ga-VVJWYWQX.js");
|
|
2685
2682
|
const project3 = requireProject(input, "ga.ai-referral-history", `canonry ga ai-referral-history <project> ${RANGE_USAGE} [--format json]`);
|
|
2686
2683
|
await gaAiReferralHistory(project3, {
|
|
2687
2684
|
...rangeValues(input.values),
|
|
@@ -2695,7 +2692,7 @@ var GA_CLI_COMMANDS = [
|
|
|
2695
2692
|
usage: `canonry ga ai-referral-daily <project> ${RANGE_USAGE} [--format json]`,
|
|
2696
2693
|
options: { ...RANGE_OPTIONS },
|
|
2697
2694
|
run: async (input) => {
|
|
2698
|
-
const { gaAiReferralDaily } = await import("./ga-
|
|
2695
|
+
const { gaAiReferralDaily } = await import("./ga-VVJWYWQX.js");
|
|
2699
2696
|
const project3 = requireProject(input, "ga.ai-referral-daily", `canonry ga ai-referral-daily <project> ${RANGE_USAGE} [--format json]`);
|
|
2700
2697
|
await gaAiReferralDaily(project3, {
|
|
2701
2698
|
...rangeValues(input.values),
|
|
@@ -2709,7 +2706,7 @@ var GA_CLI_COMMANDS = [
|
|
|
2709
2706
|
usage: `canonry ga social-referral-history <project> ${RANGE_USAGE} [--format json]`,
|
|
2710
2707
|
options: { ...RANGE_OPTIONS },
|
|
2711
2708
|
run: async (input) => {
|
|
2712
|
-
const { gaSocialReferralHistory } = await import("./ga-
|
|
2709
|
+
const { gaSocialReferralHistory } = await import("./ga-VVJWYWQX.js");
|
|
2713
2710
|
const project3 = requireProject(input, "ga.social-referral-history", `canonry ga social-referral-history <project> ${RANGE_USAGE} [--format json]`);
|
|
2714
2711
|
await gaSocialReferralHistory(project3, {
|
|
2715
2712
|
...rangeValues(input.values),
|
|
@@ -2722,7 +2719,7 @@ var GA_CLI_COMMANDS = [
|
|
|
2722
2719
|
windows: WINDOW_SETS.gaOverview,
|
|
2723
2720
|
usage: "canonry ga overview <project> [--window 7d|30d|90d|180d] [--format json]",
|
|
2724
2721
|
run: async (input) => {
|
|
2725
|
-
const { gaOverview } = await import("./ga-
|
|
2722
|
+
const { gaOverview } = await import("./ga-VVJWYWQX.js");
|
|
2726
2723
|
const project3 = requireProject(input, "ga.overview", "canonry ga overview <project> [--window 7d|30d|90d|180d] [--format json]");
|
|
2727
2724
|
await gaOverview(project3, {
|
|
2728
2725
|
window: typeof input.values.window === "string" ? input.values.window : void 0,
|
|
@@ -2736,7 +2733,7 @@ var GA_CLI_COMMANDS = [
|
|
|
2736
2733
|
usage: `canonry ga session-history <project> ${RANGE_USAGE} [--format json]`,
|
|
2737
2734
|
options: { ...RANGE_OPTIONS },
|
|
2738
2735
|
run: async (input) => {
|
|
2739
|
-
const { gaSessionHistory } = await import("./ga-
|
|
2736
|
+
const { gaSessionHistory } = await import("./ga-VVJWYWQX.js");
|
|
2740
2737
|
const project3 = requireProject(input, "ga.session-history", `canonry ga session-history <project> ${RANGE_USAGE} [--format json]`);
|
|
2741
2738
|
await gaSessionHistory(project3, {
|
|
2742
2739
|
...rangeValues(input.values),
|
|
@@ -2751,7 +2748,7 @@ var GA_CLI_COMMANDS = [
|
|
|
2751
2748
|
trend: { type: "boolean", default: false }
|
|
2752
2749
|
},
|
|
2753
2750
|
run: async (input) => {
|
|
2754
|
-
const { gaSocialReferralSummary } = await import("./ga-
|
|
2751
|
+
const { gaSocialReferralSummary } = await import("./ga-VVJWYWQX.js");
|
|
2755
2752
|
const project3 = requireProject(input, "ga.social-referral-summary", "canonry ga social-referral-summary <project> [--trend] [--format json]");
|
|
2756
2753
|
await gaSocialReferralSummary(project3, {
|
|
2757
2754
|
trend: input.values.trend === true,
|
|
@@ -2766,7 +2763,7 @@ var GA_CLI_COMMANDS = [
|
|
|
2766
2763
|
trend: { type: "boolean", default: false }
|
|
2767
2764
|
},
|
|
2768
2765
|
run: async (input) => {
|
|
2769
|
-
const { gaAttribution } = await import("./ga-
|
|
2766
|
+
const { gaAttribution } = await import("./ga-VVJWYWQX.js");
|
|
2770
2767
|
const project3 = requireProject(input, "ga.attribution", "canonry ga attribution <project> [--trend] [--format json]");
|
|
2771
2768
|
await gaAttribution(project3, {
|
|
2772
2769
|
trend: input.values.trend === true,
|
|
@@ -2788,55 +2785,62 @@ var GA_CLI_COMMANDS = [
|
|
|
2788
2785
|
];
|
|
2789
2786
|
|
|
2790
2787
|
// src/cli-commands/gbp.ts
|
|
2788
|
+
var LOCATIONS_SELECT_USAGE = "canonry gbp locations select <project> --location <locations/{n}> [--format json]";
|
|
2789
|
+
var LOCATIONS_DESELECT_USAGE = "canonry gbp locations deselect <project> --location <locations/{n}> [--format json]";
|
|
2790
|
+
var POSTS_ATTEMPT_USAGE = "canonry gbp posts attempt <project> --attempt UUID --package SHA256 [--format json]";
|
|
2791
|
+
var POSTS_LIST_USAGE = "canonry gbp posts list <project> --account accounts/id --location locations/id [--page-token token] [--format json]";
|
|
2792
|
+
var POSTS_GET_USAGE = "canonry gbp posts get <project> --post resource [--format json]";
|
|
2793
|
+
var POSTS_CREATE_USAGE = "canonry gbp posts create <project> --request file [--format json]";
|
|
2794
|
+
var REVIEWS_LIVE_USAGE = "canonry gbp reviews live <project> --account accounts/id --location locations/id [--format json]";
|
|
2791
2795
|
var GBP_CLI_COMMANDS = [
|
|
2792
2796
|
{
|
|
2793
2797
|
path: ["gbp", "posts", "attempt"],
|
|
2794
2798
|
access: "stored",
|
|
2795
|
-
usage:
|
|
2799
|
+
usage: POSTS_ATTEMPT_USAGE,
|
|
2796
2800
|
options: { attempt: stringOption(), package: stringOption() },
|
|
2797
2801
|
run: async (input) => {
|
|
2798
|
-
const { gbpLocalPosts } = await import("./gbp-
|
|
2799
|
-
await gbpLocalPosts(requireProject(input, "gbp.posts.attempt",
|
|
2802
|
+
const { gbpLocalPosts } = await import("./gbp-RYA62WDX.js");
|
|
2803
|
+
await gbpLocalPosts(requireProject(input, "gbp.posts.attempt", POSTS_ATTEMPT_USAGE), "attempt", { attempt: getString(input.values, "attempt"), package: getString(input.values, "package") });
|
|
2800
2804
|
}
|
|
2801
2805
|
},
|
|
2802
2806
|
{
|
|
2803
2807
|
path: ["gbp", "posts", "list"],
|
|
2804
2808
|
access: "live",
|
|
2805
|
-
usage:
|
|
2809
|
+
usage: POSTS_LIST_USAGE,
|
|
2806
2810
|
options: { account: stringOption(), location: stringOption(), "page-token": stringOption() },
|
|
2807
2811
|
run: async (input) => {
|
|
2808
|
-
const { gbpLocalPosts } = await import("./gbp-
|
|
2809
|
-
await gbpLocalPosts(requireProject(input, "gbp.posts.list",
|
|
2812
|
+
const { gbpLocalPosts } = await import("./gbp-RYA62WDX.js");
|
|
2813
|
+
await gbpLocalPosts(requireProject(input, "gbp.posts.list", POSTS_LIST_USAGE), "list", { account: getString(input.values, "account"), location: getString(input.values, "location"), pageToken: getString(input.values, "page-token") });
|
|
2810
2814
|
}
|
|
2811
2815
|
},
|
|
2812
2816
|
{
|
|
2813
2817
|
path: ["gbp", "posts", "get"],
|
|
2814
2818
|
access: "live",
|
|
2815
|
-
usage:
|
|
2819
|
+
usage: POSTS_GET_USAGE,
|
|
2816
2820
|
options: { post: stringOption() },
|
|
2817
2821
|
run: async (input) => {
|
|
2818
|
-
const { gbpLocalPosts } = await import("./gbp-
|
|
2819
|
-
await gbpLocalPosts(requireProject(input, "gbp.posts.get",
|
|
2822
|
+
const { gbpLocalPosts } = await import("./gbp-RYA62WDX.js");
|
|
2823
|
+
await gbpLocalPosts(requireProject(input, "gbp.posts.get", POSTS_GET_USAGE), "get", { post: getString(input.values, "post") });
|
|
2820
2824
|
}
|
|
2821
2825
|
},
|
|
2822
2826
|
{
|
|
2823
2827
|
path: ["gbp", "posts", "create"],
|
|
2824
2828
|
access: "write",
|
|
2825
|
-
usage:
|
|
2829
|
+
usage: POSTS_CREATE_USAGE,
|
|
2826
2830
|
options: { request: stringOption() },
|
|
2827
2831
|
run: async (input) => {
|
|
2828
|
-
const { gbpLocalPosts } = await import("./gbp-
|
|
2829
|
-
await gbpLocalPosts(requireProject(input, "gbp.posts.create",
|
|
2832
|
+
const { gbpLocalPosts } = await import("./gbp-RYA62WDX.js");
|
|
2833
|
+
await gbpLocalPosts(requireProject(input, "gbp.posts.create", POSTS_CREATE_USAGE), "create", { request: getString(input.values, "request") });
|
|
2830
2834
|
}
|
|
2831
2835
|
},
|
|
2832
2836
|
{
|
|
2833
2837
|
path: ["gbp", "reviews", "live"],
|
|
2834
2838
|
access: "live",
|
|
2835
|
-
usage:
|
|
2839
|
+
usage: REVIEWS_LIVE_USAGE,
|
|
2836
2840
|
options: { account: stringOption(), location: stringOption() },
|
|
2837
2841
|
run: async (input) => {
|
|
2838
|
-
const { gbpLocalPosts } = await import("./gbp-
|
|
2839
|
-
await gbpLocalPosts(requireProject(input, "gbp.reviews.live",
|
|
2842
|
+
const { gbpLocalPosts } = await import("./gbp-RYA62WDX.js");
|
|
2843
|
+
await gbpLocalPosts(requireProject(input, "gbp.reviews.live", REVIEWS_LIVE_USAGE), "reviews", { account: getString(input.values, "account"), location: getString(input.values, "location") });
|
|
2840
2844
|
}
|
|
2841
2845
|
},
|
|
2842
2846
|
{
|
|
@@ -2846,7 +2850,7 @@ var GBP_CLI_COMMANDS = [
|
|
|
2846
2850
|
"public-url": stringOption()
|
|
2847
2851
|
},
|
|
2848
2852
|
run: async (input) => {
|
|
2849
|
-
const { gbpConnect } = await import("./gbp-
|
|
2853
|
+
const { gbpConnect } = await import("./gbp-RYA62WDX.js");
|
|
2850
2854
|
const project3 = requireProject(input, "gbp.connect", "canonry gbp connect <project> [--public-url <url>] [--format json]");
|
|
2851
2855
|
await gbpConnect(project3, {
|
|
2852
2856
|
publicUrl: getString(input.values, "public-url"),
|
|
@@ -2858,7 +2862,7 @@ var GBP_CLI_COMMANDS = [
|
|
|
2858
2862
|
path: ["gbp", "disconnect"],
|
|
2859
2863
|
usage: "canonry gbp disconnect <project> [--format json]",
|
|
2860
2864
|
run: async (input) => {
|
|
2861
|
-
const { gbpDisconnect } = await import("./gbp-
|
|
2865
|
+
const { gbpDisconnect } = await import("./gbp-RYA62WDX.js");
|
|
2862
2866
|
const project3 = requireProject(input, "gbp.disconnect", "canonry gbp disconnect <project> [--format json]");
|
|
2863
2867
|
await gbpDisconnect(project3, { format: input.format });
|
|
2864
2868
|
}
|
|
@@ -2870,7 +2874,7 @@ var GBP_CLI_COMMANDS = [
|
|
|
2870
2874
|
"selected-only": { type: "boolean" }
|
|
2871
2875
|
},
|
|
2872
2876
|
run: async (input) => {
|
|
2873
|
-
const { gbpLocationsList } = await import("./gbp-
|
|
2877
|
+
const { gbpLocationsList } = await import("./gbp-RYA62WDX.js");
|
|
2874
2878
|
const project3 = requireProject(input, "gbp.locations", "canonry gbp locations <project> [--selected-only] [--format json]");
|
|
2875
2879
|
await gbpLocationsList(project3, {
|
|
2876
2880
|
format: input.format,
|
|
@@ -2882,7 +2886,7 @@ var GBP_CLI_COMMANDS = [
|
|
|
2882
2886
|
path: ["gbp", "accounts"],
|
|
2883
2887
|
usage: "canonry gbp accounts <project> [--format json]",
|
|
2884
2888
|
run: async (input) => {
|
|
2885
|
-
const { gbpAccounts } = await import("./gbp-
|
|
2889
|
+
const { gbpAccounts } = await import("./gbp-RYA62WDX.js");
|
|
2886
2890
|
const project3 = requireProject(input, "gbp.accounts", "canonry gbp accounts <project> [--format json]");
|
|
2887
2891
|
await gbpAccounts(project3, { format: input.format });
|
|
2888
2892
|
}
|
|
@@ -2896,7 +2900,7 @@ var GBP_CLI_COMMANDS = [
|
|
|
2896
2900
|
"switch-account": { type: "boolean" }
|
|
2897
2901
|
},
|
|
2898
2902
|
run: async (input) => {
|
|
2899
|
-
const { gbpLocationsDiscover } = await import("./gbp-
|
|
2903
|
+
const { gbpLocationsDiscover } = await import("./gbp-RYA62WDX.js");
|
|
2900
2904
|
const project3 = requireProject(input, "gbp.locations.discover", "canonry gbp locations discover <project> [--account <accounts/{n}>] [--switch-account] [--no-select-new] [--format json]");
|
|
2901
2905
|
const noSelectNew = getBoolean(input.values, "no-select-new") ?? false;
|
|
2902
2906
|
await gbpLocationsDiscover(project3, {
|
|
@@ -2909,29 +2913,27 @@ var GBP_CLI_COMMANDS = [
|
|
|
2909
2913
|
},
|
|
2910
2914
|
{
|
|
2911
2915
|
path: ["gbp", "locations", "select"],
|
|
2912
|
-
usage:
|
|
2916
|
+
usage: LOCATIONS_SELECT_USAGE,
|
|
2913
2917
|
options: {
|
|
2914
2918
|
location: stringOption()
|
|
2915
2919
|
},
|
|
2916
2920
|
run: async (input) => {
|
|
2917
|
-
const { gbpLocationSelect } = await import("./gbp-
|
|
2918
|
-
const project3 = requireProject(input, "gbp.locations.select",
|
|
2919
|
-
const location =
|
|
2920
|
-
if (!location) throw usageError("canonry gbp locations select <project> --location <locations/{n}>: --location is required");
|
|
2921
|
+
const { gbpLocationSelect } = await import("./gbp-RYA62WDX.js");
|
|
2922
|
+
const project3 = requireProject(input, "gbp.locations.select", LOCATIONS_SELECT_USAGE);
|
|
2923
|
+
const location = requireStringOption(input, "location", { command: "gbp.locations.select", usage: LOCATIONS_SELECT_USAGE, message: "--location is required" });
|
|
2921
2924
|
await gbpLocationSelect(project3, { location, format: input.format });
|
|
2922
2925
|
}
|
|
2923
2926
|
},
|
|
2924
2927
|
{
|
|
2925
2928
|
path: ["gbp", "locations", "deselect"],
|
|
2926
|
-
usage:
|
|
2929
|
+
usage: LOCATIONS_DESELECT_USAGE,
|
|
2927
2930
|
options: {
|
|
2928
2931
|
location: stringOption()
|
|
2929
2932
|
},
|
|
2930
2933
|
run: async (input) => {
|
|
2931
|
-
const { gbpLocationDeselect } = await import("./gbp-
|
|
2932
|
-
const project3 = requireProject(input, "gbp.locations.deselect",
|
|
2933
|
-
const location =
|
|
2934
|
-
if (!location) throw usageError("canonry gbp locations deselect <project> --location <locations/{n}>: --location is required");
|
|
2934
|
+
const { gbpLocationDeselect } = await import("./gbp-RYA62WDX.js");
|
|
2935
|
+
const project3 = requireProject(input, "gbp.locations.deselect", LOCATIONS_DESELECT_USAGE);
|
|
2936
|
+
const location = requireStringOption(input, "location", { command: "gbp.locations.deselect", usage: LOCATIONS_DESELECT_USAGE, message: "--location is required" });
|
|
2935
2937
|
await gbpLocationDeselect(project3, { location, format: input.format });
|
|
2936
2938
|
}
|
|
2937
2939
|
},
|
|
@@ -2945,7 +2947,7 @@ var GBP_CLI_COMMANDS = [
|
|
|
2945
2947
|
wait: { type: "boolean" }
|
|
2946
2948
|
},
|
|
2947
2949
|
run: async (input) => {
|
|
2948
|
-
const { gbpSync } = await import("./gbp-
|
|
2950
|
+
const { gbpSync } = await import("./gbp-RYA62WDX.js");
|
|
2949
2951
|
const project3 = requireProject(input, "gbp.sync", "canonry gbp sync <project> [--location <name>] [--days N] [--months N] [--wait] [--format json]");
|
|
2950
2952
|
await gbpSync(project3, {
|
|
2951
2953
|
location: getString(input.values, "location"),
|
|
@@ -2964,7 +2966,7 @@ var GBP_CLI_COMMANDS = [
|
|
|
2964
2966
|
metric: stringOption()
|
|
2965
2967
|
},
|
|
2966
2968
|
run: async (input) => {
|
|
2967
|
-
const { gbpMetrics } = await import("./gbp-
|
|
2969
|
+
const { gbpMetrics } = await import("./gbp-RYA62WDX.js");
|
|
2968
2970
|
const project3 = requireProject(input, "gbp.metrics", "canonry gbp metrics <project> [--location <name>] [--metric <DailyMetric>] [--format json]");
|
|
2969
2971
|
await gbpMetrics(project3, {
|
|
2970
2972
|
location: getString(input.values, "location"),
|
|
@@ -2980,7 +2982,7 @@ var GBP_CLI_COMMANDS = [
|
|
|
2980
2982
|
location: stringOption()
|
|
2981
2983
|
},
|
|
2982
2984
|
run: async (input) => {
|
|
2983
|
-
const { gbpKeywords } = await import("./gbp-
|
|
2985
|
+
const { gbpKeywords } = await import("./gbp-RYA62WDX.js");
|
|
2984
2986
|
const project3 = requireProject(input, "gbp.keywords", "canonry gbp keywords <project> [--location <name>] [--format json]");
|
|
2985
2987
|
await gbpKeywords(project3, {
|
|
2986
2988
|
location: getString(input.values, "location"),
|
|
@@ -2995,7 +2997,7 @@ var GBP_CLI_COMMANDS = [
|
|
|
2995
2997
|
location: stringOption()
|
|
2996
2998
|
},
|
|
2997
2999
|
run: async (input) => {
|
|
2998
|
-
const { gbpPlaceActions } = await import("./gbp-
|
|
3000
|
+
const { gbpPlaceActions } = await import("./gbp-RYA62WDX.js");
|
|
2999
3001
|
const project3 = requireProject(input, "gbp.place-actions", "canonry gbp place-actions <project> [--location <name>] [--format json]");
|
|
3000
3002
|
await gbpPlaceActions(project3, { location: getString(input.values, "location"), format: input.format });
|
|
3001
3003
|
}
|
|
@@ -3007,7 +3009,7 @@ var GBP_CLI_COMMANDS = [
|
|
|
3007
3009
|
location: stringOption()
|
|
3008
3010
|
},
|
|
3009
3011
|
run: async (input) => {
|
|
3010
|
-
const { gbpLodging } = await import("./gbp-
|
|
3012
|
+
const { gbpLodging } = await import("./gbp-RYA62WDX.js");
|
|
3011
3013
|
const project3 = requireProject(input, "gbp.lodging", "canonry gbp lodging <project> [--location <name>] [--format json]");
|
|
3012
3014
|
await gbpLodging(project3, { location: getString(input.values, "location"), format: input.format });
|
|
3013
3015
|
}
|
|
@@ -3019,7 +3021,7 @@ var GBP_CLI_COMMANDS = [
|
|
|
3019
3021
|
location: stringOption()
|
|
3020
3022
|
},
|
|
3021
3023
|
run: async (input) => {
|
|
3022
|
-
const { gbpAttributes } = await import("./gbp-
|
|
3024
|
+
const { gbpAttributes } = await import("./gbp-RYA62WDX.js");
|
|
3023
3025
|
const project3 = requireProject(input, "gbp.attributes", "canonry gbp attributes <project> [--location <name>] [--format json]");
|
|
3024
3026
|
await gbpAttributes(project3, { location: getString(input.values, "location"), format: input.format });
|
|
3025
3027
|
}
|
|
@@ -3031,7 +3033,7 @@ var GBP_CLI_COMMANDS = [
|
|
|
3031
3033
|
location: stringOption()
|
|
3032
3034
|
},
|
|
3033
3035
|
run: async (input) => {
|
|
3034
|
-
const { gbpPlaces } = await import("./gbp-
|
|
3036
|
+
const { gbpPlaces } = await import("./gbp-RYA62WDX.js");
|
|
3035
3037
|
const project3 = requireProject(input, "gbp.places", "canonry gbp places <project> [--location <name>] [--format json]");
|
|
3036
3038
|
await gbpPlaces(project3, { location: getString(input.values, "location"), format: input.format });
|
|
3037
3039
|
}
|
|
@@ -3045,7 +3047,7 @@ var GBP_CLI_COMMANDS = [
|
|
|
3045
3047
|
limit: stringOption()
|
|
3046
3048
|
},
|
|
3047
3049
|
run: async (input) => {
|
|
3048
|
-
const { gbpReviews } = await import("./gbp-
|
|
3050
|
+
const { gbpReviews } = await import("./gbp-RYA62WDX.js");
|
|
3049
3051
|
const usage = "canonry gbp reviews <project> [--location <name>] [--negative] [--limit N] [--format json]";
|
|
3050
3052
|
const project3 = requireProject(input, "gbp.reviews", usage);
|
|
3051
3053
|
await gbpReviews(project3, {
|
|
@@ -3063,7 +3065,7 @@ var GBP_CLI_COMMANDS = [
|
|
|
3063
3065
|
location: stringOption()
|
|
3064
3066
|
},
|
|
3065
3067
|
run: async (input) => {
|
|
3066
|
-
const { gbpSummary } = await import("./gbp-
|
|
3068
|
+
const { gbpSummary } = await import("./gbp-RYA62WDX.js");
|
|
3067
3069
|
const project3 = requireProject(input, "gbp.summary", "canonry gbp summary <project> [--location <name>] [--format json]");
|
|
3068
3070
|
await gbpSummary(project3, { location: getString(input.values, "location"), format: input.format });
|
|
3069
3071
|
}
|
|
@@ -3102,7 +3104,7 @@ function createGoogleMarketingCliCommands(createClient) {
|
|
|
3102
3104
|
path: ["google-ads", "disconnect"],
|
|
3103
3105
|
usage: "canonry google-ads disconnect <project> [--format json]",
|
|
3104
3106
|
run: async (input) => {
|
|
3105
|
-
const { googleAdsDisconnect } = await import("./google-marketing-
|
|
3107
|
+
const { googleAdsDisconnect } = await import("./google-marketing-UGMDLFPE.js");
|
|
3106
3108
|
const usage = "canonry google-ads disconnect <project> [--format json]";
|
|
3107
3109
|
await googleAdsDisconnect(createClient(), requireProject(input, "google-ads.disconnect", usage), { format: input.format });
|
|
3108
3110
|
}
|
|
@@ -3111,7 +3113,7 @@ function createGoogleMarketingCliCommands(createClient) {
|
|
|
3111
3113
|
path: ["google-ads", "status"],
|
|
3112
3114
|
usage: "canonry google-ads status <project> [--format json]",
|
|
3113
3115
|
run: async (input) => {
|
|
3114
|
-
const { googleAdsStatus } = await import("./google-marketing-
|
|
3116
|
+
const { googleAdsStatus } = await import("./google-marketing-UGMDLFPE.js");
|
|
3115
3117
|
const usage = "canonry google-ads status <project> [--format json]";
|
|
3116
3118
|
await googleAdsStatus(createClient(), requireProject(input, "google-ads.status", usage), { format: input.format });
|
|
3117
3119
|
}
|
|
@@ -3120,7 +3122,7 @@ function createGoogleMarketingCliCommands(createClient) {
|
|
|
3120
3122
|
path: ["google-ads", "customers"],
|
|
3121
3123
|
usage: "canonry google-ads customers <project> [--format json|jsonl]",
|
|
3122
3124
|
run: async (input) => {
|
|
3123
|
-
const { googleAdsCustomers } = await import("./google-marketing-
|
|
3125
|
+
const { googleAdsCustomers } = await import("./google-marketing-UGMDLFPE.js");
|
|
3124
3126
|
const usage = "canonry google-ads customers <project> [--format json|jsonl]";
|
|
3125
3127
|
await googleAdsCustomers(createClient(), requireProject(input, "google-ads.customers", usage), { format: input.format });
|
|
3126
3128
|
}
|
|
@@ -3130,7 +3132,7 @@ function createGoogleMarketingCliCommands(createClient) {
|
|
|
3130
3132
|
usage: "canonry google-ads select <project> --customer <customer-id> [--login-customer <manager-id>] [--format json]",
|
|
3131
3133
|
options: { customer: stringOption(), "login-customer": stringOption() },
|
|
3132
3134
|
run: async (input) => {
|
|
3133
|
-
const { googleAdsSelect } = await import("./google-marketing-
|
|
3135
|
+
const { googleAdsSelect } = await import("./google-marketing-UGMDLFPE.js");
|
|
3134
3136
|
const usage = "canonry google-ads select <project> --customer <customer-id> [--login-customer <manager-id>] [--format json]";
|
|
3135
3137
|
const project3 = requireProject(input, "google-ads.select", usage);
|
|
3136
3138
|
const customerId = requireStringOption(input, "customer", {
|
|
@@ -3148,7 +3150,7 @@ function createGoogleMarketingCliCommands(createClient) {
|
|
|
3148
3150
|
path: ["google-ads", "sync"],
|
|
3149
3151
|
usage: "canonry google-ads sync <project> [--format json]",
|
|
3150
3152
|
run: async (input) => {
|
|
3151
|
-
const { googleAdsSync } = await import("./google-marketing-
|
|
3153
|
+
const { googleAdsSync } = await import("./google-marketing-UGMDLFPE.js");
|
|
3152
3154
|
const usage = "canonry google-ads sync <project> [--format json]";
|
|
3153
3155
|
await googleAdsSync(createClient(), requireProject(input, "google-ads.sync", usage), { format: input.format });
|
|
3154
3156
|
}
|
|
@@ -3159,7 +3161,7 @@ function createGoogleMarketingCliCommands(createClient) {
|
|
|
3159
3161
|
usage: "canonry google-ads performance <project> [--window 7d|14d|30d] [--format json]",
|
|
3160
3162
|
options: { window: stringOption() },
|
|
3161
3163
|
run: async (input) => {
|
|
3162
|
-
const { googleAdsPerformance } = await import("./google-marketing-
|
|
3164
|
+
const { googleAdsPerformance } = await import("./google-marketing-UGMDLFPE.js");
|
|
3163
3165
|
const usage = "canonry google-ads performance <project> [--window 7d|14d|30d] [--format json]";
|
|
3164
3166
|
const project3 = requireProject(input, "google-ads.performance", usage);
|
|
3165
3167
|
const window = performanceWindow(input, usage);
|
|
@@ -3174,7 +3176,7 @@ function createGoogleMarketingCliCommands(createClient) {
|
|
|
3174
3176
|
usage: "canonry google-ads snapshots <project> [--limit <n>] [--cursor <opaque>] [--format json|jsonl]",
|
|
3175
3177
|
options: { limit: stringOption(), cursor: stringOption() },
|
|
3176
3178
|
run: async (input) => {
|
|
3177
|
-
const { googleAdsSnapshots } = await import("./google-marketing-
|
|
3179
|
+
const { googleAdsSnapshots } = await import("./google-marketing-UGMDLFPE.js");
|
|
3178
3180
|
const usage = "canonry google-ads snapshots <project> [--limit <n>] [--cursor <opaque>] [--format json|jsonl]";
|
|
3179
3181
|
await googleAdsSnapshots(createClient(), requireProject(input, "google-ads.snapshots", usage), {
|
|
3180
3182
|
limit: snapshotLimit(input, "google-ads.snapshots", usage),
|
|
@@ -3187,7 +3189,7 @@ function createGoogleMarketingCliCommands(createClient) {
|
|
|
3187
3189
|
path: ["google-ads", "snapshot"],
|
|
3188
3190
|
usage: "canonry google-ads snapshot <project> <snapshot-id> [--format json]",
|
|
3189
3191
|
run: async (input) => {
|
|
3190
|
-
const { googleAdsSnapshot } = await import("./google-marketing-
|
|
3192
|
+
const { googleAdsSnapshot } = await import("./google-marketing-UGMDLFPE.js");
|
|
3191
3193
|
const usage = "canonry google-ads snapshot <project> <snapshot-id> [--format json]";
|
|
3192
3194
|
const project3 = requireProject(input, "google-ads.snapshot", usage);
|
|
3193
3195
|
await googleAdsSnapshot(createClient(), project3, requirePositional(input, 1, {
|
|
@@ -3201,7 +3203,7 @@ function createGoogleMarketingCliCommands(createClient) {
|
|
|
3201
3203
|
path: ["gtm", "disconnect"],
|
|
3202
3204
|
usage: "canonry gtm disconnect <project> [--format json]",
|
|
3203
3205
|
run: async (input) => {
|
|
3204
|
-
const { gtmDisconnect } = await import("./google-marketing-
|
|
3206
|
+
const { gtmDisconnect } = await import("./google-marketing-UGMDLFPE.js");
|
|
3205
3207
|
const usage = "canonry gtm disconnect <project> [--format json]";
|
|
3206
3208
|
await gtmDisconnect(createClient(), requireProject(input, "gtm.disconnect", usage), { format: input.format });
|
|
3207
3209
|
}
|
|
@@ -3210,7 +3212,7 @@ function createGoogleMarketingCliCommands(createClient) {
|
|
|
3210
3212
|
path: ["gtm", "status"],
|
|
3211
3213
|
usage: "canonry gtm status <project> [--format json]",
|
|
3212
3214
|
run: async (input) => {
|
|
3213
|
-
const { gtmStatus } = await import("./google-marketing-
|
|
3215
|
+
const { gtmStatus } = await import("./google-marketing-UGMDLFPE.js");
|
|
3214
3216
|
const usage = "canonry gtm status <project> [--format json]";
|
|
3215
3217
|
await gtmStatus(createClient(), requireProject(input, "gtm.status", usage), { format: input.format });
|
|
3216
3218
|
}
|
|
@@ -3219,7 +3221,7 @@ function createGoogleMarketingCliCommands(createClient) {
|
|
|
3219
3221
|
path: ["gtm", "accounts"],
|
|
3220
3222
|
usage: "canonry gtm accounts <project> [--format json|jsonl]",
|
|
3221
3223
|
run: async (input) => {
|
|
3222
|
-
const { gtmAccounts } = await import("./google-marketing-
|
|
3224
|
+
const { gtmAccounts } = await import("./google-marketing-UGMDLFPE.js");
|
|
3223
3225
|
const usage = "canonry gtm accounts <project> [--format json|jsonl]";
|
|
3224
3226
|
await gtmAccounts(createClient(), requireProject(input, "gtm.accounts", usage), { format: input.format });
|
|
3225
3227
|
}
|
|
@@ -3229,7 +3231,7 @@ function createGoogleMarketingCliCommands(createClient) {
|
|
|
3229
3231
|
usage: "canonry gtm containers <project> --account <account-id> [--format json|jsonl]",
|
|
3230
3232
|
options: { account: stringOption() },
|
|
3231
3233
|
run: async (input) => {
|
|
3232
|
-
const { gtmContainers } = await import("./google-marketing-
|
|
3234
|
+
const { gtmContainers } = await import("./google-marketing-UGMDLFPE.js");
|
|
3233
3235
|
const usage = "canonry gtm containers <project> --account <account-id> [--format json|jsonl]";
|
|
3234
3236
|
const project3 = requireProject(input, "gtm.containers", usage);
|
|
3235
3237
|
await gtmContainers(createClient(), project3, requireStringOption(input, "account", {
|
|
@@ -3244,7 +3246,7 @@ function createGoogleMarketingCliCommands(createClient) {
|
|
|
3244
3246
|
usage: "canonry gtm workspaces <project> --account <account-id> --container <container-id> [--format json|jsonl]",
|
|
3245
3247
|
options: { account: stringOption(), container: stringOption() },
|
|
3246
3248
|
run: async (input) => {
|
|
3247
|
-
const { gtmWorkspaces } = await import("./google-marketing-
|
|
3249
|
+
const { gtmWorkspaces } = await import("./google-marketing-UGMDLFPE.js");
|
|
3248
3250
|
const usage = "canonry gtm workspaces <project> --account <account-id> --container <container-id> [--format json|jsonl]";
|
|
3249
3251
|
const project3 = requireProject(input, "gtm.workspaces", usage);
|
|
3250
3252
|
const accountId = requireStringOption(input, "account", { command: "gtm.workspaces", usage, message: "--account is required" });
|
|
@@ -3257,7 +3259,7 @@ function createGoogleMarketingCliCommands(createClient) {
|
|
|
3257
3259
|
usage: "canonry gtm select <project> --account <account-id> --container <container-id> [--workspace <workspace-id>] [--format json]",
|
|
3258
3260
|
options: { account: stringOption(), container: stringOption(), workspace: stringOption() },
|
|
3259
3261
|
run: async (input) => {
|
|
3260
|
-
const { gtmSelect } = await import("./google-marketing-
|
|
3262
|
+
const { gtmSelect } = await import("./google-marketing-UGMDLFPE.js");
|
|
3261
3263
|
const usage = "canonry gtm select <project> --account <account-id> --container <container-id> [--workspace <workspace-id>] [--format json]";
|
|
3262
3264
|
const project3 = requireProject(input, "gtm.select", usage);
|
|
3263
3265
|
const accountId = requireStringOption(input, "account", { command: "gtm.select", usage, message: "--account is required" });
|
|
@@ -3274,7 +3276,7 @@ function createGoogleMarketingCliCommands(createClient) {
|
|
|
3274
3276
|
path: ["gtm", "sync"],
|
|
3275
3277
|
usage: "canonry gtm sync <project> [--format json]",
|
|
3276
3278
|
run: async (input) => {
|
|
3277
|
-
const { gtmSync } = await import("./google-marketing-
|
|
3279
|
+
const { gtmSync } = await import("./google-marketing-UGMDLFPE.js");
|
|
3278
3280
|
const usage = "canonry gtm sync <project> [--format json]";
|
|
3279
3281
|
await gtmSync(createClient(), requireProject(input, "gtm.sync", usage), { format: input.format });
|
|
3280
3282
|
}
|
|
@@ -3284,7 +3286,7 @@ function createGoogleMarketingCliCommands(createClient) {
|
|
|
3284
3286
|
usage: "canonry gtm snapshots <project> [--limit <n>] [--cursor <opaque>] [--format json|jsonl]",
|
|
3285
3287
|
options: { limit: stringOption(), cursor: stringOption() },
|
|
3286
3288
|
run: async (input) => {
|
|
3287
|
-
const { gtmSnapshots } = await import("./google-marketing-
|
|
3289
|
+
const { gtmSnapshots } = await import("./google-marketing-UGMDLFPE.js");
|
|
3288
3290
|
const usage = "canonry gtm snapshots <project> [--limit <n>] [--cursor <opaque>] [--format json|jsonl]";
|
|
3289
3291
|
await gtmSnapshots(createClient(), requireProject(input, "gtm.snapshots", usage), {
|
|
3290
3292
|
limit: snapshotLimit(input, "gtm.snapshots", usage),
|
|
@@ -3297,7 +3299,7 @@ function createGoogleMarketingCliCommands(createClient) {
|
|
|
3297
3299
|
path: ["gtm", "snapshot"],
|
|
3298
3300
|
usage: "canonry gtm snapshot <project> <snapshot-id> [--format json]",
|
|
3299
3301
|
run: async (input) => {
|
|
3300
|
-
const { gtmSnapshot } = await import("./google-marketing-
|
|
3302
|
+
const { gtmSnapshot } = await import("./google-marketing-UGMDLFPE.js");
|
|
3301
3303
|
const usage = "canonry gtm snapshot <project> <snapshot-id> [--format json]";
|
|
3302
3304
|
const project3 = requireProject(input, "gtm.snapshot", usage);
|
|
3303
3305
|
await gtmSnapshot(createClient(), project3, requirePositional(input, 1, {
|
|
@@ -3311,7 +3313,7 @@ function createGoogleMarketingCliCommands(createClient) {
|
|
|
3311
3313
|
path: ["conversion-tracking", "contracts"],
|
|
3312
3314
|
usage: "canonry conversion-tracking contracts <project> [--format json|jsonl]",
|
|
3313
3315
|
run: async (input) => {
|
|
3314
|
-
const { conversionTrackingContracts } = await import("./google-marketing-
|
|
3316
|
+
const { conversionTrackingContracts } = await import("./google-marketing-UGMDLFPE.js");
|
|
3315
3317
|
const usage = "canonry conversion-tracking contracts <project> [--format json|jsonl]";
|
|
3316
3318
|
await conversionTrackingContracts(createClient(), requireProject(input, "conversion-tracking.contracts", usage), { format: input.format });
|
|
3317
3319
|
}
|
|
@@ -3320,7 +3322,7 @@ function createGoogleMarketingCliCommands(createClient) {
|
|
|
3320
3322
|
path: ["conversion-tracking", "contracts", "get"],
|
|
3321
3323
|
usage: "canonry conversion-tracking contracts get <project> <contract-id> [--format json]",
|
|
3322
3324
|
run: async (input) => {
|
|
3323
|
-
const { conversionTrackingContract } = await import("./google-marketing-
|
|
3325
|
+
const { conversionTrackingContract } = await import("./google-marketing-UGMDLFPE.js");
|
|
3324
3326
|
const usage = "canonry conversion-tracking contracts get <project> <contract-id> [--format json]";
|
|
3325
3327
|
const project3 = requireProject(input, "conversion-tracking.contracts.get", usage);
|
|
3326
3328
|
await conversionTrackingContract(createClient(), project3, requirePositional(input, 1, {
|
|
@@ -3335,7 +3337,7 @@ function createGoogleMarketingCliCommands(createClient) {
|
|
|
3335
3337
|
usage: "canonry conversion-tracking contracts create <project> --input <json-file|-> [--format json]",
|
|
3336
3338
|
options: { input: stringOption() },
|
|
3337
3339
|
run: async (input) => {
|
|
3338
|
-
const { conversionTrackingCreate, readConversionTrackingContractInput } = await import("./google-marketing-
|
|
3340
|
+
const { conversionTrackingCreate, readConversionTrackingContractInput } = await import("./google-marketing-UGMDLFPE.js");
|
|
3339
3341
|
const usage = "canonry conversion-tracking contracts create <project> --input <json-file|-> [--format json]";
|
|
3340
3342
|
await conversionTrackingCreate(createClient(), requireProject(input, "conversion-tracking.contracts.create", usage), readConversionTrackingContractInput(getString(input.values, "input")), { format: input.format });
|
|
3341
3343
|
}
|
|
@@ -3345,7 +3347,7 @@ function createGoogleMarketingCliCommands(createClient) {
|
|
|
3345
3347
|
usage: "canonry conversion-tracking contracts update <project> <contract-id> --input <json-file|-> [--format json]",
|
|
3346
3348
|
options: { input: stringOption() },
|
|
3347
3349
|
run: async (input) => {
|
|
3348
|
-
const { conversionTrackingUpdate, readConversionTrackingContractInput } = await import("./google-marketing-
|
|
3350
|
+
const { conversionTrackingUpdate, readConversionTrackingContractInput } = await import("./google-marketing-UGMDLFPE.js");
|
|
3349
3351
|
const usage = "canonry conversion-tracking contracts update <project> <contract-id> --input <json-file|-> [--format json]";
|
|
3350
3352
|
const project3 = requireProject(input, "conversion-tracking.contracts.update", usage);
|
|
3351
3353
|
const contractId = requirePositional(input, 1, { command: "conversion-tracking.contracts.update", usage, message: "contract id is required" });
|
|
@@ -3356,7 +3358,7 @@ function createGoogleMarketingCliCommands(createClient) {
|
|
|
3356
3358
|
path: ["conversion-tracking", "contracts", "delete"],
|
|
3357
3359
|
usage: "canonry conversion-tracking contracts delete <project> <contract-id> [--format json]",
|
|
3358
3360
|
run: async (input) => {
|
|
3359
|
-
const { conversionTrackingDelete } = await import("./google-marketing-
|
|
3361
|
+
const { conversionTrackingDelete } = await import("./google-marketing-UGMDLFPE.js");
|
|
3360
3362
|
const usage = "canonry conversion-tracking contracts delete <project> <contract-id> [--format json]";
|
|
3361
3363
|
const project3 = requireProject(input, "conversion-tracking.contracts.delete", usage);
|
|
3362
3364
|
await conversionTrackingDelete(createClient(), project3, requirePositional(input, 1, {
|
|
@@ -3370,7 +3372,7 @@ function createGoogleMarketingCliCommands(createClient) {
|
|
|
3370
3372
|
path: ["conversion-tracking", "contracts", "integrity"],
|
|
3371
3373
|
usage: "canonry conversion-tracking contracts integrity <project> <contract-id> [--format json|jsonl]",
|
|
3372
3374
|
run: async (input) => {
|
|
3373
|
-
const { conversionTrackingIntegrity } = await import("./google-marketing-
|
|
3375
|
+
const { conversionTrackingIntegrity } = await import("./google-marketing-UGMDLFPE.js");
|
|
3374
3376
|
const usage = "canonry conversion-tracking contracts integrity <project> <contract-id> [--format json|jsonl]";
|
|
3375
3377
|
const project3 = requireProject(input, "conversion-tracking.contracts.integrity", usage);
|
|
3376
3378
|
await conversionTrackingIntegrity(createClient(), project3, requirePositional(input, 1, {
|
|
@@ -3520,7 +3522,7 @@ var TRAFFIC_CLI_COMMANDS = [
|
|
|
3520
3522
|
help: "Stored user-triggered agent request sequences, with trust levels, correlation and coverage limits. Likely fake requests are counted, not listed. No provider calls. Default limit: 50 journeys.",
|
|
3521
3523
|
options: agentJourneyOptions,
|
|
3522
3524
|
run: async (input) => {
|
|
3523
|
-
const { trafficAgentJourneys } = await import("./agent-journeys-
|
|
3525
|
+
const { trafficAgentJourneys } = await import("./agent-journeys-ASY5XCAJ.js");
|
|
3524
3526
|
const project3 = requireProject(input, "traffic.agent-journeys", AGENT_JOURNEYS_USAGE);
|
|
3525
3527
|
await trafficAgentJourneys(project3, readAgentJourneyOptions(input, "traffic.agent-journeys", AGENT_JOURNEYS_USAGE));
|
|
3526
3528
|
}
|
|
@@ -3531,7 +3533,7 @@ var TRAFFIC_CLI_COMMANDS = [
|
|
|
3531
3533
|
help: "Read one agent request timeline. Keep the list window and selectors; correlation does not prove one user task. Default limit: 100 requests.",
|
|
3532
3534
|
options: agentJourneyOptions,
|
|
3533
3535
|
run: async (input) => {
|
|
3534
|
-
const { trafficAgentJourney } = await import("./agent-journeys-
|
|
3536
|
+
const { trafficAgentJourney } = await import("./agent-journeys-ASY5XCAJ.js");
|
|
3535
3537
|
const project3 = requireProject(input, "traffic.agent-journey", AGENT_JOURNEY_USAGE);
|
|
3536
3538
|
const journeyId = requirePositional(input, 1, { command: "traffic.agent-journey", usage: AGENT_JOURNEY_USAGE, message: "journey id is required" });
|
|
3537
3539
|
await trafficAgentJourney(project3, journeyId, readAgentJourneyOptions(input, "traffic.agent-journey", AGENT_JOURNEY_USAGE));
|
|
@@ -3545,7 +3547,7 @@ var TRAFFIC_CLI_COMMANDS = [
|
|
|
3545
3547
|
help: "Complete stored traffic totals and breakdowns for the selected window. Project-wide for Simple and Advanced portfolios; no provider calls or sync.",
|
|
3546
3548
|
options: { period: stringOption() },
|
|
3547
3549
|
run: async (input) => {
|
|
3548
|
-
const { trafficAnalytics } = await import("./traffic-
|
|
3550
|
+
const { trafficAnalytics } = await import("./traffic-EPWP3D2K.js");
|
|
3549
3551
|
const project3 = requireProject(input, "traffic.analytics", "canonry traffic analytics <project> [--period 7|14|30|90]");
|
|
3550
3552
|
await trafficAnalytics(project3, { period: getString(input.values, "window") ?? getString(input.values, "period"), format: input.format });
|
|
3551
3553
|
}
|
|
@@ -3557,8 +3559,8 @@ var TRAFFIC_CLI_COMMANDS = [
|
|
|
3557
3559
|
help: "DB-only diagnostic. Raw headlines stay unchanged. Candidate bursts are not confirmed automation; adjusted counts are estimates. Property, Target and market attribution are unavailable. The observed GA quotient has unknown comparable coverage.",
|
|
3558
3560
|
options: { "start-date": stringOption(), "end-date": stringOption(), source: stringOption(), "burst-threshold": stringOption(), "ratio-threshold": stringOption(), limit: stringOption() },
|
|
3559
3561
|
run: async (input) => {
|
|
3560
|
-
const { trafficReferralAssessment } = await import("./traffic-
|
|
3561
|
-
const project3 = requireProject(input, "traffic.referral-assessment", "canonry traffic referral-assessment <project> --start
|
|
3562
|
+
const { trafficReferralAssessment } = await import("./traffic-EPWP3D2K.js");
|
|
3563
|
+
const project3 = requireProject(input, "traffic.referral-assessment", "canonry traffic referral-assessment <project> --start YYYY-MM-DD --end YYYY-MM-DD");
|
|
3562
3564
|
await trafficReferralAssessment(project3, {
|
|
3563
3565
|
startDate: getString(input.values, "start") ?? getString(input.values, "start-date"),
|
|
3564
3566
|
endDate: getString(input.values, "end") ?? getString(input.values, "end-date"),
|
|
@@ -3590,7 +3592,7 @@ var TRAFFIC_CLI_COMMANDS = [
|
|
|
3590
3592
|
"confirm-fail-open": { type: "boolean" }
|
|
3591
3593
|
},
|
|
3592
3594
|
run: async (input) => {
|
|
3593
|
-
const { trafficConnectCloudflare, DEFAULT_CLOUDFLARE_QUEUE_RETENTION_SECONDS } = await import("./traffic-
|
|
3595
|
+
const { trafficConnectCloudflare, DEFAULT_CLOUDFLARE_QUEUE_RETENTION_SECONDS } = await import("./traffic-EPWP3D2K.js");
|
|
3594
3596
|
const forwardPageViews = getBoolean(input.values, "forward-page-views");
|
|
3595
3597
|
const noForwardPageViews = getBoolean(input.values, "no-forward-page-views");
|
|
3596
3598
|
if (forwardPageViews && noForwardPageViews) {
|
|
@@ -3606,7 +3608,10 @@ var TRAFFIC_CLI_COMMANDS = [
|
|
|
3606
3608
|
);
|
|
3607
3609
|
const deliveryMode = getString(input.values, "delivery-mode") ?? "direct-push";
|
|
3608
3610
|
if (deliveryMode !== "direct-push" && deliveryMode !== "queue-pull") {
|
|
3609
|
-
throw
|
|
3611
|
+
throw usageError("Error: --delivery-mode must be direct-push or queue-pull", {
|
|
3612
|
+
message: "--delivery-mode must be direct-push or queue-pull",
|
|
3613
|
+
details: { command: "traffic.connect.cloudflare", option: "delivery-mode", value: deliveryMode }
|
|
3614
|
+
});
|
|
3610
3615
|
}
|
|
3611
3616
|
const retentionSeconds = parseIntegerOption(input, "retention-seconds", {
|
|
3612
3617
|
command: "traffic.connect.cloudflare",
|
|
@@ -3644,16 +3649,14 @@ var TRAFFIC_CLI_COMMANDS = [
|
|
|
3644
3649
|
"display-name": stringOption()
|
|
3645
3650
|
},
|
|
3646
3651
|
run: async (input) => {
|
|
3647
|
-
const { trafficConnectCloudRun } = await import("./traffic-
|
|
3652
|
+
const { trafficConnectCloudRun } = await import("./traffic-EPWP3D2K.js");
|
|
3648
3653
|
const project3 = requireProject(
|
|
3649
3654
|
input,
|
|
3650
3655
|
"traffic.connect.cloud-run",
|
|
3651
3656
|
"canonry traffic connect cloud-run <project> --gcp-project <id> [--service-account-key <path>]"
|
|
3652
3657
|
);
|
|
3653
|
-
const gcpProject = getString(input.values, "gcp-project");
|
|
3654
|
-
if (!gcpProject) throw new Error("--gcp-project is required");
|
|
3655
3658
|
await trafficConnectCloudRun(project3, {
|
|
3656
|
-
gcpProject,
|
|
3659
|
+
gcpProject: getString(input.values, "gcp-project"),
|
|
3657
3660
|
service: getString(input.values, "service"),
|
|
3658
3661
|
location: getString(input.values, "location"),
|
|
3659
3662
|
serviceAccountKey: getString(input.values, "service-account-key"),
|
|
@@ -3674,19 +3677,15 @@ var TRAFFIC_CLI_COMMANDS = [
|
|
|
3674
3677
|
"display-name": stringOption()
|
|
3675
3678
|
},
|
|
3676
3679
|
run: async (input) => {
|
|
3677
|
-
const { trafficConnectWordpress } = await import("./traffic-
|
|
3680
|
+
const { trafficConnectWordpress } = await import("./traffic-EPWP3D2K.js");
|
|
3678
3681
|
const project3 = requireProject(
|
|
3679
3682
|
input,
|
|
3680
3683
|
"traffic.connect.wordpress",
|
|
3681
3684
|
"canonry traffic connect wordpress <project> --url <wp-site-url> --username <wp-user> (--app-password <pw> | --app-password-file <path>)"
|
|
3682
3685
|
);
|
|
3683
|
-
const url = getString(input.values, "url");
|
|
3684
|
-
if (!url) throw new Error("--url is required");
|
|
3685
|
-
const username = getString(input.values, "username");
|
|
3686
|
-
if (!username) throw new Error("--username is required");
|
|
3687
3686
|
await trafficConnectWordpress(project3, {
|
|
3688
|
-
url,
|
|
3689
|
-
username,
|
|
3687
|
+
url: getString(input.values, "url"),
|
|
3688
|
+
username: getString(input.values, "username"),
|
|
3690
3689
|
appPassword: getString(input.values, "app-password"),
|
|
3691
3690
|
appPasswordFile: getString(input.values, "app-password-file"),
|
|
3692
3691
|
displayName: getString(input.values, "display-name"),
|
|
@@ -3706,19 +3705,15 @@ var TRAFFIC_CLI_COMMANDS = [
|
|
|
3706
3705
|
"display-name": stringOption()
|
|
3707
3706
|
},
|
|
3708
3707
|
run: async (input) => {
|
|
3709
|
-
const { trafficConnectVercel } = await import("./traffic-
|
|
3708
|
+
const { trafficConnectVercel } = await import("./traffic-EPWP3D2K.js");
|
|
3710
3709
|
const project3 = requireProject(
|
|
3711
3710
|
input,
|
|
3712
3711
|
"traffic.connect.vercel",
|
|
3713
3712
|
"canonry traffic connect vercel <project> --project-id <prj> --team-id <team> (--token <token> | --token-file <path>)"
|
|
3714
3713
|
);
|
|
3715
|
-
const projectId = getString(input.values, "project-id");
|
|
3716
|
-
if (!projectId) throw new Error("--project-id is required");
|
|
3717
|
-
const teamId = getString(input.values, "team-id");
|
|
3718
|
-
if (!teamId) throw new Error("--team-id is required");
|
|
3719
3714
|
await trafficConnectVercel(project3, {
|
|
3720
|
-
projectId,
|
|
3721
|
-
teamId,
|
|
3715
|
+
projectId: getString(input.values, "project-id"),
|
|
3716
|
+
teamId: getString(input.values, "team-id"),
|
|
3722
3717
|
token: getString(input.values, "token"),
|
|
3723
3718
|
tokenFile: getString(input.values, "token-file"),
|
|
3724
3719
|
environment: getString(input.values, "environment"),
|
|
@@ -3745,15 +3740,13 @@ var TRAFFIC_CLI_COMMANDS = [
|
|
|
3745
3740
|
source: stringOption()
|
|
3746
3741
|
},
|
|
3747
3742
|
run: async (input) => {
|
|
3748
|
-
const { trafficActivate } = await import("./traffic-
|
|
3743
|
+
const { trafficActivate } = await import("./traffic-EPWP3D2K.js");
|
|
3749
3744
|
const project3 = requireProject(
|
|
3750
3745
|
input,
|
|
3751
3746
|
"traffic.activate",
|
|
3752
3747
|
"canonry traffic activate <project> --source <id>"
|
|
3753
3748
|
);
|
|
3754
|
-
|
|
3755
|
-
if (!sourceId) throw new Error("--source <id> is required");
|
|
3756
|
-
await trafficActivate(project3, { sourceId, format: input.format });
|
|
3749
|
+
await trafficActivate(project3, { sourceId: getString(input.values, "source"), format: input.format });
|
|
3757
3750
|
}
|
|
3758
3751
|
},
|
|
3759
3752
|
{
|
|
@@ -3764,21 +3757,19 @@ var TRAFFIC_CLI_COMMANDS = [
|
|
|
3764
3757
|
"since-minutes": stringOption()
|
|
3765
3758
|
},
|
|
3766
3759
|
run: async (input) => {
|
|
3767
|
-
const { trafficSync } = await import("./traffic-
|
|
3760
|
+
const { trafficSync } = await import("./traffic-EPWP3D2K.js");
|
|
3768
3761
|
const project3 = requireProject(
|
|
3769
3762
|
input,
|
|
3770
3763
|
"traffic.sync",
|
|
3771
3764
|
"canonry traffic sync <project> --source <id> [--since-minutes 43200]"
|
|
3772
3765
|
);
|
|
3773
|
-
const source = getString(input.values, "source");
|
|
3774
|
-
if (!source) throw new Error("--source <id> is required");
|
|
3775
3766
|
const sinceMinutes = parseIntegerOption(input, "since-minutes", {
|
|
3776
3767
|
command: "traffic.sync",
|
|
3777
3768
|
usage: "canonry traffic sync <project> --source <id> [--since-minutes 43200]",
|
|
3778
3769
|
message: "--since-minutes must be an integer"
|
|
3779
3770
|
});
|
|
3780
3771
|
await trafficSync(project3, {
|
|
3781
|
-
source,
|
|
3772
|
+
source: getString(input.values, "source"),
|
|
3782
3773
|
sinceMinutes,
|
|
3783
3774
|
format: input.format
|
|
3784
3775
|
});
|
|
@@ -3793,21 +3784,19 @@ var TRAFFIC_CLI_COMMANDS = [
|
|
|
3793
3784
|
wait: { type: "boolean" }
|
|
3794
3785
|
},
|
|
3795
3786
|
run: async (input) => {
|
|
3796
|
-
const { trafficBackfill } = await import("./traffic-
|
|
3787
|
+
const { trafficBackfill } = await import("./traffic-EPWP3D2K.js");
|
|
3797
3788
|
const project3 = requireProject(
|
|
3798
3789
|
input,
|
|
3799
3790
|
"traffic.backfill",
|
|
3800
3791
|
"canonry traffic backfill <project> --source <id> [--days 30] [--wait]"
|
|
3801
3792
|
);
|
|
3802
|
-
const source = getString(input.values, "source");
|
|
3803
|
-
if (!source) throw new Error("--source <id> is required");
|
|
3804
3793
|
const days = parseIntegerOption(input, "days", {
|
|
3805
3794
|
command: "traffic.backfill",
|
|
3806
3795
|
usage: "canonry traffic backfill <project> --source <id> [--days 30] [--wait]",
|
|
3807
3796
|
message: "--days must be a positive integer"
|
|
3808
3797
|
});
|
|
3809
3798
|
await trafficBackfill(project3, {
|
|
3810
|
-
source,
|
|
3799
|
+
source: getString(input.values, "source"),
|
|
3811
3800
|
days,
|
|
3812
3801
|
wait: getBoolean(input.values, "wait"),
|
|
3813
3802
|
format: input.format
|
|
@@ -3822,16 +3811,14 @@ var TRAFFIC_CLI_COMMANDS = [
|
|
|
3822
3811
|
"advance-to-now": { type: "boolean" }
|
|
3823
3812
|
},
|
|
3824
3813
|
run: async (input) => {
|
|
3825
|
-
const { trafficReset } = await import("./traffic-
|
|
3814
|
+
const { trafficReset } = await import("./traffic-EPWP3D2K.js");
|
|
3826
3815
|
const project3 = requireProject(
|
|
3827
3816
|
input,
|
|
3828
3817
|
"traffic.reset",
|
|
3829
3818
|
"canonry traffic reset <project> --source <id> --advance-to-now"
|
|
3830
3819
|
);
|
|
3831
|
-
const source = getString(input.values, "source");
|
|
3832
|
-
if (!source) throw new Error("--source <id> is required");
|
|
3833
3820
|
await trafficReset(project3, {
|
|
3834
|
-
source,
|
|
3821
|
+
source: getString(input.values, "source"),
|
|
3835
3822
|
advanceToNow: getBoolean(input.values, "advance-to-now"),
|
|
3836
3823
|
format: input.format
|
|
3837
3824
|
});
|
|
@@ -3844,22 +3831,20 @@ var TRAFFIC_CLI_COMMANDS = [
|
|
|
3844
3831
|
source: stringOption()
|
|
3845
3832
|
},
|
|
3846
3833
|
run: async (input) => {
|
|
3847
|
-
const { trafficDeclareGap } = await import("./traffic-
|
|
3834
|
+
const { trafficDeclareGap } = await import("./traffic-EPWP3D2K.js");
|
|
3848
3835
|
const project3 = requireProject(
|
|
3849
3836
|
input,
|
|
3850
3837
|
"traffic.declare-gap",
|
|
3851
3838
|
"canonry traffic declare-gap <project> --source <id>"
|
|
3852
3839
|
);
|
|
3853
|
-
|
|
3854
|
-
if (!source) throw new Error("--source <id> is required");
|
|
3855
|
-
await trafficDeclareGap(project3, { source, format: input.format });
|
|
3840
|
+
await trafficDeclareGap(project3, { source: getString(input.values, "source"), format: input.format });
|
|
3856
3841
|
}
|
|
3857
3842
|
},
|
|
3858
3843
|
{
|
|
3859
3844
|
path: ["traffic", "sources"],
|
|
3860
3845
|
usage: "canonry traffic sources <project> [--format json]",
|
|
3861
3846
|
run: async (input) => {
|
|
3862
|
-
const { trafficSources } = await import("./traffic-
|
|
3847
|
+
const { trafficSources } = await import("./traffic-EPWP3D2K.js");
|
|
3863
3848
|
const project3 = requireProject(
|
|
3864
3849
|
input,
|
|
3865
3850
|
"traffic.sources",
|
|
@@ -3872,7 +3857,7 @@ var TRAFFIC_CLI_COMMANDS = [
|
|
|
3872
3857
|
path: ["traffic", "status"],
|
|
3873
3858
|
usage: "canonry traffic status <project> [--format json]",
|
|
3874
3859
|
run: async (input) => {
|
|
3875
|
-
const { trafficStatus } = await import("./traffic-
|
|
3860
|
+
const { trafficStatus } = await import("./traffic-EPWP3D2K.js");
|
|
3876
3861
|
const project3 = requireProject(
|
|
3877
3862
|
input,
|
|
3878
3863
|
"traffic.status",
|
|
@@ -3887,7 +3872,7 @@ var TRAFFIC_CLI_COMMANDS = [
|
|
|
3887
3872
|
help: "Stored sampled tail with 30-day retention, not visits. Unknown traffic is excluded by default. No provider calls.",
|
|
3888
3873
|
options: { kind: stringOption(), source: stringOption(), since: stringOption(), until: stringOption(), "since-minutes": stringOption(), path: stringOption(), limit: stringOption(), offset: stringOption() },
|
|
3889
3874
|
run: async (input) => {
|
|
3890
|
-
const { trafficSamples } = await import("./traffic-
|
|
3875
|
+
const { trafficSamples } = await import("./traffic-EPWP3D2K.js");
|
|
3891
3876
|
const project3 = requireProject(input, "traffic.samples", "canonry traffic samples <project>");
|
|
3892
3877
|
const integer = (name) => parseIntegerOption(input, name, { command: "traffic.samples", usage: "canonry traffic samples <project>", message: `--${name} must be an integer` });
|
|
3893
3878
|
await trafficSamples(project3, { kind: getString(input.values, "kind"), sourceId: getString(input.values, "source"), since: getString(input.values, "since"), until: getString(input.values, "until"), sinceMinutes: integer("since-minutes"), path: getString(input.values, "path"), limit: integer("limit"), offset: integer("offset"), format: input.format });
|
|
@@ -3899,7 +3884,7 @@ var TRAFFIC_CLI_COMMANDS = [
|
|
|
3899
3884
|
help: "Bots and agents no rule recognizes yet, by the name in their user agent, busiest first. Default window: last 30 days. Stored rows only, no provider calls.",
|
|
3900
3885
|
options: { source: stringOption(), since: stringOption(), until: stringOption(), limit: stringOption() },
|
|
3901
3886
|
run: async (input) => {
|
|
3902
|
-
const { trafficUnrecognized } = await import("./traffic-
|
|
3887
|
+
const { trafficUnrecognized } = await import("./traffic-EPWP3D2K.js");
|
|
3903
3888
|
const project3 = requireProject(input, "traffic.unrecognized", "canonry traffic unrecognized <project>");
|
|
3904
3889
|
const limit = parseIntegerOption(input, "limit", { command: "traffic.unrecognized", usage: "canonry traffic unrecognized <project>", message: "--limit must be an integer" });
|
|
3905
3890
|
await trafficUnrecognized(project3, { sourceId: getString(input.values, "source"), since: getString(input.values, "since"), until: getString(input.values, "until"), limit, format: input.format });
|
|
@@ -3922,7 +3907,7 @@ var TRAFFIC_CLI_COMMANDS = [
|
|
|
3922
3907
|
"group-by": stringOption()
|
|
3923
3908
|
},
|
|
3924
3909
|
run: async (input) => {
|
|
3925
|
-
const { trafficEvents } = await import("./traffic-
|
|
3910
|
+
const { trafficEvents } = await import("./traffic-EPWP3D2K.js");
|
|
3926
3911
|
const project3 = requireProject(
|
|
3927
3912
|
input,
|
|
3928
3913
|
"traffic.events",
|
|
@@ -3989,7 +3974,7 @@ var JOURNEYS_CLI_COMMANDS = [
|
|
|
3989
3974
|
help: "Stored AI visitor journeys: visitors whose first AI visit fell in the window and how many came back. No provider calls.",
|
|
3990
3975
|
options: { since: stringOption(), until: stringOption() },
|
|
3991
3976
|
run: async (input) => {
|
|
3992
|
-
const { journeysSummary } = await import("./journeys-
|
|
3977
|
+
const { journeysSummary } = await import("./journeys-IQLWLZBY.js");
|
|
3993
3978
|
const project3 = requireProject(input, "journeys.summary", SUMMARY_USAGE);
|
|
3994
3979
|
await journeysSummary(project3, { since: getString(input.values, "since"), until: getString(input.values, "until"), format: input.format });
|
|
3995
3980
|
}
|
|
@@ -4000,7 +3985,7 @@ var JOURNEYS_CLI_COMMANDS = [
|
|
|
4000
3985
|
help: "Stored AI visitors, newest first AI visit first, with their visits. No provider calls.",
|
|
4001
3986
|
options: { since: stringOption(), until: stringOption(), engine: stringOption(), returned: stringOption(), "key-basis": stringOption(), limit: stringOption(), offset: stringOption() },
|
|
4002
3987
|
run: async (input) => {
|
|
4003
|
-
const { journeysList } = await import("./journeys-
|
|
3988
|
+
const { journeysList } = await import("./journeys-IQLWLZBY.js");
|
|
4004
3989
|
const project3 = requireProject(input, "journeys.list", LIST_USAGE);
|
|
4005
3990
|
const integer = (name) => parseIntegerOption(input, name, { command: "journeys.list", usage: LIST_USAGE, message: `--${name} must be an integer` });
|
|
4006
3991
|
await journeysList(project3, {
|
|
@@ -4021,7 +4006,7 @@ var JOURNEYS_CLI_COMMANDS = [
|
|
|
4021
4006
|
help: "Stored visits and requests for one AI visitor, a page at a time. No provider calls.",
|
|
4022
4007
|
options: { events: stringOption(), limit: stringOption(), offset: stringOption() },
|
|
4023
4008
|
run: async (input) => {
|
|
4024
|
-
const { journeyShow } = await import("./journeys-
|
|
4009
|
+
const { journeyShow } = await import("./journeys-IQLWLZBY.js");
|
|
4025
4010
|
const project3 = requireProject(input, "journeys.show", SHOW_USAGE);
|
|
4026
4011
|
const visitorKey = requirePositional(input, 1, { command: "journeys.show", usage: SHOW_USAGE, message: "visitor key is required" });
|
|
4027
4012
|
const integer = (name) => parseIntegerOption(input, name, { command: "journeys.show", usage: SHOW_USAGE, message: `--${name} must be an integer` });
|
|
@@ -4072,7 +4057,7 @@ var COMPETITOR_CLI_COMMANDS = [
|
|
|
4072
4057
|
supportsDryRun: true,
|
|
4073
4058
|
accessFor: ({ dryRun }) => dryRun ? OperationAccesses.stored : OperationAccesses.write,
|
|
4074
4059
|
run: async (input) => {
|
|
4075
|
-
const { addCompetitors } = await import("./competitor-
|
|
4060
|
+
const { addCompetitors } = await import("./competitor-IC6KRZAD.js");
|
|
4076
4061
|
const project3 = requireProject(input, "competitor.add", ADD_USAGE);
|
|
4077
4062
|
const domains = input.positionals.slice(1);
|
|
4078
4063
|
if (domains.length === 0) {
|
|
@@ -4101,7 +4086,7 @@ Usage: ${ADD_USAGE}`, {
|
|
|
4101
4086
|
usage: IMPORT_USAGE,
|
|
4102
4087
|
options: { "acknowledge-bulk-add": { type: "boolean" }, ...WAIT_OPTIONS },
|
|
4103
4088
|
run: async (input) => {
|
|
4104
|
-
const { importCompetitors } = await import("./competitor-
|
|
4089
|
+
const { importCompetitors } = await import("./competitor-IC6KRZAD.js");
|
|
4105
4090
|
const project3 = requireProject(input, "competitor.import", IMPORT_USAGE);
|
|
4106
4091
|
const file = requirePositional(input, 1, { command: "competitor.import", usage: IMPORT_USAGE, message: "input file is required" });
|
|
4107
4092
|
await importCompetitors(project3, file, input.format, { acknowledgeBulkAdd: getBoolean(input.values, "acknowledge-bulk-add"), wait: getBoolean(input.values, "wait"), waitTimeout: getString(input.values, "wait-timeout") });
|
|
@@ -4119,7 +4104,7 @@ Usage: ${ADD_USAGE}`, {
|
|
|
4119
4104
|
supportsDryRun: true,
|
|
4120
4105
|
accessFor: ({ values }) => getBoolean(values, "apply") ? OperationAccesses.write : OperationAccesses.stored,
|
|
4121
4106
|
run: async (input) => {
|
|
4122
|
-
const { detectCompetitorAutoAliases } = await import("./competitor-
|
|
4107
|
+
const { detectCompetitorAutoAliases } = await import("./competitor-IC6KRZAD.js");
|
|
4123
4108
|
const project3 = requireProject(input, "competitor.aliases.detect", DETECT_USAGE);
|
|
4124
4109
|
await detectCompetitorAutoAliases(project3, { apply: getBoolean(input.values, "apply"), ...input.dryRun ? { dryRun: true } : {}, format: input.format });
|
|
4125
4110
|
}
|
|
@@ -4142,7 +4127,7 @@ Usage: ${ADD_USAGE}`, {
|
|
|
4142
4127
|
return mutating && !dryRun ? OperationAccesses.write : OperationAccesses.stored;
|
|
4143
4128
|
},
|
|
4144
4129
|
run: async (input) => {
|
|
4145
|
-
const { competitorAliases } = await import("./competitor-
|
|
4130
|
+
const { competitorAliases } = await import("./competitor-IC6KRZAD.js");
|
|
4146
4131
|
const project3 = requireProject(input, "competitor.aliases", ALIASES_USAGE);
|
|
4147
4132
|
const domain = requirePositional(input, 1, {
|
|
4148
4133
|
command: "competitor.aliases",
|
|
@@ -4179,7 +4164,7 @@ Usage: ${ALIASES_USAGE}`, {
|
|
|
4179
4164
|
usage: "canonry competitor remove <project> <domain...> [--dry-run] [--format json]",
|
|
4180
4165
|
accessFor: ({ dryRun }) => dryRun ? OperationAccesses.stored : OperationAccesses.write,
|
|
4181
4166
|
run: async (input) => {
|
|
4182
|
-
const { removeCompetitors } = await import("./competitor-
|
|
4167
|
+
const { removeCompetitors } = await import("./competitor-IC6KRZAD.js");
|
|
4183
4168
|
const project3 = requireProject(input, "competitor.remove", "canonry competitor remove <project> <domain...> [--dry-run] [--format json]");
|
|
4184
4169
|
const domains = input.positionals.slice(1);
|
|
4185
4170
|
if (domains.length === 0) {
|
|
@@ -4200,7 +4185,7 @@ Usage: ${ALIASES_USAGE}`, {
|
|
|
4200
4185
|
usage: "canonry competitor delete <project> <domain...> [--dry-run] [--format json]",
|
|
4201
4186
|
accessFor: ({ dryRun }) => dryRun ? OperationAccesses.stored : OperationAccesses.write,
|
|
4202
4187
|
run: async (input) => {
|
|
4203
|
-
const { removeCompetitors } = await import("./competitor-
|
|
4188
|
+
const { removeCompetitors } = await import("./competitor-IC6KRZAD.js");
|
|
4204
4189
|
const project3 = requireProject(input, "competitor.delete", "canonry competitor delete <project> <domain...> [--dry-run] [--format json]");
|
|
4205
4190
|
const domains = input.positionals.slice(1);
|
|
4206
4191
|
if (domains.length === 0) {
|
|
@@ -4219,7 +4204,7 @@ Usage: ${ALIASES_USAGE}`, {
|
|
|
4219
4204
|
path: ["competitor", "list"],
|
|
4220
4205
|
usage: "canonry competitor list <project> [--format json]",
|
|
4221
4206
|
run: async (input) => {
|
|
4222
|
-
const { listCompetitors } = await import("./competitor-
|
|
4207
|
+
const { listCompetitors } = await import("./competitor-IC6KRZAD.js");
|
|
4223
4208
|
const project3 = requireProject(input, "competitor.list", "canonry competitor list <project>");
|
|
4224
4209
|
await listCompetitors(project3, input.format);
|
|
4225
4210
|
}
|
|
@@ -4241,7 +4226,7 @@ Usage: ${ALIASES_USAGE}`, {
|
|
|
4241
4226
|
answers: stringOption()
|
|
4242
4227
|
},
|
|
4243
4228
|
run: async (input) => {
|
|
4244
|
-
const { showCompetitorLandscape } = await import("./competitor-
|
|
4229
|
+
const { showCompetitorLandscape } = await import("./competitor-IC6KRZAD.js");
|
|
4245
4230
|
const project3 = requireProject(input, "competitor.landscape", LANDSCAPE_USAGE);
|
|
4246
4231
|
const scope = parseLandscapeScope(getString(input.values, "scope"));
|
|
4247
4232
|
const groupKey = getString(input.values, "group-key");
|
|
@@ -4288,7 +4273,7 @@ Usage: ${ALIASES_USAGE}`, {
|
|
|
4288
4273
|
limit: stringOption()
|
|
4289
4274
|
},
|
|
4290
4275
|
run: async (input) => {
|
|
4291
|
-
const { suggestCompetitors } = await import("./competitor-
|
|
4276
|
+
const { suggestCompetitors } = await import("./competitor-IC6KRZAD.js");
|
|
4292
4277
|
const project3 = requireProject(input, "competitor.suggest", SUGGEST_USAGE);
|
|
4293
4278
|
const minAnswers = parseIntegerOption(input, "min-answers", {
|
|
4294
4279
|
command: "competitor.suggest",
|
|
@@ -4339,7 +4324,7 @@ var GOOGLE_CLI_COMMANDS = [
|
|
|
4339
4324
|
"public-url": stringOption()
|
|
4340
4325
|
},
|
|
4341
4326
|
run: async (input) => {
|
|
4342
|
-
const { googleConnect } = await import("./google-
|
|
4327
|
+
const { googleConnect } = await import("./google-5HRSXPUF.js");
|
|
4343
4328
|
const project3 = requireProject(input, "google.connect", "canonry google connect <project> [--type gsc|ga4] [--public-url <url>] [--format json]");
|
|
4344
4329
|
await googleConnect(project3, {
|
|
4345
4330
|
type: getString(input.values, "type") ?? "gsc",
|
|
@@ -4355,7 +4340,7 @@ var GOOGLE_CLI_COMMANDS = [
|
|
|
4355
4340
|
type: stringOption()
|
|
4356
4341
|
},
|
|
4357
4342
|
run: async (input) => {
|
|
4358
|
-
const { googleDisconnect } = await import("./google-
|
|
4343
|
+
const { googleDisconnect } = await import("./google-5HRSXPUF.js");
|
|
4359
4344
|
const project3 = requireProject(input, "google.disconnect", "canonry google disconnect <project> [--type gsc|ga4] [--format json]");
|
|
4360
4345
|
await googleDisconnect(project3, {
|
|
4361
4346
|
type: getString(input.values, "type") ?? "gsc",
|
|
@@ -4367,7 +4352,7 @@ var GOOGLE_CLI_COMMANDS = [
|
|
|
4367
4352
|
path: ["google", "status"],
|
|
4368
4353
|
usage: "canonry google status <project> [--format json]",
|
|
4369
4354
|
run: async (input) => {
|
|
4370
|
-
const { googleStatus } = await import("./google-
|
|
4355
|
+
const { googleStatus } = await import("./google-5HRSXPUF.js");
|
|
4371
4356
|
const project3 = requireProject(input, "google.status", "canonry google status <project> [--format json]");
|
|
4372
4357
|
await googleStatus(project3, input.format);
|
|
4373
4358
|
}
|
|
@@ -4376,7 +4361,7 @@ var GOOGLE_CLI_COMMANDS = [
|
|
|
4376
4361
|
path: ["google", "properties"],
|
|
4377
4362
|
usage: "canonry google properties <project> [--format json]",
|
|
4378
4363
|
run: async (input) => {
|
|
4379
|
-
const { googleProperties } = await import("./google-
|
|
4364
|
+
const { googleProperties } = await import("./google-5HRSXPUF.js");
|
|
4380
4365
|
const project3 = requireProject(input, "google.properties", "canonry google properties <project> [--format json]");
|
|
4381
4366
|
await googleProperties(project3, input.format);
|
|
4382
4367
|
}
|
|
@@ -4385,7 +4370,7 @@ var GOOGLE_CLI_COMMANDS = [
|
|
|
4385
4370
|
path: ["google", "set-property"],
|
|
4386
4371
|
usage: "canonry google set-property <project> <url> [--format json]",
|
|
4387
4372
|
run: async (input) => {
|
|
4388
|
-
const { googleSetProperty } = await import("./google-
|
|
4373
|
+
const { googleSetProperty } = await import("./google-5HRSXPUF.js");
|
|
4389
4374
|
const project3 = requireProject(input, "google.set-property", "canonry google set-property <project> <url> [--format json]");
|
|
4390
4375
|
const propertyUrl = requirePositional(input, 1, {
|
|
4391
4376
|
command: "google.set-property",
|
|
@@ -4399,7 +4384,7 @@ var GOOGLE_CLI_COMMANDS = [
|
|
|
4399
4384
|
path: ["google", "set-sitemap"],
|
|
4400
4385
|
usage: "canonry google set-sitemap <project> <url> [--format json]",
|
|
4401
4386
|
run: async (input) => {
|
|
4402
|
-
const { googleSetSitemap } = await import("./google-
|
|
4387
|
+
const { googleSetSitemap } = await import("./google-5HRSXPUF.js");
|
|
4403
4388
|
const project3 = requireProject(input, "google.set-sitemap", "canonry google set-sitemap <project> <url> [--format json]");
|
|
4404
4389
|
const sitemapUrl = requirePositional(input, 1, {
|
|
4405
4390
|
command: "google.set-sitemap",
|
|
@@ -4413,7 +4398,7 @@ var GOOGLE_CLI_COMMANDS = [
|
|
|
4413
4398
|
path: ["google", "list-sitemaps"],
|
|
4414
4399
|
usage: "canonry google list-sitemaps <project> [--format json]",
|
|
4415
4400
|
run: async (input) => {
|
|
4416
|
-
const { googleListSitemaps } = await import("./google-
|
|
4401
|
+
const { googleListSitemaps } = await import("./google-5HRSXPUF.js");
|
|
4417
4402
|
const project3 = requireProject(input, "google.list-sitemaps", "canonry google list-sitemaps <project> [--format json]");
|
|
4418
4403
|
await googleListSitemaps(project3, { format: input.format });
|
|
4419
4404
|
}
|
|
@@ -4427,7 +4412,7 @@ var GOOGLE_CLI_COMMANDS = [
|
|
|
4427
4412
|
"all-files": { type: "boolean", default: false }
|
|
4428
4413
|
},
|
|
4429
4414
|
run: async (input) => {
|
|
4430
|
-
const { googleSubmitSitemaps } = await import("./google-
|
|
4415
|
+
const { googleSubmitSitemaps } = await import("./google-5HRSXPUF.js");
|
|
4431
4416
|
const project3 = requireProject(input, "google.submit-sitemap", "canonry google submit-sitemap <project> [url...] [--configured|--all|--all-files] [--format json|jsonl]");
|
|
4432
4417
|
const sitemapUrls = input.positionals.slice(1);
|
|
4433
4418
|
const configured = getBoolean(input.values, "configured");
|
|
@@ -4461,7 +4446,7 @@ var GOOGLE_CLI_COMMANDS = [
|
|
|
4461
4446
|
wait: { type: "boolean", default: false }
|
|
4462
4447
|
},
|
|
4463
4448
|
run: async (input) => {
|
|
4464
|
-
const { googleSync } = await import("./google-
|
|
4449
|
+
const { googleSync } = await import("./google-5HRSXPUF.js");
|
|
4465
4450
|
const project3 = requireProject(input, "google.sync", "canonry google sync <project> [--type gsc|ga4] [--days <n>] [--full] [--wait] [--format json]");
|
|
4466
4451
|
await googleSync(project3, {
|
|
4467
4452
|
type: getString(input.values, "type") ?? "gsc",
|
|
@@ -4491,7 +4476,7 @@ var GOOGLE_CLI_COMMANDS = [
|
|
|
4491
4476
|
"order-by": stringOption()
|
|
4492
4477
|
},
|
|
4493
4478
|
run: async (input) => {
|
|
4494
|
-
const { googlePerformance } = await import("./google-
|
|
4479
|
+
const { googlePerformance } = await import("./google-5HRSXPUF.js");
|
|
4495
4480
|
const project3 = requireProject(input, "google.performance", GOOGLE_PERFORMANCE_USAGE);
|
|
4496
4481
|
const startDate = getString(input.values, "start");
|
|
4497
4482
|
const endDate = getString(input.values, "end");
|
|
@@ -4542,7 +4527,7 @@ Usage: ${GOOGLE_PERFORMANCE_USAGE}`,
|
|
|
4542
4527
|
end: stringOption()
|
|
4543
4528
|
},
|
|
4544
4529
|
run: async (input) => {
|
|
4545
|
-
const { googlePerformanceDaily } = await import("./google-
|
|
4530
|
+
const { googlePerformanceDaily } = await import("./google-5HRSXPUF.js");
|
|
4546
4531
|
const project3 = requireProject(input, "google.performance-daily", "canonry google performance-daily <project> [--window 7d|30d|90d|all] [--start <YYYY-MM-DD>] [--end <YYYY-MM-DD>] [--format json]");
|
|
4547
4532
|
await googlePerformanceDaily(project3, {
|
|
4548
4533
|
window: getString(input.values, "window"),
|
|
@@ -4563,7 +4548,7 @@ Usage: ${GOOGLE_PERFORMANCE_USAGE}`,
|
|
|
4563
4548
|
limit: stringOption()
|
|
4564
4549
|
},
|
|
4565
4550
|
run: async (input) => {
|
|
4566
|
-
const { googleTopPages } = await import("./google-
|
|
4551
|
+
const { googleTopPages } = await import("./google-5HRSXPUF.js");
|
|
4567
4552
|
const usage = "canonry google top-pages <project> [--window 7d|30d|90d|all] [--start <YYYY-MM-DD>] [--end <YYYY-MM-DD>] [--limit <n>] [--format json]";
|
|
4568
4553
|
const project3 = requireProject(input, "google.top-pages", usage);
|
|
4569
4554
|
await googleTopPages(project3, {
|
|
@@ -4591,7 +4576,7 @@ Usage: ${GOOGLE_PERFORMANCE_USAGE}`,
|
|
|
4591
4576
|
offset: stringOption()
|
|
4592
4577
|
},
|
|
4593
4578
|
run: async (input) => {
|
|
4594
|
-
const { googleQueryTotals } = await import("./google-
|
|
4579
|
+
const { googleQueryTotals } = await import("./google-5HRSXPUF.js");
|
|
4595
4580
|
const project3 = requireProject(input, "google.query-totals", GOOGLE_QUERY_TOTALS_USAGE);
|
|
4596
4581
|
await googleQueryTotals(project3, {
|
|
4597
4582
|
window: getString(input.values, "window"),
|
|
@@ -4615,7 +4600,7 @@ Usage: ${GOOGLE_PERFORMANCE_USAGE}`,
|
|
|
4615
4600
|
path: ["google", "inspect"],
|
|
4616
4601
|
usage: "canonry google inspect <project> <url> [--format json]",
|
|
4617
4602
|
run: async (input) => {
|
|
4618
|
-
const { googleInspect } = await import("./google-
|
|
4603
|
+
const { googleInspect } = await import("./google-5HRSXPUF.js");
|
|
4619
4604
|
const project3 = requireProject(input, "google.inspect", "canonry google inspect <project> <url> [--format json]");
|
|
4620
4605
|
const url = requirePositional(input, 1, {
|
|
4621
4606
|
command: "google.inspect",
|
|
@@ -4632,7 +4617,7 @@ Usage: ${GOOGLE_PERFORMANCE_USAGE}`,
|
|
|
4632
4617
|
url: stringOption()
|
|
4633
4618
|
},
|
|
4634
4619
|
run: async (input) => {
|
|
4635
|
-
const { googleInspections } = await import("./google-
|
|
4620
|
+
const { googleInspections } = await import("./google-5HRSXPUF.js");
|
|
4636
4621
|
const project3 = requireProject(input, "google.inspections", "canonry google inspections <project> [--url <url>] [--format json]");
|
|
4637
4622
|
await googleInspections(project3, {
|
|
4638
4623
|
url: getString(input.values, "url"),
|
|
@@ -4648,7 +4633,7 @@ Usage: ${GOOGLE_PERFORMANCE_USAGE}`,
|
|
|
4648
4633
|
wait: { type: "boolean", default: false }
|
|
4649
4634
|
},
|
|
4650
4635
|
run: async (input) => {
|
|
4651
|
-
const { googleInspectSitemap } = await import("./google-
|
|
4636
|
+
const { googleInspectSitemap } = await import("./google-5HRSXPUF.js");
|
|
4652
4637
|
const project3 = requireProject(input, "google.inspect-sitemap", "canonry google inspect-sitemap <project> [--sitemap-url <url>] [--wait] [--format json]");
|
|
4653
4638
|
await googleInspectSitemap(project3, {
|
|
4654
4639
|
sitemapUrl: getString(input.values, "sitemap-url"),
|
|
@@ -4661,7 +4646,7 @@ Usage: ${GOOGLE_PERFORMANCE_USAGE}`,
|
|
|
4661
4646
|
path: ["google", "coverage"],
|
|
4662
4647
|
usage: "canonry google coverage <project> [--format json]",
|
|
4663
4648
|
run: async (input) => {
|
|
4664
|
-
const { googleCoverage } = await import("./google-
|
|
4649
|
+
const { googleCoverage } = await import("./google-5HRSXPUF.js");
|
|
4665
4650
|
const project3 = requireProject(input, "google.coverage", "canonry google coverage <project> [--format json]");
|
|
4666
4651
|
await googleCoverage(project3, input.format);
|
|
4667
4652
|
}
|
|
@@ -4673,7 +4658,7 @@ Usage: ${GOOGLE_PERFORMANCE_USAGE}`,
|
|
|
4673
4658
|
limit: stringOption()
|
|
4674
4659
|
},
|
|
4675
4660
|
run: async (input) => {
|
|
4676
|
-
const { googleCoverageHistory } = await import("./google-
|
|
4661
|
+
const { googleCoverageHistory } = await import("./google-5HRSXPUF.js");
|
|
4677
4662
|
const project3 = requireProject(input, "google.coverage-history", "canonry google coverage-history <project> [--limit <n>] [--format json]");
|
|
4678
4663
|
await googleCoverageHistory(project3, {
|
|
4679
4664
|
limit: parseIntegerOption(input, "limit", {
|
|
@@ -4689,7 +4674,7 @@ Usage: ${GOOGLE_PERFORMANCE_USAGE}`,
|
|
|
4689
4674
|
path: ["google", "deindexed"],
|
|
4690
4675
|
usage: "canonry google deindexed <project> [--format json]",
|
|
4691
4676
|
run: async (input) => {
|
|
4692
|
-
const { googleDeindexed } = await import("./google-
|
|
4677
|
+
const { googleDeindexed } = await import("./google-5HRSXPUF.js");
|
|
4693
4678
|
const project3 = requireProject(input, "google.deindexed", "canonry google deindexed <project> [--format json]");
|
|
4694
4679
|
await googleDeindexed(project3, input.format);
|
|
4695
4680
|
}
|
|
@@ -4701,7 +4686,7 @@ Usage: ${GOOGLE_PERFORMANCE_USAGE}`,
|
|
|
4701
4686
|
wait: { type: "boolean", default: false }
|
|
4702
4687
|
},
|
|
4703
4688
|
run: async (input) => {
|
|
4704
|
-
const { googleDiscoverSitemaps } = await import("./google-
|
|
4689
|
+
const { googleDiscoverSitemaps } = await import("./google-5HRSXPUF.js");
|
|
4705
4690
|
const project3 = requireProject(input, "google.discover-sitemaps", "canonry google discover-sitemaps <project> [--wait] [--format json]");
|
|
4706
4691
|
await googleDiscoverSitemaps(project3, {
|
|
4707
4692
|
wait: getBoolean(input.values, "wait"),
|
|
@@ -4717,7 +4702,7 @@ Usage: ${GOOGLE_PERFORMANCE_USAGE}`,
|
|
|
4717
4702
|
wait: { type: "boolean", default: false }
|
|
4718
4703
|
},
|
|
4719
4704
|
run: async (input) => {
|
|
4720
|
-
const { googleRequestIndexing } = await import("./google-
|
|
4705
|
+
const { googleRequestIndexing } = await import("./google-5HRSXPUF.js");
|
|
4721
4706
|
const project3 = requireProject(input, "google.request-indexing", "canonry google request-indexing <project> [url] [--all-unindexed] [--wait] [--format json]");
|
|
4722
4707
|
const url = input.positionals[1];
|
|
4723
4708
|
const allUnindexed = getBoolean(input.values, "all-unindexed");
|
|
@@ -4742,7 +4727,7 @@ Usage: ${GOOGLE_PERFORMANCE_USAGE}`,
|
|
|
4742
4727
|
path: ["google", "refresh"],
|
|
4743
4728
|
usage: "canonry google refresh <project> [--format json]",
|
|
4744
4729
|
run: async (input) => {
|
|
4745
|
-
const { googleRefresh } = await import("./google-
|
|
4730
|
+
const { googleRefresh } = await import("./google-5HRSXPUF.js");
|
|
4746
4731
|
const project3 = requireProject(input, "google.refresh", "canonry google refresh <project> [--format json]");
|
|
4747
4732
|
await googleRefresh(project3, input.format);
|
|
4748
4733
|
}
|
|
@@ -4766,7 +4751,7 @@ var KEYS_CLI_COMMANDS = [
|
|
|
4766
4751
|
path: ["key", "list"],
|
|
4767
4752
|
usage: "canonry key list [--format json|jsonl]",
|
|
4768
4753
|
run: async (input) => {
|
|
4769
|
-
const { listApiKeys } = await import("./keys-
|
|
4754
|
+
const { listApiKeys } = await import("./keys-3VVORLK2.js");
|
|
4770
4755
|
await listApiKeys(input.format);
|
|
4771
4756
|
}
|
|
4772
4757
|
},
|
|
@@ -4780,7 +4765,7 @@ var KEYS_CLI_COMMANDS = [
|
|
|
4780
4765
|
project: stringOption()
|
|
4781
4766
|
},
|
|
4782
4767
|
run: async (input) => {
|
|
4783
|
-
const { createApiKey } = await import("./keys-
|
|
4768
|
+
const { createApiKey } = await import("./keys-3VVORLK2.js");
|
|
4784
4769
|
const name = requireStringOption(input, "name", {
|
|
4785
4770
|
command: "key.create",
|
|
4786
4771
|
usage: "canonry key create --name <name> [--read-only | --scope <s> ...] [--project <name>] [--format json]",
|
|
@@ -4801,7 +4786,7 @@ var KEYS_CLI_COMMANDS = [
|
|
|
4801
4786
|
path: ["key", "whoami"],
|
|
4802
4787
|
usage: "canonry key whoami [--format json]",
|
|
4803
4788
|
run: async (input) => {
|
|
4804
|
-
const { showApiKeySelf } = await import("./keys-
|
|
4789
|
+
const { showApiKeySelf } = await import("./keys-3VVORLK2.js");
|
|
4805
4790
|
await showApiKeySelf(input.format);
|
|
4806
4791
|
}
|
|
4807
4792
|
},
|
|
@@ -4809,7 +4794,7 @@ var KEYS_CLI_COMMANDS = [
|
|
|
4809
4794
|
path: ["key", "revoke"],
|
|
4810
4795
|
usage: "canonry key revoke <id> [--format json]",
|
|
4811
4796
|
run: async (input) => {
|
|
4812
|
-
const { revokeApiKey } = await import("./keys-
|
|
4797
|
+
const { revokeApiKey } = await import("./keys-3VVORLK2.js");
|
|
4813
4798
|
const id2 = requirePositional(input, 0, {
|
|
4814
4799
|
command: "key.revoke",
|
|
4815
4800
|
usage: "canonry key revoke <id> [--format json]",
|
|
@@ -4839,7 +4824,7 @@ var USERS_CLI_COMMANDS = [
|
|
|
4839
4824
|
path: ["user", "list"],
|
|
4840
4825
|
usage: "canonry user list [--format json|jsonl]",
|
|
4841
4826
|
run: async (input) => {
|
|
4842
|
-
const { listUsers } = await import("./users-
|
|
4827
|
+
const { listUsers } = await import("./users-ZJMBGWUF.js");
|
|
4843
4828
|
await listUsers(input.format);
|
|
4844
4829
|
}
|
|
4845
4830
|
},
|
|
@@ -4854,7 +4839,7 @@ var USERS_CLI_COMMANDS = [
|
|
|
4854
4839
|
"password-stdin": { type: "boolean" }
|
|
4855
4840
|
},
|
|
4856
4841
|
run: async (input) => {
|
|
4857
|
-
const { createUser } = await import("./users-
|
|
4842
|
+
const { createUser } = await import("./users-ZJMBGWUF.js");
|
|
4858
4843
|
const name = requireStringOption(input, "name", {
|
|
4859
4844
|
command: "user.create",
|
|
4860
4845
|
usage: CREATE_USAGE,
|
|
@@ -4877,7 +4862,7 @@ var USERS_CLI_COMMANDS = [
|
|
|
4877
4862
|
path: ["user", "delete"],
|
|
4878
4863
|
usage: "canonry user delete <name> [--format json]",
|
|
4879
4864
|
run: async (input) => {
|
|
4880
|
-
const { deleteUser } = await import("./users-
|
|
4865
|
+
const { deleteUser } = await import("./users-ZJMBGWUF.js");
|
|
4881
4866
|
const name = requirePositional(input, 0, {
|
|
4882
4867
|
command: "user.delete",
|
|
4883
4868
|
usage: "canonry user delete <name> [--format json]",
|
|
@@ -4893,7 +4878,7 @@ var USERS_CLI_COMMANDS = [
|
|
|
4893
4878
|
role: stringOption()
|
|
4894
4879
|
},
|
|
4895
4880
|
run: async (input) => {
|
|
4896
|
-
const { inviteUser } = await import("./users-
|
|
4881
|
+
const { inviteUser } = await import("./users-ZJMBGWUF.js");
|
|
4897
4882
|
const email = requirePositional(input, 0, {
|
|
4898
4883
|
command: "user.invite",
|
|
4899
4884
|
usage: INVITE_USAGE,
|
|
@@ -4911,7 +4896,7 @@ var USERS_CLI_COMMANDS = [
|
|
|
4911
4896
|
path: ["user", "invitations"],
|
|
4912
4897
|
usage: "canonry user invitations [--format json|jsonl]",
|
|
4913
4898
|
run: async (input) => {
|
|
4914
|
-
const { listUserInvitations } = await import("./users-
|
|
4899
|
+
const { listUserInvitations } = await import("./users-ZJMBGWUF.js");
|
|
4915
4900
|
await listUserInvitations(input.format);
|
|
4916
4901
|
}
|
|
4917
4902
|
},
|
|
@@ -4919,7 +4904,7 @@ var USERS_CLI_COMMANDS = [
|
|
|
4919
4904
|
path: ["user", "uninvite"],
|
|
4920
4905
|
usage: "canonry user uninvite <invitation-id> [--format json]",
|
|
4921
4906
|
run: async (input) => {
|
|
4922
|
-
const { revokeUserInvitation } = await import("./users-
|
|
4907
|
+
const { revokeUserInvitation } = await import("./users-ZJMBGWUF.js");
|
|
4923
4908
|
const id2 = requirePositional(input, 0, {
|
|
4924
4909
|
command: "user.uninvite",
|
|
4925
4910
|
usage: "canonry user uninvite <invitation-id> [--format json]",
|
|
@@ -4947,7 +4932,7 @@ var KEYWORD_CLI_COMMANDS = [
|
|
|
4947
4932
|
path: ["keyword", "add"],
|
|
4948
4933
|
usage: "canonry keyword add <project> <kw...> [--format json]",
|
|
4949
4934
|
run: async (input) => {
|
|
4950
|
-
const { addKeywords } = await import("./keyword-
|
|
4935
|
+
const { addKeywords } = await import("./keyword-3MWGUBHL.js");
|
|
4951
4936
|
const project3 = requireProject(input, "keyword.add", "canonry keyword add <project> <kw...> [--format json]");
|
|
4952
4937
|
const keywords = input.positionals.slice(1);
|
|
4953
4938
|
if (keywords.length === 0) {
|
|
@@ -4966,7 +4951,7 @@ var KEYWORD_CLI_COMMANDS = [
|
|
|
4966
4951
|
path: ["keyword", "replace"],
|
|
4967
4952
|
usage: "canonry keyword replace <project> <kw...> [--format json]",
|
|
4968
4953
|
run: async (input) => {
|
|
4969
|
-
const { replaceKeywords } = await import("./keyword-
|
|
4954
|
+
const { replaceKeywords } = await import("./keyword-3MWGUBHL.js");
|
|
4970
4955
|
const project3 = requireProject(input, "keyword.replace", "canonry keyword replace <project> <kw...> [--format json]");
|
|
4971
4956
|
const keywords = input.positionals.slice(1);
|
|
4972
4957
|
if (keywords.length === 0) {
|
|
@@ -4985,7 +4970,7 @@ var KEYWORD_CLI_COMMANDS = [
|
|
|
4985
4970
|
path: ["keyword", "remove"],
|
|
4986
4971
|
usage: "canonry keyword remove <project> <kw...> [--format json]",
|
|
4987
4972
|
run: async (input) => {
|
|
4988
|
-
const { removeKeywords } = await import("./keyword-
|
|
4973
|
+
const { removeKeywords } = await import("./keyword-3MWGUBHL.js");
|
|
4989
4974
|
const project3 = requireProject(input, "keyword.remove", "canonry keyword remove <project> <kw...> [--format json]");
|
|
4990
4975
|
const keywords = input.positionals.slice(1);
|
|
4991
4976
|
if (keywords.length === 0) {
|
|
@@ -5004,7 +4989,7 @@ var KEYWORD_CLI_COMMANDS = [
|
|
|
5004
4989
|
path: ["keyword", "delete"],
|
|
5005
4990
|
usage: "canonry keyword delete <project> <kw...> [--format json]",
|
|
5006
4991
|
run: async (input) => {
|
|
5007
|
-
const { removeKeywords } = await import("./keyword-
|
|
4992
|
+
const { removeKeywords } = await import("./keyword-3MWGUBHL.js");
|
|
5008
4993
|
const project3 = requireProject(input, "keyword.delete", "canonry keyword delete <project> <kw...> [--format json]");
|
|
5009
4994
|
const keywords = input.positionals.slice(1);
|
|
5010
4995
|
if (keywords.length === 0) {
|
|
@@ -5023,7 +5008,7 @@ var KEYWORD_CLI_COMMANDS = [
|
|
|
5023
5008
|
path: ["keyword", "list"],
|
|
5024
5009
|
usage: "canonry keyword list <project> [--format json]",
|
|
5025
5010
|
run: async (input) => {
|
|
5026
|
-
const { listKeywords } = await import("./keyword-
|
|
5011
|
+
const { listKeywords } = await import("./keyword-3MWGUBHL.js");
|
|
5027
5012
|
const project3 = requireProject(input, "keyword.list", "canonry keyword list <project> [--format json]");
|
|
5028
5013
|
await listKeywords(project3, input.format);
|
|
5029
5014
|
}
|
|
@@ -5032,7 +5017,7 @@ var KEYWORD_CLI_COMMANDS = [
|
|
|
5032
5017
|
path: ["keyword", "import"],
|
|
5033
5018
|
usage: "canonry keyword import <project> <file> [--format json]",
|
|
5034
5019
|
run: async (input) => {
|
|
5035
|
-
const { importKeywords } = await import("./keyword-
|
|
5020
|
+
const { importKeywords } = await import("./keyword-3MWGUBHL.js");
|
|
5036
5021
|
const project3 = requireProject(input, "keyword.import", "canonry keyword import <project> <file> [--format json]");
|
|
5037
5022
|
const filePath = requirePositional(input, 1, {
|
|
5038
5023
|
command: "keyword.import",
|
|
@@ -5051,7 +5036,7 @@ var KEYWORD_CLI_COMMANDS = [
|
|
|
5051
5036
|
save: { type: "boolean", default: false }
|
|
5052
5037
|
},
|
|
5053
5038
|
run: async (input) => {
|
|
5054
|
-
const { generateKeywords } = await import("./keyword-
|
|
5039
|
+
const { generateKeywords } = await import("./keyword-3MWGUBHL.js");
|
|
5055
5040
|
const project3 = requireProject(
|
|
5056
5041
|
input,
|
|
5057
5042
|
"keyword.generate",
|
|
@@ -5092,7 +5077,7 @@ var QUERY_CLI_COMMANDS = [
|
|
|
5092
5077
|
path: ["query", action],
|
|
5093
5078
|
usage: `canonry query ${action} <project>${action === "workspace" ? "" : " <json|->"} [--format json]`,
|
|
5094
5079
|
run: async (input) => {
|
|
5095
|
-
const { runAdvancedMeasurementOperation: runAdvancedMeasurementOperation2 } = await import("./measurement-plan-
|
|
5080
|
+
const { runAdvancedMeasurementOperation: runAdvancedMeasurementOperation2 } = await import("./measurement-plan-M4VLA2ZN.js");
|
|
5096
5081
|
const usage = `canonry query ${action} <project>${action === "workspace" ? "" : " <json|->"} [--format json]`;
|
|
5097
5082
|
const project3 = requireProject(input, `query.${action}`, usage);
|
|
5098
5083
|
const source = action === "workspace" ? void 0 : requirePositional(input, 1, {
|
|
@@ -5107,7 +5092,7 @@ var QUERY_CLI_COMMANDS = [
|
|
|
5107
5092
|
path: ["query", "add"],
|
|
5108
5093
|
usage: "canonry query add <project> <query...> [--format json]",
|
|
5109
5094
|
run: async (input) => {
|
|
5110
|
-
const { addQueries } = await import("./query-
|
|
5095
|
+
const { addQueries } = await import("./query-E2D2K6MD.js");
|
|
5111
5096
|
const project3 = requireProject(input, "query.add", "canonry query add <project> <query...> [--format json]");
|
|
5112
5097
|
const queries = input.positionals.slice(1);
|
|
5113
5098
|
if (queries.length === 0) {
|
|
@@ -5127,7 +5112,7 @@ var QUERY_CLI_COMMANDS = [
|
|
|
5127
5112
|
usage: "canonry query replace <project> <query...> [--dry-run] [--format json]",
|
|
5128
5113
|
supportsDryRun: true,
|
|
5129
5114
|
run: async (input) => {
|
|
5130
|
-
const { replaceQueries } = await import("./query-
|
|
5115
|
+
const { replaceQueries } = await import("./query-E2D2K6MD.js");
|
|
5131
5116
|
const project3 = requireProject(input, "query.replace", "canonry query replace <project> <query...> [--dry-run] [--format json]");
|
|
5132
5117
|
const queries = input.positionals.slice(1);
|
|
5133
5118
|
if (queries.length === 0) {
|
|
@@ -5146,7 +5131,7 @@ var QUERY_CLI_COMMANDS = [
|
|
|
5146
5131
|
path: ["query", "remove"],
|
|
5147
5132
|
usage: "canonry query remove <project> <query...> [--format json]",
|
|
5148
5133
|
run: async (input) => {
|
|
5149
|
-
const { removeQueries } = await import("./query-
|
|
5134
|
+
const { removeQueries } = await import("./query-E2D2K6MD.js");
|
|
5150
5135
|
const project3 = requireProject(input, "query.remove", "canonry query remove <project> <query...> [--format json]");
|
|
5151
5136
|
const queries = input.positionals.slice(1);
|
|
5152
5137
|
if (queries.length === 0) {
|
|
@@ -5165,7 +5150,7 @@ var QUERY_CLI_COMMANDS = [
|
|
|
5165
5150
|
path: ["query", "delete"],
|
|
5166
5151
|
usage: "canonry query delete <project> <query...> [--format json]",
|
|
5167
5152
|
run: async (input) => {
|
|
5168
|
-
const { removeQueries } = await import("./query-
|
|
5153
|
+
const { removeQueries } = await import("./query-E2D2K6MD.js");
|
|
5169
5154
|
const project3 = requireProject(input, "query.delete", "canonry query delete <project> <query...> [--format json]");
|
|
5170
5155
|
const queries = input.positionals.slice(1);
|
|
5171
5156
|
if (queries.length === 0) {
|
|
@@ -5184,7 +5169,7 @@ var QUERY_CLI_COMMANDS = [
|
|
|
5184
5169
|
path: ["query", "list"],
|
|
5185
5170
|
usage: "canonry query list <project> [--format json]",
|
|
5186
5171
|
run: async (input) => {
|
|
5187
|
-
const { listQueries } = await import("./query-
|
|
5172
|
+
const { listQueries } = await import("./query-E2D2K6MD.js");
|
|
5188
5173
|
const project3 = requireProject(input, "query.list", "canonry query list <project> [--format json]");
|
|
5189
5174
|
await listQueries(project3, input.format);
|
|
5190
5175
|
}
|
|
@@ -5193,7 +5178,7 @@ var QUERY_CLI_COMMANDS = [
|
|
|
5193
5178
|
path: ["query", "import"],
|
|
5194
5179
|
usage: "canonry query import <project> <file> [--format json]",
|
|
5195
5180
|
run: async (input) => {
|
|
5196
|
-
const { importQueries } = await import("./query-
|
|
5181
|
+
const { importQueries } = await import("./query-E2D2K6MD.js");
|
|
5197
5182
|
const project3 = requireProject(input, "query.import", "canonry query import <project> <file> [--format json]");
|
|
5198
5183
|
const filePath = requirePositional(input, 1, {
|
|
5199
5184
|
command: "query.import",
|
|
@@ -5212,7 +5197,7 @@ var QUERY_CLI_COMMANDS = [
|
|
|
5212
5197
|
save: { type: "boolean", default: false }
|
|
5213
5198
|
},
|
|
5214
5199
|
run: async (input) => {
|
|
5215
|
-
const { generateQueries } = await import("./query-
|
|
5200
|
+
const { generateQueries } = await import("./query-E2D2K6MD.js");
|
|
5216
5201
|
const project3 = requireProject(
|
|
5217
5202
|
input,
|
|
5218
5203
|
"query.generate",
|
|
@@ -5254,7 +5239,7 @@ var MCP_CLI_COMMANDS = [
|
|
|
5254
5239
|
path: ["mcp", "profile"],
|
|
5255
5240
|
usage: "canonry mcp profile [--format json]",
|
|
5256
5241
|
run: async (input) => {
|
|
5257
|
-
const { showMcpProfile } = await import("./mcp-
|
|
5242
|
+
const { showMcpProfile } = await import("./mcp-NNBM3MLW.js");
|
|
5258
5243
|
await showMcpProfile(input.format);
|
|
5259
5244
|
}
|
|
5260
5245
|
},
|
|
@@ -5270,7 +5255,7 @@ var MCP_CLI_COMMANDS = [
|
|
|
5270
5255
|
"config-path": stringOption()
|
|
5271
5256
|
},
|
|
5272
5257
|
run: async (input) => {
|
|
5273
|
-
const { installMcp } = await import("./mcp-
|
|
5258
|
+
const { installMcp } = await import("./mcp-NNBM3MLW.js");
|
|
5274
5259
|
const usage = `canonry mcp install --client ${CLIENT_LIST} [--name <server>] [--read-only] [--dry-run] [--config-path <path>] [--format json]`;
|
|
5275
5260
|
const client = requireStringOption(input, "client", {
|
|
5276
5261
|
command: "mcp.install",
|
|
@@ -5297,7 +5282,7 @@ var MCP_CLI_COMMANDS = [
|
|
|
5297
5282
|
"read-only": { type: "boolean" }
|
|
5298
5283
|
},
|
|
5299
5284
|
run: async (input) => {
|
|
5300
|
-
const { printMcpConfig } = await import("./mcp-
|
|
5285
|
+
const { printMcpConfig } = await import("./mcp-NNBM3MLW.js");
|
|
5301
5286
|
const usage = `canonry mcp config --client ${CLIENT_LIST} [--name <server>] [--read-only] [--format json]`;
|
|
5302
5287
|
const client = requireStringOption(input, "client", {
|
|
5303
5288
|
command: "mcp.config",
|
|
@@ -5338,7 +5323,7 @@ var NOTIFY_CLI_COMMANDS = [
|
|
|
5338
5323
|
usage: "canonry notify events [--target local|server] [--format json|jsonl]",
|
|
5339
5324
|
options: { target: stringOption() },
|
|
5340
5325
|
run: async (input) => {
|
|
5341
|
-
const { listEvents } = await import("./notify-
|
|
5326
|
+
const { listEvents } = await import("./notify-EDSJINE5.js");
|
|
5342
5327
|
await listEvents(input.format, getString(input.values, "target"));
|
|
5343
5328
|
}
|
|
5344
5329
|
},
|
|
@@ -5350,7 +5335,7 @@ var NOTIFY_CLI_COMMANDS = [
|
|
|
5350
5335
|
events: stringOption()
|
|
5351
5336
|
},
|
|
5352
5337
|
run: async (input) => {
|
|
5353
|
-
const { addNotification } = await import("./notify-
|
|
5338
|
+
const { addNotification } = await import("./notify-EDSJINE5.js");
|
|
5354
5339
|
const project3 = requireProject(input, "notify.add", "canonry notify add <project> --webhook <url> --events <list> [--format json]");
|
|
5355
5340
|
const webhook = requireStringOption(input, "webhook", {
|
|
5356
5341
|
command: "notify.add",
|
|
@@ -5373,7 +5358,7 @@ var NOTIFY_CLI_COMMANDS = [
|
|
|
5373
5358
|
path: ["notify", "list"],
|
|
5374
5359
|
usage: "canonry notify list <project> [--format json]",
|
|
5375
5360
|
run: async (input) => {
|
|
5376
|
-
const { listNotifications } = await import("./notify-
|
|
5361
|
+
const { listNotifications } = await import("./notify-EDSJINE5.js");
|
|
5377
5362
|
const project3 = requireProject(input, "notify.list", "canonry notify list <project> [--format json]");
|
|
5378
5363
|
await listNotifications(project3, input.format);
|
|
5379
5364
|
}
|
|
@@ -5382,7 +5367,7 @@ var NOTIFY_CLI_COMMANDS = [
|
|
|
5382
5367
|
path: ["notify", "remove"],
|
|
5383
5368
|
usage: "canonry notify remove <project> <id> [--format json]",
|
|
5384
5369
|
run: async (input) => {
|
|
5385
|
-
const { removeNotification } = await import("./notify-
|
|
5370
|
+
const { removeNotification } = await import("./notify-EDSJINE5.js");
|
|
5386
5371
|
const project3 = requireProject(input, "notify.remove", "canonry notify remove <project> <id> [--format json]");
|
|
5387
5372
|
const id2 = requirePositional(input, 1, {
|
|
5388
5373
|
command: "notify.remove",
|
|
@@ -5403,7 +5388,7 @@ var NOTIFY_CLI_COMMANDS = [
|
|
|
5403
5388
|
disable: { type: "boolean" }
|
|
5404
5389
|
},
|
|
5405
5390
|
run: async (input) => {
|
|
5406
|
-
const { updateNotification } = await import("./notify-
|
|
5391
|
+
const { updateNotification } = await import("./notify-EDSJINE5.js");
|
|
5407
5392
|
const project3 = requireProject(input, "notify.update", UPDATE_USAGE);
|
|
5408
5393
|
const id2 = requirePositional(input, 1, {
|
|
5409
5394
|
command: "notify.update",
|
|
@@ -5442,7 +5427,7 @@ Usage: ${UPDATE_USAGE}`, {
|
|
|
5442
5427
|
path: ["notify", "test"],
|
|
5443
5428
|
usage: "canonry notify test <project> <id> [--format json]",
|
|
5444
5429
|
run: async (input) => {
|
|
5445
|
-
const { testNotification } = await import("./notify-
|
|
5430
|
+
const { testNotification } = await import("./notify-EDSJINE5.js");
|
|
5446
5431
|
const project3 = requireProject(input, "notify.test", "canonry notify test <project> <id> [--format json]");
|
|
5447
5432
|
const id2 = requirePositional(input, 1, {
|
|
5448
5433
|
command: "notify.test",
|
|
@@ -5613,7 +5598,7 @@ var OPERATOR_CLI_COMMANDS = [
|
|
|
5613
5598
|
usage: RESULTS_CLEAR_USAGE,
|
|
5614
5599
|
options: { run: multiStringOption(), "research-run": multiStringOption(), confirm: { type: "boolean", default: false } },
|
|
5615
5600
|
run: async (input) => {
|
|
5616
|
-
const { clearResults } = await import("./history-
|
|
5601
|
+
const { clearResults } = await import("./history-5GFG76UO.js");
|
|
5617
5602
|
await clearResults(requireProject(input, "results.clear", RESULTS_CLEAR_USAGE), {
|
|
5618
5603
|
runIds: getStringArray(input.values, "run") ?? [],
|
|
5619
5604
|
researchRunIds: getStringArray(input.values, "research-run") ?? [],
|
|
@@ -5632,7 +5617,7 @@ var OPERATOR_CLI_COMMANDS = [
|
|
|
5632
5617
|
output: { type: "string", short: "o" }
|
|
5633
5618
|
},
|
|
5634
5619
|
run: async (input) => {
|
|
5635
|
-
const { exportResults } = await import("./results-export-
|
|
5620
|
+
const { exportResults } = await import("./results-export-TVWWLJQA.js");
|
|
5636
5621
|
const project3 = requireProject(input, "results export", RESULTS_EXPORT_USAGE);
|
|
5637
5622
|
await exportResults(project3, {
|
|
5638
5623
|
format: parseResultsExportFormat(getString(input.values, "format")),
|
|
@@ -5648,7 +5633,7 @@ var OPERATOR_CLI_COMMANDS = [
|
|
|
5648
5633
|
usage: "canonry status <project>|--all [--problems] [--format json|jsonl]",
|
|
5649
5634
|
options: { all: { type: "boolean", default: false }, problems: { type: "boolean", default: false } },
|
|
5650
5635
|
run: async (input) => {
|
|
5651
|
-
const { showStatus } = await import("./status-
|
|
5636
|
+
const { showStatus } = await import("./status-VTQJVZFU.js");
|
|
5652
5637
|
const all = getBoolean(input.values, "all");
|
|
5653
5638
|
const usage = "canonry status <project>|--all [--problems] [--format json|jsonl]";
|
|
5654
5639
|
const project3 = all ? void 0 : requireProject(input, "status", usage);
|
|
@@ -5661,7 +5646,7 @@ var OPERATOR_CLI_COMMANDS = [
|
|
|
5661
5646
|
help: "Which stored evidence can answer a question about the project, for which dates, read from stored data only (no provider call). Each signal says what it answers, whether it is ready, the dates it holds and the tools that read it.",
|
|
5662
5647
|
options: { from: stringOption(), to: stringOption(), signal: multiStringOption() },
|
|
5663
5648
|
run: async (input) => {
|
|
5664
|
-
const { ANSWERABILITY_USAGE, showAnswerability } = await import("./answerability-
|
|
5649
|
+
const { ANSWERABILITY_USAGE, showAnswerability } = await import("./answerability-7VPMCZHE.js");
|
|
5665
5650
|
const project3 = requireProject(input, "answerability", ANSWERABILITY_USAGE);
|
|
5666
5651
|
await showAnswerability(project3, {
|
|
5667
5652
|
from: getString(input.values, "from"),
|
|
@@ -5675,7 +5660,7 @@ var OPERATOR_CLI_COMMANDS = [
|
|
|
5675
5660
|
path: ["evidence"],
|
|
5676
5661
|
usage: "canonry evidence <project> [--format json]",
|
|
5677
5662
|
run: async (input) => {
|
|
5678
|
-
const { showEvidence } = await import("./evidence-
|
|
5663
|
+
const { showEvidence } = await import("./evidence-TFFVSNEL.js");
|
|
5679
5664
|
const project3 = requireProject(input, "evidence", "canonry evidence <project> [--format json]");
|
|
5680
5665
|
await showEvidence(project3, input.format);
|
|
5681
5666
|
}
|
|
@@ -5697,7 +5682,7 @@ var OPERATOR_CLI_COMMANDS = [
|
|
|
5697
5682
|
"entity-type": stringOption()
|
|
5698
5683
|
},
|
|
5699
5684
|
run: async (input) => {
|
|
5700
|
-
const { showHistory } = await import("./history-
|
|
5685
|
+
const { showHistory } = await import("./history-5GFG76UO.js");
|
|
5701
5686
|
const usage = "canonry history <project> [--limit <1..500>] [--offset <n>] [--since <ISO>] [--until <ISO>] [--action <action>] [--action-prefix <prefix>] [--actor <actor>] [--entity-type <type>] [--exclude-entity-type <type>]... [--entity-id <id>] [--format json|jsonl]\n canonry history --all [same filters]";
|
|
5702
5687
|
if (getBoolean(input.values, "all") && input.positionals.length > 0) throw usageError("Use a project or --all, not both.");
|
|
5703
5688
|
const project3 = getBoolean(input.values, "all") ? void 0 : requireProject(input, "history", usage);
|
|
@@ -5723,7 +5708,7 @@ var OPERATOR_CLI_COMMANDS = [
|
|
|
5723
5708
|
"include-secrets": { type: "boolean", default: false }
|
|
5724
5709
|
},
|
|
5725
5710
|
run: async (input) => {
|
|
5726
|
-
const { exportProject } = await import("./export-cmd-
|
|
5711
|
+
const { exportProject } = await import("./export-cmd-YRG7CEVX.js");
|
|
5727
5712
|
const project3 = requireProject(input, "export", "canonry export <project> [--include-results] [--include-secrets] [--format json]");
|
|
5728
5713
|
await exportProject(project3, {
|
|
5729
5714
|
includeResults: getBoolean(input.values, "include-results"),
|
|
@@ -5742,7 +5727,7 @@ var OPERATOR_CLI_COMMANDS = [
|
|
|
5742
5727
|
"query-class": stringOption()
|
|
5743
5728
|
},
|
|
5744
5729
|
run: async (input) => {
|
|
5745
|
-
const { ANALYTICS_USAGE, parseAnalyticsQueryClass, showAnalytics } = await import("./analytics-
|
|
5730
|
+
const { ANALYTICS_USAGE, parseAnalyticsQueryClass, showAnalytics } = await import("./analytics-RYRF5TFC.js");
|
|
5746
5731
|
const project3 = requireProject(input, "analytics", ANALYTICS_USAGE);
|
|
5747
5732
|
await showAnalytics(project3, {
|
|
5748
5733
|
feature: getString(input.values, "feature"),
|
|
@@ -5789,7 +5774,7 @@ var OPERATOR_CLI_COMMANDS = [
|
|
|
5789
5774
|
usage: "canonry apply <file...> [--dry-run] [--format json]",
|
|
5790
5775
|
supportsDryRun: true,
|
|
5791
5776
|
run: async (input) => {
|
|
5792
|
-
const { applyConfigs } = await import("./apply-
|
|
5777
|
+
const { applyConfigs } = await import("./apply-BNTPH5FW.js");
|
|
5793
5778
|
if (input.positionals.length === 0) {
|
|
5794
5779
|
throw usageError("Error: at least one file path is required\nUsage: canonry apply <file...> [--format json]", {
|
|
5795
5780
|
message: "at least one file path is required",
|
|
@@ -5825,7 +5810,7 @@ var PROJECT_CLI_COMMANDS = [
|
|
|
5825
5810
|
"site-audit-domain": multiStringOption()
|
|
5826
5811
|
},
|
|
5827
5812
|
run: async (input) => {
|
|
5828
|
-
const { createProject } = await import("./project-
|
|
5813
|
+
const { createProject } = await import("./project-HO4GOEC4.js");
|
|
5829
5814
|
const name = requireProject(
|
|
5830
5815
|
input,
|
|
5831
5816
|
"project.create",
|
|
@@ -5894,7 +5879,7 @@ var PROJECT_CLI_COMMANDS = [
|
|
|
5894
5879
|
"remove-marketing-host": multiStringOption()
|
|
5895
5880
|
},
|
|
5896
5881
|
run: async (input) => {
|
|
5897
|
-
const { updateProjectSettings } = await import("./project-
|
|
5882
|
+
const { updateProjectSettings } = await import("./project-HO4GOEC4.js");
|
|
5898
5883
|
const name = requireProject(
|
|
5899
5884
|
input,
|
|
5900
5885
|
"project.update",
|
|
@@ -5954,7 +5939,7 @@ var PROJECT_CLI_COMMANDS = [
|
|
|
5954
5939
|
usage: "canonry project list [--format json]",
|
|
5955
5940
|
allowPositionals: false,
|
|
5956
5941
|
run: async (input) => {
|
|
5957
|
-
const { listProjects } = await import("./project-
|
|
5942
|
+
const { listProjects } = await import("./project-HO4GOEC4.js");
|
|
5958
5943
|
await listProjects(input.format);
|
|
5959
5944
|
}
|
|
5960
5945
|
},
|
|
@@ -5962,7 +5947,7 @@ var PROJECT_CLI_COMMANDS = [
|
|
|
5962
5947
|
path: ["project", "show"],
|
|
5963
5948
|
usage: "canonry project show <name> [--format json]",
|
|
5964
5949
|
run: async (input) => {
|
|
5965
|
-
const { showProject } = await import("./project-
|
|
5950
|
+
const { showProject } = await import("./project-HO4GOEC4.js");
|
|
5966
5951
|
const name = requireProject(input, "project.show", "canonry project show <name>");
|
|
5967
5952
|
await showProject(name, input.format);
|
|
5968
5953
|
}
|
|
@@ -5973,7 +5958,7 @@ var PROJECT_CLI_COMMANDS = [
|
|
|
5973
5958
|
access: OperationAccesses.stored,
|
|
5974
5959
|
help: "Show first-run setup: the Agent Readiness audit scan and the AI Visibility check, each with its latest run, and the next step the server suggests. Stored reads only: no provider calls or crawls. JSON is the API response.",
|
|
5975
5960
|
run: async (input) => {
|
|
5976
|
-
const { showProjectSetup } = await import("./project-setup-
|
|
5961
|
+
const { showProjectSetup } = await import("./project-setup-AXVIZND6.js");
|
|
5977
5962
|
const name = requireProject(input, "project.setup", "canonry project setup <project> [--format json]");
|
|
5978
5963
|
await showProjectSetup(name, input.format);
|
|
5979
5964
|
}
|
|
@@ -5983,7 +5968,7 @@ var PROJECT_CLI_COMMANDS = [
|
|
|
5983
5968
|
usage: "canonry project delete <name> [--dry-run] [--format json]",
|
|
5984
5969
|
supportsDryRun: true,
|
|
5985
5970
|
run: async (input) => {
|
|
5986
|
-
const { deleteProject } = await import("./project-
|
|
5971
|
+
const { deleteProject } = await import("./project-HO4GOEC4.js");
|
|
5987
5972
|
const name = requireProject(input, "project.delete", "canonry project delete <name> [--dry-run] [--format json]");
|
|
5988
5973
|
await deleteProject(name, { dryRun: input.dryRun, format: input.format });
|
|
5989
5974
|
}
|
|
@@ -5999,7 +5984,7 @@ var PROJECT_CLI_COMMANDS = [
|
|
|
5999
5984
|
timezone: stringOption()
|
|
6000
5985
|
},
|
|
6001
5986
|
run: async (input) => {
|
|
6002
|
-
const { addLocation } = await import("./project-
|
|
5987
|
+
const { addLocation } = await import("./project-HO4GOEC4.js");
|
|
6003
5988
|
const name = requireProject(
|
|
6004
5989
|
input,
|
|
6005
5990
|
"project.add-location",
|
|
@@ -6033,7 +6018,7 @@ var PROJECT_CLI_COMMANDS = [
|
|
|
6033
6018
|
path: ["project", "locations"],
|
|
6034
6019
|
usage: "canonry project locations <name> [--format json]",
|
|
6035
6020
|
run: async (input) => {
|
|
6036
|
-
const { listLocations } = await import("./project-
|
|
6021
|
+
const { listLocations } = await import("./project-HO4GOEC4.js");
|
|
6037
6022
|
const name = requireProject(input, "project.locations", "canonry project locations <name> [--format json]");
|
|
6038
6023
|
await listLocations(name, input.format);
|
|
6039
6024
|
}
|
|
@@ -6042,7 +6027,7 @@ var PROJECT_CLI_COMMANDS = [
|
|
|
6042
6027
|
path: ["project", "remove-location"],
|
|
6043
6028
|
usage: "canonry project remove-location <name> <label> [--format json]",
|
|
6044
6029
|
run: async (input) => {
|
|
6045
|
-
const { removeLocation } = await import("./project-
|
|
6030
|
+
const { removeLocation } = await import("./project-HO4GOEC4.js");
|
|
6046
6031
|
const name = requireProject(input, "project.remove-location", "canonry project remove-location <name> <label> [--format json]");
|
|
6047
6032
|
const label = requirePositional(input, 1, {
|
|
6048
6033
|
command: "project.remove-location",
|
|
@@ -6056,7 +6041,7 @@ var PROJECT_CLI_COMMANDS = [
|
|
|
6056
6041
|
path: ["project", "set-default-location"],
|
|
6057
6042
|
usage: "canonry project set-default-location <name> <label> [--format json]",
|
|
6058
6043
|
run: async (input) => {
|
|
6059
|
-
const { setDefaultLocation } = await import("./project-
|
|
6044
|
+
const { setDefaultLocation } = await import("./project-HO4GOEC4.js");
|
|
6060
6045
|
const name = requireProject(input, "project.set-default-location", "canonry project set-default-location <name> <label> [--format json]");
|
|
6061
6046
|
const label = requirePositional(input, 1, {
|
|
6062
6047
|
command: "project.set-default-location",
|
|
@@ -6187,7 +6172,7 @@ var ORGANIC_EVIDENCE_CLI_COMMANDS = [
|
|
|
6187
6172
|
usage: USAGE3,
|
|
6188
6173
|
options: { period: stringOption() },
|
|
6189
6174
|
run: async (input) => {
|
|
6190
|
-
const { showOrganicEvidence } = await import("./organic-evidence-
|
|
6175
|
+
const { showOrganicEvidence } = await import("./organic-evidence-VBT6URMQ.js");
|
|
6191
6176
|
const project3 = requireProject(input, "organic-evidence", USAGE3);
|
|
6192
6177
|
await showOrganicEvidence(project3, {
|
|
6193
6178
|
period: parsePeriod(getString(input.values, "window") ?? getString(input.values, "period")),
|
|
@@ -6213,7 +6198,7 @@ var RUN_LIST_OPTIONS = {
|
|
|
6213
6198
|
until: stringOption()
|
|
6214
6199
|
};
|
|
6215
6200
|
async function listRunsCommand(input) {
|
|
6216
|
-
const { listRuns } = await import("./run-
|
|
6201
|
+
const { listRuns } = await import("./run-RJDJPROH.js");
|
|
6217
6202
|
const project3 = requireProject(input, "runs", RUNS_USAGE);
|
|
6218
6203
|
await listRuns(project3, {
|
|
6219
6204
|
format: input.format,
|
|
@@ -6260,7 +6245,7 @@ function parseDispatchMode(value, command, usage) {
|
|
|
6260
6245
|
});
|
|
6261
6246
|
}
|
|
6262
6247
|
async function triggerRunCommand(input, command) {
|
|
6263
|
-
const { triggerRun, triggerRunAll } = await import("./run-
|
|
6248
|
+
const { triggerRun, triggerRunAll } = await import("./run-RJDJPROH.js");
|
|
6264
6249
|
const groups = getStringArray(input.values, "group") ?? [];
|
|
6265
6250
|
const targets = getStringArray(input.values, "target") ?? [];
|
|
6266
6251
|
const queries = getStringArray(input.values, "query") ?? [];
|
|
@@ -6336,7 +6321,7 @@ var RUN_CLI_COMMANDS = [
|
|
|
6336
6321
|
access: "stored",
|
|
6337
6322
|
help: "Preview the next full manual sweep using saved project defaults. Makes no provider calls. Does not preview scoped or forced launches.",
|
|
6338
6323
|
run: async (input) => {
|
|
6339
|
-
const { previewRun } = await import("./run-
|
|
6324
|
+
const { previewRun } = await import("./run-RJDJPROH.js");
|
|
6340
6325
|
await previewRun(requireProject(input, "run.preview", "canonry run preview <project> [--format json]"), input.format);
|
|
6341
6326
|
}
|
|
6342
6327
|
},
|
|
@@ -6344,7 +6329,7 @@ var RUN_CLI_COMMANDS = [
|
|
|
6344
6329
|
path: ["run", "show"],
|
|
6345
6330
|
usage: "canonry run show <id> [--format json]",
|
|
6346
6331
|
run: async (input) => {
|
|
6347
|
-
const { showRun } = await import("./run-
|
|
6332
|
+
const { showRun } = await import("./run-RJDJPROH.js");
|
|
6348
6333
|
const id2 = requirePositional(input, 0, {
|
|
6349
6334
|
command: "run.show",
|
|
6350
6335
|
usage: "canonry run show <id> [--format json]",
|
|
@@ -6362,7 +6347,7 @@ var RUN_CLI_COMMANDS = [
|
|
|
6362
6347
|
},
|
|
6363
6348
|
supportsDryRun: true,
|
|
6364
6349
|
run: async (input) => {
|
|
6365
|
-
const { fillRun } = await import("./run-
|
|
6350
|
+
const { fillRun } = await import("./run-RJDJPROH.js");
|
|
6366
6351
|
if (input.positionals.length === 0 && !input.dryRun) return triggerRunCommand({ ...input, positionals: ["fill"] }, "run");
|
|
6367
6352
|
const runId = requirePositional(input, 0, {
|
|
6368
6353
|
command: "run.fill",
|
|
@@ -6382,7 +6367,7 @@ var RUN_CLI_COMMANDS = [
|
|
|
6382
6367
|
path: ["run", "completeness"],
|
|
6383
6368
|
usage: "canonry run completeness <run-id> [--format json]",
|
|
6384
6369
|
run: async (input) => {
|
|
6385
|
-
const { showRunCompleteness } = await import("./run-
|
|
6370
|
+
const { showRunCompleteness } = await import("./run-RJDJPROH.js");
|
|
6386
6371
|
if (input.positionals.length === 0) return triggerRunCommand({ ...input, positionals: ["completeness"] }, "run");
|
|
6387
6372
|
const runId = requirePositional(input, 0, {
|
|
6388
6373
|
command: "run.completeness",
|
|
@@ -6396,7 +6381,7 @@ var RUN_CLI_COMMANDS = [
|
|
|
6396
6381
|
path: ["run", "cancel"],
|
|
6397
6382
|
usage: "canonry run cancel <project> [run-id] [--format json]",
|
|
6398
6383
|
run: async (input) => {
|
|
6399
|
-
const { cancelRun } = await import("./run-
|
|
6384
|
+
const { cancelRun } = await import("./run-RJDJPROH.js");
|
|
6400
6385
|
const project3 = requireProject(input, "run.cancel", "canonry run cancel <project> [run-id] [--format json]");
|
|
6401
6386
|
await cancelRun(project3, input.positionals[1], input.format);
|
|
6402
6387
|
}
|
|
@@ -6443,7 +6428,7 @@ var SCHEDULE_CLI_COMMANDS = [
|
|
|
6443
6428
|
path: ["schedule", "list"],
|
|
6444
6429
|
usage: "canonry schedule list <project> [--format json|jsonl]",
|
|
6445
6430
|
run: async (input) => {
|
|
6446
|
-
const { listSchedules } = await import("./schedule-
|
|
6431
|
+
const { listSchedules } = await import("./schedule-NVDN72YG.js");
|
|
6447
6432
|
await listSchedules(requireProject(input, "schedule.list", "canonry schedule list <project>"), input.format);
|
|
6448
6433
|
}
|
|
6449
6434
|
},
|
|
@@ -6453,7 +6438,7 @@ var SCHEDULE_CLI_COMMANDS = [
|
|
|
6453
6438
|
help: "Preview the next occurrence without saving a schedule or starting work. Defaults to UTC when --timezone is omitted.",
|
|
6454
6439
|
options: { preset: stringOption(), cron: stringOption(), "every-days": stringOption(), "start-date": stringOption(), at: stringOption(), timezone: stringOption() },
|
|
6455
6440
|
run: async (input) => {
|
|
6456
|
-
const { previewSchedule } = await import("./schedule-
|
|
6441
|
+
const { previewSchedule } = await import("./schedule-NVDN72YG.js");
|
|
6457
6442
|
const project3 = requireProject(input, "schedule.preview", "canonry schedule preview <project> --preset <preset> [--timezone <tz>]");
|
|
6458
6443
|
const everyDays = getString(input.values, "every-days");
|
|
6459
6444
|
const startDate = getString(input.values, "start-date");
|
|
@@ -6489,7 +6474,7 @@ var SCHEDULE_CLI_COMMANDS = [
|
|
|
6489
6474
|
"default-checks": { type: "boolean", default: false }
|
|
6490
6475
|
},
|
|
6491
6476
|
run: async (input) => {
|
|
6492
|
-
const { setSchedule } = await import("./schedule-
|
|
6477
|
+
const { setSchedule } = await import("./schedule-NVDN72YG.js");
|
|
6493
6478
|
const usage = "canonry schedule set <project> (--preset <preset> | --cron <expr> | --every-days <n> --start-date <YYYY-MM-DD> --at <HH:mm>) [--kind answer-visibility|traffic-sync|gbp-sync|data-refresh|backlinks-sync|site-audit|ads-sync|doctor|seo-sync] [--source <id>] [--timezone <tz>] [--provider <name>...] [--check-dead-links] [--include-geo] [--no-agent-skills] [--default-checks] [--format json]";
|
|
6494
6479
|
const project3 = requireProject(input, "schedule.set", usage);
|
|
6495
6480
|
const preset = getString(input.values, "preset");
|
|
@@ -6550,7 +6535,7 @@ var SCHEDULE_CLI_COMMANDS = [
|
|
|
6550
6535
|
usage: "canonry schedule show <project> [--kind answer-visibility|traffic-sync|gbp-sync|data-refresh|backlinks-sync|site-audit|ads-sync|doctor|seo-sync] [--format json]",
|
|
6551
6536
|
options: { kind: stringOption() },
|
|
6552
6537
|
run: async (input) => {
|
|
6553
|
-
const { showSchedule } = await import("./schedule-
|
|
6538
|
+
const { showSchedule } = await import("./schedule-NVDN72YG.js");
|
|
6554
6539
|
const project3 = requireProject(input, "schedule.show", "canonry schedule show <project> [--kind ...]");
|
|
6555
6540
|
await showSchedule(project3, input.format, getString(input.values, "kind"));
|
|
6556
6541
|
}
|
|
@@ -6560,7 +6545,7 @@ var SCHEDULE_CLI_COMMANDS = [
|
|
|
6560
6545
|
usage: "canonry schedule enable <project> [--kind answer-visibility|traffic-sync|gbp-sync|data-refresh|backlinks-sync|site-audit|ads-sync|doctor|seo-sync] [--format json]",
|
|
6561
6546
|
options: { kind: stringOption() },
|
|
6562
6547
|
run: async (input) => {
|
|
6563
|
-
const { enableSchedule } = await import("./schedule-
|
|
6548
|
+
const { enableSchedule } = await import("./schedule-NVDN72YG.js");
|
|
6564
6549
|
const project3 = requireProject(input, "schedule.enable", "canonry schedule enable <project> [--kind ...]");
|
|
6565
6550
|
await enableSchedule(project3, input.format, getString(input.values, "kind"));
|
|
6566
6551
|
}
|
|
@@ -6570,7 +6555,7 @@ var SCHEDULE_CLI_COMMANDS = [
|
|
|
6570
6555
|
usage: "canonry schedule disable <project> [--kind answer-visibility|traffic-sync|gbp-sync|data-refresh|backlinks-sync|site-audit|ads-sync|doctor|seo-sync] [--format json]",
|
|
6571
6556
|
options: { kind: stringOption() },
|
|
6572
6557
|
run: async (input) => {
|
|
6573
|
-
const { disableSchedule } = await import("./schedule-
|
|
6558
|
+
const { disableSchedule } = await import("./schedule-NVDN72YG.js");
|
|
6574
6559
|
const project3 = requireProject(input, "schedule.disable", "canonry schedule disable <project> [--kind ...]");
|
|
6575
6560
|
await disableSchedule(project3, input.format, getString(input.values, "kind"));
|
|
6576
6561
|
}
|
|
@@ -6580,7 +6565,7 @@ var SCHEDULE_CLI_COMMANDS = [
|
|
|
6580
6565
|
usage: "canonry schedule remove <project> [--kind answer-visibility|traffic-sync|gbp-sync|data-refresh|backlinks-sync|site-audit|ads-sync|doctor|seo-sync] [--format json]",
|
|
6581
6566
|
options: { kind: stringOption() },
|
|
6582
6567
|
run: async (input) => {
|
|
6583
|
-
const { removeSchedule } = await import("./schedule-
|
|
6568
|
+
const { removeSchedule } = await import("./schedule-NVDN72YG.js");
|
|
6584
6569
|
const project3 = requireProject(input, "schedule.remove", "canonry schedule remove <project> [--kind ...]");
|
|
6585
6570
|
await removeSchedule(project3, input.format, getString(input.values, "kind"));
|
|
6586
6571
|
}
|
|
@@ -6599,14 +6584,14 @@ var SCHEDULE_CLI_COMMANDS = [
|
|
|
6599
6584
|
];
|
|
6600
6585
|
|
|
6601
6586
|
// src/cli-commands/settings.ts
|
|
6602
|
-
var PROVIDER_USAGE = "canonry settings provider <name>
|
|
6587
|
+
var PROVIDER_USAGE = "canonry settings provider <name> (--api-key <key> | --remove-key | --base-url <url> | --reset-base-url | --model <model> | --reset-model | --max-concurrent <n> | --max-per-minute <n> | --max-per-day <n> | --reset-quota <field> | --reset-limits)... [--if-revision <revision>] [--format json]";
|
|
6603
6588
|
var PROVIDER_TEST_USAGE = "canonry settings provider test <name> [--format json]";
|
|
6604
6589
|
var SETTINGS_CLI_COMMANDS = [
|
|
6605
6590
|
{
|
|
6606
6591
|
path: ["settings", "provider-info"],
|
|
6607
6592
|
usage: "canonry settings provider-info <name> [--format json]",
|
|
6608
6593
|
run: async (input) => {
|
|
6609
|
-
const { showProviderSettings } = await import("./settings-
|
|
6594
|
+
const { showProviderSettings } = await import("./settings-EYEXRKTM.js");
|
|
6610
6595
|
const name = requirePositional(input, 0, { command: "settings.provider-info", usage: "canonry settings provider-info <name> [--format json]", message: "provider name is required" });
|
|
6611
6596
|
await showProviderSettings(name, input.format);
|
|
6612
6597
|
}
|
|
@@ -6617,7 +6602,7 @@ var SETTINGS_CLI_COMMANDS = [
|
|
|
6617
6602
|
options: { confirm: { type: "boolean" }, "if-impact-revision": stringOption() },
|
|
6618
6603
|
accessFor: ({ values }) => getBoolean(values, "confirm") ? OperationAccesses.write : OperationAccesses.stored,
|
|
6619
6604
|
run: async (input) => {
|
|
6620
|
-
const { disconnectProvider } = await import("./settings-
|
|
6605
|
+
const { disconnectProvider } = await import("./settings-EYEXRKTM.js");
|
|
6621
6606
|
const name = requirePositional(input, 0, { command: "settings.disconnect-provider", usage: "canonry settings disconnect-provider <name> [--confirm] [--format json]", message: "provider name is required" });
|
|
6622
6607
|
await disconnectProvider(name, { confirm: getBoolean(input.values, "confirm"), expectedImpactRevision: getString(input.values, "if-impact-revision"), format: input.format });
|
|
6623
6608
|
}
|
|
@@ -6626,7 +6611,7 @@ var SETTINGS_CLI_COMMANDS = [
|
|
|
6626
6611
|
path: ["settings", "reload-providers"],
|
|
6627
6612
|
usage: "canonry settings reload-providers [--format json]",
|
|
6628
6613
|
run: async (input) => {
|
|
6629
|
-
const { reloadProviders } = await import("./settings-
|
|
6614
|
+
const { reloadProviders } = await import("./settings-EYEXRKTM.js");
|
|
6630
6615
|
return reloadProviders(input.format);
|
|
6631
6616
|
}
|
|
6632
6617
|
},
|
|
@@ -6636,7 +6621,7 @@ var SETTINGS_CLI_COMMANDS = [
|
|
|
6636
6621
|
usage: PROVIDER_TEST_USAGE,
|
|
6637
6622
|
help: "Checks the saved connection with the provider now and changes no settings. Most answer engines answer one tiny prompt on your provider account; Local lists its models; OpenRouter reads its key. Exit 0: connected, or saved but not verifiable for free. Exit 2: the provider refused the settings or did not answer. Exit 1: unknown or unconfigured provider.",
|
|
6638
6623
|
run: async (input) => {
|
|
6639
|
-
const { testProvider } = await import("./settings-
|
|
6624
|
+
const { testProvider } = await import("./settings-EYEXRKTM.js");
|
|
6640
6625
|
const name = requirePositional(input, 0, {
|
|
6641
6626
|
command: "settings.provider.test",
|
|
6642
6627
|
usage: PROVIDER_TEST_USAGE,
|
|
@@ -6648,6 +6633,7 @@ var SETTINGS_CLI_COMMANDS = [
|
|
|
6648
6633
|
{
|
|
6649
6634
|
path: ["settings", "provider"],
|
|
6650
6635
|
usage: PROVIDER_USAGE,
|
|
6636
|
+
help: "Change at least one setting. A setting and its reset flag, such as --model and --reset-model, cannot be combined.",
|
|
6651
6637
|
options: {
|
|
6652
6638
|
"api-key": stringOption(),
|
|
6653
6639
|
"base-url": stringOption(),
|
|
@@ -6663,7 +6649,7 @@ var SETTINGS_CLI_COMMANDS = [
|
|
|
6663
6649
|
"if-revision": stringOption()
|
|
6664
6650
|
},
|
|
6665
6651
|
run: async (input) => {
|
|
6666
|
-
const { setProvider } = await import("./settings-
|
|
6652
|
+
const { setProvider } = await import("./settings-EYEXRKTM.js");
|
|
6667
6653
|
const name = requirePositional(input, 0, {
|
|
6668
6654
|
command: "settings.provider",
|
|
6669
6655
|
usage: PROVIDER_USAGE,
|
|
@@ -6725,7 +6711,7 @@ Usage: ${PROVIDER_USAGE}`, { message, details: { command: "settings.provider", u
|
|
|
6725
6711
|
target: stringOption()
|
|
6726
6712
|
},
|
|
6727
6713
|
run: async (input) => {
|
|
6728
|
-
const { setGoogleAuth } = await import("./settings-
|
|
6714
|
+
const { setGoogleAuth } = await import("./settings-EYEXRKTM.js");
|
|
6729
6715
|
const clientId = getString(input.values, "client-id");
|
|
6730
6716
|
const clientSecret = getString(input.values, "client-secret");
|
|
6731
6717
|
if (!clientId || !clientSecret) {
|
|
@@ -6768,7 +6754,7 @@ Usage: ${PROVIDER_USAGE}`, { message, details: { command: "settings.provider", u
|
|
|
6768
6754
|
path: ["settings"],
|
|
6769
6755
|
usage: "canonry settings [provider|provider-info|disconnect-provider|reload-providers|google] [args]",
|
|
6770
6756
|
run: async (input) => {
|
|
6771
|
-
const { showSettings } = await import("./settings-
|
|
6757
|
+
const { showSettings } = await import("./settings-EYEXRKTM.js");
|
|
6772
6758
|
const subcommand = input.positionals[0];
|
|
6773
6759
|
if (!subcommand) {
|
|
6774
6760
|
await showSettings(input.format);
|
|
@@ -6789,7 +6775,7 @@ var SKILLS_CLI_COMMANDS = [
|
|
|
6789
6775
|
path: ["skills", "list"],
|
|
6790
6776
|
usage: "canonry skills list [--format json]",
|
|
6791
6777
|
run: async (input) => {
|
|
6792
|
-
const { listSkills } = await import("./skills-
|
|
6778
|
+
const { listSkills } = await import("./skills-GPYMDDRH.js");
|
|
6793
6779
|
await listSkills({ format: input.format });
|
|
6794
6780
|
}
|
|
6795
6781
|
},
|
|
@@ -6804,7 +6790,7 @@ var SKILLS_CLI_COMMANDS = [
|
|
|
6804
6790
|
},
|
|
6805
6791
|
allowPositionals: true,
|
|
6806
6792
|
run: async (input) => {
|
|
6807
|
-
const { emitInstallSummary, installSkills, parseSkillsClient } = await import("./skills-
|
|
6793
|
+
const { emitInstallSummary, installSkills, parseSkillsClient } = await import("./skills-GPYMDDRH.js");
|
|
6808
6794
|
const summary = await installSkills({
|
|
6809
6795
|
dir: getString(input.values, "dir"),
|
|
6810
6796
|
user: getBoolean(input.values, "user"),
|
|
@@ -6851,7 +6837,7 @@ var SNAPSHOT_CLI_COMMANDS = [
|
|
|
6851
6837
|
output: stringOption()
|
|
6852
6838
|
},
|
|
6853
6839
|
run: async (input) => {
|
|
6854
|
-
const { createSnapshotReport } = await import("./snapshot-
|
|
6840
|
+
const { createSnapshotReport } = await import("./snapshot-SNR7KBK4.js");
|
|
6855
6841
|
const usage = SNAPSHOT_USAGE;
|
|
6856
6842
|
const companyName = requirePositional(input, 0, {
|
|
6857
6843
|
command: "snapshot",
|
|
@@ -6905,7 +6891,7 @@ var INTELLIGENCE_CLI_COMMANDS = [
|
|
|
6905
6891
|
limit: { type: "string" }
|
|
6906
6892
|
},
|
|
6907
6893
|
run: async (input) => {
|
|
6908
|
-
const { listInsights } = await import("./insights-
|
|
6894
|
+
const { listInsights } = await import("./insights-LWLKXKNO.js");
|
|
6909
6895
|
const usage = "canonry insights <project> [--type <type|prefix*>] [--severity <low|medium|high|critical>] [--limit <n>] [--dismissed] [--run-id <id>] [--format json]";
|
|
6910
6896
|
const project3 = requireProject(input, "insights", usage);
|
|
6911
6897
|
const dismissed = input.values.dismissed === true;
|
|
@@ -6921,7 +6907,7 @@ var INTELLIGENCE_CLI_COMMANDS = [
|
|
|
6921
6907
|
usage: "canonry insights dismiss <project> <id> [--format json]",
|
|
6922
6908
|
options: {},
|
|
6923
6909
|
run: async (input) => {
|
|
6924
|
-
const { dismissInsight } = await import("./insights-
|
|
6910
|
+
const { dismissInsight } = await import("./insights-LWLKXKNO.js");
|
|
6925
6911
|
const usage = "canonry insights dismiss <project> <id> [--format json]";
|
|
6926
6912
|
const project3 = requireProject(input, "insights dismiss", usage);
|
|
6927
6913
|
const id2 = requirePositional(input, 1, { command: "insights dismiss", usage, message: "insight ID is required" });
|
|
@@ -6936,7 +6922,7 @@ var INTELLIGENCE_CLI_COMMANDS = [
|
|
|
6936
6922
|
limit: { type: "string" }
|
|
6937
6923
|
},
|
|
6938
6924
|
run: async (input) => {
|
|
6939
|
-
const { showHealth } = await import("./health-cmd-
|
|
6925
|
+
const { showHealth } = await import("./health-cmd-WUBFEQX6.js");
|
|
6940
6926
|
const usage = "canonry health <project> [--history] [--limit <n>] [--format json]";
|
|
6941
6927
|
const project3 = requireProject(input, "health", usage);
|
|
6942
6928
|
const history = input.values.history === true;
|
|
@@ -6956,7 +6942,7 @@ var INTELLIGENCE_CLI_COMMANDS = [
|
|
|
6956
6942
|
},
|
|
6957
6943
|
allowPositionals: false,
|
|
6958
6944
|
run: async (input) => {
|
|
6959
|
-
const { showActivity } = await import("./activity-
|
|
6945
|
+
const { showActivity } = await import("./activity-URKAZ4QI.js");
|
|
6960
6946
|
await showActivity({ since: getString(input.values, "since"), format: input.format });
|
|
6961
6947
|
}
|
|
6962
6948
|
},
|
|
@@ -6970,7 +6956,7 @@ var INTELLIGENCE_CLI_COMMANDS = [
|
|
|
6970
6956
|
},
|
|
6971
6957
|
allowPositionals: true,
|
|
6972
6958
|
run: async (input) => {
|
|
6973
|
-
const { showAllOverviews, showOverview } = await import("./overview-
|
|
6959
|
+
const { showAllOverviews, showOverview } = await import("./overview-LRNI342W.js");
|
|
6974
6960
|
const usage = "canonry overview <project>|--all [--location <label>] [--since <iso>] [--format json]";
|
|
6975
6961
|
const all = getBoolean(input.values, "all");
|
|
6976
6962
|
const location = getString(input.values, "location");
|
|
@@ -6990,7 +6976,7 @@ var INTELLIGENCE_CLI_COMMANDS = [
|
|
|
6990
6976
|
limit: { type: "string" }
|
|
6991
6977
|
},
|
|
6992
6978
|
run: async (input) => {
|
|
6993
|
-
const { searchProject } = await import("./search-
|
|
6979
|
+
const { searchProject } = await import("./search-A4PBZ53D.js");
|
|
6994
6980
|
const usage = "canonry search <project> <query> [--limit <n>] [--format json]";
|
|
6995
6981
|
const project3 = requireProject(input, "search", usage);
|
|
6996
6982
|
const query = requirePositional(input, 1, { command: "search", usage, message: "query is required" });
|
|
@@ -7007,7 +6993,7 @@ var INTELLIGENCE_CLI_COMMANDS = [
|
|
|
7007
6993
|
usage: "canonry citations visibility <project> [--format json]",
|
|
7008
6994
|
options: {},
|
|
7009
6995
|
run: async (input) => {
|
|
7010
|
-
const { showCitationVisibility } = await import("./citations-
|
|
6996
|
+
const { showCitationVisibility } = await import("./citations-ERRYYKNY.js");
|
|
7011
6997
|
const usage = "canonry citations visibility <project> [--format json]";
|
|
7012
6998
|
const project3 = requireProject(input, "citations visibility", usage);
|
|
7013
6999
|
await showCitationVisibility(project3, { format: input.format });
|
|
@@ -7028,7 +7014,7 @@ var INTELLIGENCE_CLI_COMMANDS = [
|
|
|
7028
7014
|
cursor: stringOption()
|
|
7029
7015
|
},
|
|
7030
7016
|
run: async (input) => {
|
|
7031
|
-
const { showCitationUrls } = await import("./citations-
|
|
7017
|
+
const { showCitationUrls } = await import("./citations-ERRYYKNY.js");
|
|
7032
7018
|
const project3 = requireProject(input, "citations urls", CITATION_URLS_USAGE);
|
|
7033
7019
|
const limit = parseIntegerOption(input, "limit", { command: "citations.urls", usage: CITATION_URLS_USAGE, message: "--limit must be an integer" });
|
|
7034
7020
|
await showCitationUrls(project3, {
|
|
@@ -7055,7 +7041,7 @@ var CONTENT_CLI_COMMANDS = [
|
|
|
7055
7041
|
help: "List persisted addressed content targets, including those hidden from content targets.",
|
|
7056
7042
|
options: {},
|
|
7057
7043
|
run: async (input) => {
|
|
7058
|
-
const { listContentDismissals } = await import("./content-
|
|
7044
|
+
const { listContentDismissals } = await import("./content-3Y6ZKQHG.js");
|
|
7059
7045
|
const project3 = requireProject(input, "content dismissals", "canonry content dismissals <project> [--format json|jsonl]");
|
|
7060
7046
|
await listContentDismissals(project3, { format: input.format });
|
|
7061
7047
|
}
|
|
@@ -7066,7 +7052,7 @@ var CONTENT_CLI_COMMANDS = [
|
|
|
7066
7052
|
help: "Mark a content target addressed. Restore it with content restore.",
|
|
7067
7053
|
options: { "addressed-url": { type: "string" }, note: { type: "string" } },
|
|
7068
7054
|
run: async (input) => {
|
|
7069
|
-
const { dismissContentTarget } = await import("./content-
|
|
7055
|
+
const { dismissContentTarget } = await import("./content-3Y6ZKQHG.js");
|
|
7070
7056
|
const usage = "canonry content dismiss <project> <targetRef> [--addressed-url <url>] [--note <text>] [--format json]";
|
|
7071
7057
|
const project3 = requireProject(input, "content dismiss", usage);
|
|
7072
7058
|
const targetRef = requirePositional(input, 1, { command: "content dismiss", usage, message: "targetRef is required (from content targets)" });
|
|
@@ -7079,7 +7065,7 @@ var CONTENT_CLI_COMMANDS = [
|
|
|
7079
7065
|
help: "Remove a persisted dismissal so an eligible target can appear again.",
|
|
7080
7066
|
options: {},
|
|
7081
7067
|
run: async (input) => {
|
|
7082
|
-
const { restoreContentTarget } = await import("./content-
|
|
7068
|
+
const { restoreContentTarget } = await import("./content-3Y6ZKQHG.js");
|
|
7083
7069
|
const usage = "canonry content restore <project> <targetRef> [--format json]";
|
|
7084
7070
|
const project3 = requireProject(input, "content restore", usage);
|
|
7085
7071
|
const targetRef = requirePositional(input, 1, { command: "content restore", usage, message: "targetRef is required (from content dismissals)" });
|
|
@@ -7096,7 +7082,7 @@ var CONTENT_CLI_COMMANDS = [
|
|
|
7096
7082
|
"winnability-class": { type: "string" }
|
|
7097
7083
|
},
|
|
7098
7084
|
run: async (input) => {
|
|
7099
|
-
const { listContentTargets } = await import("./content-
|
|
7085
|
+
const { listContentTargets } = await import("./content-3Y6ZKQHG.js");
|
|
7100
7086
|
const usage = "canonry content targets <project> [--limit <n>] [--include-in-progress] [--ownable] [--winnability-class <ownable|ceded>] [--format json]";
|
|
7101
7087
|
const project3 = requireProject(input, "content targets", usage);
|
|
7102
7088
|
const limit = parseIntegerOption(input, "limit", {
|
|
@@ -7127,7 +7113,7 @@ var CONTENT_CLI_COMMANDS = [
|
|
|
7127
7113
|
usage: "canonry content sources <project> [--format json]",
|
|
7128
7114
|
options: {},
|
|
7129
7115
|
run: async (input) => {
|
|
7130
|
-
const { listContentSources } = await import("./content-
|
|
7116
|
+
const { listContentSources } = await import("./content-3Y6ZKQHG.js");
|
|
7131
7117
|
const usage = "canonry content sources <project> [--format json]";
|
|
7132
7118
|
const project3 = requireProject(input, "content sources", usage);
|
|
7133
7119
|
await listContentSources(project3, { format: input.format });
|
|
@@ -7138,7 +7124,7 @@ var CONTENT_CLI_COMMANDS = [
|
|
|
7138
7124
|
usage: "canonry content gaps <project> [--format json]",
|
|
7139
7125
|
options: {},
|
|
7140
7126
|
run: async (input) => {
|
|
7141
|
-
const { listContentGaps } = await import("./content-
|
|
7127
|
+
const { listContentGaps } = await import("./content-3Y6ZKQHG.js");
|
|
7142
7128
|
const usage = "canonry content gaps <project> [--format json]";
|
|
7143
7129
|
const project3 = requireProject(input, "content gaps", usage);
|
|
7144
7130
|
await listContentGaps(project3, { format: input.format });
|
|
@@ -7153,13 +7139,13 @@ var CONTENT_CLI_COMMANDS = [
|
|
|
7153
7139
|
force: { type: "boolean" }
|
|
7154
7140
|
},
|
|
7155
7141
|
run: async (input) => {
|
|
7156
|
-
const { generateContentBrief } = await import("./content-
|
|
7142
|
+
const { generateContentBrief } = await import("./content-3Y6ZKQHG.js");
|
|
7157
7143
|
const usage = "canonry content brief <project> <targetRef> [--provider <p>] [--model <m>] [--force] [--format json]";
|
|
7158
7144
|
const project3 = requireProject(input, "content brief", usage);
|
|
7159
7145
|
const targetRef = requirePositional(input, 1, {
|
|
7160
7146
|
command: "content brief",
|
|
7161
7147
|
usage,
|
|
7162
|
-
message:
|
|
7148
|
+
message: `targetRef is required (from \`canonry content targets ${shellQuote(project3)}\`)`
|
|
7163
7149
|
});
|
|
7164
7150
|
await generateContentBrief(project3, targetRef, {
|
|
7165
7151
|
provider: typeof input.values.provider === "string" ? input.values.provider : void 0,
|
|
@@ -7174,7 +7160,7 @@ var CONTENT_CLI_COMMANDS = [
|
|
|
7174
7160
|
usage: "canonry content map <project> [--format json]",
|
|
7175
7161
|
options: {},
|
|
7176
7162
|
run: async (input) => {
|
|
7177
|
-
const { contentMap } = await import("./content-
|
|
7163
|
+
const { contentMap } = await import("./content-3Y6ZKQHG.js");
|
|
7178
7164
|
const usage = "canonry content map <project> [--format json]";
|
|
7179
7165
|
const project3 = requireProject(input, "content map", usage);
|
|
7180
7166
|
await contentMap(project3, { format: input.format });
|
|
@@ -7524,7 +7510,7 @@ var SYSTEM_CLI_COMMANDS = [
|
|
|
7524
7510
|
options: { access: stringOption() },
|
|
7525
7511
|
run: async (input) => {
|
|
7526
7512
|
if (input.positionals.length > 1) throw usageError("Expected at most one command group");
|
|
7527
|
-
const [{ printCliCatalog }, { REGISTERED_CLI_COMMANDS: REGISTERED_CLI_COMMANDS2 }] = await Promise.all([import("./cli-catalog-
|
|
7513
|
+
const [{ printCliCatalog }, { REGISTERED_CLI_COMMANDS: REGISTERED_CLI_COMMANDS2 }] = await Promise.all([import("./cli-catalog-ETUQDYOX.js"), import("./cli-commands-ORLKC2XM.js")]);
|
|
7528
7514
|
printCliCatalog(REGISTERED_CLI_COMMANDS2, input.format, input.positionals[0], getString(input.values, "access"));
|
|
7529
7515
|
}
|
|
7530
7516
|
},
|
|
@@ -7535,7 +7521,7 @@ var SYSTEM_CLI_COMMANDS = [
|
|
|
7535
7521
|
options: { level: stringOption(), module: stringOption(), "run-id": stringOption(), "project-id": stringOption(), actor: stringOption(), "request-id": stringOption(), since: stringOption(), until: stringOption(), limit: stringOption(), cursor: stringOption() },
|
|
7536
7522
|
allowPositionals: false,
|
|
7537
7523
|
run: async (input) => {
|
|
7538
|
-
const { showOperationalLogs } = await import("./logs-
|
|
7524
|
+
const { showOperationalLogs } = await import("./logs-PSV4DZ6F.js");
|
|
7539
7525
|
return showOperationalLogs({
|
|
7540
7526
|
level: getString(input.values, "level"),
|
|
7541
7527
|
module: getString(input.values, "module"),
|
|
@@ -7573,7 +7559,7 @@ var SYSTEM_CLI_COMMANDS = [
|
|
|
7573
7559
|
},
|
|
7574
7560
|
allowPositionals: false,
|
|
7575
7561
|
run: async (input) => {
|
|
7576
|
-
const { initCommand } = await import("./init-
|
|
7562
|
+
const { initCommand } = await import("./init-CHZSBQOK.js");
|
|
7577
7563
|
await initCommand({
|
|
7578
7564
|
force: getBoolean(input.values, "force"),
|
|
7579
7565
|
ref: getString(input.values, "ref"),
|
|
@@ -7606,7 +7592,7 @@ var SYSTEM_CLI_COMMANDS = [
|
|
|
7606
7592
|
},
|
|
7607
7593
|
allowPositionals: false,
|
|
7608
7594
|
run: async (input) => {
|
|
7609
|
-
const { bootstrapCommand } = await import("./bootstrap-
|
|
7595
|
+
const { bootstrapCommand } = await import("./bootstrap-EITWL66P.js");
|
|
7610
7596
|
await bootstrapCommand({
|
|
7611
7597
|
format: input.format,
|
|
7612
7598
|
ref: getString(input.values, "ref")
|
|
@@ -7629,7 +7615,7 @@ var SYSTEM_CLI_COMMANDS = [
|
|
|
7629
7615
|
allowPositionals: false,
|
|
7630
7616
|
run: async (input) => {
|
|
7631
7617
|
applyServerEnv(input.values);
|
|
7632
|
-
const { serveCommand } = await import("./serve-
|
|
7618
|
+
const { serveCommand } = await import("./serve-7WPMQUVW.js");
|
|
7633
7619
|
await serveCommand(input.format);
|
|
7634
7620
|
}
|
|
7635
7621
|
},
|
|
@@ -7675,7 +7661,7 @@ var SYSTEM_CLI_COMMANDS = [
|
|
|
7675
7661
|
help: "Show Canonry support and available community links.",
|
|
7676
7662
|
allowPositionals: false,
|
|
7677
7663
|
run: async (input) => {
|
|
7678
|
-
const { supportCommand } = await import("./support-
|
|
7664
|
+
const { supportCommand } = await import("./support-H7ANOX67.js");
|
|
7679
7665
|
supportCommand(input.format);
|
|
7680
7666
|
}
|
|
7681
7667
|
},
|
|
@@ -7701,7 +7687,7 @@ var SYSTEM_CLI_COMMANDS = [
|
|
|
7701
7687
|
options: { target: stringOption() },
|
|
7702
7688
|
allowPositionals: false,
|
|
7703
7689
|
run: async (input) => {
|
|
7704
|
-
const { telemetryCommand } = await import("./telemetry-
|
|
7690
|
+
const { telemetryCommand } = await import("./telemetry-DA43ILAA.js");
|
|
7705
7691
|
await telemetryCommand("status", input.format, getString(input.values, "target"));
|
|
7706
7692
|
}
|
|
7707
7693
|
},
|
|
@@ -7711,7 +7697,7 @@ var SYSTEM_CLI_COMMANDS = [
|
|
|
7711
7697
|
options: { target: stringOption() },
|
|
7712
7698
|
allowPositionals: false,
|
|
7713
7699
|
run: async (input) => {
|
|
7714
|
-
const { telemetryCommand } = await import("./telemetry-
|
|
7700
|
+
const { telemetryCommand } = await import("./telemetry-DA43ILAA.js");
|
|
7715
7701
|
await telemetryCommand("enable", input.format, getString(input.values, "target"));
|
|
7716
7702
|
}
|
|
7717
7703
|
},
|
|
@@ -7721,7 +7707,7 @@ var SYSTEM_CLI_COMMANDS = [
|
|
|
7721
7707
|
options: { target: stringOption() },
|
|
7722
7708
|
allowPositionals: false,
|
|
7723
7709
|
run: async (input) => {
|
|
7724
|
-
const { telemetryCommand } = await import("./telemetry-
|
|
7710
|
+
const { telemetryCommand } = await import("./telemetry-DA43ILAA.js");
|
|
7725
7711
|
await telemetryCommand("disable", input.format, getString(input.values, "target"));
|
|
7726
7712
|
}
|
|
7727
7713
|
},
|
|
@@ -7780,7 +7766,7 @@ var AGENT_READINESS_CLI_COMMANDS = [
|
|
|
7780
7766
|
access: "stored",
|
|
7781
7767
|
options: { "run-id": stringOption(), site: stringOption(), cursor: stringOption(), limit: stringOption() },
|
|
7782
7768
|
run: async (input) => {
|
|
7783
|
-
const { technicalAeoIssues } = await import("./technical-aeo-
|
|
7769
|
+
const { technicalAeoIssues } = await import("./technical-aeo-IDMFUDXP.js");
|
|
7784
7770
|
const usage = "canonry agent-readiness issues <project> [--run-id <id>] [--site <domain>] [--cursor <cursor>] [--limit <n>] [--format json|jsonl]";
|
|
7785
7771
|
const project3 = requireProject(input, "agent-readiness.issues", usage);
|
|
7786
7772
|
await technicalAeoIssues(project3, {
|
|
@@ -7795,7 +7781,7 @@ var AGENT_READINESS_CLI_COMMANDS = [
|
|
|
7795
7781
|
access: "stored",
|
|
7796
7782
|
options: { "issue-id": stringOption(), "run-id": stringOption(), site: stringOption(), cursor: stringOption(), limit: stringOption() },
|
|
7797
7783
|
run: async (input) => {
|
|
7798
|
-
const { technicalAeoIssuePages } = await import("./technical-aeo-
|
|
7784
|
+
const { technicalAeoIssuePages } = await import("./technical-aeo-IDMFUDXP.js");
|
|
7799
7785
|
const usage = "canonry agent-readiness issue-pages <project> --issue-id <id> [--run-id <id>] [--site <domain>] [--cursor <cursor>] [--limit <n>] [--format json|jsonl]";
|
|
7800
7786
|
const project3 = requireProject(input, "agent-readiness.issue-pages", usage);
|
|
7801
7787
|
const issueId = requireStringOption(input, "issue-id", { command: "agent-readiness.issue-pages", usage, message: "--issue-id is required" });
|
|
@@ -7813,7 +7799,7 @@ var AGENT_READINESS_CLI_COMMANDS = [
|
|
|
7813
7799
|
"run-id": stringOption()
|
|
7814
7800
|
},
|
|
7815
7801
|
run: async (input) => {
|
|
7816
|
-
const { technicalAeoScore } = await import("./technical-aeo-
|
|
7802
|
+
const { technicalAeoScore } = await import("./technical-aeo-IDMFUDXP.js");
|
|
7817
7803
|
const project3 = requireProject(
|
|
7818
7804
|
input,
|
|
7819
7805
|
"agent-readiness.score",
|
|
@@ -7832,7 +7818,7 @@ var AGENT_READINESS_CLI_COMMANDS = [
|
|
|
7832
7818
|
limit: stringOption()
|
|
7833
7819
|
},
|
|
7834
7820
|
run: async (input) => {
|
|
7835
|
-
const { technicalAeoPages } = await import("./technical-aeo-
|
|
7821
|
+
const { technicalAeoPages } = await import("./technical-aeo-IDMFUDXP.js");
|
|
7836
7822
|
const usage = "canonry agent-readiness page-scores <project> [--run-id <id>] [--status success|error] [--sort score-asc|score-desc|url] [--limit <n>] [--format json|jsonl]";
|
|
7837
7823
|
const project3 = requireProject(input, "agent-readiness.page-scores", usage);
|
|
7838
7824
|
await technicalAeoPages(project3, {
|
|
@@ -7855,7 +7841,7 @@ var AGENT_READINESS_CLI_COMMANDS = [
|
|
|
7855
7841
|
limit: stringOption()
|
|
7856
7842
|
},
|
|
7857
7843
|
run: async (input) => {
|
|
7858
|
-
const { technicalAeoTrend } = await import("./technical-aeo-
|
|
7844
|
+
const { technicalAeoTrend } = await import("./technical-aeo-IDMFUDXP.js");
|
|
7859
7845
|
const usage = "canonry agent-readiness trend <project> [--limit <n>] [--format json|jsonl]";
|
|
7860
7846
|
const project3 = requireProject(input, "agent-readiness.trend", usage);
|
|
7861
7847
|
await technicalAeoTrend(project3, {
|
|
@@ -7886,7 +7872,7 @@ var AGENT_READINESS_CLI_COMMANDS = [
|
|
|
7886
7872
|
wait: { type: "boolean", default: false }
|
|
7887
7873
|
},
|
|
7888
7874
|
run: async (input) => {
|
|
7889
|
-
const { technicalAeoRun } = await import("./technical-aeo-
|
|
7875
|
+
const { technicalAeoRun } = await import("./technical-aeo-IDMFUDXP.js");
|
|
7890
7876
|
const usage = "canonry agent-readiness run <project> [--sitemap-url <url>] [--max-pages <n>] [--max-edges <n>] [--max-depth <n>] [--site <domain>...] [--check-dead-links] [--include-geo] [--no-agent-skills] [--wait] [--format json]";
|
|
7891
7877
|
const project3 = requireProject(input, "agent-readiness.run", usage);
|
|
7892
7878
|
await technicalAeoRun(project3, {
|
|
@@ -7925,7 +7911,7 @@ var AGENT_READINESS_CLI_COMMANDS = [
|
|
|
7925
7911
|
usage: "canonry agent-readiness overview <project> [--run-id <id> | --date YYYY-MM-DD] [--format json]",
|
|
7926
7912
|
options: { "run-id": stringOption(), date: stringOption() },
|
|
7927
7913
|
run: async (input) => {
|
|
7928
|
-
const { technicalAeoCrawl } = await import("./technical-aeo-
|
|
7914
|
+
const { technicalAeoCrawl } = await import("./technical-aeo-IDMFUDXP.js");
|
|
7929
7915
|
const usage = "canonry agent-readiness overview <project> [--run-id <id> | --date YYYY-MM-DD] [--format json]";
|
|
7930
7916
|
const project3 = requireProject(input, "agent-readiness.overview", usage);
|
|
7931
7917
|
await technicalAeoCrawl(project3, { runId: getString(input.values, "run-id"), date: getString(input.values, "date"), format: input.format });
|
|
@@ -7936,7 +7922,7 @@ var AGENT_READINESS_CLI_COMMANDS = [
|
|
|
7936
7922
|
usage: "canonry agent-readiness progress <project> --run-id <id> [--format json]",
|
|
7937
7923
|
options: { "run-id": stringOption() },
|
|
7938
7924
|
run: async (input) => {
|
|
7939
|
-
const { technicalAeoProgress } = await import("./technical-aeo-
|
|
7925
|
+
const { technicalAeoProgress } = await import("./technical-aeo-IDMFUDXP.js");
|
|
7940
7926
|
const usage = "canonry agent-readiness progress <project> --run-id <id> [--format json]";
|
|
7941
7927
|
const project3 = requireProject(input, "agent-readiness.progress", usage);
|
|
7942
7928
|
const runId = requireStringOption(input, "run-id", {
|
|
@@ -7959,7 +7945,7 @@ var AGENT_READINESS_CLI_COMMANDS = [
|
|
|
7959
7945
|
"max-edges": stringOption()
|
|
7960
7946
|
},
|
|
7961
7947
|
run: async (input) => {
|
|
7962
|
-
const { technicalAeoSubgraph } = await import("./technical-aeo-
|
|
7948
|
+
const { technicalAeoSubgraph } = await import("./technical-aeo-IDMFUDXP.js");
|
|
7963
7949
|
const usage = "canonry agent-readiness subgraph <project> [--run-id <id>] [--node-key <key>|--url <url>] [--hops <n>] [--max-nodes <n>] [--max-edges <n>] [--format json]";
|
|
7964
7950
|
const project3 = requireProject(input, "agent-readiness.subgraph", usage);
|
|
7965
7951
|
const nodeKey = getString(input.values, "node-key");
|
|
@@ -7994,7 +7980,7 @@ Usage: ${usage}`, {
|
|
|
7994
7980
|
"max-depth": stringOption()
|
|
7995
7981
|
},
|
|
7996
7982
|
run: async (input) => {
|
|
7997
|
-
const { technicalAeoPath } = await import("./technical-aeo-
|
|
7983
|
+
const { technicalAeoPath } = await import("./technical-aeo-IDMFUDXP.js");
|
|
7998
7984
|
const usage = "canonry agent-readiness path <project> (--to-node-key <key>|--to-url <url>) [--run-id <id>] [--from-node-key <key>|--from-url <url>] [--max-depth <n>] [--format json]";
|
|
7999
7985
|
const project3 = requireProject(input, "agent-readiness.path", usage);
|
|
8000
7986
|
const fromNodeKey = getString(input.values, "from-node-key");
|
|
@@ -8038,7 +8024,7 @@ Usage: ${usage}`, {
|
|
|
8038
8024
|
limit: stringOption()
|
|
8039
8025
|
},
|
|
8040
8026
|
run: async (input) => {
|
|
8041
|
-
const { technicalAeoChanges } = await import("./technical-aeo-
|
|
8027
|
+
const { technicalAeoChanges } = await import("./technical-aeo-IDMFUDXP.js");
|
|
8042
8028
|
const usage = "canonry agent-readiness changes <project> [--from-run-id <id>] [--to-run-id <id>] [--scope all|pages|links] [--change all|added|removed|changed] [--cursor <cursor>] [--limit <n>] [--format json|jsonl]";
|
|
8043
8029
|
const project3 = requireProject(input, "agent-readiness.changes", usage);
|
|
8044
8030
|
const fromRunId = getString(input.values, "from-run-id");
|
|
@@ -8087,7 +8073,7 @@ Usage: ${usage}`, {
|
|
|
8087
8073
|
limit: stringOption()
|
|
8088
8074
|
},
|
|
8089
8075
|
run: async (input) => {
|
|
8090
|
-
const { technicalAeoCrawlPages } = await import("./technical-aeo-
|
|
8076
|
+
const { technicalAeoCrawlPages } = await import("./technical-aeo-IDMFUDXP.js");
|
|
8091
8077
|
const usage = "canonry agent-readiness pages <project> [--run-id <id> | --date YYYY-MM-DD] [--inventory-eligible true|false] [--fetch-state <state>] [--indexability-state <state>] [--audit-state <state>] [--url-versions include|exclude|only] [--site <domain>] [--sort url|path|score-asc|score-desc] [--cursor <cursor>] [--limit <n>] [--format json|jsonl]";
|
|
8092
8078
|
const project3 = requireProject(input, "agent-readiness.pages", usage);
|
|
8093
8079
|
const sort = getString(input.values, "sort");
|
|
@@ -8127,7 +8113,7 @@ Usage: ${usage}`, {
|
|
|
8127
8113
|
usage: "canonry agent-readiness page-audit <project> (--node-key <key>|--url <url>) [--run-id <id>] [--format json]",
|
|
8128
8114
|
options: { "run-id": stringOption(), "node-key": stringOption(), url: stringOption() },
|
|
8129
8115
|
run: async (input) => {
|
|
8130
|
-
const { technicalAeoPageAudit } = await import("./technical-aeo-
|
|
8116
|
+
const { technicalAeoPageAudit } = await import("./technical-aeo-IDMFUDXP.js");
|
|
8131
8117
|
const usage = "canonry agent-readiness page-audit <project> (--node-key <key>|--url <url>) [--run-id <id>] [--format json]";
|
|
8132
8118
|
const project3 = requireProject(input, "agent-readiness.page-audit", usage);
|
|
8133
8119
|
const nodeKey = getString(input.values, "node-key");
|
|
@@ -8159,7 +8145,7 @@ Usage: ${usage}`, {
|
|
|
8159
8145
|
usage: "canonry agent-readiness structure <project> [--run-id <id>] [--site <domain>] [--parent-path <path>] [--cursor <cursor>] [--limit <n>] [--format json|jsonl]",
|
|
8160
8146
|
options: { "run-id": stringOption(), site: stringOption(), "parent-path": stringOption(), cursor: stringOption(), limit: stringOption() },
|
|
8161
8147
|
run: async (input) => {
|
|
8162
|
-
const { technicalAeoStructure } = await import("./technical-aeo-
|
|
8148
|
+
const { technicalAeoStructure } = await import("./technical-aeo-IDMFUDXP.js");
|
|
8163
8149
|
const usage = "canonry agent-readiness structure <project> [--run-id <id>] [--site <domain>] [--parent-path <path>] [--cursor <cursor>] [--limit <n>] [--format json|jsonl]";
|
|
8164
8150
|
const project3 = requireProject(input, "agent-readiness.structure", usage);
|
|
8165
8151
|
await technicalAeoStructure(project3, {
|
|
@@ -8185,7 +8171,7 @@ Usage: ${usage}`, {
|
|
|
8185
8171
|
limit: stringOption()
|
|
8186
8172
|
},
|
|
8187
8173
|
run: async (input) => {
|
|
8188
|
-
const { technicalAeoInternalLinks } = await import("./technical-aeo-
|
|
8174
|
+
const { technicalAeoInternalLinks } = await import("./technical-aeo-IDMFUDXP.js");
|
|
8189
8175
|
const usage = "canonry agent-readiness links <project> [--run-id <id>] [--source-url <url>] [--target-url <url>] [--followable|--nofollow] [--cursor <cursor>] [--limit <n>] [--format json|jsonl]";
|
|
8190
8176
|
const project3 = requireProject(input, "agent-readiness.links", usage);
|
|
8191
8177
|
const followable = getBoolean(input.values, "followable");
|
|
@@ -8213,7 +8199,7 @@ Usage: ${usage}`, {
|
|
|
8213
8199
|
usage: "canonry agent-readiness neighbors <project> (--node-key <key>|--url <url>) [--run-id <id>] [--limit <n>] [--format json]",
|
|
8214
8200
|
options: { "run-id": stringOption(), "node-key": stringOption(), url: stringOption(), limit: stringOption() },
|
|
8215
8201
|
run: async (input) => {
|
|
8216
|
-
const { technicalAeoLinkNeighbors } = await import("./technical-aeo-
|
|
8202
|
+
const { technicalAeoLinkNeighbors } = await import("./technical-aeo-IDMFUDXP.js");
|
|
8217
8203
|
const usage = "canonry agent-readiness neighbors <project> (--node-key <key>|--url <url>) [--run-id <id>] [--limit <n>] [--format json]";
|
|
8218
8204
|
const project3 = requireProject(input, "agent-readiness.neighbors", usage);
|
|
8219
8205
|
const nodeKey = getString(input.values, "node-key");
|
|
@@ -8239,7 +8225,7 @@ Usage: ${usage}`, {
|
|
|
8239
8225
|
usage: "canonry agent-readiness dead-links <project> [--run-id <id>] [--cursor <cursor>] [--limit <n>] [--format json|jsonl]",
|
|
8240
8226
|
options: { "run-id": stringOption(), cursor: stringOption(), limit: stringOption() },
|
|
8241
8227
|
run: async (input) => {
|
|
8242
|
-
const { technicalAeoDeadLinks } = await import("./technical-aeo-
|
|
8228
|
+
const { technicalAeoDeadLinks } = await import("./technical-aeo-IDMFUDXP.js");
|
|
8243
8229
|
const usage = "canonry agent-readiness dead-links <project> [--run-id <id>] [--cursor <cursor>] [--limit <n>] [--format json|jsonl]";
|
|
8244
8230
|
const project3 = requireProject(input, "agent-readiness.dead-links", usage);
|
|
8245
8231
|
await technicalAeoDeadLinks(project3, {
|
|
@@ -8363,7 +8349,7 @@ Usage: ${USAGE4}`, {
|
|
|
8363
8349
|
details: { command: "trends", usage: USAGE4, option: "window", value: windowValue }
|
|
8364
8350
|
});
|
|
8365
8351
|
}
|
|
8366
|
-
const { trendsCommand } = await import("./trends-
|
|
8352
|
+
const { trendsCommand } = await import("./trends-IVYSKMND.js");
|
|
8367
8353
|
await trendsCommand(project3, { surface: surface.data, window: windowValue, startDate: start, endDate: end, format: input.format });
|
|
8368
8354
|
}
|
|
8369
8355
|
}
|
|
@@ -8375,7 +8361,7 @@ var SITEMAPS_CLI_COMMANDS = [
|
|
|
8375
8361
|
{
|
|
8376
8362
|
path: ["sitemaps"],
|
|
8377
8363
|
usage: USAGE5,
|
|
8378
|
-
help: `Compare the site's sitemaps (from the latest Agent Readiness audit scan) with what Google and Bing list, from stored data. Each engine shows its sitemaps and the ones it is missing: those the site declares or that were submitted to the other engine. Add a missing one with "canonry google submit-sitemap" or "canonry bing submit-sitemap".`,
|
|
8364
|
+
help: `Compare the site's sitemaps (from the latest Agent Readiness audit scan) with what Google and Bing list, from stored data. Each engine shows its sitemaps and the ones it is missing: those the site declares or that were submitted to the other engine. Add a missing one with "canonry google submit-sitemap <project> <url>" or "canonry bing submit-sitemap <project> <sitemap-url>".`,
|
|
8379
8365
|
options: { engine: stringOption() },
|
|
8380
8366
|
run: async (input) => {
|
|
8381
8367
|
const project3 = requireProject(input, "sitemaps", USAGE5);
|
|
@@ -8385,7 +8371,7 @@ var SITEMAPS_CLI_COMMANDS = [
|
|
|
8385
8371
|
throw usageError(`Error: ${message}
|
|
8386
8372
|
Usage: ${USAGE5}`, { message, details: { command: "sitemaps", usage: USAGE5, option: "engine", value: engine } });
|
|
8387
8373
|
}
|
|
8388
|
-
const { sitemapsCommand } = await import("./sitemaps-
|
|
8374
|
+
const { sitemapsCommand } = await import("./sitemaps-4HCWZJOZ.js");
|
|
8389
8375
|
await sitemapsCommand(project3, { engine, format: input.format });
|
|
8390
8376
|
}
|
|
8391
8377
|
}
|
|
@@ -8396,7 +8382,10 @@ var USAGE6 = "canonry visibility-stats <project> [--since <iso>] [--until <iso>]
|
|
|
8396
8382
|
function parseQueryClass(value) {
|
|
8397
8383
|
if (value === void 0 || value === "") return void 0;
|
|
8398
8384
|
if (value !== "branded" && value !== "non-brand") {
|
|
8399
|
-
throw
|
|
8385
|
+
throw usageError(`Error: --query-class must be "branded" or "non-brand" (got "${value}")`, {
|
|
8386
|
+
message: `--query-class must be "branded" or "non-brand" (got "${value}")`,
|
|
8387
|
+
details: { command: "visibility-stats", option: "query-class", value }
|
|
8388
|
+
});
|
|
8400
8389
|
}
|
|
8401
8390
|
return value;
|
|
8402
8391
|
}
|
|
@@ -8441,7 +8430,7 @@ var VISIBILITY_STATS_CLI_COMMANDS = [
|
|
|
8441
8430
|
"query-class": stringOption()
|
|
8442
8431
|
},
|
|
8443
8432
|
run: async (input) => {
|
|
8444
|
-
const { showVisibilityStats } = await import("./visibility-stats-
|
|
8433
|
+
const { showVisibilityStats } = await import("./visibility-stats-M2I3SUES.js");
|
|
8445
8434
|
const project3 = requireProject(input, "visibility-stats", USAGE6);
|
|
8446
8435
|
await showVisibilityStats(project3, {
|
|
8447
8436
|
since: getString(input.values, "since"),
|
|
@@ -8472,7 +8461,7 @@ var VISIBILITY_STATS_CLI_COMMANDS = [
|
|
|
8472
8461
|
location: stringOption()
|
|
8473
8462
|
},
|
|
8474
8463
|
run: async (input) => {
|
|
8475
|
-
const { showVisibilityCompare } = await import("./visibility-stats-
|
|
8464
|
+
const { showVisibilityCompare } = await import("./visibility-stats-M2I3SUES.js");
|
|
8476
8465
|
const project3 = requireProject(input, "visibility-compare", COMPARE_USAGE);
|
|
8477
8466
|
await showVisibilityCompare(project3, {
|
|
8478
8467
|
from: getString(input.values, "from"),
|
|
@@ -8541,6 +8530,8 @@ function resolveContent(input, command, usage, options) {
|
|
|
8541
8530
|
}
|
|
8542
8531
|
var CONNECT_USAGE = "canonry wordpress connect <project> --url <url> --user <user> --app-password <password> [--staging-url <url>] [--default-env live|staging] [--format json]";
|
|
8543
8532
|
var ONBOARD_USAGE = "canonry wordpress onboard <project> --url <url> --user <user> --app-password <password> [--staging-url <url>] [--profile <file>] [--skip-schema] [--skip-submit] [--live|--staging] [--format json]";
|
|
8533
|
+
var SET_META_USAGE = "canonry wordpress set-meta <project> <slug> [--title <title>] [--description <text>] [--noindex|--index] [--live|--staging] [--format json]";
|
|
8534
|
+
var SET_META_FROM_USAGE = "canonry wordpress set-meta <project> --from <file> [--live|--staging] [--format json]";
|
|
8544
8535
|
var envOptions = {
|
|
8545
8536
|
live: { type: "boolean", default: false },
|
|
8546
8537
|
staging: { type: "boolean", default: false }
|
|
@@ -8557,7 +8548,7 @@ var WORDPRESS_CLI_COMMANDS = [
|
|
|
8557
8548
|
"default-env": stringOption()
|
|
8558
8549
|
},
|
|
8559
8550
|
run: async (input) => {
|
|
8560
|
-
const { wordpressConnect } = await import("./wordpress-
|
|
8551
|
+
const { wordpressConnect } = await import("./wordpress-BGIOJPIF.js");
|
|
8561
8552
|
const usage = CONNECT_USAGE;
|
|
8562
8553
|
const project3 = requireProject(input, "wordpress.connect", usage);
|
|
8563
8554
|
const url = requireStringOption(input, "url", {
|
|
@@ -8591,7 +8582,7 @@ var WORDPRESS_CLI_COMMANDS = [
|
|
|
8591
8582
|
path: ["wordpress", "disconnect"],
|
|
8592
8583
|
usage: "canonry wordpress disconnect <project> [--format json]",
|
|
8593
8584
|
run: async (input) => {
|
|
8594
|
-
const { wordpressDisconnect } = await import("./wordpress-
|
|
8585
|
+
const { wordpressDisconnect } = await import("./wordpress-BGIOJPIF.js");
|
|
8595
8586
|
const project3 = requireProject(input, "wordpress.disconnect", "canonry wordpress disconnect <project> [--format json]");
|
|
8596
8587
|
await wordpressDisconnect(project3, input.format);
|
|
8597
8588
|
}
|
|
@@ -8600,7 +8591,7 @@ var WORDPRESS_CLI_COMMANDS = [
|
|
|
8600
8591
|
path: ["wordpress", "status"],
|
|
8601
8592
|
usage: "canonry wordpress status <project> [--format json]",
|
|
8602
8593
|
run: async (input) => {
|
|
8603
|
-
const { wordpressStatus } = await import("./wordpress-
|
|
8594
|
+
const { wordpressStatus } = await import("./wordpress-BGIOJPIF.js");
|
|
8604
8595
|
const project3 = requireProject(input, "wordpress.status", "canonry wordpress status <project> [--format json]");
|
|
8605
8596
|
await wordpressStatus(project3, input.format);
|
|
8606
8597
|
}
|
|
@@ -8610,7 +8601,7 @@ var WORDPRESS_CLI_COMMANDS = [
|
|
|
8610
8601
|
usage: "canonry wordpress pages <project> [--live|--staging] [--format json]",
|
|
8611
8602
|
options: envOptions,
|
|
8612
8603
|
run: async (input) => {
|
|
8613
|
-
const { wordpressPages } = await import("./wordpress-
|
|
8604
|
+
const { wordpressPages } = await import("./wordpress-BGIOJPIF.js");
|
|
8614
8605
|
const usage = "canonry wordpress pages <project> [--live|--staging] [--format json]";
|
|
8615
8606
|
const project3 = requireProject(input, "wordpress.pages", usage);
|
|
8616
8607
|
await wordpressPages(project3, {
|
|
@@ -8624,7 +8615,7 @@ var WORDPRESS_CLI_COMMANDS = [
|
|
|
8624
8615
|
usage: "canonry wordpress page <project> <slug> [--live|--staging] [--format json]",
|
|
8625
8616
|
options: envOptions,
|
|
8626
8617
|
run: async (input) => {
|
|
8627
|
-
const { wordpressPage } = await import("./wordpress-
|
|
8618
|
+
const { wordpressPage } = await import("./wordpress-BGIOJPIF.js");
|
|
8628
8619
|
const usage = "canonry wordpress page <project> <slug> [--live|--staging] [--format json]";
|
|
8629
8620
|
const project3 = requireProject(input, "wordpress.page", usage);
|
|
8630
8621
|
const slug = requirePositional(input, 1, {
|
|
@@ -8650,7 +8641,7 @@ var WORDPRESS_CLI_COMMANDS = [
|
|
|
8650
8641
|
...envOptions
|
|
8651
8642
|
},
|
|
8652
8643
|
run: async (input) => {
|
|
8653
|
-
const { wordpressCreatePage } = await import("./wordpress-
|
|
8644
|
+
const { wordpressCreatePage } = await import("./wordpress-BGIOJPIF.js");
|
|
8654
8645
|
const usage = "canonry wordpress create-page <project> --title <title> --slug <slug> [--content <content>|--content-file <path>] [--status draft|publish] [--live|--staging] [--format json]";
|
|
8655
8646
|
const project3 = requireProject(input, "wordpress.create-page", usage);
|
|
8656
8647
|
await wordpressCreatePage(project3, {
|
|
@@ -8683,7 +8674,7 @@ var WORDPRESS_CLI_COMMANDS = [
|
|
|
8683
8674
|
...envOptions
|
|
8684
8675
|
},
|
|
8685
8676
|
run: async (input) => {
|
|
8686
|
-
const { wordpressUpdatePage } = await import("./wordpress-
|
|
8677
|
+
const { wordpressUpdatePage } = await import("./wordpress-BGIOJPIF.js");
|
|
8687
8678
|
const usage = "canonry wordpress update-page <project> <slug> [--title <title>] [--slug <slug>] [--content <content>|--content-file <path>] [--status draft|publish] [--live|--staging] [--format json]";
|
|
8688
8679
|
const project3 = requireProject(input, "wordpress.update-page", usage);
|
|
8689
8680
|
const currentSlug = requirePositional(input, 1, {
|
|
@@ -8704,7 +8695,8 @@ var WORDPRESS_CLI_COMMANDS = [
|
|
|
8704
8695
|
},
|
|
8705
8696
|
{
|
|
8706
8697
|
path: ["wordpress", "set-meta"],
|
|
8707
|
-
usage:
|
|
8698
|
+
usage: `${SET_META_USAGE}
|
|
8699
|
+
${SET_META_FROM_USAGE}`,
|
|
8708
8700
|
options: {
|
|
8709
8701
|
title: stringOption(),
|
|
8710
8702
|
description: stringOption(),
|
|
@@ -8714,19 +8706,18 @@ var WORDPRESS_CLI_COMMANDS = [
|
|
|
8714
8706
|
...envOptions
|
|
8715
8707
|
},
|
|
8716
8708
|
run: async (input) => {
|
|
8717
|
-
const { wordpressBulkSetMeta, wordpressSetMeta } = await import("./wordpress-
|
|
8709
|
+
const { wordpressBulkSetMeta, wordpressSetMeta } = await import("./wordpress-BGIOJPIF.js");
|
|
8718
8710
|
const fromFile = getString(input.values, "from");
|
|
8719
8711
|
if (fromFile) {
|
|
8720
|
-
const
|
|
8721
|
-
const project4 = requireProject(input, "wordpress.set-meta", usage2);
|
|
8712
|
+
const project4 = requireProject(input, "wordpress.set-meta", SET_META_FROM_USAGE);
|
|
8722
8713
|
await wordpressBulkSetMeta(project4, {
|
|
8723
8714
|
from: fromFile,
|
|
8724
|
-
env: resolveEnv(input, "wordpress.set-meta",
|
|
8715
|
+
env: resolveEnv(input, "wordpress.set-meta", SET_META_FROM_USAGE),
|
|
8725
8716
|
format: input.format
|
|
8726
8717
|
});
|
|
8727
8718
|
return;
|
|
8728
8719
|
}
|
|
8729
|
-
const usage =
|
|
8720
|
+
const usage = SET_META_USAGE;
|
|
8730
8721
|
const project3 = requireProject(input, "wordpress.set-meta", usage);
|
|
8731
8722
|
const slug = requirePositional(input, 1, {
|
|
8732
8723
|
command: "wordpress.set-meta",
|
|
@@ -8751,7 +8742,7 @@ var WORDPRESS_CLI_COMMANDS = [
|
|
|
8751
8742
|
...envOptions
|
|
8752
8743
|
},
|
|
8753
8744
|
run: async (input) => {
|
|
8754
|
-
const { wordpressSchemaDeploy } = await import("./wordpress-
|
|
8745
|
+
const { wordpressSchemaDeploy } = await import("./wordpress-BGIOJPIF.js");
|
|
8755
8746
|
const usage = "canonry wordpress schema deploy <project> --profile <file> [--live|--staging] [--format json]";
|
|
8756
8747
|
const project3 = requireProject(input, "wordpress.schema.deploy", usage);
|
|
8757
8748
|
const profile = requireStringOption(input, "profile", {
|
|
@@ -8771,7 +8762,7 @@ var WORDPRESS_CLI_COMMANDS = [
|
|
|
8771
8762
|
usage: "canonry wordpress schema status <project> [--live|--staging] [--format json]",
|
|
8772
8763
|
options: envOptions,
|
|
8773
8764
|
run: async (input) => {
|
|
8774
|
-
const { wordpressSchemaStatus } = await import("./wordpress-
|
|
8765
|
+
const { wordpressSchemaStatus } = await import("./wordpress-BGIOJPIF.js");
|
|
8775
8766
|
const usage = "canonry wordpress schema status <project> [--live|--staging] [--format json]";
|
|
8776
8767
|
const project3 = requireProject(input, "wordpress.schema.status", usage);
|
|
8777
8768
|
await wordpressSchemaStatus(project3, {
|
|
@@ -8785,7 +8776,7 @@ var WORDPRESS_CLI_COMMANDS = [
|
|
|
8785
8776
|
usage: "canonry wordpress schema <project> <slug> [--live|--staging] [--format json]",
|
|
8786
8777
|
options: envOptions,
|
|
8787
8778
|
run: async (input) => {
|
|
8788
|
-
const { wordpressSchema } = await import("./wordpress-
|
|
8779
|
+
const { wordpressSchema } = await import("./wordpress-BGIOJPIF.js");
|
|
8789
8780
|
const usage = "canonry wordpress schema <project> <slug> [--live|--staging] [--format json]";
|
|
8790
8781
|
const project3 = requireProject(input, "wordpress.schema", usage);
|
|
8791
8782
|
const slug = requirePositional(input, 1, {
|
|
@@ -8808,7 +8799,7 @@ var WORDPRESS_CLI_COMMANDS = [
|
|
|
8808
8799
|
...envOptions
|
|
8809
8800
|
},
|
|
8810
8801
|
run: async (input) => {
|
|
8811
|
-
const { wordpressSetSchema } = await import("./wordpress-
|
|
8802
|
+
const { wordpressSetSchema } = await import("./wordpress-BGIOJPIF.js");
|
|
8812
8803
|
const usage = "canonry wordpress set-schema <project> <slug> --json <json> [--type <type>] [--live|--staging] [--format json]";
|
|
8813
8804
|
const project3 = requireProject(input, "wordpress.set-schema", usage);
|
|
8814
8805
|
const slug = requirePositional(input, 1, {
|
|
@@ -8834,7 +8825,7 @@ var WORDPRESS_CLI_COMMANDS = [
|
|
|
8834
8825
|
usage: "canonry wordpress llms-txt <project> [--live|--staging] [--format json]",
|
|
8835
8826
|
options: envOptions,
|
|
8836
8827
|
run: async (input) => {
|
|
8837
|
-
const { wordpressLlmsTxt } = await import("./wordpress-
|
|
8828
|
+
const { wordpressLlmsTxt } = await import("./wordpress-BGIOJPIF.js");
|
|
8838
8829
|
const usage = "canonry wordpress llms-txt <project> [--live|--staging] [--format json]";
|
|
8839
8830
|
const project3 = requireProject(input, "wordpress.llms-txt", usage);
|
|
8840
8831
|
await wordpressLlmsTxt(project3, {
|
|
@@ -8851,7 +8842,7 @@ var WORDPRESS_CLI_COMMANDS = [
|
|
|
8851
8842
|
...envOptions
|
|
8852
8843
|
},
|
|
8853
8844
|
run: async (input) => {
|
|
8854
|
-
const { wordpressSetLlmsTxt } = await import("./wordpress-
|
|
8845
|
+
const { wordpressSetLlmsTxt } = await import("./wordpress-BGIOJPIF.js");
|
|
8855
8846
|
const usage = "canonry wordpress set-llms-txt <project> --content <content> [--live|--staging] [--format json]";
|
|
8856
8847
|
const project3 = requireProject(input, "wordpress.set-llms-txt", usage);
|
|
8857
8848
|
await wordpressSetLlmsTxt(project3, {
|
|
@@ -8879,7 +8870,7 @@ var WORDPRESS_CLI_COMMANDS = [
|
|
|
8879
8870
|
...envOptions
|
|
8880
8871
|
},
|
|
8881
8872
|
run: async (input) => {
|
|
8882
|
-
const { wordpressOnboard } = await import("./wordpress-
|
|
8873
|
+
const { wordpressOnboard } = await import("./wordpress-BGIOJPIF.js");
|
|
8883
8874
|
const usage = ONBOARD_USAGE;
|
|
8884
8875
|
const project3 = requireProject(input, "wordpress.onboard", usage);
|
|
8885
8876
|
const url = requireStringOption(input, "url", {
|
|
@@ -8910,7 +8901,7 @@ var WORDPRESS_CLI_COMMANDS = [
|
|
|
8910
8901
|
usage: "canonry wordpress audit <project> [--live|--staging] [--format json]",
|
|
8911
8902
|
options: envOptions,
|
|
8912
8903
|
run: async (input) => {
|
|
8913
|
-
const { wordpressAudit } = await import("./wordpress-
|
|
8904
|
+
const { wordpressAudit } = await import("./wordpress-BGIOJPIF.js");
|
|
8914
8905
|
const usage = "canonry wordpress audit <project> [--live|--staging] [--format json]";
|
|
8915
8906
|
const project3 = requireProject(input, "wordpress.audit", usage);
|
|
8916
8907
|
await wordpressAudit(project3, {
|
|
@@ -8923,7 +8914,7 @@ var WORDPRESS_CLI_COMMANDS = [
|
|
|
8923
8914
|
path: ["wordpress", "diff"],
|
|
8924
8915
|
usage: "canonry wordpress diff <project> <slug> [--format json]",
|
|
8925
8916
|
run: async (input) => {
|
|
8926
|
-
const { wordpressDiff } = await import("./wordpress-
|
|
8917
|
+
const { wordpressDiff } = await import("./wordpress-BGIOJPIF.js");
|
|
8927
8918
|
const usage = "canonry wordpress diff <project> <slug> [--format json]";
|
|
8928
8919
|
const project3 = requireProject(input, "wordpress.diff", usage);
|
|
8929
8920
|
const slug = requirePositional(input, 1, {
|
|
@@ -8938,7 +8929,7 @@ var WORDPRESS_CLI_COMMANDS = [
|
|
|
8938
8929
|
path: ["wordpress", "staging", "status"],
|
|
8939
8930
|
usage: "canonry wordpress staging status <project> [--format json]",
|
|
8940
8931
|
run: async (input) => {
|
|
8941
|
-
const { wordpressStagingStatus } = await import("./wordpress-
|
|
8932
|
+
const { wordpressStagingStatus } = await import("./wordpress-BGIOJPIF.js");
|
|
8942
8933
|
const project3 = requireProject(input, "wordpress.staging.status", "canonry wordpress staging status <project> [--format json]");
|
|
8943
8934
|
await wordpressStagingStatus(project3, input.format);
|
|
8944
8935
|
}
|
|
@@ -8947,7 +8938,7 @@ var WORDPRESS_CLI_COMMANDS = [
|
|
|
8947
8938
|
path: ["wordpress", "staging", "push"],
|
|
8948
8939
|
usage: "canonry wordpress staging push <project> [--format json]",
|
|
8949
8940
|
run: async (input) => {
|
|
8950
|
-
const { wordpressStagingPush } = await import("./wordpress-
|
|
8941
|
+
const { wordpressStagingPush } = await import("./wordpress-BGIOJPIF.js");
|
|
8951
8942
|
const project3 = requireProject(input, "wordpress.staging.push", "canonry wordpress staging push <project> [--format json]");
|
|
8952
8943
|
await wordpressStagingPush(project3, input.format);
|
|
8953
8944
|
}
|
|
@@ -8991,7 +8982,7 @@ var AGENT_CLI_COMMANDS = [
|
|
|
8991
8982
|
usage: `canonry agent conversations ${action} <project> ${CONVERSATION_ACTION_FLAGS[action]} [--format json]`,
|
|
8992
8983
|
options: { id: stringOption(), offset: stringOption(), limit: stringOption() },
|
|
8993
8984
|
run: async (input) => {
|
|
8994
|
-
const { agentConversations } = await import("./agent-conversations-
|
|
8985
|
+
const { agentConversations } = await import("./agent-conversations-BQKCD4CA.js");
|
|
8995
8986
|
const usage = `canonry agent conversations ${action} <project> ${CONVERSATION_ACTION_FLAGS[action]}`;
|
|
8996
8987
|
const project3 = requireProject(input, `agent.conversations.${action}`, usage);
|
|
8997
8988
|
const id2 = action === "new" || action === "list" ? getString(input.values, "id") : requireStringOption(input, "id", { command: `agent.conversations.${action}`, usage, message: "--id is required" });
|
|
@@ -9014,9 +9005,9 @@ var AGENT_CLI_COMMANDS = [
|
|
|
9014
9005
|
"timeout-ms": stringOption()
|
|
9015
9006
|
},
|
|
9016
9007
|
run: async (input) => {
|
|
9017
|
-
const { coerceAgentProvider } = await import("./session-
|
|
9018
|
-
const { AERO_TOOL_PROFILES, isAeroToolProfile } = await import("./tools-
|
|
9019
|
-
const { agentAsk } = await import("./agent-ask-
|
|
9008
|
+
const { coerceAgentProvider } = await import("./session-VPJH4TRC.js");
|
|
9009
|
+
const { AERO_TOOL_PROFILES, isAeroToolProfile } = await import("./tools-F3FZEG5K.js");
|
|
9010
|
+
const { agentAsk } = await import("./agent-ask-EDJZGROO.js");
|
|
9020
9011
|
const usage = `canonry agent ask <project> "<prompt>" [--provider ${AGENT_PROVIDER_IDS.join("|")}] [--model <id>] [--scope all|read-only] [--profile default|ads-operator] [--context <json>] [--conversation <id>] [--max-tool-calls <n>] [--timeout-ms <ms>] [--format json]`;
|
|
9021
9012
|
const project3 = requireProject(input, "agent.ask", usage);
|
|
9022
9013
|
const prompt = input.positionals.slice(1).join(" ").trim();
|
|
@@ -9101,7 +9092,7 @@ Usage: ${usage}`, {
|
|
|
9101
9092
|
usage: "canonry agent providers <project> [--format json]",
|
|
9102
9093
|
options: {},
|
|
9103
9094
|
run: async (input) => {
|
|
9104
|
-
const { agentProviders } = await import("./agent-providers-
|
|
9095
|
+
const { agentProviders } = await import("./agent-providers-WUDOCAHF.js");
|
|
9105
9096
|
const project3 = requireProject(input, "agent.providers", "canonry agent providers <project> [--format json]");
|
|
9106
9097
|
await agentProviders({ project: project3, format: input.format });
|
|
9107
9098
|
}
|
|
@@ -9113,7 +9104,7 @@ Usage: ${usage}`, {
|
|
|
9113
9104
|
url: stringOption()
|
|
9114
9105
|
},
|
|
9115
9106
|
run: async (input) => {
|
|
9116
|
-
const { agentAttach } = await import("./agent-
|
|
9107
|
+
const { agentAttach } = await import("./agent-TBU46LO6.js");
|
|
9117
9108
|
const usage = "canonry agent attach <project> --url <webhook-url> [--format json]";
|
|
9118
9109
|
const project3 = requireProject(input, "agent.attach", usage);
|
|
9119
9110
|
const url = requireStringOption(input, "url", {
|
|
@@ -9132,7 +9123,7 @@ Usage: ${usage}`, {
|
|
|
9132
9123
|
usage: "canonry agent detach <project> [--format json]",
|
|
9133
9124
|
options: {},
|
|
9134
9125
|
run: async (input) => {
|
|
9135
|
-
const { agentDetach } = await import("./agent-
|
|
9126
|
+
const { agentDetach } = await import("./agent-TBU46LO6.js");
|
|
9136
9127
|
const project3 = requireProject(input, "agent.detach", "canonry agent detach <project> [--format json]");
|
|
9137
9128
|
await agentDetach({ project: project3, format: input.format });
|
|
9138
9129
|
}
|
|
@@ -9142,7 +9133,7 @@ Usage: ${usage}`, {
|
|
|
9142
9133
|
usage: "canonry agent transcript <project> [--format json]",
|
|
9143
9134
|
options: {},
|
|
9144
9135
|
run: async (input) => {
|
|
9145
|
-
const { agentTranscript } = await import("./agent-transcript-
|
|
9136
|
+
const { agentTranscript } = await import("./agent-transcript-4MAQ7NCM.js");
|
|
9146
9137
|
const project3 = requireProject(input, "agent.transcript", "canonry agent transcript <project> [--format json]");
|
|
9147
9138
|
await agentTranscript({ project: project3, format: input.format });
|
|
9148
9139
|
}
|
|
@@ -9152,7 +9143,7 @@ Usage: ${usage}`, {
|
|
|
9152
9143
|
usage: "canonry agent reset <project> [--format json]",
|
|
9153
9144
|
options: {},
|
|
9154
9145
|
run: async (input) => {
|
|
9155
|
-
const { agentTranscriptReset } = await import("./agent-transcript-
|
|
9146
|
+
const { agentTranscriptReset } = await import("./agent-transcript-4MAQ7NCM.js");
|
|
9156
9147
|
const project3 = requireProject(input, "agent.reset", "canonry agent reset <project> [--format json]");
|
|
9157
9148
|
await agentTranscriptReset({ project: project3, format: input.format });
|
|
9158
9149
|
}
|
|
@@ -9162,7 +9153,7 @@ Usage: ${usage}`, {
|
|
|
9162
9153
|
usage: "canonry agent clear <project> [--format json]",
|
|
9163
9154
|
options: {},
|
|
9164
9155
|
run: async (input) => {
|
|
9165
|
-
const { agentTranscriptReset } = await import("./agent-transcript-
|
|
9156
|
+
const { agentTranscriptReset } = await import("./agent-transcript-4MAQ7NCM.js");
|
|
9166
9157
|
const project3 = requireProject(input, "agent.clear", "canonry agent clear <project> [--format json]");
|
|
9167
9158
|
await agentTranscriptReset({ project: project3, format: input.format });
|
|
9168
9159
|
}
|
|
@@ -9172,7 +9163,7 @@ Usage: ${usage}`, {
|
|
|
9172
9163
|
usage: "canonry agent memory list <project> [--format json]",
|
|
9173
9164
|
options: {},
|
|
9174
9165
|
run: async (input) => {
|
|
9175
|
-
const { agentMemoryList } = await import("./agent-memory-
|
|
9166
|
+
const { agentMemoryList } = await import("./agent-memory-HAGNNLCP.js");
|
|
9176
9167
|
const usage = "canonry agent memory list <project> [--format json]";
|
|
9177
9168
|
const project3 = requireProject(input, "agent.memory.list", usage);
|
|
9178
9169
|
await agentMemoryList({ project: project3, format: input.format });
|
|
@@ -9186,7 +9177,7 @@ Usage: ${usage}`, {
|
|
|
9186
9177
|
value: stringOption()
|
|
9187
9178
|
},
|
|
9188
9179
|
run: async (input) => {
|
|
9189
|
-
const { agentMemorySet } = await import("./agent-memory-
|
|
9180
|
+
const { agentMemorySet } = await import("./agent-memory-HAGNNLCP.js");
|
|
9190
9181
|
const usage = "canonry agent memory set <project> --key <k> --value <v> [--format json]";
|
|
9191
9182
|
const project3 = requireProject(input, "agent.memory.set", usage);
|
|
9192
9183
|
const key = requireStringOption(input, "key", {
|
|
@@ -9215,7 +9206,7 @@ Usage: ${usage}`, {
|
|
|
9215
9206
|
key: stringOption()
|
|
9216
9207
|
},
|
|
9217
9208
|
run: async (input) => {
|
|
9218
|
-
const { agentMemoryForget } = await import("./agent-memory-
|
|
9209
|
+
const { agentMemoryForget } = await import("./agent-memory-HAGNNLCP.js");
|
|
9219
9210
|
const usage = "canonry agent memory forget <project> --key <k> [--format json]";
|
|
9220
9211
|
const project3 = requireProject(input, "agent.memory.forget", usage);
|
|
9221
9212
|
const key = requireStringOption(input, "key", {
|
|
@@ -9313,7 +9304,7 @@ var MEASUREMENT_PLAN_CLI_COMMANDS = [
|
|
|
9313
9304
|
await showMeasurementPlan(requireProject(input, "measurement-plan.show", "canonry measurement-plan show <project> [--revision N]"), revision);
|
|
9314
9305
|
} },
|
|
9315
9306
|
{ path: ["measurement-plan", "versions"], usage: "canonry measurement-plan versions <project> [--format json]", run: (input) => listMeasurementPlanVersions(requireProject(input, "measurement-plan.versions", "canonry measurement-plan versions <project>")) },
|
|
9316
|
-
{ path: ["measurement-plan", "publish"], usage: "canonry measurement-plan publish <project> <yaml|json|-> [--format json] (legacy schema v1 only; refuses over an active v2 plan; for Advanced Measurement use: canonry measurement-plan advanced <project> draft-action)", run: (input) => {
|
|
9307
|
+
{ path: ["measurement-plan", "publish"], usage: "canonry measurement-plan publish <project> <yaml|json|-> [--format json] (legacy schema v1 only; refuses over an active v2 plan; for Advanced Measurement use: canonry measurement-plan advanced <project> draft-action <action.json>)", run: (input) => {
|
|
9317
9308
|
const project3 = requireProject(input, "measurement-plan.publish", "canonry measurement-plan publish <project> <yaml|json|->");
|
|
9318
9309
|
const source = input.positionals[1];
|
|
9319
9310
|
if (!source) throw usageError("plan file path or - is required");
|
|
@@ -9337,30 +9328,30 @@ var MEASUREMENT_PLAN_CLI_COMMANDS = [
|
|
|
9337
9328
|
},
|
|
9338
9329
|
{
|
|
9339
9330
|
path: ["measurement-plan", "assignments", "preview"],
|
|
9340
|
-
usage: "canonry measurement-plan assignments preview <project>
|
|
9331
|
+
usage: "canonry measurement-plan assignments preview <project> (--group KEY | --target-key KEY)... --query-id ID [--query-id ID ...] [--format json]\n canonry measurement-plan assignments preview <project> --all-properties --query-id ID [--query-id ID ...] [--format json]",
|
|
9341
9332
|
options: ASSIGNMENT_AUDIENCE_OPTIONS,
|
|
9342
9333
|
run: (input) => {
|
|
9343
|
-
const usage = "canonry measurement-plan assignments preview <project>
|
|
9334
|
+
const usage = "canonry measurement-plan assignments preview <project> (--group KEY | --target-key KEY)... --query-id ID [--query-id ID ...]\n canonry measurement-plan assignments preview <project> --all-properties --query-id ID [--query-id ID ...]";
|
|
9344
9335
|
const { project: project3, options } = assignmentAudience(input, "measurement-plan.assignments.preview", usage);
|
|
9345
9336
|
return previewMeasurementPlanAssignments(project3, options);
|
|
9346
9337
|
}
|
|
9347
9338
|
},
|
|
9348
9339
|
{
|
|
9349
9340
|
path: ["measurement-plan", "assignments", "apply"],
|
|
9350
|
-
usage: "canonry measurement-plan assignments apply <project>
|
|
9341
|
+
usage: "canonry measurement-plan assignments apply <project> (--group KEY | --target-key KEY)... --query-id ID [--query-id ID ...] [--format json]\n canonry measurement-plan assignments apply <project> --all-properties --query-id ID [--query-id ID ...] [--format json]",
|
|
9351
9342
|
options: ASSIGNMENT_AUDIENCE_OPTIONS,
|
|
9352
9343
|
run: (input) => {
|
|
9353
|
-
const usage = "canonry measurement-plan assignments apply <project>
|
|
9344
|
+
const usage = "canonry measurement-plan assignments apply <project> (--group KEY | --target-key KEY)... --query-id ID [--query-id ID ...]\n canonry measurement-plan assignments apply <project> --all-properties --query-id ID [--query-id ID ...]";
|
|
9354
9345
|
const { project: project3, options } = assignmentAudience(input, "measurement-plan.assignments.apply", usage);
|
|
9355
9346
|
return applyMeasurementPlanAssignments(project3, options);
|
|
9356
9347
|
}
|
|
9357
9348
|
},
|
|
9358
9349
|
{
|
|
9359
9350
|
path: ["measurement-plan", "assignments", "replace"],
|
|
9360
|
-
usage: "canonry measurement-plan assignments replace <project>
|
|
9351
|
+
usage: "canonry measurement-plan assignments replace <project> (--group KEY | --target-key KEY)... --query-id ID [--query-id ID ...] --confirm [--format json]\n canonry measurement-plan assignments replace <project> --all-properties --query-id ID [--query-id ID ...] --confirm [--format json]",
|
|
9361
9352
|
options: { ...ASSIGNMENT_AUDIENCE_OPTIONS, confirm: { type: "boolean" } },
|
|
9362
9353
|
run: (input) => {
|
|
9363
|
-
const usage = "canonry measurement-plan assignments replace <project>
|
|
9354
|
+
const usage = "canonry measurement-plan assignments replace <project> (--group KEY | --target-key KEY)... --query-id ID [--query-id ID ...] --confirm\n canonry measurement-plan assignments replace <project> --all-properties --query-id ID [--query-id ID ...] --confirm";
|
|
9364
9355
|
if (!getBoolean(input.values, "confirm")) throw usageError(`Error: --confirm is required
|
|
9365
9356
|
Usage: ${usage}`);
|
|
9366
9357
|
const { project: project3, options } = assignmentAudience(input, "measurement-plan.assignments.replace", usage);
|
|
@@ -9381,7 +9372,7 @@ Usage: ${usage}`);
|
|
|
9381
9372
|
},
|
|
9382
9373
|
{
|
|
9383
9374
|
path: ["measurement-plan", "groups", "apply"],
|
|
9384
|
-
usage: "canonry measurement-plan groups apply <project> <csv|-> --confirm
|
|
9375
|
+
usage: "canonry measurement-plan groups apply <project> <csv|-> --confirm (--accept-row N ... | --accept-all-matched) [--acknowledge-skipped] [--format json]",
|
|
9385
9376
|
options: {
|
|
9386
9377
|
confirm: { type: "boolean" },
|
|
9387
9378
|
"accept-row": multiStringOption(),
|
|
@@ -9389,7 +9380,7 @@ Usage: ${usage}`);
|
|
|
9389
9380
|
"acknowledge-skipped": { type: "boolean" }
|
|
9390
9381
|
},
|
|
9391
9382
|
run: (input) => {
|
|
9392
|
-
const usage = "canonry measurement-plan groups apply <project> <csv|-> --confirm
|
|
9383
|
+
const usage = "canonry measurement-plan groups apply <project> <csv|-> --confirm (--accept-row N ... | --accept-all-matched) [--acknowledge-skipped]";
|
|
9393
9384
|
const project3 = requireProject(input, "measurement-plan.groups.apply", usage);
|
|
9394
9385
|
const source = input.positionals[1];
|
|
9395
9386
|
if (!source) throw usageError(`Error: CSV file path or - is required
|