@canonry/canonry 7.101.0 → 7.102.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 (144) hide show
  1. package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +9 -0
  2. package/assets/assets/{AccessControls-BMcboMU7.js → AccessControls-CpSlWN3W.js} +1 -1
  3. package/assets/assets/{AgentSetupPage-D8zYfyZC.js → AgentSetupPage-0le_Bx7d.js} +4 -4
  4. package/assets/assets/AuditHistoryPanel-BQH1dQ4V.js +1 -0
  5. package/assets/assets/{BacklinksPage-D8HxzRDh.js → BacklinksPage-_ffwmtrl.js} +1 -1
  6. package/assets/assets/{ChartPrimitives-nJi3Kmez.js → ChartPrimitives-6Yq_3ION.js} +1 -1
  7. package/assets/assets/{HistoryPage-DZ9Cuei4.js → HistoryPage-DUR17GrK.js} +1 -1
  8. package/assets/assets/MeasurementPropertyPage-dutXSW7s.js +4 -0
  9. package/assets/assets/ProjectPage-DA-07-jJ.js +15 -0
  10. package/assets/assets/{RunsPage-Q_prFKG5.js → RunsPage-Bs4f0-sW.js} +1 -1
  11. package/assets/assets/{ServerTrafficSection-D03quNUe.js → ServerTrafficSection-qMBbUI-0.js} +2 -2
  12. package/assets/assets/{SettingsPage-BjNzAJC4.js → SettingsPage-Bccypqbr.js} +1 -1
  13. package/assets/assets/ToneBadge-DvK4cIwq.js +60 -0
  14. package/assets/assets/{TrafficPage-B6W88b1f.js → TrafficPage-BPojOqd_.js} +1 -1
  15. package/assets/assets/{TrafficSourceDetailPage-zSr5FqmD.js → TrafficSourceDetailPage-DSoQk94d.js} +1 -1
  16. package/assets/assets/{account-context-Do9YhtFR.js → account-context-evpXzY8L.js} +1 -1
  17. package/assets/assets/{agent-trust-copy-CYbhNL0S.js → agent-trust-copy-CkaSg2FT.js} +1 -1
  18. package/assets/assets/{card-FXvJKWST.js → card-01OafAPU.js} +1 -1
  19. package/assets/assets/{index-C4GJ1tQ2.css → index-DPz1idfn.css} +1 -1
  20. package/assets/assets/index-StZErOkd.js +43 -0
  21. package/assets/assets/{query-client-BhpTEFNb.js → query-client-D6xwAuZW.js} +1 -1
  22. package/assets/assets/react-query-CdE7FNH6.js +1 -0
  23. package/assets/assets/{react-sigma_core.esm.min-DseCmd8v.js → react-sigma_core.esm.min-DlfcmDYc.js} +1 -1
  24. package/assets/assets/{server-traffic-1qKARWJy.js → server-traffic-yEflW4RI.js} +1 -1
  25. package/assets/assets/{service-CLPD132h.js → service-DfuRVpyN.js} +1 -1
  26. package/assets/index.html +9 -9
  27. package/dist/{ads-BCYHOU4L.js → ads-UDJVYKHF.js} +3 -3
  28. package/dist/{agent-EX5MI762.js → agent-EOB54XNS.js} +7 -7
  29. package/dist/{agent-ask-BQPVESBJ.js → agent-ask-5V4LX4VW.js} +3 -3
  30. package/dist/{agent-conversations-A3JVDL3D.js → agent-conversations-OAF6RCFP.js} +3 -3
  31. package/dist/{agent-journeys-3LQ7XWYH.js → agent-journeys-GETB4UGM.js} +3 -3
  32. package/dist/{agent-memory-LPQQOZR7.js → agent-memory-JXHPH6H5.js} +3 -3
  33. package/dist/{agent-providers-34EDHZQB.js → agent-providers-AAUCUOKY.js} +3 -3
  34. package/dist/{agent-transcript-LQUMSRRD.js → agent-transcript-WT4QH3ZY.js} +3 -3
  35. package/dist/{analytics-CVTVJUUE.js → analytics-JEZWLRTZ.js} +3 -3
  36. package/dist/{apply-6532DFBW.js → apply-LDIMMO4N.js} +3 -3
  37. package/dist/{backfill-TC57HUDP.js → backfill-JOJHBVGV.js} +10 -10
  38. package/dist/{backlinks-MZXW2DZL.js → backlinks-D2O3UM6F.js} +3 -3
  39. package/dist/{bing-VTXDVW6U.js → bing-BG7KZZPK.js} +3 -3
  40. package/dist/{bootstrap-3IC5HUMH.js → bootstrap-IXVATZLB.js} +10 -10
  41. package/dist/{cdp-CTL2TJE6.js → cdp-3AJG7OLP.js} +7 -7
  42. package/dist/{chunk-3QA5NJR4.js → chunk-2YLTELT2.js} +1 -1
  43. package/dist/{chunk-PX7O4WH2.js → chunk-3TPHFDZN.js} +2 -2
  44. package/dist/{chunk-7HQWMG3E.js → chunk-4CF5536B.js} +31 -1
  45. package/dist/{chunk-HN4EB3RS.js → chunk-66EXWVMN.js} +2 -2
  46. package/dist/{chunk-OMGPF7QF.js → chunk-7I2NJ4BH.js} +134 -1
  47. package/dist/{chunk-MUK7BYVL.js → chunk-7JJCFGL2.js} +3 -3
  48. package/dist/{chunk-S7UYYD2Y.js → chunk-AENOUFTF.js} +2 -2
  49. package/dist/{chunk-VLNJ2HEZ.js → chunk-AG6BTE7R.js} +3 -3
  50. package/dist/{chunk-BRNVPRLS.js → chunk-BDLHLE2F.js} +3 -3
  51. package/dist/{chunk-3ED3KWEP.js → chunk-BG6TVNA6.js} +409 -366
  52. package/dist/{chunk-E2SYIZ55.js → chunk-C2YVADFC.js} +1 -1
  53. package/dist/{chunk-5TSSSL2I.js → chunk-CZOGOHIN.js} +1 -1
  54. package/dist/{chunk-WSAWPVPE.js → chunk-DP3FE2OW.js} +5 -5
  55. package/dist/{chunk-CT45LO6U.js → chunk-DRNBMKR5.js} +6 -6
  56. package/dist/{chunk-XZE6RAHE.js → chunk-EXPBZFN4.js} +1 -1
  57. package/dist/{chunk-3SJDTQMT.js → chunk-FHK6M4RK.js} +3 -3
  58. package/dist/{chunk-FGITR7KU.js → chunk-G4ODBZO7.js} +4 -1
  59. package/dist/{chunk-JFTB74BQ.js → chunk-GLKR6C2L.js} +1 -1
  60. package/dist/{chunk-CLYPPLCG.js → chunk-IBRABPHA.js} +2 -2
  61. package/dist/{chunk-WDGVJPWZ.js → chunk-LGTSVS6Q.js} +4 -4
  62. package/dist/{chunk-L7WSODHZ.js → chunk-M25KDHD4.js} +1 -1
  63. package/dist/{chunk-YMWX6QAX.js → chunk-N4VEG6GB.js} +4 -4
  64. package/dist/{chunk-2FFTK4PG.js → chunk-N7773GJW.js} +1 -1
  65. package/dist/{chunk-5WZPTVEF.js → chunk-NAJ3ZYZ2.js} +3 -3
  66. package/dist/{chunk-6UB4Y6CB.js → chunk-NHBXQWE3.js} +298 -139
  67. package/dist/{chunk-UE27XRSS.js → chunk-NJZVDUKD.js} +3 -3
  68. package/dist/{chunk-UBOUJ6RS.js → chunk-O5AIKUW3.js} +1 -1
  69. package/dist/{chunk-YIJLFPSH.js → chunk-ONHBQYSA.js} +7 -7
  70. package/dist/{chunk-F4FHK5IK.js → chunk-QK4IICRM.js} +2 -2
  71. package/dist/{chunk-2T5HRNYT.js → chunk-RXWD25P7.js} +1 -1
  72. package/dist/{chunk-G7LYCMQJ.js → chunk-S7ZOYNW3.js} +32 -2
  73. package/dist/{chunk-VAHTXCUU.js → chunk-UX6XWC4F.js} +5 -5
  74. package/dist/{chunk-2UF2K6MD.js → chunk-VH424YVI.js} +2540 -1169
  75. package/dist/{chunk-AOIDPATQ.js → chunk-WNR3YQAD.js} +1 -1
  76. package/dist/{chunk-XM6OZ2OK.js → chunk-YTR2S4MU.js} +4 -4
  77. package/dist/{chunk-F73M7PKH.js → chunk-ZIKPEZ3K.js} +286 -28
  78. package/dist/{citations-QXQ5MUSF.js → citations-GM42U2ZH.js} +4 -4
  79. package/dist/{cli-catalog-B3TUL26L.js → cli-catalog-EMZPMAJP.js} +3 -3
  80. package/dist/{cli-commands-R3CN4VVC.js → cli-commands-VDMZAETM.js} +7 -7
  81. package/dist/cli.js +13 -13
  82. package/dist/{competitor-25MZKLVJ.js → competitor-4ZLKGNQW.js} +3 -3
  83. package/dist/{content-4STS5IKM.js → content-YJRMT4JW.js} +3 -3
  84. package/dist/{dashboard-XBMH4MGN.js → dashboard-L4EE3C5T.js} +6 -6
  85. package/dist/{demo-2S46SBJD.js → demo-3XDVCUT5.js} +1 -1
  86. package/dist/{demo-server-JTRHOBVR.js → demo-server-7ZJWSGE2.js} +12 -12
  87. package/dist/{discover-W6BSJXYO.js → discover-SQGUDXSU.js} +4 -4
  88. package/dist/{discover-eval-VP3XYODD.js → discover-eval-BUNKP6EW.js} +3 -3
  89. package/dist/{doctor-M5CC6T2H.js → doctor-HPIGLMRX.js} +3 -3
  90. package/dist/{evidence-KA6S266J.js → evidence-JKEM5BYW.js} +3 -3
  91. package/dist/{export-cmd-IBWYGJ2S.js → export-cmd-KTQM455W.js} +3 -3
  92. package/dist/{ga-GR2QLPZI.js → ga-D7ZLTSSA.js} +3 -3
  93. package/dist/{gbp-U7NRBE2Q.js → gbp-OWBX2BFK.js} +3 -3
  94. package/dist/{google-IV62SWDP.js → google-UNAGUCXQ.js} +4 -4
  95. package/dist/{google-marketing-LBEJZ2NZ.js → google-marketing-AZC7WHZR.js} +1 -1
  96. package/dist/{health-cmd-Y57EUJCG.js → health-cmd-XHEDL6CF.js} +4 -4
  97. package/dist/{history-ZKZNZ24X.js → history-MKQDN6LY.js} +3 -3
  98. package/dist/index.d.ts +845 -11
  99. package/dist/index.js +25 -25
  100. package/dist/{init-X6NNIX63.js → init-W4LWSMCC.js} +12 -12
  101. package/dist/{insights-3A2I5LQ5.js → insights-HNJR7UEC.js} +3 -3
  102. package/dist/intelligence-service-SWQABQ3X.js +16 -0
  103. package/dist/{journeys-WHQ4XC4I.js → journeys-RQBYPWHU.js} +3 -3
  104. package/dist/{keys-6XIMEOV2.js → keys-KNZAMXJU.js} +3 -3
  105. package/dist/{keyword-DGGFQNYE.js → keyword-7SUZG7RB.js} +3 -3
  106. package/dist/{logs-Z5ZV7ODN.js → logs-RTQFOKLJ.js} +3 -3
  107. package/dist/{mcp-U64GUOQN.js → mcp-JWBPAYR4.js} +4 -4
  108. package/dist/mcp.js +9 -9
  109. package/dist/{measurement-plan-J5ERRBIR.js → measurement-plan-AETWMIGC.js} +5 -5
  110. package/dist/{notify-43M77D6T.js → notify-DGFNKFVG.js} +3 -3
  111. package/dist/{organic-evidence-H2X6ILDC.js → organic-evidence-VA47O6HU.js} +3 -3
  112. package/dist/{overview-XT35O2XZ.js → overview-SMXNZLPG.js} +5 -5
  113. package/dist/{project-F2EKXLWT.js → project-WXEDQJLS.js} +3 -3
  114. package/dist/{project-setup-5GB65EUE.js → project-setup-VFBTUA5W.js} +3 -3
  115. package/dist/{query-MHSMDWMP.js → query-C2VIB2XW.js} +3 -3
  116. package/dist/{research-FH62JC57.js → research-76TYES7M.js} +3 -3
  117. package/dist/{results-export-D4VB2OBW.js → results-export-F4FKVOQN.js} +3 -3
  118. package/dist/{run-B4B3CG7J.js → run-H6GGXFKQ.js} +5 -5
  119. package/dist/{schedule-BUJX7ULT.js → schedule-KTQNJGMO.js} +3 -3
  120. package/dist/{search-6CXRPRG6.js → search-YRFUC7SW.js} +3 -3
  121. package/dist/{serve-BAIQI6TL.js → serve-PWIVPUX7.js} +26 -26
  122. package/dist/{session-AXSKOKCZ.js → session-LRR2N6IP.js} +13 -13
  123. package/dist/{settings-TADPOGVE.js → settings-TLDN77K4.js} +3 -3
  124. package/dist/{sitemaps-HHEQTH4E.js → sitemaps-BQ6JI4EW.js} +3 -3
  125. package/dist/{skills-4L7SDS6D.js → skills-SQBKFXAN.js} +2 -2
  126. package/dist/{snapshot-6RWDOATX.js → snapshot-ICGETMOY.js} +3 -3
  127. package/dist/{src-XZVMW2PD.js → src-XW5T4IQS.js} +10 -2
  128. package/dist/{status-4NRAVD3B.js → status-VN65JTUD.js} +5 -5
  129. package/dist/{technical-aeo-DBWEDC3J.js → technical-aeo-OBCWTN3M.js} +3 -3
  130. package/dist/{telemetry-OEAHQV6Q.js → telemetry-ZU6REKKU.js} +4 -4
  131. package/dist/{tools-64NJHOA5.js → tools-RQDMCSZB.js} +11 -11
  132. package/dist/{traffic-M2TCCDCP.js → traffic-YLZSRX5P.js} +5 -5
  133. package/dist/{trends-XHOOQAGY.js → trends-OWWELIE2.js} +3 -3
  134. package/dist/{users-VX5RRVBY.js → users-2ICURHTW.js} +54 -4
  135. package/dist/{visibility-stats-QGEQKBPJ.js → visibility-stats-FJK3MDYE.js} +4 -4
  136. package/dist/{wordpress-HRTBWGT4.js → wordpress-UQFA5TFU.js} +3 -3
  137. package/package.json +1 -1
  138. package/assets/assets/AuditHistoryPanel-DWM5jJ3T.js +0 -1
  139. package/assets/assets/MeasurementPropertyPage-9-ItFHr-.js +0 -4
  140. package/assets/assets/ProjectPage-yQTM6p0E.js +0 -15
  141. package/assets/assets/ToneBadge-BZJuMrq1.js +0 -60
  142. package/assets/assets/index-BYLZIyID.js +0 -43
  143. package/assets/assets/react-query-Cja6j8Tp.js +0 -1
  144. package/dist/intelligence-service-5FILIP2J.js +0 -16
