@canonry/canonry 7.52.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.
Files changed (147) hide show
  1. package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +24 -1
  2. package/assets/assets/AgentSetupPage-Dr7UsGcq.js +17 -0
  3. package/assets/assets/AuditHistoryPanel-Dg9ZNNQw.js +1 -0
  4. package/assets/assets/BacklinksPage-DSgwyFCi.js +1 -0
  5. package/assets/assets/{HistoryPage-aOd198dT.js → HistoryPage-DaX20IWP.js} +1 -1
  6. package/assets/assets/MeasurementPropertyPage-FGhKdZAP.js +4 -0
  7. package/assets/assets/ProjectPage-BTJYS9gc.js +7 -0
  8. package/assets/assets/RunsPage-D06GJ47B.js +1 -0
  9. package/assets/assets/SettingsPage-MSgC8Zrc.js +1 -0
  10. package/assets/assets/SiteHealthSection-4PXTNjon.js +2 -0
  11. package/assets/assets/ToneBadge-AoUA_EpE.js +60 -0
  12. package/assets/assets/TrafficPage-DikPWmaU.js +40 -0
  13. package/assets/assets/TrafficSourceDetailPage-C1hfimWW.js +1 -0
  14. package/assets/assets/account-context-CHtJm4fz.js +1 -0
  15. package/assets/assets/card-BO6dtEV9.js +1 -0
  16. package/assets/assets/extract-error-message-Q9pkEqUE.js +1 -0
  17. package/assets/assets/{format-helpers-BWnMmkiO.js → format-helpers-Gj1ekh6p.js} +1 -1
  18. package/assets/assets/index-B8W65ejO.css +1 -0
  19. package/assets/assets/index-BBfEsbxI.js +56 -0
  20. package/assets/assets/query-client-C22j0Z7h.js +1 -0
  21. package/assets/assets/react-query-BLKqSvlU.js +1 -0
  22. package/assets/assets/{react-sigma_core.esm.min-hGyOC4V_.js → react-sigma_core.esm.min-j5DWE8Rk.js} +1 -1
  23. package/assets/assets/service-2DEngBCR.js +1 -0
  24. package/assets/index.html +9 -7
  25. package/dist/{ads-MREK2AGL.js → ads-A5S2NQBZ.js} +3 -3
  26. package/dist/{agent-4RUZ3MC4.js → agent-BV7G7QN7.js} +7 -7
  27. package/dist/{agent-ask-YLTYBEYH.js → agent-ask-5ALAHZ6T.js} +3 -3
  28. package/dist/{agent-conversations-QA6IKDGR.js → agent-conversations-MJPQCJYR.js} +3 -3
  29. package/dist/{agent-memory-MEQAJOB3.js → agent-memory-Z3VPA5KH.js} +3 -3
  30. package/dist/{agent-providers-AXYPDJHL.js → agent-providers-FP3LAZPG.js} +3 -3
  31. package/dist/{agent-transcript-SMNQNYCD.js → agent-transcript-4GXCOC73.js} +3 -3
  32. package/dist/{analytics-4OR64IGV.js → analytics-TOLSUYSN.js} +3 -3
  33. package/dist/{apply-CQXCFXAH.js → apply-EU5JAFVZ.js} +3 -3
  34. package/dist/{backfill-TMXCNVOB.js → backfill-3263IYJH.js} +9 -9
  35. package/dist/{backlinks-6KFAQGYV.js → backlinks-XQ5JTN6W.js} +3 -3
  36. package/dist/{bing-HFCACTAC.js → bing-LYHRD7BF.js} +3 -3
  37. package/dist/{bootstrap-SQVQXOJC.js → bootstrap-AKWTIMMH.js} +17 -9
  38. package/dist/{cdp-IACL7EXU.js → cdp-N4PQJWGQ.js} +7 -7
  39. package/dist/{chunk-K5I45PZI.js → chunk-2SY2FYFW.js} +556 -255
  40. package/dist/{chunk-KXAOMTXN.js → chunk-4LVJFSPH.js} +5 -5
  41. package/dist/{chunk-GNKOBKPW.js → chunk-5P7DSHNK.js} +4 -4
  42. package/dist/{chunk-6BPZHNDC.js → chunk-6WTSWWP6.js} +2 -2
  43. package/dist/{chunk-MJNUSPO4.js → chunk-75CFTTBF.js} +2 -2
  44. package/dist/{chunk-TALC5DX5.js → chunk-B37SDIGU.js} +1 -1
  45. package/dist/chunk-BQKKAPMW.js +1211 -0
  46. package/dist/{chunk-LK2BG6EX.js → chunk-D234NBWI.js} +11 -1
  47. package/dist/{chunk-QLPLENDT.js → chunk-EIG2V6UI.js} +1 -1
  48. package/dist/{chunk-MKAC7HKH.js → chunk-GFRIXUDK.js} +38 -4
  49. package/dist/{chunk-BBOHY2DQ.js → chunk-H6EQMYGT.js} +1 -1
  50. package/dist/{chunk-EGIZNSDA.js → chunk-J7VN3FZ3.js} +1 -1
  51. package/dist/{chunk-DSNSD5J3.js → chunk-K5MBEK4S.js} +19 -9
  52. package/dist/{chunk-SNFBJKAW.js → chunk-LCTYTGSE.js} +3 -3
  53. package/dist/{chunk-5N6245R7.js → chunk-MARVEIWH.js} +4 -4
  54. package/dist/{chunk-7XE2IRBG.js → chunk-OHVXKFQI.js} +1 -1
  55. package/dist/{chunk-O4RMPA6H.js → chunk-OMXWBR2R.js} +7294 -6533
  56. package/dist/{chunk-O77IBNVO.js → chunk-PFPTUCMG.js} +326 -324
  57. package/dist/{chunk-YSEC6TIB.js → chunk-PRNO5TLE.js} +1206 -405
  58. package/dist/{chunk-7244X3K6.js → chunk-QFKDFU73.js} +2 -2
  59. package/dist/chunk-R4AFXPM4.js +959 -0
  60. package/dist/{chunk-V5D4XNWV.js → chunk-RHCDUPD6.js} +39 -2
  61. package/dist/{chunk-AWCWIQAU.js → chunk-SKZVEZZK.js} +231 -5
  62. package/dist/{chunk-RVUCY4ZV.js → chunk-T63KVDWY.js} +6 -4
  63. package/dist/{chunk-IIOEAJTV.js → chunk-VB47PTY7.js} +3 -3
  64. package/dist/{chunk-ILDT4LPB.js → chunk-VCTP2RG6.js} +26 -240
  65. package/dist/{chunk-JY3RLZGB.js → chunk-VF7XGX2I.js} +1 -1
  66. package/dist/{chunk-I6KNMZ77.js → chunk-VMCVLESK.js} +4 -4
  67. package/dist/{chunk-R2J4SNKF.js → chunk-WDJMIIY2.js} +1 -1
  68. package/dist/{chunk-BU3VAG5J.js → chunk-XJVCTI2N.js} +3 -3
  69. package/dist/{chunk-HEGXGCGL.js → chunk-Y2YBRLSS.js} +3 -3
  70. package/dist/{chunk-Y4GK7GCV.js → chunk-YOZ35ZTT.js} +1 -1
  71. package/dist/{chunk-BYOK6Z4F.js → chunk-ZA7D7CCN.js} +2 -2
  72. package/dist/{chunk-FC4XND45.js → chunk-ZILJZNMQ.js} +1 -1
  73. package/dist/{citations-NSBBWRZ4.js → citations-JK3ZMAR7.js} +3 -3
  74. package/dist/{cli-catalog-OFWJMNMD.js → cli-catalog-P2I6IYNI.js} +3 -3
  75. package/dist/{cli-commands-WVBL337U.js → cli-commands-YDRKG6OC.js} +7 -7
  76. package/dist/cli.js +13 -13
  77. package/dist/{competitor-V4OHORBC.js → competitor-5CJPM36M.js} +3 -3
  78. package/dist/{content-RUXRI5IC.js → content-5FEDXNHR.js} +3 -3
  79. package/dist/{dashboard-JXB2YAQJ.js → dashboard-ME7MBJTX.js} +6 -6
  80. package/dist/{demo-55ZNUOXU.js → demo-N7MEASQP.js} +1 -1
  81. package/dist/{demo-server-XO7PHM4I.js → demo-server-IGTBANDC.js} +11 -11
  82. package/dist/{discover-JJQ564HS.js → discover-EAISVTA6.js} +3 -3
  83. package/dist/{discover-eval-KLEKZ6U4.js → discover-eval-JIBKK44Q.js} +3 -3
  84. package/dist/{doctor-JAMQZCMZ.js → doctor-HSQYOZ4C.js} +3 -3
  85. package/dist/{evidence-YRSB7GFE.js → evidence-PSYAWKPP.js} +3 -3
  86. package/dist/{export-cmd-MHML4OYU.js → export-cmd-MWJN6H7W.js} +3 -3
  87. package/dist/{ga-LSXPE2MN.js → ga-WSQWECYY.js} +3 -3
  88. package/dist/{gbp-RMKMLOC7.js → gbp-OD26AEPF.js} +3 -3
  89. package/dist/{google-JQ4T6JTQ.js → google-FMJ7IWAF.js} +4 -4
  90. package/dist/{google-marketing-J6SEODYC.js → google-marketing-66JL4V24.js} +1 -1
  91. package/dist/{health-cmd-MV2JM2C3.js → health-cmd-2RO5LAI4.js} +3 -3
  92. package/dist/{history-SRRH7A2E.js → history-X6CNPW7G.js} +3 -3
  93. package/dist/index.d.ts +518 -50
  94. package/dist/index.js +24 -23
  95. package/dist/{init-ZJZFUERV.js → init-25III66S.js} +11 -11
  96. package/dist/{insights-PMMGNWZH.js → insights-6IWWA6JU.js} +3 -3
  97. package/dist/intelligence-service-N334P6FH.js +15 -0
  98. package/dist/{keys-TS7NZANS.js → keys-ABXAPISY.js} +3 -3
  99. package/dist/{keyword-VNCKDUGC.js → keyword-LERAVMI3.js} +3 -3
  100. package/dist/{logs-VH3WOTZJ.js → logs-BTAB5SNZ.js} +3 -3
  101. package/dist/{mcp-DG2RROB3.js → mcp-5E42RT6R.js} +2 -2
  102. package/dist/mcp.js +9 -9
  103. package/dist/{measurement-plan-4T35TUGG.js → measurement-plan-MRZRNBJG.js} +5 -5
  104. package/dist/{notify-BWHUSKL7.js → notify-YQYGC5UZ.js} +3 -3
  105. package/dist/{organic-evidence-QX4SXXJP.js → organic-evidence-6QT4YT3K.js} +3 -3
  106. package/dist/{overview-7IHUTKUV.js → overview-EHZ3FTS2.js} +4 -4
  107. package/dist/{project-JXLSWDE2.js → project-RNLV2ARE.js} +3 -3
  108. package/dist/{query-S75EL25H.js → query-IM2RXI4L.js} +3 -3
  109. package/dist/{research-KFTV3IP4.js → research-4FALR336.js} +25 -10
  110. package/dist/{results-export-GTKVBU34.js → results-export-4ETSRUGO.js} +3 -3
  111. package/dist/{run-26HDIRHF.js → run-QL7226N7.js} +4 -4
  112. package/dist/{schedule-N6G4SVHQ.js → schedule-GJE634VO.js} +3 -3
  113. package/dist/{search-MI32EPYM.js → search-7OQL67R6.js} +3 -3
  114. package/dist/{serve-XLGE42AG.js → serve-UN2OEK2Q.js} +25 -24
  115. package/dist/{session-W5DXWIYM.js → session-5M54TVY5.js} +16 -15
  116. package/dist/{settings-T7WI2UVE.js → settings-2QOL7YBM.js} +15 -3
  117. package/dist/{skills-F3WPKPTK.js → skills-GPLAAU3I.js} +2 -2
  118. package/dist/{snapshot-PD3EAVEX.js → snapshot-5YMJFRJS.js} +8 -6
  119. package/dist/{src-XDUXMJC3.js → src-YF3JLURF.js} +2 -2
  120. package/dist/{status-PUH7JFZ4.js → status-WGWC6FLN.js} +33 -5
  121. package/dist/{technical-aeo-AUFWWJIP.js → technical-aeo-RNMLD7OL.js} +3 -3
  122. package/dist/{telemetry-XBYT7G2K.js → telemetry-7U3ZICU4.js} +4 -4
  123. package/dist/{tools-GVHIRWSN.js → tools-CSKTZTKT.js} +11 -11
  124. package/dist/{traffic-B3HW2ZWG.js → traffic-QIAXLW6J.js} +5 -5
  125. package/dist/{users-M5HNQZYI.js → users-I6X5P5AO.js} +3 -3
  126. package/dist/{visibility-stats-Y7GJKMHN.js → visibility-stats-33OUKQQL.js} +3 -3
  127. package/dist/{wordpress-GCIURYPN.js → wordpress-3IO3O27D.js} +3 -3
  128. package/package.json +3 -1
  129. package/assets/assets/AccessControls-CteIuEGI.js +0 -1
  130. package/assets/assets/AuditHistoryPanel-DqJGiLsf.js +0 -1
  131. package/assets/assets/BacklinksPage-DotWEPQt.js +0 -1
  132. package/assets/assets/MeasurementPropertyPage-CuaKVK8x.js +0 -4
  133. package/assets/assets/ProjectPage-O9oufMgi.js +0 -8
  134. package/assets/assets/RunsPage-DIXMrc-N.js +0 -1
  135. package/assets/assets/SettingsPage-BuGb6AGa.js +0 -1
  136. package/assets/assets/SiteHealthSection-CweaKjCo.js +0 -2
  137. package/assets/assets/TrafficPage-B7MaQalp.js +0 -40
  138. package/assets/assets/TrafficSourceDetailPage-BPtjnF9s.js +0 -1
  139. package/assets/assets/card-DoV-8Txo.js +0 -60
  140. package/assets/assets/extract-error-message-DKQJJlZ-.js +0 -1
  141. package/assets/assets/index-CsPsaUr7.css +0 -1
  142. package/assets/assets/index-Z63c4PeO.js +0 -39
  143. package/assets/assets/query-client-vB35tVTz.js +0 -1
  144. package/assets/assets/react-query-BI0567qs.js +0 -1
  145. package/assets/assets/service-c4YvpVKX.js +0 -1
  146. package/dist/chunk-OFL4PTYU.js +0 -644
  147. package/dist/intelligence-service-KCSU6ZUJ.js +0 -15
