@canonry/canonry 7.129.0 → 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/dist/activity-VIJVNTMK.js +13 -0
- package/dist/{ads-XOHE65YV.js → ads-PLZRG4BQ.js} +4 -4
- package/dist/{agent-R2KM6VDZ.js → agent-RFRMOTLE.js} +8 -8
- package/dist/{agent-ask-LK6L5U2G.js → agent-ask-CB756SUB.js} +4 -4
- package/dist/{agent-conversations-SPQZA674.js → agent-conversations-RRI7T74B.js} +4 -4
- package/dist/{agent-journeys-J4PRNH37.js → agent-journeys-PLYAVLGB.js} +4 -4
- package/dist/{agent-memory-HXK5R5H2.js → agent-memory-R5Q7DLRZ.js} +4 -4
- package/dist/{agent-providers-YXCFLOAD.js → agent-providers-HNMGZ7GY.js} +4 -4
- package/dist/{agent-transcript-XLBIKNTI.js → agent-transcript-N6ZBTF72.js} +4 -4
- package/dist/{analytics-CT6X5AIK.js → analytics-W6B2FQSA.js} +4 -4
- package/dist/{answerability-PRGBTPYO.js → answerability-BDOOPOJF.js} +4 -4
- package/dist/{apply-6AQBJSLU.js → apply-LCANKKT5.js} +4 -4
- package/dist/{backfill-UMVXMH2Z.js → backfill-E3EVDP2O.js} +11 -11
- package/dist/{backlinks-YAQL5BCW.js → backlinks-ZXSN3XNV.js} +4 -4
- package/dist/{bing-A3BZHGVS.js → bing-FMDKRCXN.js} +4 -4
- package/dist/{bootstrap-3GXCVZR6.js → bootstrap-IHKKYDBO.js} +11 -11
- package/dist/{cdp-NTHQS2VZ.js → cdp-ASPLW35M.js} +8 -8
- package/dist/{chunk-HD73OWIQ.js → chunk-37MF5NMW.js} +5 -5
- package/dist/{chunk-T5H4KNSZ.js → chunk-4ISL4JNK.js} +4 -4
- package/dist/{chunk-2DTDECRE.js → chunk-4KITKJPN.js} +5 -5
- package/dist/{chunk-T7EDIDHA.js → chunk-52J7GFCK.js} +2 -2
- package/dist/{chunk-PQL52QOQ.js → chunk-5U4HCSI6.js} +4 -4
- package/dist/{chunk-3HQ5GREG.js → chunk-76N4UIAF.js} +387 -378
- package/dist/{chunk-JZDOF24J.js → chunk-7PTUA52C.js} +1 -1
- package/dist/{chunk-66ESBZBC.js → chunk-ALU56PI7.js} +1 -1
- package/dist/{chunk-AFKCRFVL.js → chunk-AP54KLWN.js} +1 -1
- package/dist/{chunk-6HWV3PVJ.js → chunk-BERGWPA7.js} +5 -5
- package/dist/{chunk-RHVX66CW.js → chunk-C4JM5HJW.js} +1 -1
- package/dist/{chunk-MYDVOMA2.js → chunk-FGEBFVHB.js} +179 -16
- package/dist/{chunk-2QHWROIF.js → chunk-FI7HVTO6.js} +13 -5
- package/dist/{chunk-GUU3LZQ2.js → chunk-GVCL4XBU.js} +3 -3
- package/dist/{chunk-SQ7ZF5MT.js → chunk-GXLF45FF.js} +8 -8
- package/dist/{chunk-APM25SLF.js → chunk-HH6FQW5W.js} +3 -3
- package/dist/{chunk-GBYV3WM5.js → chunk-JMJSAK2H.js} +3 -3
- package/dist/{chunk-OFW3JZLL.js → chunk-JUZ4ZCOX.js} +4 -4
- package/dist/{chunk-H7UFYW34.js → chunk-KQQERQJ2.js} +3 -3
- package/dist/{chunk-V5B2CFBF.js → chunk-LJ65QBRP.js} +1 -1
- package/dist/{chunk-RXBK4GQX.js → chunk-MARIMDMX.js} +4 -4
- package/dist/{chunk-HEWCB5LK.js → chunk-MI575M4K.js} +59 -42
- package/dist/{chunk-EGTMTGBD.js → chunk-MQFH765X.js} +4 -4
- package/dist/{chunk-WPYUTGW5.js → chunk-NUBJTRIV.js} +352 -223
- package/dist/{chunk-BW3SUS45.js → chunk-NUYKLS2R.js} +2 -2
- package/dist/{chunk-MWZQPB26.js → chunk-PABT3HDP.js} +2 -2
- package/dist/{chunk-KL6LUFZG.js → chunk-QHQZ2226.js} +1 -1
- package/dist/{chunk-NJPBDYVK.js → chunk-QRIKJT6Y.js} +1 -1
- package/dist/{chunk-JJQ5USIP.js → chunk-S6X3HHSN.js} +7 -6
- package/dist/{chunk-6S3Z37H7.js → chunk-VEDGR4LZ.js} +2 -2
- package/dist/{chunk-YMWRR3HT.js → chunk-VON4PHNS.js} +4 -4
- package/dist/{chunk-6TEMKMWL.js → chunk-VRY5M7CR.js} +2 -2
- package/dist/{chunk-5QRZYOHL.js → chunk-WP76HORO.js} +1 -1
- package/dist/{chunk-3HW7EDLQ.js → chunk-WZPKPA6I.js} +2 -2
- package/dist/{chunk-CT6J54HN.js → chunk-XVEPR3ZC.js} +13 -9
- package/dist/{chunk-EF6I66NL.js → chunk-Z77D43M5.js} +2 -2
- package/dist/{chunk-YYMXQVGL.js → chunk-ZHWJJVCT.js} +2 -2
- package/dist/{chunk-OWT4PYRT.js → chunk-ZHXPH7WB.js} +1 -1
- package/dist/{citations-GNB2QFVP.js → citations-YWXR3WBL.js} +5 -5
- package/dist/{cli-catalog-U6DBN4VK.js → cli-catalog-RT3QPDLR.js} +4 -4
- package/dist/cli-commands-6J6A5ULK.js +18 -0
- package/dist/cli.js +14 -14
- package/dist/{competitor-I7Z6SSQP.js → competitor-6ZTA2SZH.js} +4 -4
- package/dist/{content-QIBZSUA6.js → content-DJYGQ5CP.js} +4 -4
- package/dist/{dashboard-7FYN233W.js → dashboard-F7NFKQLL.js} +7 -7
- package/dist/{demo-P2V5SBGO.js → demo-653PUOIB.js} +3 -3
- package/dist/{demo-server-YYKW42LA.js → demo-server-PVBLYPC5.js} +13 -13
- package/dist/{discover-RBTF62HF.js → discover-3E7QM2TL.js} +5 -5
- package/dist/{discover-eval-NMDHNYFT.js → discover-eval-NAZPA6PV.js} +4 -4
- package/dist/{doctor-4CJAVMAD.js → doctor-OFFSPNBK.js} +4 -4
- package/dist/{evidence-7Q4ET24V.js → evidence-VOSSML2G.js} +4 -4
- package/dist/{export-cmd-CKK77OJI.js → export-cmd-IVACTDSV.js} +4 -4
- package/dist/{ga-EZOQAH3P.js → ga-BX4C7TPI.js} +4 -4
- package/dist/{gbp-UL6TC2FY.js → gbp-SV3J2VG3.js} +4 -4
- package/dist/{google-7BM3AREH.js → google-J23OD7TR.js} +5 -5
- package/dist/{google-marketing-DM6R3K7R.js → google-marketing-TTLXMDMD.js} +2 -2
- package/dist/{health-cmd-TDD7FB7Z.js → health-cmd-26AHD5XL.js} +5 -5
- package/dist/{history-V5CQNF4Z.js → history-QWBRFDQR.js} +4 -4
- package/dist/index.d.ts +24 -24
- package/dist/index.js +26 -26
- package/dist/{init-KLKQCQ54.js → init-URQ4E3XR.js} +13 -13
- package/dist/{insights-FRBCFTVP.js → insights-PMTHHZ2H.js} +4 -4
- package/dist/intelligence-service-GPA7IGDX.js +15 -0
- package/dist/{journeys-J76FXGLW.js → journeys-IA7TF753.js} +4 -4
- package/dist/{keys-LZVHDNZH.js → keys-DOHLZTRI.js} +4 -4
- package/dist/{keyword-FMDPSY7C.js → keyword-3C2ZU6OB.js} +4 -4
- package/dist/{logs-LU33LBEQ.js → logs-P7VRVZ5N.js} +4 -4
- package/dist/{mcp-M63QTZK5.js → mcp-6NA62OAY.js} +5 -5
- package/dist/mcp.js +10 -10
- package/dist/{measurement-plan-C6W7PUMR.js → measurement-plan-RHKCARVE.js} +6 -6
- package/dist/{notify-Q54WJSST.js → notify-ODCY7TD3.js} +4 -4
- package/dist/{organic-evidence-EGM6MHVP.js → organic-evidence-76P5AYB3.js} +4 -4
- package/dist/{overview-EWSJQE2E.js → overview-5T776SEB.js} +7 -7
- package/dist/{project-K7U4L5TA.js → project-ITMGW45M.js} +4 -4
- package/dist/{project-setup-H6JIED5C.js → project-setup-A3Q6ZX73.js} +4 -4
- package/dist/{query-NNFM2KSB.js → query-3QAQITK3.js} +4 -4
- package/dist/{research-KHDVC2MP.js → research-R74N3VRL.js} +4 -4
- package/dist/{results-export-2HTJWA2Y.js → results-export-23GY45AY.js} +4 -4
- package/dist/{run-VWAT66RX.js → run-ID66JYBN.js} +6 -6
- package/dist/{schedule-6C26Y5DP.js → schedule-HZ2CRUAL.js} +4 -4
- package/dist/{search-DY4JELQM.js → search-DM5WWMTE.js} +4 -4
- package/dist/{serve-W6CTWEDL.js → serve-3QDHKCHE.js} +27 -27
- package/dist/{session-IX6YUFT4.js → session-ZN3YZI2D.js} +16 -16
- package/dist/{settings-IPTMUYPV.js → settings-SIEKVYD7.js} +4 -4
- package/dist/{sitemaps-JHAE7447.js → sitemaps-M4IAZLK2.js} +4 -4
- package/dist/{skills-C5KQTJZX.js → skills-J6LWTNU5.js} +3 -3
- package/dist/{snapshot-KZDIFYFO.js → snapshot-SM3BVX5M.js} +4 -4
- package/dist/{src-JWSI26BC.js → src-VGZVLOM3.js} +2 -2
- package/dist/{status-7TFB73LG.js → status-BHJJOUCK.js} +6 -6
- package/dist/{support-ZZ2GJP4Z.js → support-FPXXXJPZ.js} +2 -2
- package/dist/{technical-aeo-R6GR6JJB.js → technical-aeo-4DJWWPUN.js} +4 -4
- package/dist/{telemetry-YTUYOO3M.js → telemetry-LKVQUSO7.js} +5 -5
- package/dist/{tools-6N3Q7TRE.js → tools-Y67PVNIJ.js} +12 -12
- package/dist/{traffic-5IN455SY.js → traffic-QSZYZHFW.js} +6 -6
- package/dist/{trends-MULZJCGC.js → trends-WIHWJVJR.js} +4 -4
- package/dist/{users-4R5WLGZA.js → users-HQOPQRTP.js} +4 -4
- package/dist/{visibility-stats-GFDD6IYA.js → visibility-stats-MCY5CAUC.js} +5 -5
- package/dist/{wordpress-S6NFAXJ6.js → wordpress-IB5YOJSM.js} +5 -5
- package/package.json +1 -1
- package/dist/activity-JOXDL3UF.js +0 -13
- package/dist/cli-commands-LQS3WOKR.js +0 -18
- package/dist/intelligence-service-APERYL5N.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;
|
|
@@ -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";
|
|
@@ -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";
|
|
@@ -9,11 +9,11 @@ import "./chunk-AOJU5LKX.js";
|
|
|
9
9
|
import {
|
|
10
10
|
CliError,
|
|
11
11
|
EXIT_USER_ERROR
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
13
13
|
import {
|
|
14
14
|
CheckScopes,
|
|
15
15
|
CheckStatuses
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FGEBFVHB.js";
|
|
17
17
|
|
|
18
18
|
// src/commands/doctor.ts
|
|
19
19
|
async function doctorCommand(opts) {
|