package/dist/index.d.ts CHANGED
@@ -6323,7 +6323,7 @@ declare const querySnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
6323
6323
  tableName: "query_snapshots";
6324
6324
  dataType: "string";
6325
6325
  columnType: "SQLiteText";
6326
- data: "unknown" | "used" | "not-used" | "not-applicable";
6326
+ data: "unknown" | "not-applicable" | "used" | "not-used";
6327
6327
  driverParam: string;
6328
6328
  notNull: false;
6329
6329
  hasDefault: false;
@@ -6336,7 +6336,7 @@ declare const querySnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
6336
6336
  generated: undefined;
6337
6337
  }, {}, {
6338
6338
  length: number | undefined;
6339
- $type: "unknown" | "used" | "not-used" | "not-applicable";
6339
+ $type: "unknown" | "not-applicable" | "used" | "not-used";
6340
6340
  }>;
6341
6341
  retrievalContract: drizzle_orm_sqlite_core.SQLiteColumn<{
6342
6342
  name: "retrieval_contract";
@@ -6684,7 +6684,7 @@ declare const querySnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
6684
6684
  status?: string | null | undefined;
6685
6685
  }[];
6686
6686
  searchQueries: string[];
6687
- retrievalStatus: "unknown" | "used" | "not-used" | "not-applicable";
6687
+ retrievalStatus: "unknown" | "not-applicable" | "used" | "not-used";
6688
6688
  citationBasis: "none" | "mixed" | "answer-support" | "explicit-citation";
6689
6689
  citationMeasurable: boolean;
6690
6690
  directSourceUrls: boolean;
@@ -6789,7 +6789,7 @@ declare const querySnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
6789
6789
  status?: string | null | undefined;
6790
6790
  }[];
6791
6791
  searchQueries: string[];
6792
- retrievalStatus: "unknown" | "used" | "not-used" | "not-applicable";
6792
+ retrievalStatus: "unknown" | "not-applicable" | "used" | "not-used";
6793
6793
  citationBasis: "none" | "mixed" | "answer-support" | "explicit-citation";
6794
6794
  citationMeasurable: boolean;
6795
6795
  directSourceUrls: boolean;
@@ -8939,6 +8939,806 @@ declare const userSessions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
8939
8939
  };
8940
8940
  dialect: "sqlite";
8941
8941
  }>;
