@ainyc/canonry 4.72.0 → 4.72.2
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.
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
runs,
|
|
96
96
|
schedules,
|
|
97
97
|
usageCounters
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-J7SDOU2J.js";
|
|
99
99
|
import {
|
|
100
100
|
AGENT_MEMORY_VALUE_MAX_BYTES,
|
|
101
101
|
AGENT_PROVIDER_IDS,
|
|
@@ -5620,7 +5620,7 @@ function readStoredGroundingSources(rawResponse) {
|
|
|
5620
5620
|
return result;
|
|
5621
5621
|
}
|
|
5622
5622
|
async function backfillInsightsCommand(project, opts) {
|
|
5623
|
-
const { IntelligenceService: IntelligenceService2 } = await import("./intelligence-service-
|
|
5623
|
+
const { IntelligenceService: IntelligenceService2 } = await import("./intelligence-service-JNF3JRFR.js");
|
|
5624
5624
|
const config = loadConfig();
|
|
5625
5625
|
const db = createClient(config.database);
|
|
5626
5626
|
migrate(db);
|
|
@@ -27676,6 +27676,7 @@ async function listVercelTrafficEvents(options) {
|
|
|
27676
27676
|
|
|
27677
27677
|
// ../integration-vercel/src/drain.ts
|
|
27678
27678
|
var MIN_SUB_WINDOW_MS = 1e3;
|
|
27679
|
+
var INITIAL_SUB_WINDOW_MS = 5 * 6e4;
|
|
27679
27680
|
var FLOOR_SLICE_MAX_PAGES = 1e3;
|
|
27680
27681
|
var FLOOR_CONGESTION_PROBE_INTERVAL = 60;
|
|
27681
27682
|
var RETENTION_PROBE_WINDOW_MS = 6e4;
|
|
@@ -27730,7 +27731,7 @@ async function drainVercelTrafficEvents(options) {
|
|
|
27730
27731
|
return { events, subWindowCount: 0, effectiveStartMs: startMs, retentionClamped: false, truncatedSliceCount: 0, truncatedSliceStartsMs: [], drainedThroughMs: startMs, deadlineReached: false };
|
|
27731
27732
|
}
|
|
27732
27733
|
let cursorMs = startMs;
|
|
27733
|
-
let spanMs = endMs - startMs;
|
|
27734
|
+
let spanMs = Math.min(endMs - startMs, INITIAL_SUB_WINDOW_MS);
|
|
27734
27735
|
let subWindowCount = 0;
|
|
27735
27736
|
let effectiveStartMs = startMs;
|
|
27736
27737
|
let retentionClamped = false;
|
|
@@ -27772,7 +27773,7 @@ async function drainVercelTrafficEvents(options) {
|
|
|
27772
27773
|
retentionClamped = retainedStartMs > cursorMs;
|
|
27773
27774
|
cursorMs = retainedStartMs;
|
|
27774
27775
|
effectiveStartMs = retainedStartMs;
|
|
27775
|
-
spanMs = Math.max(endMs - cursorMs, MIN_SUB_WINDOW_MS);
|
|
27776
|
+
spanMs = Math.max(Math.min(endMs - cursorMs, INITIAL_SUB_WINDOW_MS), MIN_SUB_WINDOW_MS);
|
|
27776
27777
|
continue;
|
|
27777
27778
|
}
|
|
27778
27779
|
throw error;
|
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-BRXQKUGY.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-J7SDOU2J.js";
|
|
56
56
|
import {
|
|
57
57
|
CcReleaseSyncStatuses,
|
|
58
58
|
CheckScopes,
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BRXQKUGY.js";
|
|
4
4
|
import {
|
|
5
5
|
loadConfig
|
|
6
6
|
} from "./chunk-NYZSY5QJ.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-J7SDOU2J.js";
|
|
8
8
|
import "./chunk-SJI6JGPN.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.72.
|
|
3
|
+
"version": "4.72.2",
|
|
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",
|
|
@@ -62,26 +62,26 @@
|
|
|
62
62
|
"@types/node-cron": "^3.0.11",
|
|
63
63
|
"tsup": "^8.5.1",
|
|
64
64
|
"tsx": "^4.19.0",
|
|
65
|
-
"@ainyc/canonry-api-client": "0.0.0",
|
|
66
65
|
"@ainyc/canonry-api-routes": "0.0.0",
|
|
66
|
+
"@ainyc/canonry-api-client": "0.0.0",
|
|
67
|
+
"@ainyc/canonry-config": "0.0.0",
|
|
67
68
|
"@ainyc/canonry-contracts": "0.0.0",
|
|
68
69
|
"@ainyc/canonry-db": "0.0.0",
|
|
69
|
-
"@ainyc/canonry-config": "0.0.0",
|
|
70
|
-
"@ainyc/canonry-integration-cloud-run": "0.0.0",
|
|
71
70
|
"@ainyc/canonry-integration-bing": "0.0.0",
|
|
72
71
|
"@ainyc/canonry-integration-commoncrawl": "0.0.0",
|
|
72
|
+
"@ainyc/canonry-integration-cloud-run": "0.0.0",
|
|
73
73
|
"@ainyc/canonry-integration-google": "0.0.0",
|
|
74
74
|
"@ainyc/canonry-integration-google-places": "0.0.0",
|
|
75
|
-
"@ainyc/canonry-integration-wordpress": "0.0.0",
|
|
76
75
|
"@ainyc/canonry-integration-google-business-profile": "0.0.0",
|
|
76
|
+
"@ainyc/canonry-integration-wordpress": "0.0.0",
|
|
77
77
|
"@ainyc/canonry-integration-traffic": "0.0.0",
|
|
78
78
|
"@ainyc/canonry-intelligence": "0.0.0",
|
|
79
|
+
"@ainyc/canonry-provider-claude": "0.0.0",
|
|
79
80
|
"@ainyc/canonry-provider-gemini": "0.0.0",
|
|
80
81
|
"@ainyc/canonry-provider-local": "0.0.0",
|
|
81
|
-
"@ainyc/canonry-provider-claude": "0.0.0",
|
|
82
|
-
"@ainyc/canonry-provider-perplexity": "0.0.0",
|
|
83
82
|
"@ainyc/canonry-provider-cdp": "0.0.0",
|
|
84
|
-
"@ainyc/canonry-provider-openai": "0.0.0"
|
|
83
|
+
"@ainyc/canonry-provider-openai": "0.0.0",
|
|
84
|
+
"@ainyc/canonry-provider-perplexity": "0.0.0"
|
|
85
85
|
},
|
|
86
86
|
"scripts": {
|
|
87
87
|
"build": "tsx scripts/copy-agent-assets.ts && tsup && tsx build-web.ts",
|