@canonry/canonry 7.53.0 → 7.54.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/agent-workspace/skills/canonry/references/canonry-cli.md +13 -0
- package/assets/assets/AgentSetupPage-Dr7UsGcq.js +17 -0
- package/assets/assets/AuditHistoryPanel-Dg9ZNNQw.js +1 -0
- package/assets/assets/BacklinksPage-DSgwyFCi.js +1 -0
- package/assets/assets/{HistoryPage-D2DOk7ms.js → HistoryPage-DaX20IWP.js} +1 -1
- package/assets/assets/MeasurementPropertyPage-FGhKdZAP.js +4 -0
- package/assets/assets/ProjectPage-BTJYS9gc.js +7 -0
- package/assets/assets/RunsPage-D06GJ47B.js +1 -0
- package/assets/assets/SettingsPage-MSgC8Zrc.js +1 -0
- package/assets/assets/SiteHealthSection-4PXTNjon.js +2 -0
- package/assets/assets/ToneBadge-AoUA_EpE.js +60 -0
- package/assets/assets/TrafficPage-DikPWmaU.js +40 -0
- package/assets/assets/TrafficSourceDetailPage-C1hfimWW.js +1 -0
- package/assets/assets/account-context-CHtJm4fz.js +1 -0
- package/assets/assets/card-BO6dtEV9.js +1 -0
- package/assets/assets/extract-error-message-Q9pkEqUE.js +1 -0
- package/assets/assets/{format-helpers-B_2jkVGI.js → format-helpers-Gj1ekh6p.js} +1 -1
- package/assets/assets/{index-DgS5TTSb.css → index-B8W65ejO.css} +1 -1
- package/assets/assets/index-BBfEsbxI.js +56 -0
- package/assets/assets/query-client-C22j0Z7h.js +1 -0
- package/assets/assets/react-query-BLKqSvlU.js +1 -0
- package/assets/assets/{react-sigma_core.esm.min-Bjux3j_1.js → react-sigma_core.esm.min-j5DWE8Rk.js} +1 -1
- package/assets/assets/service-2DEngBCR.js +1 -0
- package/assets/index.html +8 -7
- package/dist/{ads-S4S74OXM.js → ads-A5S2NQBZ.js} +3 -3
- package/dist/{agent-JZWKCI5V.js → agent-BV7G7QN7.js} +7 -7
- package/dist/{agent-ask-N2DG5ZLZ.js → agent-ask-5ALAHZ6T.js} +3 -3
- package/dist/{agent-conversations-7UDNE7YI.js → agent-conversations-MJPQCJYR.js} +3 -3
- package/dist/{agent-memory-I74OWTU7.js → agent-memory-Z3VPA5KH.js} +3 -3
- package/dist/{agent-providers-MEMCZPGE.js → agent-providers-FP3LAZPG.js} +3 -3
- package/dist/{agent-transcript-Z7VTL7PY.js → agent-transcript-4GXCOC73.js} +3 -3
- package/dist/{analytics-4NUSNTKT.js → analytics-TOLSUYSN.js} +3 -3
- package/dist/{apply-OZKQK3YF.js → apply-EU5JAFVZ.js} +3 -3
- package/dist/{backfill-PLY2NOOY.js → backfill-3263IYJH.js} +9 -9
- package/dist/{backlinks-2CMRJFWO.js → backlinks-XQ5JTN6W.js} +3 -3
- package/dist/{bing-RD3DDESD.js → bing-LYHRD7BF.js} +3 -3
- package/dist/{bootstrap-JOYV4SWM.js → bootstrap-AKWTIMMH.js} +17 -9
- package/dist/{cdp-LUGL3CT6.js → cdp-N4PQJWGQ.js} +7 -7
- package/dist/{chunk-P4SXRRB4.js → chunk-2SY2FYFW.js} +298 -110
- package/dist/{chunk-U7JJKXLA.js → chunk-4LVJFSPH.js} +5 -5
- package/dist/{chunk-3DO3CS7Y.js → chunk-5P7DSHNK.js} +4 -4
- package/dist/{chunk-C5GCRQ66.js → chunk-6WTSWWP6.js} +2 -2
- package/dist/{chunk-LGU3O5YP.js → chunk-75CFTTBF.js} +2 -2
- package/dist/{chunk-NKSASP4U.js → chunk-B37SDIGU.js} +1 -1
- package/dist/{chunk-N3WQHLDI.js → chunk-BQKKAPMW.js} +13 -1
- package/dist/{chunk-BQT7VLGM.js → chunk-D234NBWI.js} +1 -1
- package/dist/{chunk-DFQHGWPB.js → chunk-EIG2V6UI.js} +1 -1
- package/dist/{chunk-BH274VEO.js → chunk-GFRIXUDK.js} +36 -2
- package/dist/{chunk-LYCYSM6O.js → chunk-H6EQMYGT.js} +1 -1
- package/dist/{chunk-23UZNTF4.js → chunk-J7VN3FZ3.js} +1 -1
- package/dist/{chunk-IWQGZQHE.js → chunk-K5MBEK4S.js} +8 -8
- package/dist/{chunk-6VSKBVB3.js → chunk-LCTYTGSE.js} +3 -3
- package/dist/{chunk-ZXH5IFIA.js → chunk-MARVEIWH.js} +4 -4
- package/dist/{chunk-SZG7S7TE.js → chunk-OHVXKFQI.js} +1 -1
- package/dist/{chunk-2GAXZAQJ.js → chunk-OMXWBR2R.js} +7227 -6562
- package/dist/{chunk-QNU7IIO7.js → chunk-PFPTUCMG.js} +324 -324
- package/dist/{chunk-JZARXJV6.js → chunk-PRNO5TLE.js} +456 -249
- package/dist/{chunk-6ZCZRZ66.js → chunk-QFKDFU73.js} +2 -2
- package/dist/chunk-R4AFXPM4.js +959 -0
- package/dist/{chunk-O3OTW7F4.js → chunk-RHCDUPD6.js} +2 -2
- package/dist/{chunk-N6MS4VG2.js → chunk-SKZVEZZK.js} +7 -2
- package/dist/{chunk-2XDGFHPM.js → chunk-T63KVDWY.js} +3 -3
- package/dist/{chunk-F55ER5RQ.js → chunk-VB47PTY7.js} +3 -3
- package/dist/{chunk-QARV5HVI.js → chunk-VCTP2RG6.js} +5 -5
- package/dist/{chunk-RVBGFWJ3.js → chunk-VF7XGX2I.js} +1 -1
- package/dist/{chunk-QXJ356KK.js → chunk-VMCVLESK.js} +4 -4
- package/dist/{chunk-WNXKW3NS.js → chunk-WDJMIIY2.js} +1 -1
- package/dist/{chunk-2HWY4NRQ.js → chunk-XJVCTI2N.js} +3 -3
- package/dist/{chunk-XTIP5WSA.js → chunk-Y2YBRLSS.js} +3 -3
- package/dist/{chunk-VEH4YLWR.js → chunk-YOZ35ZTT.js} +1 -1
- package/dist/{chunk-2EYBZYDG.js → chunk-ZA7D7CCN.js} +2 -2
- package/dist/{chunk-BGZL5RCP.js → chunk-ZILJZNMQ.js} +1 -1
- package/dist/{citations-GMLBTNLW.js → citations-JK3ZMAR7.js} +3 -3
- package/dist/{cli-catalog-WKUCQEWA.js → cli-catalog-P2I6IYNI.js} +3 -3
- package/dist/{cli-commands-YCHQWUNK.js → cli-commands-YDRKG6OC.js} +7 -7
- package/dist/cli.js +13 -13
- package/dist/{competitor-QNPVJFEI.js → competitor-5CJPM36M.js} +3 -3
- package/dist/{content-NFTC74HD.js → content-5FEDXNHR.js} +3 -3
- package/dist/{dashboard-TMUQT5H5.js → dashboard-ME7MBJTX.js} +6 -6
- package/dist/{demo-O5SPVLZZ.js → demo-N7MEASQP.js} +1 -1
- package/dist/{demo-server-WKZ53RGK.js → demo-server-IGTBANDC.js} +11 -11
- package/dist/{discover-LTTO7KHN.js → discover-EAISVTA6.js} +3 -3
- package/dist/{discover-eval-QRDNMDUE.js → discover-eval-JIBKK44Q.js} +3 -3
- package/dist/{doctor-SFL5FOW4.js → doctor-HSQYOZ4C.js} +3 -3
- package/dist/{evidence-J6WZ767P.js → evidence-PSYAWKPP.js} +3 -3
- package/dist/{export-cmd-D3JDTBDV.js → export-cmd-MWJN6H7W.js} +3 -3
- package/dist/{ga-N56LXQUN.js → ga-WSQWECYY.js} +3 -3
- package/dist/{gbp-7WVJYWDR.js → gbp-OD26AEPF.js} +3 -3
- package/dist/{google-YLRVXYVJ.js → google-FMJ7IWAF.js} +4 -4
- package/dist/{google-marketing-4DGX3RBB.js → google-marketing-66JL4V24.js} +1 -1
- package/dist/{health-cmd-PK3BASF6.js → health-cmd-2RO5LAI4.js} +3 -3
- package/dist/{history-UWTEZ626.js → history-X6CNPW7G.js} +3 -3
- package/dist/index.d.ts +484 -49
- package/dist/index.js +24 -23
- package/dist/{init-RBI2IOBY.js → init-25III66S.js} +11 -11
- package/dist/{insights-ZUC5XHFD.js → insights-6IWWA6JU.js} +3 -3
- package/dist/intelligence-service-N334P6FH.js +15 -0
- package/dist/{keys-NOG3M76V.js → keys-ABXAPISY.js} +3 -3
- package/dist/{keyword-HD57L76I.js → keyword-LERAVMI3.js} +3 -3
- package/dist/{logs-VAB7ITBS.js → logs-BTAB5SNZ.js} +3 -3
- package/dist/{mcp-HYHIL5FB.js → mcp-5E42RT6R.js} +2 -2
- package/dist/mcp.js +9 -9
- package/dist/{measurement-plan-GEHOHCH3.js → measurement-plan-MRZRNBJG.js} +5 -5
- package/dist/{notify-VQ2ZDGN4.js → notify-YQYGC5UZ.js} +3 -3
- package/dist/{organic-evidence-6TX627YW.js → organic-evidence-6QT4YT3K.js} +3 -3
- package/dist/{overview-XBO7WYAV.js → overview-EHZ3FTS2.js} +4 -4
- package/dist/{project-DR6744WZ.js → project-RNLV2ARE.js} +3 -3
- package/dist/{query-OGVTCPG5.js → query-IM2RXI4L.js} +3 -3
- package/dist/{research-B2TGKSMC.js → research-4FALR336.js} +25 -10
- package/dist/{results-export-K7PAYPWQ.js → results-export-4ETSRUGO.js} +3 -3
- package/dist/{run-Y6LUMCVL.js → run-QL7226N7.js} +4 -4
- package/dist/{schedule-PNAUJ5FX.js → schedule-GJE634VO.js} +3 -3
- package/dist/{search-PMVOGL4U.js → search-7OQL67R6.js} +3 -3
- package/dist/{serve-PQHXSS5T.js → serve-UN2OEK2Q.js} +25 -24
- package/dist/{session-S5NDMMKF.js → session-5M54TVY5.js} +12 -12
- package/dist/{settings-AL7E7QUK.js → settings-2QOL7YBM.js} +15 -3
- package/dist/{skills-GQOOTDR7.js → skills-GPLAAU3I.js} +2 -2
- package/dist/{snapshot-W3FXRTZM.js → snapshot-5YMJFRJS.js} +8 -6
- package/dist/{src-WZLTQFCH.js → src-YF3JLURF.js} +2 -2
- package/dist/{status-MBJVN4W5.js → status-WGWC6FLN.js} +33 -5
- package/dist/{technical-aeo-Y4RFST72.js → technical-aeo-RNMLD7OL.js} +3 -3
- package/dist/{telemetry-VK6F5QSZ.js → telemetry-7U3ZICU4.js} +4 -4
- package/dist/{tools-W3AQY5TY.js → tools-CSKTZTKT.js} +11 -11
- package/dist/{traffic-ER4I6V3B.js → traffic-QIAXLW6J.js} +5 -5
- package/dist/{users-KZK2OF4L.js → users-I6X5P5AO.js} +3 -3
- package/dist/{visibility-stats-CR7BUG5G.js → visibility-stats-33OUKQQL.js} +3 -3
- package/dist/{wordpress-DG5JUCAC.js → wordpress-3IO3O27D.js} +3 -3
- package/package.json +2 -1
- package/assets/assets/AccessControls-B-5YUuLE.js +0 -1
- package/assets/assets/AuditHistoryPanel-BkCUPvPv.js +0 -1
- package/assets/assets/BacklinksPage-BMgHZKuw.js +0 -1
- package/assets/assets/MeasurementPropertyPage-Bwv8nKS7.js +0 -4
- package/assets/assets/ProjectPage-CsJfGPx3.js +0 -7
- package/assets/assets/RunsPage-DSHDuj9b.js +0 -1
- package/assets/assets/SettingsPage-BDRdWk5X.js +0 -1
- package/assets/assets/SiteHealthSection-DV06NTxC.js +0 -2
- package/assets/assets/TrafficPage-CBMMwRfw.js +0 -40
- package/assets/assets/TrafficSourceDetailPage-Czpt0S7j.js +0 -1
- package/assets/assets/card-CVejjbhs.js +0 -60
- package/assets/assets/extract-error-message-Co6zPipR.js +0 -1
- package/assets/assets/index-BnS2Vuv0.js +0 -40
- package/assets/assets/query-client-BKJLgjJd.js +0 -1
- package/assets/assets/react-query-ltP1RErY.js +0 -1
- package/assets/assets/service-CDsqgNrS.js +0 -1
- package/dist/intelligence-service-JXXB43RB.js +0 -15
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pickProjectCitedDomain
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZILJZNMQ.js";
|
|
4
4
|
import {
|
|
5
5
|
GBP_INSIGHT_PROVIDER,
|
|
6
6
|
PERSISTENT_GAP_THRESHOLD,
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
mergeGscQueryTotalsWithFallback,
|
|
15
15
|
readGscQueryDailyRows,
|
|
16
16
|
readLatestGscDataDate
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PRNO5TLE.js";
|
|
18
18
|
import {
|
|
19
19
|
getRequestContext
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-EIG2V6UI.js";
|
|
21
21
|
import {
|
|
22
22
|
competitors,
|
|
23
23
|
gbpDailyMetrics,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
queries,
|
|
36
36
|
querySnapshots,
|
|
37
37
|
runs
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-GFRIXUDK.js";
|
|
39
39
|
import {
|
|
40
40
|
CitationStates,
|
|
41
41
|
RunKinds,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
effectiveDomains,
|
|
46
46
|
redactLogString,
|
|
47
47
|
redactLogValue
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-OMXWBR2R.js";
|
|
49
49
|
|
|
50
50
|
// src/intelligence-service.ts
|
|
51
51
|
import { eq, desc, asc, and, ne, or, inArray, gte, lte, isNull, sql, exists } from "drizzle-orm";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registeredProviderNames
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VF7XGX2I.js";
|
|
4
4
|
import {
|
|
5
5
|
configExists,
|
|
6
6
|
loadConfigRaw
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BQKKAPMW.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-YF3JLURF.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-UN2OEK2Q.js");
|
|
51
51
|
await serveCommand(format);
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RHCDUPD6.js";
|
|
4
4
|
import {
|
|
5
5
|
emitJsonl
|
|
6
6
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
formatMicros,
|
|
20
20
|
formatRunErrorOneLine,
|
|
21
21
|
resolveProviderInput
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-OMXWBR2R.js";
|
|
23
23
|
|
|
24
24
|
// src/commands/run.ts
|
|
25
25
|
function getClient() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
trackIntegrationConnection
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VMCVLESK.js";
|
|
4
4
|
import {
|
|
5
5
|
cliRuntimeContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QFKDFU73.js";
|
|
7
7
|
|
|
8
8
|
// src/cli-connection-telemetry.ts
|
|
9
9
|
function trackCliConnection(properties) {
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
resolveProviderModel,
|
|
21
21
|
schedulableRunKindSchema,
|
|
22
22
|
sentimentEvaluatorProviderSchema
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-OMXWBR2R.js";
|
|
24
24
|
|
|
25
25
|
// ../config/src/index.ts
|
|
26
26
|
import { z as z3 } from "zod";
|
|
@@ -251,6 +251,17 @@ function getBootstrapEnv(source, overrides) {
|
|
|
251
251
|
providers
|
|
252
252
|
};
|
|
253
253
|
}
|
|
254
|
+
function getAnswerServiceEnv(source, services) {
|
|
255
|
+
const providers = {};
|
|
256
|
+
for (const service of services) {
|
|
257
|
+
for (const field of service.settings.fields) {
|
|
258
|
+
if (field.key !== "apiKey" || !field.env) continue;
|
|
259
|
+
const value = source[field.env]?.trim();
|
|
260
|
+
if (value) providers[service.id] = { apiKey: value };
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
return providers;
|
|
264
|
+
}
|
|
254
265
|
|
|
255
266
|
// src/agent/pi-models.ts
|
|
256
267
|
import "@earendil-works/pi-ai";
|
|
@@ -1162,6 +1173,7 @@ export {
|
|
|
1162
1173
|
resolveOperatorApiKeyIds,
|
|
1163
1174
|
withBootstrapProviderDefaults,
|
|
1164
1175
|
getBootstrapEnv,
|
|
1176
|
+
getAnswerServiceEnv,
|
|
1165
1177
|
getSharedProviderExecutionGate,
|
|
1166
1178
|
updateSharedProviderExecutionGate,
|
|
1167
1179
|
aeroModels,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
measurementDraftUpsertGroupRequestSchema,
|
|
24
24
|
measurementDraftUpsertMarketRequestSchema,
|
|
25
25
|
measurementDraftUpsertTargetRequestSchema
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-OMXWBR2R.js";
|
|
27
27
|
|
|
28
28
|
// src/measurement-draft-actions.ts
|
|
29
29
|
import { z } from "zod";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
templateLinkRatio,
|
|
18
18
|
templateLinkUbiquityAvailable,
|
|
19
19
|
validationError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-OMXWBR2R.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
23
|
} from "./chunk-MLKGABMK.js";
|
|
@@ -600,6 +600,10 @@ var querySnapshots = sqliteTable("query_snapshots", {
|
|
|
600
600
|
stopReason: text("stop_reason"),
|
|
601
601
|
// Billable usage and the price estimated when the answer was recorded.
|
|
602
602
|
usage: text("usage", { mode: "json" }).$type(),
|
|
603
|
+
// Vendor-neutral answer evidence (source relationships, completion,
|
|
604
|
+
// identity, usage and cost basis). Written by hosted answer services only;
|
|
605
|
+
// null for every other engine and every row before migration 186.
|
|
606
|
+
answerEvidence: text("answer_evidence", { mode: "json" }).$type(),
|
|
603
607
|
createdAt: text("created_at").notNull()
|
|
604
608
|
}, (table) => [
|
|
605
609
|
index("idx_snapshots_run").on(table.runId),
|
|
@@ -2520,10 +2524,18 @@ var researchRunQueries = sqliteTable("research_run_queries", {
|
|
|
2520
2524
|
citationState: text("citation_state"),
|
|
2521
2525
|
rawResponse: text("raw_response", { mode: "json" }).$type(),
|
|
2522
2526
|
error: text("error"),
|
|
2527
|
+
// See query_snapshots.answer_evidence (migration 186).
|
|
2528
|
+
answerEvidence: text("answer_evidence", { mode: "json" }).$type(),
|
|
2529
|
+
// The upstream job a `waiting-upstream` query waits on (migration 187); null otherwise.
|
|
2530
|
+
upstreamJobId: text("upstream_job_id"),
|
|
2523
2531
|
startedAt: text("started_at"),
|
|
2524
2532
|
finishedAt: text("finished_at"),
|
|
2525
2533
|
createdAt: text("created_at").notNull()
|
|
2526
|
-
}, (table) => [
|
|
2534
|
+
}, (table) => [
|
|
2535
|
+
index("idx_research_run_queries_run").on(table.researchRunId),
|
|
2536
|
+
uniqueIndex("idx_research_run_queries_run_position").on(table.researchRunId, table.position),
|
|
2537
|
+
index("idx_research_run_queries_upstream_job").on(table.upstreamJobId).where(sql`upstream_job_id IS NOT NULL`)
|
|
2538
|
+
]);
|
|
2527
2539
|
var discoveryProbes = sqliteTable("discovery_probes", {
|
|
2528
2540
|
id: text("id").primaryKey(),
|
|
2529
2541
|
sessionId: text("session_id").notNull().references(() => discoverySessions.id, { onDelete: "cascade" }),
|
|
@@ -7815,6 +7827,28 @@ var MIGRATION_VERSIONS = [
|
|
|
7815
7827
|
`ALTER TABLE query_snapshots ADD COLUMN mention_identity TEXT`,
|
|
7816
7828
|
`ALTER TABLE query_snapshots ADD COLUMN wrong_subject_target_keys TEXT`
|
|
7817
7829
|
]
|
|
7830
|
+
},
|
|
7831
|
+
{
|
|
7832
|
+
// Vendor-neutral answer evidence from hosted web-search answer services.
|
|
7833
|
+
// NULL on every existing row and for every other engine: no evidence was
|
|
7834
|
+
// recorded, which never reads as "no sources".
|
|
7835
|
+
version: 186,
|
|
7836
|
+
name: "answer-service-evidence",
|
|
7837
|
+
statements: [
|
|
7838
|
+
`ALTER TABLE query_snapshots ADD COLUMN answer_evidence TEXT`,
|
|
7839
|
+
`ALTER TABLE research_run_queries ADD COLUMN answer_evidence TEXT`
|
|
7840
|
+
]
|
|
7841
|
+
},
|
|
7842
|
+
{
|
|
7843
|
+
// The upstream job a `waiting-upstream` research query waits on, so a job
|
|
7844
|
+
// executor can find and resume it by id instead of submitting it again.
|
|
7845
|
+
// NULL on every existing row and for every query not waiting on a job.
|
|
7846
|
+
version: 187,
|
|
7847
|
+
name: "research-upstream-job-id",
|
|
7848
|
+
statements: [
|
|
7849
|
+
`ALTER TABLE research_run_queries ADD COLUMN upstream_job_id TEXT`,
|
|
7850
|
+
`CREATE INDEX IF NOT EXISTS idx_research_run_queries_upstream_job ON research_run_queries(upstream_job_id) WHERE upstream_job_id IS NOT NULL`
|
|
7851
|
+
]
|
|
7818
7852
|
}
|
|
7819
7853
|
];
|
|
7820
7854
|
var AERO_LEDGER_REBUILDS = [
|
|
@@ -7,27 +7,27 @@ import {
|
|
|
7
7
|
reparseStoredResult4,
|
|
8
8
|
reparseStoredResult5,
|
|
9
9
|
resolveStoredApiResponse
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SKZVEZZK.js";
|
|
11
11
|
import {
|
|
12
12
|
loadConfig
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BQKKAPMW.js";
|
|
14
14
|
import {
|
|
15
15
|
isMachineFormat
|
|
16
16
|
} from "./chunk-HGMYEDAQ.js";
|
|
17
17
|
import {
|
|
18
18
|
determineCitationState
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZILJZNMQ.js";
|
|
20
20
|
import {
|
|
21
21
|
backfillProjectAnswerMentions,
|
|
22
22
|
competitorIdentityColumns,
|
|
23
23
|
createRunCompetitorResolver,
|
|
24
24
|
readMarketCompetitorNames,
|
|
25
25
|
refreshSnapshotMentionIdentity
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-PRNO5TLE.js";
|
|
27
27
|
import {
|
|
28
28
|
classifyAiUserFetch,
|
|
29
29
|
classifyCrawler
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-YOZ35ZTT.js";
|
|
31
31
|
import {
|
|
32
32
|
aiUserFetchEventsHourly,
|
|
33
33
|
auditLog,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
querySnapshots,
|
|
43
43
|
rawEventSamples,
|
|
44
44
|
runs
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-GFRIXUDK.js";
|
|
46
46
|
import {
|
|
47
47
|
ProviderNames,
|
|
48
48
|
RetrievalContracts,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
extractRecommendedCompetitors,
|
|
60
60
|
normalizeUrlPath,
|
|
61
61
|
openRouterRouteModel
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-OMXWBR2R.js";
|
|
63
63
|
|
|
64
64
|
// src/commands/backfill.ts
|
|
65
65
|
import { setImmediate as yieldToEventLoop } from "timers/promises";
|
|
@@ -437,7 +437,7 @@ No DB writes performed. Re-run without --dry-run to apply.`);
|
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
439
|
async function backfillInsightsCommand(project, opts) {
|
|
440
|
-
const { IntelligenceService } = await import("./intelligence-service-
|
|
440
|
+
const { IntelligenceService } = await import("./intelligence-service-N334P6FH.js");
|
|
441
441
|
const config = loadConfig();
|
|
442
442
|
const db = createClient(config.database);
|
|
443
443
|
migrate(db);
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
createApiClient,
|
|
8
8
|
runWithUsageTags
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RHCDUPD6.js";
|
|
10
10
|
import {
|
|
11
11
|
canonryMcpTools,
|
|
12
12
|
toolOperationAccess
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-T63KVDWY.js";
|
|
14
14
|
import {
|
|
15
15
|
PACKAGE_VERSION
|
|
16
16
|
} from "./chunk-AOJU5LKX.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
isReadOnlyKey,
|
|
24
24
|
restrictedWriteScopes,
|
|
25
25
|
upgradeCaveatFor
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-OMXWBR2R.js";
|
|
27
27
|
|
|
28
28
|
// src/mcp/server.ts
|
|
29
29
|
import { randomUUID } from "crypto";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runWithUsageTags
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RHCDUPD6.js";
|
|
4
4
|
import {
|
|
5
5
|
CanonryMcpToolNames,
|
|
6
6
|
canonryMcpTools
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-T63KVDWY.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
10
|
} from "./chunk-HGMYEDAQ.js";
|
|
11
11
|
import {
|
|
12
12
|
buildOpenApiDocument
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PRNO5TLE.js";
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_COMPETITOR_AUTO_ALIAS_MODE,
|
|
16
16
|
MeasurementPortfolioLists,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
formatPercent,
|
|
21
21
|
ratioUnitSchema,
|
|
22
22
|
truncateUtf16
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-OMXWBR2R.js";
|
|
24
24
|
|
|
25
25
|
// src/agent/tools.ts
|
|
26
26
|
import { Type as Type2 } from "@earendil-works/pi-ai";
|