@canonry/canonry 7.56.1 → 7.57.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 (129) hide show
  1. package/assets/agent-workspace/skills/canonry/references/google-business-profile.md +1 -1
  2. package/assets/assets/{AgentSetupPage-BkKw_in_.js → AgentSetupPage-C-kQupMX.js} +1 -1
  3. package/assets/assets/{AuditHistoryPanel-UtRnS-sh.js → AuditHistoryPanel-DvZk-ikR.js} +1 -1
  4. package/assets/assets/{BacklinksPage-DCSmuAOQ.js → BacklinksPage-TLB85t4y.js} +1 -1
  5. package/assets/assets/{HistoryPage-DzpqCNJM.js → HistoryPage-C4nHeKDs.js} +1 -1
  6. package/assets/assets/{MeasurementPropertyPage-Dh0BJw_f.js → MeasurementPropertyPage-8E17rN5d.js} +1 -1
  7. package/assets/assets/{ProjectPage-D-9IeFap.js → ProjectPage-B4SbAE_N.js} +1 -1
  8. package/assets/assets/{RunsPage-DtllYN3I.js → RunsPage-Enho1Wqz.js} +1 -1
  9. package/assets/assets/{SettingsPage-_p15s-OC.js → SettingsPage-BjLpSN4f.js} +1 -1
  10. package/assets/assets/{SiteHealthSection-BEpXTW3G.js → SiteHealthSection-BUOBO4VH.js} +2 -2
  11. package/assets/assets/ToneBadge-BLQKJIMR.js +60 -0
  12. package/assets/assets/{TrafficPage-wru6cQPP.js → TrafficPage-BtjRPsdl.js} +1 -1
  13. package/assets/assets/{TrafficSourceDetailPage-_XKbd-aS.js → TrafficSourceDetailPage-Bw-9JMOF.js} +1 -1
  14. package/assets/assets/{account-context-BekDho6K.js → account-context-bLel7cL8.js} +1 -1
  15. package/assets/assets/{card-By9JlCCv.js → card-DFlbarlV.js} +1 -1
  16. package/assets/assets/{extract-error-message-SMPhaAkr.js → extract-error-message-BYvs9oIt.js} +1 -1
  17. package/assets/assets/{format-helpers-CVjOUs0j.js → format-helpers-DPVlVrlp.js} +1 -1
  18. package/assets/assets/{index-el2M4tYf.js → index-DWP0Oz6d.js} +4 -4
  19. package/assets/assets/{query-client-8RITTP1A.js → query-client-DLuEpFRm.js} +1 -1
  20. package/assets/assets/{react-query-BXwc1UHc.js → react-query-BVY1CIRz.js} +1 -1
  21. package/assets/assets/{react-sigma_core.esm.min-CM12VcoB.js → react-sigma_core.esm.min-BaR2koVY.js} +1 -1
  22. package/assets/assets/{service-B0wkGxvy.js → service-DiBkOka7.js} +1 -1
  23. package/assets/index.html +7 -7
  24. package/dist/{ads-SPXNKDEW.js → ads-6PCFYPZ6.js} +3 -3
  25. package/dist/{agent-THPYOGXD.js → agent-UA3J23KG.js} +7 -7
  26. package/dist/{agent-ask-VHRA5RVU.js → agent-ask-D4RWVHZX.js} +3 -3
  27. package/dist/{agent-conversations-5HXXVMZV.js → agent-conversations-BSKUJF7H.js} +3 -3
  28. package/dist/{agent-memory-SKBUFHGV.js → agent-memory-ENPPLOV7.js} +3 -3
  29. package/dist/{agent-providers-TOIA75C6.js → agent-providers-5NV7YEVG.js} +3 -3
  30. package/dist/{agent-transcript-DFE2PDTS.js → agent-transcript-TXDTQ7Q2.js} +3 -3
  31. package/dist/{analytics-JJHPK2TK.js → analytics-6ITOJIGW.js} +3 -3
  32. package/dist/{apply-AC36NXPF.js → apply-EPQXYQRO.js} +3 -3
  33. package/dist/{backfill-73XI3CEL.js → backfill-4LAL4IIT.js} +9 -9
  34. package/dist/{backlinks-EKSQJXMS.js → backlinks-ECIDQQ4I.js} +3 -3
  35. package/dist/{bing-XZQ6CQM4.js → bing-LHTVVJK7.js} +3 -3
  36. package/dist/{bootstrap-GJUT3AVH.js → bootstrap-KHYUCFLP.js} +10 -10
  37. package/dist/{cdp-QROXKBXS.js → cdp-YZWEKVRO.js} +7 -7
  38. package/dist/{chunk-AOBMI5UM.js → chunk-2R32P77U.js} +1 -1
  39. package/dist/{chunk-NZ6KZLTM.js → chunk-3HRHHFQM.js} +6 -1
  40. package/dist/{chunk-A3NZOK4X.js → chunk-3OTH3ABK.js} +4 -4
  41. package/dist/{chunk-ADCVXKSD.js → chunk-522MYBLV.js} +1 -1
  42. package/dist/{chunk-37YB52NM.js → chunk-5AJWITKP.js} +45 -1
  43. package/dist/{chunk-SJLCALSV.js → chunk-5L2ZTXBH.js} +3 -3
  44. package/dist/{chunk-RELKG6XH.js → chunk-6MK426LA.js} +2 -2
  45. package/dist/{chunk-TJJLANDV.js → chunk-BJN7FNIB.js} +4 -4
  46. package/dist/{chunk-2Z7FALTN.js → chunk-BURMKOEF.js} +2 -2
  47. package/dist/{chunk-TPCXTUL5.js → chunk-E3YBETL6.js} +1 -1
  48. package/dist/{chunk-ZNAAZHNT.js → chunk-F7WRZW3A.js} +47 -3
  49. package/dist/{chunk-VRFTXW6H.js → chunk-FHYOQI26.js} +3343 -2299
  50. package/dist/{chunk-DDM6PVXJ.js → chunk-GT7HWKBO.js} +3 -3
  51. package/dist/{chunk-VZURJP3T.js → chunk-HPC3CBPI.js} +1 -1
  52. package/dist/{chunk-UJRPQOKE.js → chunk-J4YFSAAY.js} +8 -8
  53. package/dist/{chunk-JZEK26CT.js → chunk-JQS2H65K.js} +375 -325
  54. package/dist/{chunk-C5LD76KR.js → chunk-JWBFDZIP.js} +3 -3
  55. package/dist/{chunk-WRYVESRH.js → chunk-KRIZF753.js} +1 -1
  56. package/dist/{chunk-NSE55FZE.js → chunk-LCC5ZJPV.js} +2 -2
  57. package/dist/{chunk-F5DLOQ3B.js → chunk-MVUYDJ7G.js} +2 -2
  58. package/dist/{chunk-H4IJXVG5.js → chunk-NUHCDBKR.js} +5 -5
  59. package/dist/{chunk-UDF3A2O7.js → chunk-OAA7RHMG.js} +5 -5
  60. package/dist/{chunk-CFGQOIXW.js → chunk-OJ5IDPYY.js} +3 -3
  61. package/dist/{chunk-Q5ZRUA57.js → chunk-S2UDQAT7.js} +1 -1
  62. package/dist/{chunk-4J7PL5R2.js → chunk-SHUTA74W.js} +618 -282
  63. package/dist/{chunk-V4V7WOHY.js → chunk-SOKD3TRA.js} +46 -2
  64. package/dist/{chunk-QAGZQ2DY.js → chunk-TIKT62IV.js} +1749 -1634
  65. package/dist/{chunk-SVLNIJS2.js → chunk-TIYL4KVS.js} +1 -1
  66. package/dist/{chunk-P2OVWQKT.js → chunk-TXBL3N46.js} +1 -1
  67. package/dist/{chunk-W5FAL4LJ.js → chunk-ULFDCKIC.js} +4 -4
  68. package/dist/{chunk-ZOVL5NAP.js → chunk-VF36TGF4.js} +1 -1
  69. package/dist/{chunk-4QRF7TNW.js → chunk-XXYBDAS2.js} +2 -2
  70. package/dist/{chunk-PUTJ6LPE.js → chunk-YFUQHJRZ.js} +1 -1
  71. package/dist/{chunk-RCCZ6VGK.js → chunk-ZUAXF73A.js} +1 -1
  72. package/dist/{citations-5ARZ6M42.js → citations-HXVWVRDO.js} +3 -3
  73. package/dist/{cli-catalog-XD7VY3ES.js → cli-catalog-EDAH3242.js} +3 -3
  74. package/dist/{cli-commands-FWCI6VIN.js → cli-commands-NUXQWIKA.js} +7 -7
  75. package/dist/cli.js +13 -13
  76. package/dist/{competitor-XWTEIVZL.js → competitor-XYPBUM4Q.js} +3 -3
  77. package/dist/{content-4EVGV32G.js → content-SDTRO2XT.js} +3 -3
  78. package/dist/{dashboard-QZXKGD6T.js → dashboard-55IRUB73.js} +6 -6
  79. package/dist/{demo-3DMRH7BC.js → demo-KEFXTKRQ.js} +1 -1
  80. package/dist/{demo-server-TU3BW763.js → demo-server-BDQDPUWN.js} +11 -11
  81. package/dist/{discover-VQYJ4UOL.js → discover-I6AQJPUK.js} +3 -3
  82. package/dist/{discover-eval-FMEMPSM3.js → discover-eval-GLGBZC7B.js} +3 -3
  83. package/dist/{doctor-VYES5HCM.js → doctor-Q47J7GZI.js} +3 -3
  84. package/dist/{evidence-BG45EBS3.js → evidence-AMLTPRHA.js} +3 -3
  85. package/dist/{export-cmd-PQZCMR7C.js → export-cmd-NTCX43DE.js} +3 -3
  86. package/dist/{ga-ZQL2LHQA.js → ga-END6LQJW.js} +3 -3
  87. package/dist/{gbp-KNWDBHFM.js → gbp-CVJXSTTB.js} +33 -4
  88. package/dist/{google-GOKE6J5E.js → google-4OCFGWGV.js} +4 -4
  89. package/dist/{google-marketing-7DYEKRHS.js → google-marketing-NW27PADK.js} +1 -1
  90. package/dist/{health-cmd-4OZ7EYWI.js → health-cmd-2KMNASB3.js} +3 -3
  91. package/dist/{history-U2W77DIY.js → history-6LBFXVKF.js} +3 -3
  92. package/dist/index.d.ts +311 -5
  93. package/dist/index.js +24 -24
  94. package/dist/{init-LEGXLKPA.js → init-542CZBNS.js} +11 -11
  95. package/dist/{insights-LWMDBEYC.js → insights-YH7NP5LX.js} +3 -3
  96. package/dist/intelligence-service-6IVSAF2X.js +15 -0
  97. package/dist/{keys-RSKVNMJI.js → keys-CJ5DTL4Y.js} +3 -3
  98. package/dist/{keyword-IM4GUM5U.js → keyword-7FMLF3B7.js} +3 -3
  99. package/dist/{logs-B35V2RPE.js → logs-362Y2Z55.js} +3 -3
  100. package/dist/{mcp-UFMKQFGP.js → mcp-RTJ3HZLY.js} +2 -2
  101. package/dist/mcp.js +9 -9
  102. package/dist/{measurement-plan-BOHLLJD5.js → measurement-plan-ICT6U62D.js} +5 -5
  103. package/dist/{notify-RQIQP5ZF.js → notify-HT7QBF3B.js} +3 -3
  104. package/dist/{organic-evidence-C3OZR7UY.js → organic-evidence-CAGEQ5OR.js} +3 -3
  105. package/dist/{overview-OVIPKMAY.js → overview-Y6RVRPC7.js} +4 -4
  106. package/dist/{project-QBUTYR6J.js → project-7OBPDHLH.js} +3 -3
  107. package/dist/{query-KCGET5FS.js → query-23GN3BC6.js} +3 -3
  108. package/dist/{research-HTURJWRL.js → research-N7EVBN47.js} +3 -3
  109. package/dist/{results-export-GJNXEXV4.js → results-export-BHEYAZXQ.js} +3 -3
  110. package/dist/{run-ZNTT7W5M.js → run-KVPMLHGQ.js} +4 -4
  111. package/dist/{schedule-S2ODDXFB.js → schedule-EZ2TLM22.js} +3 -3
  112. package/dist/{search-UW56VG5B.js → search-UHUPUGT3.js} +3 -3
  113. package/dist/{serve-UMF32HVA.js → serve-R2OR4ZF2.js} +25 -25
  114. package/dist/{session-GEJOH3FN.js → session-CSYHALIE.js} +12 -12
  115. package/dist/{settings-TGSORPVW.js → settings-QCFPNHSC.js} +3 -3
  116. package/dist/{skills-SBZZLY4T.js → skills-FXPAKCVV.js} +2 -2
  117. package/dist/{snapshot-OMS33CN4.js → snapshot-NY5PNDWR.js} +3 -3
  118. package/dist/{src-LKNW35M6.js → src-V6W5XBAI.js} +4 -2
  119. package/dist/{status-7D7NUW7M.js → status-MYXAVPIB.js} +4 -4
  120. package/dist/{technical-aeo-UFDHAV7G.js → technical-aeo-4C2EQ6C5.js} +3 -3
  121. package/dist/{telemetry-ZPVJITHJ.js → telemetry-SMY4NDD2.js} +4 -4
  122. package/dist/{tools-EJ5AHYFS.js → tools-HIRCGFM2.js} +11 -11
  123. package/dist/{traffic-T6YAKUY5.js → traffic-QTHEOB5M.js} +5 -5
  124. package/dist/{users-6N2YMWAP.js → users-FDZPHCWI.js} +3 -3
  125. package/dist/{visibility-stats-GODBRQVG.js → visibility-stats-6B3S3AIY.js} +3 -3
  126. package/dist/{wordpress-ISFI67TH.js → wordpress-5IIA4H3G.js} +3 -3
  127. package/package.json +1 -1
  128. package/assets/assets/ToneBadge-nxe12_3b.js +0 -60
  129. package/dist/intelligence-service-3JS4X4Y4.js +0 -15
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { FastifyInstance } from 'fastify';
2
2
  import * as drizzle_orm_better_sqlite3 from 'drizzle-orm/better-sqlite3';
