@canonry/canonry 7.128.1 → 7.130.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 +3 -3
- package/assets/assets/{AccessControls-QW1RtXqK.js → AccessControls-B1v2FZPP.js} +1 -1
- package/assets/assets/{AgentSetupPage-BFXD__2X.js → AgentSetupPage-DAu_QuMy.js} +1 -1
- package/assets/assets/{AuditHistoryPanel-Cn9Tnnxo.js → AuditHistoryPanel-D_zRZDy7.js} +1 -1
- package/assets/assets/{BacklinksPage-Bv12EM38.js → BacklinksPage-DMZKWIfa.js} +1 -1
- package/assets/assets/{ChartPrimitives-DIAAi1Eq.js → ChartPrimitives-0854i4GX.js} +1 -1
- package/assets/assets/{HistoryPage-Bfn3nVjo.js → HistoryPage-Ci2llyKV.js} +1 -1
- package/assets/assets/{MeasurementPropertyPage-BuVvdugZ.js → MeasurementPropertyPage-Bml0yUnY.js} +1 -1
- package/assets/assets/{ProjectPage-er2nBpgg.js → ProjectPage-DQgRsgAv.js} +3 -3
- package/assets/assets/{RunsPage-wtzz8XIJ.js → RunsPage-BihA-xXz.js} +1 -1
- package/assets/assets/{ServerTrafficSection-oViiKz3j.js → ServerTrafficSection-B4FdP2Yn.js} +3 -3
- package/assets/assets/{SettingsPage-CVL6mVTM.js → SettingsPage-DuheQKDg.js} +1 -1
- package/assets/assets/{ToneBadge-DSr49xyr.js → ToneBadge-CvjNM6Ls.js} +1 -1
- package/assets/assets/{TrafficPage-drK_F4xY.js → TrafficPage-DiG_i3h4.js} +1 -1
- package/assets/assets/{TrafficSourceDetailPage-BdvprrAg.js → TrafficSourceDetailPage-BRlxEdMd.js} +1 -1
- package/assets/assets/{account-context-CRwUczVQ.js → account-context-DBJg_gVV.js} +1 -1
- package/assets/assets/{agent-trust-copy-DduiTpc0.js → agent-trust-copy-DELKG03R.js} +1 -1
- package/assets/assets/{card-DtN_FyC4.js → card-WjxG7OUP.js} +1 -1
- package/assets/assets/{index-Bh4Hdh7M.js → index-DxQlUSXe.js} +3 -3
- package/assets/assets/{preload-helper-CqQPtzI4.js → preload-helper-CkO9IcjS.js} +1 -1
- package/assets/assets/{query-client-DTIKbVqE.js → query-client-BuEx84KK.js} +1 -1
- package/assets/assets/{react-query-Bt-PaSFW.js → react-query-DF9z4xIx.js} +1 -1
- package/assets/assets/{react-sigma_core.esm.min-DLmrzL1s.js → react-sigma_core.esm.min-C1O8GFwj.js} +1 -1
- package/assets/assets/{server-traffic-BApvbZVl.js → server-traffic-s9vqPEWz.js} +1 -1
- package/assets/assets/{service--wSlHsiA.js → service-ZGP6b4iE.js} +1 -1
- package/assets/index.html +9 -9
- package/dist/activity-VIJVNTMK.js +13 -0
- package/dist/{ads-MMIVXXYK.js → ads-PLZRG4BQ.js} +4 -4
- package/dist/{agent-3N6J7AP5.js → agent-RFRMOTLE.js} +8 -8
- package/dist/{agent-ask-V5NBRKWB.js → agent-ask-CB756SUB.js} +4 -4
- package/dist/{agent-conversations-6ZKNOOGK.js → agent-conversations-RRI7T74B.js} +4 -4
- package/dist/{agent-journeys-R3TB7RS6.js → agent-journeys-PLYAVLGB.js} +4 -4
- package/dist/{agent-memory-VKNEXDCF.js → agent-memory-R5Q7DLRZ.js} +4 -4
- package/dist/{agent-providers-HV3LM656.js → agent-providers-HNMGZ7GY.js} +4 -4
- package/dist/{agent-transcript-5B7ZSNQO.js → agent-transcript-N6ZBTF72.js} +4 -4
- package/dist/{analytics-NRYYKO3D.js → analytics-W6B2FQSA.js} +4 -4
- package/dist/{answerability-BMPIAEV4.js → answerability-BDOOPOJF.js} +4 -4
- package/dist/{apply-52VDVYIV.js → apply-LCANKKT5.js} +4 -4
- package/dist/{backfill-QIXONSLO.js → backfill-E3EVDP2O.js} +11 -11
- package/dist/{backlinks-B4IMH5VN.js → backlinks-ZXSN3XNV.js} +4 -4
- package/dist/{bing-G56ZWW4V.js → bing-FMDKRCXN.js} +4 -4
- package/dist/{bootstrap-74GDJENX.js → bootstrap-IHKKYDBO.js} +11 -11
- package/dist/{cdp-LVPKD5WH.js → cdp-ASPLW35M.js} +8 -8
- package/dist/{chunk-2JW5OBUF.js → chunk-37MF5NMW.js} +5 -5
- package/dist/{chunk-V42NDP4R.js → chunk-4ISL4JNK.js} +4 -4
- package/dist/{chunk-YDVXZWWF.js → chunk-4KITKJPN.js} +5 -5
- package/dist/{chunk-F56XOHE2.js → chunk-52J7GFCK.js} +2 -2
- package/dist/{chunk-4PFBSPFE.js → chunk-5U4HCSI6.js} +4 -4
- package/dist/{chunk-HOR6MC5A.js → chunk-76N4UIAF.js} +387 -378
- package/dist/{chunk-RG5E54VU.js → chunk-7PTUA52C.js} +1 -1
- package/dist/{chunk-KIJCFPN4.js → chunk-ALU56PI7.js} +1 -1
- package/dist/{chunk-PGKT42YN.js → chunk-AP54KLWN.js} +1 -1
- package/dist/{chunk-KZKPWHJA.js → chunk-BERGWPA7.js} +5 -5
- package/dist/{chunk-PM23BRHO.js → chunk-C4JM5HJW.js} +1 -1
- package/dist/{chunk-ETTKN2R4.js → chunk-FGEBFVHB.js} +189 -16
- package/dist/{chunk-DOXBK2KF.js → chunk-FI7HVTO6.js} +13 -5
- package/dist/{chunk-3TCXYRME.js → chunk-GVCL4XBU.js} +3 -3
- package/dist/{chunk-4MEWPJ7A.js → chunk-GXLF45FF.js} +8 -8
- package/dist/{chunk-34CPCOQI.js → chunk-HH6FQW5W.js} +3 -3
- package/dist/{chunk-BHWR4PBF.js → chunk-JMJSAK2H.js} +3 -3
- package/dist/{chunk-YW4K74WM.js → chunk-JUZ4ZCOX.js} +9 -6
- package/dist/{chunk-2GA43I45.js → chunk-KQQERQJ2.js} +3 -3
- package/dist/{chunk-ZXX7DMBJ.js → chunk-LJ65QBRP.js} +1 -1
- package/dist/{chunk-AVLWYL4G.js → chunk-MARIMDMX.js} +4 -4
- package/dist/{chunk-STNPEES2.js → chunk-MI575M4K.js} +59 -42
- package/dist/{chunk-A4NXXWFC.js → chunk-MQFH765X.js} +4 -4
- package/dist/{chunk-WCWWHK7P.js → chunk-NUBJTRIV.js} +352 -223
- package/dist/{chunk-SXLHTMXA.js → chunk-NUYKLS2R.js} +2 -2
- package/dist/{chunk-AT2LRVEB.js → chunk-PABT3HDP.js} +2 -2
- package/dist/{chunk-XTIOFTFS.js → chunk-QHQZ2226.js} +1 -1
- package/dist/{chunk-O6RKXY2P.js → chunk-QRIKJT6Y.js} +1 -1
- package/dist/{chunk-5LBYOWQZ.js → chunk-S6X3HHSN.js} +8 -7
- package/dist/{chunk-UXCNYSAB.js → chunk-VEDGR4LZ.js} +2 -2
- package/dist/{chunk-EOZLVWOC.js → chunk-VON4PHNS.js} +4 -4
- package/dist/{chunk-FQFL223H.js → chunk-VRY5M7CR.js} +2 -2
- package/dist/{chunk-I4ITDPK7.js → chunk-WP76HORO.js} +1 -1
- package/dist/{chunk-G7HRY36G.js → chunk-WZPKPA6I.js} +2 -2
- package/dist/{chunk-7G6PCF4H.js → chunk-XVEPR3ZC.js} +13 -9
- package/dist/{chunk-6RE7O724.js → chunk-Z77D43M5.js} +2 -2
- package/dist/{chunk-5JQHOPNE.js → chunk-ZHWJJVCT.js} +2 -2
- package/dist/{chunk-XMPXMQ5X.js → chunk-ZHXPH7WB.js} +1 -1
- package/dist/{citations-CF7AU3KY.js → citations-YWXR3WBL.js} +5 -5
- package/dist/{cli-catalog-U6WE3BU7.js → cli-catalog-RT3QPDLR.js} +4 -4
- package/dist/cli-commands-6J6A5ULK.js +18 -0
- package/dist/cli.js +14 -14
- package/dist/{competitor-Q7L6HJ5O.js → competitor-6ZTA2SZH.js} +4 -4
- package/dist/{content-5KLBWKCB.js → content-DJYGQ5CP.js} +4 -4
- package/dist/{dashboard-KQ3INTH3.js → dashboard-F7NFKQLL.js} +7 -7
- package/dist/{demo-5YEH32AM.js → demo-653PUOIB.js} +3 -3
- package/dist/{demo-server-25MUI3QS.js → demo-server-PVBLYPC5.js} +13 -13
- package/dist/{discover-ENDRNDS6.js → discover-3E7QM2TL.js} +5 -5
- package/dist/{discover-eval-7LJXSHUM.js → discover-eval-NAZPA6PV.js} +4 -4
- package/dist/{doctor-3N7TEK5G.js → doctor-OFFSPNBK.js} +4 -4
- package/dist/{evidence-MAIUNVWP.js → evidence-VOSSML2G.js} +4 -4
- package/dist/{export-cmd-6FJNHZVJ.js → export-cmd-IVACTDSV.js} +4 -4
- package/dist/{ga-HWFGPMTN.js → ga-BX4C7TPI.js} +4 -4
- package/dist/{gbp-KIPU2NE6.js → gbp-SV3J2VG3.js} +4 -4
- package/dist/{google-PKYUSFRS.js → google-J23OD7TR.js} +5 -5
- package/dist/{google-marketing-NHQ6VSOK.js → google-marketing-TTLXMDMD.js} +2 -2
- package/dist/{health-cmd-OGYIMIFA.js → health-cmd-26AHD5XL.js} +5 -5
- package/dist/{history-5NJOUK2A.js → history-QWBRFDQR.js} +4 -4
- package/dist/index.d.ts +96 -96
- package/dist/index.js +26 -26
- package/dist/{init-3JXUT7VJ.js → init-URQ4E3XR.js} +13 -13
- package/dist/{insights-CWTPGOPF.js → insights-PMTHHZ2H.js} +4 -4
- package/dist/intelligence-service-GPA7IGDX.js +15 -0
- package/dist/{journeys-VP7LL2DS.js → journeys-IA7TF753.js} +4 -4
- package/dist/{keys-VBZG6BWU.js → keys-DOHLZTRI.js} +4 -4
- package/dist/{keyword-M7Y4V5MJ.js → keyword-3C2ZU6OB.js} +4 -4
- package/dist/{logs-NTFQR3S6.js → logs-P7VRVZ5N.js} +4 -4
- package/dist/{mcp-DUN57Q6H.js → mcp-6NA62OAY.js} +5 -5
- package/dist/mcp.js +10 -10
- package/dist/{measurement-plan-SGJ7EDVC.js → measurement-plan-RHKCARVE.js} +6 -6
- package/dist/{notify-4NOHQ6G4.js → notify-ODCY7TD3.js} +4 -4
- package/dist/{organic-evidence-5NWLGCGE.js → organic-evidence-76P5AYB3.js} +4 -4
- package/dist/{overview-EQ3BTXHC.js → overview-5T776SEB.js} +7 -7
- package/dist/{project-J43SI3ZT.js → project-ITMGW45M.js} +4 -4
- package/dist/{project-setup-5WA4RAN3.js → project-setup-A3Q6ZX73.js} +4 -4
- package/dist/{query-NMWKGTJ3.js → query-3QAQITK3.js} +4 -4
- package/dist/{research-UU2JB4JH.js → research-R74N3VRL.js} +4 -4
- package/dist/{results-export-RQMNBKXT.js → results-export-23GY45AY.js} +4 -4
- package/dist/{run-JTIH3ET5.js → run-ID66JYBN.js} +6 -6
- package/dist/{schedule-YVKS4ILU.js → schedule-HZ2CRUAL.js} +4 -4
- package/dist/{search-XCX3SAOT.js → search-DM5WWMTE.js} +4 -4
- package/dist/{serve-GOZOQL67.js → serve-3QDHKCHE.js} +27 -27
- package/dist/{session-H6N6B6RR.js → session-ZN3YZI2D.js} +16 -16
- package/dist/{settings-2GDLWIBA.js → settings-SIEKVYD7.js} +4 -4
- package/dist/{sitemaps-22O75HMK.js → sitemaps-M4IAZLK2.js} +4 -4
- package/dist/{skills-NSUS2XV2.js → skills-J6LWTNU5.js} +3 -3
- package/dist/{snapshot-UCITZQFF.js → snapshot-SM3BVX5M.js} +4 -4
- package/dist/{src-OAVTTKVK.js → src-VGZVLOM3.js} +2 -2
- package/dist/{status-KJZSA6KP.js → status-BHJJOUCK.js} +6 -6
- package/dist/{support-PWLEDLQT.js → support-FPXXXJPZ.js} +2 -2
- package/dist/{technical-aeo-P3R7RR52.js → technical-aeo-4DJWWPUN.js} +4 -4
- package/dist/{telemetry-LA72RJFS.js → telemetry-LKVQUSO7.js} +5 -5
- package/dist/{tools-Q6ITEQ4V.js → tools-Y67PVNIJ.js} +12 -12
- package/dist/{traffic-CRLJJFKS.js → traffic-QSZYZHFW.js} +6 -6
- package/dist/{trends-A7ST3WIY.js → trends-WIHWJVJR.js} +4 -4
- package/dist/{users-4H7IS7WC.js → users-HQOPQRTP.js} +4 -4
- package/dist/{visibility-stats-F2RUTMYR.js → visibility-stats-MCY5CAUC.js} +5 -5
- package/dist/{wordpress-EVNS3SAF.js → wordpress-IB5YOJSM.js} +5 -5
- package/package.json +1 -1
- package/dist/activity-IDVGFHBZ.js +0 -13
- package/dist/cli-commands-DFFJYIZF.js +0 -18
- package/dist/intelligence-service-7DFVBFXY.js +0 -15
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
trackIntegrationConnection
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4ISL4JNK.js";
|
|
4
4
|
import {
|
|
5
5
|
cliRuntimeContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WZPKPA6I.js";
|
|
7
7
|
|
|
8
8
|
// src/cli-connection-telemetry.ts
|
|
9
9
|
function trackCliConnection(properties) {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
siteCrawlGraphNodes,
|
|
6
6
|
siteCrawlPages,
|
|
7
7
|
siteCrawlSnapshots
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FI7HVTO6.js";
|
|
9
9
|
import {
|
|
10
10
|
SITE_CRAWL_GRAPH_MAX_EDGES,
|
|
11
11
|
SITE_CRAWL_GRAPH_MAX_NODES,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
factorStatusFromDistribution,
|
|
16
16
|
factorStatusFromScore,
|
|
17
17
|
roundPreservingTotal
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FGEBFVHB.js";
|
|
19
19
|
|
|
20
20
|
// src/site-audit-factors.ts
|
|
21
21
|
function recordedSharePct(factor) {
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
dedupeGscSitemapUrls,
|
|
6
6
|
resolveDiscoveredGscSitemapUrls,
|
|
7
7
|
submitGscSitemapBatches
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VEDGR4LZ.js";
|
|
9
9
|
import {
|
|
10
10
|
measurementDraftOperationSchema,
|
|
11
11
|
runMeasurementDraftAction
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZHXPH7WB.js";
|
|
13
13
|
import {
|
|
14
14
|
CliError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
16
16
|
import {
|
|
17
17
|
AGENT_MEMORY_KEY_MAX_LENGTH,
|
|
18
18
|
AGENT_MEMORY_VALUE_MAX_BYTES,
|
|
@@ -219,7 +219,7 @@ import {
|
|
|
219
219
|
trendSurfaceSchema,
|
|
220
220
|
visibilityCompareSelectionSchema,
|
|
221
221
|
visibilityReportRequestSchema
|
|
222
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-FGEBFVHB.js";
|
|
223
223
|
|
|
224
224
|
// src/mcp/tool-registry.ts
|
|
225
225
|
import { z as z2 } from "zod";
|
|
@@ -654,10 +654,11 @@ async function syncGscFromMcp(client, input) {
|
|
|
654
654
|
run = await client.gscSync(project, { days, full });
|
|
655
655
|
} catch (error) {
|
|
656
656
|
if (error instanceof CliError && error.code === "INTEGRATION_NOT_CONNECTED") {
|
|
657
|
+
const remediation = "Connect it with canonry_gsc_connect, then select its site with canonry_gsc_properties and canonry_gsc_set_property.";
|
|
657
658
|
throw new CliError({
|
|
658
659
|
code: error.code,
|
|
659
|
-
message: `Search Console is not connected for project "${project}".
|
|
660
|
-
details: { ...error.details, project }
|
|
660
|
+
message: `Search Console is not connected for project "${project}". ${remediation}`,
|
|
661
|
+
details: { ...error.details, project, remediation }
|
|
661
662
|
});
|
|
662
663
|
}
|
|
663
664
|
throw error;
|
|
@@ -1776,7 +1777,7 @@ var rawCanonryMcpTools = [
|
|
|
1776
1777
|
name: "canonry_query_tracking_preview",
|
|
1777
1778
|
title: "Preview query assignments",
|
|
1778
1779
|
description: "Preview manual, template or saved research additions and assignment removals against the exact workspace version. Returns a review token, deduplicated change and next-sweep workload. Does not publish or start provider work. This POST requires write access.",
|
|
1779
|
-
access: "
|
|
1780
|
+
access: "read",
|
|
1780
1781
|
tier: "setup",
|
|
1781
1782
|
inputSchema: z2.object({ project: projectNameSchema, request: queryTrackingPreviewRequestSchema }).strict(),
|
|
1782
1783
|
annotations: readAnnotations(),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CliError,
|
|
3
3
|
EXIT_SYSTEM_ERROR
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
5
5
|
import {
|
|
6
6
|
describeError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FGEBFVHB.js";
|
|
8
8
|
|
|
9
9
|
// src/gsc-sitemap-submission.ts
|
|
10
10
|
function dedupeGscSitemapUrls(urls) {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
SNAPSHOT_CELL_LEGEND,
|
|
3
3
|
citationGlyph,
|
|
4
4
|
mentionGlyph
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QHQZ2226.js";
|
|
6
6
|
import {
|
|
7
7
|
createApiClient
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KQQERQJ2.js";
|
|
9
9
|
import {
|
|
10
10
|
emitJsonl
|
|
11
11
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
CliError,
|
|
14
14
|
EXIT_SYSTEM_ERROR,
|
|
15
15
|
isMachineFormat
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
17
17
|
import {
|
|
18
18
|
MentionIdentities,
|
|
19
19
|
OUTSTANDING_PROVIDER_BATCH_STATUSES,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
formatMicros,
|
|
24
24
|
formatRunErrorOneLine,
|
|
25
25
|
resolveProviderInput
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-FGEBFVHB.js";
|
|
27
27
|
|
|
28
28
|
// src/commands/run.ts
|
|
29
29
|
function getClient() {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRequestContext
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-C4JM5HJW.js";
|
|
4
4
|
import {
|
|
5
5
|
diagnosticIdentity,
|
|
6
6
|
redactLogString,
|
|
7
7
|
redactLogValue
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FGEBFVHB.js";
|
|
9
9
|
|
|
10
10
|
// ../api-routes/src/runtime-logger.ts
|
|
11
11
|
import { format } from "util";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
loadConfig,
|
|
6
6
|
loadConfigRaw,
|
|
7
7
|
saveConfigPatch
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-52J7GFCK.js";
|
|
9
9
|
import {
|
|
10
10
|
CANONRY_NPM_PACKAGE_URL,
|
|
11
11
|
compareSemver,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
updateCheckEnvOptOut,
|
|
19
19
|
upgradeCaveatFor,
|
|
20
20
|
upgradeCommandFor
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FGEBFVHB.js";
|
|
22
22
|
|
|
23
23
|
// src/runtime-context.ts
|
|
24
24
|
function cliRuntimeContext(env = process.env, stdio = process) {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
isStoredPageReadTool,
|
|
6
6
|
isStoredReadTool,
|
|
7
7
|
truncateToolResult
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4KITKJPN.js";
|
|
9
9
|
import {
|
|
10
10
|
CANONRY_MCP_TOOLKITS,
|
|
11
11
|
resolveAeroSkillDir
|
|
@@ -23,18 +23,18 @@ import {
|
|
|
23
23
|
resolveApiKeyFor,
|
|
24
24
|
resolveModelForProvider,
|
|
25
25
|
validateAgentProviderRegistry
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-52J7GFCK.js";
|
|
27
27
|
import {
|
|
28
28
|
CanonryMcpToolNames,
|
|
29
29
|
canonryMcpTools
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-S6X3HHSN.js";
|
|
31
31
|
import {
|
|
32
32
|
createLogger
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-VRY5M7CR.js";
|
|
34
34
|
import {
|
|
35
35
|
agentToolEvents,
|
|
36
36
|
llmUsageEvents
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-FI7HVTO6.js";
|
|
38
38
|
import {
|
|
39
39
|
MeasurementPortfolioLists,
|
|
40
40
|
SEO_TREND_METRICS_BY_KIND,
|
|
@@ -43,9 +43,10 @@ import {
|
|
|
43
43
|
agentTurnLimitsSchema,
|
|
44
44
|
agentVisibilityEvidence,
|
|
45
45
|
describeError,
|
|
46
|
+
missingDependency,
|
|
46
47
|
validationError,
|
|
47
48
|
visibilityReportRequestSchema
|
|
48
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-FGEBFVHB.js";
|
|
49
50
|
|
|
50
51
|
// src/agent/session.ts
|
|
51
52
|
import fs2 from "fs";
|
|
@@ -993,6 +994,9 @@ function missingProviderMessage() {
|
|
|
993
994
|
const envHints = agentProvidersByPriority().map(agentProviderApiKeyEnvVar).join(" / ");
|
|
994
995
|
return `No agent LLM provider configured. Add an API key for one of: ${configHints} in ~/.canonry/config.yaml, or export ${envHints}.`;
|
|
995
996
|
}
|
|
997
|
+
function missingAgentProvider() {
|
|
998
|
+
return missingDependency(missingProviderMessage(), { reason: "agent-provider-not-configured" });
|
|
999
|
+
}
|
|
996
1000
|
function resolveConfiguredAgentProvider(config) {
|
|
997
1001
|
return coerceAgentProvider(config.agent?.provider);
|
|
998
1002
|
}
|
|
@@ -1035,7 +1039,7 @@ function buildAeroProviderSessionId(opts) {
|
|
|
1035
1039
|
function createAeroSession(opts) {
|
|
1036
1040
|
const systemPrompt = opts.systemPromptOverride ?? loadAeroSystemPrompt();
|
|
1037
1041
|
const provider = opts.provider ?? detectAgentProvider(opts.config);
|
|
1038
|
-
if (!provider) throw
|
|
1042
|
+
if (!provider) throw missingAgentProvider();
|
|
1039
1043
|
const model = resolveAeroModel(provider, opts.modelId);
|
|
1040
1044
|
const thinkingLevel = resolveAgentReasoning(process.env, opts.config, provider, model.id);
|
|
1041
1045
|
const toolScope = opts.toolScope ?? AeroToolScopes.all;
|
|
@@ -1091,7 +1095,7 @@ function createAeroSession(opts) {
|
|
|
1091
1095
|
function resolveSessionProviderAndModel(config, opts) {
|
|
1092
1096
|
const pinned = resolveConfiguredAgentProvider(config);
|
|
1093
1097
|
const provider = opts?.provider ?? pinned ?? detectAgentProvider(config);
|
|
1094
|
-
if (!provider) throw
|
|
1098
|
+
if (!provider) throw missingAgentProvider();
|
|
1095
1099
|
const pinnedModelId = provider === pinned ? config.agent?.model : void 0;
|
|
1096
1100
|
const modelId = opts?.modelId ?? pinnedModelId ?? getAgentProvider(provider).defaultModel;
|
|
1097
1101
|
return { provider, modelId };
|
|
@@ -1116,7 +1120,7 @@ export {
|
|
|
1116
1120
|
aeroViewPrompt,
|
|
1117
1121
|
loadAeroSystemPrompt,
|
|
1118
1122
|
appendSystemPromptExtras,
|
|
1119
|
-
|
|
1123
|
+
missingAgentProvider,
|
|
1120
1124
|
resolveConfiguredAgentProvider,
|
|
1121
1125
|
describeAgentPin,
|
|
1122
1126
|
detectAgentProvider,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
CliError,
|
|
6
6
|
isMachineFormat
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
8
8
|
import {
|
|
9
9
|
CodingAgents,
|
|
10
10
|
SKILL_MANIFEST_FILENAME,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
formatCanonryPluginUpdateHint,
|
|
16
16
|
formatCanonryPluginVersionMismatch,
|
|
17
17
|
skillsClientSchema
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FGEBFVHB.js";
|
|
19
19
|
|
|
20
20
|
// src/commands/skills.ts
|
|
21
21
|
import crypto from "crypto";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usageError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
4
4
|
import {
|
|
5
5
|
AppError,
|
|
6
6
|
parseWindowIn,
|
|
7
7
|
resolveDateRange
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FGEBFVHB.js";
|
|
9
9
|
|
|
10
10
|
// src/cli-access.ts
|
|
11
11
|
var CLI_ACCESS_BY_ID = Object.freeze({
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
measurementDraftUpsertGroupRequestSchema,
|
|
24
24
|
measurementDraftUpsertMarketRequestSchema,
|
|
25
25
|
measurementDraftUpsertTargetRequestSchema
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-FGEBFVHB.js";
|
|
27
27
|
|
|
28
28
|
// src/measurement-draft-actions.ts
|
|
29
29
|
import { z } from "zod";
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
citationGlyph,
|
|
4
4
|
citedBase,
|
|
5
5
|
mentionGlyph
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QHQZ2226.js";
|
|
7
7
|
import {
|
|
8
8
|
createApiClient
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-KQQERQJ2.js";
|
|
10
|
+
import "./chunk-52J7GFCK.js";
|
|
11
11
|
import {
|
|
12
12
|
emitJsonl
|
|
13
13
|
} from "./chunk-Z7IUAJOF.js";
|
|
14
14
|
import "./chunk-AOJU5LKX.js";
|
|
15
15
|
import {
|
|
16
16
|
isMachineFormat
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
18
|
+
import "./chunk-FGEBFVHB.js";
|
|
19
19
|
|
|
20
20
|
// src/commands/citations.ts
|
|
21
21
|
async function showCitationVisibility(project, opts) {
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
buildCliCatalog,
|
|
4
4
|
printCliCatalog,
|
|
5
5
|
renderTopLevelHelp
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-MQFH765X.js";
|
|
7
|
+
import "./chunk-ZHWJJVCT.js";
|
|
8
8
|
import "./chunk-Z7IUAJOF.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-QRIKJT6Y.js";
|
|
10
|
+
import "./chunk-FGEBFVHB.js";
|
|
11
11
|
export {
|
|
12
12
|
CLI_ROOT_SUMMARIES,
|
|
13
13
|
buildCliCatalog,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
REGISTERED_CLI_COMMANDS
|
|
3
|
+
} from "./chunk-76N4UIAF.js";
|
|
4
|
+
import "./chunk-6GO5VVAC.js";
|
|
5
|
+
import "./chunk-VJWDBFSL.js";
|
|
6
|
+
import "./chunk-MARIMDMX.js";
|
|
7
|
+
import "./chunk-TSENU4GG.js";
|
|
8
|
+
import "./chunk-KQQERQJ2.js";
|
|
9
|
+
import "./chunk-52J7GFCK.js";
|
|
10
|
+
import "./chunk-ZHWJJVCT.js";
|
|
11
|
+
import "./chunk-Z7IUAJOF.js";
|
|
12
|
+
import "./chunk-ZHXPH7WB.js";
|
|
13
|
+
import "./chunk-AOJU5LKX.js";
|
|
14
|
+
import "./chunk-QRIKJT6Y.js";
|
|
15
|
+
import "./chunk-FGEBFVHB.js";
|
|
16
|
+
export {
|
|
17
|
+
REGISTERED_CLI_COMMANDS
|
|
18
|
+
};
|
package/dist/cli.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node --import tsx
|
|
2
2
|
import {
|
|
3
3
|
REGISTERED_CLI_COMMANDS
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-76N4UIAF.js";
|
|
5
5
|
import "./chunk-6GO5VVAC.js";
|
|
6
6
|
import {
|
|
7
7
|
buildSetupState,
|
|
8
8
|
runPendingServeHandoff
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5U4HCSI6.js";
|
|
10
10
|
import "./chunk-VJWDBFSL.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-MARIMDMX.js";
|
|
12
12
|
import "./chunk-TSENU4GG.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-ALU56PI7.js";
|
|
14
14
|
import {
|
|
15
15
|
checkLatestVersionForCli,
|
|
16
16
|
cliRuntimeContext,
|
|
@@ -24,24 +24,24 @@ import {
|
|
|
24
24
|
showFirstRunNotice,
|
|
25
25
|
trackCliCommandFinished,
|
|
26
26
|
trackEvent
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-WZPKPA6I.js";
|
|
28
28
|
import {
|
|
29
29
|
autoSyncSkills,
|
|
30
30
|
formatAutoSyncNotice
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-JMJSAK2H.js";
|
|
32
|
+
import "./chunk-KQQERQJ2.js";
|
|
33
|
+
import "./chunk-52J7GFCK.js";
|
|
34
34
|
import {
|
|
35
35
|
accessFilterFromArgs,
|
|
36
36
|
dispatchRegisteredCommand,
|
|
37
37
|
printCliCatalog
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-MQFH765X.js";
|
|
39
39
|
import {
|
|
40
40
|
resolveCliAccess
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-ZHWJJVCT.js";
|
|
42
42
|
import "./chunk-Z7IUAJOF.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-Z77D43M5.js";
|
|
44
|
+
import "./chunk-ZHXPH7WB.js";
|
|
45
45
|
import "./chunk-AOJU5LKX.js";
|
|
46
46
|
import {
|
|
47
47
|
CliError,
|
|
@@ -49,10 +49,10 @@ import {
|
|
|
49
49
|
isMachineFormat,
|
|
50
50
|
printCliError,
|
|
51
51
|
usageError
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
53
53
|
import {
|
|
54
54
|
OperationAccesses
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-FGEBFVHB.js";
|
|
56
56
|
|
|
57
57
|
// src/cli.ts
|
|
58
58
|
import { pathToFileURL } from "url";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-KQQERQJ2.js";
|
|
4
|
+
import "./chunk-52J7GFCK.js";
|
|
5
5
|
import {
|
|
6
6
|
emitJsonl
|
|
7
7
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
CliError,
|
|
11
11
|
isMachineFormat,
|
|
12
12
|
usageError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
14
14
|
import {
|
|
15
15
|
CompetitorChangeKinds,
|
|
16
16
|
CompetitorShareImpactCaveats,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
normalizeCompetitorDomain,
|
|
22
22
|
shareOfVoiceLabel,
|
|
23
23
|
shareOfVoiceReason
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-FGEBFVHB.js";
|
|
25
25
|
|
|
26
26
|
// src/commands/competitor.ts
|
|
27
27
|
import fs from "fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-KQQERQJ2.js";
|
|
4
|
+
import "./chunk-52J7GFCK.js";
|
|
5
5
|
import {
|
|
6
6
|
emitJsonl
|
|
7
7
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
CliError,
|
|
11
11
|
isMachineFormat,
|
|
12
12
|
usageError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
14
14
|
import {
|
|
15
15
|
contentTargetDismissRequestSchema,
|
|
16
16
|
formatPercent
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FGEBFVHB.js";
|
|
18
18
|
|
|
19
19
|
// src/commands/content.ts
|
|
20
20
|
var WINNABILITY_COVERAGE_CHECK_ID = "content.winnability.coverage";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearDashboardPassword,
|
|
3
3
|
loadConfigRaw
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-52J7GFCK.js";
|
|
5
5
|
import {
|
|
6
6
|
isMachineFormat
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
8
8
|
import {
|
|
9
9
|
anyUsersExist
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-NUBJTRIV.js";
|
|
11
|
+
import "./chunk-7PTUA52C.js";
|
|
12
|
+
import "./chunk-C4JM5HJW.js";
|
|
13
13
|
import {
|
|
14
14
|
createClient
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-FI7HVTO6.js";
|
|
16
|
+
import "./chunk-FGEBFVHB.js";
|
|
17
17
|
|
|
18
18
|
// src/commands/dashboard.ts
|
|
19
19
|
import fs from "fs";
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
CliError,
|
|
8
8
|
isMachineFormat
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
10
|
+
import "./chunk-FGEBFVHB.js";
|
|
11
11
|
|
|
12
12
|
// src/commands/demo.ts
|
|
13
13
|
function parseDemoListenOptions(options) {
|
|
@@ -40,7 +40,7 @@ function parseDemoTrustedProxies(values) {
|
|
|
40
40
|
async function demoCommand(options) {
|
|
41
41
|
const { host, port } = parseDemoListenOptions(options);
|
|
42
42
|
const trustProxy = parseDemoTrustedProxies(options.trustProxy);
|
|
43
|
-
const { createDemoServer } = await import("./demo-server-
|
|
43
|
+
const { createDemoServer } = await import("./demo-server-PVBLYPC5.js");
|
|
44
44
|
const app = await createDemoServer({ trustProxy });
|
|
45
45
|
let stopping = false;
|
|
46
46
|
const stop = () => {
|
|
@@ -5,31 +5,31 @@ import {
|
|
|
5
5
|
computeFactorAverages,
|
|
6
6
|
layoutSiteCrawlGraphInput,
|
|
7
7
|
persistSiteCrawlGraphLayout
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PABT3HDP.js";
|
|
9
9
|
import {
|
|
10
10
|
canonryMcpTools
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-S6X3HHSN.js";
|
|
12
12
|
import "./chunk-UX3HJV2V.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-VEDGR4LZ.js";
|
|
14
|
+
import "./chunk-ZHXPH7WB.js";
|
|
15
15
|
import {
|
|
16
16
|
PACKAGE_VERSION
|
|
17
17
|
} from "./chunk-AOJU5LKX.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-QRIKJT6Y.js";
|
|
19
19
|
import {
|
|
20
20
|
HISTORY_WINDOW_RUNS,
|
|
21
21
|
IntelligenceService
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-BERGWPA7.js";
|
|
23
23
|
import {
|
|
24
24
|
determineCitationState
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-LJ65QBRP.js";
|
|
26
|
+
import "./chunk-VRY5M7CR.js";
|
|
27
27
|
import {
|
|
28
28
|
apiRoutes,
|
|
29
29
|
assessConversionTrackingIntegrity
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-NUBJTRIV.js";
|
|
31
|
+
import "./chunk-7PTUA52C.js";
|
|
32
|
+
import "./chunk-C4JM5HJW.js";
|
|
33
33
|
import {
|
|
34
34
|
adsAdGroups,
|
|
35
35
|
adsAds,
|
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
siteCrawlPages,
|
|
106
106
|
siteCrawlSnapshots,
|
|
107
107
|
trafficSources
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-FI7HVTO6.js";
|
|
109
109
|
import {
|
|
110
110
|
AI_ENGINE_DOMAINS,
|
|
111
111
|
CitationStates,
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
siteAuditPageFactorSchema,
|
|
155
155
|
wilsonInterval,
|
|
156
156
|
withLegacyAgentReadinessPaths
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-FGEBFVHB.js";
|
|
158
158
|
|
|
159
159
|
// src/demo-server.ts
|
|
160
160
|
import { dirname, join as join2 } from "path";
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
SNAPSHOT_CELL_LEGEND,
|
|
3
3
|
citationGlyph,
|
|
4
4
|
mentionGlyph
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QHQZ2226.js";
|
|
6
6
|
import {
|
|
7
7
|
createApiClient
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-KQQERQJ2.js";
|
|
9
|
+
import "./chunk-52J7GFCK.js";
|
|
10
10
|
import {
|
|
11
11
|
emitJsonl
|
|
12
12
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -14,11 +14,11 @@ import "./chunk-AOJU5LKX.js";
|
|
|
14
14
|
import {
|
|
15
15
|
CliError,
|
|
16
16
|
isMachineFormat
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
18
18
|
import {
|
|
19
19
|
DiscoveryPromoteCompetitorSkipReasons,
|
|
20
20
|
describeError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FGEBFVHB.js";
|
|
22
22
|
|
|
23
23
|
// src/commands/discover.ts
|
|
24
24
|
var TERMINAL_DISCOVERY_STATUSES = /* @__PURE__ */ new Set([
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-KQQERQJ2.js";
|
|
4
|
+
import "./chunk-52J7GFCK.js";
|
|
5
5
|
import "./chunk-AOJU5LKX.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError,
|
|
8
8
|
EXIT_USER_ERROR
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
10
|
+
import "./chunk-FGEBFVHB.js";
|
|
11
11
|
|
|
12
12
|
// src/commands/discover-eval.ts
|
|
13
13
|
import fs from "fs";
|