@canonry/canonry 7.129.0 → 7.130.1
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-AM2VXWLI.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-T5H4KNSZ.js → chunk-4ISL4JNK.js} +4 -4
- package/dist/{chunk-T7EDIDHA.js → chunk-52J7GFCK.js} +2 -2
- package/dist/{chunk-CT6J54HN.js → chunk-56TGVPRB.js} +13 -9
- package/dist/{chunk-HEWCB5LK.js → chunk-6UU2I6AG.js} +59 -42
- 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-RHVX66CW.js → chunk-C4JM5HJW.js} +1 -1
- package/dist/{chunk-HD73OWIQ.js → chunk-CBREBUUV.js} +5 -5
- 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-APM25SLF.js → chunk-HH6FQW5W.js} +3 -3
- package/dist/{chunk-WPYUTGW5.js → chunk-HMCDVKHS.js} +356 -227
- 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-3HQ5GREG.js → chunk-M3BKRPB7.js} +387 -378
- package/dist/{chunk-RXBK4GQX.js → chunk-MARIMDMX.js} +4 -4
- package/dist/{chunk-EGTMTGBD.js → chunk-MQFH765X.js} +4 -4
- package/dist/{chunk-2DTDECRE.js → chunk-N5GK27RW.js} +5 -5
- 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-SQ7ZF5MT.js → chunk-VEBSXHB2.js} +8 -8
- 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-6HWV3PVJ.js → chunk-WEJOT2VP.js} +5 -5
- package/dist/{chunk-5QRZYOHL.js → chunk-WP76HORO.js} +1 -1
- package/dist/{chunk-3HW7EDLQ.js → chunk-WZPKPA6I.js} +2 -2
- 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/{chunk-PQL52QOQ.js → chunk-ZZSKYOHV.js} +4 -4
- 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-PSZFKTZM.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-QNOTLZUI.js} +7 -7
- package/dist/{demo-P2V5SBGO.js → demo-FVTIXDAO.js} +3 -3
- package/dist/{demo-server-YYKW42LA.js → demo-server-R7LG5BRB.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 +10 -10
- package/dist/index.js +26 -26
- package/dist/{init-KLKQCQ54.js → init-IZVPCO36.js} +13 -13
- package/dist/{insights-FRBCFTVP.js → insights-PMTHHZ2H.js} +4 -4
- package/dist/intelligence-service-LMVQQRPN.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-PKDK7ZWB.js} +27 -27
- package/dist/{session-IX6YUFT4.js → session-EZ6I5VUF.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-NFVIW4YP.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
|
@@ -1153,7 +1153,7 @@ Bing is optional. `cnry doctor --project <project> --check 'bing.*'` reports `bi
|
|
|
1153
1153
|
## WordPress Integration
|
|
1154
1154
|
|
|
1155
1155
|
```bash
|
|
1156
|
-
cnry wordpress connect <project> --url <url> --user <user> # connect
|
|
1156
|
+
cnry wordpress connect <project> --url <url> --user <user> --app-password <password> # connect
|
|
1157
1157
|
cnry wordpress disconnect <project> # disconnect
|
|
1158
1158
|
cnry wordpress status <project> # connection status
|
|
1159
1159
|
cnry wordpress pages <project> [--live|--staging] # list pages
|
|
@@ -1172,7 +1172,7 @@ cnry wordpress staging status <project> # staging config st
|
|
|
1172
1172
|
cnry wordpress staging push <project> # manual staging push handoff
|
|
1173
1173
|
cnry wordpress llms-txt <project> # read /llms.txt
|
|
1174
1174
|
cnry wordpress set-llms-txt <project> # manual llms.txt handoff
|
|
1175
|
-
cnry wordpress onboard <project> --url <url> --user <user> # full onboarding workflow
|
|
1175
|
+
cnry wordpress onboard <project> --url <url> --user <user> --app-password <password> # full onboarding workflow
|
|
1176
1176
|
```
|
|
1177
1177
|
|
|
1178
1178
|
**Onboard** runs: connect → audit → set-meta → schema deploy → Google submit → Bing submit. Use `--skip-schema` or `--skip-submit` to skip steps. `--profile <file>` provides business data and page-to-schema mapping for schema deployment.
|
|
@@ -2060,7 +2060,7 @@ Each `jsonl` line re-injects the envelope context it would otherwise lose, so a
|
|
|
2060
2060
|
- `ga *-history` also stamps `window`; `ga search-landing-pages` stamps `window`/`windowStart`/`windowEnd`; `traffic events` stamps `windowStart`/`windowEnd`; `backlinks list` stamps `release`/`targetDomain`; `discover show` stamps `sessionId`; `content targets` stamps `latestRunId`; `project locations` stamps `isDefault`;
|
|
2061
2061
|
- global lists whose rows already self-identify (`project list`, `notify events`, `backlinks releases`) emit bare rows.
|
|
2062
2062
|
|
|
2063
|
-
Empty collection → **no output** (the exit code still conveys success, so "no records" stays distinct from "failure"). On failure a command prints its records (if any), then exits non-zero — branch on the **exit code**, never on parsing stderr. JSON field names and the `{ "error": { "code", "message" } }` envelope are a public contract.
|
|
2063
|
+
Empty collection → **no output** (the exit code still conveys success, so "no records" stays distinct from "failure"). On failure a command prints its records (if any), then exits non-zero — branch on the **exit code**, never on parsing stderr. JSON field names and the `{ "error": { "code", "message" } }` envelope are a public contract. When Canonry knows why it refused a request, `details.reason` names the cause (a stable code such as `seo-budget-exhausted`, `seo-run-cost-cap` or `queries-locked-by-run`) and `details.remediation` gives the next step; the message ends with the same step, so text output carries it too. Do what it says before retrying.
|
|
2064
2064
|
|
|
2065
2065
|
**Composite** commands return a single aggregate object (not a list), so there is nothing to stream — on them `--format jsonl` **degrades to the same JSON document** as `--format json`; it never falls through to decorated human text. So `--format jsonl` is safe to pass to *any* command: collection commands stream their records, every other command emits its JSON document. Composite shapes are below.
|
|
2066
2066
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
activityLines,
|
|
3
|
+
showActivity
|
|
4
|
+
} from "./chunk-GVCL4XBU.js";
|
|
5
|
+
import "./chunk-KQQERQJ2.js";
|
|
6
|
+
import "./chunk-52J7GFCK.js";
|
|
7
|
+
import "./chunk-AOJU5LKX.js";
|
|
8
|
+
import "./chunk-QRIKJT6Y.js";
|
|
9
|
+
import "./chunk-FGEBFVHB.js";
|
|
10
|
+
export {
|
|
11
|
+
activityLines,
|
|
12
|
+
showActivity
|
|
13
|
+
};
|
|
@@ -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,7 +9,7 @@ import "./chunk-AOJU5LKX.js";
|
|
|
9
9
|
import {
|
|
10
10
|
CliError,
|
|
11
11
|
isMachineFormat
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
13
13
|
import {
|
|
14
14
|
AdsDeliverySnapshotStatuses,
|
|
15
15
|
AdsHistoricalCampaignRollupStatuses,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
describeError,
|
|
32
32
|
formatMicros,
|
|
33
33
|
formatPercent
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-FGEBFVHB.js";
|
|
35
35
|
|
|
36
36
|
// src/commands/ads.ts
|
|
37
37
|
import fs from "fs";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
trackCliConnection
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-NUYKLS2R.js";
|
|
4
|
+
import "./chunk-4ISL4JNK.js";
|
|
5
|
+
import "./chunk-WZPKPA6I.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
|
AGENT_WEBHOOK_EVENTS
|
|
12
12
|
} from "./chunk-UX3HJV2V.js";
|
|
13
13
|
import "./chunk-AOJU5LKX.js";
|
|
14
14
|
import {
|
|
15
15
|
isMachineFormat
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
17
|
+
import "./chunk-C4JM5HJW.js";
|
|
18
|
+
import "./chunk-FGEBFVHB.js";
|
|
19
19
|
|
|
20
20
|
// src/commands/agent.ts
|
|
21
21
|
async function agentAttach(opts) {
|
|
@@ -1,15 +1,15 @@
|
|
|
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_SYSTEM_ERROR,
|
|
9
9
|
isMachineFormat,
|
|
10
10
|
printCliError
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
12
|
+
import "./chunk-FGEBFVHB.js";
|
|
13
13
|
|
|
14
14
|
// src/commands/agent-ask.ts
|
|
15
15
|
function toFormat(raw) {
|
|
@@ -1,14 +1,14 @@
|
|
|
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
|
isMachineFormat,
|
|
9
9
|
printCliError
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
11
|
+
import "./chunk-FGEBFVHB.js";
|
|
12
12
|
|
|
13
13
|
// src/commands/agent-conversations.ts
|
|
14
14
|
import { randomUUID } from "crypto";
|
|
@@ -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,12 +9,12 @@ import "./chunk-AOJU5LKX.js";
|
|
|
9
9
|
import {
|
|
10
10
|
isMachineFormat,
|
|
11
11
|
usageError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
13
13
|
import {
|
|
14
14
|
AgentJourneyCorrelationBases,
|
|
15
15
|
agentJourneysQuerySchema,
|
|
16
16
|
formatValidationIssues
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FGEBFVHB.js";
|
|
18
18
|
|
|
19
19
|
// src/commands/agent-journeys.ts
|
|
20
20
|
function journeyQuery({ format: _format, ...selection }) {
|
|
@@ -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,8 +10,8 @@ import {
|
|
|
10
10
|
CliError,
|
|
11
11
|
isMachineFormat,
|
|
12
12
|
printCliError
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
14
|
+
import "./chunk-FGEBFVHB.js";
|
|
15
15
|
|
|
16
16
|
// src/commands/agent-memory.ts
|
|
17
17
|
function toFormat(raw) {
|
|
@@ -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,8 +9,8 @@ import "./chunk-AOJU5LKX.js";
|
|
|
9
9
|
import {
|
|
10
10
|
CliError,
|
|
11
11
|
printCliError
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
13
|
+
import "./chunk-FGEBFVHB.js";
|
|
14
14
|
|
|
15
15
|
// src/commands/agent-providers.ts
|
|
16
16
|
async function agentProviders(opts) {
|
|
@@ -1,14 +1,14 @@
|
|
|
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
|
isMachineFormat,
|
|
9
9
|
printCliError
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
11
|
+
import "./chunk-FGEBFVHB.js";
|
|
12
12
|
|
|
13
13
|
// src/commands/agent-transcript.ts
|
|
14
14
|
function toFormat(raw) {
|
|
@@ -1,19 +1,19 @@
|
|
|
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
|
isMachineFormat,
|
|
9
9
|
usageError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
11
11
|
import {
|
|
12
12
|
buildModelChangeNotice,
|
|
13
13
|
formatPercent,
|
|
14
14
|
formatSignedPointDelta,
|
|
15
15
|
queryClassFilterSchema
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-FGEBFVHB.js";
|
|
17
17
|
|
|
18
18
|
// src/commands/analytics.ts
|
|
19
19
|
function getClient() {
|
|
@@ -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,10 +9,10 @@ import "./chunk-AOJU5LKX.js";
|
|
|
9
9
|
import {
|
|
10
10
|
isMachineFormat,
|
|
11
11
|
usageError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
13
13
|
import {
|
|
14
14
|
answerabilityQuerySchema
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FGEBFVHB.js";
|
|
16
16
|
|
|
17
17
|
// src/commands/answerability.ts
|
|
18
18
|
var ANSWERABILITY_USAGE = "canonry answerability <project> [--from YYYY-MM-DD --to YYYY-MM-DD] [--signal <id>]... [--format json|jsonl]";
|
|
@@ -1,16 +1,16 @@
|
|
|
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
|
isEndpointMissing,
|
|
9
9
|
isMachineFormat
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
11
11
|
import {
|
|
12
12
|
describeError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FGEBFVHB.js";
|
|
14
14
|
|
|
15
15
|
// src/commands/apply.ts
|
|
16
16
|
import fs from "fs";
|
|
@@ -10,20 +10,20 @@ import {
|
|
|
10
10
|
backfillSnapshotAttributionCommand,
|
|
11
11
|
backfillTrafficClassificationCommand,
|
|
12
12
|
replayQueryAuditLog
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-VEBSXHB2.js";
|
|
14
|
+
import "./chunk-CBREBUUV.js";
|
|
15
|
+
import "./chunk-52J7GFCK.js";
|
|
16
|
+
import "./chunk-QRIKJT6Y.js";
|
|
17
|
+
import "./chunk-LJ65QBRP.js";
|
|
18
|
+
import "./chunk-VRY5M7CR.js";
|
|
19
19
|
import {
|
|
20
20
|
backfillProjectAnswerMentions,
|
|
21
21
|
backfillProjectAnswerMentionsInChunks
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-HMCDVKHS.js";
|
|
23
|
+
import "./chunk-7PTUA52C.js";
|
|
24
|
+
import "./chunk-C4JM5HJW.js";
|
|
25
|
+
import "./chunk-FI7HVTO6.js";
|
|
26
|
+
import "./chunk-FGEBFVHB.js";
|
|
27
27
|
export {
|
|
28
28
|
activeQueriesAt,
|
|
29
29
|
backfillAiReferralPaths,
|
|
@@ -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,7 +9,7 @@ import "./chunk-AOJU5LKX.js";
|
|
|
9
9
|
import {
|
|
10
10
|
CliError,
|
|
11
11
|
isMachineFormat
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
13
13
|
import {
|
|
14
14
|
BacklinkSources,
|
|
15
15
|
CcReleaseSyncStatuses,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
backlinkSourceSchema,
|
|
18
18
|
formatPercent,
|
|
19
19
|
formatRunErrorOneLine
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-FGEBFVHB.js";
|
|
21
21
|
|
|
22
22
|
// src/commands/backlinks.ts
|
|
23
23
|
function parseSourceFlag(value) {
|
|
@@ -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,12 +10,12 @@ import {
|
|
|
10
10
|
CliError,
|
|
11
11
|
isMachineFormat,
|
|
12
12
|
usageError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
14
14
|
import {
|
|
15
15
|
describeError,
|
|
16
16
|
formatPercent,
|
|
17
17
|
formatRunErrorOneLine
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FGEBFVHB.js";
|
|
19
19
|
|
|
20
20
|
// src/commands/bing.ts
|
|
21
21
|
function getClient() {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
trackCliConnection
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NUYKLS2R.js";
|
|
4
4
|
import {
|
|
5
5
|
answerServiceDescriptors
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AP54KLWN.js";
|
|
7
7
|
import {
|
|
8
8
|
outcomeFailure
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4ISL4JNK.js";
|
|
10
10
|
import {
|
|
11
11
|
isLoopbackBindHost
|
|
12
12
|
} from "./chunk-TSENU4GG.js";
|
|
13
13
|
import {
|
|
14
14
|
registeredProviderNames
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ALU56PI7.js";
|
|
16
16
|
import {
|
|
17
17
|
isTelemetryEnabled,
|
|
18
18
|
recordInstallRef
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WZPKPA6I.js";
|
|
20
20
|
import {
|
|
21
21
|
createApiClient
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KQQERQJ2.js";
|
|
23
23
|
import {
|
|
24
24
|
configExists,
|
|
25
25
|
getAnswerServiceEnv,
|
|
@@ -30,25 +30,25 @@ import {
|
|
|
30
30
|
loadConfigRaw,
|
|
31
31
|
saveConfig,
|
|
32
32
|
withBootstrapProviderDefaults
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-52J7GFCK.js";
|
|
34
34
|
import "./chunk-AOJU5LKX.js";
|
|
35
35
|
import {
|
|
36
36
|
CliError,
|
|
37
37
|
isEndpointMissing,
|
|
38
38
|
isMachineFormat,
|
|
39
39
|
systemError
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
41
|
+
import "./chunk-C4JM5HJW.js";
|
|
42
42
|
import {
|
|
43
43
|
apiKeys,
|
|
44
44
|
createClient,
|
|
45
45
|
dashboardSessions,
|
|
46
46
|
migrate
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-FI7HVTO6.js";
|
|
48
48
|
import {
|
|
49
49
|
ProviderNames,
|
|
50
50
|
ProviderReloadErrorReasons
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-FGEBFVHB.js";
|
|
52
52
|
|
|
53
53
|
// src/commands/bootstrap.ts
|
|
54
54
|
import crypto from "crypto";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
trackCliConnection
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NUYKLS2R.js";
|
|
4
4
|
import {
|
|
5
5
|
outcomeFailure
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-4ISL4JNK.js";
|
|
7
|
+
import "./chunk-WZPKPA6I.js";
|
|
8
8
|
import {
|
|
9
9
|
createApiClient
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KQQERQJ2.js";
|
|
11
11
|
import {
|
|
12
12
|
loadConfig,
|
|
13
13
|
saveConfigPatch
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-52J7GFCK.js";
|
|
15
15
|
import "./chunk-AOJU5LKX.js";
|
|
16
16
|
import {
|
|
17
17
|
CliError,
|
|
18
18
|
isMachineFormat
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
20
|
+
import "./chunk-C4JM5HJW.js";
|
|
21
21
|
import {
|
|
22
22
|
cdpChromeLaunchHint,
|
|
23
23
|
describeError
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-FGEBFVHB.js";
|
|
25
25
|
|
|
26
26
|
// src/commands/cdp.ts
|
|
27
27
|
function getClient() {
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
bucketCliCommandDuration,
|
|
3
3
|
isTelemetryEnabled,
|
|
4
4
|
trackEvent
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WZPKPA6I.js";
|
|
6
6
|
import {
|
|
7
7
|
getConfigDir
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-52J7GFCK.js";
|
|
9
9
|
import {
|
|
10
10
|
currentOutcomeAttribution
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-C4JM5HJW.js";
|
|
12
12
|
import {
|
|
13
13
|
AGENT_NONE,
|
|
14
14
|
OutcomeSurfaces,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
integrationConnectionPropertiesSchema,
|
|
20
20
|
normalizeAgentSlug,
|
|
21
21
|
usageSurfaceSchema
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FGEBFVHB.js";
|
|
23
23
|
|
|
24
24
|
// src/outcome-telemetry.ts
|
|
25
25
|
import fs from "fs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CliError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QRIKJT6Y.js";
|
|
4
4
|
import {
|
|
5
5
|
AGENT_PROVIDER_IDS,
|
|
6
6
|
AgentProviderIds,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
resolveProviderModel,
|
|
23
23
|
schedulableRunKindSchema,
|
|
24
24
|
sentimentEvaluatorProviderSchema
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-FGEBFVHB.js";
|
|
26
26
|
|
|
27
27
|
// ../config/src/index.ts
|
|
28
28
|
import { z as z5 } from "zod";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
isStoredPageReadTool,
|
|
6
6
|
isStoredReadTool,
|
|
7
7
|
truncateToolResult
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-N5GK27RW.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,
|