8942
+ /**
8943
+ * External identities (Sign in with ChatGPT) linked to named accounts.
8944
+ *
8945
+ * The identity key is issuer + registered client + subject: OpenAI's `sub` is
8946
+ * not promised to be stable across client registrations, so a new client ID
8947
+ * starts new links rather than silently matching old ones. Email is kept for
8948
+ * display only; it never decides which account an identity signs in to after
8949
+ * the invitation that created the link.
8950
+ */
8951
+ declare const userExternalIdentities: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
8952
+ name: "user_external_identities";
8953
+ schema: undefined;
8954
+ columns: {
8955
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
8956
+ name: "id";
8957
+ tableName: "user_external_identities";
8958
+ dataType: "string";
8959
+ columnType: "SQLiteText";
8960
+ data: string;
8961
+ driverParam: string;
8962
+ notNull: true;
8963
+ hasDefault: false;
8964
+ isPrimaryKey: true;
8965
+ isAutoincrement: false;
8966
+ hasRuntimeDefault: false;
8967
+ enumValues: [string, ...string[]];
8968
+ baseColumn: never;
8969
+ identity: undefined;
8970
+ generated: undefined;
8971
+ }, {}, {
8972
+ length: number | undefined;
8973
+ }>;
8974
+ userId: drizzle_orm_sqlite_core.SQLiteColumn<{
8975
+ name: "user_id";
8976
+ tableName: "user_external_identities";
8977
+ dataType: "string";
8978
+ columnType: "SQLiteText";
8979
+ data: string;
8980
+ driverParam: string;
8981
+ notNull: true;
8982
+ hasDefault: false;
8983
+ isPrimaryKey: false;
8984
+ isAutoincrement: false;
8985
+ hasRuntimeDefault: false;
8986
+ enumValues: [string, ...string[]];
8987
+ baseColumn: never;
8988
+ identity: undefined;
8989
+ generated: undefined;
8990
+ }, {}, {
8991
+ length: number | undefined;
8992
+ }>;
8993
+ provider: drizzle_orm_sqlite_core.SQLiteColumn<{
8994
+ name: "provider";
8995
+ tableName: "user_external_identities";
8996
+ dataType: "string";
8997
+ columnType: "SQLiteText";
8998
+ data: "chatgpt";
8999
+ driverParam: string;
9000
+ notNull: true;
9001
+ hasDefault: false;
9002
+ isPrimaryKey: false;
9003
+ isAutoincrement: false;
9004
+ hasRuntimeDefault: false;
9005
+ enumValues: [string, ...string[]];
9006
+ baseColumn: never;
9007
+ identity: undefined;
9008
+ generated: undefined;
9009
+ }, {}, {
9010
+ length: number | undefined;
9011
+ $type: "chatgpt";
9012
+ }>;
9013
+ issuer: drizzle_orm_sqlite_core.SQLiteColumn<{
9014
+ name: "issuer";
9015
+ tableName: "user_external_identities";
9016
+ dataType: "string";
9017
+ columnType: "SQLiteText";
9018
+ data: string;
9019
+ driverParam: string;
9020
+ notNull: true;
9021
+ hasDefault: false;
9022
+ isPrimaryKey: false;
9023
+ isAutoincrement: false;
9024
+ hasRuntimeDefault: false;
9025
+ enumValues: [string, ...string[]];
9026
+ baseColumn: never;
9027
+ identity: undefined;
9028
+ generated: undefined;
9029
+ }, {}, {
9030
+ length: number | undefined;
9031
+ }>;
9032
+ clientId: drizzle_orm_sqlite_core.SQLiteColumn<{
9033
+ name: "client_id";
9034
+ tableName: "user_external_identities";
9035
+ dataType: "string";
9036
+ columnType: "SQLiteText";
9037
+ data: string;
9038
+ driverParam: string;
9039
+ notNull: true;
9040
+ hasDefault: false;
9041
+ isPrimaryKey: false;
9042
+ isAutoincrement: false;
9043
+ hasRuntimeDefault: false;
9044
+ enumValues: [string, ...string[]];
9045
+ baseColumn: never;
9046
+ identity: undefined;
9047
+ generated: undefined;
9048
+ }, {}, {
9049
+ length: number | undefined;
9050
+ }>;
9051
+ subject: drizzle_orm_sqlite_core.SQLiteColumn<{
9052
+ name: "subject";
9053
+ tableName: "user_external_identities";
9054
+ dataType: "string";
9055
+ columnType: "SQLiteText";
9056
+ data: string;
9057
+ driverParam: string;
9058
+ notNull: true;
9059
+ hasDefault: false;
9060
+ isPrimaryKey: false;
9061
+ isAutoincrement: false;
9062
+ hasRuntimeDefault: false;
9063
+ enumValues: [string, ...string[]];
9064
+ baseColumn: never;
9065
+ identity: undefined;
9066
+ generated: undefined;
9067
+ }, {}, {
9068
+ length: number | undefined;
9069
+ }>;
9070
+ email: drizzle_orm_sqlite_core.SQLiteColumn<{
9071
+ name: "email";
9072
+ tableName: "user_external_identities";
9073
+ dataType: "string";
9074
+ columnType: "SQLiteText";
9075
+ data: string;
9076
+ driverParam: string;
9077
+ notNull: false;
9078
+ hasDefault: false;
9079
+ isPrimaryKey: false;
9080
+ isAutoincrement: false;
9081
+ hasRuntimeDefault: false;
9082
+ enumValues: [string, ...string[]];
9083
+ baseColumn: never;
9084
+ identity: undefined;
9085
+ generated: undefined;
9086
+ }, {}, {
9087
+ length: number | undefined;
9088
+ }>;
9089
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
9090
+ name: "created_at";
9091
+ tableName: "user_external_identities";
9092
+ dataType: "string";
9093
+ columnType: "SQLiteText";
9094
+ data: string;
9095
+ driverParam: string;
9096
+ notNull: true;
9097
+ hasDefault: false;
9098
+ isPrimaryKey: false;
9099
+ isAutoincrement: false;
9100
+ hasRuntimeDefault: false;
9101
+ enumValues: [string, ...string[]];
9102
+ baseColumn: never;
9103
+ identity: undefined;
9104
+ generated: undefined;
9105
+ }, {}, {
9106
+ length: number | undefined;
9107
+ }>;
9108
+ lastLoginAt: drizzle_orm_sqlite_core.SQLiteColumn<{
9109
+ name: "last_login_at";
9110
+ tableName: "user_external_identities";
9111
+ dataType: "string";
9112
+ columnType: "SQLiteText";
9113
+ data: string;
9114
+ driverParam: string;
9115
+ notNull: false;
9116
+ hasDefault: false;
9117
+ isPrimaryKey: false;
9118
+ isAutoincrement: false;
9119
+ hasRuntimeDefault: false;
9120
+ enumValues: [string, ...string[]];
9121
+ baseColumn: never;
9122
+ identity: undefined;
9123
+ generated: undefined;
9124
+ }, {}, {
9125
+ length: number | undefined;
9126
+ }>;
9127
+ };
9128
+ dialect: "sqlite";
9129
+ }>;
9130
+ /**
9131
+ * Invitations to sign in with an external identity. The first sign-in whose
9132
+ * VERIFIED email matches a pending invitation creates the account with the
9133
+ * invited role. Never attaches to an existing account.
9134
+ */
9135
+ declare const userInvitations: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
9136
+ name: "user_invitations";
9137
+ schema: undefined;
9138
+ columns: {
9139
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
9140
+ name: "id";
9141
+ tableName: "user_invitations";
9142
+ dataType: "string";
9143
+ columnType: "SQLiteText";
9144
+ data: string;
9145
+ driverParam: string;
9146
+ notNull: true;
9147
+ hasDefault: false;
9148
+ isPrimaryKey: true;
9149
+ isAutoincrement: false;
9150
+ hasRuntimeDefault: false;
9151
+ enumValues: [string, ...string[]];
9152
+ baseColumn: never;
9153
+ identity: undefined;
9154
+ generated: undefined;
9155
+ }, {}, {
9156
+ length: number | undefined;
9157
+ }>;
9158
+ email: drizzle_orm_sqlite_core.SQLiteColumn<{
9159
+ name: "email";
9160
+ tableName: "user_invitations";
9161
+ dataType: "string";
9162
+ columnType: "SQLiteText";
9163
+ data: string;
9164
+ driverParam: string;
9165
+ notNull: true;
9166
+ hasDefault: false;
9167
+ isPrimaryKey: false;
9168
+ isAutoincrement: false;
9169
+ hasRuntimeDefault: false;
9170
+ enumValues: [string, ...string[]];
9171
+ baseColumn: never;
9172
+ identity: undefined;
9173
+ generated: undefined;
9174
+ }, {}, {
9175
+ length: number | undefined;
9176
+ }>;
9177
+ emailKey: drizzle_orm_sqlite_core.SQLiteColumn<{
9178
+ name: "email_key";
9179
+ tableName: "user_invitations";
9180
+ dataType: "string";
9181
+ columnType: "SQLiteText";
9182
+ data: string;
9183
+ driverParam: string;
9184
+ notNull: true;
9185
+ hasDefault: false;
9186
+ isPrimaryKey: false;
9187
+ isAutoincrement: false;
9188
+ hasRuntimeDefault: false;
9189
+ enumValues: [string, ...string[]];
9190
+ baseColumn: never;
9191
+ identity: undefined;
9192
+ generated: undefined;
9193
+ }, {}, {
9194
+ length: number | undefined;
9195
+ }>;
9196
+ role: drizzle_orm_sqlite_core.SQLiteColumn<{
9197
+ name: "role";
9198
+ tableName: "user_invitations";
9199
+ dataType: "string";
9200
+ columnType: "SQLiteText";
9201
+ data: "admin" | "viewer";
9202
+ driverParam: string;
9203
+ notNull: true;
9204
+ hasDefault: false;
9205
+ isPrimaryKey: false;
9206
+ isAutoincrement: false;
9207
+ hasRuntimeDefault: false;
9208
+ enumValues: [string, ...string[]];
9209
+ baseColumn: never;
9210
+ identity: undefined;
9211
+ generated: undefined;
9212
+ }, {}, {
9213
+ length: number | undefined;
9214
+ $type: "admin" | "viewer";
9215
+ }>;
9216
+ createdById: drizzle_orm_sqlite_core.SQLiteColumn<{
9217
+ name: "created_by_id";
9218
+ tableName: "user_invitations";
9219
+ dataType: "string";
9220
+ columnType: "SQLiteText";
9221
+ data: string;
9222
+ driverParam: string;
9223
+ notNull: false;
9224
+ hasDefault: false;
9225
+ isPrimaryKey: false;
9226
+ isAutoincrement: false;
9227
+ hasRuntimeDefault: false;
9228
+ enumValues: [string, ...string[]];
9229
+ baseColumn: never;
9230
+ identity: undefined;
9231
+ generated: undefined;
9232
+ }, {}, {
9233
+ length: number | undefined;
9234
+ }>;
9235
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
9236
+ name: "created_at";
9237
+ tableName: "user_invitations";
9238
+ dataType: "string";
9239
+ columnType: "SQLiteText";
9240
+ data: string;
9241
+ driverParam: string;
9242
+ notNull: true;
9243
+ hasDefault: false;
9244
+ isPrimaryKey: false;
9245
+ isAutoincrement: false;
9246
+ hasRuntimeDefault: false;
9247
+ enumValues: [string, ...string[]];
9248
+ baseColumn: never;
9249
+ identity: undefined;
9250
+ generated: undefined;
9251
+ }, {}, {
9252
+ length: number | undefined;
9253
+ }>;
9254
+ expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
9255
+ name: "expires_at";
9256
+ tableName: "user_invitations";
9257
+ dataType: "string";
9258
+ columnType: "SQLiteText";
9259
+ data: string;
9260
+ driverParam: string;
9261
+ notNull: true;
9262
+ hasDefault: false;
9263
+ isPrimaryKey: false;
9264
+ isAutoincrement: false;
9265
+ hasRuntimeDefault: false;
9266
+ enumValues: [string, ...string[]];
9267
+ baseColumn: never;
9268
+ identity: undefined;
9269
+ generated: undefined;
9270
+ }, {}, {
9271
+ length: number | undefined;
9272
+ }>;
9273
+ acceptedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
9274
+ name: "accepted_at";
9275
+ tableName: "user_invitations";
9276
+ dataType: "string";
9277
+ columnType: "SQLiteText";
9278
+ data: string;
9279
+ driverParam: string;
9280
+ notNull: false;
9281
+ hasDefault: false;
9282
+ isPrimaryKey: false;
9283
+ isAutoincrement: false;
9284
+ hasRuntimeDefault: false;
9285
+ enumValues: [string, ...string[]];
9286
+ baseColumn: never;
9287
+ identity: undefined;
9288
+ generated: undefined;
9289
+ }, {}, {
9290
+ length: number | undefined;
9291
+ }>;
9292
+ acceptedUserId: drizzle_orm_sqlite_core.SQLiteColumn<{
9293
+ name: "accepted_user_id";
9294
+ tableName: "user_invitations";
9295
+ dataType: "string";
9296
+ columnType: "SQLiteText";
9297
+ data: string;
9298
+ driverParam: string;
9299
+ notNull: false;
9300
+ hasDefault: false;
9301
+ isPrimaryKey: false;
9302
+ isAutoincrement: false;
9303
+ hasRuntimeDefault: false;
9304
+ enumValues: [string, ...string[]];
9305
+ baseColumn: never;
9306
+ identity: undefined;
9307
+ generated: undefined;
9308
+ }, {}, {
9309
+ length: number | undefined;
9310
+ }>;
9311
+ revokedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
9312
+ name: "revoked_at";
9313
+ tableName: "user_invitations";
9314
+ dataType: "string";
9315
+ columnType: "SQLiteText";
9316
+ data: string;
9317
+ driverParam: string;
9318
+ notNull: false;
9319
+ hasDefault: false;
9320
+ isPrimaryKey: false;
9321
+ isAutoincrement: false;
9322
+ hasRuntimeDefault: false;
9323
+ enumValues: [string, ...string[]];
9324
+ baseColumn: never;
9325
+ identity: undefined;
9326
+ generated: undefined;
9327
+ }, {}, {
9328
+ length: number | undefined;
9329
+ }>;
9330
+ };
9331
+ dialect: "sqlite";
9332
+ }>;
9333
+ /**
9334
+ * A person's ChatGPT plan grant, used for their own Aero turns only.
9335
+ *
9336
+ * One per account. `tokens` is AES-256-GCM ciphertext under the install's
9337
+ * `chatgpt.tokenKey`, bound to this row's connection id and account, so a
9338
+ * database copy without the key holds nothing usable. `revision` makes a
9339
+ * refresh a compare-and-swap: OpenAI rotates refresh tokens, and a refresh
9340
+ * written over a newer one would strand the account.
9341
+ */
9342
+ declare const chatgptPlanConnections: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
9343
+ name: "chatgpt_plan_connections";
9344
+ schema: undefined;
9345
+ columns: {
9346
+ userId: drizzle_orm_sqlite_core.SQLiteColumn<{
9347
+ name: "user_id";
9348
+ tableName: "chatgpt_plan_connections";
9349
+ dataType: "string";
9350
+ columnType: "SQLiteText";
9351
+ data: string;
9352
+ driverParam: string;
9353
+ notNull: true;
9354
+ hasDefault: false;
9355
+ isPrimaryKey: true;
9356
+ isAutoincrement: false;
9357
+ hasRuntimeDefault: false;
9358
+ enumValues: [string, ...string[]];
9359
+ baseColumn: never;
9360
+ identity: undefined;
9361
+ generated: undefined;
9362
+ }, {}, {
9363
+ length: number | undefined;
9364
+ }>;
9365
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
9366
+ name: "id";
9367
+ tableName: "chatgpt_plan_connections";
9368
+ dataType: "string";
9369
+ columnType: "SQLiteText";
9370
+ data: string;
9371
+ driverParam: string;
9372
+ notNull: true;
9373
+ hasDefault: false;
9374
+ isPrimaryKey: false;
9375
+ isAutoincrement: false;
9376
+ hasRuntimeDefault: false;
9377
+ enumValues: [string, ...string[]];
9378
+ baseColumn: never;
9379
+ identity: undefined;
9380
+ generated: undefined;
9381
+ }, {}, {
9382
+ length: number | undefined;
9383
+ }>;
9384
+ identityId: drizzle_orm_sqlite_core.SQLiteColumn<{
9385
+ name: "identity_id";
9386
+ tableName: "chatgpt_plan_connections";
9387
+ dataType: "string";
9388
+ columnType: "SQLiteText";
9389
+ data: string;
9390
+ driverParam: string;
9391
+ notNull: true;
9392
+ hasDefault: false;
9393
+ isPrimaryKey: false;
9394
+ isAutoincrement: false;
9395
+ hasRuntimeDefault: false;
9396
+ enumValues: [string, ...string[]];
9397
+ baseColumn: never;
9398
+ identity: undefined;
9399
+ generated: undefined;
9400
+ }, {}, {
9401
+ length: number | undefined;
9402
+ }>;
9403
+ status: drizzle_orm_sqlite_core.SQLiteColumn<{
9404
+ name: "status";
9405
+ tableName: "chatgpt_plan_connections";
9406
+ dataType: "string";
9407
+ columnType: "SQLiteText";
9408
+ data: "connected" | "reconnect-required";
9409
+ driverParam: string;
9410
+ notNull: true;
9411
+ hasDefault: false;
9412
+ isPrimaryKey: false;
9413
+ isAutoincrement: false;
9414
+ hasRuntimeDefault: false;
9415
+ enumValues: [string, ...string[]];
9416
+ baseColumn: never;
9417
+ identity: undefined;
9418
+ generated: undefined;
9419
+ }, {}, {
9420
+ length: number | undefined;
9421
+ $type: "connected" | "reconnect-required";
9422
+ }>;
9423
+ scopes: drizzle_orm_sqlite_core.SQLiteColumn<{
9424
+ name: "scopes";
9425
+ tableName: "chatgpt_plan_connections";
9426
+ dataType: "string";
9427
+ columnType: "SQLiteText";
9428
+ data: string;
9429
+ driverParam: string;
9430
+ notNull: true;
9431
+ hasDefault: false;
9432
+ isPrimaryKey: false;
9433
+ isAutoincrement: false;
9434
+ hasRuntimeDefault: false;
9435
+ enumValues: [string, ...string[]];
9436
+ baseColumn: never;
9437
+ identity: undefined;
9438
+ generated: undefined;
9439
+ }, {}, {
9440
+ length: number | undefined;
9441
+ }>;
9442
+ tokens: drizzle_orm_sqlite_core.SQLiteColumn<{
9443
+ name: "tokens";
9444
+ tableName: "chatgpt_plan_connections";
9445
+ dataType: "string";
9446
+ columnType: "SQLiteText";
9447
+ data: string;
9448
+ driverParam: string;
9449
+ notNull: true;
9450
+ hasDefault: false;
9451
+ isPrimaryKey: false;
9452
+ isAutoincrement: false;
9453
+ hasRuntimeDefault: false;
9454
+ enumValues: [string, ...string[]];
9455
+ baseColumn: never;
9456
+ identity: undefined;
9457
+ generated: undefined;
9458
+ }, {}, {
9459
+ length: number | undefined;
9460
+ }>;
9461
+ accessExpiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
9462
+ name: "access_expires_at";
9463
+ tableName: "chatgpt_plan_connections";
9464
+ dataType: "string";
9465
+ columnType: "SQLiteText";
9466
+ data: string;
9467
+ driverParam: string;
9468
+ notNull: true;
9469
+ hasDefault: false;
9470
+ isPrimaryKey: false;
9471
+ isAutoincrement: false;
9472
+ hasRuntimeDefault: false;
9473
+ enumValues: [string, ...string[]];
9474
+ baseColumn: never;
9475
+ identity: undefined;
9476
+ generated: undefined;
9477
+ }, {}, {
9478
+ length: number | undefined;
9479
+ }>;
9480
+ modelId: drizzle_orm_sqlite_core.SQLiteColumn<{
9481
+ name: "model_id";
9482
+ tableName: "chatgpt_plan_connections";
9483
+ dataType: "string";
9484
+ columnType: "SQLiteText";
9485
+ data: string;
9486
+ driverParam: string;
9487
+ notNull: false;
9488
+ hasDefault: false;
9489
+ isPrimaryKey: false;
9490
+ isAutoincrement: false;
9491
+ hasRuntimeDefault: false;
9492
+ enumValues: [string, ...string[]];
9493
+ baseColumn: never;
9494
+ identity: undefined;
9495
+ generated: undefined;
9496
+ }, {}, {
9497
+ length: number | undefined;
9498
+ }>;
9499
+ revision: drizzle_orm_sqlite_core.SQLiteColumn<{
9500
+ name: "revision";
9501
+ tableName: "chatgpt_plan_connections";
9502
+ dataType: "number";
9503
+ columnType: "SQLiteInteger";
9504
+ data: number;
9505
+ driverParam: number;
9506
+ notNull: true;
9507
+ hasDefault: true;
9508
+ isPrimaryKey: false;
9509
+ isAutoincrement: false;
9510
+ hasRuntimeDefault: false;
9511
+ enumValues: undefined;
9512
+ baseColumn: never;
9513
+ identity: undefined;
9514
+ generated: undefined;
9515
+ }, {}, {}>;
9516
+ connectedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
9517
+ name: "connected_at";
9518
+ tableName: "chatgpt_plan_connections";
9519
+ dataType: "string";
9520
+ columnType: "SQLiteText";
9521
+ data: string;
9522
+ driverParam: string;
9523
+ notNull: true;
9524
+ hasDefault: false;
9525
+ isPrimaryKey: false;
9526
+ isAutoincrement: false;
9527
+ hasRuntimeDefault: false;
9528
+ enumValues: [string, ...string[]];
9529
+ baseColumn: never;
9530
+ identity: undefined;
9531
+ generated: undefined;
9532
+ }, {}, {
9533
+ length: number | undefined;
9534
+ }>;
9535
+ updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
9536
+ name: "updated_at";
9537
+ tableName: "chatgpt_plan_connections";
9538
+ dataType: "string";
9539
+ columnType: "SQLiteText";
9540
+ data: string;
9541
+ driverParam: string;
9542
+ notNull: true;
9543
+ hasDefault: false;
9544
+ isPrimaryKey: false;
9545
+ isAutoincrement: false;
9546
+ hasRuntimeDefault: false;
9547
+ enumValues: [string, ...string[]];
9548
+ baseColumn: never;
9549
+ identity: undefined;
9550
+ generated: undefined;
9551
+ }, {}, {
9552
+ length: number | undefined;
9553
+ }>;
9554
+ };
9555
+ dialect: "sqlite";
9556
+ }>;
9557
+ /**
9558
+ * In-flight ChatGPT sign-ins, single use and short lived. Only digests of the
9559
+ * `state` and of the browser-binding secret are stored: the PKCE verifier and
9560
+ * the binding secret live in an HttpOnly cookie on the browser that started
9561
+ * the sign-in, so a callback opened in any other browser fails.
9562
+ */
9563
+ declare const chatgptLoginTransactions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
9564
+ name: "chatgpt_login_transactions";
9565
+ schema: undefined;
9566
+ columns: {
9567
+ stateHash: drizzle_orm_sqlite_core.SQLiteColumn<{
9568
+ name: "state_hash";
9569
+ tableName: "chatgpt_login_transactions";
9570
+ dataType: "string";
9571
+ columnType: "SQLiteText";
9572
+ data: string;
9573
+ driverParam: string;
9574
+ notNull: true;
9575
+ hasDefault: false;
9576
+ isPrimaryKey: true;
9577
+ isAutoincrement: false;
9578
+ hasRuntimeDefault: false;
9579
+ enumValues: [string, ...string[]];
9580
+ baseColumn: never;
9581
+ identity: undefined;
9582
+ generated: undefined;
9583
+ }, {}, {
9584
+ length: number | undefined;
9585
+ }>;
9586
+ browserHash: drizzle_orm_sqlite_core.SQLiteColumn<{
9587
+ name: "browser_hash";
9588
+ tableName: "chatgpt_login_transactions";
9589
+ dataType: "string";
9590
+ columnType: "SQLiteText";
9591
+ data: string;
9592
+ driverParam: string;
9593
+ notNull: true;
9594
+ hasDefault: false;
9595
+ isPrimaryKey: false;
9596
+ isAutoincrement: false;
9597
+ hasRuntimeDefault: false;
9598
+ enumValues: [string, ...string[]];
9599
+ baseColumn: never;
9600
+ identity: undefined;
9601
+ generated: undefined;
9602
+ }, {}, {
9603
+ length: number | undefined;
9604
+ }>;
9605
+ intent: drizzle_orm_sqlite_core.SQLiteColumn<{
9606
+ name: "intent";
9607
+ tableName: "chatgpt_login_transactions";
9608
+ dataType: "string";
9609
+ columnType: "SQLiteText";
9610
+ data: "login" | "connect";
9611
+ driverParam: string;
9612
+ notNull: true;
9613
+ hasDefault: false;
9614
+ isPrimaryKey: false;
9615
+ isAutoincrement: false;
9616
+ hasRuntimeDefault: false;
9617
+ enumValues: [string, ...string[]];
9618
+ baseColumn: never;
9619
+ identity: undefined;
9620
+ generated: undefined;
9621
+ }, {}, {
9622
+ length: number | undefined;
9623
+ $type: "login" | "connect";
9624
+ }>;
9625
+ userId: drizzle_orm_sqlite_core.SQLiteColumn<{
9626
+ name: "user_id";
9627
+ tableName: "chatgpt_login_transactions";
9628
+ dataType: "string";
9629
+ columnType: "SQLiteText";
9630
+ data: string;
9631
+ driverParam: string;
9632
+ notNull: false;
9633
+ hasDefault: false;
9634
+ isPrimaryKey: false;
9635
+ isAutoincrement: false;
9636
+ hasRuntimeDefault: false;
9637
+ enumValues: [string, ...string[]];
9638
+ baseColumn: never;
9639
+ identity: undefined;
9640
+ generated: undefined;
9641
+ }, {}, {
9642
+ length: number | undefined;
9643
+ }>;
9644
+ nonce: drizzle_orm_sqlite_core.SQLiteColumn<{
9645
+ name: "nonce";
9646
+ tableName: "chatgpt_login_transactions";
9647
+ dataType: "string";
9648
+ columnType: "SQLiteText";
9649
+ data: string;
9650
+ driverParam: string;
9651
+ notNull: true;
9652
+ hasDefault: false;
9653
+ isPrimaryKey: false;
9654
+ isAutoincrement: false;
9655
+ hasRuntimeDefault: false;
9656
+ enumValues: [string, ...string[]];
9657
+ baseColumn: never;
9658
+ identity: undefined;
9659
+ generated: undefined;
9660
+ }, {}, {
9661
+ length: number | undefined;
9662
+ }>;
9663
+ scopes: drizzle_orm_sqlite_core.SQLiteColumn<{
9664
+ name: "scopes";
9665
+ tableName: "chatgpt_login_transactions";
9666
+ dataType: "string";
9667
+ columnType: "SQLiteText";
9668
+ data: string;
9669
+ driverParam: string;
9670
+ notNull: true;
9671
+ hasDefault: false;
9672
+ isPrimaryKey: false;
9673
+ isAutoincrement: false;
9674
+ hasRuntimeDefault: false;
9675
+ enumValues: [string, ...string[]];
9676
+ baseColumn: never;
9677
+ identity: undefined;
9678
+ generated: undefined;
9679
+ }, {}, {
9680
+ length: number | undefined;
9681
+ }>;
9682
+ returnTo: drizzle_orm_sqlite_core.SQLiteColumn<{
9683
+ name: "return_to";
9684
+ tableName: "chatgpt_login_transactions";
9685
+ dataType: "string";
9686
+ columnType: "SQLiteText";
9687
+ data: string;
9688
+ driverParam: string;
9689
+ notNull: false;
9690
+ hasDefault: false;
9691
+ isPrimaryKey: false;
9692
+ isAutoincrement: false;
9693
+ hasRuntimeDefault: false;
9694
+ enumValues: [string, ...string[]];
9695
+ baseColumn: never;
9696
+ identity: undefined;
9697
+ generated: undefined;
9698
+ }, {}, {
9699
+ length: number | undefined;
9700
+ }>;
9701
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
9702
+ name: "created_at";
9703
+ tableName: "chatgpt_login_transactions";
9704
+ dataType: "string";
9705
+ columnType: "SQLiteText";
9706
+ data: string;
9707
+ driverParam: string;
9708
+ notNull: true;
9709
+ hasDefault: false;
9710
+ isPrimaryKey: false;
9711
+ isAutoincrement: false;
9712
+ hasRuntimeDefault: false;
9713
+ enumValues: [string, ...string[]];
9714
+ baseColumn: never;
9715
+ identity: undefined;
9716
+ generated: undefined;
9717
+ }, {}, {
9718
+ length: number | undefined;
9719
+ }>;
9720
+ expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
9721
+ name: "expires_at";
9722
+ tableName: "chatgpt_login_transactions";
9723
+ dataType: "string";
9724
+ columnType: "SQLiteText";
9725
+ data: string;
9726
+ driverParam: string;
9727
+ notNull: true;
9728
+ hasDefault: false;
9729
+ isPrimaryKey: false;
9730
+ isAutoincrement: false;
9731
+ hasRuntimeDefault: false;
9732
+ enumValues: [string, ...string[]];
9733
+ baseColumn: never;
9734
+ identity: undefined;
9735
+ generated: undefined;
9736
+ }, {}, {
9737
+ length: number | undefined;
9738
+ }>;
9739
+ };
9740
+ dialect: "sqlite";
9741
+ }>;
8942
9742
  /** Shared-password/API-key dashboard sessions survive restarts; only token digests are stored. */