package/dist/index.d.ts CHANGED
@@ -70,10 +70,10 @@ declare const googleAdsAccessibleCustomerDtoSchema: z.ZodObject<{
70
70
  level: z.ZodNumber;
71
71
  status: z.ZodEnum<{
72
72
  unknown: "unknown";
73
+ canceled: "canceled";
73
74
  enabled: "enabled";
74
75
  suspended: "suspended";
75
76
  closed: "closed";
76
- canceled: "canceled";
77
77
  unspecified: "unspecified";
78
78
  }>;
79
79
  }, z.core.$strict>;
@@ -92,10 +92,10 @@ declare const googleAdsAccessibleCustomersResponseSchema: z.ZodObject<{
92
92
  level: z.ZodNumber;
93
93
  status: z.ZodEnum<{
94
94
  unknown: "unknown";
95
+ canceled: "canceled";
95
96
  enabled: "enabled";
96
97
  suspended: "suspended";
97
98
  closed: "closed";
98
- canceled: "canceled";
99
99
  unspecified: "unspecified";
100
100
  }>;
101
101
  }, z.core.$strict>>;
@@ -115,8 +115,8 @@ declare const googleAdsEffectiveGoalGraphDtoSchema: z.ZodObject<{
115
115
  campaigns: z.ZodArray<z.ZodObject<{
116
116
  campaignId: z.ZodString;
117
117
  goalConfigLevel: z.ZodEnum<{
118
- customer: "customer";
119
118
  campaign: "campaign";
119
+ customer: "customer";
120
120
  }>;
121
121
  customGoalId: z.ZodNullable<z.ZodString>;
122
122
  missingCustomGoalId: z.ZodNullable<z.ZodString>;
@@ -180,10 +180,10 @@ declare const googleAdsRawSnapshotDtoSchema: z.ZodObject<{
180
180
  level: z.ZodNumber;
181
181
  status: z.ZodEnum<{
182
182
  unknown: "unknown";
183
+ canceled: "canceled";
183
184
  enabled: "enabled";
184
185
  suspended: "suspended";
185
186
  closed: "closed";
186
- canceled: "canceled";
187
187
  unspecified: "unspecified";
188
188
  }>;
189
189
  }, z.core.$strict>>;
@@ -208,8 +208,8 @@ declare const googleAdsRawSnapshotDtoSchema: z.ZodObject<{
208
208
  status: z.ZodEnum<{
209
209
  unknown: "unknown";
210
210
  enabled: "enabled";
211
- removed: "removed";
212
211
  paused: "paused";
212
+ removed: "removed";
213
213
  }>;
214
214
  advertisingChannelType: z.ZodNullable<z.ZodString>;
215
215
  biddingStrategyType: z.ZodNullable<z.ZodString>;
@@ -221,8 +221,8 @@ declare const googleAdsRawSnapshotDtoSchema: z.ZodObject<{
221
221
  status: z.ZodEnum<{
222
222
  unknown: "unknown";
223
223
  enabled: "enabled";
224
- removed: "removed";
225
224
  hidden: "hidden";
225
+ removed: "removed";
226
226
  }>;
227
227
  category: z.ZodString;
228
228
  origin: z.ZodString;
@@ -249,8 +249,8 @@ declare const googleAdsRawSnapshotDtoSchema: z.ZodObject<{
249
249
  campaignGoalConfigurations: z.ZodArray<z.ZodObject<{
250
250
  campaignId: z.ZodString;
251
251
  goalConfigLevel: z.ZodEnum<{
252
- customer: "customer";
253
252
  campaign: "campaign";
253
+ customer: "customer";
254
254
  }>;
255
255
  customGoalId: z.ZodNullable<z.ZodString>;
256
256
  }, z.core.$strict>>;
@@ -331,10 +331,10 @@ declare const gtmRawSnapshotDtoSchema: z.ZodObject<{
331
331
  connectionId: z.ZodString;
332
332
  runId: z.ZodString;
333
333
  kind: z.ZodEnum<{
334
- live: "live";
335
- draft: "draft";
336
334
  accounts: "accounts";
337
335
  container: "container";
336
+ live: "live";
337
+ draft: "draft";
338
338
  }>;
339
339
  accountId: z.ZodNullable<z.ZodString>;
340
340
  containerId: z.ZodNullable<z.ZodString>;
@@ -1106,6 +1106,7 @@ declare const AgentProviderIds: {
1106
1106
  readonly openai: "openai";
1107
1107
  readonly gemini: "gemini";
1108
1108
  readonly zai: "zai";
1109
+ readonly openrouter: "openrouter";
1109
1110
  };
1110
1111
  type AgentProviderId = (typeof AgentProviderIds)[keyof typeof AgentProviderIds];
1111
1112
 
@@ -1401,7 +1402,7 @@ declare const projects: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1401
1402
  tableName: "projects";
1402
1403
  dataType: "string";
1403
1404
  columnType: "SQLiteText";
1404
- data: "competitors" | "full";
1405
+ data: "full" | "competitors";
1405
1406
  driverParam: string;
1406
1407
  notNull: false;
1407
1408
  hasDefault: false;
@@ -1414,7 +1415,7 @@ declare const projects: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
1414
1415
  generated: undefined;
1415
1416
  }, {}, {
1416
1417
  length: number | undefined;
1417
- $type: "competitors" | "full";
1418
+ $type: "full" | "competitors";
1418
1419
  }>;
1419
1420
  country: drizzle_orm_sqlite_core.SQLiteColumn<{
1420
1421
  name: "country";
@@ -4623,7 +4624,7 @@ declare const querySnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
4623
4624
  tableName: "query_snapshots";
4624
4625
  dataType: "string";
4625
4626
  columnType: "SQLiteText";
4626
- data: "unknown" | "not-applicable" | "used" | "not-used";
4627
+ data: "unknown" | "used" | "not-used" | "not-applicable";
4627
4628
  driverParam: string;
4628
4629
  notNull: false;
4629
4630
  hasDefault: false;
@@ -4636,14 +4637,14 @@ declare const querySnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
4636
4637
  generated: undefined;
4637
4638
  }, {}, {
4638
4639
  length: number | undefined;
4639
- $type: "unknown" | "not-applicable" | "used" | "not-used";
4640
+ $type: "unknown" | "used" | "not-used" | "not-applicable";
4640
4641
  }>;
4641
4642
  retrievalContract: drizzle_orm_sqlite_core.SQLiteColumn<{
4642
4643
  name: "retrieval_contract";
4643
4644
  tableName: "query_snapshots";
4644
4645
  dataType: "string";
4645
4646
  columnType: "SQLiteText";
4646
- data: "native-auto-v1" | "search-required-v1";
4647
+ data: "native-auto-v1" | "search-required-v1" | "service-native-v1";
4647
4648
  driverParam: string;
4648
4649
  notNull: false;
4649
4650
  hasDefault: false;
@@ -4656,7 +4657,7 @@ declare const querySnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
4656
4657
  generated: undefined;
4657
4658
  }, {}, {
4658
4659
  length: number | undefined;
4659
- $type: "native-auto-v1" | "search-required-v1";
4660
+ $type: "native-auto-v1" | "search-required-v1" | "service-native-v1";
4660
4661
  }>;
4661
4662
  competitorOverlap: drizzle_orm_sqlite_core.SQLiteColumn<{
4662
4663
  name: "competitor_overlap";
@@ -4911,6 +4912,211 @@ declare const querySnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
4911
4912
  priceSource: "default" | "override" | null;
4912
4913
  };
4913
4914
  }>;
4915
+ answerEvidence: drizzle_orm_sqlite_core.SQLiteColumn<{
4916
+ name: "answer_evidence";
4917
+ tableName: "query_snapshots";
4918
+ dataType: "json";
4919
+ columnType: "SQLiteTextJson";
4920
+ data: {
4921
+ version: 1;
4922
+ identity: {
4923
+ connection: string;
4924
+ route: string;
4925
+ service: string;
4926
+ product: string;
4927
+ profile: string;
4928
+ settings: Record<string, string | number | boolean>;
4929
+ requestedServiceModel: string | null;
4930
+ disclosedModel: string | null;
4931
+ disclosedModelKind: "unknown" | "foundation-model" | "service-tier" | null;
4932
+ requestPolicy: string;
4933
+ parserVersion: string;
4934
+ };
4935
+ completion: {
4936
+ status: "complete" | "partial" | "failed" | "pending";
4937
+ finishReason: string | null;
4938
+ upstreamStatus: string | null;
4939
+ upstreamRequestId: string | null;
4940
+ upstreamJobId: string | null;
4941
+ error: string | null;
4942
+ };
4943
+ usage: {
4944
+ tokens: {
4945
+ input: number | null;
4946
+ output: number | null;
4947
+ reasoning: number | null;
4948
+ basis: "unknown" | "reported" | "approximate";
4949
+ };
4950
+ searches: {
4951
+ count: number | null;
4952
+ basis: "unknown" | "reported" | "derived-from-evidence";
4953
+ };
4954
+ pageReads: {
4955
+ count: number | null;
4956
+ basis: "unknown" | "reported" | "derived-from-evidence";
4957
+ };
4958
+ billedUnits: {
4959
+ unit: "search" | "request" | "credit" | "token";
4960
+ quantity: number;
4961
+ basis: "reported";
4962
+ }[];
4963
+ cost: {
4964
+ micros: number | null;
4965
+ currency: "USD";
4966
+ basis: "unknown" | "reported" | "estimated";
4967
+ estimatedBy: "provider" | "canonry" | null;
4968
+ };
4969
+ };
4970
+ sources: {
4971
+ url: string;
4972
+ title: string | null;
4973
+ relationship: "search-result" | "page-read" | "answer-support" | "explicit-citation";
4974
+ rank: number | null;
4975
+ publishedAt: string | null;
4976
+ upstreamId: string | null;
4977
+ citationNumbers?: number[] | undefined;
4978
+ spans?: {
4979
+ start: number;
4980
+ end: number;
4981
+ basis: "upstream";
4982
+ }[] | undefined;
4983
+ excerpts?: string[] | undefined;
4984
+ excerptsTruncated?: boolean | undefined;
4985
+ status?: string | null | undefined;
4986
+ }[];
4987
+ searchQueries: string[];
4988
+ retrievalStatus: "unknown" | "used" | "not-used" | "not-applicable";
4989
+ citationBasis: "answer-support" | "explicit-citation" | "mixed" | "none";
4990
+ citationMeasurable: boolean;
4991
+ directSourceUrls: boolean;
4992
+ location: {
4993
+ requested: {
4994
+ label: string;
4995
+ city: string;
4996
+ region: string;
4997
+ country: string;
4998
+ timezone?: string | undefined;
4999
+ } | null;
5000
+ sent: {
5001
+ country?: string | undefined;
5002
+ region?: string | undefined;
5003
+ city?: string | undefined;
5004
+ timezone?: string | undefined;
5005
+ } | null;
5006
+ strength: "filter" | "hint" | null;
5007
+ serviceDefault: {
5008
+ country?: string | undefined;
5009
+ } | null;
5010
+ status: "partial" | "applied" | "ignored" | "not-requested";
5011
+ };
5012
+ rawTruncated: boolean;
5013
+ } | null;
5014
+ driverParam: string;
5015
+ notNull: false;
5016
+ hasDefault: false;
5017
+ isPrimaryKey: false;
5018
+ isAutoincrement: false;
5019
+ hasRuntimeDefault: false;
5020
+ enumValues: undefined;
5021
+ baseColumn: never;
5022
+ identity: undefined;
5023
+ generated: undefined;
5024
+ }, {}, {
5025
+ $type: {
5026
+ version: 1;
5027
+ identity: {
5028
+ connection: string;
5029
+ route: string;
5030
+ service: string;
5031
+ product: string;
5032
+ profile: string;
5033
+ settings: Record<string, string | number | boolean>;
5034
+ requestedServiceModel: string | null;
5035
+ disclosedModel: string | null;
5036
+ disclosedModelKind: "unknown" | "foundation-model" | "service-tier" | null;
5037
+ requestPolicy: string;
5038
+ parserVersion: string;
5039
+ };
5040
+ completion: {
5041
+ status: "complete" | "partial" | "failed" | "pending";
5042
+ finishReason: string | null;
5043
+ upstreamStatus: string | null;
5044
+ upstreamRequestId: string | null;
5045
+ upstreamJobId: string | null;
5046
+ error: string | null;
5047
+ };
5048
+ usage: {
5049
+ tokens: {
5050
+ input: number | null;
5051
+ output: number | null;
5052
+ reasoning: number | null;
5053
+ basis: "unknown" | "reported" | "approximate";
5054
+ };
5055
+ searches: {
5056
+ count: number | null;
5057
+ basis: "unknown" | "reported" | "derived-from-evidence";
5058
+ };
5059
+ pageReads: {
5060
+ count: number | null;
5061
+ basis: "unknown" | "reported" | "derived-from-evidence";
5062
+ };
5063
+ billedUnits: {
5064
+ unit: "search" | "request" | "credit" | "token";
5065
+ quantity: number;
5066
+ basis: "reported";
5067
+ }[];
5068
+ cost: {
5069
+ micros: number | null;
5070
+ currency: "USD";
5071
+ basis: "unknown" | "reported" | "estimated";
5072
+ estimatedBy: "provider" | "canonry" | null;
5073
+ };
5074
+ };
5075
+ sources: {
5076
+ url: string;
5077
+ title: string | null;
5078
+ relationship: "search-result" | "page-read" | "answer-support" | "explicit-citation";
5079
+ rank: number | null;
5080
+ publishedAt: string | null;
5081
+ upstreamId: string | null;
5082
+ citationNumbers?: number[] | undefined;
5083
+ spans?: {
5084
+ start: number;
5085
+ end: number;
5086
+ basis: "upstream";
5087
+ }[] | undefined;
5088
+ excerpts?: string[] | undefined;
5089
+ excerptsTruncated?: boolean | undefined;
5090
+ status?: string | null | undefined;
5091
+ }[];
5092
+ searchQueries: string[];
5093
+ retrievalStatus: "unknown" | "used" | "not-used" | "not-applicable";
5094
+ citationBasis: "answer-support" | "explicit-citation" | "mixed" | "none";
5095
+ citationMeasurable: boolean;
5096
+ directSourceUrls: boolean;
5097
+ location: {
5098
+ requested: {
5099
+ label: string;
5100
+ city: string;
5101
+ region: string;
5102
+ country: string;
5103
+ timezone?: string | undefined;
5104
+ } | null;
5105
+ sent: {
5106
+ country?: string | undefined;
5107
+ region?: string | undefined;
5108
+ city?: string | undefined;
5109
+ timezone?: string | undefined;
5110
+ } | null;
5111
+ strength: "filter" | "hint" | null;
5112
+ serviceDefault: {
5113
+ country?: string | undefined;
5114
+ } | null;
5115
+ status: "partial" | "applied" | "ignored" | "not-requested";
5116
+ };
5117
+ rawTruncated: boolean;
5118
+ } | null;
5119
+ }>;
4914
5120
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
4915
5121
  name: "created_at";
4916
5122
  tableName: "query_snapshots";
@@ -5299,7 +5505,7 @@ declare const providerBatches: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
5299
5505
  tableName: "provider_batches";
5300
5506
  dataType: "string";
5301
5507
  columnType: "SQLiteText";
5302
- data: "unknown" | "failed" | "submitted" | "submitting" | "ended" | "ingested" | "cancelled";
5508
+ data: "unknown" | "failed" | "submitting" | "submitted" | "ended" | "ingested" | "cancelled";
5303
5509
  driverParam: string;
5304
5510
  notNull: true;
5305
5511
  hasDefault: false;
@@ -5312,7 +5518,7 @@ declare const providerBatches: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
5312
5518
  generated: undefined;
5313
5519
  }, {}, {
5314
5520
  length: number | undefined;
5315
- $type: "unknown" | "failed" | "submitted" | "submitting" | "ended" | "ingested" | "cancelled";
5521
+ $type: "unknown" | "failed" | "submitting" | "submitted" | "ended" | "ingested" | "cancelled";
5316
5522
  }>;
5317
5523
  requestCount: drizzle_orm_sqlite_core.SQLiteColumn<{
5318
5524
  name: "request_count";
@@ -5758,7 +5964,7 @@ declare const providerBatchRequests: drizzle_orm_sqlite_core.SQLiteTableWithColu
5758
5964
  tableName: "provider_batch_requests";
5759
5965
  dataType: "string";
5760
5966
  columnType: "SQLiteText";
5761
- data: "duplicate" | "canceled" | "recorded" | "errored" | "expired" | "parse_failed";
5967
+ data: "recorded" | "errored" | "expired" | "canceled" | "parse_failed" | "duplicate";
5762
5968
  driverParam: string;
5763
5969
  notNull: false;
5764
5970
  hasDefault: false;
@@ -5771,7 +5977,7 @@ declare const providerBatchRequests: drizzle_orm_sqlite_core.SQLiteTableWithColu
5771
5977
  generated: undefined;
5772
5978
  }, {}, {
5773
5979
  length: number | undefined;
5774
- $type: "duplicate" | "canceled" | "recorded" | "errored" | "expired" | "parse_failed";
5980
+ $type: "recorded" | "errored" | "expired" | "canceled" | "parse_failed" | "duplicate";
5775
5981
  }>;
5776
5982
  error: drizzle_orm_sqlite_core.SQLiteColumn<{
5777
5983
  name: "error";
@@ -7359,7 +7565,7 @@ declare const oauthTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
7359
7565
  tableName: "oauth_tokens";
7360
7566
  dataType: "string";
7361
7567
  columnType: "SQLiteText";
7362
- data: "refresh" | "access";
7568
+ data: "access" | "refresh";
7363
7569
  driverParam: string;
7364
7570
  notNull: true;
7365
7571
  hasDefault: false;
@@ -7372,7 +7578,7 @@ declare const oauthTokens: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
7372
7578
  generated: undefined;
7373
7579
  }, {}, {
7374
7580
  length: number | undefined;
7375
- $type: "refresh" | "access";
7581
+ $type: "access" | "refresh";
7376
7582
  }>;
7377
7583
  clientId: drizzle_orm_sqlite_core.SQLiteColumn<{
7378
7584
  name: "client_id";
@@ -10156,7 +10362,7 @@ declare const siteAuditSnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns
10156
10362
  weight: number;
10157
10363
  sharePct: number | null;
10158
10364
  avgScore: number;
10159
- status: "partial" | "fail" | "pass";
10365
+ status: "partial" | "pass" | "fail";
10160
10366
  pagesPassing: number;
10161
10367
  pagesPartial: number;
10162
10368
  pagesFailing: number;
@@ -10178,7 +10384,7 @@ declare const siteAuditSnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns
10178
10384
  weight: number;
10179
10385
  sharePct: number | null;
10180
10386
  avgScore: number;
10181
- status: "partial" | "fail" | "pass";
10387
+ status: "partial" | "pass" | "fail";
10182
10388
  pagesPassing: number;
10183
10389
  pagesPartial: number;
10184
10390
  pagesFailing: number;
@@ -22132,7 +22338,13 @@ declare const discoverySessions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
22132
22338
  data: {
22133
22339
  domain: string;
22134
22340
  hits: number;
22135
- competitorType: "unknown" | "other" | "direct-competitor" | "ota-aggregator" | "editorial-media";
22341
+ competitorType: "unknown" | "direct-competitor" | "ota-aggregator" | "editorial-media" | "other";
22342
+ evaluator?: {
22343
+ provider: string;
22344
+ requestedModel: string;
22345
+ servedModel: string | null;
22346
+ promptVersion: string;
22347
+ } | undefined;
22136
22348
  }[];
22137
22349
  driverParam: string;
22138
22350
  notNull: true;
@@ -22148,7 +22360,13 @@ declare const discoverySessions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
22148
22360
  $type: {
22149
22361
  domain: string;
22150
22362
  hits: number;
22151
- competitorType: "unknown" | "other" | "direct-competitor" | "ota-aggregator" | "editorial-media";
22363
+ competitorType: "unknown" | "direct-competitor" | "ota-aggregator" | "editorial-media" | "other";
22364
+ evaluator?: {
22365
+ provider: string;
22366
+ requestedModel: string;
22367
+ servedModel: string | null;
22368
+ promptVersion: string;
22369
+ } | undefined;
22152
22370
  }[];
22153
22371
  }>;
22154
22372
  warning: drizzle_orm_sqlite_core.SQLiteColumn<{
@@ -22393,7 +22611,7 @@ declare const researchRuns: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
22393
22611
  dataType: "json";
22394
22612
  columnType: "SQLiteTextJson";
22395
22613
  data: {
22396
- kind: "property" | "market";
22614
+ kind: "market" | "property";
22397
22615
  key: string;
22398
22616
  label: string;
22399
22617
  planRevision: number;
@@ -22410,7 +22628,7 @@ declare const researchRuns: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
22410
22628
  generated: undefined;
22411
22629
  }, {}, {
22412
22630
  $type: {
22413
- kind: "property" | "market";
22631
+ kind: "market" | "property";
22414
22632
  key: string;
22415
22633
  label: string;
22416
22634
  planRevision: number;
@@ -22561,7 +22779,7 @@ declare const researchRuns: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
22561
22779
  dataType: "json";
22562
22780
  columnType: "SQLiteTextJson";
22563
22781
  data: {
22564
- kind: "user" | "api-key";
22782
+ kind: "api-key" | "user";
22565
22783
  id: string;
22566
22784
  name: string;
22567
22785
  role: "admin" | "viewer" | null;
@@ -22579,7 +22797,7 @@ declare const researchRuns: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
22579
22797
  generated: undefined;
22580
22798
  }, {}, {
22581
22799
  $type: {
22582
- kind: "user" | "api-key";
22800
+ kind: "api-key" | "user";
22583
22801
  id: string;
22584
22802
  name: string;
22585
22803
  role: "admin" | "viewer" | null;
@@ -23043,6 +23261,230 @@ declare const researchRunQueries: drizzle_orm_sqlite_core.SQLiteTableWithColumns
23043
23261
  }, {}, {
23044
23262
  length: number | undefined;
23045
23263
  }>;
23264
+ answerEvidence: drizzle_orm_sqlite_core.SQLiteColumn<{
23265
+ name: "answer_evidence";
23266
+ tableName: "research_run_queries";
23267
+ dataType: "json";
23268
+ columnType: "SQLiteTextJson";
23269
+ data: {
23270
+ version: 1;
23271
+ identity: {
23272
+ connection: string;
23273
+ route: string;
23274
+ service: string;
23275
+ product: string;
23276
+ profile: string;
23277
+ settings: Record<string, string | number | boolean>;
23278
+ requestedServiceModel: string | null;
23279
+ disclosedModel: string | null;
23280
+ disclosedModelKind: "unknown" | "foundation-model" | "service-tier" | null;
23281
+ requestPolicy: string;
23282
+ parserVersion: string;
23283
+ };
23284
+ completion: {
23285
+ status: "complete" | "partial" | "failed" | "pending";
23286
+ finishReason: string | null;
23287
+ upstreamStatus: string | null;
23288
+ upstreamRequestId: string | null;
23289
+ upstreamJobId: string | null;
23290
+ error: string | null;
23291
+ };
23292
+ usage: {
23293
+ tokens: {
23294
+ input: number | null;
23295
+ output: number | null;
23296
+ reasoning: number | null;
23297
+ basis: "unknown" | "reported" | "approximate";
23298
+ };
23299
+ searches: {
23300
+ count: number | null;
23301
+ basis: "unknown" | "reported" | "derived-from-evidence";
23302
+ };
23303
+ pageReads: {
23304
+ count: number | null;
23305
+ basis: "unknown" | "reported" | "derived-from-evidence";
23306
+ };
23307
+ billedUnits: {
23308
+ unit: "search" | "request" | "credit" | "token";
23309
+ quantity: number;
23310
+ basis: "reported";
23311
+ }[];
23312
+ cost: {
23313
+ micros: number | null;
23314
+ currency: "USD";
23315
+ basis: "unknown" | "reported" | "estimated";
23316
+ estimatedBy: "provider" | "canonry" | null;
23317
+ };
23318
+ };
23319
+ sources: {
23320
+ url: string;
23321
+ title: string | null;
23322
+ relationship: "search-result" | "page-read" | "answer-support" | "explicit-citation";
23323
+ rank: number | null;
23324
+ publishedAt: string | null;
23325
+ upstreamId: string | null;
23326
+ citationNumbers?: number[] | undefined;
23327
+ spans?: {
23328
+ start: number;
23329
+ end: number;
23330
+ basis: "upstream";
23331
+ }[] | undefined;
23332
+ excerpts?: string[] | undefined;
23333
+ excerptsTruncated?: boolean | undefined;
23334
+ status?: string | null | undefined;
23335
+ }[];
23336
+ searchQueries: string[];
23337
+ retrievalStatus: "unknown" | "used" | "not-used" | "not-applicable";
23338
+ citationBasis: "answer-support" | "explicit-citation" | "mixed" | "none";
23339
+ citationMeasurable: boolean;
23340
+ directSourceUrls: boolean;
23341
+ location: {
23342
+ requested: {
23343
+ label: string;
23344
+ city: string;
23345
+ region: string;
23346
+ country: string;
23347
+ timezone?: string | undefined;
23348
+ } | null;
23349
+ sent: {
23350
+ country?: string | undefined;
23351
+ region?: string | undefined;
23352
+ city?: string | undefined;
23353
+ timezone?: string | undefined;
23354
+ } | null;
23355
+ strength: "filter" | "hint" | null;
23356
+ serviceDefault: {
23357
+ country?: string | undefined;
23358
+ } | null;
23359
+ status: "partial" | "applied" | "ignored" | "not-requested";
23360
+ };
23361
+ rawTruncated: boolean;
23362
+ } | null;
23363
+ driverParam: string;
23364
+ notNull: false;
23365
+ hasDefault: false;
23366
+ isPrimaryKey: false;
23367
+ isAutoincrement: false;
23368
+ hasRuntimeDefault: false;
23369
+ enumValues: undefined;
23370
+ baseColumn: never;
23371
+ identity: undefined;
23372
+ generated: undefined;
23373
+ }, {}, {
23374
+ $type: {
23375
+ version: 1;
23376
+ identity: {
23377
+ connection: string;
23378
+ route: string;
23379
+ service: string;
23380
+ product: string;
23381
+ profile: string;
23382
+ settings: Record<string, string | number | boolean>;
23383
+ requestedServiceModel: string | null;
23384
+ disclosedModel: string | null;
23385
+ disclosedModelKind: "unknown" | "foundation-model" | "service-tier" | null;
23386
+ requestPolicy: string;
23387
+ parserVersion: string;
23388
+ };
23389
+ completion: {
23390
+ status: "complete" | "partial" | "failed" | "pending";
23391
+ finishReason: string | null;
23392
+ upstreamStatus: string | null;
23393
+ upstreamRequestId: string | null;
23394
+ upstreamJobId: string | null;
23395
+ error: string | null;
23396
+ };
23397
+ usage: {
23398
+ tokens: {
23399
+ input: number | null;
23400
+ output: number | null;
23401
+ reasoning: number | null;
23402
+ basis: "unknown" | "reported" | "approximate";
23403
+ };
23404
+ searches: {
23405
+ count: number | null;
23406
+ basis: "unknown" | "reported" | "derived-from-evidence";
23407
+ };
23408
+ pageReads: {
23409
+ count: number | null;
23410
+ basis: "unknown" | "reported" | "derived-from-evidence";
23411
+ };
23412
+ billedUnits: {
23413
+ unit: "search" | "request" | "credit" | "token";
23414
+ quantity: number;
23415
+ basis: "reported";
23416
+ }[];
23417
+ cost: {
23418
+ micros: number | null;
23419
+ currency: "USD";
23420
+ basis: "unknown" | "reported" | "estimated";
23421
+ estimatedBy: "provider" | "canonry" | null;
23422
+ };
23423
+ };
23424
+ sources: {
23425
+ url: string;
23426
+ title: string | null;
23427
+ relationship: "search-result" | "page-read" | "answer-support" | "explicit-citation";
23428
+ rank: number | null;
23429
+ publishedAt: string | null;
23430
+ upstreamId: string | null;
23431
+ citationNumbers?: number[] | undefined;
23432
+ spans?: {
23433
+ start: number;
23434
+ end: number;
23435
+ basis: "upstream";
23436
+ }[] | undefined;
23437
+ excerpts?: string[] | undefined;
23438
+ excerptsTruncated?: boolean | undefined;
23439
+ status?: string | null | undefined;
23440
+ }[];
23441
+ searchQueries: string[];
23442
+ retrievalStatus: "unknown" | "used" | "not-used" | "not-applicable";
23443
+ citationBasis: "answer-support" | "explicit-citation" | "mixed" | "none";
23444
+ citationMeasurable: boolean;
23445
+ directSourceUrls: boolean;
23446
+ location: {
23447
+ requested: {
23448
+ label: string;
23449
+ city: string;
23450
+ region: string;
23451
+ country: string;
23452
+ timezone?: string | undefined;
23453
+ } | null;
23454
+ sent: {
23455
+ country?: string | undefined;
23456
+ region?: string | undefined;
23457
+ city?: string | undefined;
23458
+ timezone?: string | undefined;
23459
+ } | null;
23460
+ strength: "filter" | "hint" | null;
23461
+ serviceDefault: {
23462
+ country?: string | undefined;
23463
+ } | null;
23464
+ status: "partial" | "applied" | "ignored" | "not-requested";
23465
+ };
23466
+ rawTruncated: boolean;
23467
+ } | null;
23468
+ }>;
23469
+ upstreamJobId: drizzle_orm_sqlite_core.SQLiteColumn<{
23470
+ name: "upstream_job_id";
23471
+ tableName: "research_run_queries";
23472
+ dataType: "string";
23473
+ columnType: "SQLiteText";
23474
+ data: string;
23475
+ driverParam: string;
23476
+ notNull: false;
23477
+ hasDefault: false;
23478
+ isPrimaryKey: false;
23479
+ isAutoincrement: false;
23480
+ hasRuntimeDefault: false;
23481
+ enumValues: [string, ...string[]];
23482
+ baseColumn: never;
23483
+ identity: undefined;
23484
+ generated: undefined;
23485
+ }, {}, {
23486
+ length: number | undefined;
23487
+ }>;
23046
23488
  startedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
23047
23489
  name: "started_at";
23048
23490
  tableName: "research_run_queries";
@@ -23379,7 +23821,7 @@ declare const domainClassifications: drizzle_orm_sqlite_core.SQLiteTableWithColu
23379
23821
  tableName: "domain_classifications";
23380
23822
  dataType: "string";
23381
23823
  columnType: "SQLiteText";
23382
- data: "unknown" | "other" | "direct-competitor" | "ota-aggregator" | "editorial-media";
23824
+ data: "unknown" | "direct-competitor" | "ota-aggregator" | "editorial-media" | "other";
23383
23825
  driverParam: string;
23384
23826
  notNull: true;
23385
23827
  hasDefault: false;
@@ -23392,7 +23834,7 @@ declare const domainClassifications: drizzle_orm_sqlite_core.SQLiteTableWithColu
23392
23834
  generated: undefined;
23393
23835
  }, {}, {
23394
23836
  length: number | undefined;
23395
- $type: "unknown" | "other" | "direct-competitor" | "ota-aggregator" | "editorial-media";
23837
+ $type: "unknown" | "direct-competitor" | "ota-aggregator" | "editorial-media" | "other";
23396
23838
  }>;
23397
23839
  hits: drizzle_orm_sqlite_core.SQLiteColumn<{
23398
23840
  name: "hits";
@@ -25981,7 +26423,7 @@ declare const gbpReviews: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
25981
26423
  tableName: "gbp_reviews";
25982
26424
  dataType: "string";
25983
26425
  columnType: "SQLiteText";
25984
- data: "none" | "baseline" | "stale" | "skipped" | "pending" | "sent" | "suppressed";
26426
+ data: "pending" | "none" | "sent" | "baseline" | "stale" | "skipped" | "suppressed";
25985
26427
  driverParam: string;
25986
26428
  notNull: true;
25987
26429
  hasDefault: true;
@@ -25994,7 +26436,7 @@ declare const gbpReviews: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
25994
26436
  generated: undefined;
25995
26437
  }, {}, {
25996
26438
  length: number | undefined;
25997
- $type: "none" | "baseline" | "stale" | "skipped" | "pending" | "sent" | "suppressed";
26439
+ $type: "pending" | "none" | "sent" | "baseline" | "stale" | "skipped" | "suppressed";
25998
26440
  }>;
25999
26441
  alertStateAt: drizzle_orm_sqlite_core.SQLiteColumn<{
26000
26442
  name: "alert_state_at";
@@ -26291,7 +26733,7 @@ declare const gbpReviewRatings: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
26291
26733
  tableName: "gbp_review_ratings";
26292
26734
  dataType: "string";
26293
26735
  columnType: "SQLiteText";
26294
- data: "none" | "baseline" | "stale" | "skipped" | "pending" | "sent" | "suppressed";
26736
+ data: "pending" | "none" | "sent" | "baseline" | "stale" | "skipped" | "suppressed";
26295
26737
  driverParam: string;
26296
26738
  notNull: true;
26297
26739
  hasDefault: true;
@@ -26304,7 +26746,7 @@ declare const gbpReviewRatings: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
26304
26746
  generated: undefined;
26305
26747
  }, {}, {
26306
26748
  length: number | undefined;
26307
- $type: "none" | "baseline" | "stale" | "skipped" | "pending" | "sent" | "suppressed";
26749
+ $type: "pending" | "none" | "sent" | "baseline" | "stale" | "skipped" | "suppressed";
26308
26750
  }>;
26309
26751
  alertStateAt: drizzle_orm_sqlite_core.SQLiteColumn<{
26310
26752
  name: "alert_state_at";
@@ -27550,7 +27992,7 @@ declare const adsOperationSteps: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
27550
27992
  tableName: "ads_operation_steps";
27551
27993
  dataType: "string";
27552
27994
  columnType: "SQLiteText";
27553
- data: "unknown" | "failed" | "active" | "pending" | "executing" | "rollback_executing" | "rolled_back" | "rollback_failed";
27995
+ data: "unknown" | "failed" | "pending" | "active" | "executing" | "rollback_executing" | "rolled_back" | "rollback_failed";
27554
27996
  driverParam: string;
27555
27997
  notNull: true;
27556
27998
  hasDefault: false;
@@ -27563,7 +28005,7 @@ declare const adsOperationSteps: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
27563
28005
  generated: undefined;
27564
28006
  }, {}, {
27565
28007
  length: number | undefined;
27566
- $type: "unknown" | "failed" | "active" | "pending" | "executing" | "rollback_executing" | "rolled_back" | "rollback_failed";
28008
+ $type: "unknown" | "failed" | "pending" | "active" | "executing" | "rollback_executing" | "rolled_back" | "rollback_failed";
27567
28009
  }>;
27568
28010
  providerUpdatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
27569
28011
  name: "provider_updated_at";
@@ -28870,7 +29312,7 @@ declare const googleAdsConnections: drizzle_orm_sqlite_core.SQLiteTableWithColum
28870
29312
  tableName: "google_ads_connections";
28871
29313
  dataType: "string";
28872
29314
  columnType: "SQLiteText";
28873
- data: "unknown" | "enabled" | "suspended" | "closed" | "canceled" | "unspecified";
29315
+ data: "unknown" | "canceled" | "enabled" | "suspended" | "closed" | "unspecified";
28874
29316
  driverParam: string;
28875
29317
  notNull: false;
28876
29318
  hasDefault: false;
@@ -28883,7 +29325,7 @@ declare const googleAdsConnections: drizzle_orm_sqlite_core.SQLiteTableWithColum
28883
29325
  generated: undefined;
28884
29326
  }, {}, {
28885
29327
  length: number | undefined;
28886
- $type: "unknown" | "enabled" | "suspended" | "closed" | "canceled" | "unspecified";
29328
+ $type: "unknown" | "canceled" | "enabled" | "suspended" | "closed" | "unspecified";
28887
29329
  }>;
28888
29330
  scopes: drizzle_orm_sqlite_core.SQLiteColumn<{
28889
29331
  name: "scopes";
@@ -29830,7 +30272,7 @@ declare const googleAdsRawSnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColu
29830
30272
  hidden: boolean;
29831
30273
  testAccount: boolean;
29832
30274
  level: number;
29833
- status: "unknown" | "enabled" | "suspended" | "closed" | "canceled" | "unspecified";
30275
+ status: "unknown" | "canceled" | "enabled" | "suspended" | "closed" | "unspecified";
29834
30276
  }[];
29835
30277
  totalAccessible: number;
29836
30278
  truncated: boolean;
@@ -29850,7 +30292,7 @@ declare const googleAdsRawSnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColu
29850
30292
  id: string;
29851
30293
  resourceName: string;
29852
30294
  name: string;
29853
- status: "unknown" | "enabled" | "removed" | "paused";
30295
+ status: "unknown" | "enabled" | "paused" | "removed";
29854
30296
  advertisingChannelType: string | null;
29855
30297
  biddingStrategyType: string | null;
29856
30298
  }[];
@@ -29858,7 +30300,7 @@ declare const googleAdsRawSnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColu
29858
30300
  id: string;
29859
30301
  resourceName: string;
29860
30302
  name: string;
29861
- status: "unknown" | "enabled" | "removed" | "hidden";
30303
+ status: "unknown" | "enabled" | "hidden" | "removed";
29862
30304
  category: string;
29863
30305
  origin: string;
29864
30306
  primaryForGoal: boolean;
@@ -29882,7 +30324,7 @@ declare const googleAdsRawSnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColu
29882
30324
  }[];
29883
30325
  campaignGoalConfigurations: {
29884
30326
  campaignId: string;
29885
- goalConfigLevel: "customer" | "campaign";
30327
+ goalConfigLevel: "campaign" | "customer";
29886
30328
  customGoalId: string | null;
29887
30329
  }[];
29888
30330
  campaignConversionGoalsComplete?: boolean | undefined;
@@ -29933,7 +30375,7 @@ declare const googleAdsRawSnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColu
29933
30375
  hidden: boolean;
29934
30376
  testAccount: boolean;
29935
30377
  level: number;
29936
- status: "unknown" | "enabled" | "suspended" | "closed" | "canceled" | "unspecified";
30378
+ status: "unknown" | "canceled" | "enabled" | "suspended" | "closed" | "unspecified";
29937
30379
  }[];
29938
30380
  totalAccessible: number;
29939
30381
  truncated: boolean;
@@ -29953,7 +30395,7 @@ declare const googleAdsRawSnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColu
29953
30395
  id: string;
29954
30396
  resourceName: string;
29955
30397
  name: string;
29956
- status: "unknown" | "enabled" | "removed" | "paused";
30398
+ status: "unknown" | "enabled" | "paused" | "removed";
29957
30399
  advertisingChannelType: string | null;
29958
30400
  biddingStrategyType: string | null;
29959
30401
  }[];
@@ -29961,7 +30403,7 @@ declare const googleAdsRawSnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColu
29961
30403
  id: string;
29962
30404
  resourceName: string;
29963
30405
  name: string;
29964
- status: "unknown" | "enabled" | "removed" | "hidden";
30406
+ status: "unknown" | "enabled" | "hidden" | "removed";
29965
30407
  category: string;
29966
30408
  origin: string;
29967
30409
  primaryForGoal: boolean;
@@ -29985,7 +30427,7 @@ declare const googleAdsRawSnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColu
29985
30427
  }[];