3
3
  import Database from 'better-sqlite3';
4
- import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
5
4
  import { z } from 'zod';
5
+ import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
6
6
 
7
7
  /**
8
8
  * Operator price overrides for one provider (config.yaml
@@ -1094,6 +1094,71 @@ declare const googleMarketingProviderSchema: z.ZodEnum<{
1094
1094
  }>;
1095
1095
  type GoogleMarketingProvider = z.infer<typeof googleMarketingProviderSchema>;
1096
1096
 
1097
+ declare const gbpReviewOriginSchema: z.ZodEnum<{
1098
+ places: "places";
1099
+ gbp: "gbp";
1100
+ }>;
1101
+ type GbpReviewOrigin = z.infer<typeof gbpReviewOriginSchema>;
1102
+
1103
+ /** A location as named in a review webhook. */
1104
+ interface ReviewAlertLocation {
1105
+ /** Business Profile resource name, "locations/{n}". */
1106
+ name: string;
1107
+ displayName: string;
1108
+ /** Public Google Maps link for the location, when Google provides one. */
1109
+ mapsUri: string | null;
1110
+ }
1111
+ /**
1112
+ * Review events carry no `run`: they report on the business listing, not on a
1113
+ * sweep, for the same reason health payloads omit it.
1114
+ */
1115
+ interface ReviewWebhookPayload {
1116
+ source: 'canonry';
1117
+ event: 'review.negative';
1118
+ /** Stable material-review revision identity, shared across destination retries. */
1119
+ eventId?: string;
1120
+ project: {
1121
+ name: string;
1122
+ canonicalDomain: string;
1123
+ };
1124
+ /** Oldest first, so a receiver that posts one message per review keeps the order they arrived in. */
1125
+ reviews: Array<{
1126
+ location: ReviewAlertLocation;
1127
+ /** `gbp`: Business Profile reviews (every review). `places`: the public listing (at most five, by relevance). */
1128
+ origin: GbpReviewOrigin;
1129
+ /** Provider resource name, stable per origin. */
1130
+ reviewName: string;
1131
+ /** At or below the project's negative-review threshold (3 by default). */
1132
+ starRating: number;
1133
+ comment: string | null;
1134
+ reviewerName: string | null;
1135
+ createTime: string | null;
1136
+ /** Last edit by the reviewer (Places: when it was posted). */
1137
+ updateTime: string;
1138
+ /** Whether the owner has replied. Null for Places, which does not expose replies. */
1139
+ replied: boolean | null;
1140
+ /** Link to the review on Google Maps, when the origin provides one. */
1141
+ reviewUri: string | null;
1142
+ }>;
1143
+ dashboardUrl: string;
1144
+ }
1145
+ /**
1146
+ * One review event's delivery to one destination. `uncertain` is a chat send
1147
+ * that reached the network with no answer (never resent, since chat webhooks
1148
+ * cannot deduplicate); `failed` is a destination that refused it or a send out
1149
+ * of retries. Both wait for a person: the `gbp.reviews.delivery` doctor check
1150
+ * lists them.
1151
+ */
1152
+ declare const ReviewDeliveryStates: Readonly<{
1153
+ readonly Pending: "pending";
1154
+ readonly Attempting: "attempting";
1155
+ readonly Sent: "sent";
1156
+ readonly Uncertain: "uncertain";
1157
+ readonly Failed: "failed";
1158
+ readonly Canceled: "canceled";
1159
+ }>;
1160
+ type ReviewDeliveryState = (typeof ReviewDeliveryStates)[keyof typeof ReviewDeliveryStates];
1161
+
1097
1162
  /**
1098
1163
  * Providers that can drive the built-in Aero agent loop. Perplexity / local /
1099
1164
  * cdp:chatgpt are excluded (answer engine, unreliable tool-calling, browser
@@ -8771,6 +8836,245 @@ declare const notifications: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
8771
8836
  };
8772
8837
  dialect: "sqlite";
8773
8838
  }>;
8839
+ /**
8840
+ * One durable delivery per review event and configured destination (migration
8841
+ * 189), empty on upgrade. `state` follows `ReviewDeliveryStates`; `retry_at` is
8842
+ * when a pending delivery is next due.
8843
+ */
8844
+ declare const reviewWebhookDeliveries: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
8845
+ name: "review_webhook_deliveries";
8846
+ schema: undefined;
8847
+ columns: {
8848
+ id: drizzle_orm_sqlite_core.SQLiteColumn<{
8849
+ name: "id";
8850
+ tableName: "review_webhook_deliveries";
8851
+ dataType: "string";
8852
+ columnType: "SQLiteText";
8853
+ data: string;
8854
+ driverParam: string;
8855
+ notNull: true;
8856
+ hasDefault: false;
8857
+ isPrimaryKey: true;
8858
+ isAutoincrement: false;
8859
+ hasRuntimeDefault: false;
8860
+ enumValues: [string, ...string[]];
8861
+ baseColumn: never;
8862
+ identity: undefined;
8863
+ generated: undefined;
8864
+ }, {}, {
8865
+ length: number | undefined;
8866
+ }>;
8867
+ projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
8868
+ name: "project_id";
8869
+ tableName: "review_webhook_deliveries";
8870
+ dataType: "string";
8871
+ columnType: "SQLiteText";
8872
+ data: string;
8873
+ driverParam: string;
8874
+ notNull: true;
8875
+ hasDefault: false;
8876
+ isPrimaryKey: false;
8877
+ isAutoincrement: false;
8878
+ hasRuntimeDefault: false;
8879
+ enumValues: [string, ...string[]];
8880
+ baseColumn: never;
8881
+ identity: undefined;
8882
+ generated: undefined;
8883
+ }, {}, {
8884
+ length: number | undefined;
8885
+ }>;
8886
+ notificationId: drizzle_orm_sqlite_core.SQLiteColumn<{
8887
+ name: "notification_id";
8888
+ tableName: "review_webhook_deliveries";
8889
+ dataType: "string";
8890
+ columnType: "SQLiteText";
8891
+ data: string;
8892
+ driverParam: string;
8893
+ notNull: true;
8894
+ hasDefault: false;
8895
+ isPrimaryKey: false;
8896
+ isAutoincrement: false;
8897
+ hasRuntimeDefault: false;
8898
+ enumValues: [string, ...string[]];
8899
+ baseColumn: never;
8900
+ identity: undefined;
8901
+ generated: undefined;
8902
+ }, {}, {
8903
+ length: number | undefined;
8904
+ }>;
8905
+ eventId: drizzle_orm_sqlite_core.SQLiteColumn<{
8906
+ name: "event_id";
8907
+ tableName: "review_webhook_deliveries";
8908
+ dataType: "string";
8909
+ columnType: "SQLiteText";
8910
+ data: string;
8911
+ driverParam: string;
8912
+ notNull: true;
8913
+ hasDefault: false;
8914
+ isPrimaryKey: false;
8915
+ isAutoincrement: false;
8916
+ hasRuntimeDefault: false;
8917
+ enumValues: [string, ...string[]];
8918
+ baseColumn: never;
8919
+ identity: undefined;
8920
+ generated: undefined;
8921
+ }, {}, {
8922
+ length: number | undefined;
8923
+ }>;
8924
+ targetDigest: drizzle_orm_sqlite_core.SQLiteColumn<{
8925
+ name: "target_digest";
8926
+ tableName: "review_webhook_deliveries";
8927
+ dataType: "string";
8928
+ columnType: "SQLiteText";
8929
+ data: string;
8930
+ driverParam: string;
8931
+ notNull: true;
8932
+ hasDefault: false;
8933
+ isPrimaryKey: false;
8934
+ isAutoincrement: false;
8935
+ hasRuntimeDefault: false;
8936
+ enumValues: [string, ...string[]];
8937
+ baseColumn: never;
8938
+ identity: undefined;
8939
+ generated: undefined;
8940
+ }, {}, {
8941
+ length: number | undefined;
8942
+ }>;
8943
+ payload: drizzle_orm_sqlite_core.SQLiteColumn<{
8944
+ name: "payload";
8945
+ tableName: "review_webhook_deliveries";
8946
+ dataType: "json";
8947
+ columnType: "SQLiteTextJson";
8948
+ data: ReviewWebhookPayload;
8949
+ driverParam: string;
8950
+ notNull: true;
8951
+ hasDefault: false;
8952
+ isPrimaryKey: false;
8953
+ isAutoincrement: false;
8954
+ hasRuntimeDefault: false;
8955
+ enumValues: undefined;
8956
+ baseColumn: never;
8957
+ identity: undefined;
8958
+ generated: undefined;
8959
+ }, {}, {
8960
+ $type: ReviewWebhookPayload;
8961
+ }>;
8962
+ state: drizzle_orm_sqlite_core.SQLiteColumn<{
8963
+ name: "state";
8964
+ tableName: "review_webhook_deliveries";
8965
+ dataType: "string";
8966
+ columnType: "SQLiteText";
8967
+ data: ReviewDeliveryState;
8968
+ driverParam: string;
8969
+ notNull: true;
8970
+ hasDefault: true;
8971
+ isPrimaryKey: false;
8972
+ isAutoincrement: false;
8973
+ hasRuntimeDefault: false;
8974
+ enumValues: [string, ...string[]];
8975
+ baseColumn: never;
8976
+ identity: undefined;
8977
+ generated: undefined;
8978
+ }, {}, {
8979
+ length: number | undefined;
8980
+ $type: ReviewDeliveryState;
8981
+ }>;
8982
+ attempts: drizzle_orm_sqlite_core.SQLiteColumn<{
8983
+ name: "attempts";
8984
+ tableName: "review_webhook_deliveries";
8985
+ dataType: "number";
8986
+ columnType: "SQLiteInteger";
8987
+ data: number;
8988
+ driverParam: number;
8989
+ notNull: true;
8990
+ hasDefault: true;
8991
+ isPrimaryKey: false;
8992
+ isAutoincrement: false;
8993
+ hasRuntimeDefault: false;
8994
+ enumValues: undefined;
8995
+ baseColumn: never;
8996
+ identity: undefined;
8997
+ generated: undefined;
8998
+ }, {}, {}>;
8999
+ attemptedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
9000
+ name: "attempted_at";
9001
+ tableName: "review_webhook_deliveries";
9002
+ dataType: "string";
9003
+ columnType: "SQLiteText";
9004
+ data: string;
9005
+ driverParam: string;
9006
+ notNull: false;
9007
+ hasDefault: false;
9008
+ isPrimaryKey: false;
9009
+ isAutoincrement: false;
9010
+ hasRuntimeDefault: false;
9011
+ enumValues: [string, ...string[]];
9012
+ baseColumn: never;
9013
+ identity: undefined;
9014
+ generated: undefined;
9015
+ }, {}, {
9016
+ length: number | undefined;
9017
+ }>;
9018
+ retryAt: drizzle_orm_sqlite_core.SQLiteColumn<{
9019
+ name: "retry_at";
9020
+ tableName: "review_webhook_deliveries";
9021
+ dataType: "string";
9022
+ columnType: "SQLiteText";
9023
+ data: string;
9024
+ driverParam: string;
9025
+ notNull: false;
9026
+ hasDefault: false;
9027
+ isPrimaryKey: false;
9028
+ isAutoincrement: false;
9029
+ hasRuntimeDefault: false;
9030
+ enumValues: [string, ...string[]];
9031
+ baseColumn: never;
9032
+ identity: undefined;
9033
+ generated: undefined;
9034
+ }, {}, {
9035
+ length: number | undefined;
9036
+ }>;
9037
+ deliveredAt: drizzle_orm_sqlite_core.SQLiteColumn<{
9038
+ name: "delivered_at";
9039
+ tableName: "review_webhook_deliveries";
9040
+ dataType: "string";
9041
+ columnType: "SQLiteText";
9042
+ data: string;
9043
+ driverParam: string;
9044
+ notNull: false;
9045
+ hasDefault: false;
9046
+ isPrimaryKey: false;
9047
+ isAutoincrement: false;
9048
+ hasRuntimeDefault: false;
9049
+ enumValues: [string, ...string[]];
9050
+ baseColumn: never;
9051
+ identity: undefined;
9052
+ generated: undefined;
9053
+ }, {}, {
9054
+ length: number | undefined;
9055
+ }>;
9056
+ createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
9057
+ name: "created_at";
9058
+ tableName: "review_webhook_deliveries";
9059
+ dataType: "string";
9060
+ columnType: "SQLiteText";
9061
+ data: string;
9062
+ driverParam: string;
9063
+ notNull: true;
9064
+ hasDefault: false;
9065
+ isPrimaryKey: false;
9066
+ isAutoincrement: false;
9067
+ hasRuntimeDefault: false;
9068
+ enumValues: [string, ...string[]];
9069
+ baseColumn: never;
9070
+ identity: undefined;
9071
+ generated: undefined;
9072
+ }, {}, {
9073
+ length: number | undefined;
9074
+ }>;
9075
+ };
9076
+ dialect: "sqlite";
9077
+ }>;
8774
9078
  declare const googleConnections: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