8943
9743
  declare const dashboardSessions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
8944
9744
  name: "dashboard_sessions";
@@ -12774,7 +13574,7 @@ declare const siteAuditSnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns
12774
13574
  weight: number;
12775
13575
  sharePct: number | null;
12776
13576
  avgScore: number;
12777
- status: "fail" | "partial" | "pass";
13577
+ status: "partial" | "fail" | "pass";
12778
13578
  pagesPassing: number;
12779
13579
  pagesPartial: number;
12780
13580
  pagesFailing: number;
@@ -12796,7 +13596,7 @@ declare const siteAuditSnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns
12796
13596
  weight: number;
12797
13597
  sharePct: number | null;
12798
13598
  avgScore: number;
12799
- status: "fail" | "partial" | "pass";
13599
+ status: "partial" | "fail" | "pass";
12800
13600
  pagesPassing: number;
12801
13601
  pagesPartial: number;
12802
13602
  pagesFailing: number;
@@ -30500,7 +31300,7 @@ declare const researchRunQueries: drizzle_orm_sqlite_core.SQLiteTableWithColumns
30500
31300
  status?: string | null | undefined;
30501
31301
  }[];
30502
31302
  searchQueries: string[];
30503
- retrievalStatus: "unknown" | "used" | "not-used" | "not-applicable";
31303
+ retrievalStatus: "unknown" | "not-applicable" | "used" | "not-used";
30504
31304
  citationBasis: "none" | "mixed" | "answer-support" | "explicit-citation";
