hot-updater 1.0.0-rc.8 → 1.0.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 (760) hide show
  1. package/dist/agent/verify-server.mjs +381 -0
  2. package/dist/config.d.mts +1 -16
  3. package/dist/config.mjs +2 -2
  4. package/dist/{keyGeneration-BKMUY8Y4.mjs → fingerprint-D0Q1Sl5G.mjs} +102 -129
  5. package/dist/index.mjs +3322 -2154
  6. package/dist/infra-templates/aws/COMMON.md +233 -88
  7. package/dist/infra-templates/aws/ENVIRONMENT.md +9 -7
  8. package/dist/infra-templates/aws/SETUP.md +146 -54
  9. package/dist/infra-templates/aws/app/hot-updater.config.bare.ts +6 -2
  10. package/dist/infra-templates/aws/app/hot-updater.config.expo.ts +6 -2
  11. package/dist/infra-templates/aws/app/hot-updater.config.rock.ts +6 -2
  12. package/dist/infra-templates/aws/app/hotUpdater.ts +28 -0
  13. package/dist/infra-templates/aws/app/provision-client-credential.mjs +87 -0
  14. package/dist/infra-templates/aws/app/verify-server.mjs +381 -0
  15. package/dist/infra-templates/aws/cloudfront/catalog-cache-policy.json +1 -1
  16. package/dist/infra-templates/aws/cloudfront/distribution.json +42 -1
  17. package/dist/infra-templates/aws/cloudfront/origin-request-policy.json +1 -1
  18. package/dist/infra-templates/aws/dynamodb/create-table.json +29 -0
  19. package/dist/infra-templates/aws/dynamodb/enable-pitr.json +6 -0
  20. package/dist/infra-templates/aws/dynamodb/enable-ttl.json +7 -0
  21. package/dist/infra-templates/aws/dynamodb/schema-settings.json +111 -0
  22. package/dist/infra-templates/aws/iam/dynamodb-policy.json +92 -0
  23. package/dist/infra-templates/aws/iam/s3-policy.json +23 -0
  24. package/dist/infra-templates/aws/iam/ssm-policy.json +12 -0
  25. package/dist/infra-templates/aws/iam/trust-policy.json +15 -0
  26. package/dist/infra-templates/aws/lambda/index.cjs +10513 -6407
  27. package/dist/infra-templates/aws/lambda/index.d.cts +344 -1
  28. package/dist/infra-templates/aws/lambda/package.json +1 -1
  29. package/dist/infra-templates/aws/reference/dynamodb.ts +104 -45
  30. package/dist/infra-templates/aws/reference/iam.ts +110 -91
  31. package/dist/infra-templates/aws/template.json +77 -11
  32. package/dist/infra-templates/aws/upgrades/1.0.0.md +152 -69
  33. package/dist/infra-templates/aws/upgrades/README.md +2 -2
  34. package/dist/infra-templates/cloudflare/COMMON.md +233 -88
  35. package/dist/infra-templates/cloudflare/ENVIRONMENT.md +9 -6
  36. package/dist/infra-templates/cloudflare/SETUP.md +83 -39
  37. package/dist/infra-templates/cloudflare/app/hot-updater.config.bare.ts +6 -3
  38. package/dist/infra-templates/cloudflare/app/hot-updater.config.expo.ts +6 -3
  39. package/dist/infra-templates/cloudflare/app/hot-updater.config.rock.ts +6 -3
  40. package/dist/infra-templates/cloudflare/app/hotUpdater.ts +26 -0
  41. package/dist/infra-templates/cloudflare/app/provision-client-credential.mjs +87 -0
  42. package/dist/infra-templates/cloudflare/app/verify-server.mjs +381 -0
  43. package/dist/infra-templates/cloudflare/template.json +65 -11
  44. package/dist/infra-templates/cloudflare/upgrades/1.0.0.md +152 -69
  45. package/dist/infra-templates/cloudflare/upgrades/README.md +2 -2
  46. package/dist/infra-templates/cloudflare/worker/dist/README.md +1 -1
  47. package/dist/infra-templates/cloudflare/worker/dist/index.js +9859 -5696
  48. package/dist/infra-templates/cloudflare/worker/dist/index.js.map +4 -4
  49. package/dist/infra-templates/cloudflare/worker/migrations/0001_hot-updater_1.0.0.sql +121 -222
  50. package/dist/infra-templates/cloudflare/worker/wrangler.json +1 -0
  51. package/dist/infra-templates/firebase/COMMON.md +233 -88
  52. package/dist/infra-templates/firebase/ENVIRONMENT.md +4 -4
  53. package/dist/infra-templates/firebase/SETUP.md +107 -47
  54. package/dist/infra-templates/firebase/app/hot-updater.config.bare.ts +6 -2
  55. package/dist/infra-templates/firebase/app/hot-updater.config.expo.ts +6 -2
  56. package/dist/infra-templates/firebase/app/hot-updater.config.rock.ts +6 -2
  57. package/dist/infra-templates/firebase/app/hotUpdater.ts +29 -0
  58. package/dist/infra-templates/firebase/app/migrate.ts +16 -0
  59. package/dist/infra-templates/firebase/app/provision-client-credential.mjs +87 -0
  60. package/dist/infra-templates/firebase/app/verify-server.mjs +381 -0
  61. package/dist/infra-templates/firebase/firebase/firestore.indexes.json +29 -58
  62. package/dist/infra-templates/firebase/firebase/functions/index.cjs +10209 -5182
  63. package/dist/infra-templates/firebase/firebase/functions/package.json +1 -1
  64. package/dist/infra-templates/firebase/template.json +44 -12
  65. package/dist/infra-templates/firebase/upgrades/1.0.0.md +152 -69
  66. package/dist/infra-templates/firebase/upgrades/README.md +2 -2
  67. package/dist/infra-templates/supabase/COMMON.md +233 -88
  68. package/dist/infra-templates/supabase/ENVIRONMENT.md +5 -5
  69. package/dist/infra-templates/supabase/SETUP.md +85 -33
  70. package/dist/infra-templates/supabase/app/hot-updater.config.bare.ts +6 -3
  71. package/dist/infra-templates/supabase/app/hot-updater.config.expo.ts +6 -3
  72. package/dist/infra-templates/supabase/app/hot-updater.config.rock.ts +6 -3
  73. package/dist/infra-templates/supabase/app/hotUpdater.ts +22 -0
  74. package/dist/infra-templates/supabase/app/provision-client-credential.mjs +87 -0
  75. package/dist/infra-templates/supabase/app/verify-server.mjs +381 -0
  76. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/{hot-updater-server/dist → hot-updater-plugin-api-keys/dist/server}/apiKeys.cjs +3 -7
  77. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/{hot-updater-server/dist → hot-updater-plugin-api-keys/dist/server}/apiKeys.d.cts +3 -25
  78. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/{hot-updater-server/dist → hot-updater-plugin-api-keys/dist/server}/apiKeys.d.mts +3 -25
  79. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/{hot-updater-server/dist → hot-updater-plugin-api-keys/dist/server}/apiKeys.mjs +3 -7
  80. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-api-keys/dist/server/cli.cjs +22 -0
  81. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-api-keys/dist/server/cli.mjs +21 -0
  82. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-api-keys/dist/server/index.cjs +55 -0
  83. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-api-keys/dist/server/index.d.cts +81 -0
  84. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-api-keys/dist/server/index.d.mts +81 -0
  85. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-api-keys/dist/server/index.mjs +51 -0
  86. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-api-keys/dist/server/model.cjs +58 -0
  87. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-api-keys/dist/server/model.d.cts +26 -0
  88. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-api-keys/dist/server/model.d.mts +26 -0
  89. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-api-keys/dist/server/model.mjs +58 -0
  90. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-api-keys/dist/server/official.cjs +12 -0
  91. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-api-keys/dist/server/official.mjs +12 -0
  92. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-api-keys/dist/server/schema.cjs +38 -0
  93. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-api-keys/dist/server/schema.d.cts +42 -0
  94. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-api-keys/dist/server/schema.d.mts +42 -0
  95. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-api-keys/dist/server/schema.mjs +39 -0
  96. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/baseCandidateKey.cjs +50 -0
  97. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/baseCandidateKey.d.cts +27 -0
  98. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/baseCandidateKey.d.mts +27 -0
  99. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/baseCandidateKey.mjs +49 -0
  100. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/bundleStorageLayout.cjs +7 -0
  101. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/bundleStorageLayout.d.cts +5 -1
  102. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/bundleStorageLayout.d.mts +5 -1
  103. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/bundleStorageLayout.mjs +7 -1
  104. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/contentType.cjs +9 -0
  105. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/contentType.d.cts +4 -0
  106. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/contentType.d.mts +4 -0
  107. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/contentType.mjs +7 -0
  108. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/coreApi.d.cts +131 -0
  109. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/coreApi.d.mts +131 -0
  110. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/createStorageAdapter.cjs +8 -0
  111. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/createStorageAdapter.d.cts +9 -0
  112. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/createStorageAdapter.d.mts +9 -0
  113. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/createStorageAdapter.mjs +7 -0
  114. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/database/adapter.cjs +61 -0
  115. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/database/adapter.d.cts +200 -0
  116. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/database/adapter.d.mts +200 -0
  117. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/database/adapter.mjs +55 -0
  118. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/database/distinct.cjs +88 -0
  119. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/database/distinct.d.cts +18 -0
  120. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/database/distinct.d.mts +18 -0
  121. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/database/distinct.mjs +85 -0
  122. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/database/memoryAdapter.cjs +107 -0
  123. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/database/memoryAdapter.d.cts +14 -0
  124. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/database/memoryAdapter.d.mts +14 -0
  125. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/database/memoryAdapter.mjs +107 -0
  126. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/database/values.cjs +114 -0
  127. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/database/values.d.cts +17 -0
  128. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/database/values.d.mts +17 -0
  129. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/database/values.mjs +104 -0
  130. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/database/verifyAdapter.cjs +137 -0
  131. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/database/verifyAdapter.d.cts +37 -0
  132. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/database/verifyAdapter.d.mts +37 -0
  133. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/database/verifyAdapter.mjs +136 -0
  134. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databaseErrors.cjs +30 -0
  135. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databaseErrors.d.cts +21 -0
  136. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databaseErrors.d.mts +21 -0
  137. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databaseErrors.mjs +28 -0
  138. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databaseJsonValue.cjs +6 -0
  139. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databaseJsonValue.d.cts +9 -2
  140. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databaseJsonValue.d.mts +9 -2
  141. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databaseJsonValue.mjs +6 -0
  142. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databaseMetadata.cjs +4 -6
  143. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databaseMetadata.mjs +4 -6
  144. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databaseRows.cjs +6 -12
  145. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databaseRows.d.cts +1 -1
  146. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databaseRows.d.mts +1 -1
  147. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databaseRows.mjs +2 -8
  148. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/core/schema.cjs +279 -0
  149. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/core/schema.d.cts +312 -0
  150. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/core/schema.d.mts +312 -0
  151. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/core/schema.mjs +277 -0
  152. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/createEngine.cjs +72 -0
  153. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/createEngine.d.cts +45 -0
  154. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/createEngine.d.mts +45 -0
  155. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/createEngine.mjs +72 -0
  156. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/aggregateBatching.cjs +627 -0
  157. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/aggregateBatching.mjs +626 -0
  158. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/cursor.cjs +42 -0
  159. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/cursor.mjs +38 -0
  160. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/database.cjs +68 -0
  161. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/database.mjs +68 -0
  162. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/engine.cjs +37 -0
  163. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/engine.mjs +37 -0
  164. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/engineAggregates.cjs +120 -0
  165. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/engineAggregates.mjs +117 -0
  166. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/engineReads.cjs +182 -0
  167. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/engineReads.d.cts +10 -0
  168. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/engineReads.d.mts +10 -0
  169. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/engineReads.mjs +181 -0
  170. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/engineTransaction.cjs +399 -0
  171. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/engineTransaction.d.cts +18 -0
  172. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/engineTransaction.d.mts +18 -0
  173. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/engineTransaction.mjs +398 -0
  174. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/fence.cjs +156 -0
  175. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/fence.d.cts +41 -0
  176. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/fence.d.mts +41 -0
  177. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/fence.mjs +149 -0
  178. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/kv/kvAdapter.cjs +293 -0
  179. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/kv/kvAdapter.d.cts +116 -0
  180. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/kv/kvAdapter.d.mts +116 -0
  181. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/kv/kvAdapter.mjs +292 -0
  182. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/readMeter.cjs +80 -0
  183. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/readMeter.d.cts +34 -0
  184. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/readMeter.d.mts +34 -0
  185. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/readMeter.mjs +79 -0
  186. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/resolveSchema.cjs +197 -0
  187. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/resolveSchema.d.cts +35 -0
  188. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/resolveSchema.d.mts +35 -0
  189. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/resolveSchema.mjs +195 -0
  190. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/retention.cjs +100 -0
  191. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/retention.mjs +98 -0
  192. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/sql/sqlAdapter.cjs +290 -0
  193. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/sql/sqlAdapter.d.cts +45 -0
  194. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/sql/sqlAdapter.d.mts +45 -0
  195. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/sql/sqlAdapter.mjs +288 -0
  196. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/sql/sqlSchema.cjs +175 -0
  197. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/sql/sqlSchema.d.cts +45 -0
  198. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/sql/sqlSchema.d.mts +45 -0
  199. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/database/sql/sqlSchema.mjs +169 -0
  200. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/coreDatabase.cjs +94 -0
  201. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/coreDatabase.d.cts +78 -0
  202. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/coreDatabase.d.mts +78 -0
  203. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/coreDatabase.mjs +86 -0
  204. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/engineMigrator.cjs +52 -0
  205. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/engineMigrator.mjs +52 -0
  206. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/engineSql.cjs +26 -0
  207. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/engineSql.d.cts +16 -0
  208. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/engineSql.d.mts +16 -0
  209. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/engineSql.mjs +25 -0
  210. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/engineSqlMigrator.cjs +66 -0
  211. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/engineSqlMigrator.d.cts +21 -0
  212. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/engineSqlMigrator.d.mts +21 -0
  213. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/engineSqlMigrator.mjs +66 -0
  214. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/fixedMigratorShared.cjs +8 -0
  215. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/fixedMigratorShared.mjs +8 -0
  216. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/schemaSettings.cjs +42 -0
  217. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/schemaSettings.d.cts +7 -0
  218. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/schemaSettings.d.mts +7 -0
  219. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/schemaSettings.mjs +41 -0
  220. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/settingsMigrator.cjs +91 -0
  221. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/settingsMigrator.d.cts +24 -0
  222. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/settingsMigrator.d.mts +24 -0
  223. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/settingsMigrator.mjs +88 -0
  224. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/types.d.cts +77 -0
  225. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/engine/db/types.d.mts +77 -0
  226. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/index.cjs +98 -56
  227. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/index.d.cts +46 -24
  228. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/index.d.mts +46 -24
  229. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/index.mjs +33 -20
  230. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/node_modules/.pnpm/verkit@0.4.0/node_modules/verkit/dist/comparison-DenM3wCn.cjs +0 -5
  231. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/node_modules/.pnpm/verkit@0.4.0/node_modules/verkit/dist/comparison-DenM3wCn.mjs +1 -5
  232. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/node_modules/.pnpm/verkit@0.4.0/node_modules/verkit/dist/range-DvX-Y6iv.cjs +8 -0
  233. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/node_modules/.pnpm/verkit@0.4.0/node_modules/verkit/dist/range-DvX-Y6iv.mjs +9 -2
  234. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/node_modules/.pnpm/verkit@0.4.0/node_modules/verkit/dist/set-CC5YeoYX.cjs +4 -0
  235. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/node_modules/.pnpm/verkit@0.4.0/node_modules/verkit/dist/set-CC5YeoYX.mjs +4 -1
  236. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/node_modules/.pnpm/verkit@0.4.0/node_modules/verkit/dist/version-CQ98ZBpL.cjs +0 -5
  237. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/node_modules/.pnpm/verkit@0.4.0/node_modules/verkit/dist/version-CQ98ZBpL.mjs +2 -6
  238. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/releaseCatalogCompiler.cjs +35 -47
  239. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/releaseCatalogCompiler.d.cts +1 -2
  240. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/releaseCatalogCompiler.d.mts +2 -3
  241. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/releaseCatalogCompiler.mjs +13 -30
  242. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/releaseCatalogMutation.cjs +0 -292
  243. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/releaseCatalogMutation.d.cts +4 -45
  244. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/releaseCatalogMutation.d.mts +4 -45
  245. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/releaseCatalogMutation.mjs +1 -288
  246. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/releaseManagement.cjs +0 -221
  247. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/releaseManagement.d.cts +4 -28
  248. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/releaseManagement.d.mts +4 -28
  249. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/releaseManagement.mjs +1 -216
  250. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/remoteBundleSigning.d.cts +2 -2
  251. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/remoteBundleSigning.d.mts +2 -2
  252. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/busy.cjs +36 -0
  253. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/busy.d.cts +12 -0
  254. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/busy.d.mts +12 -0
  255. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/busy.mjs +36 -0
  256. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/configError.cjs +7 -0
  257. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/configError.d.cts +7 -0
  258. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/configError.d.mts +7 -0
  259. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/configError.mjs +7 -0
  260. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/coreReads.d.cts +48 -0
  261. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/coreReads.d.mts +48 -0
  262. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/databaseHandle.d.cts +105 -0
  263. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/databaseHandle.d.mts +105 -0
  264. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/definePlugin.cjs +5 -0
  265. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/definePlugin.d.cts +128 -0
  266. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/definePlugin.d.mts +128 -0
  267. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/definePlugin.mjs +5 -0
  268. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/definitions.d.cts +76 -0
  269. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/definitions.d.mts +76 -0
  270. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/errors.cjs +37 -0
  271. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/errors.d.cts +29 -0
  272. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/errors.d.mts +29 -0
  273. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/errors.mjs +32 -0
  274. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/schema.cjs +24 -0
  275. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/schema.d.cts +90 -0
  276. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/schema.d.mts +90 -0
  277. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/serverPlugin/schema.mjs +23 -0
  278. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/databaseConfig.cjs +5 -0
  279. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/databaseConfig.d.cts +72 -0
  280. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/databaseConfig.d.mts +72 -0
  281. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/databaseConfig.mjs +5 -0
  282. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/databaseOperations.d.cts +5 -180
  283. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/databaseOperations.d.mts +5 -180
  284. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/databaseRows.d.cts +6 -57
  285. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/databaseRows.d.mts +6 -57
  286. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/index.cjs +2 -0
  287. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/index.d.cts +31 -97
  288. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/index.d.mts +31 -97
  289. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/index.mjs +2 -1
  290. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/models.d.cts +14 -0
  291. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/models.d.mts +14 -0
  292. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/public.d.cts +4 -3
  293. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/public.d.mts +4 -3
  294. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/uuidv7.cjs +3 -3
  295. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/uuidv7.d.cts +1 -1
  296. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/uuidv7.d.mts +1 -1
  297. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/uuidv7.mjs +1 -1
  298. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/client/errorDetails.cjs +35 -0
  299. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/client/errorDetails.mjs +34 -0
  300. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/client/eventId.cjs +181 -0
  301. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/client/eventId.mjs +179 -0
  302. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/client/index.cjs +248 -0
  303. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/client/index.d.cts +41 -0
  304. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/client/index.d.mts +41 -0
  305. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/client/index.mjs +247 -0
  306. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/client/sender.cjs +102 -0
  307. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/client/sender.mjs +102 -0
  308. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/client/state.cjs +139 -0
  309. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/client/state.mjs +137 -0
  310. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/adminReads.cjs +78 -0
  311. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/adminReads.d.cts +30 -0
  312. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/adminReads.d.mts +30 -0
  313. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/adminReads.mjs +77 -0
  314. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/contract.cjs +199 -0
  315. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/contract.mjs +195 -0
  316. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/domain.d.cts +193 -0
  317. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/domain.d.mts +193 -0
  318. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/{hot-updater-server/dist/insights → hot-updater-plugin-insights/dist/server}/errors.cjs +5 -1
  319. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/errors.d.cts +10 -0
  320. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/errors.d.mts +10 -0
  321. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/{hot-updater-server/dist/insights → hot-updater-plugin-insights/dist/server}/errors.mjs +5 -1
  322. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/eventInput.cjs +302 -0
  323. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/eventInput.mjs +300 -0
  324. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/eventRow.cjs +71 -0
  325. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/eventRow.d.cts +106 -0
  326. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/eventRow.d.mts +106 -0
  327. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/eventRow.mjs +68 -0
  328. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/index.cjs +133 -0
  329. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/index.d.cts +426 -0
  330. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/index.d.mts +426 -0
  331. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/index.mjs +123 -0
  332. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/model.cjs +18 -0
  333. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/model.d.cts +10 -0
  334. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/model.d.mts +10 -0
  335. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/model.mjs +18 -0
  336. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/modelTypes.d.cts +190 -0
  337. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/modelTypes.d.mts +190 -0
  338. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/official.cjs +12 -0
  339. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/official.mjs +12 -0
  340. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/overview.cjs +105 -0
  341. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/overview.d.cts +15 -0
  342. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/overview.d.mts +15 -0
  343. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/overview.mjs +103 -0
  344. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/{hot-updater-server/dist/insights → hot-updater-plugin-insights/dist/server}/provider.cjs +135 -49
  345. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/{hot-updater-server/dist/insights → hot-updater-plugin-insights/dist/server}/provider.d.cts +2 -2
  346. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/{hot-updater-server/dist/insights → hot-updater-plugin-insights/dist/server}/provider.d.mts +2 -2
  347. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/{hot-updater-server/dist/insights → hot-updater-plugin-insights/dist/server}/provider.mjs +132 -47
  348. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/{hot-updater-server/dist/insights → hot-updater-plugin-insights/dist/server}/queryInput.cjs +2 -2
  349. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/{hot-updater-server/dist/insights → hot-updater-plugin-insights/dist/server}/queryInput.mjs +2 -2
  350. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/reads.cjs +680 -0
  351. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/reads.d.cts +49 -0
  352. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/reads.d.mts +49 -0
  353. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/reads.mjs +672 -0
  354. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/recordEvent.cjs +444 -0
  355. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/recordEvent.d.cts +17 -0
  356. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/recordEvent.d.mts +17 -0
  357. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/recordEvent.mjs +441 -0
  358. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/{hot-updater-server/dist/insights → hot-updater-plugin-insights/dist/server}/routes.cjs +53 -15
  359. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/{hot-updater-server/dist/insights → hot-updater-plugin-insights/dist/server}/routes.mjs +53 -14
  360. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/schema.cjs +575 -0
  361. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/schema.d.cts +751 -0
  362. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/schema.d.mts +751 -0
  363. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-insights/dist/server/schema.mjs +565 -0
  364. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/{hot-updater-server/dist/insights → hot-updater-plugin-insights/dist/server}/types.d.cts +3 -2
  365. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/{hot-updater-server/dist/insights → hot-updater-plugin-insights/dist/server}/types.d.mts +3 -2
  366. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/client/index.cjs +208 -0
  367. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/client/index.d.cts +123 -0
  368. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/client/index.d.mts +123 -0
  369. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/client/index.mjs +207 -0
  370. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/server/admin.cjs +96 -0
  371. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/server/admin.d.cts +21 -0
  372. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/server/admin.d.mts +21 -0
  373. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/server/admin.mjs +96 -0
  374. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/server/api.cjs +175 -0
  375. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/server/api.d.cts +85 -0
  376. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/server/api.d.mts +85 -0
  377. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/server/api.mjs +174 -0
  378. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/server/index.cjs +50 -0
  379. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/server/index.d.cts +64 -0
  380. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/server/index.d.mts +64 -0
  381. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/server/index.mjs +36 -0
  382. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/server/official.cjs +12 -0
  383. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/server/official.mjs +12 -0
  384. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/server/routes.cjs +157 -0
  385. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/server/routes.mjs +157 -0
  386. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/server/schema.cjs +46 -0
  387. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/server/schema.d.cts +57 -0
  388. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/server/schema.d.mts +57 -0
  389. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/server/schema.mjs +46 -0
  390. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/server/template.cjs +396 -0
  391. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/server/template.d.cts +134 -0
  392. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/server/template.d.mts +134 -0
  393. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/server/template.mjs +387 -0
  394. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/shared/ownEntry.cjs +8 -0
  395. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/shared/ownEntry.mjs +8 -0
  396. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/shared/wire.cjs +48 -0
  397. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/shared/wire.d.cts +24 -0
  398. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/shared/wire.d.mts +24 -0
  399. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-remote-config/dist/shared/wire.mjs +45 -0
  400. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/{hot-updater-core → hot-updater-protocol}/dist/index.cjs +384 -15
  401. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-protocol/dist/index.d.cts +581 -0
  402. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-protocol/dist/index.d.mts +581 -0
  403. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-protocol/dist/index.mjs +771 -0
  404. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/drizzle.cjs +32 -75
  405. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/drizzle.d.cts +12 -6
  406. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/drizzle.d.mts +12 -6
  407. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/drizzle.mjs +32 -77
  408. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/drizzleExecutor.cjs +114 -0
  409. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/drizzleExecutor.d.cts +9 -0
  410. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/drizzleExecutor.d.mts +9 -0
  411. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/drizzleExecutor.mjs +112 -0
  412. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/kysely.cjs +22 -31
  413. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/kysely.d.cts +10 -6
  414. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/kysely.d.mts +10 -6
  415. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/kysely.mjs +23 -33
  416. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/kyselyExecutor.cjs +32 -0
  417. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/kyselyExecutor.d.cts +11 -0
  418. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/kyselyExecutor.d.mts +11 -0
  419. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/kyselyExecutor.mjs +32 -0
  420. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/mongodb.cjs +18 -54
  421. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/mongodb.d.cts +10 -5
  422. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/mongodb.d.mts +10 -5
  423. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/mongodb.mjs +19 -56
  424. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/mongodbAdapter.cjs +192 -0
  425. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/mongodbAdapter.d.cts +9 -0
  426. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/mongodbAdapter.d.mts +9 -0
  427. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/mongodbAdapter.mjs +191 -0
  428. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/prisma.cjs +35 -267
  429. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/prisma.d.cts +12 -7
  430. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/prisma.d.mts +12 -7
  431. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/prisma.mjs +36 -268
  432. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/prismaExecutor.cjs +63 -0
  433. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/prismaExecutor.mjs +63 -0
  434. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/sqlProviders.cjs +14 -0
  435. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/sqlProviders.mjs +14 -0
  436. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/assembly/assemblePlugins.cjs +143 -0
  437. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/assembly/assemblePlugins.d.cts +5 -0
  438. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/assembly/assemblePlugins.d.mts +5 -0
  439. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/assembly/assemblePlugins.mjs +138 -0
  440. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/assembly/clientPlugins.cjs +88 -0
  441. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/assembly/clientPlugins.mjs +88 -0
  442. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/assembly/configError.d.cts +2 -0
  443. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/assembly/configError.d.mts +2 -0
  444. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/assembly/configError.mjs +2 -0
  445. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/core/api.cjs +51 -0
  446. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/core/api.d.cts +54 -0
  447. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/core/api.d.mts +54 -0
  448. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/core/api.mjs +51 -0
  449. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/core/baseCandidates.cjs +28 -0
  450. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/core/baseCandidates.mjs +28 -0
  451. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/core/operations.cjs +351 -0
  452. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/core/operations.mjs +351 -0
  453. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/core/reads.cjs +273 -0
  454. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/core/reads.d.cts +9 -0
  455. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/core/reads.d.mts +9 -0
  456. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/core/reads.mjs +267 -0
  457. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/core/releases.cjs +193 -0
  458. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/core/releases.mjs +190 -0
  459. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/core/writes.cjs +96 -0
  460. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/core/writes.mjs +91 -0
  461. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/createHotUpdaterCore.cjs +76 -92
  462. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/createHotUpdaterCore.d.cts +98 -39
  463. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/createHotUpdaterCore.d.mts +98 -39
  464. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/createHotUpdaterCore.mjs +78 -90
  465. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/engineDrizzleSchema.cjs +53 -0
  466. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/engineDrizzleSchema.mjs +53 -0
  467. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/enginePrismaSchema.cjs +84 -0
  468. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/enginePrismaSchema.d.cts +5 -0
  469. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/enginePrismaSchema.d.mts +5 -0
  470. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/enginePrismaSchema.mjs +83 -0
  471. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/releaseCatalog.cjs +24 -47
  472. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/releaseCatalog.mjs +20 -44
  473. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/updateArtifacts.cjs +43 -72
  474. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/updateArtifacts.mjs +40 -69
  475. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/handler.cjs +59 -59
  476. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/handler.d.cts +3 -5
  477. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/handler.d.mts +3 -5
  478. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/handler.mjs +61 -59
  479. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/handlerAdminRoutes.cjs +374 -0
  480. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/handlerAdminRoutes.mjs +372 -0
  481. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/handlerParameters.cjs +6 -11
  482. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/handlerParameters.mjs +6 -10
  483. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/handlerReleaseCatalogRoutes.cjs +72 -19
  484. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/handlerReleaseCatalogRoutes.mjs +72 -19
  485. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/handlerTypes.d.cts +2 -55
  486. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/handlerTypes.d.mts +2 -55
  487. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/handlerVersionRoutes.cjs +20 -4
  488. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/handlerVersionRoutes.mjs +20 -4
  489. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/index.cjs +9 -9
  490. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/index.d.cts +7 -9
  491. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/index.d.mts +7 -9
  492. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/index.mjs +3 -4
  493. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/node.cjs +1 -6
  494. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/node.d.cts +2 -4
  495. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/node.d.mts +2 -4
  496. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/node.mjs +2 -4
  497. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/package.cjs +1 -1
  498. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/package.mjs +1 -1
  499. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/plugins/api-keys/index.cjs +9 -0
  500. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/plugins/api-keys/index.d.cts +1 -0
  501. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/plugins/api-keys/index.d.mts +1 -0
  502. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/plugins/api-keys/index.mjs +2 -0
  503. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/plugins/definePlugin.d.cts +2 -0
  504. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/plugins/definePlugin.d.mts +2 -0
  505. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/plugins/index.cjs +27 -0
  506. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/plugins/index.d.cts +6 -0
  507. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/plugins/index.d.mts +6 -0
  508. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/plugins/index.mjs +4 -0
  509. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/plugins/insights/index.cjs +9 -0
  510. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/plugins/insights/index.d.cts +1 -0
  511. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/plugins/insights/index.d.mts +1 -0
  512. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/plugins/insights/index.mjs +2 -0
  513. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/plugins/official.cjs +34 -0
  514. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/plugins/official.mjs +33 -0
  515. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/plugins/remote-config/index.cjs +9 -0
  516. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/plugins/remote-config/index.d.cts +1 -0
  517. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/plugins/remote-config/index.d.mts +1 -0
  518. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/plugins/remote-config/index.mjs +2 -0
  519. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/storageAccess.cjs +20 -54
  520. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/storageAccess.mjs +20 -54
  521. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-supabase/dist/edge.cjs +2 -5
  522. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-supabase/dist/edge.d.cts +2 -13
  523. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-supabase/dist/edge.d.mts +2 -13
  524. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-supabase/dist/edge.mjs +2 -5
  525. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-supabase/dist/index.cjs +141 -2
  526. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-supabase/dist/index.d.cts +11 -12
  527. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-supabase/dist/index.d.mts +11 -12
  528. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-supabase/dist/index.mjs +140 -1
  529. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-supabase/dist/init/index.cjs +7577 -4
  530. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-supabase/dist/init/index.d.cts +96 -4
  531. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-supabase/dist/init/index.d.mts +96 -4
  532. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-supabase/dist/init/index.mjs +7563 -1
  533. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-supabase/dist/supabaseStorage-BryXQ72m.d.cts +28 -0
  534. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-supabase/dist/supabaseStorage-BryXQ72m.d.mts +28 -0
  535. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-supabase/dist/supabaseStorage-C8xQ3nyM.mjs +231 -0
  536. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-supabase/dist/supabaseStorage-DAl3pyb7.cjs +254 -0
  537. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/deno.json +6 -2
  538. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/index.ts +8 -3
  539. package/dist/infra-templates/supabase/supabase/migrations/0001_hot-updater_1.0.0.sql +221 -0
  540. package/dist/infra-templates/supabase/template.json +65 -11
  541. package/dist/infra-templates/supabase/upgrades/1.0.0.md +152 -69
  542. package/dist/infra-templates/supabase/upgrades/README.md +2 -2
  543. package/dist/plugins.d.mts +2 -0
  544. package/dist/plugins.mjs +2 -0
  545. package/dist/signing.d.mts +3 -3
  546. package/package.json +26 -20
  547. package/dist/infra-templates/aws/app/api-key.config.bare.ts +0 -16
  548. package/dist/infra-templates/aws/app/api-key.config.expo.ts +0 -16
  549. package/dist/infra-templates/aws/app/api-key.config.rock.ts +0 -16
  550. package/dist/infra-templates/aws/app/provision-api-key.mjs +0 -34
  551. package/dist/infra-templates/aws/reference/dynamodb-constants.json +0 -12
  552. package/dist/infra-templates/cloudflare/app/api-key.config.bare.ts +0 -12
  553. package/dist/infra-templates/cloudflare/app/api-key.config.expo.ts +0 -12
  554. package/dist/infra-templates/cloudflare/app/api-key.config.rock.ts +0 -12
  555. package/dist/infra-templates/cloudflare/app/provision-api-key.mjs +0 -34
  556. package/dist/infra-templates/firebase/app/api-key.config.bare.ts +0 -16
  557. package/dist/infra-templates/firebase/app/api-key.config.expo.ts +0 -16
  558. package/dist/infra-templates/firebase/app/api-key.config.rock.ts +0 -16
  559. package/dist/infra-templates/firebase/app/provision-api-key.mjs +0 -34
  560. package/dist/infra-templates/supabase/app/api-key.config.bare.ts +0 -11
  561. package/dist/infra-templates/supabase/app/api-key.config.expo.ts +0 -11
  562. package/dist/infra-templates/supabase/app/api-key.config.rock.ts +0 -11
  563. package/dist/infra-templates/supabase/app/provision-api-key.mjs +0 -34
  564. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-core/dist/index.d.cts +0 -275
  565. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-core/dist/index.d.mts +0 -275
  566. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-core/dist/index.mjs +0 -411
  567. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/calculatePagination.cjs +0 -25
  568. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/calculatePagination.d.cts +0 -12
  569. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/calculatePagination.d.mts +0 -12
  570. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/calculatePagination.mjs +0 -25
  571. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/compressionFormat.cjs +0 -62
  572. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/compressionFormat.d.cts +0 -33
  573. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/compressionFormat.d.mts +0 -33
  574. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/compressionFormat.mjs +0 -58
  575. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/createDatabasePlugin.cjs +0 -920
  576. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/createDatabasePlugin.d.cts +0 -28
  577. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/createDatabasePlugin.d.mts +0 -28
  578. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/createDatabasePlugin.mjs +0 -916
  579. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/createStoragePlugin.cjs +0 -8
  580. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/createStoragePlugin.d.cts +0 -9
  581. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/createStoragePlugin.d.mts +0 -9
  582. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/createStoragePlugin.mjs +0 -7
  583. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databaseClient.cjs +0 -117
  584. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databaseClient.d.cts +0 -32
  585. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databaseClient.d.mts +0 -32
  586. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databaseClient.mjs +0 -114
  587. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databaseClientReads.cjs +0 -115
  588. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databaseClientReads.mjs +0 -113
  589. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databaseClientUpdates.cjs +0 -40
  590. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databaseClientUpdates.d.cts +0 -11
  591. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databaseClientUpdates.d.mts +0 -11
  592. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databaseClientUpdates.mjs +0 -38
  593. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrud.cjs +0 -88
  594. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrud.d.cts +0 -4
  595. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrud.d.mts +0 -4
  596. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrud.mjs +0 -87
  597. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrudValidation.d.cts +0 -6
  598. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrudValidation.d.mts +0 -6
  599. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrudValidationErrors.cjs +0 -11
  600. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrudValidationErrors.d.cts +0 -9
  601. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrudValidationErrors.d.mts +0 -9
  602. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrudValidationErrors.mjs +0 -11
  603. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrudValidationFields.cjs +0 -321
  604. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrudValidationFields.d.cts +0 -1
  605. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrudValidationFields.d.mts +0 -1
  606. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrudValidationFields.mjs +0 -309
  607. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrudValidationMutations.cjs +0 -107
  608. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrudValidationMutations.d.cts +0 -1
  609. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrudValidationMutations.d.mts +0 -1
  610. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrudValidationMutations.mjs +0 -100
  611. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrudValidationQueries.cjs +0 -103
  612. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrudValidationQueries.d.cts +0 -2
  613. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrudValidationQueries.d.mts +0 -2
  614. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrudValidationQueries.mjs +0 -97
  615. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrudValidationRows.cjs +0 -55
  616. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrudValidationRows.d.cts +0 -1
  617. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrudValidationRows.d.mts +0 -1
  618. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginCrudValidationRows.mjs +0 -53
  619. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginTransaction.cjs +0 -7
  620. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/databasePluginTransaction.mjs +0 -7
  621. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/filterCompatibleAppVersions.cjs +0 -15
  622. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/filterCompatibleAppVersions.d.cts +0 -12
  623. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/filterCompatibleAppVersions.d.mts +0 -12
  624. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/filterCompatibleAppVersions.mjs +0 -15
  625. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/insightsContract.cjs +0 -157
  626. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/insightsContract.d.cts +0 -11
  627. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/insightsContract.d.mts +0 -11
  628. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/insightsContract.mjs +0 -153
  629. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/internal.cjs +0 -6
  630. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/internal.d.cts +0 -10
  631. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/internal.d.mts +0 -10
  632. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/internal.mjs +0 -3
  633. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/paginateBundles.cjs +0 -53
  634. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/paginateBundles.d.cts +0 -13
  635. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/paginateBundles.d.mts +0 -13
  636. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/paginateBundles.mjs +0 -53
  637. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/queryBundles.cjs +0 -34
  638. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/queryBundles.d.cts +0 -9
  639. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/queryBundles.d.mts +0 -9
  640. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/queryBundles.mjs +0 -32
  641. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/requestBundleCache.cjs +0 -22
  642. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/requestBundleCache.d.cts +0 -8
  643. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/requestBundleCache.d.mts +0 -8
  644. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/requestBundleCache.mjs +0 -22
  645. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/storageDownloadPath.cjs +0 -49
  646. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/storageDownloadPath.d.cts +0 -13
  647. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/storageDownloadPath.d.mts +0 -13
  648. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/storageDownloadPath.mjs +0 -47
  649. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/database.d.cts +0 -5
  650. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/database.d.mts +0 -5
  651. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/databaseFields.cjs +0 -105
  652. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/databaseFields.d.cts +0 -13
  653. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/databaseFields.d.mts +0 -13
  654. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/databaseFields.mjs +0 -105
  655. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/databasePlugin.d.cts +0 -298
  656. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/databasePlugin.d.mts +0 -298
  657. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/databaseQuery.d.cts +0 -46
  658. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/databaseQuery.d.mts +0 -46
  659. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/internal.d.cts +0 -8
  660. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-plugin-core/dist/types/internal.d.mts +0 -8
  661. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/_virtual/_rolldown/runtime.cjs +0 -23
  662. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/databaseConstraintErrors.cjs +0 -22
  663. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/databaseConstraintErrors.mjs +0 -21
  664. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/databasePluginUtils.cjs +0 -116
  665. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/databasePluginUtils.mjs +0 -106
  666. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/drizzleCrud.cjs +0 -311
  667. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/drizzleCrud.mjs +0 -308
  668. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/drizzleLazyDB.cjs +0 -106
  669. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/drizzleLazyDB.mjs +0 -106
  670. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/drizzleQuery.cjs +0 -69
  671. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/drizzleQuery.mjs +0 -69
  672. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/insightsTransaction.cjs +0 -22
  673. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/insightsTransaction.mjs +0 -22
  674. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/kyselyCrud.cjs +0 -305
  675. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/kyselyCrud.mjs +0 -304
  676. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/kyselyQuery.cjs +0 -56
  677. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/kyselyQuery.mjs +0 -56
  678. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/mongodbCollections.cjs +0 -38
  679. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/mongodbCollections.mjs +0 -32
  680. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/mongodbQuery.cjs +0 -94
  681. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/mongodbQuery.mjs +0 -86
  682. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/mongodbReads.cjs +0 -210
  683. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/mongodbReads.mjs +0 -210
  684. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/mongodbWrites.cjs +0 -148
  685. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/mongodbWrites.mjs +0 -148
  686. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/prismaQuery.cjs +0 -57
  687. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/prismaQuery.mjs +0 -56
  688. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/prismaRows.cjs +0 -219
  689. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/adapters/prismaRows.mjs +0 -209
  690. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/createBundleDiff.cjs +0 -144
  691. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/createBundleDiff.d.cts +0 -16
  692. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/createBundleDiff.d.mts +0 -16
  693. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/createBundleDiff.mjs +0 -141
  694. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/databasePluginCore.cjs +0 -137
  695. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/databasePluginCore.mjs +0 -137
  696. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/fixedMigrator.cjs +0 -79
  697. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/fixedMigrator.mjs +0 -78
  698. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/fixedMigratorMongo.cjs +0 -321
  699. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/fixedMigratorMongo.mjs +0 -321
  700. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/fixedMigratorShared.cjs +0 -23
  701. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/fixedMigratorShared.mjs +0 -18
  702. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/index.cjs +0 -27
  703. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/index.d.cts +0 -12
  704. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/index.d.mts +0 -12
  705. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/index.mjs +0 -22
  706. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/mongoMigrationExecution.cjs +0 -11
  707. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/mongoMigrationExecution.mjs +0 -11
  708. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/releaseCatalog.d.cts +0 -16
  709. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/releaseCatalog.d.mts +0 -16
  710. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/schema/insightsCollation.cjs +0 -14
  711. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/schema/insightsCollation.mjs +0 -14
  712. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/schema/mongodb.cjs +0 -25
  713. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/schema/mongodb.mjs +0 -25
  714. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/schema/registry.cjs +0 -21
  715. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/schema/registry.mjs +0 -17
  716. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/schema/sql.cjs +0 -105
  717. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/schema/sql.mjs +0 -97
  718. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/schema/sqlOperations.cjs +0 -27
  719. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/schema/sqlOperations.mjs +0 -26
  720. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/schemaGenerators.cjs +0 -275
  721. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/schemaGenerators.mjs +0 -273
  722. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/schemaReadiness.cjs +0 -26
  723. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/schemaReadiness.d.cts +0 -9
  724. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/schemaReadiness.d.mts +0 -9
  725. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/schemaReadiness.mjs +0 -25
  726. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/sqlMigrationExecution.cjs +0 -67
  727. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/sqlMigrationExecution.mjs +0 -67
  728. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/types.cjs +0 -22
  729. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/types.d.cts +0 -118
  730. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/types.d.mts +0 -118
  731. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/db/types.mjs +0 -19
  732. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/handlerBundleRoutes.cjs +0 -155
  733. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/handlerBundleRoutes.mjs +0 -155
  734. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/handlerReleaseManagementRoutes.cjs +0 -124
  735. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/handlerReleaseManagementRoutes.mjs +0 -124
  736. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/insights/domain.d.cts +0 -89
  737. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/insights/domain.d.mts +0 -89
  738. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/insights/eventInput.cjs +0 -153
  739. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/insights/eventInput.mjs +0 -151
  740. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/schema/dsl.cjs +0 -103
  741. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/schema/dsl.mjs +0 -87
  742. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/schema/index.cjs +0 -20
  743. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/schema/index.mjs +0 -7
  744. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/schema/settings.cjs +0 -9
  745. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/schema/settings.mjs +0 -9
  746. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/schema/types.cjs +0 -8
  747. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/schema/types.mjs +0 -6
  748. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/schema/v1_0_0.cjs +0 -406
  749. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/schema/v1_0_0.mjs +0 -398
  750. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/types/index.d.cts +0 -29
  751. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-server/dist/types/index.d.mts +0 -29
  752. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-supabase/dist/iac/index.cjs +0 -8101
  753. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-supabase/dist/iac/index.d.cts +0 -102
  754. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-supabase/dist/iac/index.d.mts +0 -102
  755. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-supabase/dist/iac/index.mjs +0 -8084
  756. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-supabase/dist/supabaseDatabase-3d90EtUD.d.cts +0 -11
  757. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-supabase/dist/supabaseDatabase-3d90EtUD.d.mts +0 -11
  758. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-supabase/dist/supabaseStorage-CbzHzqCa.cjs +0 -622
  759. package/dist/infra-templates/supabase/supabase/functions/hot-updater-v1/_hot-updater/hot-updater-supabase/dist/supabaseStorage-CjteZ2zX.mjs +0 -611
  760. package/dist/infra-templates/supabase/supabase/migrations/20260818000000_hot-updater_1.0.0.sql +0 -617
