@canonry/canonry 7.123.2 → 7.123.3

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.
@@ -10,8 +10,8 @@ import {
10
10
  backfillSnapshotAttributionCommand,
11
11
  backfillTrafficClassificationCommand,
12
12
  replayQueryAuditLog
13
- } from "./chunk-UUKO5OCN.js";
14
- import "./chunk-54X76NGL.js";
13
+ } from "./chunk-XS5OT4FV.js";
14
+ import "./chunk-7ELQ3IH4.js";
15
15
  import "./chunk-NLW6XEUI.js";
16
16
  import "./chunk-B7YR57FO.js";
17
17
  import "./chunk-RXDYCDE6.js";
@@ -19,7 +19,7 @@ import "./chunk-XAF22QBW.js";
19
19
  import {
20
20
  backfillProjectAnswerMentions,
21
21
  backfillProjectAnswerMentionsInChunks
22
- } from "./chunk-V7OJEOEQ.js";
22
+ } from "./chunk-EHCH77U4.js";
23
23
  import "./chunk-YA54KGF3.js";
24
24
  import "./chunk-UEIMKBG6.js";
25
25
  import "./chunk-W7KF43JV.js";
@@ -7,7 +7,7 @@ import {
7
7
  mergeSplitJourneyVisitors,
8
8
  repairAiReferralArrivalsOnStartup,
9
9
  writeUnrecognizedAgentBuckets
10
- } from "./chunk-V7OJEOEQ.js";
10
+ } from "./chunk-EHCH77U4.js";
11
11
  import {
12
12
  AGENT_TRUST_RULES_VERSION,
13
13
  BROWSER_AGENT_BOT_IDS,
@@ -1714,7 +1714,7 @@ async function userSessionRoutes(app, opts = {}) {
1714
1714
  }));
1715
1715
  };
1716
1716
  const cookieSessionId = (request) => parseCookieHeader(request.headers.cookie)[USER_SESSION_COOKIE_NAME];
