@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
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
showRunCompleteness,
|
|
11
11
|
triggerRun,
|
|
12
12
|
triggerRunAll
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RGT2S3VS.js";
|
|
14
14
|
import "./chunk-QHQZ2226.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-RSB3X7UR.js";
|
|
16
|
+
import "./chunk-T6CABZ3N.js";
|
|
17
17
|
import "./chunk-Z7IUAJOF.js";
|
|
18
18
|
import "./chunk-AOJU5LKX.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-Y7JEJNNS.js";
|
|
20
20
|
import "./chunk-FGEBFVHB.js";
|
|
21
21
|
export {
|
|
22
22
|
cancelRun,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-RSB3X7UR.js";
|
|
4
|
+
import "./chunk-T6CABZ3N.js";
|
|
5
5
|
import {
|
|
6
6
|
emitJsonl
|
|
7
7
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -9,7 +9,7 @@ import "./chunk-AOJU5LKX.js";
|
|
|
9
9
|
import {
|
|
10
10
|
isMachineFormat,
|
|
11
11
|
usageError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Y7JEJNNS.js";
|
|
13
13
|
import {
|
|
14
14
|
formatZonedTimestamp,
|
|
15
15
|
schedulePreviewRequestSchema
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-RSB3X7UR.js";
|
|
4
|
+
import "./chunk-T6CABZ3N.js";
|
|
5
5
|
import "./chunk-AOJU5LKX.js";
|
|
6
6
|
import {
|
|
7
7
|
isMachineFormat
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Y7JEJNNS.js";
|
|
9
9
|
import {
|
|
10
10
|
CitationStates
|
|
11
11
|
} from "./chunk-FGEBFVHB.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
backfillAiReferralPaths,
|
|
3
3
|
backfillNormalizedPaths
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZSVQTHX3.js";
|
|
5
5
|
import {
|
|
6
6
|
operatorHttpUrl
|
|
7
7
|
} from "./chunk-6GO5VVAC.js";
|
|
@@ -10,9 +10,9 @@ import {
|
|
|
10
10
|
createServer,
|
|
11
11
|
getFirstRunSetupToken,
|
|
12
12
|
waitForServerRuntimeStartup
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-3CDHCDCE.js";
|
|
14
|
+
import "./chunk-3STPYNCP.js";
|
|
15
|
+
import "./chunk-WIQBXZMU.js";
|
|
16
16
|
import "./chunk-AP54KLWN.js";
|
|
17
17
|
import "./chunk-XAJS5FH3.js";
|
|
18
18
|
import "./chunk-XEBKF4N5.js";
|
|
@@ -21,7 +21,7 @@ import "./chunk-WP76HORO.js";
|
|
|
21
21
|
import "./chunk-CBREBUUV.js";
|
|
22
22
|
import {
|
|
23
23
|
trackFeatureCompleted
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-LXFLUFQT.js";
|
|
25
25
|
import {
|
|
26
26
|
isLoopbackBindHost,
|
|
27
27
|
resolveServePort
|
|
@@ -36,30 +36,30 @@ import {
|
|
|
36
36
|
isTelemetryEnabled,
|
|
37
37
|
setTelemetrySource,
|
|
38
38
|
trackEvent
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import "./chunk-
|
|
39
|
+
} from "./chunk-KJX5CMPC.js";
|
|
40
|
+
import "./chunk-3GAJD5NP.js";
|
|
41
41
|
import "./chunk-MG4COK23.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-RSB3X7UR.js";
|
|
43
43
|
import {
|
|
44
44
|
getConfigDir,
|
|
45
45
|
getConfigPath,
|
|
46
46
|
loadConfig,
|
|
47
47
|
saveConfigPatch
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-T6CABZ3N.js";
|
|
49
49
|
import {
|
|
50
50
|
getMissingUserSkillsNudge,
|
|
51
51
|
shouldPrintServeSkillsNudge
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-623X526L.js";
|
|
53
53
|
import "./chunk-PABT3HDP.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-IPUZGRSN.js";
|
|
55
55
|
import "./chunk-UX3HJV2V.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-BJWPYUKT.js";
|
|
57
57
|
import "./chunk-ZHXPH7WB.js";
|
|
58
58
|
import "./chunk-AOJU5LKX.js";
|
|
59
59
|
import {
|
|
60
60
|
CliError,
|
|
61
61
|
isMachineFormat
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-Y7JEJNNS.js";
|
|
63
63
|
import "./chunk-WEJOT2VP.js";
|
|
64
64
|
import "./chunk-LJ65QBRP.js";
|
|
65
65
|
import "./chunk-VRY5M7CR.js";
|
|
@@ -9,23 +9,23 @@ import {
|
|
|
9
9
|
resolveAeroModel,
|
|
10
10
|
resolveConfiguredAgentProvider,
|
|
11
11
|
resolveSessionProviderAndModel
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-3STPYNCP.js";
|
|
13
|
+
import "./chunk-WIQBXZMU.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveAeroSkillDir
|
|
16
16
|
} from "./chunk-MG4COK23.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-RSB3X7UR.js";
|
|
18
18
|
import {
|
|
19
19
|
AgentProviders,
|
|
20
20
|
coerceAgentProvider,
|
|
21
21
|
listAgentProviders
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-T6CABZ3N.js";
|
|
23
|
+
import "./chunk-IPUZGRSN.js";
|
|
24
24
|
import "./chunk-UX3HJV2V.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-BJWPYUKT.js";
|
|
26
26
|
import "./chunk-ZHXPH7WB.js";
|
|
27
27
|
import "./chunk-AOJU5LKX.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-Y7JEJNNS.js";
|
|
29
29
|
import "./chunk-VRY5M7CR.js";
|
|
30
30
|
import "./chunk-HMCDVKHS.js";
|
|
31
31
|
import "./chunk-7PTUA52C.js";
|
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
} from "./chunk-ELCLGWUT.js";
|
|
4
4
|
import {
|
|
5
5
|
createApiClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RSB3X7UR.js";
|
|
7
7
|
import {
|
|
8
8
|
getConfigPath,
|
|
9
9
|
loadConfig,
|
|
10
10
|
saveConfigPatch
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-T6CABZ3N.js";
|
|
12
12
|
import "./chunk-AOJU5LKX.js";
|
|
13
13
|
import {
|
|
14
14
|
CliError,
|
|
15
15
|
EXIT_SYSTEM_ERROR,
|
|
16
16
|
isMachineFormat
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-Y7JEJNNS.js";
|
|
18
18
|
import {
|
|
19
19
|
ProviderConnectionTestStatuses,
|
|
20
20
|
formatDurationSeconds
|
|
@@ -79,7 +79,7 @@ async function disconnectProvider(name, opts) {
|
|
|
79
79
|
else {
|
|
80
80
|
printConnection(preview);
|
|
81
81
|
console.log("\nDisconnect removes the saved connection. Project selections and history are retained; the vendor key is not revoked.");
|
|
82
|
-
console.log(`Run canonry settings disconnect-provider ${name} --confirm --if-impact-revision ${preview.impactRevision} to disconnect.`);
|
|
82
|
+
console.log(`Run \`canonry settings disconnect-provider ${name} --confirm --if-impact-revision ${preview.impactRevision}\` to disconnect.`);
|
|
83
83
|
}
|
|
84
84
|
return;
|
|
85
85
|
}
|
|
@@ -163,7 +163,7 @@ async function testProvider(name, format) {
|
|
|
163
163
|
throw new CliError({
|
|
164
164
|
code: "PROVIDER_TEST_FAILED",
|
|
165
165
|
message: `${result.displayName} connection test failed: ${result.message}`,
|
|
166
|
-
displayMessage: `Error: the ${result.displayName} connection test failed. Fix the saved key
|
|
166
|
+
displayMessage: `Error: the ${result.displayName} connection test failed. Fix the saved key with "canonry settings provider ${result.provider} --api-key <key>" (or the endpoint with --base-url <url>), then test again.`,
|
|
167
167
|
details: { provider: result.provider, status: result.status },
|
|
168
168
|
exitCode: EXIT_SYSTEM_ERROR
|
|
169
169
|
});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-RSB3X7UR.js";
|
|
4
|
+
import "./chunk-T6CABZ3N.js";
|
|
5
5
|
import "./chunk-AOJU5LKX.js";
|
|
6
6
|
import {
|
|
7
7
|
isMachineFormat
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Y7JEJNNS.js";
|
|
9
9
|
import "./chunk-FGEBFVHB.js";
|
|
10
10
|
|
|
11
11
|
// src/commands/sitemaps.ts
|
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
parseSkillsClient,
|
|
10
10
|
resolveBundledSkillsRoot,
|
|
11
11
|
shouldPrintServeSkillsNudge
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-623X526L.js";
|
|
13
13
|
import "./chunk-AOJU5LKX.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-Y7JEJNNS.js";
|
|
15
15
|
import {
|
|
16
16
|
CodingAgents,
|
|
17
17
|
SkillsClients
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
} from "./chunk-XEBKF4N5.js";
|
|
4
4
|
import {
|
|
5
5
|
createApiClient
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-RSB3X7UR.js";
|
|
7
|
+
import "./chunk-T6CABZ3N.js";
|
|
8
8
|
import "./chunk-AOJU5LKX.js";
|
|
9
9
|
import {
|
|
10
10
|
isMachineFormat
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Y7JEJNNS.js";
|
|
12
12
|
import {
|
|
13
13
|
factorStatusFromScore
|
|
14
14
|
} from "./chunk-FGEBFVHB.js";
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runAdmissionLines
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RGT2S3VS.js";
|
|
4
4
|
import "./chunk-QHQZ2226.js";
|
|
5
5
|
import {
|
|
6
6
|
createApiClient
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-RSB3X7UR.js";
|
|
8
|
+
import "./chunk-T6CABZ3N.js";
|
|
9
9
|
import {
|
|
10
10
|
emitJsonl
|
|
11
11
|
} from "./chunk-Z7IUAJOF.js";
|
|
12
12
|
import "./chunk-AOJU5LKX.js";
|
|
13
13
|
import {
|
|
14
14
|
isEndpointMissing,
|
|
15
|
-
isMachineFormat
|
|
16
|
-
|
|
15
|
+
isMachineFormat,
|
|
16
|
+
usageError
|
|
17
|
+
} from "./chunk-Y7JEJNNS.js";
|
|
17
18
|
import {
|
|
18
19
|
HostedMcpStatuses,
|
|
19
20
|
HostedMcpUnavailableReasons
|
|
@@ -71,7 +72,12 @@ async function showStatus(project, format, options = {}) {
|
|
|
71
72
|
}
|
|
72
73
|
return;
|
|
73
74
|
}
|
|
74
|
-
if (!project)
|
|
75
|
+
if (!project) {
|
|
76
|
+
throw usageError("Error: a project is required unless --all is used.\nUsage: canonry status <project>|--all [--problems] [--format json|jsonl]", {
|
|
77
|
+
message: "a project is required unless --all is used",
|
|
78
|
+
details: { command: "status", usage: "canonry status <project>|--all [--problems] [--format json|jsonl]" }
|
|
79
|
+
});
|
|
80
|
+
}
|
|
75
81
|
const projectData = await client.getProject(project);
|
|
76
82
|
const latest = await getLatestRunSummary(client, project);
|
|
77
83
|
let storedStatus = null;
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-RSB3X7UR.js";
|
|
4
|
+
import "./chunk-T6CABZ3N.js";
|
|
5
5
|
import {
|
|
6
6
|
emitJsonl
|
|
7
7
|
} from "./chunk-Z7IUAJOF.js";
|
|
8
8
|
import "./chunk-AOJU5LKX.js";
|
|
9
9
|
import {
|
|
10
10
|
isMachineFormat
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Y7JEJNNS.js";
|
|
12
12
|
import {
|
|
13
13
|
RatioUnits,
|
|
14
14
|
RunStatuses,
|
|
15
15
|
SiteAuditIssueRecommendationScopes,
|
|
16
16
|
describeSiteCrawlTermination,
|
|
17
|
-
formatPercent
|
|
17
|
+
formatPercent,
|
|
18
|
+
shellQuote
|
|
18
19
|
} from "./chunk-FGEBFVHB.js";
|
|
19
20
|
|
|
20
21
|
// src/commands/technical-aeo.ts
|
|
@@ -36,12 +37,13 @@ async function technicalAeoIssues(project, opts) {
|
|
|
36
37
|
}
|
|
37
38
|
const lines = [`Stored audit issues for "${project}":`, ...issueEvidenceProvenance(res)];
|
|
38
39
|
if (res.issues.length === 0) lines.push("No issue groups returned; use the evidence coverage above when interpreting this result.");
|
|
40
|
+
const pagesScope = `${res.runId ? ` --run-id ${shellQuote(res.runId)}` : ""}${res.site ? ` --site ${shellQuote(res.site)}` : ""}`;
|
|
39
41
|
for (const issue of res.issues) {
|
|
40
42
|
const severity = issue.severity === null ? "" : ` \xB7 ${issue.severity}`;
|
|
41
43
|
lines.push("", `[${issue.disposition}${severity}] ${issue.code} \xB7 ${issue.affectedPages} page(s)`, issue.message);
|
|
42
44
|
lines.push(`Issue: ${issue.id}${issue.stableIdentity ? "" : " (identity is specific to this scan)"}`);
|
|
43
45
|
for (const example of issue.examples) lines.push(` ${example.url}`);
|
|
44
|
-
if (issue.examplesTruncated) lines.push(
|
|
46
|
+
if (issue.examplesTruncated) lines.push(`More affected pages are available with \`canonry agent-readiness issue-pages ${shellQuote(project)} --issue-id ${shellQuote(issue.id)}${pagesScope}\`.`);
|
|
45
47
|
if (issue.messageTruncated) lines.push("The saved message is shortened; inspect the affected pages for context.");
|
|
46
48
|
}
|
|
47
49
|
if (res.nextCursor) lines.push("", `Next cursor: ${res.nextCursor}`);
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTelemetryStatus,
|
|
3
3
|
setTelemetryPreference
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KJX5CMPC.js";
|
|
5
5
|
import {
|
|
6
6
|
createApiClient
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RSB3X7UR.js";
|
|
8
8
|
import {
|
|
9
9
|
configExists,
|
|
10
10
|
getConfigPath
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-T6CABZ3N.js";
|
|
12
12
|
import "./chunk-AOJU5LKX.js";
|
|
13
13
|
import {
|
|
14
14
|
CliError,
|
|
15
15
|
isMachineFormat,
|
|
16
16
|
usageError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-Y7JEJNNS.js";
|
|
18
18
|
import {
|
|
19
19
|
normalizeTelemetryStatus
|
|
20
20
|
} from "./chunk-FGEBFVHB.js";
|
|
@@ -11,15 +11,15 @@ import {
|
|
|
11
11
|
buildAllTools,
|
|
12
12
|
buildReadTools,
|
|
13
13
|
isAeroToolProfile
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-WIQBXZMU.js";
|
|
15
|
+
import "./chunk-RSB3X7UR.js";
|
|
16
|
+
import "./chunk-T6CABZ3N.js";
|
|
17
|
+
import "./chunk-IPUZGRSN.js";
|
|
18
18
|
import "./chunk-UX3HJV2V.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-BJWPYUKT.js";
|
|
20
20
|
import "./chunk-ZHXPH7WB.js";
|
|
21
21
|
import "./chunk-AOJU5LKX.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-Y7JEJNNS.js";
|
|
23
23
|
import "./chunk-HMCDVKHS.js";
|
|
24
24
|
import "./chunk-7PTUA52C.js";
|
|
25
25
|
import "./chunk-C4JM5HJW.js";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-WP76HORO.js";
|
|
4
4
|
import {
|
|
5
5
|
createApiClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RSB3X7UR.js";
|
|
7
7
|
import {
|
|
8
8
|
loadConfigRaw
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-T6CABZ3N.js";
|
|
10
10
|
import {
|
|
11
11
|
emitJsonl
|
|
12
12
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
CliError,
|
|
16
16
|
isMachineFormat,
|
|
17
17
|
usageError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-Y7JEJNNS.js";
|
|
19
19
|
import {
|
|
20
20
|
CLOUDFLARE_WORKER_BINDINGS,
|
|
21
21
|
CLOUDFLARE_WORKER_GENERATED_MARKER,
|
|
@@ -40,6 +40,7 @@ import {
|
|
|
40
40
|
parseTrafficEventKindFilter,
|
|
41
41
|
redactKnownSecrets,
|
|
42
42
|
referralAssessmentQuerySchema,
|
|
43
|
+
shellQuote,
|
|
43
44
|
trafficSamplesQuerySchema,
|
|
44
45
|
trafficSeriesGranularitySchema,
|
|
45
46
|
trafficUnrecognizedAgentsQuerySchema
|
|
@@ -407,6 +408,16 @@ function configString(value, fallback = "(unset)") {
|
|
|
407
408
|
function errorMessage(error) {
|
|
408
409
|
return describeError(error);
|
|
409
410
|
}
|
|
411
|
+
function requireTrafficSource(project, source) {
|
|
412
|
+
if (!source) {
|
|
413
|
+
throw new CliError({
|
|
414
|
+
code: "TRAFFIC_SOURCE_REQUIRED",
|
|
415
|
+
message: "--source <id> is required",
|
|
416
|
+
displayMessage: `Error: --source <id> is required. List this project's sources with \`canonry traffic sources ${shellQuote(project)}\`.`,
|
|
417
|
+
details: { project }
|
|
418
|
+
});
|
|
419
|
+
}
|
|
420
|
+
}
|
|
410
421
|
function requireCloudflareQueueOption(project, value, option) {
|
|
411
422
|
if (value?.trim()) return value.trim();
|
|
412
423
|
const code = option === "--account-id" ? "TRAFFIC_CLOUDFLARE_QUEUE_ACCOUNT_REQUIRED" : option === "--queue-id" ? "TRAFFIC_CLOUDFLARE_QUEUE_ID_REQUIRED" : option === "--queue-name" ? "TRAFFIC_CLOUDFLARE_QUEUE_NAME_REQUIRED" : "TRAFFIC_CLOUDFLARE_QUEUE_TOKEN_FILE_REQUIRED";
|
|
@@ -674,6 +685,7 @@ ${message}`,
|
|
|
674
685
|
}
|
|
675
686
|
}
|
|
676
687
|
async function trafficActivate(project, opts, deps = {}) {
|
|
688
|
+
requireTrafficSource(project, opts.sourceId);
|
|
677
689
|
const client = deps.client ?? getClient();
|
|
678
690
|
const source = await client.trafficActivate(project, opts.sourceId);
|
|
679
691
|
if (isMachineFormat(opts.format)) {
|
|
@@ -892,14 +904,7 @@ async function trafficConnectVercel(project, opts) {
|
|
|
892
904
|
console.log(`Next: canonry traffic sync ${project} --source ${result.id}`);
|
|
893
905
|
}
|
|
894
906
|
async function trafficBackfill(project, opts) {
|
|
895
|
-
|
|
896
|
-
throw new CliError({
|
|
897
|
-
code: "TRAFFIC_SOURCE_REQUIRED",
|
|
898
|
-
message: "--source <id> is required",
|
|
899
|
-
displayMessage: "Error: --source <id> is required (run `canonry traffic sources` to list connected sources)",
|
|
900
|
-
details: { project }
|
|
901
|
-
});
|
|
902
|
-
}
|
|
907
|
+
requireTrafficSource(project, opts.source);
|
|
903
908
|
const client = getClient();
|
|
904
909
|
const submitted = await client.trafficBackfill(project, opts.source, {
|
|
905
910
|
days: opts.days
|
|
@@ -915,7 +920,7 @@ async function trafficBackfill(project, opts) {
|
|
|
915
920
|
console.log(` Days applied: ${submitted.daysApplied} (requested ${submitted.daysRequested})`);
|
|
916
921
|
console.log(` Status: ${submitted.status}`);
|
|
917
922
|
console.log("");
|
|
918
|
-
console.log(`Poll: canonry
|
|
923
|
+
console.log(`Poll: canonry run show ${submitted.runId}`);
|
|
919
924
|
return;
|
|
920
925
|
}
|
|
921
926
|
const intervalMs = opts.pollIntervalMs ?? 1500;
|
|
@@ -933,7 +938,7 @@ async function trafficBackfill(project, opts) {
|
|
|
933
938
|
throw new CliError({
|
|
934
939
|
code: "TRAFFIC_BACKFILL_TIMEOUT",
|
|
935
940
|
message: `Backfill did not complete within 5 minutes (run ${submitted.runId} still running)`,
|
|
936
|
-
displayMessage: `Error: backfill run ${submitted.runId} did not finish within 5 minutes \u2014 check status with "canonry
|
|
941
|
+
displayMessage: `Error: backfill run ${submitted.runId} did not finish within 5 minutes \u2014 check status with "canonry run show ${submitted.runId}"`,
|
|
937
942
|
details: { project, runId: submitted.runId }
|
|
938
943
|
});
|
|
939
944
|
}
|
|
@@ -961,14 +966,7 @@ async function trafficBackfill(project, opts) {
|
|
|
961
966
|
});
|
|
962
967
|
}
|
|
963
968
|
async function trafficSync(project, opts) {
|
|
964
|
-
|
|
965
|
-
throw new CliError({
|
|
966
|
-
code: "TRAFFIC_SOURCE_REQUIRED",
|
|
967
|
-
message: "--source <id> is required",
|
|
968
|
-
displayMessage: "Error: --source <id> is required (run `canonry traffic connect cloud-run` first if you have not connected a source)",
|
|
969
|
-
details: { project }
|
|
970
|
-
});
|
|
971
|
-
}
|
|
969
|
+
requireTrafficSource(project, opts.source);
|
|
972
970
|
const client = getClient();
|
|
973
971
|
const result = await client.trafficSync(project, opts.source, {
|
|
974
972
|
sinceMinutes: opts.sinceMinutes
|
|
@@ -1014,6 +1012,7 @@ function describeQueueDrain(drain) {
|
|
|
1014
1012
|
return `${QUEUE_STOP_LABELS[drain.stopReason]}; ${drain.pulls} pull(s), ${drain.messagesPulled} message(s)${redelivered}, ${Math.round(drain.elapsedMs / 1e3)}s`;
|
|
1015
1013
|
}
|
|
1016
1014
|
async function trafficDeclareGap(project, opts) {
|
|
1015
|
+
requireTrafficSource(project, opts.source);
|
|
1017
1016
|
const client = getClient();
|
|
1018
1017
|
const { sources } = await client.trafficListSources(project);
|
|
1019
1018
|
const source = sources.find((entry) => entry.id === opts.source);
|
|
@@ -1042,14 +1041,7 @@ async function trafficDeclareGap(project, opts) {
|
|
|
1042
1041
|
console.log("The traffic gap warning clears at the next health check. Existing traffic data is unchanged.");
|
|
1043
1042
|
}
|
|
1044
1043
|
async function trafficReset(project, opts) {
|
|
1045
|
-
|
|
1046
|
-
throw new CliError({
|
|
1047
|
-
code: "TRAFFIC_SOURCE_REQUIRED",
|
|
1048
|
-
message: "--source <id> is required",
|
|
1049
|
-
displayMessage: "Error: --source <id> is required (run `canonry traffic sources` to list connected sources)",
|
|
1050
|
-
details: { project }
|
|
1051
|
-
});
|
|
1052
|
-
}
|
|
1044
|
+
requireTrafficSource(project, opts.source);
|
|
1053
1045
|
if (!opts.advanceToNow) {
|
|
1054
1046
|
throw new CliError({
|
|
1055
1047
|
code: "TRAFFIC_RESET_REQUIRES_FLAG",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-RSB3X7UR.js";
|
|
4
|
+
import "./chunk-T6CABZ3N.js";
|
|
5
5
|
import "./chunk-AOJU5LKX.js";
|
|
6
6
|
import {
|
|
7
7
|
isMachineFormat
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Y7JEJNNS.js";
|
|
9
9
|
import {
|
|
10
10
|
RatioUnits,
|
|
11
11
|
TrendUnits,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-RSB3X7UR.js";
|
|
4
|
+
import "./chunk-T6CABZ3N.js";
|
|
5
5
|
import {
|
|
6
6
|
emitJsonl
|
|
7
7
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -9,7 +9,7 @@ import "./chunk-AOJU5LKX.js";
|
|
|
9
9
|
import {
|
|
10
10
|
CliError,
|
|
11
11
|
isMachineFormat
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Y7JEJNNS.js";
|
|
13
13
|
import {
|
|
14
14
|
USER_PASSWORD_MIN_LENGTH,
|
|
15
15
|
UserRoles,
|
|
@@ -3,15 +3,16 @@ import {
|
|
|
3
3
|
} from "./chunk-QHQZ2226.js";
|
|
4
4
|
import {
|
|
5
5
|
createApiClient
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-RSB3X7UR.js";
|
|
7
|
+
import "./chunk-T6CABZ3N.js";
|
|
8
8
|
import {
|
|
9
9
|
emitJsonl
|
|
10
10
|
} from "./chunk-Z7IUAJOF.js";
|
|
11
11
|
import "./chunk-AOJU5LKX.js";
|
|
12
12
|
import {
|
|
13
|
-
isMachineFormat
|
|
14
|
-
|
|
13
|
+
isMachineFormat,
|
|
14
|
+
usageError
|
|
15
|
+
} from "./chunk-Y7JEJNNS.js";
|
|
15
16
|
import {
|
|
16
17
|
formatPercent,
|
|
17
18
|
isVisibilityCompareClassMetric,
|
|
@@ -42,7 +43,12 @@ async function showVisibilityStats(project, opts) {
|
|
|
42
43
|
printVisibilityStats(data);
|
|
43
44
|
}
|
|
44
45
|
async function showVisibilityCompare(project, opts) {
|
|
45
|
-
if (!opts.from || !opts.to)
|
|
46
|
+
if (!opts.from || !opts.to) {
|
|
47
|
+
throw usageError("Error: visibility-compare requires --from <YYYY-MM> and --to <YYYY-MM>", {
|
|
48
|
+
message: "visibility-compare requires --from <YYYY-MM> and --to <YYYY-MM>",
|
|
49
|
+
details: { command: "visibility-compare" }
|
|
50
|
+
});
|
|
51
|
+
}
|
|
46
52
|
const client = createApiClient();
|
|
47
53
|
const data = await client.getVisibilityCompare(project, opts.from, opts.to, { scope: opts.scope, scopeKey: opts.scopeKey, marketKey: opts.marketKey, provider: opts.provider, location: opts.location });
|
|
48
54
|
if (isMachineFormat(opts.format)) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-RSB3X7UR.js";
|
|
4
|
+
import "./chunk-T6CABZ3N.js";
|
|
5
5
|
import "./chunk-AOJU5LKX.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError,
|
|
8
8
|
isMachineFormat
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Y7JEJNNS.js";
|
|
10
10
|
import "./chunk-FGEBFVHB.js";
|
|
11
11
|
|
|
12
12
|
// src/commands/wordpress.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canonry/canonry",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.131.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Self-hosted AI visibility (AEO) platform: track how ChatGPT, Claude, Gemini, and Perplexity cite your domain, join it with Search Console, GA4, server-side traffic, and paid media, and fix what you find through agent tools (CLI, REST, MCP). Local SQLite.",
|
|
6
6
|
"keywords": [
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createApiClient
|
|
3
|
-
} from "./chunk-KQQERQJ2.js";
|
|
4
|
-
import "./chunk-52J7GFCK.js";
|
|
5
|
-
import "./chunk-AOJU5LKX.js";
|
|
6
|
-
import {
|
|
7
|
-
CliError,
|
|
8
|
-
isMachineFormat,
|
|
9
|
-
printCliError
|
|
10
|
-
} from "./chunk-QRIKJT6Y.js";
|
|
11
|
-
import "./chunk-FGEBFVHB.js";
|
|
12
|
-
|
|
13
|
-
// src/commands/agent-conversations.ts
|
|
14
|
-
import { randomUUID } from "crypto";
|
|
15
|
-
async function agentConversations(opts) {
|
|
16
|
-
try {
|
|
17
|
-
const client = createApiClient();
|
|
18
|
-
const result = await (() => {
|
|
19
|
-
switch (opts.action) {
|
|
20
|
-
case "list":
|
|
21
|
-
return client.listAgentConversations(opts.project, { offset: opts.offset, limit: opts.limit });
|
|
22
|
-
case "new":
|
|
23
|
-
return client.createAgentConversation(opts.project, opts.id ?? randomUUID());
|
|
24
|
-
case "show":
|
|
25
|
-
return client.getAgentConversation(opts.project, opts.id);
|
|
26
|
-
case "resume":
|
|
27
|
-
return client.resumeAgentConversation(opts.project, opts.id);
|
|
28
|
-
case "delete":
|
|
29
|
-
return client.deleteAgentConversation(opts.project, opts.id);
|
|
30
|
-
}
|
|
31
|
-
})();
|
|
32
|
-
if (isMachineFormat(opts.format)) {
|
|
33
|
-
console.log(JSON.stringify(result, null, 2));
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
if ("conversations" in result) {
|
|
37
|
-
if (!result.conversations.length) console.log("No Aero conversations yet.");
|
|
38
|
-
for (const conversation of result.conversations) console.log(`${conversation.active ? "* " : " "}${conversation.id} ${conversation.title} ${conversation.updatedAt}`);
|
|
39
|
-
if (result.nextOffset !== null) console.log(`More conversations: --offset ${result.nextOffset}`);
|
|
40
|
-
} else if ("messages" in result) {
|
|
41
|
-
console.log(`${result.title} \u2014 ${result.id}${result.active ? " (current)" : ""}`);
|
|
42
|
-
for (const message of result.messages) console.log(`[${message.role}] ${typeof message.content === "string" ? message.content : JSON.stringify(message.content)}`);
|
|
43
|
-
} else console.log(`Conversation deleted: ${result.id}. Shared project notes kept.`);
|
|
44
|
-
} catch (error) {
|
|
45
|
-
printCliError(error, opts.format);
|
|
46
|
-
process.exitCode = error instanceof CliError ? error.exitCode : 2;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
export {
|
|
50
|
-
agentConversations
|
|
51
|
-
};
|