@ainyc/canonry 4.10.1 → 4.11.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/assets/{index-BdAFw2Gy.js → index-DOcemxPD.js} +117 -117
- package/assets/index.html +1 -1
- package/dist/{chunk-XRDZ26OZ.js → chunk-5G6WYP2S.js} +1 -1
- package/dist/{chunk-TNW6Z3TW.js → chunk-NG2PJHVL.js} +3 -3
- package/dist/{chunk-GPJ3GLOE.js → chunk-WWU65YPN.js} +58 -0
- package/dist/{chunk-GAC7BSL6.js → chunk-ZR4AVT4T.js} +1 -1
- package/dist/cli.js +5 -5
- package/dist/index.js +4 -4
- package/dist/{intelligence-service-TFDEKAOM.js → intelligence-service-ZFIYBHLQ.js} +2 -2
- package/dist/mcp.js +2 -2
- package/package.json +9 -9
package/assets/index.html
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<link rel="icon" type="image/png" sizes="32x32" href="./favicon-32.png" />
|
|
13
13
|
<link rel="apple-touch-icon" href="./apple-touch-icon.png" />
|
|
14
14
|
<title>Canonry</title>
|
|
15
|
-
<script type="module" crossorigin src="./assets/index-
|
|
15
|
+
<script type="module" crossorigin src="./assets/index-DOcemxPD.js"></script>
|
|
16
16
|
<link rel="stylesheet" crossorigin href="./assets/index-CGXCbiM_.css">
|
|
17
17
|
</head>
|
|
18
18
|
<body>
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
configExists,
|
|
5
5
|
loadConfig,
|
|
6
6
|
saveConfigPatch
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZR4AVT4T.js";
|
|
8
8
|
import {
|
|
9
9
|
DEFAULT_RUN_HISTORY_LIMIT,
|
|
10
10
|
IntelligenceService,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
runs,
|
|
62
62
|
schedules,
|
|
63
63
|
usageCounters
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-5G6WYP2S.js";
|
|
65
65
|
import {
|
|
66
66
|
AGENT_MEMORY_VALUE_MAX_BYTES,
|
|
67
67
|
AGENT_PROVIDER_IDS,
|
|
@@ -137,7 +137,7 @@ import {
|
|
|
137
137
|
visibilityStateFromAnswerMentioned,
|
|
138
138
|
windowCutoff,
|
|
139
139
|
wordpressEnvSchema
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-WWU65YPN.js";
|
|
141
141
|
|
|
142
142
|
// src/telemetry.ts
|
|
143
143
|
import crypto from "crypto";
|
|
@@ -2116,6 +2116,64 @@ var CodingAgents = codingAgentSchema.enum;
|
|
|
2116
2116
|
var skillsClientSchema = z19.enum(["claude", "codex", "all"]);
|
|
2117
2117
|
var SkillsClients = skillsClientSchema.enum;
|
|
2118
2118
|
|
|
2119
|
+
// ../contracts/src/traffic.ts
|
|
2120
|
+
import { z as z20 } from "zod";
|
|
2121
|
+
var trafficSourceTypeSchema = z20.enum([
|
|
2122
|
+
"cloud-run",
|
|
2123
|
+
"wordpress",
|
|
2124
|
+
"cloudflare",
|
|
2125
|
+
"vercel",
|
|
2126
|
+
"generic-log"
|
|
2127
|
+
]);
|
|
2128
|
+
var TrafficSourceTypes = trafficSourceTypeSchema.enum;
|
|
2129
|
+
var trafficAdapterCapabilitySchema = z20.enum([
|
|
2130
|
+
"raw-request-events",
|
|
2131
|
+
"aggregate-request-metrics",
|
|
2132
|
+
"request-url",
|
|
2133
|
+
"status-code",
|
|
2134
|
+
"user-agent",
|
|
2135
|
+
"remote-ip",
|
|
2136
|
+
"referer",
|
|
2137
|
+
"cursor-pull"
|
|
2138
|
+
]);
|
|
2139
|
+
var TrafficAdapterCapabilities = trafficAdapterCapabilitySchema.enum;
|
|
2140
|
+
var trafficEvidenceKindSchema = z20.enum(["raw-request", "aggregate-bucket"]);
|
|
2141
|
+
var TrafficEvidenceKinds = trafficEvidenceKindSchema.enum;
|
|
2142
|
+
var trafficEventConfidenceSchema = z20.enum(["observed", "provider-aggregated", "inferred"]);
|
|
2143
|
+
var TrafficEventConfidences = trafficEventConfidenceSchema.enum;
|
|
2144
|
+
var trafficProviderResourceSchema = z20.object({
|
|
2145
|
+
type: z20.string().nullable(),
|
|
2146
|
+
labels: z20.record(z20.string(), z20.string())
|
|
2147
|
+
});
|
|
2148
|
+
var normalizedTrafficRequestSchema = z20.object({
|
|
2149
|
+
sourceType: trafficSourceTypeSchema,
|
|
2150
|
+
evidenceKind: z20.literal(TrafficEvidenceKinds["raw-request"]),
|
|
2151
|
+
confidence: z20.literal(TrafficEventConfidences.observed),
|
|
2152
|
+
eventId: z20.string().min(1),
|
|
2153
|
+
observedAt: z20.string().min(1),
|
|
2154
|
+
method: z20.string().nullable(),
|
|
2155
|
+
requestUrl: z20.string().nullable(),
|
|
2156
|
+
host: z20.string().nullable(),
|
|
2157
|
+
path: z20.string().min(1),
|
|
2158
|
+
queryString: z20.string().nullable(),
|
|
2159
|
+
status: z20.number().int().nullable(),
|
|
2160
|
+
userAgent: z20.string().nullable(),
|
|
2161
|
+
remoteIp: z20.string().nullable(),
|
|
2162
|
+
referer: z20.string().nullable(),
|
|
2163
|
+
latencyMs: z20.number().nullable(),
|
|
2164
|
+
requestSizeBytes: z20.number().int().nullable(),
|
|
2165
|
+
responseSizeBytes: z20.number().int().nullable(),
|
|
2166
|
+
providerResource: trafficProviderResourceSchema,
|
|
2167
|
+
providerLabels: z20.record(z20.string(), z20.string())
|
|
2168
|
+
});
|
|
2169
|
+
var normalizedTrafficPullPageSchema = z20.object({
|
|
2170
|
+
events: z20.array(normalizedTrafficRequestSchema),
|
|
2171
|
+
rawEntryCount: z20.number().int().nonnegative(),
|
|
2172
|
+
skippedEntryCount: z20.number().int().nonnegative(),
|
|
2173
|
+
nextPageToken: z20.string().optional(),
|
|
2174
|
+
filter: z20.string()
|
|
2175
|
+
});
|
|
2176
|
+
|
|
2119
2177
|
export {
|
|
2120
2178
|
__export,
|
|
2121
2179
|
providerQuotaPolicySchema,
|
package/dist/cli.js
CHANGED
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
setGoogleAuthConfig,
|
|
19
19
|
showFirstRunNotice,
|
|
20
20
|
trackEvent
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-NG2PJHVL.js";
|
|
22
22
|
import {
|
|
23
23
|
CliError,
|
|
24
24
|
EXIT_SYSTEM_ERROR,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
saveConfig,
|
|
34
34
|
saveConfigPatch,
|
|
35
35
|
usageError
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-ZR4AVT4T.js";
|
|
37
37
|
import {
|
|
38
38
|
apiKeys,
|
|
39
39
|
competitors,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
projects,
|
|
46
46
|
querySnapshots,
|
|
47
47
|
runs
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-5G6WYP2S.js";
|
|
49
49
|
import {
|
|
50
50
|
CcReleaseSyncStatuses,
|
|
51
51
|
CheckScopes,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
providerQuotaPolicySchema,
|
|
65
65
|
resolveProviderInput,
|
|
66
66
|
skillsClientSchema
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-WWU65YPN.js";
|
|
68
68
|
|
|
69
69
|
// src/cli.ts
|
|
70
70
|
import { pathToFileURL } from "url";
|
|
@@ -580,7 +580,7 @@ function readStoredGroundingSources(rawResponse) {
|
|
|
580
580
|
return result;
|
|
581
581
|
}
|
|
582
582
|
async function backfillInsightsCommand(project, opts) {
|
|
583
|
-
const { IntelligenceService } = await import("./intelligence-service-
|
|
583
|
+
const { IntelligenceService } = await import("./intelligence-service-ZFIYBHLQ.js");
|
|
584
584
|
const config = loadConfig();
|
|
585
585
|
const db = createClient(config.database);
|
|
586
586
|
migrate(db);
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NG2PJHVL.js";
|
|
4
4
|
import {
|
|
5
5
|
loadConfig
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-ZR4AVT4T.js";
|
|
7
|
+
import "./chunk-5G6WYP2S.js";
|
|
8
|
+
import "./chunk-WWU65YPN.js";
|
|
9
9
|
export {
|
|
10
10
|
createServer,
|
|
11
11
|
loadConfig
|
package/dist/mcp.js
CHANGED
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
CliError,
|
|
3
3
|
canonryMcpTools,
|
|
4
4
|
createApiClient
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-ZR4AVT4T.js";
|
|
6
|
+
import "./chunk-WWU65YPN.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/cli.ts
|
|
9
9
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ainyc/canonry",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.11.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",
|
|
@@ -59,21 +59,21 @@
|
|
|
59
59
|
"@types/node-cron": "^3.0.11",
|
|
60
60
|
"tsup": "^8.5.1",
|
|
61
61
|
"tsx": "^4.19.0",
|
|
62
|
-
"@ainyc/canonry-api-routes": "0.0.0",
|
|
63
62
|
"@ainyc/canonry-config": "0.0.0",
|
|
64
|
-
"@ainyc/canonry-
|
|
63
|
+
"@ainyc/canonry-api-routes": "0.0.0",
|
|
65
64
|
"@ainyc/canonry-db": "0.0.0",
|
|
66
|
-
"@ainyc/canonry-
|
|
65
|
+
"@ainyc/canonry-contracts": "0.0.0",
|
|
67
66
|
"@ainyc/canonry-intelligence": "0.0.0",
|
|
67
|
+
"@ainyc/canonry-integration-bing": "0.0.0",
|
|
68
68
|
"@ainyc/canonry-integration-commoncrawl": "0.0.0",
|
|
69
|
-
"@ainyc/canonry-integration-wordpress": "0.0.0",
|
|
70
69
|
"@ainyc/canonry-integration-google": "0.0.0",
|
|
71
|
-
"@ainyc/canonry-
|
|
70
|
+
"@ainyc/canonry-integration-wordpress": "0.0.0",
|
|
72
71
|
"@ainyc/canonry-provider-cdp": "0.0.0",
|
|
73
|
-
"@ainyc/canonry-provider-
|
|
72
|
+
"@ainyc/canonry-provider-claude": "0.0.0",
|
|
74
73
|
"@ainyc/canonry-provider-openai": "0.0.0",
|
|
75
|
-
"@ainyc/canonry-provider-
|
|
76
|
-
"@ainyc/canonry-provider-perplexity": "0.0.0"
|
|
74
|
+
"@ainyc/canonry-provider-gemini": "0.0.0",
|
|
75
|
+
"@ainyc/canonry-provider-perplexity": "0.0.0",
|
|
76
|
+
"@ainyc/canonry-provider-local": "0.0.0"
|
|
77
77
|
},
|
|
78
78
|
"scripts": {
|
|
79
79
|
"build": "tsx scripts/copy-agent-assets.ts && tsup && tsx build-web.ts",
|