@ainyc/canonry 4.29.1 → 4.30.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-DC2S5T9p.js → index-BYiZYtd9.js} +83 -83
- package/assets/index.html +1 -1
- package/dist/{chunk-UEV3HSRL.js → chunk-4EDC2P3J.js} +1 -1
- package/dist/{chunk-RLLFB3M3.js → chunk-7UO3EGDB.js} +20 -0
- package/dist/{chunk-GB3QJURO.js → chunk-NIAAHWRF.js} +1 -1
- package/dist/{chunk-HONTKYY7.js → chunk-PTFVEYUX.js} +3 -3
- package/dist/cli.js +5 -5
- package/dist/index.js +4 -4
- package/dist/{intelligence-service-O6KB6YAM.js → intelligence-service-ASXADXLF.js} +2 -2
- package/dist/mcp.js +2 -2
- package/package.json +6 -6
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-BYiZYtd9.js"></script>
|
|
16
16
|
<link rel="stylesheet" crossorigin href="./assets/index-BnALDZI7.css">
|
|
17
17
|
</head>
|
|
18
18
|
<body>
|
|
@@ -2235,6 +2235,15 @@ var wordpressTrafficSourceConfigSchema = z20.object({
|
|
|
2235
2235
|
baseUrl: z20.string().url(),
|
|
2236
2236
|
username: z20.string().min(1)
|
|
2237
2237
|
});
|
|
2238
|
+
var vercelTrafficEnvironmentSchema = z20.enum(["production", "preview"]);
|
|
2239
|
+
var VercelTrafficEnvironments = vercelTrafficEnvironmentSchema.enum;
|
|
2240
|
+
var vercelTrafficSourceConfigSchema = z20.object({
|
|
2241
|
+
/** Vercel project id (e.g. `prj_...`). */
|
|
2242
|
+
projectId: z20.string().min(1),
|
|
2243
|
+
/** Vercel team / owner id (e.g. `team_...`). */
|
|
2244
|
+
teamId: z20.string().min(1),
|
|
2245
|
+
environment: vercelTrafficEnvironmentSchema
|
|
2246
|
+
});
|
|
2238
2247
|
var trafficSourceDtoSchema = z20.object({
|
|
2239
2248
|
id: z20.string(),
|
|
2240
2249
|
projectId: z20.string(),
|
|
@@ -2264,6 +2273,17 @@ var trafficConnectWordpressRequestSchema = z20.object({
|
|
|
2264
2273
|
applicationPassword: z20.string().min(1),
|
|
2265
2274
|
displayName: z20.string().min(1).optional()
|
|
2266
2275
|
});
|
|
2276
|
+
var trafficConnectVercelRequestSchema = z20.object({
|
|
2277
|
+
/** Vercel project id (e.g. `prj_...`) — from the Vercel dashboard or `.vercel/project.json`. */
|
|
2278
|
+
projectId: z20.string().min(1),
|
|
2279
|
+
/** Vercel team / owner id (e.g. `team_...`). */
|
|
2280
|
+
teamId: z20.string().min(1),
|
|
2281
|
+
/** Vercel API token (personal access token). Stored in `~/.canonry/config.yaml`, never the DB. */
|
|
2282
|
+
token: z20.string().min(1),
|
|
2283
|
+
/** Which deployment environment's request logs to pull. Default: `production`. */
|
|
2284
|
+
environment: vercelTrafficEnvironmentSchema.optional(),
|
|
2285
|
+
displayName: z20.string().min(1).optional()
|
|
2286
|
+
});
|
|
2267
2287
|
var trafficSyncResponseSchema = z20.object({
|
|
2268
2288
|
sourceId: z20.string(),
|
|
2269
2289
|
runId: z20.string(),
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
loadConfig,
|
|
6
6
|
loadConfigRaw,
|
|
7
7
|
saveConfigPatch
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NIAAHWRF.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_RUN_HISTORY_LIMIT,
|
|
11
11
|
IntelligenceService,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
schedules,
|
|
71
71
|
trafficSources,
|
|
72
72
|
usageCounters
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-4EDC2P3J.js";
|
|
74
74
|
import {
|
|
75
75
|
AGENT_MEMORY_VALUE_MAX_BYTES,
|
|
76
76
|
AGENT_PROVIDER_IDS,
|
|
@@ -175,7 +175,7 @@ import {
|
|
|
175
175
|
visibilityStateFromAnswerMentioned,
|
|
176
176
|
windowCutoff,
|
|
177
177
|
wordpressEnvSchema
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-7UO3EGDB.js";
|
|
179
179
|
|
|
180
180
|
// src/telemetry.ts
|
|
181
181
|
import crypto from "crypto";
|
package/dist/cli.js
CHANGED
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
setTelemetrySource,
|
|
21
21
|
showFirstRunNotice,
|
|
22
22
|
trackEvent
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PTFVEYUX.js";
|
|
24
24
|
import {
|
|
25
25
|
CliError,
|
|
26
26
|
EXIT_SYSTEM_ERROR,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
saveConfig,
|
|
37
37
|
saveConfigPatch,
|
|
38
38
|
usageError
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-NIAAHWRF.js";
|
|
40
40
|
import {
|
|
41
41
|
apiKeys,
|
|
42
42
|
competitors,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
queries,
|
|
50
50
|
querySnapshots,
|
|
51
51
|
runs
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-4EDC2P3J.js";
|
|
53
53
|
import {
|
|
54
54
|
CcReleaseSyncStatuses,
|
|
55
55
|
CheckScopes,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
providerQuotaPolicySchema,
|
|
71
71
|
resolveProviderInput,
|
|
72
72
|
skillsClientSchema
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-7UO3EGDB.js";
|
|
74
74
|
|
|
75
75
|
// src/cli.ts
|
|
76
76
|
import { pathToFileURL } from "url";
|
|
@@ -622,7 +622,7 @@ function readStoredGroundingSources(rawResponse) {
|
|
|
622
622
|
return result;
|
|
623
623
|
}
|
|
624
624
|
async function backfillInsightsCommand(project, opts) {
|
|
625
|
-
const { IntelligenceService } = await import("./intelligence-service-
|
|
625
|
+
const { IntelligenceService } = await import("./intelligence-service-ASXADXLF.js");
|
|
626
626
|
const config = loadConfig();
|
|
627
627
|
const db = createClient(config.database);
|
|
628
628
|
migrate(db);
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PTFVEYUX.js";
|
|
4
4
|
import {
|
|
5
5
|
loadConfig
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-NIAAHWRF.js";
|
|
7
|
+
import "./chunk-4EDC2P3J.js";
|
|
8
|
+
import "./chunk-7UO3EGDB.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-NIAAHWRF.js";
|
|
6
|
+
import "./chunk-7UO3EGDB.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.30.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,23 +59,23 @@
|
|
|
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",
|
|
62
63
|
"@ainyc/canonry-config": "0.0.0",
|
|
63
64
|
"@ainyc/canonry-contracts": "0.0.0",
|
|
64
|
-
"@ainyc/canonry-api-routes": "0.0.0",
|
|
65
65
|
"@ainyc/canonry-db": "0.0.0",
|
|
66
|
-
"@ainyc/canonry-integration-cloud-run": "0.0.0",
|
|
67
|
-
"@ainyc/canonry-intelligence": "0.0.0",
|
|
68
66
|
"@ainyc/canonry-integration-bing": "0.0.0",
|
|
67
|
+
"@ainyc/canonry-intelligence": "0.0.0",
|
|
69
68
|
"@ainyc/canonry-integration-commoncrawl": "0.0.0",
|
|
70
69
|
"@ainyc/canonry-integration-google": "0.0.0",
|
|
71
70
|
"@ainyc/canonry-integration-traffic": "0.0.0",
|
|
71
|
+
"@ainyc/canonry-integration-cloud-run": "0.0.0",
|
|
72
72
|
"@ainyc/canonry-integration-wordpress": "0.0.0",
|
|
73
73
|
"@ainyc/canonry-provider-claude": "0.0.0",
|
|
74
74
|
"@ainyc/canonry-provider-cdp": "0.0.0",
|
|
75
|
-
"@ainyc/canonry-provider-gemini": "0.0.0",
|
|
76
75
|
"@ainyc/canonry-provider-local": "0.0.0",
|
|
76
|
+
"@ainyc/canonry-provider-openai": "0.0.0",
|
|
77
77
|
"@ainyc/canonry-provider-perplexity": "0.0.0",
|
|
78
|
-
"@ainyc/canonry-provider-
|
|
78
|
+
"@ainyc/canonry-provider-gemini": "0.0.0"
|
|
79
79
|
},
|
|
80
80
|
"scripts": {
|
|
81
81
|
"build": "tsx scripts/copy-agent-assets.ts && tsup && tsx build-web.ts",
|