30505
31305
  citationMeasurable: boolean;
30506
31306
  directSourceUrls: boolean;
@@ -30605,7 +31405,7 @@ declare const researchRunQueries: drizzle_orm_sqlite_core.SQLiteTableWithColumns
30605
31405
  status?: string | null | undefined;
30606
31406
  }[];
30607
31407
  searchQueries: string[];
30608
- retrievalStatus: "unknown" | "used" | "not-used" | "not-applicable";
31408
+ retrievalStatus: "unknown" | "not-applicable" | "used" | "not-used";
30609
31409
  citationBasis: "none" | "mixed" | "answer-support" | "explicit-citation";
30610
31410
  citationMeasurable: boolean;
30611
31411
  directSourceUrls: boolean;
@@ -35158,7 +35958,7 @@ declare const adsOperationSteps: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
35158
35958
  tableName: "ads_operation_steps";
35159
35959
  dataType: "string";
35160
35960
  columnType: "SQLiteText";
35161
- data: "unknown" | "active" | "failed" | "pending" | "executing" | "rollback_executing" | "rolled_back" | "rollback_failed";
35961
+ data: "unknown" | "failed" | "active" | "pending" | "executing" | "rollback_executing" | "rolled_back" | "rollback_failed";
35162
35962
  driverParam: string;