8775
9079
  name: "google_connections";
8776
9080
  schema: undefined;
@@ -26650,7 +26954,7 @@ declare const gbpReviews: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
26650
26954
  tableName: "gbp_reviews";
26651
26955
  dataType: "string";
26652
26956
  columnType: "SQLiteText";
26653
- data: "gbp" | "places";
26957
+ data: "places" | "gbp";
26654
26958
  driverParam: string;
26655
26959
  notNull: true;
26656
26960
  hasDefault: false;
@@ -26663,7 +26967,7 @@ declare const gbpReviews: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
26663
26967
  generated: undefined;
26664
26968
  }, {}, {
26665
26969
  length: number | undefined;
26666
- $type: "gbp" | "places";
26970
+ $type: "places" | "gbp";
26667
26971
  }>;
26668
26972
  reviewName: drizzle_orm_sqlite_core.SQLiteColumn<{
26669
26973
  name: "review_name";
@@ -27061,7 +27365,7 @@ declare const gbpReviewRatings: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
27061
27365
  tableName: "gbp_review_ratings";
27062
27366
  dataType: "string";
27063
27367
  columnType: "SQLiteText";
27064
- data: "gbp" | "places";
27368
+ data: "places" | "gbp";
27065
27369
  driverParam: string;
27066
27370
  notNull: true;
27067
27371
  hasDefault: false;
@@ -27074,7 +27378,7 @@ declare const gbpReviewRatings: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
27074
27378
  generated: undefined;
27075
27379
  }, {}, {
27076
27380
  length: number | undefined;
27077
- $type: "gbp" | "places";
27381
+ $type: "places" | "gbp";
27078
27382
  }>;
