@ainyc/canonry 2.3.1 → 2.4.3
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/README.md +1 -0
- package/assets/agent-workspace/skills/canonry-setup/references/canonry-cli.md +20 -0
- package/assets/assets/index-CAewPdsZ.css +1 -0
- package/assets/assets/index-Nrl3ecFY.js +301 -0
- package/assets/index.html +2 -2
- package/dist/{chunk-CW6CAPBQ.js → chunk-GZF3YIHY.js} +6 -1
- package/dist/{chunk-JXOUZ6JH.js → chunk-KGOT5OFT.js} +321 -424
- package/dist/cli.js +14 -5
- package/dist/index.js +2 -2
- package/dist/{intelligence-service-232P7625.js → intelligence-service-KM64AW7J.js} +1 -1
- package/package.json +4 -4
- package/assets/assets/index-C_pxQt0X.js +0 -301
- package/assets/assets/index-yF1fs-OW.css +0 -1
package/dist/cli.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node --import tsx
|
|
2
2
|
import {
|
|
3
|
+
CcReleaseSyncStatuses,
|
|
3
4
|
CliError,
|
|
4
5
|
EXIT_SYSTEM_ERROR,
|
|
5
6
|
ProviderNames,
|
|
6
7
|
RunKinds,
|
|
8
|
+
RunStatuses,
|
|
7
9
|
coerceAgentProvider,
|
|
8
10
|
computeCompetitorOverlap,
|
|
9
11
|
configExists,
|
|
@@ -36,7 +38,7 @@ import {
|
|
|
36
38
|
showFirstRunNotice,
|
|
37
39
|
trackEvent,
|
|
38
40
|
usageError
|
|
39
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-KGOT5OFT.js";
|
|
40
42
|
import {
|
|
41
43
|
apiKeys,
|
|
42
44
|
competitors,
|
|
@@ -46,7 +48,7 @@ import {
|
|
|
46
48
|
projects,
|
|
47
49
|
querySnapshots,
|
|
48
50
|
runs
|
|
49
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-GZF3YIHY.js";
|
|
50
52
|
|
|
51
53
|
// src/cli.ts
|
|
52
54
|
import { pathToFileURL } from "url";
|
|
@@ -293,7 +295,7 @@ async function backfillAnswerVisibilityCommand(opts) {
|
|
|
293
295
|
console.log(` Errors: ${providerErrors}`);
|
|
294
296
|
}
|
|
295
297
|
async function backfillInsightsCommand(project, opts) {
|
|
296
|
-
const { IntelligenceService } = await import("./intelligence-service-
|
|
298
|
+
const { IntelligenceService } = await import("./intelligence-service-KM64AW7J.js");
|
|
297
299
|
const config = loadConfig();
|
|
298
300
|
const db = createClient(config.database);
|
|
299
301
|
migrate(db);
|
|
@@ -573,7 +575,10 @@ function formatInstallResult(result) {
|
|
|
573
575
|
}
|
|
574
576
|
async function pollSync(id, format) {
|
|
575
577
|
const client = getClient();
|
|
576
|
-
const terminal = /* @__PURE__ */ new Set([
|
|
578
|
+
const terminal = /* @__PURE__ */ new Set([
|
|
579
|
+
CcReleaseSyncStatuses.ready,
|
|
580
|
+
CcReleaseSyncStatuses.failed
|
|
581
|
+
]);
|
|
577
582
|
while (true) {
|
|
578
583
|
const syncs = await client.backlinksListSyncs();
|
|
579
584
|
const row = syncs.find((s) => s.id === id);
|
|
@@ -587,7 +592,11 @@ async function pollSync(id, format) {
|
|
|
587
592
|
}
|
|
588
593
|
async function pollRun(runId, format) {
|
|
589
594
|
const client = getClient();
|
|
590
|
-
const terminal = /* @__PURE__ */ new Set([
|
|
595
|
+
const terminal = /* @__PURE__ */ new Set([
|
|
596
|
+
RunStatuses.completed,
|
|
597
|
+
RunStatuses.failed,
|
|
598
|
+
RunStatuses.partial
|
|
599
|
+
]);
|
|
591
600
|
while (true) {
|
|
592
601
|
const run = await client.getRun(runId);
|
|
593
602
|
if (terminal.has(run.status)) return run;
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ainyc/canonry",
|
|
3
|
-
"version": "2.3
|
|
3
|
+
"version": "2.4.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The ultimate open-source AEO monitoring tool - track how answer engines cite your domain",
|
|
6
6
|
"license": "FSL-1.1-ALv2",
|
|
@@ -59,16 +59,16 @@
|
|
|
59
59
|
"tsx": "^4.19.0",
|
|
60
60
|
"@ainyc/canonry-api-routes": "0.0.0",
|
|
61
61
|
"@ainyc/canonry-config": "0.0.0",
|
|
62
|
-
"@ainyc/canonry-intelligence": "0.0.0",
|
|
63
62
|
"@ainyc/canonry-contracts": "0.0.0",
|
|
64
63
|
"@ainyc/canonry-db": "0.0.0",
|
|
65
64
|
"@ainyc/canonry-integration-bing": "0.0.0",
|
|
66
|
-
"@ainyc/canonry-
|
|
65
|
+
"@ainyc/canonry-intelligence": "0.0.0",
|
|
67
66
|
"@ainyc/canonry-integration-commoncrawl": "0.0.0",
|
|
67
|
+
"@ainyc/canonry-integration-google": "0.0.0",
|
|
68
68
|
"@ainyc/canonry-integration-wordpress": "0.0.0",
|
|
69
|
+
"@ainyc/canonry-provider-claude": "0.0.0",
|
|
69
70
|
"@ainyc/canonry-provider-cdp": "0.0.0",
|
|
70
71
|
"@ainyc/canonry-provider-gemini": "0.0.0",
|
|
71
|
-
"@ainyc/canonry-provider-claude": "0.0.0",
|
|
72
72
|
"@ainyc/canonry-provider-local": "0.0.0",
|
|
73
73
|
"@ainyc/canonry-provider-openai": "0.0.0",
|
|
74
74
|
"@ainyc/canonry-provider-perplexity": "0.0.0"
|