35163
35963
  notNull: true;
35164
35964
  hasDefault: false;
@@ -35171,7 +35971,7 @@ declare const adsOperationSteps: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
35171
35971
  generated: undefined;
35172
35972
  }, {}, {
35173
35973
  length: number | undefined;
35174
- $type: "unknown" | "active" | "failed" | "pending" | "executing" | "rollback_executing" | "rolled_back" | "rollback_failed";
35974
+ $type: "unknown" | "failed" | "active" | "pending" | "executing" | "rollback_executing" | "rolled_back" | "rollback_failed";
35175
35975
  }>;
35176
35976
  providerUpdatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
35177
35977
  name: "provider_updated_at";
@@ -41143,6 +41943,8 @@ declare const schema_bingSitemaps: typeof bingSitemaps;
41143
41943
  declare const schema_bingTrafficDaily: typeof bingTrafficDaily;
41144
41944
  declare const schema_bingUrlInspections: typeof bingUrlInspections;
41145
41945
  declare const schema_ccReleaseSyncs: typeof ccReleaseSyncs;
41946
+ declare const schema_chatgptLoginTransactions: typeof chatgptLoginTransactions;
41947
+ declare const schema_chatgptPlanConnections: typeof chatgptPlanConnections;
41146
41948
  declare const schema_competitors: typeof competitors;
41147
41949
  declare const schema_contentTargetDismissals: typeof contentTargetDismissals;
41148
41950
  declare const schema_conversionTrackingContracts: typeof conversionTrackingContracts;
@@ -41268,10 +42070,12 @@ declare const schema_trafficSources: typeof trafficSources;
41268
42070
  declare const schema_unrecognizedAgentEventsHourly: typeof unrecognizedAgentEventsHourly;
41269
42071
  declare const schema_unrecognizedAgentNotifyState: typeof unrecognizedAgentNotifyState;
41270
42072
  declare const schema_usageCounters: typeof usageCounters;
42073
+ declare const schema_userExternalIdentities: typeof userExternalIdentities;
42074
+ declare const schema_userInvitations: typeof userInvitations;
41271
42075
  declare const schema_userSessions: typeof userSessions;
41272
42076
  declare const schema_users: typeof users;