27079
27383
  rating: drizzle_orm_sqlite_core.SQLiteColumn<{
27080
27384
  name: "rating";
@@ -34511,6 +34815,7 @@ declare const schema_recommendationBriefs: typeof recommendationBriefs;
34511
34815
  declare const schema_recommendationExplanations: typeof recommendationExplanations;
34512
34816
  declare const schema_researchRunQueries: typeof researchRunQueries;
34513
34817
  declare const schema_researchRuns: typeof researchRuns;
34818
+ declare const schema_reviewWebhookDeliveries: typeof reviewWebhookDeliveries;
34514
34819
  declare const schema_runFills: typeof runFills;
34515
34820
  declare const schema_runs: typeof runs;
34516
34821
  declare const schema_runtimeLogMetadata: typeof runtimeLogMetadata;
@@ -34646,6 +34951,7 @@ declare namespace schema {
34646
34951
  schema_recommendationExplanations as recommendationExplanations,
34647
34952
  schema_researchRunQueries as researchRunQueries,
34648
34953
  schema_researchRuns as researchRuns,
34954
+ schema_reviewWebhookDeliveries as reviewWebhookDeliveries,
34649
34955
  schema_runFills as runFills,
34650
34956
  schema_runs as runs,
34651
34957
  schema_runtimeLogMetadata as runtimeLogMetadata,
package/dist/index.js CHANGED
@@ -3,38 +3,38 @@ import {
3
3
  createGoogleMarketingCredentialStore,
4
4
  createGoogleMarketingRuntime,
5
5
  createServer
6
- } from "./chunk-4J7PL5R2.js";
7
- import "./chunk-RCCZ6VGK.js";
8
- import "./chunk-H4IJXVG5.js";
9
- import "./chunk-A3NZOK4X.js";
6
+ } from "./chunk-SHUTA74W.js";
7
+ import "./chunk-ZUAXF73A.js";
8
+ import "./chunk-NUHCDBKR.js";
9
+ import "./chunk-3OTH3ABK.js";
10
10
  import "./chunk-ELCLGWUT.js";
11
11
  import "./chunk-XEBKF4N5.js";
12
- import "./chunk-SVLNIJS2.js";
13
- import "./chunk-RELKG6XH.js";
14
- import "./chunk-W5FAL4LJ.js";
12
+ import "./chunk-TIYL4KVS.js";
13
+ import "./chunk-6MK426LA.js";
14
+ import "./chunk-ULFDCKIC.js";
15
15
  import "./chunk-TSENU4GG.js";
16
- import "./chunk-Q5ZRUA57.js";
17
- import "./chunk-4QRF7TNW.js";
18
- import "./chunk-CFGQOIXW.js";
16
+ import "./chunk-S2UDQAT7.js";
17
+ import "./chunk-XXYBDAS2.js";
18
+ import "./chunk-OJ5IDPYY.js";
19
19
  import "./chunk-4MJYGB56.js";
20
- import "./chunk-V4V7WOHY.js";
20
+ import "./chunk-SOKD3TRA.js";
21
21
  import {
22
22
  loadConfig
23
- } from "./chunk-PUTJ6LPE.js";
24
- import "./chunk-VZURJP3T.js";
25
- import "./chunk-F5DLOQ3B.js";
26
- import "./chunk-ZNAAZHNT.js";
27
- import "./chunk-WRYVESRH.js";
28
- import "./chunk-ADCVXKSD.js";
23
+ } from "./chunk-YFUQHJRZ.js";
24
+ import "./chunk-HPC3CBPI.js";
25
+ import "./chunk-MVUYDJ7G.js";
26
+ import "./chunk-F7WRZW3A.js";
27
+ import "./chunk-KRIZF753.js";
28
+ import "./chunk-522MYBLV.js";
29
29
  import "./chunk-AOJU5LKX.js";
