@canonry/canonry 7.110.0 → 7.111.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/README.md +2 -1
- package/assets/agent-workspace/skills/aero/SKILL.md +12 -3
- package/assets/agent-workspace/skills/aero/references/agent-operations.md +7 -2
- package/assets/agent-workspace/skills/aero/references/getting-started.md +326 -0
- package/assets/agent-workspace/skills/aero/soul.md +1 -1
- package/assets/agent-workspace/skills/canonry/SKILL.md +9 -3
- package/assets/agent-workspace/skills/canonry/references/aeo-analysis.md +1 -1
- package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +2 -2
- package/assets/agent-workspace/skills/canonry/references/getting-started.md +328 -0
- package/assets/assets/{AccessControls-DmKPF5t5.js → AccessControls-CJMIWtDc.js} +1 -1
- package/assets/assets/{AgentSetupPage-BvoJ7cu0.js → AgentSetupPage-DR8w0A9t.js} +1 -1
- package/assets/assets/{AuditHistoryPanel-GHjaPPXk.js → AuditHistoryPanel-BLF2-WSw.js} +1 -1
- package/assets/assets/{BacklinksPage-Ca3l7bel.js → BacklinksPage-BCuEkphC.js} +1 -1
- package/assets/assets/{ChartPrimitives-CJLgYfSw.js → ChartPrimitives-Dxr7b1zf.js} +1 -1
- package/assets/assets/{HistoryPage-HqdlYIsd.js → HistoryPage-C3UcNB4C.js} +1 -1
- package/assets/assets/{MeasurementPropertyPage-D71Ki-q4.js → MeasurementPropertyPage-BKDciQn4.js} +1 -1
- package/assets/assets/{ProjectPage-wGYGNnLC.js → ProjectPage-BwkFGMs_.js} +3 -3
- package/assets/assets/{RunsPage-CeXFTDg4.js → RunsPage-BqteFByy.js} +1 -1
- package/assets/assets/{ServerTrafficSection-BZVlcCO2.js → ServerTrafficSection-CqHfSvux.js} +1 -1
- package/assets/assets/{SettingsPage-MiW1TGtF.js → SettingsPage-BORbl6fR.js} +1 -1
- package/assets/assets/{ToneBadge-BXxSLZUc.js → ToneBadge-Cu25HdVj.js} +1 -1
- package/assets/assets/{TrafficPage-1ZXZ2BLa.js → TrafficPage-xqJU4CR4.js} +1 -1
- package/assets/assets/{TrafficSourceDetailPage-BJPiUWus.js → TrafficSourceDetailPage-CVHyU3Za.js} +1 -1
- package/assets/assets/{account-context-DHUo7ntg.js → account-context-DR0diETl.js} +1 -1
- package/assets/assets/{agent-trust-copy-x8ECjEJu.js → agent-trust-copy-DX06JhNj.js} +1 -1
- package/assets/assets/{card-bE38V9NH.js → card-BG4pD6H7.js} +1 -1
- package/assets/assets/{index-Ce3zYiH3.js → index-CggAFvBE.js} +3 -3
- package/assets/assets/{query-client-CBtgvGgy.js → query-client-DiID-orC.js} +1 -1
- package/assets/assets/{react-query-CsgUn_pT.js → react-query-gPYNMl8L.js} +1 -1
- package/assets/assets/{react-sigma_core.esm.min-DeLn6mIk.js → react-sigma_core.esm.min-CaAAyMHy.js} +1 -1
- package/assets/assets/{server-traffic-Dwwd7cw6.js → server-traffic-DGkceMij.js} +1 -1
- package/assets/assets/{service-Bq_5mBI4.js → service-DqtXV3A5.js} +1 -1
- package/assets/index.html +8 -8
- package/dist/{ads-VITOHLIW.js → ads-MA5UHDSK.js} +3 -3
- package/dist/{agent-N57IKFTH.js → agent-QBDESRUX.js} +7 -7
- package/dist/{agent-ask-VPK4ED7D.js → agent-ask-DVUWIY4T.js} +3 -3
- package/dist/{agent-conversations-DPEGQ5NJ.js → agent-conversations-Q7SE57ZA.js} +3 -3
- package/dist/{agent-journeys-7AS543HY.js → agent-journeys-OWNSW6GR.js} +3 -3
- package/dist/{agent-memory-OKKNU2MA.js → agent-memory-YIVRBUPS.js} +3 -3
- package/dist/{agent-providers-JZGGMH5H.js → agent-providers-UDILAU6B.js} +3 -3
- package/dist/{agent-transcript-AICHEB4B.js → agent-transcript-KU7ELEEC.js} +3 -3
- package/dist/{analytics-FXNYSIAY.js → analytics-WFMI7N5Y.js} +3 -3
- package/dist/{apply-DYYB2I2S.js → apply-2WHADGXD.js} +3 -3
- package/dist/{backfill-CXKKDOST.js → backfill-ZNGMPK7N.js} +10 -10
- package/dist/{backlinks-442C4H4M.js → backlinks-LH77XWHZ.js} +3 -3
- package/dist/{bing-HRSXPL7O.js → bing-5OCPBLYU.js} +3 -3
- package/dist/{bootstrap-U5UVQDHJ.js → bootstrap-SCTHOCSM.js} +10 -10
- package/dist/{cdp-JSOEQZJJ.js → cdp-6OEBXRAY.js} +7 -7
- package/dist/{chunk-DMCJJ5FT.js → chunk-3SCJOPT5.js} +3 -3
- package/dist/{chunk-HX4KJWQO.js → chunk-44JAOWMT.js} +3 -3
- package/dist/{chunk-HH4XK3FX.js → chunk-46HRC23F.js} +1 -1
- package/dist/{chunk-7GU4F2QO.js → chunk-4EWCBHGV.js} +2 -2
- package/dist/{chunk-VDAC54IW.js → chunk-523WBUKU.js} +38 -7
- package/dist/{chunk-ME74SV2T.js → chunk-5IX4ZOSU.js} +1 -1
- package/dist/{chunk-QXBHZSOW.js → chunk-A2VDUQB2.js} +4 -4
- package/dist/{chunk-A334LHJ7.js → chunk-BNHQ55UD.js} +3 -3
- package/dist/{chunk-EU6JYD3C.js → chunk-BZMIVLRX.js} +5 -5
- package/dist/{chunk-YW6J3STO.js → chunk-CIDXBCEW.js} +1 -1
- package/dist/{chunk-3WAGCCAO.js → chunk-CJRL5BT3.js} +1 -1
- package/dist/{chunk-ZVKWDSKW.js → chunk-DR4QNC2H.js} +2 -2
- package/dist/{chunk-ZABO7FFF.js → chunk-EQ6RZE7U.js} +4 -4
- package/dist/{chunk-FEIDW5BU.js → chunk-EUARY2OX.js} +2 -1
- package/dist/{chunk-5SN2O7QH.js → chunk-GHNEC23U.js} +1 -1
- package/dist/{chunk-ES7XSOBY.js → chunk-H5LL4HMB.js} +1 -1
- package/dist/{chunk-XS3S3UQE.js → chunk-IBTMJA76.js} +7 -7
- package/dist/{chunk-OJYY6W5S.js → chunk-IU26JPKH.js} +16 -11
- package/dist/{chunk-Q3IXAH34.js → chunk-KMES74KU.js} +1 -1
- package/dist/{chunk-S2I5FPQC.js → chunk-LGPITEEE.js} +1 -1
- package/dist/{chunk-M7R7GSO5.js → chunk-LGPJMBH2.js} +2 -2
- package/dist/{chunk-5RMDU4MM.js → chunk-LPW2TRLI.js} +7 -7
- package/dist/{chunk-3AVO5OWE.js → chunk-MQU5QBUQ.js} +1 -1
- package/dist/{chunk-HGKB6J7I.js → chunk-N5U474SX.js} +4 -4
- package/dist/{chunk-66OTF2QQ.js → chunk-ORX3X7P5.js} +25 -23
- package/dist/{chunk-JXFFKZOI.js → chunk-PPOHDQ3T.js} +2 -2
- package/dist/{chunk-JJ7RXQ2W.js → chunk-QKEBSO3T.js} +2 -2
- package/dist/{chunk-TV6BFBRI.js → chunk-S7TL4SCS.js} +4 -4
- package/dist/{chunk-ZVLZ7YFW.js → chunk-TSQG2PNH.js} +368 -368
- package/dist/{chunk-RHY7GL5R.js → chunk-U4YVA2A2.js} +2 -2
- package/dist/{chunk-QIGC5JGR.js → chunk-UKQPA7NT.js} +4 -4
- package/dist/{chunk-FRKHFU6D.js → chunk-VXOZUCH4.js} +5 -5
- package/dist/{chunk-VYPDVWRG.js → chunk-WK6SPZG4.js} +1 -1
- package/dist/{chunk-UC2LPOW4.js → chunk-XAS6ARPI.js} +1 -1
- package/dist/{chunk-4CTVYOBQ.js → chunk-YOQQUG7C.js} +1 -1
- package/dist/{chunk-YKEXZBB4.js → chunk-YQ5NFMQB.js} +1 -1
- package/dist/{chunk-35H5E662.js → chunk-ZKYOGC7O.js} +1 -1
- package/dist/{citations-A6QP2QOT.js → citations-27ENEGJM.js} +4 -4
- package/dist/{cli-catalog-OJT3WVRE.js → cli-catalog-PAZQB7WG.js} +3 -3
- package/dist/{cli-commands-KQQPOXIP.js → cli-commands-L6G5AQG2.js} +7 -7
- package/dist/cli.js +13 -13
- package/dist/{competitor-AY5SURO6.js → competitor-EK5UX6W6.js} +3 -3
- package/dist/{content-UZJF7XQV.js → content-3MBCVYMR.js} +3 -3
- package/dist/{dashboard-IXNMMT5P.js → dashboard-5LZMYX52.js} +6 -6
- package/dist/{demo-Y7DDERG7.js → demo-2NB2BVZO.js} +1 -1
- package/dist/{demo-server-PNPTTPGQ.js → demo-server-MUJ566YQ.js} +12 -12
- package/dist/{discover-45FOFNGO.js → discover-VMPF4CLS.js} +4 -4
- package/dist/{discover-eval-CJ5G32A6.js → discover-eval-EK5ZAJKW.js} +3 -3
- package/dist/{doctor-2R4J6QC7.js → doctor-2KY5SS4O.js} +3 -3
- package/dist/{evidence-HDUJMIIR.js → evidence-OXYY666S.js} +3 -3
- package/dist/{export-cmd-3AXP4C3S.js → export-cmd-5Q6TNXN6.js} +3 -3
- package/dist/{ga-RYK2FEEH.js → ga-CG3KAWEE.js} +3 -3
- package/dist/{gbp-TAA3TNDA.js → gbp-F555XC4I.js} +3 -3
- package/dist/{google-62PQ4SMC.js → google-44XHCXOZ.js} +4 -4
- package/dist/{google-marketing-UWGFDUUZ.js → google-marketing-MSJVMCMQ.js} +1 -1
- package/dist/{health-cmd-ZDHMZLYQ.js → health-cmd-KXCY4527.js} +4 -4
- package/dist/{history-RVBQUMCX.js → history-Y6PMRNUA.js} +3 -3
- package/dist/index.d.ts +6 -6
- package/dist/index.js +26 -26
- package/dist/{init-XP3J3HPB.js → init-CCVUPSZZ.js} +12 -12
- package/dist/{insights-I2YS7U6L.js → insights-FGR5AU5D.js} +3 -3
- package/dist/intelligence-service-NOZAMR73.js +16 -0
- package/dist/{journeys-BELWHYCZ.js → journeys-2V4KIVDF.js} +3 -3
- package/dist/{keys-XDILBZFM.js → keys-2EOH2M22.js} +3 -3
- package/dist/{keyword-BQ4ECK2Z.js → keyword-XFHVSN3B.js} +3 -3
- package/dist/{logs-UAZUYRCJ.js → logs-WJU66NI5.js} +3 -3
- package/dist/{mcp-4262JRAS.js → mcp-23HANPN3.js} +4 -4
- package/dist/mcp.js +10 -10
- package/dist/{measurement-plan-D4DFV7XU.js → measurement-plan-VQIG5UCP.js} +5 -5
- package/dist/{notify-TIAGVEYL.js → notify-E33IOGRC.js} +3 -3
- package/dist/{organic-evidence-2TUODD26.js → organic-evidence-3YJ3WTF5.js} +3 -3
- package/dist/{overview-WP2DO3GW.js → overview-66VPXGSA.js} +5 -5
- package/dist/{project-OOUUH5QM.js → project-SHXJFR3K.js} +3 -3
- package/dist/{project-setup-HBKPIBNL.js → project-setup-SMTRU7UG.js} +3 -3
- package/dist/{query-M7XT5UL3.js → query-UNCXNQLZ.js} +3 -3
- package/dist/{research-O36LMQ6N.js → research-C5JIOYGU.js} +3 -3
- package/dist/{results-export-EQWWL2FH.js → results-export-WZZDWAQB.js} +3 -3
- package/dist/{run-2I7SGZWI.js → run-NRBLHGT3.js} +5 -5
- package/dist/{schedule-UIPFPM64.js → schedule-BOBKSQAN.js} +3 -3
- package/dist/{search-L3BSPUWL.js → search-26B4UX3P.js} +3 -3
- package/dist/{serve-CKQIXMZH.js → serve-3TN2RDHE.js} +27 -27
- package/dist/{session-JMUEO4JX.js → session-PTB4UBY3.js} +14 -14
- package/dist/{settings-CCYLUD6M.js → settings-25JAM5MJ.js} +3 -3
- package/dist/{sitemaps-QKEA3DLO.js → sitemaps-YXJIIT52.js} +3 -3
- package/dist/{skills-6QCTDYJX.js → skills-HAYPXHWH.js} +2 -2
- package/dist/{snapshot-SPVUDPYM.js → snapshot-V6D4W4MF.js} +3 -3
- package/dist/{src-TV6FYYJC.js → src-ENRBRVV2.js} +2 -2
- package/dist/{status-FU5K5ZIP.js → status-35RGWHEQ.js} +5 -5
- package/dist/{technical-aeo-A2UNMVHB.js → technical-aeo-YG7Q3554.js} +3 -3
- package/dist/{telemetry-4UAREPKB.js → telemetry-LUT6F4HJ.js} +4 -4
- package/dist/{tools-OLOHKI7B.js → tools-NPGGINFO.js} +11 -11
- package/dist/{traffic-3TQUDBQB.js → traffic-CKYSAD4T.js} +5 -5
- package/dist/{trends-IHC2MH5V.js → trends-NQZD7X67.js} +3 -3
- package/dist/{users-TYU5PIYM.js → users-6FPNRCXJ.js} +3 -3
- package/dist/{visibility-stats-BWJF57ON.js → visibility-stats-S2FXH3NH.js} +4 -4
- package/dist/{wordpress-T4CVB32J.js → wordpress-BN62WUII.js} +3 -3
- package/package.json +2 -2
- package/dist/intelligence-service-OHEFN77N.js +0 -16
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
normalizeTrafficPathPattern,
|
|
20
20
|
sessionizeJourneyRequests,
|
|
21
21
|
verifyRequestSignature
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-5IX4ZOSU.js";
|
|
23
23
|
import {
|
|
24
24
|
currentOutcomeAttribution,
|
|
25
25
|
getRequestContext,
|
|
26
26
|
registerRequestContext,
|
|
27
27
|
requestAuditIdentity,
|
|
28
28
|
sanitizeRequestContext
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-WK6SPZG4.js";
|
|
30
30
|
import {
|
|
31
31
|
RawEventSampleEventTypes,
|
|
32
32
|
SentimentIdempotencyConflict,
|
|
@@ -190,7 +190,7 @@ import {
|
|
|
190
190
|
userSessions,
|
|
191
191
|
users,
|
|
192
192
|
writeNegativeReviewMaxStars
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-MQU5QBUQ.js";
|
|
194
194
|
import {
|
|
195
195
|
ADS_ACTIVATE_SCOPE,
|
|
196
196
|
ADS_ACTIVATION_ABSOLUTE_MAX_ENTITIES,
|
|
@@ -1372,7 +1372,7 @@ import {
|
|
|
1372
1372
|
wordpressSchemaDeployResultDtoSchema,
|
|
1373
1373
|
wordpressSchemaStatusResultDtoSchema,
|
|
1374
1374
|
wordpressStatusDtoSchema
|
|
1375
|
-
} from "./chunk-
|
|
1375
|
+
} from "./chunk-EUARY2OX.js";
|
|
1376
1376
|
|
|
1377
1377
|
// ../api-routes/src/user-session.ts
|
|
1378
1378
|
import crypto2 from "crypto";
|
|
@@ -8996,7 +8996,7 @@ function simpleSourceQueries(definition2) {
|
|
|
8996
8996
|
}
|
|
8997
8997
|
|
|
8998
8998
|
// ../api-routes/src/sentiment-service.ts
|
|
8999
|
-
var DISCLOSURE = "
|
|
8999
|
+
var DISCLOSURE = "English sentiment classification. Enabling sends each stored answer's text to TypeSafe with the frozen subject identity (name, aliases, qualified aliases and URLs), the tracked query text and query class, the answer engine with its requested and served models, the location, and internal query, subject, Property, group and market identifiers.";
|
|
9000
9000
|
var FULL_ROWS = { include: /* @__PURE__ */ new Set(["assessments", "locations"]), limit: null, after: null };
|
|
9001
9001
|
var COMPACT_ROWS = { include: /* @__PURE__ */ new Set(), limit: null, after: null };
|
|
9002
9002
|
var OPERATIONAL_OUTCOMES = /* @__PURE__ */ new Set([SentimentOutcomes.pending, SentimentOutcomes.running, SentimentOutcomes["waiting-to-retry"], SentimentOutcomes.failed, SentimentOutcomes.canceled]);
|
|
@@ -9042,7 +9042,7 @@ var SentimentService = class {
|
|
|
9042
9042
|
evaluationDefinitionId: row?.evaluationDefinitionId ?? null,
|
|
9043
9043
|
// A project that is still on can always be switched off, even while the install switch is off.
|
|
9044
9044
|
actions: { configure: administrator && (install.enabled || Boolean(row?.enabled)), backfill: administrator && ready && Boolean(row?.enabled) },
|
|
9045
|
-
experimental:
|
|
9045
|
+
experimental: false,
|
|
9046
9046
|
disclosure: install.provider === "openrouter" ? DISCLOSURE.replace("to TypeSafe", "to OpenRouter for the pinned TypeSafe Jev evaluator") : DISCLOSURE
|
|
9047
9047
|
};
|
|
9048
9048
|
}
|
|
@@ -32629,7 +32629,10 @@ function retryAfterSeconds(header2, now = Date.now()) {
|
|
|
32629
32629
|
const seconds = /^\d+$/u.test(value) ? Number(value) : (Date.parse(value) - now) / 1e3;
|
|
32630
32630
|
return Number.isFinite(seconds) && seconds >= 0 ? Math.min(Math.ceil(seconds), 86400) : null;
|
|
32631
32631
|
}
|
|
32632
|
-
|
|
32632
|
+
function webhookUserAgent(version) {
|
|
32633
|
+
return version ? `Canonry/${version}` : "Canonry";
|
|
32634
|
+
}
|
|
32635
|
+
async function deliverWebhook(target, payload, webhookSecret, options = {}) {
|
|
32633
32636
|
const body = JSON.stringify(payload);
|
|
32634
32637
|
const isHttps = target.url.protocol === "https:";
|
|
32635
32638
|
const port = target.url.port ? Number(target.url.port) : isHttps ? 443 : 80;
|
|
@@ -32638,7 +32641,7 @@ async function deliverWebhook(target, payload, webhookSecret) {
|
|
|
32638
32641
|
"Content-Length": String(Buffer.byteLength(body)),
|
|
32639
32642
|
"Content-Type": "application/json",
|
|
32640
32643
|
"Host": target.url.host,
|
|
32641
|
-
"User-Agent":
|
|
32644
|
+
"User-Agent": options.userAgent ?? webhookUserAgent()
|
|
32642
32645
|
};
|
|
32643
32646
|
if (webhookSecret) {
|
|
32644
32647
|
headers["X-Canonry-Signature"] = "sha256=" + crypto31.createHmac("sha256", webhookSecret).update(body).digest("hex");
|
|
@@ -42266,7 +42269,7 @@ var routeCatalog = [
|
|
|
42266
42269
|
{
|
|
42267
42270
|
method: "put",
|
|
42268
42271
|
path: "/api/v1/projects/{name}/sentiment/settings",
|
|
42269
|
-
summary: "Configure
|
|
42272
|
+
summary: "Configure project sentiment",
|
|
42270
42273
|
tags: ["sentiment"],
|
|
42271
42274
|
parameters: [nameParameter],
|
|
42272
42275
|
description: "Install administrators only. Enabling processes future eligible completions; historical backfill is explicit. Stance-only evaluator definitions are immutable and comparisons preserve their identity. TypeSafe credentials remain local install configuration.",
|
|
@@ -51546,7 +51549,7 @@ async function notificationRoutes(app, opts = {}) {
|
|
|
51546
51549
|
const signingSecret = destination.signed ? notification.webhookSecret ?? null : null;
|
|
51547
51550
|
const targetLabel = redactNotificationUrl(config.url).urlDisplay;
|
|
51548
51551
|
request.log.info(`[Notification test] POST ${targetLabel} (${destination.destination})`);
|
|
51549
|
-
const delivery = await deliverWebhook(urlCheck.target, body, signingSecret);
|
|
51552
|
+
const delivery = await deliverWebhook(urlCheck.target, body, signingSecret, { userAgent: webhookUserAgent(opts.appVersion) });
|
|
51550
51553
|
const { status, error } = delivery;
|
|
51551
51554
|
request.log.info(`[Notification test] Response: HTTP ${status} from ${targetLabel}`);
|
|
51552
51555
|
const failure = webhookResponseReason(delivery);
|
|
@@ -81971,7 +81974,8 @@ async function apiRoutes(app, opts) {
|
|
|
81971
81974
|
providerAdapters: opts.providerAdapters
|
|
81972
81975
|
});
|
|
81973
81976
|
await api.register(notificationRoutes, {
|
|
81974
|
-
allowLoopbackWebhooks: opts.allowLoopbackWebhooks
|
|
81977
|
+
allowLoopbackWebhooks: opts.allowLoopbackWebhooks,
|
|
81978
|
+
appVersion: opts.appVersion
|
|
81975
81979
|
});
|
|
81976
81980
|
await api.register(sentimentRoutes, opts.sentiment ?? { install: () => ({ enabled: false, ready: false, reason: "install-disabled", model: "jev-1.13.0" }), previewSecret: randomUUID4() });
|
|
81977
81981
|
await api.register(operationalLogsRoutes, { listOperationalLogs: opts.listOperationalLogs });
|
|
@@ -82450,6 +82454,7 @@ export {
|
|
|
82450
82454
|
nextRunFromCron,
|
|
82451
82455
|
nextRunFromSchedule,
|
|
82452
82456
|
resolveWebhookTarget,
|
|
82457
|
+
webhookUserAgent,
|
|
82453
82458
|
deliverWebhook,
|
|
82454
82459
|
readAdvancedSignalTransitions,
|
|
82455
82460
|
readLatestGscDataDate,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRequestContext
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WK6SPZG4.js";
|
|
4
4
|
import {
|
|
5
5
|
diagnosticIdentity,
|
|
6
6
|
redactLogString,
|
|
7
7
|
redactLogValue
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-EUARY2OX.js";
|
|
9
9
|
|
|
10
10
|
// ../api-routes/src/runtime-logger.ts
|
|
11
11
|
import { format } from "util";
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
isStoredPageReadTool,
|
|
6
6
|
isStoredReadTool,
|
|
7
7
|
truncateToolResult
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UKQPA7NT.js";
|
|
9
9
|
import {
|
|
10
10
|
CANONRY_MCP_TOOLKITS,
|
|
11
11
|
resolveAeroSkillDir
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CIDXBCEW.js";
|
|
13
13
|
import {
|
|
14
14
|
AGENT_REASONING_LEVELS,
|
|
15
15
|
aeroStreamFn,
|
|
@@ -23,18 +23,18 @@ import {
|
|
|
23
23
|
resolveApiKeyFor,
|
|
24
24
|
resolveModelForProvider,
|
|
25
25
|
validateAgentProviderRegistry
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ZKYOGC7O.js";
|
|
27
27
|
import {
|
|
28
28
|
CanonryMcpToolNames,
|
|
29
29
|
canonryMcpTools
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-EQ6RZE7U.js";
|
|
31
31
|
import {
|
|
32
32
|
createLogger
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-LGPJMBH2.js";
|
|
34
34
|
import {
|
|
35
35
|
agentToolEvents,
|
|
36
36
|
llmUsageEvents
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-MQU5QBUQ.js";
|
|
38
38
|
import {
|
|
39
39
|
MeasurementPortfolioLists,
|
|
40
40
|
SEO_TREND_METRICS_BY_KIND,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
describeError,
|
|
46
46
|
validationError,
|
|
47
47
|
visibilityReportRequestSchema
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-EUARY2OX.js";
|
|
49
49
|
|
|
50
50
|
// src/agent/session.ts
|
|
51
51
|
import fs2 from "fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registeredProviderNames
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YOQQUG7C.js";
|
|
4
4
|
import {
|
|
5
5
|
configExists,
|
|
6
6
|
loadConfigRaw
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZKYOGC7O.js";
|
|
8
8
|
|
|
9
9
|
// src/setup-state.ts
|
|
10
10
|
import fs from "fs";
|
|
@@ -28,7 +28,7 @@ async function buildSetupState() {
|
|
|
28
28
|
}
|
|
29
29
|
if (dbPath && fs.existsSync(dbPath)) {
|
|
30
30
|
try {
|
|
31
|
-
const { createClient, projects, queries: queriesTable } = await import("./src-
|
|
31
|
+
const { createClient, projects, queries: queriesTable } = await import("./src-ENRBRVV2.js");
|
|
32
32
|
const db = createClient(dbPath);
|
|
33
33
|
project_count = db.select({ id: projects.id }).from(projects).all().length;
|
|
34
34
|
const firstQuery = db.select({ id: queriesTable.id }).from(queriesTable).limit(1).all();
|
|
@@ -47,7 +47,7 @@ function queueServeHandoff() {
|
|
|
47
47
|
async function runPendingServeHandoff(format) {
|
|
48
48
|
if (!pendingServeHandoff) return;
|
|
49
49
|
pendingServeHandoff = false;
|
|
50
|
-
const { serveCommand } = await import("./serve-
|
|
50
|
+
const { serveCommand } = await import("./serve-3TN2RDHE.js");
|
|
51
51
|
await serveCommand(format);
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -24,18 +24,18 @@ import {
|
|
|
24
24
|
resolveConfiguredAgentProvider,
|
|
25
25
|
resolveSessionProviderAndModel,
|
|
26
26
|
setAeroSystemPrompt
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-LPW2TRLI.js";
|
|
28
28
|
import {
|
|
29
29
|
answerServiceAdapters,
|
|
30
30
|
answerServiceDescriptors
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-GHNEC23U.js";
|
|
32
32
|
import {
|
|
33
33
|
AeroToolProfiles,
|
|
34
34
|
AeroToolScopes,
|
|
35
35
|
buildAeroStateTools,
|
|
36
36
|
isAeroToolProfile,
|
|
37
37
|
truncateToolResult
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-UKQPA7NT.js";
|
|
39
39
|
import {
|
|
40
40
|
getGoogleAuthConfig,
|
|
41
41
|
getGoogleConnection,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
removeCloudflareTrafficConnection,
|
|
55
55
|
removeCloudflareTrafficConnectionBySourceId,
|
|
56
56
|
upsertCloudflareTrafficConnection
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-H5LL4HMB.js";
|
|
58
58
|
import {
|
|
59
59
|
claudeAdapter,
|
|
60
60
|
embedQueries,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
openrouterAdapter,
|
|
67
67
|
perplexityAdapter,
|
|
68
68
|
startTrafficReclassification
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-VXOZUCH4.js";
|
|
70
70
|
import {
|
|
71
71
|
classifyUsageSurface,
|
|
72
72
|
createApiUsageTelemetry,
|
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
startOutcomeTimer,
|
|
79
79
|
trackFeatureCompleted,
|
|
80
80
|
trackInstallState
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-S7TL4SCS.js";
|
|
82
82
|
import {
|
|
83
83
|
isLoopbackBindHost
|
|
84
84
|
} from "./chunk-TSENU4GG.js";
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
isApiProviderRegistrable,
|
|
87
87
|
isCdpProviderRegistrable,
|
|
88
88
|
registeredProviderNames
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-YOQQUG7C.js";
|
|
90
90
|
import {
|
|
91
91
|
checkLatestVersionForServer,
|
|
92
92
|
getOrCreateAnonymousId,
|
|
@@ -98,17 +98,17 @@ import {
|
|
|
98
98
|
recordDashboardEvent,
|
|
99
99
|
setTelemetryPreference,
|
|
100
100
|
trackEvent
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-DR4QNC2H.js";
|
|
102
102
|
import {
|
|
103
103
|
createCanonryMcpServer
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-523WBUKU.js";
|
|
105
105
|
import {
|
|
106
106
|
CANONRY_MCP_TIERS,
|
|
107
107
|
CANONRY_MCP_TOOLKIT_NAMES
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-CIDXBCEW.js";
|
|
109
109
|
import {
|
|
110
110
|
ApiClient
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-QKEBSO3T.js";
|
|
112
112
|
import {
|
|
113
113
|
AGENT_PROVIDERS,
|
|
114
114
|
PROVIDER_MODELS,
|
|
@@ -143,21 +143,21 @@ import {
|
|
|
143
143
|
saveConfigPatch,
|
|
144
144
|
sentimentInstallReadiness,
|
|
145
145
|
updateSharedProviderExecutionGate
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-ZKYOGC7O.js";
|
|
147
147
|
import {
|
|
148
148
|
getBundledSkillSnapshots
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-CJRL5BT3.js";
|
|
150
150
|
import {
|
|
151
151
|
computeFactorAverages,
|
|
152
152
|
deleteSiteCrawlGraphLayout,
|
|
153
153
|
persistSiteCrawlGraphLayout,
|
|
154
154
|
prepareSiteCrawlGraphLayout,
|
|
155
155
|
recordedSharePct
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-PPOHDQ3T.js";
|
|
157
157
|
import {
|
|
158
158
|
CanonryMcpToolNames,
|
|
159
159
|
canonryMcpTools
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-EQ6RZE7U.js";
|
|
161
161
|
import {
|
|
162
162
|
PACKAGE_VERSION
|
|
163
163
|
} from "./chunk-AOJU5LKX.js";
|
|
@@ -166,16 +166,16 @@ import {
|
|
|
166
166
|
} from "./chunk-HGMYEDAQ.js";
|
|
167
167
|
import {
|
|
168
168
|
IntelligenceService
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-BZMIVLRX.js";
|
|
170
170
|
import {
|
|
171
171
|
computeCitedCompetitorDomains,
|
|
172
172
|
determineCitationState
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-XAS6ARPI.js";
|
|
174
174
|
import {
|
|
175
175
|
addLogListener,
|
|
176
176
|
createFastifyLogger,
|
|
177
177
|
createLogger
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-LGPJMBH2.js";
|
|
179
179
|
import {
|
|
180
180
|
BingApiError,
|
|
181
181
|
CC_CACHE_DIR,
|
|
@@ -325,8 +325,9 @@ import {
|
|
|
325
325
|
webhookOutcomeTarget,
|
|
326
326
|
webhookResponseReason,
|
|
327
327
|
webhookTargetRefusalReason,
|
|
328
|
+
webhookUserAgent,
|
|
328
329
|
writeAuditLog
|
|
329
|
-
} from "./chunk-
|
|
330
|
+
} from "./chunk-IU26JPKH.js";
|
|
330
331
|
import {
|
|
331
332
|
OperationalLogStore,
|
|
332
333
|
SentimentIdempotencyConflict,
|
|
@@ -428,7 +429,7 @@ import {
|
|
|
428
429
|
unrecognizedAgentEventsHourly,
|
|
429
430
|
unrecognizedAgentNotifyState,
|
|
430
431
|
usageCounters
|
|
431
|
-
} from "./chunk-
|
|
432
|
+
} from "./chunk-MQU5QBUQ.js";
|
|
432
433
|
import {
|
|
433
434
|
AGENT_MEMORY_VALUE_MAX_BYTES,
|
|
434
435
|
AI_ENGINE_DOMAINS,
|
|
@@ -710,7 +711,7 @@ import {
|
|
|
710
711
|
winnabilityClassLabel,
|
|
711
712
|
withRetry,
|
|
712
713
|
withSkippedProviders
|
|
713
|
-
} from "./chunk-
|
|
714
|
+
} from "./chunk-EUARY2OX.js";
|
|
714
715
|
|
|
715
716
|
// src/google-marketing-runtime.ts
|
|
716
717
|
import crypto2 from "crypto";
|
|
@@ -6464,7 +6465,7 @@ function nonBlank(value) {
|
|
|
6464
6465
|
return trimmed ? trimmed : void 0;
|
|
6465
6466
|
}
|
|
6466
6467
|
function resolveBuildCommit(env = process.env) {
|
|
6467
|
-
const embedded = true ? "
|
|
6468
|
+
const embedded = true ? "b8543616b388df22f1c38a72badac38815b9f071" : void 0;
|
|
6468
6469
|
return nonBlank(embedded) ?? nonBlank(env.CANONRY_COMMIT);
|
|
6469
6470
|
}
|
|
6470
6471
|
function resolveInstanceIdentity(env = process.env) {
|
|
@@ -17144,7 +17145,7 @@ var Notifier = class {
|
|
|
17144
17145
|
let lastFailure = { reasonCode: "UNKNOWN" };
|
|
17145
17146
|
for (let attempt = 0; attempt < maxRetries; attempt++) {
|
|
17146
17147
|
try {
|
|
17147
|
-
const response = await deliverWebhook(targetCheck.target, body, signingSecret);
|
|
17148
|
+
const response = await deliverWebhook(targetCheck.target, body, signingSecret, { userAgent: webhookUserAgent(PACKAGE_VERSION) });
|
|
17148
17149
|
if (response.status >= 200 && response.status < 300) {
|
|
17149
17150
|
log26.info("webhook.delivered", { event: payload.event, url: targetLabel, httpStatus: response.status });
|
|
17150
17151
|
this.logDelivery(projectId, notificationId, payload.event, "sent", null);
|
|
@@ -23180,6 +23181,7 @@ async function createServer(opts) {
|
|
|
23180
23181
|
// Powers the `canonry.version.current` doctor check. Non-blocking.
|
|
23181
23182
|
getUpdateStatus: () => getServerUpdateStatus(),
|
|
23182
23183
|
allowLoopbackWebhooks,
|
|
23184
|
+
appVersion: PACKAGE_VERSION,
|
|
23183
23185
|
// Wall-clock budget for one incremental Vercel drain. This is the only lever
|
|
23184
23186
|
// that decides whether a source catches up or falls further behind, and it
|
|
23185
23187
|
// was previously reachable only from tests, so a source losing ground could
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
siteCrawlGraphNodes,
|
|
6
6
|
siteCrawlPages,
|
|
7
7
|
siteCrawlSnapshots
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MQU5QBUQ.js";
|
|
9
9
|
import {
|
|
10
10
|
SITE_CRAWL_GRAPH_MAX_EDGES,
|
|
11
11
|
SITE_CRAWL_GRAPH_MAX_NODES,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
factorStatusFromDistribution,
|
|
16
16
|
factorStatusFromScore,
|
|
17
17
|
roundPreservingTotal
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-EUARY2OX.js";
|
|
19
19
|
|
|
20
20
|
// src/site-audit-factors.ts
|
|
21
21
|
function recordedSharePct(factor) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadConfig
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZKYOGC7O.js";
|
|
4
4
|
import {
|
|
5
5
|
PACKAGE_VERSION
|
|
6
6
|
} from "./chunk-AOJU5LKX.js";
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
sentimentSettingsReadSchema,
|
|
37
37
|
sentimentSummaryReadSchema,
|
|
38
38
|
upgradeCommandFor
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-EUARY2OX.js";
|
|
40
40
|
|
|
41
41
|
// ../api-client-generated/src/generated/core/bodySerializer.gen.ts
|
|
42
42
|
var jsonBodySerializer = {
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
bucketCliCommandDuration,
|
|
3
3
|
isTelemetryEnabled,
|
|
4
4
|
trackEvent
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DR4QNC2H.js";
|
|
6
6
|
import {
|
|
7
7
|
getConfigDir
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZKYOGC7O.js";
|
|
9
9
|
import {
|
|
10
10
|
currentOutcomeAttribution
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WK6SPZG4.js";
|
|
12
12
|
import {
|
|
13
13
|
AGENT_NONE,
|
|
14
14
|
OutcomeSurfaces,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
integrationConnectionPropertiesSchema,
|
|
20
20
|
normalizeAgentSlug,
|
|
21
21
|
usageSurfaceSchema
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-EUARY2OX.js";
|
|
23
23
|
|
|
24
24
|
// src/outcome-telemetry.ts
|
|
25
25
|
import fs from "fs";
|