41273
42077
  declare namespace schema {
41274
- export { schema_RawEventSampleEventTypes as RawEventSampleEventTypes, schema_adsActivationGrants as adsActivationGrants, schema_adsAdGroups as adsAdGroups, schema_adsAds as adsAds, schema_adsCampaigns as adsCampaigns, schema_adsConnections as adsConnections, schema_adsInsightsDaily as adsInsightsDaily, schema_adsOperationSteps as adsOperationSteps, schema_adsOperations as adsOperations, schema_agentConversations as agentConversations, schema_agentJourneyCaptureDays as agentJourneyCaptureDays, schema_agentJourneyEvents as agentJourneyEvents, schema_agentMemory as agentMemory, schema_agentScannerClients as agentScannerClients, schema_agentSessions as agentSessions, schema_agentToolEvents as agentToolEvents, schema_aiReferralEventsHourly as aiReferralEventsHourly, schema_aiReferralVisitors as aiReferralVisitors, schema_aiUserFetchEventsHourly as aiUserFetchEventsHourly, schema_aiUserFetchLikelyFakeHourly as aiUserFetchLikelyFakeHourly, schema_aiUserFetchVerificationManifestsHourly as aiUserFetchVerificationManifestsHourly, schema_apiKeys as apiKeys, schema_auditLog as auditLog, schema_backlinkDomains as backlinkDomains, schema_backlinkSummaries as backlinkSummaries, schema_bingConnections as bingConnections, schema_bingCoverageSnapshots as bingCoverageSnapshots, schema_bingCrawlStats as bingCrawlStats, schema_bingKeywordDemand as bingKeywordDemand, schema_bingKeywordStats as bingKeywordStats, schema_bingPageStats as bingPageStats, schema_bingQueryStats as bingQueryStats, schema_bingSiteSnapshots as bingSiteSnapshots, schema_bingSitemaps as bingSitemaps, schema_bingTrafficDaily as bingTrafficDaily, schema_bingUrlInspections as bingUrlInspections, schema_ccReleaseSyncs as ccReleaseSyncs, schema_competitors as competitors, schema_contentTargetDismissals as contentTargetDismissals, schema_conversionTrackingContracts as conversionTrackingContracts, schema_crawlerEventsHourly as crawlerEventsHourly, schema_crawlerVerificationManifestsHourly as crawlerVerificationManifestsHourly, schema_dashboardSessions as dashboardSessions, schema_dataRepairCompletions as dataRepairCompletions, schema_discoveryProbes as discoveryProbes, schema_discoverySessions as discoverySessions, schema_doctorHealthState as doctorHealthState, schema_domainClassifications as domainClassifications, schema_gaAcquisitionDaily as gaAcquisitionDaily, schema_gaAiReferrals as gaAiReferrals, schema_gaConnections as gaConnections, schema_gaDailyTotals as gaDailyTotals, schema_gaLeadEventsDaily as gaLeadEventsDaily, schema_gaMeasurementSyncStates as gaMeasurementSyncStates, schema_gaSearchLandingPages as gaSearchLandingPages, schema_gaSearchLandingWindows as gaSearchLandingWindows, schema_gaSocialReferrals as gaSocialReferrals, schema_gaSyncCoverage as gaSyncCoverage, schema_gaTrafficSnapshots as gaTrafficSnapshots, schema_gaTrafficSummaries as gaTrafficSummaries, schema_gaTrafficWindowSummaries as gaTrafficWindowSummaries, schema_gaWindowMetrics as gaWindowMetrics, schema_gbpAttributesSnapshots as gbpAttributesSnapshots, schema_gbpDailyMetrics as gbpDailyMetrics, schema_gbpKeywordImpressions as gbpKeywordImpressions, schema_gbpKeywordMonthly as gbpKeywordMonthly, schema_gbpLocations as gbpLocations, schema_gbpLodgingSnapshots as gbpLodgingSnapshots, schema_gbpPlaceActions as gbpPlaceActions, schema_gbpPlaceDetails as gbpPlaceDetails, schema_gbpReviewRatings as gbpReviewRatings, schema_gbpReviewSettings as gbpReviewSettings, schema_gbpReviews as gbpReviews, schema_googleAdsConnections as googleAdsConnections, schema_googleAdsRawSnapshots as googleAdsRawSnapshots, schema_googleConnections as googleConnections, schema_gscCoverageSnapshots as gscCoverageSnapshots, schema_gscDailyTotals as gscDailyTotals, schema_gscDataWatermarks as gscDataWatermarks, schema_gscQueryDailyTotals as gscQueryDailyTotals, schema_gscSearchData as gscSearchData, schema_gscSitemaps as gscSitemaps, schema_gscUrlInspections as gscUrlInspections, schema_gtmConnections as gtmConnections, schema_gtmRawSnapshots as gtmRawSnapshots, schema_healthSnapshots as healthSnapshots, schema_insightNotifyState as insightNotifyState, schema_insights as insights, schema_journeyEvents as journeyEvents, schema_journeyVisitorAliases as journeyVisitorAliases, schema_journeyVisitors as journeyVisitors, schema_journeyVisits as journeyVisits, schema_llmUsageEvents as llmUsageEvents, schema_marketCompetitorNames as marketCompetitorNames, schema_measurementDiscoveryConfigs as measurementDiscoveryConfigs, schema_measurementOperationReceipts as measurementOperationReceipts, schema_measurementPlanDrafts as measurementPlanDrafts, schema_measurementPlanVersions as measurementPlanVersions, schema_measurementPlans as measurementPlans, schema_measurementQuerySetItems as measurementQuerySetItems, schema_measurementQuerySets as measurementQuerySets, schema_measurementQueryTemplates as measurementQueryTemplates, schema_measurementSegments as measurementSegments, schema_migrationsTable as migrationsTable, schema_notifications as notifications, schema_oauthAuthorizationCodes as oauthAuthorizationCodes, schema_oauthClients as oauthClients, schema_oauthGrants as oauthGrants, schema_oauthTokens as oauthTokens, schema_projects as projects, schema_providerBatchRequests as providerBatchRequests, schema_providerBatches as providerBatches, schema_providerConnectionTests as providerConnectionTests, schema_queries as queries, schema_queryBasketVersions as queryBasketVersions, schema_querySnapshots as querySnapshots, schema_rawEventSamples as rawEventSamples, schema_recommendationBriefs as recommendationBriefs, schema_recommendationExplanations as recommendationExplanations, schema_researchRunQueries as researchRunQueries, schema_researchRuns as researchRuns, schema_reviewWebhookDeliveries as reviewWebhookDeliveries, schema_runFills as runFills, schema_runs as runs, schema_runtimeLogMetadata as runtimeLogMetadata, schema_runtimeLogs as runtimeLogs, schema_schedules as schedules, schema_sentimentAttempts as sentimentAttempts, schema_sentimentCompletionReceipts as sentimentCompletionReceipts, schema_sentimentDefinitions as sentimentDefinitions, schema_sentimentDispatchState as sentimentDispatchState, schema_sentimentJobItems as sentimentJobItems, schema_sentimentJobs as sentimentJobs, schema_sentimentResults as sentimentResults, schema_sentimentSettings as sentimentSettings, schema_sentimentWorkItems as sentimentWorkItems, schema_seoBudgets as seoBudgets, schema_seoJobs as seoJobs, schema_seoProfiles as seoProfiles, schema_seoTasks as seoTasks, schema_simpleMeasurementDefinitions as simpleMeasurementDefinitions, schema_siteAuditPages as siteAuditPages, schema_siteAuditSnapshots as siteAuditSnapshots, schema_siteCrawlAttempts as siteCrawlAttempts, schema_siteCrawlEdges as siteCrawlEdges, schema_siteCrawlEventReceipts as siteCrawlEventReceipts, schema_siteCrawlFindings as siteCrawlFindings, schema_siteCrawlGraphEdges as siteCrawlGraphEdges, schema_siteCrawlGraphLayouts as siteCrawlGraphLayouts, schema_siteCrawlGraphNodes as siteCrawlGraphNodes, schema_siteCrawlPages as siteCrawlPages, schema_siteCrawlRunRequests as siteCrawlRunRequests, schema_siteCrawlSnapshots as siteCrawlSnapshots, schema_siteHealthNotifyState as siteHealthNotifyState, schema_siteLivenessState as siteLivenessState, schema_sitemapListSyncs as sitemapListSyncs, schema_trafficEventReceipts as trafficEventReceipts, schema_trafficReclassificationState as trafficReclassificationState, schema_trafficSources as trafficSources, schema_unrecognizedAgentEventsHourly as unrecognizedAgentEventsHourly, schema_unrecognizedAgentNotifyState as unrecognizedAgentNotifyState, schema_usageCounters as usageCounters, schema_userSessions as userSessions, schema_users as users };
42078
+ export { schema_RawEventSampleEventTypes as RawEventSampleEventTypes, schema_adsActivationGrants as adsActivationGrants, schema_adsAdGroups as adsAdGroups, schema_adsAds as adsAds, schema_adsCampaigns as adsCampaigns, schema_adsConnections as adsConnections, schema_adsInsightsDaily as adsInsightsDaily, schema_adsOperationSteps as adsOperationSteps, schema_adsOperations as adsOperations, schema_agentConversations as agentConversations, schema_agentJourneyCaptureDays as agentJourneyCaptureDays, schema_agentJourneyEvents as agentJourneyEvents, schema_agentMemory as agentMemory, schema_agentScannerClients as agentScannerClients, schema_agentSessions as agentSessions, schema_agentToolEvents as agentToolEvents, schema_aiReferralEventsHourly as aiReferralEventsHourly, schema_aiReferralVisitors as aiReferralVisitors, schema_aiUserFetchEventsHourly as aiUserFetchEventsHourly, schema_aiUserFetchLikelyFakeHourly as aiUserFetchLikelyFakeHourly, schema_aiUserFetchVerificationManifestsHourly as aiUserFetchVerificationManifestsHourly, schema_apiKeys as apiKeys, schema_auditLog as auditLog, schema_backlinkDomains as backlinkDomains, schema_backlinkSummaries as backlinkSummaries, schema_bingConnections as bingConnections, schema_bingCoverageSnapshots as bingCoverageSnapshots, schema_bingCrawlStats as bingCrawlStats, schema_bingKeywordDemand as bingKeywordDemand, schema_bingKeywordStats as bingKeywordStats, schema_bingPageStats as bingPageStats, schema_bingQueryStats as bingQueryStats, schema_bingSiteSnapshots as bingSiteSnapshots, schema_bingSitemaps as bingSitemaps, schema_bingTrafficDaily as bingTrafficDaily, schema_bingUrlInspections as bingUrlInspections, schema_ccReleaseSyncs as ccReleaseSyncs, schema_chatgptLoginTransactions as chatgptLoginTransactions, schema_chatgptPlanConnections as chatgptPlanConnections, schema_competitors as competitors, schema_contentTargetDismissals as contentTargetDismissals, schema_conversionTrackingContracts as conversionTrackingContracts, schema_crawlerEventsHourly as crawlerEventsHourly, schema_crawlerVerificationManifestsHourly as crawlerVerificationManifestsHourly, schema_dashboardSessions as dashboardSessions, schema_dataRepairCompletions as dataRepairCompletions, schema_discoveryProbes as discoveryProbes, schema_discoverySessions as discoverySessions, schema_doctorHealthState as doctorHealthState, schema_domainClassifications as domainClassifications, schema_gaAcquisitionDaily as gaAcquisitionDaily, schema_gaAiReferrals as gaAiReferrals, schema_gaConnections as gaConnections, schema_gaDailyTotals as gaDailyTotals, schema_gaLeadEventsDaily as gaLeadEventsDaily, schema_gaMeasurementSyncStates as gaMeasurementSyncStates, schema_gaSearchLandingPages as gaSearchLandingPages, schema_gaSearchLandingWindows as gaSearchLandingWindows, schema_gaSocialReferrals as gaSocialReferrals, schema_gaSyncCoverage as gaSyncCoverage, schema_gaTrafficSnapshots as gaTrafficSnapshots, schema_gaTrafficSummaries as gaTrafficSummaries, schema_gaTrafficWindowSummaries as gaTrafficWindowSummaries, schema_gaWindowMetrics as gaWindowMetrics, schema_gbpAttributesSnapshots as gbpAttributesSnapshots, schema_gbpDailyMetrics as gbpDailyMetrics, schema_gbpKeywordImpressions as gbpKeywordImpressions, schema_gbpKeywordMonthly as gbpKeywordMonthly, schema_gbpLocations as gbpLocations, schema_gbpLodgingSnapshots as gbpLodgingSnapshots, schema_gbpPlaceActions as gbpPlaceActions, schema_gbpPlaceDetails as gbpPlaceDetails, schema_gbpReviewRatings as gbpReviewRatings, schema_gbpReviewSettings as gbpReviewSettings, schema_gbpReviews as gbpReviews, schema_googleAdsConnections as googleAdsConnections, schema_googleAdsRawSnapshots as googleAdsRawSnapshots, schema_googleConnections as googleConnections, schema_gscCoverageSnapshots as gscCoverageSnapshots, schema_gscDailyTotals as gscDailyTotals, schema_gscDataWatermarks as gscDataWatermarks, schema_gscQueryDailyTotals as gscQueryDailyTotals, schema_gscSearchData as gscSearchData, schema_gscSitemaps as gscSitemaps, schema_gscUrlInspections as gscUrlInspections, schema_gtmConnections as gtmConnections, schema_gtmRawSnapshots as gtmRawSnapshots, schema_healthSnapshots as healthSnapshots, schema_insightNotifyState as insightNotifyState, schema_insights as insights, schema_journeyEvents as journeyEvents, schema_journeyVisitorAliases as journeyVisitorAliases, schema_journeyVisitors as journeyVisitors, schema_journeyVisits as journeyVisits, schema_llmUsageEvents as llmUsageEvents, schema_marketCompetitorNames as marketCompetitorNames, schema_measurementDiscoveryConfigs as measurementDiscoveryConfigs, schema_measurementOperationReceipts as measurementOperationReceipts, schema_measurementPlanDrafts as measurementPlanDrafts, schema_measurementPlanVersions as measurementPlanVersions, schema_measurementPlans as measurementPlans, schema_measurementQuerySetItems as measurementQuerySetItems, schema_measurementQuerySets as measurementQuerySets, schema_measurementQueryTemplates as measurementQueryTemplates, schema_measurementSegments as measurementSegments, schema_migrationsTable as migrationsTable, schema_notifications as notifications, schema_oauthAuthorizationCodes as oauthAuthorizationCodes, schema_oauthClients as oauthClients, schema_oauthGrants as oauthGrants, schema_oauthTokens as oauthTokens, schema_projects as projects, schema_providerBatchRequests as providerBatchRequests, schema_providerBatches as providerBatches, schema_providerConnectionTests as providerConnectionTests, schema_queries as queries, schema_queryBasketVersions as queryBasketVersions, schema_querySnapshots as querySnapshots, schema_rawEventSamples as rawEventSamples, schema_recommendationBriefs as recommendationBriefs, schema_recommendationExplanations as recommendationExplanations, schema_researchRunQueries as researchRunQueries, schema_researchRuns as researchRuns, schema_reviewWebhookDeliveries as reviewWebhookDeliveries, schema_runFills as runFills, schema_runs as runs, schema_runtimeLogMetadata as runtimeLogMetadata, schema_runtimeLogs as runtimeLogs, schema_schedules as schedules, schema_sentimentAttempts as sentimentAttempts, schema_sentimentCompletionReceipts as sentimentCompletionReceipts, schema_sentimentDefinitions as sentimentDefinitions, schema_sentimentDispatchState as sentimentDispatchState, schema_sentimentJobItems as sentimentJobItems, schema_sentimentJobs as sentimentJobs, schema_sentimentResults as sentimentResults, schema_sentimentSettings as sentimentSettings, schema_sentimentWorkItems as sentimentWorkItems, schema_seoBudgets as seoBudgets, schema_seoJobs as seoJobs, schema_seoProfiles as seoProfiles, schema_seoTasks as seoTasks, schema_simpleMeasurementDefinitions as simpleMeasurementDefinitions, schema_siteAuditPages as siteAuditPages, schema_siteAuditSnapshots as siteAuditSnapshots, schema_siteCrawlAttempts as siteCrawlAttempts, schema_siteCrawlEdges as siteCrawlEdges, schema_siteCrawlEventReceipts as siteCrawlEventReceipts, schema_siteCrawlFindings as siteCrawlFindings, schema_siteCrawlGraphEdges as siteCrawlGraphEdges, schema_siteCrawlGraphLayouts as siteCrawlGraphLayouts, schema_siteCrawlGraphNodes as siteCrawlGraphNodes, schema_siteCrawlPages as siteCrawlPages, schema_siteCrawlRunRequests as siteCrawlRunRequests, schema_siteCrawlSnapshots as siteCrawlSnapshots, schema_siteHealthNotifyState as siteHealthNotifyState, schema_siteLivenessState as siteLivenessState, schema_sitemapListSyncs as sitemapListSyncs, schema_trafficEventReceipts as trafficEventReceipts, schema_trafficReclassificationState as trafficReclassificationState, schema_trafficSources as trafficSources, schema_unrecognizedAgentEventsHourly as unrecognizedAgentEventsHourly, schema_unrecognizedAgentNotifyState as unrecognizedAgentNotifyState, schema_usageCounters as usageCounters, schema_userExternalIdentities as userExternalIdentities, schema_userInvitations as userInvitations, schema_userSessions as userSessions, schema_users as users };
41275
42079
  export type { schema_RawEventSampleEventType as RawEventSampleEventType, schema_StoredAiReferralArrival as StoredAiReferralArrival };
41276
42080
  }
