@ainyc/canonry 4.77.0 → 4.78.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.
|
@@ -24383,6 +24383,8 @@ var CloudRunAuthError = class extends Error {
|
|
|
24383
24383
|
this.body = body;
|
|
24384
24384
|
this.name = "CloudRunAuthError";
|
|
24385
24385
|
}
|
|
24386
|
+
httpStatus;
|
|
24387
|
+
body;
|
|
24386
24388
|
};
|
|
24387
24389
|
function createServiceAccountJwt2(clientEmail, privateKey, scope) {
|
|
24388
24390
|
if (!clientEmail) throw new CloudRunAuthError("clientEmail is required");
|
|
@@ -24559,6 +24561,8 @@ var CloudRunLoggingApiError = class extends Error {
|
|
|
24559
24561
|
this.body = body;
|
|
24560
24562
|
this.name = "CloudRunLoggingApiError";
|
|
24561
24563
|
}
|
|
24564
|
+
status;
|
|
24565
|
+
body;
|
|
24562
24566
|
};
|
|
24563
24567
|
function validateAccessToken3(accessToken) {
|
|
24564
24568
|
if (!accessToken.trim()) {
|
|
@@ -27613,6 +27617,8 @@ var WordpressTrafficApiError = class extends Error {
|
|
|
27613
27617
|
this.body = body;
|
|
27614
27618
|
this.name = "WordpressTrafficApiError";
|
|
27615
27619
|
}
|
|
27620
|
+
status;
|
|
27621
|
+
body;
|
|
27616
27622
|
};
|
|
27617
27623
|
function trimRequired(name, value) {
|
|
27618
27624
|
const trimmed = value.trim();
|
|
@@ -27814,6 +27820,9 @@ var VercelLogsApiError = class extends Error {
|
|
|
27814
27820
|
this.retryAfterSeconds = retryAfterSeconds;
|
|
27815
27821
|
this.name = "VercelLogsApiError";
|
|
27816
27822
|
}
|
|
27823
|
+
status;
|
|
27824
|
+
body;
|
|
27825
|
+
retryAfterSeconds;
|
|
27817
27826
|
};
|
|
27818
27827
|
function parseRetryAfter2(headerValue) {
|
|
27819
27828
|
if (!headerValue) return void 0;
|
|
@@ -32651,6 +32660,7 @@ var IntelligenceService = class {
|
|
|
32651
32660
|
constructor(db) {
|
|
32652
32661
|
this.db = db;
|
|
32653
32662
|
}
|
|
32663
|
+
db;
|
|
32654
32664
|
/**
|
|
32655
32665
|
* Analyze a completed run and persist insights + health snapshot.
|
|
32656
32666
|
* Idempotent: deletes prior results for the same runId before inserting.
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
siteAuditPages,
|
|
98
98
|
siteAuditSnapshots,
|
|
99
99
|
usageCounters
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-3WXARKUE.js";
|
|
101
101
|
import {
|
|
102
102
|
AGENT_MEMORY_VALUE_MAX_BYTES,
|
|
103
103
|
AGENT_PROVIDER_IDS,
|
|
@@ -1836,6 +1836,7 @@ var CDPProviderError = class extends Error {
|
|
|
1836
1836
|
this.code = code;
|
|
1837
1837
|
this.name = "CDPProviderError";
|
|
1838
1838
|
}
|
|
1839
|
+
code;
|
|
1839
1840
|
};
|
|
1840
1841
|
|
|
1841
1842
|
// ../provider-cdp/src/connection.ts
|
|
@@ -3044,6 +3045,8 @@ var ProviderExecutionGate = class {
|
|
|
3044
3045
|
this.maxConcurrency = maxConcurrency;
|
|
3045
3046
|
this.maxPerMinute = maxPerMinute;
|
|
3046
3047
|
}
|
|
3048
|
+
maxConcurrency;
|
|
3049
|
+
maxPerMinute;
|
|
3047
3050
|
window = [];
|
|
3048
3051
|
waiters = [];
|
|
3049
3052
|
rateLimitChain = Promise.resolve();
|
|
@@ -5774,7 +5777,7 @@ function readStoredGroundingSources(rawResponse) {
|
|
|
5774
5777
|
return result;
|
|
5775
5778
|
}
|
|
5776
5779
|
async function backfillInsightsCommand(project, opts) {
|
|
5777
|
-
const { IntelligenceService: IntelligenceService2 } = await import("./intelligence-service-
|
|
5780
|
+
const { IntelligenceService: IntelligenceService2 } = await import("./intelligence-service-CDVUUG7O.js");
|
|
5778
5781
|
const config = loadConfig();
|
|
5779
5782
|
const db = createClient(config.database);
|
|
5780
5783
|
migrate(db);
|
|
@@ -7192,6 +7195,11 @@ var RunCoordinator = class {
|
|
|
7192
7195
|
this.onInsightsGenerated = onInsightsGenerated;
|
|
7193
7196
|
this.onAeroEvent = onAeroEvent;
|
|
7194
7197
|
}
|
|
7198
|
+
db;
|
|
7199
|
+
notifier;
|
|
7200
|
+
intelligenceService;
|
|
7201
|
+
onInsightsGenerated;
|
|
7202
|
+
onAeroEvent;
|
|
7195
7203
|
async onRunCompleted(runId, projectId) {
|
|
7196
7204
|
const runRow = this.db.select().from(runs).where(eq14(runs.id, runId)).get();
|
|
7197
7205
|
const kind = runRow?.kind ?? RunKinds["answer-visibility"];
|
|
@@ -8856,6 +8864,8 @@ var ProviderExecutionGate2 = class {
|
|
|
8856
8864
|
this.maxConcurrency = maxConcurrency;
|
|
8857
8865
|
this.maxPerMinute = maxPerMinute;
|
|
8858
8866
|
}
|
|
8867
|
+
maxConcurrency;
|
|
8868
|
+
maxPerMinute;
|
|
8859
8869
|
window = [];
|
|
8860
8870
|
waiters = [];
|
|
8861
8871
|
rateLimitChain = Promise.resolve();
|
|
@@ -8917,6 +8927,7 @@ var SnapshotService = class {
|
|
|
8917
8927
|
constructor(registry) {
|
|
8918
8928
|
this.registry = registry;
|
|
8919
8929
|
}
|
|
8930
|
+
registry;
|
|
8920
8931
|
async createReport(input) {
|
|
8921
8932
|
const companyName = input.companyName.trim();
|
|
8922
8933
|
const domain = normalizeDomain(input.domain);
|
package/dist/cli.js
CHANGED
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
setTelemetrySource,
|
|
28
28
|
showFirstRunNotice,
|
|
29
29
|
trackEvent
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-QKTIP6GC.js";
|
|
31
31
|
import {
|
|
32
32
|
CliError,
|
|
33
33
|
EXIT_SYSTEM_ERROR,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
projects,
|
|
53
53
|
queries,
|
|
54
54
|
renderReportHtml
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-3WXARKUE.js";
|
|
56
56
|
import {
|
|
57
57
|
CcReleaseSyncStatuses,
|
|
58
58
|
CheckScopes,
|
|
@@ -8305,6 +8305,9 @@ var PdfWriter = class {
|
|
|
8305
8305
|
this.bold = bold;
|
|
8306
8306
|
this.addPage();
|
|
8307
8307
|
}
|
|
8308
|
+
doc;
|
|
8309
|
+
regular;
|
|
8310
|
+
bold;
|
|
8308
8311
|
usableWidth = PAGE_WIDTH - MARGIN * 2;
|
|
8309
8312
|
page;
|
|
8310
8313
|
y = 0;
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QKTIP6GC.js";
|
|
4
4
|
import {
|
|
5
5
|
loadConfig
|
|
6
6
|
} from "./chunk-XI6YSTGE.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-3WXARKUE.js";
|
|
8
8
|
import "./chunk-KPN22EWK.js";
|
|
9
9
|
export {
|
|
10
10
|
createServer,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ainyc/canonry",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.78.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Agent-first open-source AEO operating platform - track how answer engines cite your domain",
|
|
6
6
|
"license": "FSL-1.1-ALv2",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@ainyc/aeo-audit": "3.0.0",
|
|
40
|
-
"@anthropic-ai/sdk": "^0.
|
|
41
|
-
"@fastify/static": "^
|
|
40
|
+
"@anthropic-ai/sdk": "^0.91.1",
|
|
41
|
+
"@fastify/static": "^9.1.1",
|
|
42
42
|
"@google/genai": "^1.46.0",
|
|
43
43
|
"@mariozechner/pi-agent-core": "0.67.6",
|
|
44
44
|
"@mariozechner/pi-ai": "0.67.6",
|
|
@@ -63,25 +63,25 @@
|
|
|
63
63
|
"tsup": "^8.5.1",
|
|
64
64
|
"tsx": "^4.19.0",
|
|
65
65
|
"@ainyc/canonry-api-client": "0.0.0",
|
|
66
|
-
"@ainyc/canonry-api-routes": "0.0.0",
|
|
67
66
|
"@ainyc/canonry-config": "0.0.0",
|
|
67
|
+
"@ainyc/canonry-api-routes": "0.0.0",
|
|
68
68
|
"@ainyc/canonry-contracts": "0.0.0",
|
|
69
69
|
"@ainyc/canonry-db": "0.0.0",
|
|
70
70
|
"@ainyc/canonry-integration-bing": "0.0.0",
|
|
71
71
|
"@ainyc/canonry-integration-cloud-run": "0.0.0",
|
|
72
72
|
"@ainyc/canonry-integration-commoncrawl": "0.0.0",
|
|
73
73
|
"@ainyc/canonry-integration-google": "0.0.0",
|
|
74
|
+
"@ainyc/canonry-integration-google-business-profile": "0.0.0",
|
|
74
75
|
"@ainyc/canonry-integration-traffic": "0.0.0",
|
|
75
76
|
"@ainyc/canonry-integration-google-places": "0.0.0",
|
|
76
|
-
"@ainyc/canonry-integration-google-business-profile": "0.0.0",
|
|
77
77
|
"@ainyc/canonry-integration-wordpress": "0.0.0",
|
|
78
78
|
"@ainyc/canonry-intelligence": "0.0.0",
|
|
79
|
+
"@ainyc/canonry-provider-claude": "0.0.0",
|
|
79
80
|
"@ainyc/canonry-provider-cdp": "0.0.0",
|
|
80
|
-
"@ainyc/canonry-provider-local": "0.0.0",
|
|
81
|
-
"@ainyc/canonry-provider-gemini": "0.0.0",
|
|
82
81
|
"@ainyc/canonry-provider-openai": "0.0.0",
|
|
83
|
-
"@ainyc/canonry-provider-
|
|
84
|
-
"@ainyc/canonry-provider-
|
|
82
|
+
"@ainyc/canonry-provider-perplexity": "0.0.0",
|
|
83
|
+
"@ainyc/canonry-provider-local": "0.0.0",
|
|
84
|
+
"@ainyc/canonry-provider-gemini": "0.0.0"
|
|
85
85
|
},
|
|
86
86
|
"scripts": {
|
|
87
87
|
"build": "tsx scripts/copy-agent-assets.ts && tsup && tsx build-web.ts",
|