30
30
  import "./chunk-HGMYEDAQ.js";
31
- import "./chunk-UDF3A2O7.js";
32
- import "./chunk-ZOVL5NAP.js";
33
- import "./chunk-VRFTXW6H.js";
34
- import "./chunk-P2OVWQKT.js";
35
- import "./chunk-AOBMI5UM.js";
36
- import "./chunk-37YB52NM.js";
37
- import "./chunk-QAGZQ2DY.js";
31
+ import "./chunk-OAA7RHMG.js";
32
+ import "./chunk-VF36TGF4.js";
33
+ import "./chunk-FHYOQI26.js";
34
+ import "./chunk-TXBL3N46.js";
35
+ import "./chunk-2R32P77U.js";
36
+ import "./chunk-5AJWITKP.js";
37
+ import "./chunk-TIKT62IV.js";
38
38
  import "./chunk-MLKGABMK.js";
39
39
  export {
40
40
  GoogleMarketingRuntimeError,
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  installMcp
3
- } from "./chunk-TPCXTUL5.js";
3
+ } from "./chunk-E3YBETL6.js";
4
4
  import {
5
5
  trackCliConnection
6
- } from "./chunk-2Z7FALTN.js";
6
+ } from "./chunk-BURMKOEF.js";
7
7
  import {
8
8
  buildSetupState,
9
9
  queueServeHandoff
10
- } from "./chunk-TJJLANDV.js";
10
+ } from "./chunk-BJN7FNIB.js";
11
11
  import "./chunk-VJWDBFSL.js";