@@ -0,0 +1,381 @@
1
+ import { readFile } from "node:fs/promises";
2
+ import { fileURLToPath } from "node:url";
3
+ import { parseArgs, parseEnv } from "node:util";
4
+ import path from "node:path";
5
+ //#region ../protocol/dist/index.mjs
6
+ const LETTER_DASH_NUMBER = "[a-zA-Z0-9-]";
7
+ const NUMERIC_IDENTIFIER = String.raw`0|[1-9]\d*`;
8
+ const NUMERIC_IDENTIFIER_LOOSE = String.raw`\d+`;
9
+ const NON_NUMERIC_IDENTIFIER = String.raw`\d*[a-zA-Z-]${LETTER_DASH_NUMBER}*`;
10
+ const MAIN_VERSION = String.raw`(${NUMERIC_IDENTIFIER})\.(${NUMERIC_IDENTIFIER})\.(${NUMERIC_IDENTIFIER})`;
11
+ const MAIN_VERSION_LOOSE = String.raw`(${NUMERIC_IDENTIFIER_LOOSE})\.(${NUMERIC_IDENTIFIER_LOOSE})\.(${NUMERIC_IDENTIFIER_LOOSE})`;
12
+ const PRERELEASE_IDENTIFIER = `(?:${NON_NUMERIC_IDENTIFIER}|${NUMERIC_IDENTIFIER})`;
13
+ const PRERELEASE_IDENTIFIER_LOOSE = `(?:${NON_NUMERIC_IDENTIFIER}|${NUMERIC_IDENTIFIER_LOOSE})`;
14
+ const PRERELEASE = String.raw`(?:-(${PRERELEASE_IDENTIFIER}(?:\.${PRERELEASE_IDENTIFIER})*))`;
15
+ const PRERELEASE_LOOSE = String.raw`(?:-?(${PRERELEASE_IDENTIFIER_LOOSE}(?:\.${PRERELEASE_IDENTIFIER_LOOSE})*))`;
16
+ const BUILD_IDENTIFIER = `${LETTER_DASH_NUMBER}+`;
17
+ const BUILD = String.raw`(?:\+(${BUILD_IDENTIFIER}(?:\.${BUILD_IDENTIFIER})*))`;
18
+ const FULL_PLAIN = `v?${MAIN_VERSION}${PRERELEASE}?${BUILD}?`;
19
+ const LOOSE_PLAIN = String.raw`[v=\s]*${MAIN_VERSION_LOOSE}${PRERELEASE_LOOSE}?${BUILD}?`;
20
+ const XRANGE_IDENTIFIER = String.raw`${NUMERIC_IDENTIFIER}|x|X|\*`;
21
+ const XRANGE_IDENTIFIER_LOOSE = String.raw`${NUMERIC_IDENTIFIER_LOOSE}|x|X|\*`;
22
+ String.raw`[v=\s]*(${XRANGE_IDENTIFIER})(?:\.(${XRANGE_IDENTIFIER})(?:\.(${XRANGE_IDENTIFIER})(?:${PRERELEASE})?${BUILD}?)?)?`;
23
+ String.raw`[v=\s]*(${XRANGE_IDENTIFIER_LOOSE})(?:\.(${XRANGE_IDENTIFIER_LOOSE})(?:\.(${XRANGE_IDENTIFIER_LOOSE})(?:${PRERELEASE_LOOSE})?${BUILD}?)?)?`;
24
+ String.raw`(?:\^)`;
25
+ const COERCE_PLAIN = String.raw`(^|[^\d])(\d{1,${16}})(?:\.(\d{1,${16}}))?(?:\.(\d{1,${16}}))?`;
26
+ const COERCE = String.raw`${COERCE_PLAIN}(?:$|[^\d])`;
27
+ const COERCE_FULL = String.raw`${COERCE_PLAIN}(?:${PRERELEASE})?(?:${BUILD})?(?:$|[^\d])`;
28
+ function makeSafeRegexSource(source) {
29
+ const replacements = [
30
+ [String.raw`\s`, 1],
31
+ [String.raw`\d`, 256],
32
+ [LETTER_DASH_NUMBER, 250]
33
+ ];
34
+ for (const [token, maximum] of replacements) source = source.split(`${token}*`).join(`${token}{0,${maximum}}`).split(`${token}+`).join(`${token}{1,${maximum}}`);
35
+ return source;
36
+ }
37
+ function safeRegex(source, flags) {
38
+ return new RegExp(makeSafeRegexSource(source), flags);
39
+ }
40
+ safeRegex(`^${FULL_PLAIN}$`);
41
+ safeRegex(`^${LOOSE_PLAIN}$`);
42
+ safeRegex(COERCE);
43
+ safeRegex(COERCE_FULL);
44
+ safeRegex(`^${PRERELEASE}$`);
45
+ safeRegex(`^${PRERELEASE_LOOSE}$`);
46
+ const BASE64URL_ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";
47
+ const MAX_CATALOG_SEGMENT_LENGTH = 255;
48
+ function assertCatalogSegment(value, name) {
49
+ if (value.length === 0 || value.length > MAX_CATALOG_SEGMENT_LENGTH || !/^[A-Za-z0-9._~-]+$/.test(value)) throw new Error(`${name} must be 1-${MAX_CATALOG_SEGMENT_LENGTH} URL-safe ASCII characters`);
50
+ }
51
+ function encodeUtf8(value) {
52
+ const bytes = [];
53
+ for (const codePointText of value) {
54
+ const codePoint = codePointText.codePointAt(0);
55
+ if (codePoint <= 127) bytes.push(codePoint);
56
+ else if (codePoint <= 2047) bytes.push(192 | codePoint >> 6, 128 | codePoint & 63);
57
+ else if (codePoint <= 65535) bytes.push(224 | codePoint >> 12, 128 | codePoint >> 6 & 63, 128 | codePoint & 63);
58
+ else bytes.push(240 | codePoint >> 18, 128 | codePoint >> 12 & 63, 128 | codePoint >> 6 & 63, 128 | codePoint & 63);
59
+ }
60
+ return bytes;
61
+ }
62
+ function decodeUtf8(bytes) {
63
+ let result = "";
64
+ for (let index = 0; index < bytes.length;) {
65
+ const first = bytes[index++];
66
+ let codePoint;
67
+ let continuationCount;
68
+ if (first <= 127) {
69
+ codePoint = first;
70
+ continuationCount = 0;
71
+ } else if ((first & 224) === 192) {
72
+ codePoint = first & 31;
73
+ continuationCount = 1;
74
+ } else if ((first & 240) === 224) {
75
+ codePoint = first & 15;
76
+ continuationCount = 2;
77
+ } else if ((first & 248) === 240) {
78
+ codePoint = first & 7;
79
+ continuationCount = 3;
80
+ } else throw new Error("Invalid UTF-8 channel key");
81
+ for (let offset = 0; offset < continuationCount; offset += 1) {
82
+ const continuation = bytes[index++];
83
+ if (continuation === void 0 || (continuation & 192) !== 128) throw new Error("Invalid UTF-8 channel key");
84
+ codePoint = codePoint << 6 | continuation & 63;
85
+ }
86
+ if (codePoint > 1114111 || codePoint >= 55296 && codePoint <= 57343 || continuationCount === 1 && codePoint < 128 || continuationCount === 2 && codePoint < 2048 || continuationCount === 3 && codePoint < 65536) throw new Error("Invalid UTF-8 channel key");
87
+ result += String.fromCodePoint(codePoint);
88
+ }
89
+ return result;
90
+ }
91
+ function base64UrlEncode(bytes) {
92
+ let result = "";
93
+ for (let index = 0; index < bytes.length; index += 3) {
94
+ const first = bytes[index];
95
+ const second = bytes[index + 1];
96
+ const third = bytes[index + 2];
97
+ const value = first << 16 | (second ?? 0) << 8 | (third ?? 0);
98
+ result += BASE64URL_ALPHABET[value >> 18 & 63];
99
+ result += BASE64URL_ALPHABET[value >> 12 & 63];
100
+ if (second !== void 0) result += BASE64URL_ALPHABET[value >> 6 & 63];
101
+ if (third !== void 0) result += BASE64URL_ALPHABET[value & 63];
102
+ }
103
+ return result;
104
+ }
105
+ function base64UrlDecode(value) {
106
+ if (!/^[A-Za-z0-9_-]*$/.test(value) || value.length % 4 === 1) throw new Error("Invalid channel key");
107
+ const bytes = [];
108
+ for (let index = 0; index < value.length; index += 4) {
109
+ const chunk = value.slice(index, index + 4);
110
+ const encoded = [...chunk].map((character) => BASE64URL_ALPHABET.indexOf(character));
111
+ if (encoded.some((part) => part < 0)) throw new Error("Invalid channel key");
112
+ const bits = encoded[0] << 18 | encoded[1] << 12 | (encoded[2] ?? 0) << 6 | (encoded[3] ?? 0);
113
+ bytes.push(bits >> 16 & 255);
114
+ if (chunk.length >= 3) bytes.push(bits >> 8 & 255);
115
+ if (chunk.length === 4) bytes.push(bits & 255);
116
+ }
117
+ return bytes;
118
+ }
119
+ function normalizeChannelName(channel) {
120
+ return channel.trim().normalize("NFC");
121
+ }
122
+ function assertCanonicalChannelName(channel) {
123
+ const normalized = normalizeChannelName(channel);
124
+ if (normalized.length === 0 || normalized !== channel) throw new Error("Channel name must be non-empty, trimmed, and NFC-normalized");
125
+ let codePointCount = 0;
126
+ for (const _codePoint of normalized) {
127
+ codePointCount += 1;
128
+ if (codePointCount > 255) throw new Error("Channel name must not exceed 255 characters");
129
+ }
130
+ }
131
+ function encodeChannelKey(channel) {
132
+ assertCanonicalChannelName(channel);
133
+ return base64UrlEncode(encodeUtf8(channel));
134
+ }
135
+ function decodeChannelKey(channelKey) {
136
+ const channel = decodeUtf8(base64UrlDecode(channelKey));
137
+ assertCanonicalChannelName(channel);
138
+ if (encodeChannelKey(channel) !== channelKey) throw new Error("Channel key is not canonically encoded");
139
+ return channel;
140
+ }
141
+ function createReleaseCatalogScopeKey(input) {
142
+ decodeChannelKey(input.channelKey);
143
+ if (input.strategy === "APP_VERSION") return `v1:app-version:${input.platform}:${input.channelKey}`;
144
+ assertCatalogSegment(input.fingerprintHash, "Fingerprint hash");
145
+ return `v1:fingerprint:${input.platform}:${input.channelKey}:${input.fingerprintHash}`;
146
+ }
147
+ function parseReleaseCatalogScopeKey(scopeKey) {
148
+ const segments = scopeKey.split(":");
149
+ const [version, strategy, platform, channelKey] = segments;
150
+ if (version !== "v1" || platform !== "ios" && platform !== "android" || channelKey === void 0) throw new Error("Invalid release catalog scope key");
151
+ const input = strategy === "app-version" && segments.length === 4 ? {
152
+ channelKey,
153
+ platform,
154
+ strategy: "APP_VERSION"
155
+ } : strategy === "fingerprint" && segments.length === 5 && segments[4] !== void 0 ? {
156
+ channelKey,
157
+ fingerprintHash: segments[4],
158
+ platform,
159
+ strategy: "FINGERPRINT"
160
+ } : (() => {
161
+ throw new Error("Invalid release catalog scope key");
162
+ })();
163
+ if (createReleaseCatalogScopeKey(input) !== scopeKey) throw new Error("Release catalog scope key is not canonical");
164
+ return input;
165
+ }
166
+ const UUID_V7_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/;
167
+ const isUUIDv7 = (value) => typeof value === "string" && UUID_V7_PATTERN.test(value);
168
+ /** The largest release catalog response body a client accepts, in UTF-8 bytes. */
169
+ const MAX_RELEASE_CATALOG_WIRE_BYTES = 528384;
170
+ /** The length of `value` in UTF-8 bytes, without an encoder the device may lack. */
171
+ const getUtf8ByteLength = (value) => {
172
+ let bytes = 0;
173
+ for (let index = 0; index < value.length; index += 1) {
174
+ const code = value.charCodeAt(index);
175
+ if (code <= 127) bytes += 1;
176
+ else if (code <= 2047) bytes += 2;
177
+ else if (code >= 55296 && code <= 56319 && index + 1 < value.length && value.charCodeAt(index + 1) >= 56320 && value.charCodeAt(index + 1) <= 57343) {
178
+ bytes += 4;
179
+ index += 1;
180
+ } else bytes += 3;
181
+ }
182
+ return bytes;
183
+ };
184
+ const isStringArray = (value) => Array.isArray(value) && value.every((entry) => typeof entry === "string");
185
+ const isValidReleaseDescriptor = (value) => {
186
+ if (value === null || typeof value !== "object") return false;
187
+ const descriptor = value;
188
+ return isUUIDv7(descriptor.releaseId) && descriptor.kind === "BUNDLE" && typeof descriptor.bundleId === "string" && Number.isSafeInteger(descriptor.rolloutCohortCount) && descriptor.rolloutCohortCount >= 0 && descriptor.rolloutCohortCount <= 1e3 && isStringArray(descriptor.targetCohorts) && descriptor.targetCohorts.length <= 100 && typeof descriptor.shouldForceUpdate === "boolean" && (descriptor.message === null || typeof descriptor.message === "string");
189
+ };
190
+ /** Whether the catalog is the expected scope's. */
191
+ const hasExpectedReleaseCatalogScope = (catalog, expected) => {
192
+ try {
193
+ const parsed = parseReleaseCatalogScopeKey(catalog.scopeKey);
194
+ return parsed.channelKey === expected.channelKey && parsed.platform === expected.platform && parsed.strategy === expected.strategy && (parsed.strategy === "APP_VERSION" || expected.strategy === "FINGERPRINT" && parsed.fingerprintHash === expected.fingerprintHash);
195
+ } catch {
196
+ return false;
197
+ }
198
+ };
199
+ /**
200
+ * Parses a release catalog response body as a client accepts it: within the
201
+ * wire limit, in the schema's shape, for the expected scope, and within the
202
+ * cohort limits. Any other body is null. The device's update client and
203
+ * doctor's server checks both run this, so they accept the same catalogs.
204
+ */
205
+ const parseReleaseCatalog = (body, expectedScope) => {
206
+ if (getUtf8ByteLength(body) > 528384) return null;
207
+ try {
208
+ const catalog = JSON.parse(body);
209
+ if (catalog.schemaVersion !== 1 || typeof catalog.catalogId !== "string" || catalog.catalogId.length === 0 || typeof catalog.scopeKey !== "string" || !Number.isSafeInteger(catalog.generation) || (catalog.generation ?? 0) < 1 || typeof catalog.catalogHash !== "string" || !/^sha256:[0-9a-f]{64}$/.test(catalog.catalogHash) || catalog.fallbackPolicy !== "BUILTIN_IF_ACTIVE_INELIGIBLE" || !Array.isArray(catalog.releases) || !catalog.releases.every(isValidReleaseDescriptor) || !Array.isArray(catalog.rollbackReleases) || !catalog.rollbackReleases.every(isValidReleaseDescriptor)) return null;
210
+ if (!hasExpectedReleaseCatalogScope(catalog, expectedScope)) return null;
211
+ if (new Set([...catalog.releases, ...catalog.rollbackReleases].flatMap((release) => release.targetCohorts)).size > 512) return null;
212
+ return catalog;
213
+ } catch {
214
+ return null;
215
+ }
216
+ };
217
+ //#endregion
218
+ //#region src/commands/infra/clientAuth.ts
219
+ /** Where the script keeps the credential it generated, before registering it. */
220
+ const CLIENT_CREDENTIAL_FILE = "client-credential.local";
221
+ //#endregion
222
+ //#region src/commands/doctor/server.ts
223
+ var VerificationError = class extends Error {};
224
+ const requireCheck = (condition, message) => {
225
+ if (!condition) throw new VerificationError(message);
226
+ };
227
+ const isObject = (value) => value !== null && typeof value === "object" && !Array.isArray(value);
228
+ const isText = (value) => typeof value === "string" && value.length > 0;
229
+ const parseJson = (body) => {
230
+ try {
231
+ return JSON.parse(body);
232
+ } catch {
233
+ throw new VerificationError("Server did not return valid JSON.");
234
+ }
235
+ };
236
+ async function verifyServer(options) {
237
+ const { clientAuth } = options;
238
+ const request = async (url, credential) => {
239
+ const response = await (options.fetch ?? fetch)(url, {
240
+ headers: credential && clientAuth ? { [clientAuth.credential.header]: credential } : {},
241
+ redirect: "error",
242
+ signal: AbortSignal.timeout(1e4)
243
+ });
244
+ let body = "";
245
+ let size = 0;
246
+ const decoder = new TextDecoder();
247
+ for await (const chunk of response.body ?? []) {
248
+ size += chunk.byteLength;
249
+ requireCheck(size <= MAX_RELEASE_CATALOG_WIRE_BYTES, "Server response exceeds the probe limit.");
250
+ body += decoder.decode(chunk, { stream: true });
251
+ }
252
+ body += decoder.decode();
253
+ return {
254
+ response,
255
+ body
256
+ };
257
+ };
258
+ let check = "inputs";
259
+ try {
260
+ const values = {
261
+ "base-url": options.baseUrl,
262
+ platform: options.platform,
263
+ channel: options.channel,
264
+ "app-version": options.appVersion,
265
+ fingerprint: options.fingerprint
266
+ };
267
+ requireCheck(isText(values["base-url"]) && (values.platform === "ios" || values.platform === "android") && isText(values.channel) && isText(values["app-version"] ?? values.fingerprint) && values["app-version"] === void 0 !== (values.fingerprint === void 0), "Provide --base-url, --platform, --channel and exactly one of --app-version or --fingerprint.");
268
+ const baseUrl = new URL(values["base-url"]);
269
+ requireCheck(["http:", "https:"].includes(baseUrl.protocol) && !baseUrl.username && !baseUrl.password && !baseUrl.search && !baseUrl.hash, "Use an HTTP(S) server base URL without credentials, query or fragment.");
270
+ const environmentText = await readFile(path.join(options.cwd, ".env.hotupdater"), "utf8").catch((error) => {
271
+ if (error.code === "ENOENT") return "";
272
+ throw error;
273
+ });
274
+ const environment = parseEnv(environmentText.replace(/^\uFEFF/, ""));
275
+ let credential;
276
+ if (clientAuth) {
277
+ const { env, label } = clientAuth.credential;
278
+ const saved = (await readFile(path.join(options.infraDir, "app", CLIENT_CREDENTIAL_FILE), "utf8").catch((error) => {
279
+ if (error.code === "ENOENT") return "";
280
+ throw error;
281
+ })).trim();
282
+ const fromEnvironment = (process.env[env] ?? environment[env])?.trim();
283
+ requireCheck(!saved || !fromEnvironment || saved === fromEnvironment, `Saved client ${label}s differ. Resolve the target ${label} before verification.`);
284
+ credential = fromEnvironment || saved;
285
+ requireCheck(credential, `Store the client ${label} locally before verification.`);
286
+ }
287
+ const strategy = values["app-version"] ? "app-version" : "fingerprint";
288
+ const target = values["app-version"] || values.fingerprint;
289
+ requireCheck(isText(target), "An update target is required.");
290
+ requireCheck(target !== "." && target !== ".." && (strategy !== "fingerprint" || /^[A-Za-z0-9._~-]{1,255}$/.test(target)) && values.channel === values.channel.trim().normalize("NFC") && [...values.channel].length <= 255, "Use the app's canonical channel and version or fingerprint as the catalog target.");
291
+ const channelKey = Buffer.from(values.channel).toString("base64url");
292
+ const expectedScope = strategy === "fingerprint" ? {
293
+ channelKey,
294
+ platform: values.platform,
295
+ strategy: "FINGERPRINT",
296
+ fingerprintHash: target
297
+ } : {
298
+ channelKey,
299
+ platform: values.platform,
300
+ strategy: "APP_VERSION"
301
+ };
302
+ const routeUrl = (route) => {
303
+ const url = new URL(baseUrl);
304
+ url.pathname = `${url.pathname.replace(/\/+$/, "")}/${route}`;
305
+ return url;
306
+ };
307
+ const catalogUrl = routeUrl(`release-catalogs/${strategy}/${values.platform}/${channelKey}/${encodeURIComponent(target)}`);
308
+ check = "version";
309
+ const version = await request(routeUrl("version"));
310
+ requireCheck(version.response.status === 200, "The version probe failed.");
311
+ const versionBody = parseJson(version.body);
312
+ requireCheck(isObject(versionBody) && versionBody["version"] === options.serverVersion && versionBody["infrastructureGeneration"] === options.infrastructureGeneration, "Server version or infrastructure generation does not match the scaffold.");
313
+ check = "anonymous-catalog";
314
+ if (clientAuth) {
315
+ const anonymous = await request(catalogUrl);
316
+ requireCheck(anonymous.response.status === 401, `The catalog must reject a request without the client ${clientAuth.credential.label} with HTTP 401.`);
317
+ }
318
+ check = "authenticated-catalog";
319
+ const authenticated = await request(catalogUrl, credential);
320
+ const catalog = parseJson(authenticated.body);
321
+ const contentType = authenticated.response.headers.get("content-type") ?? "";
322
+ const empty = authenticated.response.status === 404;
323
+ if (empty) requireCheck(/^application\/json(?:;|$)/i.test(contentType) && isObject(catalog) && Object.keys(catalog).length === 1 && catalog["error"] === "Not found" && authenticated.response.headers.get("x-hot-updater-catalog") === "none", "HTTP 404 must be the empty-catalog response marked x-hot-updater-catalog: none.");
324
+ else requireCheck(authenticated.response.status === 200 && /^application\/vnd\.hot-updater\.release-catalog\+json;\s*version=1(?:;|$)/i.test(contentType) && parseReleaseCatalog(authenticated.body, expectedScope) !== null, clientAuth ? "The authenticated request must return a valid release catalog for the requested scope." : "The request must return a valid release catalog for the requested scope.");
325
+ return {
326
+ status: "verified",
327
+ checks: {
328
+ version: "matches-manifest",
329
+ anonymousCatalog: clientAuth ? 401 : "public",
330
+ authenticatedCatalog: authenticated.response.status,
331
+ catalog: empty ? "empty" : "available"
332
+ }
333
+ };
334
+ } catch (error) {
335
+ return {
336
+ status: "failed",
337
+ check,
338
+ error: error instanceof VerificationError ? error.message : "Verification failed. Check local configuration, server access and response time."
339
+ };
340
+ }
341
+ }
342
+ //#endregion
343
+ //#region agent/verify-server.mjs
344
+ try {
345
+ const { values } = parseArgs({
346
+ options: {
347
+ "base-url": { type: "string" },
348
+ platform: { type: "string" },
349
+ channel: { type: "string" },
350
+ "app-version": { type: "string" },
351
+ fingerprint: { type: "string" }
352
+ },
353
+ strict: true,
354
+ allowPositionals: false
355
+ });
356
+ const manifest = JSON.parse(await readFile(new URL("../manifest.json", import.meta.url), "utf8"));
357
+ if (typeof manifest.serverVersion !== "string" || !Number.isInteger(manifest.infrastructureGeneration) || manifest.clientAuth === void 0) throw new Error("Invalid manifest");
358
+ const result = await verifyServer({
359
+ cwd: process.cwd(),
360
+ infraDir: fileURLToPath(new URL("..", import.meta.url)),
361
+ baseUrl: values["base-url"],
362
+ platform: values.platform,
363
+ channel: values.channel,
364
+ appVersion: values["app-version"],
365
+ fingerprint: values.fingerprint,
366
+ serverVersion: manifest.serverVersion,
367
+ infrastructureGeneration: manifest.infrastructureGeneration,
368
+ clientAuth: manifest.clientAuth
369
+ });
370
+ console.log(JSON.stringify(result));
371
+ if (result.status !== "verified") process.exitCode = 1;
372
+ } catch {
373
+ console.log(JSON.stringify({
374
+ status: "failed",
375
+ check: "inputs",
376
+ error: "Cannot read verification inputs or scaffold manifest."
377
+ }));
378
+ process.exitCode = 1;
379
+ }
380
+ //#endregion
381
+ export {};
package/dist/config.d.mts CHANGED
@@ -49,22 +49,7 @@ declare const readLocalFingerprint: () => Promise<{
49
49
  android: FingerprintResult | null;
50
50
  } | null>;
