@runa-ai/runa-cli 0.5.26

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 (615) hide show
  1. package/dist/cli/contract-mode.d.ts +2 -0
  2. package/dist/cli/contract-mode.d.ts.map +1 -0
  3. package/dist/cli/contract-output.d.ts +4 -0
  4. package/dist/cli/contract-output.d.ts.map +1 -0
  5. package/dist/cli/early-flags.d.ts +10 -0
  6. package/dist/cli/early-flags.d.ts.map +1 -0
  7. package/dist/cli/error-handler.d.ts +28 -0
  8. package/dist/cli/error-handler.d.ts.map +1 -0
  9. package/dist/cli/exec.d.ts +15 -0
  10. package/dist/cli/exec.d.ts.map +1 -0
  11. package/dist/cli/index.d.ts +16 -0
  12. package/dist/cli/index.d.ts.map +1 -0
  13. package/dist/cli/json-output.d.ts +4 -0
  14. package/dist/cli/json-output.d.ts.map +1 -0
  15. package/dist/cli/non-interactive.d.ts +4 -0
  16. package/dist/cli/non-interactive.d.ts.map +1 -0
  17. package/dist/cli/output-format.d.ts +5 -0
  18. package/dist/cli/output-format.d.ts.map +1 -0
  19. package/dist/cli/signal-handler.d.ts +32 -0
  20. package/dist/cli/signal-handler.d.ts.map +1 -0
  21. package/dist/commands/build/actors/build.d.ts +32 -0
  22. package/dist/commands/build/actors/build.d.ts.map +1 -0
  23. package/dist/commands/build/actors/clean.d.ts +36 -0
  24. package/dist/commands/build/actors/clean.d.ts.map +1 -0
  25. package/dist/commands/build/actors/db-sync.d.ts +30 -0
  26. package/dist/commands/build/actors/db-sync.d.ts.map +1 -0
  27. package/dist/commands/build/actors/index.d.ts +20 -0
  28. package/dist/commands/build/actors/index.d.ts.map +1 -0
  29. package/dist/commands/build/actors/manifest.d.ts +34 -0
  30. package/dist/commands/build/actors/manifest.d.ts.map +1 -0
  31. package/dist/commands/build/actors/setup.d.ts +74 -0
  32. package/dist/commands/build/actors/setup.d.ts.map +1 -0
  33. package/dist/commands/build/actors/static-checks.d.ts +36 -0
  34. package/dist/commands/build/actors/static-checks.d.ts.map +1 -0
  35. package/dist/commands/build/actors/validate.d.ts +28 -0
  36. package/dist/commands/build/actors/validate.d.ts.map +1 -0
  37. package/dist/commands/build/commands/build.d.ts +25 -0
  38. package/dist/commands/build/commands/build.d.ts.map +1 -0
  39. package/dist/commands/build/contract.d.ts +213 -0
  40. package/dist/commands/build/contract.d.ts.map +1 -0
  41. package/dist/commands/build/guards.d.ts +106 -0
  42. package/dist/commands/build/guards.d.ts.map +1 -0
  43. package/dist/commands/build/index.d.ts +9 -0
  44. package/dist/commands/build/index.d.ts.map +1 -0
  45. package/dist/commands/build/machine.d.ts +212 -0
  46. package/dist/commands/build/machine.d.ts.map +1 -0
  47. package/dist/commands/build/types.d.ts +75 -0
  48. package/dist/commands/build/types.d.ts.map +1 -0
  49. package/dist/commands/cache.d.ts +32 -0
  50. package/dist/commands/cache.d.ts.map +1 -0
  51. package/dist/commands/check/commands/check.d.ts +26 -0
  52. package/dist/commands/check/commands/check.d.ts.map +1 -0
  53. package/dist/commands/check/index.d.ts +24 -0
  54. package/dist/commands/check/index.d.ts.map +1 -0
  55. package/dist/commands/ci/commands/ci-checks.d.ts +14 -0
  56. package/dist/commands/ci/commands/ci-checks.d.ts.map +1 -0
  57. package/dist/commands/ci/commands/ci-layer-content.d.ts +40 -0
  58. package/dist/commands/ci/commands/ci-layer-content.d.ts.map +1 -0
  59. package/dist/commands/ci/commands/ci-pr-capabilities.d.ts +30 -0
  60. package/dist/commands/ci/commands/ci-pr-capabilities.d.ts.map +1 -0
  61. package/dist/commands/ci/commands/ci-prod-apply.d.ts +10 -0
  62. package/dist/commands/ci/commands/ci-prod-apply.d.ts.map +1 -0
  63. package/dist/commands/ci/commands/ci-prod-db-operations.d.ts +98 -0
  64. package/dist/commands/ci/commands/ci-prod-db-operations.d.ts.map +1 -0
  65. package/dist/commands/ci/commands/ci-prod-github.d.ts +28 -0
  66. package/dist/commands/ci/commands/ci-prod-github.d.ts.map +1 -0
  67. package/dist/commands/ci/commands/ci-prod-utils.d.ts +33 -0
  68. package/dist/commands/ci/commands/ci-prod-utils.d.ts.map +1 -0
  69. package/dist/commands/ci/commands/ci-resolvers.d.ts +71 -0
  70. package/dist/commands/ci/commands/ci-resolvers.d.ts.map +1 -0
  71. package/dist/commands/ci/commands/ci-static.d.ts +18 -0
  72. package/dist/commands/ci/commands/ci-static.d.ts.map +1 -0
  73. package/dist/commands/ci/commands/ci-supabase-local.d.ts +51 -0
  74. package/dist/commands/ci/commands/ci-supabase-local.d.ts.map +1 -0
  75. package/dist/commands/ci/index.d.ts +23 -0
  76. package/dist/commands/ci/index.d.ts.map +1 -0
  77. package/dist/commands/ci/machine/actors/build/app-build.d.ts +31 -0
  78. package/dist/commands/ci/machine/actors/build/app-build.d.ts.map +1 -0
  79. package/dist/commands/ci/machine/actors/build/app-start.d.ts +47 -0
  80. package/dist/commands/ci/machine/actors/build/app-start.d.ts.map +1 -0
  81. package/dist/commands/ci/machine/actors/build/build-and-playwright.d.ts +41 -0
  82. package/dist/commands/ci/machine/actors/build/build-and-playwright.d.ts.map +1 -0
  83. package/dist/commands/ci/machine/actors/build/index.d.ts +12 -0
  84. package/dist/commands/ci/machine/actors/build/index.d.ts.map +1 -0
  85. package/dist/commands/ci/machine/actors/build/playwright-install.d.ts +30 -0
  86. package/dist/commands/ci/machine/actors/build/playwright-install.d.ts.map +1 -0
  87. package/dist/commands/ci/machine/actors/build/static-checks.d.ts +35 -0
  88. package/dist/commands/ci/machine/actors/build/static-checks.d.ts.map +1 -0
  89. package/dist/commands/ci/machine/actors/db/apply-seeds.d.ts +32 -0
  90. package/dist/commands/ci/machine/actors/db/apply-seeds.d.ts.map +1 -0
  91. package/dist/commands/ci/machine/actors/db/collect-schema-stats.d.ts +38 -0
  92. package/dist/commands/ci/machine/actors/db/collect-schema-stats.d.ts.map +1 -0
  93. package/dist/commands/ci/machine/actors/db/index.d.ts +16 -0
  94. package/dist/commands/ci/machine/actors/db/index.d.ts.map +1 -0
  95. package/dist/commands/ci/machine/actors/db/pgtap-install.d.ts +33 -0
  96. package/dist/commands/ci/machine/actors/db/pgtap-install.d.ts.map +1 -0
  97. package/dist/commands/ci/machine/actors/db/production-preview.d.ts +34 -0
  98. package/dist/commands/ci/machine/actors/db/production-preview.d.ts.map +1 -0
  99. package/dist/commands/ci/machine/actors/db/pull-production.d.ts +35 -0
  100. package/dist/commands/ci/machine/actors/db/pull-production.d.ts.map +1 -0
  101. package/dist/commands/ci/machine/actors/db/reset.d.ts +31 -0
  102. package/dist/commands/ci/machine/actors/db/reset.d.ts.map +1 -0
  103. package/dist/commands/ci/machine/actors/db/schema-stats.d.ts +141 -0
  104. package/dist/commands/ci/machine/actors/db/schema-stats.d.ts.map +1 -0
  105. package/dist/commands/ci/machine/actors/db/setup-roles.d.ts +37 -0
  106. package/dist/commands/ci/machine/actors/db/setup-roles.d.ts.map +1 -0
  107. package/dist/commands/ci/machine/actors/db/sync-schema.d.ts +48 -0
  108. package/dist/commands/ci/machine/actors/db/sync-schema.d.ts.map +1 -0
  109. package/dist/commands/ci/machine/actors/finalize/github.d.ts +66 -0
  110. package/dist/commands/ci/machine/actors/finalize/github.d.ts.map +1 -0
  111. package/dist/commands/ci/machine/actors/finalize/index.d.ts +9 -0
  112. package/dist/commands/ci/machine/actors/finalize/index.d.ts.map +1 -0
  113. package/dist/commands/ci/machine/actors/finalize/summary.d.ts +32 -0
  114. package/dist/commands/ci/machine/actors/finalize/summary.d.ts.map +1 -0
  115. package/dist/commands/ci/machine/actors/index.d.ts +17 -0
  116. package/dist/commands/ci/machine/actors/index.d.ts.map +1 -0
  117. package/dist/commands/ci/machine/actors/setup/index.d.ts +10 -0
  118. package/dist/commands/ci/machine/actors/setup/index.d.ts.map +1 -0
  119. package/dist/commands/ci/machine/actors/setup/local.d.ts +41 -0
  120. package/dist/commands/ci/machine/actors/setup/local.d.ts.map +1 -0
  121. package/dist/commands/ci/machine/actors/setup/pr-common.d.ts +145 -0
  122. package/dist/commands/ci/machine/actors/setup/pr-common.d.ts.map +1 -0
  123. package/dist/commands/ci/machine/actors/setup/pr-local.d.ts +17 -0
  124. package/dist/commands/ci/machine/actors/setup/pr-local.d.ts.map +1 -0
  125. package/dist/commands/ci/machine/actors/test/capabilities.d.ts +66 -0
  126. package/dist/commands/ci/machine/actors/test/capabilities.d.ts.map +1 -0
  127. package/dist/commands/ci/machine/actors/test/index.d.ts +9 -0
  128. package/dist/commands/ci/machine/actors/test/index.d.ts.map +1 -0
  129. package/dist/commands/ci/machine/actors/test/run-layers.d.ts +43 -0
  130. package/dist/commands/ci/machine/actors/test/run-layers.d.ts.map +1 -0
  131. package/dist/commands/ci/machine/commands/ci-local.d.ts +18 -0
  132. package/dist/commands/ci/machine/commands/ci-local.d.ts.map +1 -0
  133. package/dist/commands/ci/machine/commands/ci-pr.d.ts +14 -0
  134. package/dist/commands/ci/machine/commands/ci-pr.d.ts.map +1 -0
  135. package/dist/commands/ci/machine/commands/index.d.ts +13 -0
  136. package/dist/commands/ci/machine/commands/index.d.ts.map +1 -0
  137. package/dist/commands/ci/machine/commands/machine-runner.d.ts +36 -0
  138. package/dist/commands/ci/machine/commands/machine-runner.d.ts.map +1 -0
  139. package/dist/commands/ci/machine/contract.d.ts +393 -0
  140. package/dist/commands/ci/machine/contract.d.ts.map +1 -0
  141. package/dist/commands/ci/machine/formatters/github-comment-types.d.ts +87 -0
  142. package/dist/commands/ci/machine/formatters/github-comment-types.d.ts.map +1 -0
  143. package/dist/commands/ci/machine/formatters/github-comment.d.ts +44 -0
  144. package/dist/commands/ci/machine/formatters/github-comment.d.ts.map +1 -0
  145. package/dist/commands/ci/machine/formatters/index.d.ts +13 -0
  146. package/dist/commands/ci/machine/formatters/index.d.ts.map +1 -0
  147. package/dist/commands/ci/machine/formatters/sections/final-comment.d.ts +18 -0
  148. package/dist/commands/ci/machine/formatters/sections/final-comment.d.ts.map +1 -0
  149. package/dist/commands/ci/machine/formatters/sections/format-helpers.d.ts +63 -0
  150. package/dist/commands/ci/machine/formatters/sections/format-helpers.d.ts.map +1 -0
  151. package/dist/commands/ci/machine/formatters/sections/index.d.ts +10 -0
  152. package/dist/commands/ci/machine/formatters/sections/index.d.ts.map +1 -0
  153. package/dist/commands/ci/machine/formatters/sections/progress-comment.d.ts +14 -0
  154. package/dist/commands/ci/machine/formatters/sections/progress-comment.d.ts.map +1 -0
  155. package/dist/commands/ci/machine/formatters/sections/schema-matrix.d.ts +25 -0
  156. package/dist/commands/ci/machine/formatters/sections/schema-matrix.d.ts.map +1 -0
  157. package/dist/commands/ci/machine/formatters/summary.d.ts +27 -0
  158. package/dist/commands/ci/machine/formatters/summary.d.ts.map +1 -0
  159. package/dist/commands/ci/machine/guards.d.ts +136 -0
  160. package/dist/commands/ci/machine/guards.d.ts.map +1 -0
  161. package/dist/commands/ci/machine/helpers.d.ts +88 -0
  162. package/dist/commands/ci/machine/helpers.d.ts.map +1 -0
  163. package/dist/commands/ci/machine/index.d.ts +21 -0
  164. package/dist/commands/ci/machine/index.d.ts.map +1 -0
  165. package/dist/commands/ci/machine/machine.d.ts +315 -0
  166. package/dist/commands/ci/machine/machine.d.ts.map +1 -0
  167. package/dist/commands/ci/machine/types.d.ts +264 -0
  168. package/dist/commands/ci/machine/types.d.ts.map +1 -0
  169. package/dist/commands/ci/utils/ai-report.d.ts +70 -0
  170. package/dist/commands/ci/utils/ai-report.d.ts.map +1 -0
  171. package/dist/commands/ci/utils/app-process.d.ts +29 -0
  172. package/dist/commands/ci/utils/app-process.d.ts.map +1 -0
  173. package/dist/commands/ci/utils/app-runtime.d.ts +27 -0
  174. package/dist/commands/ci/utils/app-runtime.d.ts.map +1 -0
  175. package/dist/commands/ci/utils/ci-config.d.ts +22 -0
  176. package/dist/commands/ci/utils/ci-config.d.ts.map +1 -0
  177. package/dist/commands/ci/utils/ci-env-schema.d.ts +128 -0
  178. package/dist/commands/ci/utils/ci-env-schema.d.ts.map +1 -0
  179. package/dist/commands/ci/utils/ci-logging.d.ts +16 -0
  180. package/dist/commands/ci/utils/ci-logging.d.ts.map +1 -0
  181. package/dist/commands/ci/utils/ci-summary.d.ts +109 -0
  182. package/dist/commands/ci/utils/ci-summary.d.ts.map +1 -0
  183. package/dist/commands/ci/utils/config-readers.d.ts +46 -0
  184. package/dist/commands/ci/utils/config-readers.d.ts.map +1 -0
  185. package/dist/commands/ci/utils/db-url-utils.d.ts +81 -0
  186. package/dist/commands/ci/utils/db-url-utils.d.ts.map +1 -0
  187. package/dist/commands/ci/utils/e2e-auth-setup.d.ts +78 -0
  188. package/dist/commands/ci/utils/e2e-auth-setup.d.ts.map +1 -0
  189. package/dist/commands/ci/utils/execa-helpers.d.ts +14 -0
  190. package/dist/commands/ci/utils/execa-helpers.d.ts.map +1 -0
  191. package/dist/commands/ci/utils/exit-code-computation.d.ts +62 -0
  192. package/dist/commands/ci/utils/exit-code-computation.d.ts.map +1 -0
  193. package/dist/commands/ci/utils/github-api.d.ts +54 -0
  194. package/dist/commands/ci/utils/github-api.d.ts.map +1 -0
  195. package/dist/commands/ci/utils/github.d.ts +43 -0
  196. package/dist/commands/ci/utils/github.d.ts.map +1 -0
  197. package/dist/commands/ci/utils/index.d.ts +25 -0
  198. package/dist/commands/ci/utils/index.d.ts.map +1 -0
  199. package/dist/commands/ci/utils/pgtap-installer.d.ts +34 -0
  200. package/dist/commands/ci/utils/pgtap-installer.d.ts.map +1 -0
  201. package/dist/commands/ci/utils/rls-verification.d.ts +72 -0
  202. package/dist/commands/ci/utils/rls-verification.d.ts.map +1 -0
  203. package/dist/commands/ci/utils/schema-operations.d.ts +42 -0
  204. package/dist/commands/ci/utils/schema-operations.d.ts.map +1 -0
  205. package/dist/commands/ci/utils/seed-operations.d.ts +101 -0
  206. package/dist/commands/ci/utils/seed-operations.d.ts.map +1 -0
  207. package/dist/commands/ci/utils/test-parallel.d.ts +45 -0
  208. package/dist/commands/ci/utils/test-parallel.d.ts.map +1 -0
  209. package/dist/commands/ci/utils/timestamp-invariants.d.ts +13 -0
  210. package/dist/commands/ci/utils/timestamp-invariants.d.ts.map +1 -0
  211. package/dist/commands/db/apply/actors.d.ts +42 -0
  212. package/dist/commands/db/apply/actors.d.ts.map +1 -0
  213. package/dist/commands/db/apply/contract.d.ts +64 -0
  214. package/dist/commands/db/apply/contract.d.ts.map +1 -0
  215. package/dist/commands/db/apply/helpers/advisory-lock.d.ts +18 -0
  216. package/dist/commands/db/apply/helpers/advisory-lock.d.ts.map +1 -0
  217. package/dist/commands/db/apply/helpers/index.d.ts +11 -0
  218. package/dist/commands/db/apply/helpers/index.d.ts.map +1 -0
  219. package/dist/commands/db/apply/helpers/pg-schema-diff-helpers.d.ts +122 -0
  220. package/dist/commands/db/apply/helpers/pg-schema-diff-helpers.d.ts.map +1 -0
  221. package/dist/commands/db/apply/helpers/retry-logic.d.ts +51 -0
  222. package/dist/commands/db/apply/helpers/retry-logic.d.ts.map +1 -0
  223. package/dist/commands/db/apply/index.d.ts +9 -0
  224. package/dist/commands/db/apply/index.d.ts.map +1 -0
  225. package/dist/commands/db/apply/machine.d.ts +126 -0
  226. package/dist/commands/db/apply/machine.d.ts.map +1 -0
  227. package/dist/commands/db/commands/db-apply.d.ts +6 -0
  228. package/dist/commands/db/commands/db-apply.d.ts.map +1 -0
  229. package/dist/commands/db/commands/db-audit.d.ts +13 -0
  230. package/dist/commands/db/commands/db-audit.d.ts.map +1 -0
  231. package/dist/commands/db/commands/db-backup.d.ts +18 -0
  232. package/dist/commands/db/commands/db-backup.d.ts.map +1 -0
  233. package/dist/commands/db/commands/db-cleanup.d.ts +3 -0
  234. package/dist/commands/db/commands/db-cleanup.d.ts.map +1 -0
  235. package/dist/commands/db/commands/db-derive-role-passwords.d.ts +18 -0
  236. package/dist/commands/db/commands/db-derive-role-passwords.d.ts.map +1 -0
  237. package/dist/commands/db/commands/db-derive-urls.d.ts +14 -0
  238. package/dist/commands/db/commands/db-derive-urls.d.ts.map +1 -0
  239. package/dist/commands/db/commands/db-diagram.d.ts +21 -0
  240. package/dist/commands/db/commands/db-diagram.d.ts.map +1 -0
  241. package/dist/commands/db/commands/db-drizzle.d.ts +17 -0
  242. package/dist/commands/db/commands/db-drizzle.d.ts.map +1 -0
  243. package/dist/commands/db/commands/db-extension.d.ts +16 -0
  244. package/dist/commands/db/commands/db-extension.d.ts.map +1 -0
  245. package/dist/commands/db/commands/db-generate-password.d.ts +19 -0
  246. package/dist/commands/db/commands/db-generate-password.d.ts.map +1 -0
  247. package/dist/commands/db/commands/db-lifecycle.d.ts +43 -0
  248. package/dist/commands/db/commands/db-lifecycle.d.ts.map +1 -0
  249. package/dist/commands/db/commands/db-rollback.d.ts +17 -0
  250. package/dist/commands/db/commands/db-rollback.d.ts.map +1 -0
  251. package/dist/commands/db/commands/db-schema.d.ts +51 -0
  252. package/dist/commands/db/commands/db-schema.d.ts.map +1 -0
  253. package/dist/commands/db/commands/db-seed-metadata.d.ts +20 -0
  254. package/dist/commands/db/commands/db-seed-metadata.d.ts.map +1 -0
  255. package/dist/commands/db/commands/db-seed-verify.d.ts +13 -0
  256. package/dist/commands/db/commands/db-seed-verify.d.ts.map +1 -0
  257. package/dist/commands/db/commands/db-seed.d.ts +32 -0
  258. package/dist/commands/db/commands/db-seed.d.ts.map +1 -0
  259. package/dist/commands/db/commands/db-snapshot.d.ts +12 -0
  260. package/dist/commands/db/commands/db-snapshot.d.ts.map +1 -0
  261. package/dist/commands/db/commands/db-stack.d.ts +17 -0
  262. package/dist/commands/db/commands/db-stack.d.ts.map +1 -0
  263. package/dist/commands/db/commands/db-stats.d.ts +15 -0
  264. package/dist/commands/db/commands/db-stats.d.ts.map +1 -0
  265. package/dist/commands/db/commands/db-sync.d.ts +3 -0
  266. package/dist/commands/db/commands/db-sync.d.ts.map +1 -0
  267. package/dist/commands/db/commands/db-test.d.ts +27 -0
  268. package/dist/commands/db/commands/db-test.d.ts.map +1 -0
  269. package/dist/commands/db/constants.d.ts +97 -0
  270. package/dist/commands/db/constants.d.ts.map +1 -0
  271. package/dist/commands/db/extension-registry.d.ts +81 -0
  272. package/dist/commands/db/extension-registry.d.ts.map +1 -0
  273. package/dist/commands/db/index.d.ts +17 -0
  274. package/dist/commands/db/index.d.ts.map +1 -0
  275. package/dist/commands/db/preflight/actors.d.ts +6 -0
  276. package/dist/commands/db/preflight/actors.d.ts.map +1 -0
  277. package/dist/commands/db/preflight/contract.d.ts +53 -0
  278. package/dist/commands/db/preflight/contract.d.ts.map +1 -0
  279. package/dist/commands/db/preflight/index.d.ts +3 -0
  280. package/dist/commands/db/preflight/index.d.ts.map +1 -0
  281. package/dist/commands/db/sync/actors.d.ts +93 -0
  282. package/dist/commands/db/sync/actors.d.ts.map +1 -0
  283. package/dist/commands/db/sync/contract.d.ts +155 -0
  284. package/dist/commands/db/sync/contract.d.ts.map +1 -0
  285. package/dist/commands/db/sync/index.d.ts +10 -0
  286. package/dist/commands/db/sync/index.d.ts.map +1 -0
  287. package/dist/commands/db/sync/machine.d.ts +159 -0
  288. package/dist/commands/db/sync/machine.d.ts.map +1 -0
  289. package/dist/commands/db/types.d.ts +107 -0
  290. package/dist/commands/db/types.d.ts.map +1 -0
  291. package/dist/commands/db/utils/db-target.d.ts +53 -0
  292. package/dist/commands/db/utils/db-target.d.ts.map +1 -0
  293. package/dist/commands/db/utils/db-url-builder.d.ts +34 -0
  294. package/dist/commands/db/utils/db-url-builder.d.ts.map +1 -0
  295. package/dist/commands/db/utils/error-handlers.d.ts +17 -0
  296. package/dist/commands/db/utils/error-handlers.d.ts.map +1 -0
  297. package/dist/commands/db/utils/preflight-check.d.ts +20 -0
  298. package/dist/commands/db/utils/preflight-check.d.ts.map +1 -0
  299. package/dist/commands/db/utils/psql.d.ts +17 -0
  300. package/dist/commands/db/utils/psql.d.ts.map +1 -0
  301. package/dist/commands/db/utils/schema-detector.d.ts +32 -0
  302. package/dist/commands/db/utils/schema-detector.d.ts.map +1 -0
  303. package/dist/commands/db/utils/schema-sync.d.ts +59 -0
  304. package/dist/commands/db/utils/schema-sync.d.ts.map +1 -0
  305. package/dist/commands/db/utils/script-runner.d.ts +34 -0
  306. package/dist/commands/db/utils/script-runner.d.ts.map +1 -0
  307. package/dist/commands/db/utils/seed-manager.d.ts +23 -0
  308. package/dist/commands/db/utils/seed-manager.d.ts.map +1 -0
  309. package/dist/commands/db/utils/semantic-mapper.d.ts +119 -0
  310. package/dist/commands/db/utils/semantic-mapper.d.ts.map +1 -0
  311. package/dist/commands/db/utils/sql-table-extractor.d.ts +56 -0
  312. package/dist/commands/db/utils/sql-table-extractor.d.ts.map +1 -0
  313. package/dist/commands/db/utils/stack-detector.d.ts +34 -0
  314. package/dist/commands/db/utils/stack-detector.d.ts.map +1 -0
  315. package/dist/commands/db/utils/table-registry.d.ts +112 -0
  316. package/dist/commands/db/utils/table-registry.d.ts.map +1 -0
  317. package/dist/commands/dev/actors/index.d.ts +14 -0
  318. package/dist/commands/dev/actors/index.d.ts.map +1 -0
  319. package/dist/commands/dev/commands/dev.d.ts +15 -0
  320. package/dist/commands/dev/commands/dev.d.ts.map +1 -0
  321. package/dist/commands/dev/contract.d.ts +46 -0
  322. package/dist/commands/dev/contract.d.ts.map +1 -0
  323. package/dist/commands/dev/guards.d.ts +26 -0
  324. package/dist/commands/dev/guards.d.ts.map +1 -0
  325. package/dist/commands/dev/machine.d.ts +121 -0
  326. package/dist/commands/dev/machine.d.ts.map +1 -0
  327. package/dist/commands/dev/types.d.ts +44 -0
  328. package/dist/commands/dev/types.d.ts.map +1 -0
  329. package/dist/commands/env/commands/env-check.d.ts +24 -0
  330. package/dist/commands/env/commands/env-check.d.ts.map +1 -0
  331. package/dist/commands/env/commands/env-encrypt.d.ts +19 -0
  332. package/dist/commands/env/commands/env-encrypt.d.ts.map +1 -0
  333. package/dist/commands/env/commands/env-pull.d.ts +49 -0
  334. package/dist/commands/env/commands/env-pull.d.ts.map +1 -0
  335. package/dist/commands/env/commands/env-setup.d.ts +51 -0
  336. package/dist/commands/env/commands/env-setup.d.ts.map +1 -0
  337. package/dist/commands/env/commands/env-sync.d.ts +18 -0
  338. package/dist/commands/env/commands/env-sync.d.ts.map +1 -0
  339. package/dist/commands/env/commands/setup/action.d.ts +18 -0
  340. package/dist/commands/env/commands/setup/action.d.ts.map +1 -0
  341. package/dist/commands/env/commands/setup/auth.d.ts +25 -0
  342. package/dist/commands/env/commands/setup/auth.d.ts.map +1 -0
  343. package/dist/commands/env/commands/setup/file-export.d.ts +20 -0
  344. package/dist/commands/env/commands/setup/file-export.d.ts.map +1 -0
  345. package/dist/commands/env/commands/setup/github-api.d.ts +17 -0
  346. package/dist/commands/env/commands/setup/github-api.d.ts.map +1 -0
  347. package/dist/commands/env/commands/setup/helpers.d.ts +117 -0
  348. package/dist/commands/env/commands/setup/helpers.d.ts.map +1 -0
  349. package/dist/commands/env/commands/setup/index.d.ts +16 -0
  350. package/dist/commands/env/commands/setup/index.d.ts.map +1 -0
  351. package/dist/commands/env/commands/setup/parsers.d.ts +66 -0
  352. package/dist/commands/env/commands/setup/parsers.d.ts.map +1 -0
  353. package/dist/commands/env/commands/setup/prompts.d.ts +41 -0
  354. package/dist/commands/env/commands/setup/prompts.d.ts.map +1 -0
  355. package/dist/commands/env/commands/setup/supabase-api.d.ts +30 -0
  356. package/dist/commands/env/commands/setup/supabase-api.d.ts.map +1 -0
  357. package/dist/commands/env/commands/setup/types.d.ts +105 -0
  358. package/dist/commands/env/commands/setup/types.d.ts.map +1 -0
  359. package/dist/commands/env/commands/setup/vercel-api.d.ts +34 -0
  360. package/dist/commands/env/commands/setup/vercel-api.d.ts.map +1 -0
  361. package/dist/commands/env/constants/local-supabase.d.ts +43 -0
  362. package/dist/commands/env/constants/local-supabase.d.ts.map +1 -0
  363. package/dist/commands/env/index.d.ts +14 -0
  364. package/dist/commands/env/index.d.ts.map +1 -0
  365. package/dist/commands/hotfix/actors.d.ts +88 -0
  366. package/dist/commands/hotfix/actors.d.ts.map +1 -0
  367. package/dist/commands/hotfix/commands/hotfix-complete.d.ts +23 -0
  368. package/dist/commands/hotfix/commands/hotfix-complete.d.ts.map +1 -0
  369. package/dist/commands/hotfix/commands/hotfix-create.d.ts +23 -0
  370. package/dist/commands/hotfix/commands/hotfix-create.d.ts.map +1 -0
  371. package/dist/commands/hotfix/commands/hotfix-deploy.d.ts +23 -0
  372. package/dist/commands/hotfix/commands/hotfix-deploy.d.ts.map +1 -0
  373. package/dist/commands/hotfix/commands/hotfix-status.d.ts +20 -0
  374. package/dist/commands/hotfix/commands/hotfix-status.d.ts.map +1 -0
  375. package/dist/commands/hotfix/contract.d.ts +219 -0
  376. package/dist/commands/hotfix/contract.d.ts.map +1 -0
  377. package/dist/commands/hotfix/index.d.ts +15 -0
  378. package/dist/commands/hotfix/index.d.ts.map +1 -0
  379. package/dist/commands/hotfix/machine.d.ts +242 -0
  380. package/dist/commands/hotfix/machine.d.ts.map +1 -0
  381. package/dist/commands/hotfix/metadata.d.ts +37 -0
  382. package/dist/commands/hotfix/metadata.d.ts.map +1 -0
  383. package/dist/commands/hotfix/utils/hotfix-machine-helper.d.ts +58 -0
  384. package/dist/commands/hotfix/utils/hotfix-machine-helper.d.ts.map +1 -0
  385. package/dist/commands/init.d.ts +21 -0
  386. package/dist/commands/init.d.ts.map +1 -0
  387. package/dist/commands/inject-test-attrs/action.d.ts +14 -0
  388. package/dist/commands/inject-test-attrs/action.d.ts.map +1 -0
  389. package/dist/commands/inject-test-attrs/commands/inject-test-attrs.d.ts +16 -0
  390. package/dist/commands/inject-test-attrs/commands/inject-test-attrs.d.ts.map +1 -0
  391. package/dist/commands/inject-test-attrs/contract.d.ts +52 -0
  392. package/dist/commands/inject-test-attrs/contract.d.ts.map +1 -0
  393. package/dist/commands/inject-test-attrs/formatter.d.ts +13 -0
  394. package/dist/commands/inject-test-attrs/formatter.d.ts.map +1 -0
  395. package/dist/commands/inject-test-attrs/index.d.ts +9 -0
  396. package/dist/commands/inject-test-attrs/index.d.ts.map +1 -0
  397. package/dist/commands/inject-test-attrs/manifest-generator.d.ts +21 -0
  398. package/dist/commands/inject-test-attrs/manifest-generator.d.ts.map +1 -0
  399. package/dist/commands/inject-test-attrs/processor-utils.d.ts +76 -0
  400. package/dist/commands/inject-test-attrs/processor-utils.d.ts.map +1 -0
  401. package/dist/commands/inject-test-attrs/processor.d.ts +35 -0
  402. package/dist/commands/inject-test-attrs/processor.d.ts.map +1 -0
  403. package/dist/commands/inject-test-attrs/types.d.ts +48 -0
  404. package/dist/commands/inject-test-attrs/types.d.ts.map +1 -0
  405. package/dist/commands/link.d.ts +16 -0
  406. package/dist/commands/link.d.ts.map +1 -0
  407. package/dist/commands/manifest/index.d.ts +27 -0
  408. package/dist/commands/manifest/index.d.ts.map +1 -0
  409. package/dist/commands/prepare/commands/prepare.d.ts +32 -0
  410. package/dist/commands/prepare/commands/prepare.d.ts.map +1 -0
  411. package/dist/commands/prepare/index.d.ts +10 -0
  412. package/dist/commands/prepare/index.d.ts.map +1 -0
  413. package/dist/commands/sdk/commands/publish.d.ts +33 -0
  414. package/dist/commands/sdk/commands/publish.d.ts.map +1 -0
  415. package/dist/commands/sdk/index.d.ts +14 -0
  416. package/dist/commands/sdk/index.d.ts.map +1 -0
  417. package/dist/commands/services/index.d.ts +3 -0
  418. package/dist/commands/services/index.d.ts.map +1 -0
  419. package/dist/commands/session/index.d.ts +19 -0
  420. package/dist/commands/session/index.d.ts.map +1 -0
  421. package/dist/commands/status.d.ts +13 -0
  422. package/dist/commands/status.d.ts.map +1 -0
  423. package/dist/commands/telemetry.d.ts +3 -0
  424. package/dist/commands/telemetry.d.ts.map +1 -0
  425. package/dist/commands/template-check/actors/compare.d.ts +18 -0
  426. package/dist/commands/template-check/actors/compare.d.ts.map +1 -0
  427. package/dist/commands/template-check/actors/discover.d.ts +18 -0
  428. package/dist/commands/template-check/actors/discover.d.ts.map +1 -0
  429. package/dist/commands/template-check/actors/index.d.ts +9 -0
  430. package/dist/commands/template-check/actors/index.d.ts.map +1 -0
  431. package/dist/commands/template-check/actors/report.d.ts +44 -0
  432. package/dist/commands/template-check/actors/report.d.ts.map +1 -0
  433. package/dist/commands/template-check/commands/template-check.d.ts +17 -0
  434. package/dist/commands/template-check/commands/template-check.d.ts.map +1 -0
  435. package/dist/commands/template-check/config.d.ts +100 -0
  436. package/dist/commands/template-check/config.d.ts.map +1 -0
  437. package/dist/commands/template-check/contract.d.ts +169 -0
  438. package/dist/commands/template-check/contract.d.ts.map +1 -0
  439. package/dist/commands/template-check/index.d.ts +8 -0
  440. package/dist/commands/template-check/index.d.ts.map +1 -0
  441. package/dist/commands/template-check/machine.d.ts +91 -0
  442. package/dist/commands/template-check/machine.d.ts.map +1 -0
  443. package/dist/commands/template-check/types.d.ts +87 -0
  444. package/dist/commands/template-check/types.d.ts.map +1 -0
  445. package/dist/commands/template-check/utils/diff-analyzer.d.ts +40 -0
  446. package/dist/commands/template-check/utils/diff-analyzer.d.ts.map +1 -0
  447. package/dist/commands/template-check/utils/normalizer.d.ts +55 -0
  448. package/dist/commands/template-check/utils/normalizer.d.ts.map +1 -0
  449. package/dist/commands/template-check/utils/path-mapping.d.ts +43 -0
  450. package/dist/commands/template-check/utils/path-mapping.d.ts.map +1 -0
  451. package/dist/commands/test/commands/test-db.d.ts +25 -0
  452. package/dist/commands/test/commands/test-db.d.ts.map +1 -0
  453. package/dist/commands/test/commands/test-e2e.d.ts +20 -0
  454. package/dist/commands/test/commands/test-e2e.d.ts.map +1 -0
  455. package/dist/commands/test/commands/test-fast.d.ts +21 -0
  456. package/dist/commands/test/commands/test-fast.d.ts.map +1 -0
  457. package/dist/commands/test/commands/test-integration.d.ts +3 -0
  458. package/dist/commands/test/commands/test-integration.d.ts.map +1 -0
  459. package/dist/commands/test/commands/test-layer.d.ts +8 -0
  460. package/dist/commands/test/commands/test-layer.d.ts.map +1 -0
  461. package/dist/commands/test/commands/test-owasp-generate.d.ts +11 -0
  462. package/dist/commands/test/commands/test-owasp-generate.d.ts.map +1 -0
  463. package/dist/commands/test/commands/test-service.d.ts +3 -0
  464. package/dist/commands/test/commands/test-service.d.ts.map +1 -0
  465. package/dist/commands/test/commands/test-static.d.ts +3 -0
  466. package/dist/commands/test/commands/test-static.d.ts.map +1 -0
  467. package/dist/commands/test/commands/test.d.ts +3 -0
  468. package/dist/commands/test/commands/test.d.ts.map +1 -0
  469. package/dist/commands/test/index.d.ts +39 -0
  470. package/dist/commands/test/index.d.ts.map +1 -0
  471. package/dist/commands/test-gen.d.ts +39 -0
  472. package/dist/commands/test-gen.d.ts.map +1 -0
  473. package/dist/commands/ui.d.ts +12 -0
  474. package/dist/commands/ui.d.ts.map +1 -0
  475. package/dist/commands/upgrade.d.ts +38 -0
  476. package/dist/commands/upgrade.d.ts.map +1 -0
  477. package/dist/commands/validate.d.ts +9 -0
  478. package/dist/commands/validate.d.ts.map +1 -0
  479. package/dist/commands/vuln-check.d.ts +18 -0
  480. package/dist/commands/vuln-check.d.ts.map +1 -0
  481. package/dist/commands/watch.d.ts +21 -0
  482. package/dist/commands/watch.d.ts.map +1 -0
  483. package/dist/commands/workflow/commands/deploy-production.d.ts +10 -0
  484. package/dist/commands/workflow/commands/deploy-production.d.ts.map +1 -0
  485. package/dist/commands/workflow/commands/final-status.d.ts +19 -0
  486. package/dist/commands/workflow/commands/final-status.d.ts.map +1 -0
  487. package/dist/commands/workflow/commands/log.d.ts +14 -0
  488. package/dist/commands/workflow/commands/log.d.ts.map +1 -0
  489. package/dist/commands/workflow/commands/notify.d.ts +18 -0
  490. package/dist/commands/workflow/commands/notify.d.ts.map +1 -0
  491. package/dist/commands/workflow/commands/paths.d.ts +15 -0
  492. package/dist/commands/workflow/commands/paths.d.ts.map +1 -0
  493. package/dist/commands/workflow/commands/sync.d.ts +21 -0
  494. package/dist/commands/workflow/commands/sync.d.ts.map +1 -0
  495. package/dist/commands/workflow/commands/validate.d.ts +9 -0
  496. package/dist/commands/workflow/commands/validate.d.ts.map +1 -0
  497. package/dist/commands/workflow/commands/verify-credentials.d.ts +15 -0
  498. package/dist/commands/workflow/commands/verify-credentials.d.ts.map +1 -0
  499. package/dist/commands/workflow/index.d.ts +15 -0
  500. package/dist/commands/workflow/index.d.ts.map +1 -0
  501. package/dist/commands/workflow/types.d.ts +87 -0
  502. package/dist/commands/workflow/types.d.ts.map +1 -0
  503. package/dist/config/env-files.d.ts +65 -0
  504. package/dist/config/env-files.d.ts.map +1 -0
  505. package/dist/config/env.d.ts +131 -0
  506. package/dist/config/env.d.ts.map +1 -0
  507. package/dist/constants/versions.d.ts +26 -0
  508. package/dist/constants/versions.d.ts.map +1 -0
  509. package/dist/contracts/envelope.d.ts +2 -0
  510. package/dist/contracts/envelope.d.ts.map +1 -0
  511. package/dist/errors/catalog.d.ts +461 -0
  512. package/dist/errors/catalog.d.ts.map +1 -0
  513. package/dist/errors/exit-codes.d.ts +46 -0
  514. package/dist/errors/exit-codes.d.ts.map +1 -0
  515. package/dist/errors/index.d.ts +13 -0
  516. package/dist/errors/index.d.ts.map +1 -0
  517. package/dist/incremental/affected-tests.d.ts +29 -0
  518. package/dist/incremental/affected-tests.d.ts.map +1 -0
  519. package/dist/index.d.ts +31 -0
  520. package/dist/index.d.ts.map +1 -0
  521. package/dist/index.js +36594 -0
  522. package/dist/internal/machines/index.d.ts +10 -0
  523. package/dist/internal/machines/index.d.ts.map +1 -0
  524. package/dist/internal/machines/machine-runner.d.ts +18 -0
  525. package/dist/internal/machines/machine-runner.d.ts.map +1 -0
  526. package/dist/internal/machines/types.d.ts +48 -0
  527. package/dist/internal/machines/types.d.ts.map +1 -0
  528. package/dist/internal/vuln-checker/analyzers/dependency-analyzer.d.ts +24 -0
  529. package/dist/internal/vuln-checker/analyzers/dependency-analyzer.d.ts.map +1 -0
  530. package/dist/internal/vuln-checker/analyzers/rls-analyzer.d.ts +28 -0
  531. package/dist/internal/vuln-checker/analyzers/rls-analyzer.d.ts.map +1 -0
  532. package/dist/internal/vuln-checker/analyzers/secret-analyzer.d.ts +26 -0
  533. package/dist/internal/vuln-checker/analyzers/secret-analyzer.d.ts.map +1 -0
  534. package/dist/internal/vuln-checker/analyzers/typescript-analyzer.d.ts +25 -0
  535. package/dist/internal/vuln-checker/analyzers/typescript-analyzer.d.ts.map +1 -0
  536. package/dist/internal/vuln-checker/config/loader.d.ts +16 -0
  537. package/dist/internal/vuln-checker/config/loader.d.ts.map +1 -0
  538. package/dist/internal/vuln-checker/constants.d.ts +75 -0
  539. package/dist/internal/vuln-checker/constants.d.ts.map +1 -0
  540. package/dist/internal/vuln-checker/ignore/matcher.d.ts +23 -0
  541. package/dist/internal/vuln-checker/ignore/matcher.d.ts.map +1 -0
  542. package/dist/internal/vuln-checker/index.d.ts +45 -0
  543. package/dist/internal/vuln-checker/index.d.ts.map +1 -0
  544. package/dist/internal/vuln-checker/reporters/console-reporter.d.ts +9 -0
  545. package/dist/internal/vuln-checker/reporters/console-reporter.d.ts.map +1 -0
  546. package/dist/internal/vuln-checker/reporters/json-reporter.d.ts +9 -0
  547. package/dist/internal/vuln-checker/reporters/json-reporter.d.ts.map +1 -0
  548. package/dist/internal/vuln-checker/reporters/markdown-reporter.d.ts +9 -0
  549. package/dist/internal/vuln-checker/reporters/markdown-reporter.d.ts.map +1 -0
  550. package/dist/internal/vuln-checker/reporters/sarif-reporter.d.ts +12 -0
  551. package/dist/internal/vuln-checker/reporters/sarif-reporter.d.ts.map +1 -0
  552. package/dist/internal/vuln-checker/types.d.ts +149 -0
  553. package/dist/internal/vuln-checker/types.d.ts.map +1 -0
  554. package/dist/notifiers/desktop-notifier.d.ts +34 -0
  555. package/dist/notifiers/desktop-notifier.d.ts.map +1 -0
  556. package/dist/schemas/ci.config.schema.json +206 -0
  557. package/dist/ui/components/db-panel.d.ts +12 -0
  558. package/dist/ui/components/db-panel.d.ts.map +1 -0
  559. package/dist/ui/components/status-bar.d.ts +6 -0
  560. package/dist/ui/components/status-bar.d.ts.map +1 -0
  561. package/dist/ui/components/test-panel.d.ts +12 -0
  562. package/dist/ui/components/test-panel.d.ts.map +1 -0
  563. package/dist/ui/dashboard.d.ts +20 -0
  564. package/dist/ui/dashboard.d.ts.map +1 -0
  565. package/dist/ui/index.d.ts +16 -0
  566. package/dist/ui/index.d.ts.map +1 -0
  567. package/dist/utils/config-loader.d.ts +92 -0
  568. package/dist/utils/config-loader.d.ts.map +1 -0
  569. package/dist/utils/config-updater.d.ts +44 -0
  570. package/dist/utils/config-updater.d.ts.map +1 -0
  571. package/dist/utils/diagnostics.d.ts +44 -0
  572. package/dist/utils/diagnostics.d.ts.map +1 -0
  573. package/dist/utils/dotenvx.d.ts +33 -0
  574. package/dist/utils/dotenvx.d.ts.map +1 -0
  575. package/dist/utils/execution-plan.d.ts +43 -0
  576. package/dist/utils/execution-plan.d.ts.map +1 -0
  577. package/dist/utils/help-system.d.ts +34 -0
  578. package/dist/utils/help-system.d.ts.map +1 -0
  579. package/dist/utils/license/admin-auth.d.ts +39 -0
  580. package/dist/utils/license/admin-auth.d.ts.map +1 -0
  581. package/dist/utils/license/allowlist-checker.d.ts +56 -0
  582. package/dist/utils/license/allowlist-checker.d.ts.map +1 -0
  583. package/dist/utils/license/ci-detector.d.ts +43 -0
  584. package/dist/utils/license/ci-detector.d.ts.map +1 -0
  585. package/dist/utils/license/index.d.ts +49 -0
  586. package/dist/utils/license/index.d.ts.map +1 -0
  587. package/dist/utils/license/owner-resolver.d.ts +35 -0
  588. package/dist/utils/license/owner-resolver.d.ts.map +1 -0
  589. package/dist/utils/license/types.d.ts +42 -0
  590. package/dist/utils/license/types.d.ts.map +1 -0
  591. package/dist/utils/license/validate-owner.d.ts +33 -0
  592. package/dist/utils/license/validate-owner.d.ts.map +1 -0
  593. package/dist/utils/port-allocator.d.ts +59 -0
  594. package/dist/utils/port-allocator.d.ts.map +1 -0
  595. package/dist/utils/secure-exec.d.ts +95 -0
  596. package/dist/utils/secure-exec.d.ts.map +1 -0
  597. package/dist/utils/template-fetcher.d.ts +63 -0
  598. package/dist/utils/template-fetcher.d.ts.map +1 -0
  599. package/dist/utils/type-guards.d.ts +25 -0
  600. package/dist/utils/type-guards.d.ts.map +1 -0
  601. package/dist/utils/vercel-project.d.ts +38 -0
  602. package/dist/utils/vercel-project.d.ts.map +1 -0
  603. package/dist/utils/workspace-detector.d.ts +71 -0
  604. package/dist/utils/workspace-detector.d.ts.map +1 -0
  605. package/dist/validators/risk-detector.d.ts +38 -0
  606. package/dist/validators/risk-detector.d.ts.map +1 -0
  607. package/dist/validators/schema-validator.d.ts +20 -0
  608. package/dist/validators/schema-validator.d.ts.map +1 -0
  609. package/dist/version.d.ts +13 -0
  610. package/dist/version.d.ts.map +1 -0
  611. package/dist/watchers/schema-watcher.d.ts +61 -0
  612. package/dist/watchers/schema-watcher.d.ts.map +1 -0
  613. package/dist/watchers/test-watcher.d.ts +57 -0
  614. package/dist/watchers/test-watcher.d.ts.map +1 -0
  615. package/package.json +74 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"env-check.d.ts","sourceRoot":"","sources":["../../../../src/commands/env/commands/env-check.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAKH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiWpC,eAAO,MAAM,YAAY,SAOrB,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * AI HINT: dotenvx encryption command (Vercel-aligned structure)
3
+ *
4
+ * Purpose: Encrypt .env.{environment} files using dotenvx
5
+ * Design: 3 environments = 3 keys (development, preview, production)
6
+ *
7
+ * Structure:
8
+ * .env.development → DOTENV_PRIVATE_KEY_DEVELOPMENT
9
+ * .env.preview → DOTENV_PRIVATE_KEY_PREVIEW
10
+ * .env.production → DOTENV_PRIVATE_KEY_PRODUCTION
11
+ *
12
+ * Usage:
13
+ * runa env encrypt # Encrypt all 3 environments
14
+ * runa env encrypt -e development # Encrypt specific environment
15
+ * runa env encrypt --stdout # Show encrypted output
16
+ */
17
+ import { Command } from 'commander';
18
+ export declare const encryptCommand: Command;
19
+ //# sourceMappingURL=env-encrypt.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"env-encrypt.d.ts","sourceRoot":"","sources":["../../../../src/commands/env/commands/env-encrypt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAKH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA8MpC,eAAO,MAAM,cAAc,SAqBvB,CAAC"}
@@ -0,0 +1,49 @@
1
+ /**
2
+ * AI HINT: Vercel environment pull command (Vercel-aligned structure)
3
+ *
4
+ * Purpose: Pull environment variables from Vercel to .env.{environment} files
5
+ * Design: Vercel = SSOT for both env vars AND encryption keys
6
+ *
7
+ * PHILOSOPHY: Environment Variable First (AI-autonomous)
8
+ * - Supports VERCEL_TOKEN + VERCEL_PROJECT_ID from env (no vercel link needed)
9
+ * - Supports --token + --project flags for explicit auth
10
+ * - Falls back to .vercel/project.json for interactive auth
11
+ *
12
+ * Structure (3 environments = 3 files = 3 keys):
13
+ * .env.development → DOTENV_PRIVATE_KEY_DEVELOPMENT (+ localhost values)
14
+ * .env.preview → DOTENV_PRIVATE_KEY_PREVIEW (production Supabase)
15
+ * .env.production → DOTENV_PRIVATE_KEY_PRODUCTION (production Supabase)
16
+ *
17
+ * Key insight: DOTENV_PRIVATE_KEY_* are stored in Vercel (All Environments)
18
+ * so they come with the pulled env vars. We extract them to .env.keys.
19
+ *
20
+ * Local Development (default behavior):
21
+ * - .env.development uses localhost:54321/54322 (supabase start)
22
+ * - .env.preview/.env.production use production Supabase
23
+ * - This enables `pnpm dev` to use local Supabase safely
24
+ *
25
+ * Workflow with --encrypt:
26
+ * 1. vercel env pull → .env.{environment} (includes DOTENV_PRIVATE_KEY_*)
27
+ * 2. Replace .env.development values with localhost (unless --production-all)
28
+ * 3. Extract DOTENV_PRIVATE_KEY_* → .env.keys
29
+ * 4. Remove DOTENV_PRIVATE_KEY_* from .env files
30
+ * 5. dotenvx encrypt using .env.keys
31
+ *
32
+ * Benefits:
33
+ * - AI-autonomous: VERCEL_TOKEN + VERCEL_PROJECT_ID = no interactive auth needed
34
+ * - New developer: `runa env pull` = one command setup with safe local dev
35
+ * - Re-pull: Same keys preserved (from Vercel)
36
+ * - No local key management needed
37
+ * - Local development doesn't touch production database
38
+ *
39
+ * Usage:
40
+ * runa env pull # Pull all + localhost for development (default)
41
+ * runa env pull --production-all # Pull all with production URLs everywhere
42
+ * runa env pull -e development # Pull single environment + encrypt
43
+ * runa env pull --no-encrypt # Pull without encryption (not recommended)
44
+ * runa env pull --token xxx --project prj_xxx # Explicit auth (AI-friendly)
45
+ * VERCEL_TOKEN=xxx VERCEL_PROJECT_ID=prj_xxx runa env pull # Env var auth (CI-friendly)
46
+ */
47
+ import { Command } from 'commander';
48
+ export declare const pullCommand: Command;
49
+ //# sourceMappingURL=env-pull.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"env-pull.d.ts","sourceRoot":"","sources":["../../../../src/commands/env/commands/env-pull.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AAYH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAq5BpC,eAAO,MAAM,WAAW,SAkCpB,CAAC"}
@@ -0,0 +1,51 @@
1
+ /**
2
+ * AI HINT: Environment Setup Command (Production Onboarding)
3
+ *
4
+ * Purpose: Automated setup of production environment variables
5
+ * Design: Fetch from Vercel/Supabase APIs → Generate role passwords → Register to Vercel/GitHub
6
+ *
7
+ * 3-Role Architecture (Security):
8
+ * ┌─────────────────┬─────────┬──────────┬───────────────────────────────────┐
9
+ * │ Role │ DDL │ RLS │ Use Case │
10
+ * ├─────────────────┼─────────┼──────────┼───────────────────────────────────┤
11
+ * │ postgres │ ✅ Yes │ N/A │ Schema migrations (db sync/apply) │
12
+ * │ drizzle_app │ ❌ No │ Enforced │ User API requests, Server Comps │
13
+ * │ drizzle_service │ ❌ No │ Bypassed │ Webhooks, Background Jobs, Cron │
14
+ * └─────────────────┴─────────┴──────────┴───────────────────────────────────┘
15
+ *
16
+ * Password Sources:
17
+ * - postgres: [POSTGRES_PW] from Supabase Dashboard
18
+ * - drizzle_app: [DRIZZLE_APP_PW] CLI-generated
19
+ * - drizzle_service: [DRIZZLE_SERVICE_PW] CLI-generated
20
+ *
21
+ * Workflow:
22
+ * 1. Auth check (vercel login, gh auth login, supabase login)
23
+ * 2. URL input (Vercel, GitHub, Supabase - 1:1:1 mapping)
24
+ * 3. Postgres password input (can't be fetched via API)
25
+ * 4. Info fetch & generate (Supabase API → keys, CLI → role passwords)
26
+ * 5. Display list with masked passwords & [NEW]/[OVERWRITE] indicators
27
+ * 6. Confirm overwrites if any exist
28
+ * 7. Register (Vercel env, GitHub secrets)
29
+ * 8. Complete with next steps
30
+ *
31
+ * Usage:
32
+ * runa env setup # Interactive mode
33
+ * runa env setup --vercel-url <url> --github-url <url> --supabase-url <url> # Non-interactive
34
+ * runa env setup --postgres-password <pw> # Provide password non-interactively
35
+ * runa env setup --auto-approve # Skip overwrite confirmations
36
+ *
37
+ * Implementation: Split into modules under ./setup/
38
+ * - types.ts: Type definitions and schemas
39
+ * - parsers.ts: URL parsers and password generators
40
+ * - auth.ts: Authentication checks
41
+ * - vercel-api.ts: Vercel API integration
42
+ * - supabase-api.ts: Supabase API integration
43
+ * - github-api.ts: GitHub API integration
44
+ * - prompts.ts: Interactive prompts
45
+ * - helpers.ts: Action helper functions
46
+ * - file-export.ts: File export utilities
47
+ * - action.ts: Main action orchestration
48
+ */
49
+ import { Command } from 'commander';
50
+ export declare const setupCommand: Command;
51
+ //# sourceMappingURL=env-setup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"env-setup.d.ts","sourceRoot":"","sources":["../../../../src/commands/env/commands/env-setup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAQpC,eAAO,MAAM,YAAY,SAkCrB,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * AI HINT: Environment data sync command
3
+ *
4
+ * Purpose: Sync data between environments with PII masking
5
+ * Design: Delegates to SDK functions, CLI handles UX
6
+ *
7
+ * Usage:
8
+ * runa env sync --from production --to local # Full sync with masking
9
+ * runa env sync --from production --to preview # Sync to preview DB
10
+ * runa env sync --from production --to local --sample 1000 # Sample 1000 rows
11
+ * runa env sync --from production --to local --tables users,orders # Specific tables
12
+ */
13
+ import { Command } from 'commander';
14
+ /**
15
+ * env sync command
16
+ */
17
+ export declare const syncCommand: Command;
18
+ //# sourceMappingURL=env-sync.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"env-sync.d.ts","sourceRoot":"","sources":["../../../../src/commands/env/commands/env-sync.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA8HpC;;GAEG;AACH,eAAO,MAAM,WAAW,SAsBpB,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * AI HINT: Main Action Orchestration
3
+ *
4
+ * Purpose: Main env setup action that orchestrates the entire flow
5
+ * Extracted from: env-setup.ts (lines 1591-1822)
6
+ *
7
+ * Refactored for reduced cognitive complexity:
8
+ * - createReadlineIfInteractive() - Centralized readline creation
9
+ * - handleDryRunMode() - Handle dry run early return
10
+ * - handleExportMode() - Handle export early return
11
+ */
12
+ import type { Command } from 'commander';
13
+ import type { EnvSetupOptions } from './types.js';
14
+ /**
15
+ * Run the environment setup action
16
+ */
17
+ export declare function runEnvSetupAction(options: EnvSetupOptions, setupCommand: Command): Promise<void>;
18
+ //# sourceMappingURL=action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../../../../src/commands/env/commands/setup/action.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAMH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA0BzC,OAAO,KAAK,EAEV,eAAe,EAIhB,MAAM,YAAY,CAAC;AAsGpB;;GAEG;AACH,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,eAAe,EACxB,YAAY,EAAE,OAAO,GACpB,OAAO,CAAC,IAAI,CAAC,CAsLf"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * AI HINT: Authentication Checks
3
+ *
4
+ * Purpose: Check authentication status for Vercel, GitHub, and Supabase CLIs
5
+ * Extracted from: env-setup.ts (lines 285-390)
6
+ */
7
+ import type { createCLILogger } from '@runa-ai/runa';
8
+ import type { AuthStatus } from './types.js';
9
+ /**
10
+ * Check if Supabase CLI is logged in and get linked project if any
11
+ *
12
+ * Uses `supabase projects list` command directly instead of manually
13
+ * extracting and verifying the token. This is more reliable as it
14
+ * works regardless of how Supabase CLI stores the token internally.
15
+ */
16
+ export declare function checkSupabaseCliAuth(): Promise<{
17
+ authenticated: boolean;
18
+ linkedProject?: string;
19
+ error?: string;
20
+ }>;
21
+ /**
22
+ * Check authentication status for all required services
23
+ */
24
+ export declare function checkAuth(logger: ReturnType<typeof createCLILogger>): Promise<AuthStatus>;
25
+ //# sourceMappingURL=auth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../../../src/commands/env/commands/setup/auth.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C;;;;;;GAMG;AACH,wBAAsB,oBAAoB,IAAI,OAAO,CAAC;IACpD,aAAa,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,CAsCD;AAED;;GAEG;AACH,wBAAsB,SAAS,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,GAAG,OAAO,CAAC,UAAU,CAAC,CAyD/F"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * AI HINT: File Export Utilities
3
+ *
4
+ * Purpose: Write environment variables to file for review
5
+ * Extracted from: env-setup.ts (lines 1517-1585)
6
+ *
7
+ * SECURITY NOTES:
8
+ * - Temporary files are written with restrictive permissions (600)
9
+ * - Files contain sensitive credentials and should be deleted after use
10
+ * - Owner-only read/write prevents other users from accessing credentials
11
+ */
12
+ import type { createCLILogger } from '@runa-ai/runa';
13
+ import type { EnvVariable } from './types.js';
14
+ export declare const ENV_SETUP_TMP_FILE = ".env.setup-tmp";
15
+ /**
16
+ * Write environment variables to .env.setup-tmp file for review
17
+ * This allows users to review and manually register the values
18
+ */
19
+ export declare function writeEnvSetupFile(envVars: EnvVariable[], drizzleAppPassword: string, drizzleServicePassword: string, logger: ReturnType<typeof createCLILogger>): void;
20
+ //# sourceMappingURL=file-export.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file-export.d.ts","sourceRoot":"","sources":["../../../../../src/commands/env/commands/setup/file-export.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,eAAO,MAAM,kBAAkB,mBAAmB,CAAC;AAMnD;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,WAAW,EAAE,EACtB,kBAAkB,EAAE,MAAM,EAC1B,sBAAsB,EAAE,MAAM,EAC9B,MAAM,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,GACzC,IAAI,CAqEN"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * AI HINT: GitHub API Integration
3
+ *
4
+ * Purpose: GitHub secrets operations
5
+ * Extracted from: env-setup.ts (lines 807-863)
6
+ */
7
+ import type { createCLILogger } from '@runa-ai/runa';
8
+ import type { RegistrationResult } from './types.js';
9
+ /**
10
+ * Check if a GitHub secret exists
11
+ */
12
+ export declare function checkGitHubSecret(name: string, repoFullName: string): Promise<boolean>;
13
+ /**
14
+ * Set a GitHub secret
15
+ */
16
+ export declare function setGitHubSecret(name: string, value: string, overwrite: boolean, repoFullName: string, logger: ReturnType<typeof createCLILogger>): Promise<RegistrationResult>;
17
+ //# sourceMappingURL=github-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"github-api.d.ts","sourceRoot":"","sources":["../../../../../src/commands/env/commands/setup/github-api.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD;;GAEG;AACH,wBAAsB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAc5F;AAED;;GAEG;AACH,wBAAsB,eAAe,CACnC,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,EACb,SAAS,EAAE,OAAO,EAClB,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,GACzC,OAAO,CAAC,kBAAkB,CAAC,CAkC7B"}
@@ -0,0 +1,117 @@
1
+ /**
2
+ * AI HINT: Main Action Helpers
3
+ *
4
+ * Purpose: Helper functions for env setup action flow
5
+ * Extracted from: env-setup.ts (lines 963-1511)
6
+ */
7
+ import type * as readline from 'node:readline/promises';
8
+ import { type createCLILogger } from '@runa-ai/runa';
9
+ import type { AuthStatus, EnvSetupOptions, EnvVariable, RegistrationResult, SupabaseProjectInfo } from './types.js';
10
+ /**
11
+ * Early link status for informational display
12
+ */
13
+ export interface EarlyLinkStatus {
14
+ vercelLinked: boolean;
15
+ vercelProjectId?: string;
16
+ supabaseLinked: boolean;
17
+ supabaseProjectRef?: string;
18
+ }
19
+ /**
20
+ * Check link status early (before authentication) to provide better guidance
21
+ * This is informational only - doesn't block the flow
22
+ */
23
+ export declare function checkEarlyLinkStatus(logger: ReturnType<typeof createCLILogger>): EarlyLinkStatus;
24
+ /**
25
+ * Validate authentication for all required services
26
+ * Enhanced with link status context for better error messages
27
+ */
28
+ export declare function validateAuthenticationWithLinkStatus(authStatus: AuthStatus, options: EnvSetupOptions, linkStatus: EarlyLinkStatus): Promise<void>;
29
+ /**
30
+ * Collect URLs interactively or from options
31
+ */
32
+ export declare function collectUrls(rl: readline.Interface | null, options: EnvSetupOptions, logger: ReturnType<typeof createCLILogger>): Promise<{
33
+ vercelUrl: string;
34
+ githubUrl: string;
35
+ supabaseUrl: string;
36
+ }>;
37
+ /**
38
+ * Parse and validate URLs
39
+ */
40
+ export declare function parseAndValidateUrls(vercelUrl: string, githubUrl: string, supabaseUrl: string): {
41
+ vercelParsed: {
42
+ team: string;
43
+ project: string;
44
+ };
45
+ githubParsed: {
46
+ owner: string;
47
+ repo: string;
48
+ };
49
+ supabaseRef: string;
50
+ };
51
+ /**
52
+ * Build the list of environment variables to register
53
+ * Passwords are URL-encoded to handle special characters safely
54
+ *
55
+ * 3-Role Architecture:
56
+ * - drizzle_app: DML + RLS enforced (user requests)
57
+ * - drizzle_service: DML + RLS bypassed (webhooks, background jobs)
58
+ * - postgres: DDL + DML (migrations only)
59
+ */
60
+ export declare function buildEnvVarList(supabaseProject: SupabaseProjectInfo, supabaseRef: string, postgresPassword: string, drizzleAppPassword: string, drizzleServicePassword: string, dotenvxKeys: {
61
+ development: string;
62
+ preview: string;
63
+ production: string;
64
+ }): EnvVariable[];
65
+ /**
66
+ * Mask sensitive values in display (passwords, keys)
67
+ */
68
+ export declare function maskSensitiveValue(key: string, value: string): string;
69
+ /**
70
+ * Display summary of environment variables to be registered
71
+ */
72
+ export declare function displayEnvVarsSummary(envVars: EnvVariable[], overwrites: {
73
+ vercel: string[];
74
+ github: string[];
75
+ }, logger: ReturnType<typeof createCLILogger>): void;
76
+ /**
77
+ * Check for existing variables that would be overwritten
78
+ */
79
+ export declare function checkExistingOverwrites(envVars: EnvVariable[], vercelLinkedDir: string, githubRepoFullName: string, options: EnvSetupOptions): Promise<{
80
+ vercelOverwrites: string[];
81
+ githubOverwrites: string[];
82
+ }>;
83
+ /**
84
+ * Confirm overwrites with user
85
+ */
86
+ export declare function confirmOverwrites(rl: readline.Interface | null, vercelOverwrites: string[], githubOverwrites: string[], vercelProjectName: string, githubRepoFullName: string, options: EnvSetupOptions, logger: ReturnType<typeof createCLILogger>): Promise<{
87
+ vercelApproved: boolean;
88
+ githubApproved: boolean;
89
+ }>;
90
+ /**
91
+ * Register environment variables to Vercel
92
+ */
93
+ export declare function registerToVercel(envVars: EnvVariable[], linkedDir: string, projectDisplayName: string, overwrites: string[], overwriteApproved: boolean, logger: ReturnType<typeof createCLILogger>): Promise<RegistrationResult[]>;
94
+ /**
95
+ * Register environment variables to GitHub
96
+ */
97
+ export declare function registerToGitHub(envVars: EnvVariable[], overwrites: string[], overwriteApproved: boolean, repoFullName: string, logger: ReturnType<typeof createCLILogger>): Promise<RegistrationResult[]>;
98
+ /**
99
+ * Print final summary and next steps
100
+ *
101
+ * 3-Role Architecture:
102
+ * - drizzle_app: DML + RLS enforced (user requests)
103
+ * - drizzle_service: DML + RLS bypassed (webhooks, background jobs)
104
+ * - postgres: DDL + DML (migrations only)
105
+ */
106
+ export declare function printFinalSummary(results: RegistrationResult[], _drizzleAppPassword: string, _drizzleServicePassword: string, logger: ReturnType<typeof createCLILogger>): void;
107
+ /**
108
+ * Check project linking status and offer to link if not already linked
109
+ */
110
+ export declare function checkAndLinkProjects(rl: readline.Interface | null, vercelParsed: {
111
+ team: string;
112
+ project: string;
113
+ }, supabaseRef: string, options: EnvSetupOptions, logger: ReturnType<typeof createCLILogger>): Promise<{
114
+ vercelLinked: boolean;
115
+ supabaseLinked: boolean;
116
+ }>;
117
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/commands/env/commands/setup/helpers.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,KAAK,QAAQ,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAY,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAgB/D,OAAO,KAAK,EACV,UAAU,EACV,eAAe,EACf,WAAW,EACX,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,YAAY,CAAC;AAEpB;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,YAAY,EAAE,OAAO,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,OAAO,CAAC;IACxB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,GAAG,eAAe,CA6BhG;AAED;;;GAGG;AACH,wBAAsB,oCAAoC,CACxD,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,eAAe,EACxB,UAAU,EAAE,eAAe,GAC1B,OAAO,CAAC,IAAI,CAAC,CA+Bf;AAED;;GAEG;AACH,wBAAsB,WAAW,CAC/B,EAAE,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,EAC7B,OAAO,EAAE,eAAe,EACxB,MAAM,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,GACzC,OAAO,CAAC;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC,CAmCxE;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,GAClB;IACD,YAAY,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IAChD,YAAY,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9C,WAAW,EAAE,MAAM,CAAC;CACrB,CAuBA;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAC7B,eAAe,EAAE,mBAAmB,EACpC,WAAW,EAAE,MAAM,EACnB,gBAAgB,EAAE,MAAM,EACxB,kBAAkB,EAAE,MAAM,EAC1B,sBAAsB,EAAE,MAAM,EAC9B,WAAW,EAAE;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;CACpB,GACA,WAAW,EAAE,CAiFf;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CA2BrE;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,WAAW,EAAE,EACtB,UAAU,EAAE;IAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAAC,MAAM,EAAE,MAAM,EAAE,CAAA;CAAE,EAClD,MAAM,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,GACzC,IAAI,CAsBN;AAED;;GAEG;AACH,wBAAsB,uBAAuB,CAC3C,OAAO,EAAE,WAAW,EAAE,EACtB,eAAe,EAAE,MAAM,EACvB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,EAAE,eAAe,GACvB,OAAO,CAAC;IAAE,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAAC,gBAAgB,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,CAyBrE;AAED;;GAEG;AACH,wBAAsB,iBAAiB,CACrC,EAAE,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,EAC7B,gBAAgB,EAAE,MAAM,EAAE,EAC1B,gBAAgB,EAAE,MAAM,EAAE,EAC1B,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,EAAE,eAAe,EACxB,MAAM,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,GACzC,OAAO,CAAC;IAAE,cAAc,EAAE,OAAO,CAAC;IAAC,cAAc,EAAE,OAAO,CAAA;CAAE,CAAC,CA2B/D;AAED;;GAEG;AACH,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,WAAW,EAAE,EACtB,SAAS,EAAE,MAAM,EACjB,kBAAkB,EAAE,MAAM,EAC1B,UAAU,EAAE,MAAM,EAAE,EACpB,iBAAiB,EAAE,OAAO,EAC1B,MAAM,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,GACzC,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAc/B;AAED;;GAEG;AACH,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,WAAW,EAAE,EACtB,UAAU,EAAE,MAAM,EAAE,EACpB,iBAAiB,EAAE,OAAO,EAC1B,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,GACzC,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAe/B;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,kBAAkB,EAAE,EAC7B,mBAAmB,EAAE,MAAM,EAC3B,uBAAuB,EAAE,MAAM,EAC/B,MAAM,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,GACzC,IAAI,CAsCN;AA6CD;;GAEG;AACH,wBAAsB,oBAAoB,CACxC,EAAE,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,EAC7B,YAAY,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,EAC/C,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,eAAe,EACxB,MAAM,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,GACzC,OAAO,CAAC;IAAE,YAAY,EAAE,OAAO,CAAC;IAAC,cAAc,EAAE,OAAO,CAAA;CAAE,CAAC,CAuC7D"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * AI HINT: Setup Module Re-exports
3
+ *
4
+ * Purpose: Central export point for all setup modules
5
+ */
6
+ export * from './types.js';
7
+ export * from './parsers.js';
8
+ export * from './auth.js';
9
+ export * from './vercel-api.js';
10
+ export * from './supabase-api.js';
11
+ export * from './github-api.js';
12
+ export * from './prompts.js';
13
+ export * from './helpers.js';
14
+ export * from './file-export.js';
15
+ export * from './action.js';
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/commands/env/commands/setup/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC"}
@@ -0,0 +1,66 @@
1
+ /**
2
+ * AI HINT: URL Parsers and Password Generators
3
+ *
4
+ * Purpose: Parse Vercel, GitHub, and Supabase URLs; generate secure passwords
5
+ * Extracted from: env-setup.ts (lines 156-277)
6
+ */
7
+ /**
8
+ * Generate a cryptographically secure password for drizzle_app
9
+ */
10
+ export declare function generateDrizzleAppPassword(): string;
11
+ /**
12
+ * Generate a cryptographically secure password for drizzle_service
13
+ * Note: drizzle_service has BYPASSRLS privilege for Webhooks/Background Jobs
14
+ */
15
+ export declare function generateDrizzleServicePassword(): string;
16
+ /**
17
+ * Generate dotenvx private key (32 bytes hex string)
18
+ * Used for encrypting .env files with dotenvx
19
+ */
20
+ export declare function generateDotenvxPrivateKey(): string;
21
+ /**
22
+ * Parse Vercel project URL to extract project info
23
+ * Formats:
24
+ * - https://vercel.com/team/project
25
+ * - https://vercel.com/team/project/settings
26
+ * - https://vercel.com/team/project/deployments
27
+ * - vercel.com/team/project
28
+ *
29
+ * Note: Subpaths like /settings, /deployments are ignored
30
+ */
31
+ export declare function parseVercelUrl(url: string): {
32
+ team: string;
33
+ project: string;
34
+ } | null;
35
+ /**
36
+ * Parse GitHub repo URL to extract owner and repo
37
+ * Formats:
38
+ * - https://github.com/owner/repo
39
+ * - https://github.com/owner/repo/tree/main
40
+ * - https://github.com/owner/repo.git
41
+ * - github.com/owner/repo
42
+ * - owner/repo (shorthand)
43
+ *
44
+ * Note: Subpaths like /tree/main, /pulls are ignored
45
+ */
46
+ export declare function parseGitHubUrl(url: string): {
47
+ owner: string;
48
+ repo: string;
49
+ } | null;
50
+ /**
51
+ * Parse Supabase dashboard URL to extract project ref
52
+ * Formats:
53
+ * - https://supabase.com/dashboard/project/abcd1234
54
+ * - https://supabase.com/dashboard/project/abcd1234/settings
55
+ * - supabase.com/dashboard/project/abcd1234
56
+ * - https://app.supabase.com/project/abcd1234
57
+ *
58
+ * Note: Supabase project refs are 20-character lowercase alphanumeric strings
59
+ */
60
+ export declare function parseSupabaseUrl(url: string): string | null;
61
+ /**
62
+ * URL-encode a password for use in database connection strings
63
+ * Handles special characters like @, #, /, ?, %, :
64
+ */
65
+ export declare function encodePasswordForUrl(password: string): string;
66
+ //# sourceMappingURL=parsers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../../../../src/commands/env/commands/setup/parsers.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAQH;;GAEG;AACH,wBAAgB,0BAA0B,IAAI,MAAM,CAEnD;AAED;;;GAGG;AACH,wBAAgB,8BAA8B,IAAI,MAAM,CAEvD;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,IAAI,MAAM,CAElD;AAMD;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAUpF;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CA4BlF;AAED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAwB3D;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAE7D"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * AI HINT: Interactive Prompts
3
+ *
4
+ * Purpose: User input prompts for URLs, passwords, and confirmations
5
+ * Extracted from: env-setup.ts (lines 869-957)
6
+ *
7
+ * Refactored for reduced cognitive complexity:
8
+ * - handlePasswordChar() - Process single character input
9
+ */
10
+ import * as readline from 'node:readline/promises';
11
+ import { type createCLILogger } from '@runa-ai/runa';
12
+ import type { EnvSetupOptions } from './types.js';
13
+ /**
14
+ * Prompt for a URL value
15
+ */
16
+ export declare function promptForUrl(rl: readline.Interface, prompt: string, existingValue?: string): Promise<string>;
17
+ /**
18
+ * Prompt for password with masked input (asterisks instead of characters)
19
+ * Uses raw mode to capture keystrokes without echoing
20
+ */
21
+ export declare function promptForPassword(prompt: string): Promise<string>;
22
+ /**
23
+ * Prompt for yes/no confirmation
24
+ */
25
+ export declare function promptForConfirmation(rl: readline.Interface, message: string, autoApprove?: boolean): Promise<boolean>;
26
+ /**
27
+ * Collect service role key interactively or from options
28
+ * Key input is masked (asterisks) for security
29
+ * Only prompted if the API returns a masked sb_secret_ key
30
+ */
31
+ export declare function collectServiceRoleKey(rl: readline.Interface | null, options: EnvSetupOptions, isSecretKeyMasked: boolean, projectRef: string, logger: ReturnType<typeof createCLILogger>): Promise<string | undefined>;
32
+ /**
33
+ * Prompt user to link projects to current directory
34
+ */
35
+ export declare function promptForProjectLink(rl: readline.Interface, needsVercel: boolean, needsSupabase: boolean): Promise<boolean>;
36
+ /**
37
+ * Collect postgres password interactively or from options
38
+ * Password input is masked (asterisks) for security
39
+ */
40
+ export declare function collectPostgresPassword(rl: readline.Interface | null, options: EnvSetupOptions, projectRef: string, logger: ReturnType<typeof createCLILogger>): Promise<string>;
41
+ //# sourceMappingURL=prompts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../../../../src/commands/env/commands/setup/prompts.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,KAAK,QAAQ,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAY,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAmElD;;GAEG;AACH,wBAAsB,YAAY,CAChC,EAAE,EAAE,QAAQ,CAAC,SAAS,EACtB,MAAM,EAAE,MAAM,EACd,aAAa,CAAC,EAAE,MAAM,GACrB,OAAO,CAAC,MAAM,CAAC,CAKjB;AAED;;;GAGG;AACH,wBAAsB,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAiDvE;AAED;;GAEG;AACH,wBAAsB,qBAAqB,CACzC,EAAE,EAAE,QAAQ,CAAC,SAAS,EACtB,OAAO,EAAE,MAAM,EACf,WAAW,CAAC,EAAE,OAAO,GACpB,OAAO,CAAC,OAAO,CAAC,CAKlB;AAED;;;;GAIG;AACH,wBAAsB,qBAAqB,CACzC,EAAE,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,EAC7B,OAAO,EAAE,eAAe,EACxB,iBAAiB,EAAE,OAAO,EAC1B,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,GACzC,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CA6B7B;AAED;;GAEG;AACH,wBAAsB,oBAAoB,CACxC,EAAE,EAAE,QAAQ,CAAC,SAAS,EACtB,WAAW,EAAE,OAAO,EACpB,aAAa,EAAE,OAAO,GACrB,OAAO,CAAC,OAAO,CAAC,CAUlB;AAED;;;GAGG;AACH,wBAAsB,uBAAuB,CAC3C,EAAE,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,EAC7B,OAAO,EAAE,eAAe,EACxB,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,GACzC,OAAO,CAAC,MAAM,CAAC,CA+BjB"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * AI HINT: Supabase API Integration
3
+ *
4
+ * Purpose: Supabase project info and API key retrieval
5
+ * Extracted from: env-setup.ts (lines 676-801)
6
+ *
7
+ * Refactored for reduced cognitive complexity:
8
+ * - fetchSupabaseProjects() - List projects via CLI
9
+ * - fetchSupabaseApiKeys() - Get API keys for a project
10
+ * - resolveServiceRoleKey() - Determine best service role key
11
+ */
12
+ import type * as readline from 'node:readline/promises';
13
+ import { type createCLILogger } from '@runa-ai/runa';
14
+ import type { SupabaseProjectInfo } from './types.js';
15
+ /**
16
+ * Check if Supabase project is already linked in the specified directory
17
+ */
18
+ export declare function checkSupabaseLinked(cwd: string): {
19
+ linked: boolean;
20
+ projectRef?: string;
21
+ };
22
+ /**
23
+ * Link Supabase project to the current working directory
24
+ */
25
+ export declare function linkSupabaseInCwd(projectRef: string, logger: ReturnType<typeof createCLILogger>): Promise<void>;
26
+ /**
27
+ * Get Supabase project information including API keys
28
+ */
29
+ export declare function getSupabaseProjectInfo(projectRef: string, logger: ReturnType<typeof createCLILogger>, rl: readline.Interface | null, providedServiceRoleKey?: string): Promise<SupabaseProjectInfo>;
30
+ //# sourceMappingURL=supabase-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"supabase-api.d.ts","sourceRoot":"","sources":["../../../../../src/commands/env/commands/setup/supabase-api.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,KAAK,QAAQ,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAY,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAG/D,OAAO,KAAK,EAAmB,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAmBvE;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,CAczF;AAED;;GAEG;AACH,wBAAsB,iBAAiB,CACrC,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,GACzC,OAAO,CAAC,IAAI,CAAC,CAQf;AAiID;;GAEG;AACH,wBAAsB,sBAAsB,CAC1C,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,EAC1C,EAAE,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,EAC7B,sBAAsB,CAAC,EAAE,MAAM,GAC9B,OAAO,CAAC,mBAAmB,CAAC,CA8C9B"}