41277
42081
 
@@ -41753,7 +42557,37 @@ interface PlacesConfigEntry {
41753
42557
  tier?: 'atmosphere' | 'pro' | 'off';
41754
42558
  refreshIntervalDays?: number;
41755
42559
  }
42560
+ /**
42561
+ * Sign in with ChatGPT (see docs/chatgpt-sign-in.md). Off unless `clientId` is
42562
+ * set and `signIn` or `planUsage` is true, and only on an install with an
42563
+ * HTTPS `publicUrl`: OpenAI redirects back to
42564
+ * `<publicUrl>/api/v1/auth/chatgpt/callback`, which must be registered with
42565
+ * OpenAI exactly.
42566
+ */
42567
+ interface ChatGptConfigEntry {
42568
+ /** The OAuth client OpenAI registered for this install. */
42569
+ clientId?: string;
42570
+ /** Only for a confidential client. */
42571
+ clientSecret?: string;
42572
+ /** Offer "Continue with ChatGPT" on the sign-in screen to invited people. */
42573
+ signIn?: boolean;
42574
+ /** Run each signed-in viewer's Aero on their own ChatGPT plan. Needs OpenAI's plan approval and `tokenKey`. */
42575
+ planUsage?: boolean;
42576
+ /**
42577
+ * Viewers must connect their own ChatGPT plan to use Aero, so the install's
42578
+ * provider key never pays for viewer Aero. Needs `planUsage`.
42579
+ */
42580
+ requirePlan?: boolean;
42581
+ /**
42582
+ * 64 hex characters (`openssl rand -hex 32`) that encrypt plan tokens at
42583
+ * rest. `CANONRY_CHATGPT_TOKEN_KEY` overrides it. Changing it asks every
42584
+ * connected person to connect again.
42585
+ */
42586
+ tokenKey?: string;
42587
+ }
41756
42588
  interface CanonryConfig {
42589
+ /** Sign in with ChatGPT and ChatGPT plan usage for Aero. */
42590
+ chatgpt?: ChatGptConfigEntry;
41757
42591
  /** DataForSEO credentials and operator-set funding policy; config.yaml only. */
41758
42592
  seo?: SeoInstallConfig;
41759
42593
  /** Model for domain classification, separate from the measured sweep engines and Aero. */