51
51
  //#endregion
52
- //#region src/utils/signing/keyGeneration.d.ts
53
- /**
54
- * Load private key from PEM file.
55
- * @param privateKeyPath Path to private key file
56
- * @returns Private key in PEM format
57
- * @throws Error if file not found or invalid format
58
- */
59
- declare function loadPrivateKey(privateKeyPath: string): Promise<string>;
60
- /**
61
- * Extract public key from private key.
62
- * @param privateKeyPEM Private key in PEM format
63
- * @returns Public key in PEM format
64
- */
65
- declare function getPublicKeyFromPrivate(privateKeyPEM: string): string;
66
- //#endregion
67
52
  //#region src/config.d.ts
68
53
  declare const defineConfig: (config: ConfigInput | ((options: HotUpdaterConfigOptions) => ConfigInput)) => ConfigInput | ((options: HotUpdaterConfigOptions) => ConfigInput);
69
54
  //#endregion
70
- export { createAndInjectFingerprintFiles, createFingerprintJSON, defineConfig, generateFingerprint, generateFingerprints, getPublicKeyFromPrivate, loadPrivateKey, readLocalFingerprint };
55
+ export { createAndInjectFingerprintFiles, createFingerprintJSON, defineConfig, generateFingerprint, generateFingerprints, readLocalFingerprint };
package/dist/config.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { c as generateFingerprint, d as readLocalFingerprint, i as loadPrivateKey, l as generateFingerprints, o as createAndInjectFingerprintFiles, r as getPublicKeyFromPrivate, s as createFingerprintJSON } from "./keyGeneration-BKMUY8Y4.mjs";
1
+ import { i as generateFingerprints, n as createFingerprintJSON, o as readLocalFingerprint, r as generateFingerprint, t as createAndInjectFingerprintFiles } from "./fingerprint-D0Q1Sl5G.mjs";
2
2
  //#region src/config.ts
3
3
  const defineConfig = (config) => {
4
4
  return config;
5
5
  };
6
6
  //#endregion
7
- export { createAndInjectFingerprintFiles, createFingerprintJSON, defineConfig, generateFingerprint, generateFingerprints, getPublicKeyFromPrivate, loadPrivateKey, readLocalFingerprint };
7
+ export { createAndInjectFingerprintFiles, createFingerprintJSON, defineConfig, generateFingerprint, generateFingerprints, readLocalFingerprint };