12
- import "./chunk-W5FAL4LJ.js";
13
- import "./chunk-Q5ZRUA57.js";
12
+ import "./chunk-ULFDCKIC.js";
13
+ import "./chunk-S2UDQAT7.js";
14
14
  import {
15
15
  cliRuntimeContext,
16
16
  installAttribution,
@@ -18,7 +18,7 @@ import {
18
18
  recordInstallRef,
19
19
  showFirstRunNotice,
20
20
  trackEvent
21
- } from "./chunk-4QRF7TNW.js";
21
+ } from "./chunk-XXYBDAS2.js";
22
22
  import {
23
23
  configExists,
24
24
  getBootstrapEnv,
@@ -26,24 +26,24 @@ import {
26
26
  getConfigPath,
27
27
  saveConfig,
28
28
  withBootstrapProviderDefaults
29
- } from "./chunk-PUTJ6LPE.js";
29
+ } from "./chunk-YFUQHJRZ.js";
30
30
  import {
31
31
  installSkills
32
- } from "./chunk-VZURJP3T.js";
32
+ } from "./chunk-HPC3CBPI.js";
33
33
  import "./chunk-AOJU5LKX.js";
34
34
  import {
35
35
  CliError,
36
36
  isMachineFormat
37
37
  } from "./chunk-HGMYEDAQ.js";