1717
- app.get("/auth/session", async (request, reply) => {
1717
+ app.get("/auth/session", { config: { skipInstanceAuth: true } }, async (request, reply) => {
1718
1718
  if (!anyUsersExist(app.db)) return { authRequired: false, user: null };
1719
1719
  const signInMethods = opts.chatgptSignIn?.() ? { signInMethods: { chatgpt: true } } : {};
1720
1720
  const token = cookieSessionId(request);
@@ -1726,7 +1726,7 @@ async function userSessionRoutes(app, opts = {}) {
1726
1726
  ...signInMethods
1727
1727
  };
1728
1728
  });
1729
- app.post("/auth/login", async (request, reply) => {
1729
+ app.post("/auth/login", { config: { skipInstanceAuth: true } }, async (request, reply) => {
1730
1730
  const parsed = loginRequestSchema.safeParse(request.body);
1731
1731
  if (!parsed.success) {
1732
1732
  throw validationError("Enter a name and a password.", { issues: parsed.error.issues });
@@ -1749,7 +1749,7 @@ async function userSessionRoutes(app, opts = {}) {
1749
1749
  user: { name: account.name, role: account.role }
1750
1750
  });
1751
1751
  });
1752
- app.get("/auth/sessions", async (request, reply) => {
1752
+ app.get("/auth/sessions", { config: { skipInstanceAuth: true } }, async (request, reply) => {
1753
1753
  const token = cookieSessionId(request);
1754
1754
  const resolved = token ? resolveUserSession(app.db, token) : null;
1755
1755
  if (!token || !resolved) {
@@ -1769,7 +1769,7 @@ async function userSessionRoutes(app, opts = {}) {
1769
1769
  }))
1770
1770
  });
1771
1771
  });
1772
- app.delete("/auth/sessions", async (request, reply) => {
1772
+ app.delete("/auth/sessions", { config: { skipInstanceAuth: true } }, async (request, reply) => {
1773
1773
  const token = cookieSessionId(request);
1774
1774
  const resolved = token ? resolveUserSession(app.db, token) : null;
1775
1775
  if (!token || !resolved) {
@@ -1781,7 +1781,7 @@ async function userSessionRoutes(app, opts = {}) {
1781
1781
  clearSessionCookie(request, reply);
1782
1782
  return reply.status(204).send();
1783
1783
  });
1784
- app.post("/auth/logout", async (request, reply) => {
1784
+ app.post("/auth/logout", { config: { skipInstanceAuth: true } }, async (request, reply) => {
1785
1785
  assertCookieWriteOrigin(request);
1786
1786
  const sessionId = cookieSessionId(request);
1787
1787
  if (sessionId) deleteUserSession(app.db, sessionId);
@@ -6469,19 +6469,6 @@ function requireGooglePropertyDiscovery(request) {
6469
6469
  function hashApiKey(key) {
6470
6470
  return crypto8.createHash("sha256").update(key).digest("hex");
6471
6471
  }
6472
- var SKIP_PATHS = ["/health"];
6473
- function shouldSkipAuth(url) {
6474
- if (SKIP_PATHS.includes(url)) return true;
6475
- if (url.endsWith("/openapi.json")) return true;
6476
- if (url.endsWith("/google/callback")) return true;
6477
- if (url.endsWith("/google-marketing/callback")) return true;
6478
- if (url.endsWith("/session") || url.endsWith("/session/setup")) return true;
6479
- if (url.endsWith("/auth/session") || url.endsWith("/auth/login") || url.endsWith("/auth/logout")) return true;
6480
- if (url.endsWith("/auth/sessions")) return true;
6481
- if (url.endsWith("/auth/chatgpt/status") || url.endsWith("/auth/chatgpt/start") || url.endsWith("/auth/chatgpt/callback") || url.endsWith("/auth/chatgpt/disconnect") || url.endsWith("/auth/chatgpt/models") || url.endsWith("/auth/chatgpt/model")) return true;
6482
- if (url.endsWith("/traffic/cloudflare/ingest")) return true;
6483
- return false;
6484
- }
6485
6472
  var MCP_DELEGATED_KEY_MAX_AGE_MS = 60 * 60 * 1e3;
6486
6473
  var USERS_READ_SCOPE = "users.read";
6487
6474
  var USERS_WRITE_SCOPE = "users.write";
@@ -6633,8 +6620,8 @@ function applyScopedWriteGates(request) {
6633
6620
  }
6634
6621
  async function authPlugin(app, opts = {}) {
6635
6622
  app.addHook("onRequest", async (request, reply) => {
6623
+ if (request.routeOptions.config?.skipInstanceAuth === true) return;
6636
6624
  const url = request.url.split("?")[0];
6637
- if (shouldSkipAuth(url)) return;
6638
6625
  const header2 = request.headers.authorization;
6639
6626
  let key;
6640
6627
  let keyArrivedInCookie = false;
@@ -50008,7 +49995,7 @@ function withLegacyAgentReadinessOperations(catalog) {
50008
49995
  });
50009
49996
  }
50010
49997
  async function openApiRoutes(app, opts = {}) {
50011
- app.get("/openapi.json", async (_request, reply) => {
49998
+ app.get("/openapi.json", { config: { skipInstanceAuth: true } }, async (_request, reply) => {
50012
49999
  return reply.type("application/json").send(buildOpenApiDocument(opts));
50013
50000
  });
50014
50001
  }
@@ -51268,7 +51255,8 @@ function appendCookie(reply, cookie) {
51268
51255
  }
51269
51256
  async function chatGptRoutes(app, opts) {
51270
51257
  const dashboardPath = opts.dashboardPath ?? "/";
51271
- const perCaller = (max2) => ({
51258
+ const signInRouteConfig = (max2) => ({
51259
+ skipInstanceAuth: true,
51272
51260
  rateLimit: {
51273
51261
  timeWindow: "1 minute",
51274
51262
  keyGenerator: (request) => {
@@ -51320,7 +51308,7 @@ async function chatGptRoutes(app, opts) {
51320
51308
  reply.header("cache-control", "no-store");
51321
51309
  return reply.redirect(withParam(returnTo ?? dashboardPath, "chatgpt_error", error), 302);
51322
51310
  };
51323
- app.get("/auth/chatgpt/status", { config: perCaller(120) }, async (request, reply) => {
51311
+ app.get("/auth/chatgpt/status", { config: signInRouteConfig(120) }, async (request, reply) => {
51324
51312
  reply.header("cache-control", "no-store");
51325
51313
  const userId = signedInUserId(request, reply);
51326
51314
  if (!opts.accounts) {
@@ -51328,7 +51316,7 @@ async function chatGptRoutes(app, opts) {
51328
51316
  }
51329
51317
  return opts.accounts.status(userId);
51330
51318
  });
51331
- app.get("/auth/chatgpt/start", { config: perCaller(20) }, async (request, reply) => {
51319
+ app.get("/auth/chatgpt/start", { config: signInRouteConfig(20) }, async (request, reply) => {
51332
51320
  const parsedIntent = chatGptSignInIntentSchema.safeParse(request.query.intent ?? ChatGptSignInIntents.login);
51333
51321
  const returnTo = safeReturnTo(request.query.returnTo, dashboardPath);
51334
51322
  if (!parsedIntent.success) return redirectWithError(reply, ChatGptSignInErrors.failed, returnTo);
@@ -51351,7 +51339,7 @@ async function chatGptRoutes(app, opts) {
51351
51339
  reply.header("referrer-policy", "no-referrer");
51352
51340
  return reply.redirect(started.url, 302);
51353
51341
  });
51354
- app.get("/auth/chatgpt/callback", { config: perCaller(30) }, async (request, reply) => {
51342
+ app.get("/auth/chatgpt/callback", { config: signInRouteConfig(30) }, async (request, reply) => {
51355
51343
  appendCookie(reply, bindingCookie(request, null));
51356
51344
  reply.header("cache-control", "no-store");
51357
51345
  reply.header("referrer-policy", "no-referrer");
@@ -51400,7 +51388,7 @@ async function chatGptRoutes(app, opts) {
51400
51388
  }
51401
51389
  return reply.redirect(withParam(returnTo ?? dashboardPath, "chatgpt", result.plan === "connected" ? "connected" : "linked"), 302);
51402
51390
  });
51403
- app.post("/auth/chatgpt/disconnect", { config: perCaller(10) }, async (request, reply) => {
51391
+ app.post("/auth/chatgpt/disconnect", { config: signInRouteConfig(10) }, async (request, reply) => {
51404
51392
  assertCookieWriteOrigin(request);
51405
51393
  const userId = requireSignedIn(request, reply);
51406
51394
  if (!opts.accounts) return { disconnected: false, revoked: false };
@@ -51416,7 +51404,7 @@ async function chatGptRoutes(app, opts) {
51416
51404
  }
51417
51405
  return result;
51418
51406
  });
51419
- app.get("/auth/chatgpt/models", { config: perCaller(30) }, async (request, reply) => {
51407
+ app.get("/auth/chatgpt/models", { config: signInRouteConfig(30) }, async (request, reply) => {
51420
51408
  reply.header("cache-control", "no-store");
51421
51409
  const userId = requireSignedIn(request, reply);
51422
51410
  if (!opts.accounts?.planUsageEnabled()) throw validationError("ChatGPT plan usage is not turned on for this dashboard.");
@@ -51427,7 +51415,7 @@ async function chatGptRoutes(app, opts) {
51427
51415
  throw toAppError2(error);
51428
51416
  }
51429
51417
  });
51430
- app.put("/auth/chatgpt/model", { config: perCaller(30) }, async (request, reply) => {
51418
+ app.put("/auth/chatgpt/model", { config: signInRouteConfig(30) }, async (request, reply) => {
51431
51419
  assertCookieWriteOrigin(request);
51432
51420
  const userId = requireSignedIn(request, reply);
51433
51421
  if (!opts.accounts?.planUsageEnabled()) throw validationError("ChatGPT plan usage is not turned on for this dashboard.");
@@ -55994,10 +55982,10 @@ async function googleRoutes(app, opts) {
55994
55982
  attempt.succeeded();
55995
55983
  return reply.type("text/html").send(googleOAuthSuccessHtml(type));
55996
55984
  }
55997
- app.get("/google/callback", async (request, reply) => {
55985
+ app.get("/google/callback", { config: { skipInstanceAuth: true } }, async (request, reply) => {
55998
55986
  return handleOAuthCallback(request, reply);
55999
55987
  });
56000
- app.get("/projects/:name/google/callback", async (request, reply) => {
55988
+ app.get("/projects/:name/google/callback", { config: { skipInstanceAuth: true } }, async (request, reply) => {
56001
55989
  return handleOAuthCallback(request, reply);
56002
55990
  });
56003
55991
  app.delete("/projects/:name/google/connections/:type", connectionRoute(app, (request) => {
@@ -58266,7 +58254,7 @@ async function googleMarketingRoutes(app, opts) {
58266
58254
  };
58267
58255
  registerOAuthConnect("/projects/:name/google-ads/oauth/connect", GoogleMarketingProviders["google-ads"]);
58268
58256
  registerOAuthConnect("/projects/:name/gtm/oauth/connect", GoogleMarketingProviders.gtm);
58269
- app.get("/google-marketing/callback", connectionRoute(app, (request) => {
58257
+ app.get("/google-marketing/callback", { config: { skipInstanceAuth: true } }, connectionRoute(app, (request) => {
58270
58258
  const verified = oauthStateSchema.safeParse(verifySignedGoogleOAuthState(request.query.state ?? "", stateSecret));
58271
58259
  return marketingConnection(verified.success ? verified.data.provider : unverifiedOAuthStateField(request.query.state, "provider"));
58272
58260
  }, async (request, reply, attempt) => {
@@ -74474,6 +74462,7 @@ async function trafficRoutes(app, opts) {
74474
74462
  });
74475
74463
  },
74476
74464
  config: {
74465
+ skipInstanceAuth: true,
74477
74466
  rateLimit: {
74478
74467
  hook: "onRequest",
74479
74468
  max: opts.cloudflareIngestIpRateLimitMax ?? DEFAULT_CLOUDFLARE_INGEST_RATE_LIMIT_MAX,
@@ -24,14 +24,14 @@ import {
24
24
  resolveConfiguredAgentProvider,
25
25
  resolveSessionProviderAndModel,
26
26
  setAeroSystemPrompt
27
- } from "./chunk-2FZM66FH.js";
27
+ } from "./chunk-VZLBOKGW.js";
28
28
  import {
29
29
  AeroToolProfiles,
30
30
  AeroToolScopes,
31
31
  buildAeroStateTools,
32
32
  isAeroToolProfile,
33
33
  truncateToolResult
34
- } from "./chunk-MKCI6M2G.js";
34
+ } from "./chunk-WQT37J7C.js";
35
35
  import {
36
36
  answerServiceAdapters,
37
37
  answerServiceDescriptors
@@ -69,7 +69,7 @@ import {
69
69
  openrouterAdapter,
70
70
  perplexityAdapter,
71
71
  startTrafficReclassification
72
- } from "./chunk-54X76NGL.js";
72
+ } from "./chunk-7ELQ3IH4.js";
73
73
  import {
74
74
  classifyUsageSurface,
75
75
  createApiUsageTelemetry,
@@ -169,7 +169,7 @@ import {
169
169
  } from "./chunk-B7YR57FO.js";
170
170
  import {
171
171
  IntelligenceService
172
- } from "./chunk-NGD7TX3R.js";
172
+ } from "./chunk-X6O6Q72D.js";
173
173
  import {
174
174
  computeCitedCompetitorDomains,
175
175
  determineCitationState
@@ -334,7 +334,7 @@ import {
334
334
  webhookTargetRefusalReason,
335
335
  webhookUserAgent,
336
336
  writeAuditLog
337
- } from "./chunk-V7OJEOEQ.js";
337
+ } from "./chunk-EHCH77U4.js";
338
338
  import {
339
339
  OperationalLogStore,
340
340
  SentimentIdempotencyConflict,
@@ -6471,7 +6471,7 @@ function nonBlank(value) {
6471
6471
  return trimmed ? trimmed : void 0;
6472
6472
  }
6473
6473
  function resolveBuildCommit(env = process.env) {
6474
- const embedded = true ? "1a08e495b9057d15e2f1356410ac1450eaee6d03" : void 0;
6474
+ const embedded = true ? "939707f8c544b14ba5a377e17d745ee4a8d86779" : void 0;
6475
6475
  return nonBlank(embedded) ?? nonBlank(env.CANONRY_COMMIT);
6476
6476
  }
6477
6477
  function resolveInstanceIdentity(env = process.env) {
@@ -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-MCHKKOOS.js");
50
+ const { serveCommand } = await import("./serve-O4I7EIU4.js");
51
51
  await serveCommand(format);
52
52
  }
53
53
 
@@ -783,7 +783,7 @@ var DEMO_CLI_COMMANDS = [{
783
783
  options: { host: stringOption(), port: stringOption(), "trust-proxy": multiStringOption() },
784
784
  allowPositionals: false,
785
785
  run: async (input) => {
786
- const { demoCommand } = await import("./demo-JQNKAWZI.js");
786
+ const { demoCommand } = await import("./demo-2EBAMJXS.js");
787
787
  await demoCommand({
788
788
  host: getString(input.values, "host"),
789
789
  port: getString(input.values, "port"),
@@ -804,7 +804,7 @@ var BACKFILL_CLI_COMMANDS = [
804
804
  allowPositionals: false,
805
805
  supportsDryRun: true,
806
806
  run: async (input) => {
807
- const { backfillAnswerVisibilityCommand } = await import("./backfill-YL2FNUFE.js");
807
+ const { backfillAnswerVisibilityCommand } = await import("./backfill-UDC4DTJJ.js");
808
808
  await backfillAnswerVisibilityCommand({
809
809
  project: getString(input.values, "project"),
810
810
  dryRun: input.dryRun,
@@ -821,7 +821,7 @@ var BACKFILL_CLI_COMMANDS = [
821
821
  allowPositionals: false,
822
822
  supportsDryRun: true,
823
823
  run: async (input) => {
824
- const { backfillAnswerMentionsCommand } = await import("./backfill-YL2FNUFE.js");
824
+ const { backfillAnswerMentionsCommand } = await import("./backfill-UDC4DTJJ.js");
825
825
  await backfillAnswerMentionsCommand({
826
826
  project: getString(input.values, "project"),
827
827
  dryRun: input.dryRun,
@@ -839,7 +839,7 @@ var BACKFILL_CLI_COMMANDS = [
839
839
  },
840
840
  supportsDryRun: true,
841
841
  run: async (input) => {
842
- const { backfillInsightsCommand } = await import("./backfill-YL2FNUFE.js");
842
+ const { backfillInsightsCommand } = await import("./backfill-UDC4DTJJ.js");
843
843
  const usage = "canonry backfill insights <project> [--from-run <id>] [--to-run <id>] [--since <date>] [--dry-run] [--format json]";
844
844
  const project3 = requireProject(input, "backfill insights", usage);
845
845
  await backfillInsightsCommand(project3, {
@@ -859,7 +859,7 @@ var BACKFILL_CLI_COMMANDS = [
859
859
  },
860
860
  allowPositionals: false,
861
861
  run: async (input) => {
862
- const { backfillNormalizedPathsCommand } = await import("./backfill-YL2FNUFE.js");
862
+ const { backfillNormalizedPathsCommand } = await import("./backfill-UDC4DTJJ.js");
863
863
  await backfillNormalizedPathsCommand({
864
864
  project: getString(input.values, "project"),
865
865
  format: input.format
@@ -874,7 +874,7 @@ var BACKFILL_CLI_COMMANDS = [
874
874
  },
875
875
  allowPositionals: false,
876
876
  run: async (input) => {
877
- const { backfillAiReferralPathsCommand } = await import("./backfill-YL2FNUFE.js");
877
+ const { backfillAiReferralPathsCommand } = await import("./backfill-UDC4DTJJ.js");
878
878
  await backfillAiReferralPathsCommand({
879
879
  project: getString(input.values, "project"),
880
880
  format: input.format
@@ -886,7 +886,7 @@ var BACKFILL_CLI_COMMANDS = [
886
886
  usage: "canonry backfill snapshot-attribution <project> [--dry-run] [--format json]",
887
887
  supportsDryRun: true,
888
888
  run: async (input) => {
889
- const { backfillSnapshotAttributionCommand } = await import("./backfill-YL2FNUFE.js");
889
+ const { backfillSnapshotAttributionCommand } = await import("./backfill-UDC4DTJJ.js");
890
890
  const usage = "canonry backfill snapshot-attribution <project> [--dry-run] [--format json]";
891
891
  const project3 = requireProject(input, "backfill snapshot-attribution", usage);
892
892
  await backfillSnapshotAttributionCommand({
@@ -905,7 +905,7 @@ var BACKFILL_CLI_COMMANDS = [
905
905
  allowPositionals: false,
906
906
  supportsDryRun: true,
907
907
  run: async (input) => {
908
- const { backfillTrafficClassificationCommand } = await import("./backfill-YL2FNUFE.js");
908
+ const { backfillTrafficClassificationCommand } = await import("./backfill-UDC4DTJJ.js");
909
909
  await backfillTrafficClassificationCommand({
910
910
  project: getString(input.values, "project"),
911
911
  dryRun: input.dryRun,
@@ -1551,7 +1551,7 @@ var DASHBOARD_CLI_COMMANDS = [
1551
1551
  usage: "canonry dashboard reset-password [--format json]",
1552
1552
  help: "Clears the dashboard password from config.yaml, so the dashboard asks for a new one after a restart.\nLocal only: it edits the config file under CANONRY_CONFIG_DIR and does not call the server.",
1553
1553
  run: async (input) => {
1554
- const { resetDashboardPassword } = await import("./dashboard-TCT2OZFG.js");
1554
+ const { resetDashboardPassword } = await import("./dashboard-FRSMK5KF.js");
1555
1555
  await resetDashboardPassword({ format: input.format });
1556
1556
  }
1557
1557
  },
@@ -7453,7 +7453,7 @@ var SYSTEM_CLI_COMMANDS = [
7453
7453
  options: { access: stringOption() },
7454
7454
  run: async (input) => {
7455
7455
  if (input.positionals.length > 1) throw usageError("Expected at most one command group");
7456
- const [{ printCliCatalog }, { REGISTERED_CLI_COMMANDS: REGISTERED_CLI_COMMANDS2 }] = await Promise.all([import("./cli-catalog-I4EVHBN3.js"), import("./cli-commands-RQQ2IA24.js")]);
7456
+ const [{ printCliCatalog }, { REGISTERED_CLI_COMMANDS: REGISTERED_CLI_COMMANDS2 }] = await Promise.all([import("./cli-catalog-I4EVHBN3.js"), import("./cli-commands-Q2OPF77S.js")]);
7457
7457
  printCliCatalog(REGISTERED_CLI_COMMANDS2, input.format, input.positionals[0], getString(input.values, "access"));
7458
7458
  }
7459
7459
  },
@@ -7502,7 +7502,7 @@ var SYSTEM_CLI_COMMANDS = [
7502
7502
  },
7503
7503
  allowPositionals: false,
7504
7504
  run: async (input) => {
7505
- const { initCommand } = await import("./init-KSAQEVOI.js");
7505
+ const { initCommand } = await import("./init-ZE6F37WY.js");
7506
7506
  await initCommand({
7507
7507
  force: getBoolean(input.values, "force"),
7508
7508
  ref: getString(input.values, "ref"),
@@ -7558,7 +7558,7 @@ var SYSTEM_CLI_COMMANDS = [
7558
7558
  allowPositionals: false,
7559
7559
  run: async (input) => {
7560
7560
  applyServerEnv(input.values);
7561
- const { serveCommand } = await import("./serve-MCHKKOOS.js");
7561
+ const { serveCommand } = await import("./serve-O4I7EIU4.js");
7562
7562
  await serveCommand(input.format);
7563
7563
  }
7564
7564
  },
@@ -8934,8 +8934,8 @@ var AGENT_CLI_COMMANDS = [
8934
8934
  "timeout-ms": stringOption()
8935
8935
  },
8936
8936
  run: async (input) => {
8937
- const { coerceAgentProvider } = await import("./session-7DJVNGNI.js");
8938
- const { AERO_TOOL_PROFILES, isAeroToolProfile } = await import("./tools-DPR6GTYF.js");
8937
+ const { coerceAgentProvider } = await import("./session-VPC2DFWP.js");
8938
+ const { AERO_TOOL_PROFILES, isAeroToolProfile } = await import("./tools-2TVT5ECW.js");
8939
8939
  const { agentAsk } = await import("./agent-ask-4HETA3Z7.js");
8940
8940
  const usage = `canonry agent ask <project> "<prompt>" [--provider ${AGENT_PROVIDER_IDS.join("|")}] [--model <id>] [--scope all|read-only] [--profile default|ads-operator] [--context <json>] [--conversation <id>] [--max-tool-calls <n>] [--timeout-ms <ms>] [--format json]`;
8941
8941
  const project3 = requireProject(input, "agent.ask", usage);
@@ -5,7 +5,7 @@ import {
5
5
  isStoredPageReadTool,
6
6
  isStoredReadTool,
7
7
  truncateToolResult
8
- } from "./chunk-MKCI6M2G.js";
8
+ } from "./chunk-WQT37J7C.js";
9
9
  import {
10
10
  CANONRY_MCP_TOOLKITS,
11
11
  resolveAeroSkillDir
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-B7YR57FO.js";
12
12
  import {
13
13
  buildOpenApiDocument
14
- } from "./chunk-V7OJEOEQ.js";
14
+ } from "./chunk-EHCH77U4.js";
15
15
  import {
16
16
  DEFAULT_COMPETITOR_AUTO_ALIAS_MODE,
17
17
  MeasurementPortfolioLists,
@@ -18,7 +18,7 @@ import {
18
18
  notScopedRun,
19
19
  readGscQueryDailyRows,
20
20
  readLatestGscDataDate
21
- } from "./chunk-V7OJEOEQ.js";
21
+ } from "./chunk-EHCH77U4.js";
22
22
  import {
23
23
  competitors,
24
24
  gbpDailyMetrics,
@@ -8,7 +8,7 @@ import {
8
8
  reparseStoredResult4,
9
9
  reparseStoredResult5,
10
10
  resolveStoredApiResponse
11
- } from "./chunk-54X76NGL.js";
11
+ } from "./chunk-7ELQ3IH4.js";
12
12
  import {
13
13
  loadConfig
14
14
  } from "./chunk-NLW6XEUI.js";
@@ -25,7 +25,7 @@ import {
25
25
  createRunCompetitorResolver,
26
26
  readMarketCompetitorNames,
27
27
  refreshSnapshotMentionIdentity
28
- } from "./chunk-V7OJEOEQ.js";
28
+ } from "./chunk-EHCH77U4.js";
29
29
  import {
30
30
  RawEventSampleEventTypes,
31
31
  auditLog,
@@ -430,7 +430,7 @@ No DB writes performed. Re-run without --dry-run to apply.`);
430
430
  }
431
431
  }
432
432
  async function backfillInsightsCommand(project, opts) {
433
- const { IntelligenceService } = await import("./intelligence-service-XOQWGWUQ.js");
433
+ const { IntelligenceService } = await import("./intelligence-service-WWG4RBK3.js");
434
434
  const config = loadConfig();
435
435
  const db = createClient(config.database);
436
436
  migrate(db);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  REGISTERED_CLI_COMMANDS
3
- } from "./chunk-LN7L45WN.js";
3
+ } from "./chunk-VY3SUJWI.js";
4
4
  import "./chunk-6GO5VVAC.js";
5
5
  import "./chunk-VJWDBFSL.js";
6
6
  import "./chunk-3MYRQB3W.js";
package/dist/cli.js CHANGED
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node --import tsx
2
2
  import {
3
3
  REGISTERED_CLI_COMMANDS
4
- } from "./chunk-LN7L45WN.js";
4
+ } from "./chunk-VY3SUJWI.js";
5
5
  import "./chunk-6GO5VVAC.js";
6
6
  import {
7
7
  buildSetupState,
8
8
  runPendingServeHandoff
9
- } from "./chunk-RII4R3ZZ.js";
9
+ } from "./chunk-QZMAW2K7.js";
10
10
  import "./chunk-VJWDBFSL.js";
11
11
  import "./chunk-3MYRQB3W.js";
12
12
  import "./chunk-TSENU4GG.js";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-B7YR57FO.js";
8
8
  import {
9
9
  anyUsersExist
10
- } from "./chunk-V7OJEOEQ.js";
10
+ } from "./chunk-EHCH77U4.js";
11
11
  import "./chunk-YA54KGF3.js";
12
12
  import "./chunk-UEIMKBG6.js";
13
13
  import {
@@ -40,7 +40,7 @@ function parseDemoTrustedProxies(values) {
40
40
  async function demoCommand(options) {
41
41
  const { host, port } = parseDemoListenOptions(options);
42
42
  const trustProxy = parseDemoTrustedProxies(options.trustProxy);
43
- const { createDemoServer } = await import("./demo-server-7SFA77LN.js");
43
+ const { createDemoServer } = await import("./demo-server-BLE5KA5J.js");
44
44
  const app = await createDemoServer({ trustProxy });
45
45
  let stopping = false;
46
46
  const stop = () => {
@@ -19,7 +19,7 @@ import "./chunk-B7YR57FO.js";
19
19
  import {
20
20
  HISTORY_WINDOW_RUNS,
21
21
  IntelligenceService
22
- } from "./chunk-NGD7TX3R.js";
22
+ } from "./chunk-X6O6Q72D.js";
23
23
  import {
24
24
  determineCitationState
25
25
  } from "./chunk-RXDYCDE6.js";
@@ -27,7 +27,7 @@ import "./chunk-XAF22QBW.js";
27
27
  import {
28
28
  apiRoutes,
29
29
  assessConversionTrackingIntegrity
30
- } from "./chunk-V7OJEOEQ.js";
30
+ } from "./chunk-EHCH77U4.js";
31
31
  import "./chunk-YA54KGF3.js";
32
32
  import "./chunk-UEIMKBG6.js";
33
33
  import {
package/dist/index.d.ts CHANGED
@@ -331,8 +331,8 @@ declare const gtmRawSnapshotDtoSchema: z.ZodObject<{
331
331
  connectionId: z.ZodString;
332
332
  runId: z.ZodString;
333
333
  kind: z.ZodEnum<{
334
- draft: "draft";
335
334
  live: "live";
335
+ draft: "draft";
336
336
  accounts: "accounts";
337
337
  container: "container";
338
338
  }>;
@@ -1352,8 +1352,8 @@ declare const seoCompetitorSchema: z.ZodObject<{
1352
1352
  }, z.core.$strict>;
1353
1353
  type SeoCompetitor = z.infer<typeof seoCompetitorSchema>;
1354
1354
  declare const seoKeywordGapModeSchema: z.ZodEnum<{
1355
- missing: "missing";
1356
1355
  shared: "shared";
1356
+ missing: "missing";
1357
1357
  }>;
1358
1358
  type SeoKeywordGapMode = z.infer<typeof seoKeywordGapModeSchema>;
1359
1359
  /** Missing means absent from the provider's database result for this pair, never a fresh Google rank check. */
@@ -1383,8 +1383,8 @@ declare const seoKeywordGapSchema: z.ZodObject<{
1383
1383
  keywordDifficulty: z.ZodNullable<z.ZodNumber>;
1384
1384
  cpcUsd: z.ZodNullable<z.ZodNumber>;
1385
1385
  kind: z.ZodEnum<{
1386
- missing: "missing";
1387
1386
  shared: "shared";
1387
+ missing: "missing";
1388
1388
  outranked: "outranked";
1389
1389
  }>;
1390
1390
  rankGap: z.ZodNullable<z.ZodNumber>;
@@ -1448,8 +1448,8 @@ declare const seoMarketRankingSchema: z.ZodObject<{
1448
1448
  }, z.core.$strict>;
1449
1449
  searchStatus: z.ZodEnum<{
1450
1450
  partial: "partial";
1451
- failed: "failed";
1452
1451
  completed: "completed";
1452
+ failed: "failed";
1453
1453
  cancelled: "cancelled";
1454
1454
  }>;
1455
1455
  rankOrganic: z.ZodNullable<z.ZodNumber>;
@@ -1596,8 +1596,8 @@ declare const seoResultsSchema: z.ZodObject<{
1596
1596
  }, z.core.$strict>;
1597
1597
  searchStatus: z.ZodEnum<{
1598
1598
  partial: "partial";
1599
- failed: "failed";
1600
1599
  completed: "completed";
1600
+ failed: "failed";
1601
1601
  cancelled: "cancelled";
1602
1602
  }>;
1603
1603
  rankOrganic: z.ZodNullable<z.ZodNumber>;
@@ -1680,8 +1680,8 @@ declare const seoResultsSchema: z.ZodObject<{
1680
1680
  keywordDifficulty: z.ZodNullable<z.ZodNumber>;
1681
1681
  cpcUsd: z.ZodNullable<z.ZodNumber>;
1682
1682
  kind: z.ZodEnum<{
1683
- missing: "missing";
1684
1683
  shared: "shared";
1684
+ missing: "missing";
1685
1685
  outranked: "outranked";
1686
1686
  }>;
1687
1687
  rankGap: z.ZodNullable<z.ZodNumber>;
@@ -1834,7 +1834,7 @@ declare const seoProfiles: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1834
1834
  languageCode: string;
1835
1835
  limit: number;
1836
1836
  scope: {
1837
- kind: "project" | "property" | "market" | "group";
1837
+ kind: "project" | "property" | "group" | "market";
1838
1838
  key?: string | undefined;
1839
1839
  expectedPlanRevision?: number | undefined;
1840
1840
  };
@@ -1879,7 +1879,7 @@ declare const seoProfiles: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1879
1879
  languageCode: string;
1880
1880
  limit: number;
1881
1881
  scope: {
1882
- kind: "project" | "property" | "market" | "group";
1882
+ kind: "project" | "property" | "group" | "market";
1883
1883
  key?: string | undefined;
1884
1884
  expectedPlanRevision?: number | undefined;
1885
1885
  };
@@ -2076,7 +2076,7 @@ declare const seoJobs: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2076
2076
  languageCode: string;
2077
2077
  limit: number;
2078
2078
  scope: {
2079
- kind: "project" | "property" | "market" | "group";
2079
+ kind: "project" | "property" | "group" | "market";
2080
2080
  key?: string | undefined;
2081
2081
  expectedPlanRevision?: number | undefined;
2082
2082
  };
@@ -2121,7 +2121,7 @@ declare const seoJobs: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2121
2121
  languageCode: string;
2122
2122
  limit: number;
2123
2123
  scope: {
2124
- kind: "project" | "property" | "market" | "group";
2124
+ kind: "project" | "property" | "group" | "market";
2125
2125
  key?: string | undefined;
2126
2126
  expectedPlanRevision?: number | undefined;
2127
2127
  };
@@ -2280,7 +2280,7 @@ declare const seoJobs: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2280
2280
  tableName: "seo_jobs";
2281
2281
  dataType: "string";
2282
2282
  columnType: "SQLiteText";
2283
- data: "queued" | "running" | "partial" | "failed" | "completed" | "cancelled" | "reconciliation-required";
2283
+ data: "partial" | "completed" | "queued" | "running" | "failed" | "cancelled" | "reconciliation-required";
2284
2284
  driverParam: string;
2285
2285
  notNull: true;
2286
2286
  hasDefault: false;
@@ -2293,7 +2293,7 @@ declare const seoJobs: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2293
2293
  generated: undefined;
2294
2294
  }, {}, {
2295
2295
  length: number | undefined;
2296
- $type: "queued" | "running" | "partial" | "failed" | "completed" | "cancelled" | "reconciliation-required";
2296
+ $type: "partial" | "completed" | "queued" | "running" | "failed" | "cancelled" | "reconciliation-required";
2297
2297
  }>;
2298
2298
  cancelRequested: drizzle_orm_sqlite_core.SQLiteColumn<{
2299
2299
  name: "cancel_requested";
@@ -2457,7 +2457,7 @@ declare const seoTasks: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2457
2457
  tableName: "seo_tasks";
2458
2458
  dataType: "string";
2459
2459
  columnType: "SQLiteText";
2460
- data: "queued" | "running" | "partial" | "failed" | "completed" | "cancelled" | "reconciliation-required";
2460
+ data: "partial" | "completed" | "queued" | "running" | "failed" | "cancelled" | "reconciliation-required";
2461
2461
  driverParam: string;
2462
2462
  notNull: true;
2463
2463
  hasDefault: false;
@@ -2470,7 +2470,7 @@ declare const seoTasks: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2470
2470
  generated: undefined;
2471
2471
  }, {}, {
2472
2472
  length: number | undefined;
2473
- $type: "queued" | "running" | "partial" | "failed" | "completed" | "cancelled" | "reconciliation-required";
2473
+ $type: "partial" | "completed" | "queued" | "running" | "failed" | "cancelled" | "reconciliation-required";
2474
2474
  }>;
2475
2475
  leaseOwner: drizzle_orm_sqlite_core.SQLiteColumn<{
2476
2476
  name: "lease_owner";
@@ -2534,7 +2534,7 @@ declare const seoTasks: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2534
2534
  tableName: "seo_tasks";
2535
2535
  dataType: "string";
2536
2536
  columnType: "SQLiteText";
2537
- data: "unknown" | "partial" | "failed" | "completed";
2537
+ data: "unknown" | "partial" | "completed" | "failed";
2538
2538
  driverParam: string;
2539
2539
  notNull: false;
2540
2540
  hasDefault: false;
@@ -2547,7 +2547,7 @@ declare const seoTasks: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
2547
2547
  generated: undefined;
2548
2548
  }, {}, {
2549
2549
  length: number | undefined;
2550
- $type: "unknown" | "partial" | "failed" | "completed";
2550
+ $type: "unknown" | "partial" | "completed" | "failed";
2551
2551
  }>;
2552
2552
  reservedMicros: drizzle_orm_sqlite_core.SQLiteColumn<{
2553
2553
  name: "reserved_micros";
@@ -6271,7 +6271,7 @@ declare const querySnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
6271
6271
  tableName: "query_snapshots";
6272
6272
  dataType: "string";
6273
6273
  columnType: "SQLiteText";
6274
- data: "complete" | "partial" | "failed" | "unsupported";
6274
+ data: "partial" | "unsupported" | "complete" | "failed";
6275
6275
  driverParam: string;
6276
6276
  notNull: false;
6277
6277
  hasDefault: false;
@@ -6284,7 +6284,7 @@ declare const querySnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
6284
6284
  generated: undefined;
6285
6285
  }, {}, {
6286
6286
  length: number | undefined;
6287
- $type: "complete" | "partial" | "failed" | "unsupported";
6287
+ $type: "partial" | "unsupported" | "complete" | "failed";
6288
6288
  }>;
6289
6289
  sourceCount: drizzle_orm_sqlite_core.SQLiteColumn<{
6290
6290
  name: "source_count";
@@ -6342,7 +6342,7 @@ declare const querySnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
6342
6342
  tableName: "query_snapshots";
6343
6343
  dataType: "string";
6344
6344
  columnType: "SQLiteText";
6345
- data: "unknown" | "used" | "not-used" | "not-applicable";
6345
+ data: "unknown" | "not-applicable" | "used" | "not-used";
6346
6346
  driverParam: string;
6347
6347
  notNull: false;
6348
6348
  hasDefault: false;
@@ -6355,7 +6355,7 @@ declare const querySnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
6355
6355
  generated: undefined;
6356
6356
  }, {}, {
6357
6357
  length: number | undefined;
6358
- $type: "unknown" | "used" | "not-used" | "not-applicable";
6358
+ $type: "unknown" | "not-applicable" | "used" | "not-used";
6359
6359
  }>;
6360
6360
  retrievalContract: drizzle_orm_sqlite_core.SQLiteColumn<{
6361
6361
  name: "retrieval_contract";
@@ -6651,7 +6651,7 @@ declare const querySnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
6651
6651
  parserVersion: string;
6652
6652
  };
6653
6653
  completion: {
6654
- status: "complete" | "partial" | "failed" | "pending";
6654
+ status: "partial" | "complete" | "failed" | "pending";
6655
6655
  finishReason: string | null;
6656
6656
  upstreamStatus: string | null;
6657
6657
  upstreamRequestId: string | null;
@@ -6703,7 +6703,7 @@ declare const querySnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
6703
6703
  status?: string | null | undefined;
6704
6704
  }[];
6705
6705
  searchQueries: string[];
6706
- retrievalStatus: "unknown" | "used" | "not-used" | "not-applicable";
6706
+ retrievalStatus: "unknown" | "not-applicable" | "used" | "not-used";
6707
6707
  citationBasis: "none" | "mixed" | "answer-support" | "explicit-citation";
6708
6708
  citationMeasurable: boolean;
6709
6709
  directSourceUrls: boolean;
@@ -6756,7 +6756,7 @@ declare const querySnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
6756
6756
  parserVersion: string;
6757
6757
  };
6758
6758
  completion: {
6759
- status: "complete" | "partial" | "failed" | "pending";
6759
+ status: "partial" | "complete" | "failed" | "pending";
6760
6760
  finishReason: string | null;
6761
6761
  upstreamStatus: string | null;
6762
6762
  upstreamRequestId: string | null;
@@ -6808,7 +6808,7 @@ declare const querySnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
6808
6808
  status?: string | null | undefined;
6809
6809
  }[];
6810
6810
  searchQueries: string[];
6811
- retrievalStatus: "unknown" | "used" | "not-used" | "not-applicable";
6811
+ retrievalStatus: "unknown" | "not-applicable" | "used" | "not-used";
6812
6812
  citationBasis: "none" | "mixed" | "answer-support" | "explicit-citation";
6813
6813
  citationMeasurable: boolean;
6814
6814
  directSourceUrls: boolean;
@@ -13593,7 +13593,7 @@ declare const siteAuditSnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns
13593
13593
  weight: number;
13594
13594
  sharePct: number | null;
13595
13595
  avgScore: number;
13596
- status: "fail" | "partial" | "pass";
13596
+ status: "partial" | "fail" | "pass";
13597
13597
  pagesPassing: number;
13598
13598
  pagesPartial: number;
13599
13599
  pagesFailing: number;
@@ -13615,7 +13615,7 @@ declare const siteAuditSnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns
13615
13615
  weight: number;
13616
13616
  sharePct: number | null;
13617
13617
  avgScore: number;
13618
- status: "fail" | "partial" | "pass";
13618
+ status: "partial" | "fail" | "pass";
13619
13619
  pagesPassing: number;
13620
13620
  pagesPartial: number;
13621
13621
  pagesFailing: number;
@@ -31452,7 +31452,7 @@ declare const researchRunQueries: drizzle_orm_sqlite_core.SQLiteTableWithColumns
31452
31452
  parserVersion: string;
31453
31453
  };
31454
31454
  completion: {
31455
- status: "complete" | "partial" | "failed" | "pending";
31455
+ status: "partial" | "complete" | "failed" | "pending";
31456
31456
  finishReason: string | null;
31457
31457
  upstreamStatus: string | null;
31458
31458
  upstreamRequestId: string | null;
@@ -31504,7 +31504,7 @@ declare const researchRunQueries: drizzle_orm_sqlite_core.SQLiteTableWithColumns
31504
31504
  status?: string | null | undefined;
31505
31505
  }[];
31506
31506
  searchQueries: string[];
31507
- retrievalStatus: "unknown" | "used" | "not-used" | "not-applicable";
31507
+ retrievalStatus: "unknown" | "not-applicable" | "used" | "not-used";
31508
31508
  citationBasis: "none" | "mixed" | "answer-support" | "explicit-citation";
31509
31509
  citationMeasurable: boolean;
31510
31510
  directSourceUrls: boolean;
@@ -31557,7 +31557,7 @@ declare const researchRunQueries: drizzle_orm_sqlite_core.SQLiteTableWithColumns
31557
31557
  parserVersion: string;
31558
31558
  };
31559
31559
  completion: {
31560
- status: "complete" | "partial" | "failed" | "pending";
31560
+ status: "partial" | "complete" | "failed" | "pending";
31561
31561
  finishReason: string | null;
31562
31562
  upstreamStatus: string | null;
31563
31563
  upstreamRequestId: string | null;
@@ -31609,7 +31609,7 @@ declare const researchRunQueries: drizzle_orm_sqlite_core.SQLiteTableWithColumns
31609
31609
  status?: string | null | undefined;
31610
31610
  }[];
31611
31611
  searchQueries: string[];
31612
- retrievalStatus: "unknown" | "used" | "not-used" | "not-applicable";
31612
+ retrievalStatus: "unknown" | "not-applicable" | "used" | "not-used";
31613
31613
  citationBasis: "none" | "mixed" | "answer-support" | "explicit-citation";
31614
31614
  citationMeasurable: boolean;
31615
31615
  directSourceUrls: boolean;
@@ -34593,7 +34593,7 @@ declare const gbpReviews: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
34593
34593
  tableName: "gbp_reviews";
34594
34594
  dataType: "string";
34595
34595
  columnType: "SQLiteText";
34596
- data: "none" | "baseline" | "stale" | "skipped" | "pending" | "sent" | "suppressed";
34596
+ data: "none" | "baseline" | "stale" | "pending" | "sent" | "skipped" | "suppressed";
34597
34597
  driverParam: string;
34598
34598
  notNull: true;
34599
34599
  hasDefault: true;
@@ -34606,7 +34606,7 @@ declare const gbpReviews: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
34606
34606
  generated: undefined;
34607
34607
  }, {}, {
34608
34608
  length: number | undefined;
34609
- $type: "none" | "baseline" | "stale" | "skipped" | "pending" | "sent" | "suppressed";
34609
+ $type: "none" | "baseline" | "stale" | "pending" | "sent" | "skipped" | "suppressed";
34610
34610
  }>;
34611
34611
  alertStateAt: drizzle_orm_sqlite_core.SQLiteColumn<{
34612
34612
  name: "alert_state_at";
@@ -34903,7 +34903,7 @@ declare const gbpReviewRatings: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
34903
34903
  tableName: "gbp_review_ratings";
34904
34904
  dataType: "string";
34905
34905
  columnType: "SQLiteText";
34906
- data: "none" | "baseline" | "stale" | "skipped" | "pending" | "sent" | "suppressed";
34906
+ data: "none" | "baseline" | "stale" | "pending" | "sent" | "skipped" | "suppressed";
34907
34907
  driverParam: string;
34908
34908
  notNull: true;
34909
34909
  hasDefault: true;
@@ -34916,7 +34916,7 @@ declare const gbpReviewRatings: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
34916
34916
  generated: undefined;
34917
34917
  }, {}, {
34918
34918
  length: number | undefined;
34919
- $type: "none" | "baseline" | "stale" | "skipped" | "pending" | "sent" | "suppressed";
34919
+ $type: "none" | "baseline" | "stale" | "pending" | "sent" | "skipped" | "suppressed";
34920
34920
  }>;
34921
34921
  alertStateAt: drizzle_orm_sqlite_core.SQLiteColumn<{
34922
34922
  name: "alert_state_at";
@@ -38754,7 +38754,7 @@ declare const gtmRawSnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
38754
38754
  tableName: "gtm_raw_snapshots";
38755
38755
  dataType: "string";
38756
38756
  columnType: "SQLiteText";
38757
- data: "draft" | "live" | "accounts" | "container";
38757
+ data: "live" | "draft" | "accounts" | "container";
38758
38758
  driverParam: string;
38759
38759
  notNull: true;
38760
38760
  hasDefault: false;
@@ -38767,7 +38767,7 @@ declare const gtmRawSnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
38767
38767
  generated: undefined;
38768
38768
  }, {}, {
38769
38769
  length: number | undefined;
38770
- $type: "draft" | "live" | "accounts" | "container";
38770
+ $type: "live" | "draft" | "accounts" | "container";
38771
38771
  }>;
38772
38772
  accountId: drizzle_orm_sqlite_core.SQLiteColumn<{
38773
38773
  name: "account_id";
package/dist/index.js CHANGED
@@ -3,15 +3,15 @@ import {
3
3
  createGoogleMarketingCredentialStore,
4
4
  createGoogleMarketingRuntime,
5
5
  createServer
6
- } from "./chunk-MMCYPRRQ.js";
7
- import "./chunk-2FZM66FH.js";
8
- import "./chunk-MKCI6M2G.js";
6
+ } from "./chunk-NUYGUUZZ.js";
7
+ import "./chunk-VZLBOKGW.js";
8
+ import "./chunk-WQT37J7C.js";
9
9
  import "./chunk-N2BYOBOL.js";
10
10
  import "./chunk-XAJS5FH3.js";
11
11
  import "./chunk-ELCLGWUT.js";
12
12
  import "./chunk-XEBKF4N5.js";
13
13
  import "./chunk-K77OPDGD.js";
14
- import "./chunk-54X76NGL.js";
14
+ import "./chunk-7ELQ3IH4.js";
15
15
  import "./chunk-WAAESDBG.js";
16
16
  import "./chunk-TSENU4GG.js";
17
17
  import "./chunk-JPRWAASQ.js";
@@ -30,10 +30,10 @@ import "./chunk-3SKGFNCD.js";
30
30
  import "./chunk-UF5MG47X.js";
31
31
  import "./chunk-AOJU5LKX.js";
32
32
  import "./chunk-B7YR57FO.js";
33
- import "./chunk-NGD7TX3R.js";
33
+ import "./chunk-X6O6Q72D.js";
34
34
  import "./chunk-RXDYCDE6.js";
35
35
  import "./chunk-XAF22QBW.js";
36
- import "./chunk-V7OJEOEQ.js";
36
+ import "./chunk-EHCH77U4.js";
37
37
  import "./chunk-YA54KGF3.js";
38
38
  import "./chunk-UEIMKBG6.js";
39
39
  import "./chunk-W7KF43JV.js";
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  buildSetupState,
9
9
  queueServeHandoff
10
- } from "./chunk-RII4R3ZZ.js";
10
+ } from "./chunk-QZMAW2K7.js";
11
11
  import "./chunk-VJWDBFSL.js";
12
12
  import "./chunk-WAAESDBG.js";
13
13
  import "./chunk-JPRWAASQ.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  HISTORY_WINDOW_RUNS,
3
3
  IntelligenceService
4
- } from "./chunk-NGD7TX3R.js";
4
+ } from "./chunk-X6O6Q72D.js";
5
5
  import "./chunk-RXDYCDE6.js";
6
6
  import "./chunk-XAF22QBW.js";
7
- import "./chunk-V7OJEOEQ.js";
7
+ import "./chunk-EHCH77U4.js";
8
8
  import "./chunk-YA54KGF3.js";
9
9
  import "./chunk-UEIMKBG6.js";
10
10
  import "./chunk-W7KF43JV.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  backfillAiReferralPaths,
3
3
  backfillNormalizedPaths
4
- } from "./chunk-UUKO5OCN.js";
4
+ } from "./chunk-XS5OT4FV.js";
5
5
  import {
6
6
  operatorHttpUrl
7
7
  } from "./chunk-6GO5VVAC.js";
@@ -9,15 +9,15 @@ import {
9
9
  allowsKeylessFirstRunSetup,
10
10
  createServer,
11
11
  waitForServerRuntimeStartup
12
- } from "./chunk-MMCYPRRQ.js";
13
- import "./chunk-2FZM66FH.js";
14
- import "./chunk-MKCI6M2G.js";
12
+ } from "./chunk-NUYGUUZZ.js";
13
+ import "./chunk-VZLBOKGW.js";
14
+ import "./chunk-WQT37J7C.js";
15
15
  import "./chunk-N2BYOBOL.js";
16
16
  import "./chunk-XAJS5FH3.js";
17
17
  import "./chunk-ELCLGWUT.js";
18
18
  import "./chunk-XEBKF4N5.js";
19
19
  import "./chunk-K77OPDGD.js";
20
- import "./chunk-54X76NGL.js";
20
+ import "./chunk-7ELQ3IH4.js";
21
21
  import {
22
22
  trackFeatureCompleted
23
23
  } from "./chunk-WAAESDBG.js";
@@ -59,13 +59,13 @@ import {
59
59
  CliError,
60
60
  isMachineFormat
61
61
  } from "./chunk-B7YR57FO.js";
62
- import "./chunk-NGD7TX3R.js";
62
+ import "./chunk-X6O6Q72D.js";
63
63
  import "./chunk-RXDYCDE6.js";
64
64
  import "./chunk-XAF22QBW.js";
65
65
  import {
66
66
  refreshSnapshotMentionIdentity,
67
67
  snapshotsWithSentimentResults
68
- } from "./chunk-V7OJEOEQ.js";
68
+ } from "./chunk-EHCH77U4.js";
69
69
  import "./chunk-YA54KGF3.js";
70
70
  import "./chunk-UEIMKBG6.js";
71
71
  import {
@@ -9,8 +9,8 @@ import {
9
9
  resolveAeroModel,
10
10
  resolveConfiguredAgentProvider,
11
11
  resolveSessionProviderAndModel
12
- } from "./chunk-2FZM66FH.js";
13
- import "./chunk-MKCI6M2G.js";
12
+ } from "./chunk-VZLBOKGW.js";
13
+ import "./chunk-WQT37J7C.js";
14
14
  import {
15
15
  resolveAeroSkillDir
16
16
  } from "./chunk-XXKC266R.js";
@@ -27,7 +27,7 @@ import "./chunk-UF5MG47X.js";
27
27
  import "./chunk-AOJU5LKX.js";
28
28
  import "./chunk-B7YR57FO.js";
29
29
  import "./chunk-XAF22QBW.js";
30
- import "./chunk-V7OJEOEQ.js";
30
+ import "./chunk-EHCH77U4.js";
31
31
  import "./chunk-YA54KGF3.js";
32
32
  import "./chunk-UEIMKBG6.js";
33
33
  import "./chunk-W7KF43JV.js";
@@ -11,7 +11,7 @@ import {
11
11
  buildAllTools,
12
12
  buildReadTools,
13
13
  isAeroToolProfile
14
- } from "./chunk-MKCI6M2G.js";
14
+ } from "./chunk-WQT37J7C.js";
15
15
  import "./chunk-VSPGQLEH.js";
16
16
  import "./chunk-NLW6XEUI.js";
17
17
  import "./chunk-2YRIEAVO.js";
@@ -20,7 +20,7 @@ import "./chunk-3SKGFNCD.js";
20
20
  import "./chunk-UF5MG47X.js";
21
21
  import "./chunk-AOJU5LKX.js";
22
22
  import "./chunk-B7YR57FO.js";
23
- import "./chunk-V7OJEOEQ.js";
23
+ import "./chunk-EHCH77U4.js";
24
24
  import "./chunk-YA54KGF3.js";
25
25
  import "./chunk-UEIMKBG6.js";
26
26
  import "./chunk-W7KF43JV.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canonry/canonry",
3
- "version": "7.123.2",
3
+ "version": "7.123.3",
4
4
  "type": "module",
5
5
  "description": "Self-hosted AI visibility (AEO) platform: track how ChatGPT, Claude, Gemini, and Perplexity cite your domain, join it with Search Console, GA4, server-side traffic, and paid media, and fix what you find through agent tools (CLI, REST, MCP). Local SQLite.",
6
6
  "keywords": [