29986
30428
  campaignGoalConfigurations: {
29987
30429
  campaignId: string;
29988
- goalConfigLevel: "customer" | "campaign";
30430
+ goalConfigLevel: "campaign" | "customer";
29989
30431
  customGoalId: string | null;
29990
30432
  }[];
29991
30433
  campaignConversionGoalsComplete?: boolean | undefined;
@@ -30142,7 +30584,7 @@ declare const gtmRawSnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
30142
30584
  tableName: "gtm_raw_snapshots";
30143
30585
  dataType: "string";
30144
30586
  columnType: "SQLiteText";
30145
- data: "live" | "draft" | "accounts" | "container";
30587
+ data: "accounts" | "container" | "live" | "draft";
30146
30588
  driverParam: string;
30147
30589
  notNull: true;
30148
30590
  hasDefault: false;
@@ -30155,7 +30597,7 @@ declare const gtmRawSnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
30155
30597
  generated: undefined;
30156
30598
  }, {}, {
30157
30599
  length: number | undefined;
30158
- $type: "live" | "draft" | "accounts" | "container";
30600
+ $type: "accounts" | "container" | "live" | "draft";
30159
30601
  }>;
30160
30602
  accountId: drizzle_orm_sqlite_core.SQLiteColumn<{
30161
30603
  name: "account_id";
@@ -33773,6 +34215,10 @@ declare function createClient(databasePath: string): drizzle_orm_better_sqlite3.
33773
34215
  /** Private install configuration. Never serialize this object in public DTOs. */
33774
34216
  declare const sentimentInstallConfigSchema: z.ZodObject<{
33775
34217
  enabled: z.ZodDefault<z.ZodBoolean>;
34218
+ provider: z.ZodDefault<z.ZodEnum<{
34219
+ openrouter: "openrouter";
34220
+ typesafe: "typesafe";
34221
+ }>>;
33776
34222
  apiKey: z.ZodOptional<z.ZodString>;
33777
34223
  model: z.ZodDefault<z.ZodString>;
33778
34224
  maxConcurrency: z.ZodDefault<z.ZodNumber>;
@@ -33782,6 +34228,19 @@ declare const sentimentInstallConfigSchema: z.ZodObject<{
33782
34228
  }, z.core.$strict>;
33783
34229
  type SentimentInstallConfigInput = z.input<typeof sentimentInstallConfigSchema>;
33784
34230
 
34231
+ /** Independent role selection. It never changes which engines a sweep measures. */
34232
+ declare const classificationConfigSchema: z.ZodObject<{
34233
+ provider: z.ZodEnum<{
34234
+ claude: "claude";
34235
+ openai: "openai";
34236
+ gemini: "gemini";
34237
+ zai: "zai";
34238
+ openrouter: "openrouter";
34239
+ }>;
34240
+ model: z.ZodOptional<z.ZodString>;
34241
+ }, z.core.$strict>;
34242
+ type ClassificationConfig = z.infer<typeof classificationConfigSchema>;
34243
+
33785
34244
  /** Reasoning levels Aero can ask a model for, lowest to highest (pi-agent-core's `ThinkingLevel`). */
33786
34245
  declare const AGENT_REASONING_LEVELS: readonly ["off", "minimal", "low", "medium", "high", "xhigh", "max"];
33787
34246
  type AgentReasoningLevel = (typeof AGENT_REASONING_LEVELS)[number];
@@ -34117,7 +34576,8 @@ interface AgentConfigEntry {
34117
34576
  /**
34118
34577
  * How hard Aero asks the model to reason on every turn, one of
34119
34578
  * `AGENT_REASONING_LEVELS`. Absent uses the provider's default
34120
- * (`PROVIDER_DEFAULT_REASONING`: `low` for OpenAI, `off` elsewhere). The model
34579
+ * (`PROVIDER_DEFAULT_REASONING`: `low` for OpenAI, `off` elsewhere; an
34580
+ * OpenRouter model takes its direct provider's level). The model
34121
34581
  * clamps a level it does not support. `CANONRY_AGENT_REASONING` overrides it;
34122
34582
  * resolved by `resolveAgentReasoning`.
34123
34583
  */
@@ -34145,6 +34605,12 @@ interface DashboardConfigEntry {
34145
34605
  * quieter branded UI.
34146
34606
  */
34147
34607
  showResourceLinks?: boolean;
34608
+ /**
34609
+ * Whether agent onboarding includes local plugins, CLI, and canonry-mcp
34610
+ * instructions. Defaults to true. Presentation only; does not change access
34611
+ * or hosted connector readiness.
34612
+ */
34613
+ showLocalAgentSetup?: boolean;
34148
34614
  /**
34149
34615
  * Whether the dashboard sidebar shows the available-version notification.
34150
34616
  * Defaults to true. Disable without turning off the underlying update check
@@ -34178,6 +34644,8 @@ interface PlacesConfigEntry {
34178
34644
  refreshIntervalDays?: number;
34179
34645
  }
34180
34646
  interface CanonryConfig {
34647
+ /** Model for domain classification, separate from the measured sweep engines and Aero. */
34648
+ classification?: ClassificationConfig;
34181
34649
  /**
34182
34650
  * Private opt-in TypeSafe classifier credentials and limits. Reloaded from
34183
34651
  * config.yaml before dispatch; the in-memory copy is a startup snapshot that