@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
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createApiClient
|
|
3
|
-
} from "./chunk-KQQERQJ2.js";
|
|
4
|
-
import "./chunk-52J7GFCK.js";
|
|
5
|
-
import {
|
|
6
|
-
emitJsonl
|
|
7
|
-
} from "./chunk-Z7IUAJOF.js";
|
|
8
|
-
import "./chunk-AOJU5LKX.js";
|
|
9
|
-
import {
|
|
10
|
-
CliError,
|
|
11
|
-
isMachineFormat,
|
|
12
|
-
printCliError
|
|
13
|
-
} from "./chunk-QRIKJT6Y.js";
|
|
14
|
-
import "./chunk-FGEBFVHB.js";
|
|
15
|
-
|
|
16
|
-
// src/commands/agent-memory.ts
|
|
17
|
-
function toFormat(raw) {
|
|
18
|
-
if (raw === "json") return "json";
|
|
19
|
-
if (raw === "jsonl") return "jsonl";
|
|
20
|
-
return "text";
|
|
21
|
-
}
|
|
22
|
-
async function agentMemoryList(opts) {
|
|
23
|
-
const format = toFormat(opts.format);
|
|
24
|
-
try {
|
|
25
|
-
const client = createApiClient();
|
|
26
|
-
const result = await client.listAgentMemory(opts.project);
|
|
27
|
-
if (format === "json") {
|
|
28
|
-
console.log(JSON.stringify(result, null, 2));
|
|
29
|
-
return;
|
|
30
|
-
} else if (format === "jsonl") {
|
|
31
|
-
emitJsonl(result.entries.map((entry) => ({ project: opts.project, ...entry })));
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
if (result.entries.length === 0) {
|
|
35
|
-
console.log(`No Aero memory notes for "${opts.project}".`);
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
console.log(`Aero memory for ${opts.project} \u2014 ${result.entries.length} note(s)
|
|
39
|
-
`);
|
|
40
|
-
for (const entry of result.entries) {
|
|
41
|
-
console.log(`[${entry.source}] ${entry.key} (updated ${entry.updatedAt})`);
|
|
42
|
-
console.log(` ${entry.value.replace(/\n/g, "\n ")}`);
|
|
43
|
-
console.log();
|
|
44
|
-
}
|
|
45
|
-
} catch (err) {
|
|
46
|
-
printCliError(err, format);
|
|
47
|
-
process.exitCode = err instanceof CliError ? err.exitCode : 2;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
async function agentMemorySet(opts) {
|
|
51
|
-
const format = toFormat(opts.format);
|
|
52
|
-
try {
|
|
53
|
-
const client = createApiClient();
|
|
54
|
-
const result = await client.setAgentMemory(opts.project, {
|
|
55
|
-
key: opts.key,
|
|
56
|
-
value: opts.value
|
|
57
|
-
});
|
|
58
|
-
if (isMachineFormat(format)) {
|
|
59
|
-
console.log(JSON.stringify(result, null, 2));
|
|
60
|
-
return;
|
|
61
|
-
}
|
|
62
|
-
console.log(`Stored note "${result.entry.key}" for "${opts.project}" (source=${result.entry.source}).`);
|
|
63
|
-
} catch (err) {
|
|
64
|
-
printCliError(err, format);
|
|
65
|
-
process.exitCode = err instanceof CliError ? err.exitCode : 2;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
async function agentMemoryForget(opts) {
|
|
69
|
-
const format = toFormat(opts.format);
|
|
70
|
-
try {
|
|
71
|
-
const client = createApiClient();
|
|
72
|
-
const result = await client.forgetAgentMemory(opts.project, opts.key);
|
|
73
|
-
if (isMachineFormat(format)) {
|
|
74
|
-
console.log(JSON.stringify(result, null, 2));
|
|
75
|
-
return;
|
|
76
|
-
}
|
|
77
|
-
if (result.status === "forgotten") {
|
|
78
|
-
console.log(`Forgot note "${opts.key}" for "${opts.project}".`);
|
|
79
|
-
} else {
|
|
80
|
-
console.log(`No note with key "${opts.key}" for "${opts.project}".`);
|
|
81
|
-
}
|
|
82
|
-
} catch (err) {
|
|
83
|
-
printCliError(err, format);
|
|
84
|
-
process.exitCode = err instanceof CliError ? err.exitCode : 2;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
export {
|
|
88
|
-
agentMemoryForget,
|
|
89
|
-
agentMemoryList,
|
|
90
|
-
agentMemorySet
|
|
91
|
-
};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createApiClient
|
|
3
|
-
} from "./chunk-KQQERQJ2.js";
|
|
4
|
-
import "./chunk-52J7GFCK.js";
|
|
5
|
-
import {
|
|
6
|
-
emitJsonl
|
|
7
|
-
} from "./chunk-Z7IUAJOF.js";
|
|
8
|
-
import "./chunk-AOJU5LKX.js";
|
|
9
|
-
import {
|
|
10
|
-
CliError,
|
|
11
|
-
printCliError
|
|
12
|
-
} from "./chunk-QRIKJT6Y.js";
|
|
13
|
-
import "./chunk-FGEBFVHB.js";
|
|
14
|
-
|
|
15
|
-
// src/commands/agent-providers.ts
|
|
16
|
-
async function agentProviders(opts) {
|
|
17
|
-
const format = opts.format === "json" ? "json" : opts.format === "jsonl" ? "jsonl" : "text";
|
|
18
|
-
try {
|
|
19
|
-
const client = createApiClient();
|
|
20
|
-
const res = await client.listAgentProviders(opts.project);
|
|
21
|
-
if (format === "json") {
|
|
22
|
-
console.log(JSON.stringify(res, null, 2));
|
|
23
|
-
return;
|
|
24
|
-
} else if (format === "jsonl") {
|
|
25
|
-
emitJsonl(
|
|
26
|
-
res.providers.map((provider) => ({
|
|
27
|
-
project: opts.project,
|
|
28
|
-
defaultProvider: res.defaultProvider,
|
|
29
|
-
...provider
|
|
30
|
-
}))
|
|
31
|
-
);
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
console.log(
|
|
35
|
-
`Aero providers for ${opts.project} (default: ${res.defaultProvider ?? "none configured"})
|
|
36
|
-
`
|
|
37
|
-
);
|
|
38
|
-
const idWidth = Math.max(...res.providers.map((p) => p.id.length), 8);
|
|
39
|
-
for (const p of res.providers) {
|
|
40
|
-
const status = p.configured ? "\u2713" : "\u2717";
|
|
41
|
-
const source = p.keySource ? `(${p.keySource})` : "";
|
|
42
|
-
console.log(
|
|
43
|
-
` ${status} ${p.id.padEnd(idWidth)} ${p.label} \u2014 model ${p.defaultModel} ${source}`.trimEnd()
|
|
44
|
-
);
|
|
45
|
-
if (p.backgroundPause) {
|
|
46
|
-
console.log(` Automatic work paused: ${p.backgroundPause.reason}; retry after ${p.backgroundPause.retryAt}`);
|
|
47
|
-
console.log(` ${p.backgroundPause.recovery}`);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
} catch (err) {
|
|
51
|
-
printCliError(err, format);
|
|
52
|
-
if (err instanceof CliError) process.exitCode = err.exitCode;
|
|
53
|
-
else process.exitCode = 2;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
export {
|
|
57
|
-
agentProviders
|
|
58
|
-
};
|
|
@@ -1,76 +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-transcript.ts
|
|
14
|
-
function toFormat(raw) {
|
|
15
|
-
if (raw === "json") return "json";
|
|
16
|
-
if (raw === "jsonl") return "jsonl";
|
|
17
|
-
return "text";
|
|
18
|
-
}
|
|
19
|
-
async function agentTranscript(opts) {
|
|
20
|
-
const format = toFormat(opts.format);
|
|
21
|
-
try {
|
|
22
|
-
const client = createApiClient();
|
|
23
|
-
const transcript = await client.getAgentTranscript(opts.project);
|
|
24
|
-
if (isMachineFormat(format)) {
|
|
25
|
-
console.log(JSON.stringify(transcript, null, 2));
|
|
26
|
-
return;
|
|
27
|
-
}
|
|
28
|
-
if (transcript.messages.length === 0) {
|
|
29
|
-
console.log(`No Aero conversation yet for "${opts.project}".`);
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
console.log(
|
|
33
|
-
`Aero session for ${opts.project} \u2014 ${transcript.modelProvider ?? "unknown"}/${transcript.modelId ?? "unknown"} \u2014 updated ${transcript.updatedAt ?? "never"}`
|
|
34
|
-
);
|
|
35
|
-
console.log(`${transcript.messages.length} message${transcript.messages.length === 1 ? "" : "s"}
|
|
36
|
-
`);
|
|
37
|
-
for (const msg of transcript.messages) {
|
|
38
|
-
console.log(`[${msg.role}]`);
|
|
39
|
-
if (typeof msg.content === "string") {
|
|
40
|
-
console.log(msg.content);
|
|
41
|
-
} else if (Array.isArray(msg.content)) {
|
|
42
|
-
for (const block of msg.content) {
|
|
43
|
-
const t = block.type;
|
|
44
|
-
if (t === "text") console.log(block.text);
|
|
45
|
-
else if (t === "toolCall") console.log(`\u27D0 ${block.name} ${JSON.stringify(block.arguments)}`);
|
|
46
|
-
else if (t === "toolResult") console.log(` ${block.isError ? "\u2717" : "\u2713"} tool-result`);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
console.log();
|
|
50
|
-
}
|
|
51
|
-
} catch (err) {
|
|
52
|
-
printCliError(err, format);
|
|
53
|
-
if (err instanceof CliError) process.exitCode = err.exitCode;
|
|
54
|
-
else process.exitCode = 2;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
async function agentTranscriptReset(opts) {
|
|
58
|
-
const format = toFormat(opts.format);
|
|
59
|
-
try {
|
|
60
|
-
const client = createApiClient();
|
|
61
|
-
await client.resetAgentTranscript(opts.project);
|
|
62
|
-
if (isMachineFormat(format)) {
|
|
63
|
-
console.log(JSON.stringify({ status: "reset", project: opts.project }));
|
|
64
|
-
} else {
|
|
65
|
-
console.log(`Aero conversation reset for "${opts.project}".`);
|
|
66
|
-
}
|
|
67
|
-
} catch (err) {
|
|
68
|
-
printCliError(err, format);
|
|
69
|
-
if (err instanceof CliError) process.exitCode = err.exitCode;
|
|
70
|
-
else process.exitCode = 2;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
export {
|
|
74
|
-
agentTranscript,
|
|
75
|
-
agentTranscriptReset
|
|
76
|
-
};
|