38
- import "./chunk-AOBMI5UM.js";
38
+ import "./chunk-2R32P77U.js";
39
39
  import {
40
40
  apiKeys,
41
41
  createClient,
42
42
  migrate
43
- } from "./chunk-37YB52NM.js";
43
+ } from "./chunk-5AJWITKP.js";
44
44
  import {
45
45
  describeError
46
- } from "./chunk-QAGZQ2DY.js";
46
+ } from "./chunk-TIKT62IV.js";
47
47
  import "./chunk-MLKGABMK.js";
48
48
 
49
49
  // src/commands/init.ts
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-V4V7WOHY.js";
4
- import "./chunk-PUTJ6LPE.js";
3
+ } from "./chunk-SOKD3TRA.js";
4
+ import "./chunk-YFUQHJRZ.js";
5
5
  import {
6
6
  emitJsonl
7
7
  } from "./chunk-Z7IUAJOF.js";
@@ -9,7 +9,7 @@ import "./chunk-AOJU5LKX.js";
9
9
  import {
10
10
  isMachineFormat
11
11
  } from "./chunk-HGMYEDAQ.js";
12
- import "./chunk-QAGZQ2DY.js";
12
+ import "./chunk-TIKT62IV.js";
13
13
  import "./chunk-MLKGABMK.js";
14
14
 
15
15
  // src/commands/insights.ts
@@ -0,0 +1,15 @@
1
+ import {
2
+ HISTORY_WINDOW_RUNS,
3
+ IntelligenceService
4
+ } from "./chunk-OAA7RHMG.js";
5
+ import "./chunk-VF36TGF4.js";
6
+ import "./chunk-FHYOQI26.js";
7
+ import "./chunk-TXBL3N46.js";
8
+ import "./chunk-2R32P77U.js";
9
+ import "./chunk-5AJWITKP.js";
10
+ import "./chunk-TIKT62IV.js";
11
+ import "./chunk-MLKGABMK.js";
12
+ export {
13
+ HISTORY_WINDOW_RUNS,
14
+ IntelligenceService
15
+ };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-V4V7WOHY.js";
4
- import "./chunk-PUTJ6LPE.js";
3
+ } from "./chunk-SOKD3TRA.js";
4
+ import "./chunk-YFUQHJRZ.js";
5
5
  import {
6
6
  emitJsonl
7
7
  } from "./chunk-Z7IUAJOF.js";
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  READ_ONLY_SCOPE,
15
15
  formatIsoDate
16
- } from "./chunk-QAGZQ2DY.js";
16
+ } from "./chunk-TIKT62IV.js";
17
17
  import "./chunk-MLKGABMK.js";
18
18
 
19
19
  // src/commands/keys.ts
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-V4V7WOHY.js";
4
- import "./chunk-PUTJ6LPE.js";
3
+ } from "./chunk-SOKD3TRA.js";
4
+ import "./chunk-YFUQHJRZ.js";
5
5
  import {
6
6
  emitJsonl
7
7
  } from "./chunk-Z7IUAJOF.js";
@@ -10,7 +10,7 @@ import {
10
10
  CliError,
11
11
  isMachineFormat
12
12
  } from "./chunk-HGMYEDAQ.js";
13
- import "./chunk-QAGZQ2DY.js";
13
+ import "./chunk-TIKT62IV.js";
14
14
  import "./chunk-MLKGABMK.js";
15
15
 
16
16
  // src/commands/keyword.ts
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-V4V7WOHY.js";
4
- import "./chunk-PUTJ6LPE.js";
3
+ } from "./chunk-SOKD3TRA.js";
4
+ import "./chunk-YFUQHJRZ.js";
5
5
  import "./chunk-AOJU5LKX.js";
6
6
  import {
7
7
  isMachineFormat,
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-HGMYEDAQ.js";
10
10
  import {
11
11
  logQuerySchema
12
- } from "./chunk-QAGZQ2DY.js";
12
+ } from "./chunk-TIKT62IV.js";
13
13
  import "./chunk-MLKGABMK.js";
14
14
 
15
15
  // src/commands/logs.ts
@@ -2,10 +2,10 @@ import {
2
2
  installMcp,
3
3
  printMcpConfig,
4
4
  renderClientSnippet
5
- } from "./chunk-TPCXTUL5.js";
5
+ } from "./chunk-E3YBETL6.js";
6
6
  import "./chunk-VJWDBFSL.js";
7
7
  import "./chunk-HGMYEDAQ.js";
8
- import "./chunk-QAGZQ2DY.js";
8
+ import "./chunk-TIKT62IV.js";
9
9
  import "./chunk-MLKGABMK.js";
10
10
  export {
11
11
  installMcp,
package/dist/mcp.js CHANGED
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  autoSyncSkills
3
- } from "./chunk-DDM6PVXJ.js";
3
+ } from "./chunk-GT7HWKBO.js";
4
4
  import {
5
5
  createCanonryMcpServer
6
- } from "./chunk-CFGQOIXW.js";
6
+ } from "./chunk-OJ5IDPYY.js";
7
7
  import "./chunk-4MJYGB56.js";
8
8
  import {
9
9
  createApiClient
10
- } from "./chunk-V4V7WOHY.js";
11
- import "./chunk-PUTJ6LPE.js";
12
- import "./chunk-VZURJP3T.js";
13
- import "./chunk-ZNAAZHNT.js";
14
- import "./chunk-WRYVESRH.js";
15
- import "./chunk-ADCVXKSD.js";
10
+ } from "./chunk-SOKD3TRA.js";
11
+ import "./chunk-YFUQHJRZ.js";
12
+ import "./chunk-HPC3CBPI.js";
13
+ import "./chunk-F7WRZW3A.js";
14
+ import "./chunk-KRIZF753.js";
15
+ import "./chunk-522MYBLV.js";
16
16
  import "./chunk-AOJU5LKX.js";
17
17
  import "./chunk-HGMYEDAQ.js";
18
18
  import {
19
19
  isReadOnlyKey,
20
20
  updateCheckEnvOptOut
21
- } from "./chunk-QAGZQ2DY.js";
21
+ } from "./chunk-TIKT62IV.js";
22
22
  import "./chunk-MLKGABMK.js";
23
23
 
24
24
  // src/mcp/cli.ts
@@ -14,14 +14,14 @@ import {
14
14
  showMeasurementProperty,
15
15
  showMeasurementPropertyEvidence,
16
16
  showMeasurementReport
17
- } from "./chunk-SJLCALSV.js";
18
- import "./chunk-V4V7WOHY.js";
19
- import "./chunk-PUTJ6LPE.js";
17
+ } from "./chunk-5L2ZTXBH.js";
18
+ import "./chunk-SOKD3TRA.js";
19
+ import "./chunk-YFUQHJRZ.js";
20
20
  import "./chunk-Z7IUAJOF.js";
21
- import "./chunk-ADCVXKSD.js";
21
+ import "./chunk-522MYBLV.js";
22
22
  import "./chunk-AOJU5LKX.js";
23
23
  import "./chunk-HGMYEDAQ.js";
24
- import "./chunk-QAGZQ2DY.js";
24
+ import "./chunk-TIKT62IV.js";
25
25
  import "./chunk-MLKGABMK.js";
26
26
  export {
27
27
  ADVANCED_MEASUREMENT_OPERATIONS,