@geekmidas/cli 10.0.0-alpha.185 → 10.0.0-alpha.186

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 (157) hide show
  1. package/dist/{LegacyStateStore-DKyEAWGI.mjs → LegacyStateStore-BwHw28fJ.mjs} +2 -2
  2. package/dist/{LegacyStateStore-DKyEAWGI.mjs.map → LegacyStateStore-BwHw28fJ.mjs.map} +1 -1
  3. package/dist/{LegacyStateStore-BtN83gfS.cjs → LegacyStateStore-LpTY3S7z.cjs} +2 -2
  4. package/dist/{LegacyStateStore-BtN83gfS.cjs.map → LegacyStateStore-LpTY3S7z.cjs.map} +1 -1
  5. package/dist/{LocalStateStore-BFh6rPhX.cjs → LocalStateStore-Dpn9kBuK.cjs} +2 -2
  6. package/dist/{LocalStateStore-BFh6rPhX.cjs.map → LocalStateStore-Dpn9kBuK.cjs.map} +1 -1
  7. package/dist/{LocalStateStore-Dc3aGvQi.mjs → LocalStateStore-DsdNLm0_.mjs} +2 -2
  8. package/dist/{LocalStateStore-Dc3aGvQi.mjs.map → LocalStateStore-DsdNLm0_.mjs.map} +1 -1
  9. package/dist/{S3StateStore-p6DyuAFZ.mjs → S3StateStore-BIpCLzpk.mjs} +4 -4
  10. package/dist/{S3StateStore-p6DyuAFZ.mjs.map → S3StateStore-BIpCLzpk.mjs.map} +1 -1
  11. package/dist/{S3StateStore-DZMpqbvD.cjs → S3StateStore-Bk_EIWLU.cjs} +4 -4
  12. package/dist/{S3StateStore-DZMpqbvD.cjs.map → S3StateStore-Bk_EIWLU.cjs.map} +1 -1
  13. package/dist/{SSMStateStore-sbaLlCmj.cjs → SSMStateStore-A1bgCF1P.cjs} +2 -2
  14. package/dist/{SSMStateStore-sbaLlCmj.cjs.map → SSMStateStore-A1bgCF1P.cjs.map} +1 -1
  15. package/dist/{SSMStateStore-BvH8XX4O.mjs → SSMStateStore-PiZxPXeX.mjs} +2 -2
  16. package/dist/{SSMStateStore-BvH8XX4O.mjs.map → SSMStateStore-PiZxPXeX.mjs.map} +1 -1
  17. package/dist/{add-dOvgsAU6.mjs → add-BBhzFpQ7.mjs} +3 -3
  18. package/dist/{add-dOvgsAU6.mjs.map → add-BBhzFpQ7.mjs.map} +1 -1
  19. package/dist/{add-CdVGxiKW.cjs → add-sU71e0Lp.cjs} +3 -3
  20. package/dist/{add-CdVGxiKW.cjs.map → add-sU71e0Lp.cjs.map} +1 -1
  21. package/dist/{bundler-B5ioF-1Q.cjs → bundler-BM6lq-36.cjs} +6 -6
  22. package/dist/{bundler-B5ioF-1Q.cjs.map → bundler-BM6lq-36.cjs.map} +1 -1
  23. package/dist/{bundler-Cvx6Bt3e.mjs → bundler-QKbRwztS.mjs} +6 -6
  24. package/dist/{bundler-Cvx6Bt3e.mjs.map → bundler-QKbRwztS.mjs.map} +1 -1
  25. package/dist/{cli-PLhqvPOC.cjs → cli-D_iytris.cjs} +4 -4
  26. package/dist/{cli-PLhqvPOC.cjs.map → cli-D_iytris.cjs.map} +1 -1
  27. package/dist/{cli-BjapgcXG.mjs → cli-VCAfR-se.mjs} +4 -4
  28. package/dist/{cli-BjapgcXG.mjs.map → cli-VCAfR-se.mjs.map} +1 -1
  29. package/dist/{compose-Dx_nSZYU.mjs → compose-CX2BF3LG.mjs} +41 -193
  30. package/dist/compose-CX2BF3LG.mjs.map +1 -0
  31. package/dist/{compose-BEVBxf4w.cjs → compose-D3zc8QN1.cjs} +41 -193
  32. package/dist/compose-D3zc8QN1.cjs.map +1 -0
  33. package/dist/{credentials-DW5MvS4A.mjs → credentials-BMdpNO8R.mjs} +73 -5
  34. package/dist/credentials-BMdpNO8R.mjs.map +1 -0
  35. package/dist/{credentials-n2abUWwJ.cjs → credentials-BQ1khM28.cjs} +3 -3
  36. package/dist/{credentials-n2abUWwJ.cjs.map → credentials-BQ1khM28.cjs.map} +1 -1
  37. package/dist/{credentials-Eyx2tM7B.cjs → credentials-C3uaZ80e.cjs} +102 -4
  38. package/dist/credentials-C3uaZ80e.cjs.map +1 -0
  39. package/dist/{credentials-ztezRtR4.mjs → credentials-Ci8nKFw4.mjs} +3 -3
  40. package/dist/{credentials-ztezRtR4.mjs.map → credentials-Ci8nKFw4.mjs.map} +1 -1
  41. package/dist/{dbTunnel-DVohSZJQ.cjs → dbTunnel-D000s0YK.cjs} +5 -5
  42. package/dist/{dbTunnel-DVohSZJQ.cjs.map → dbTunnel-D000s0YK.cjs.map} +1 -1
  43. package/dist/{dbTunnel-bV1CPWUv.mjs → dbTunnel-DqtSAdQK.mjs} +5 -5
  44. package/dist/{dbTunnel-bV1CPWUv.mjs.map → dbTunnel-DqtSAdQK.mjs.map} +1 -1
  45. package/dist/deploy/public.cjs +9 -9
  46. package/dist/deploy/public.d.cts.map +1 -1
  47. package/dist/deploy/public.d.mts.map +1 -1
  48. package/dist/deploy/public.mjs +9 -9
  49. package/dist/{deploy-CDUWcl58.cjs → deploy-DRH6q_2r.cjs} +9 -9
  50. package/dist/{deploy-CDUWcl58.cjs.map → deploy-DRH6q_2r.cjs.map} +1 -1
  51. package/dist/{deploy-Cpz5sKbh.mjs → deploy-DwtM6VSz.mjs} +9 -9
  52. package/dist/{deploy-Cpz5sKbh.mjs.map → deploy-DwtM6VSz.mjs.map} +1 -1
  53. package/dist/{destroy-DRlcWJwm.mjs → destroy-C6QwLj3b.mjs} +7 -7
  54. package/dist/{destroy-DRlcWJwm.mjs.map → destroy-C6QwLj3b.mjs.map} +1 -1
  55. package/dist/{destroy-DzeV0EdY.cjs → destroy-ChTJ_oUq.cjs} +7 -7
  56. package/dist/{destroy-DzeV0EdY.cjs.map → destroy-ChTJ_oUq.cjs.map} +1 -1
  57. package/dist/{dokploy-BveqiW2h.mjs → dokploy-Dm8-eHtx.mjs} +2 -2
  58. package/dist/{dokploy-BveqiW2h.mjs.map → dokploy-Dm8-eHtx.mjs.map} +1 -1
  59. package/dist/{dokploy-BTNfj3Zt.cjs → dokploy-jeO7mz1R.cjs} +2 -2
  60. package/dist/{dokploy-BTNfj3Zt.cjs.map → dokploy-jeO7mz1R.cjs.map} +1 -1
  61. package/dist/{eas-Dt_vRzb4.cjs → eas-BAitvB5R.cjs} +2 -2
  62. package/dist/{eas-Dt_vRzb4.cjs.map → eas-BAitvB5R.cjs.map} +1 -1
  63. package/dist/{eas-BmYTfjY6.mjs → eas-CXYo8hos.mjs} +2 -2
  64. package/dist/{eas-BmYTfjY6.mjs.map → eas-CXYo8hos.mjs.map} +1 -1
  65. package/dist/{encryption-DqoQltP8.mjs → encryption-B7IlQ6VO.mjs} +2 -2
  66. package/dist/{encryption-DqoQltP8.mjs.map → encryption-B7IlQ6VO.mjs.map} +1 -1
  67. package/dist/{encryption-BE2wxfyH.cjs → encryption-OPCsewWc.cjs} +2 -2
  68. package/dist/{encryption-BE2wxfyH.cjs.map → encryption-OPCsewWc.cjs.map} +1 -1
  69. package/dist/{engine-BevpkNZe.cjs → engine-BSnhQLaB.cjs} +11 -6
  70. package/dist/engine-BSnhQLaB.cjs.map +1 -0
  71. package/dist/{engine-B72vyrO8.mjs → engine-a6K99WIl.mjs} +11 -6
  72. package/dist/engine-a6K99WIl.mjs.map +1 -0
  73. package/dist/{github-DoHdtsDX.cjs → github-C3gUSbLn.cjs} +6 -6
  74. package/dist/{github-DoHdtsDX.cjs.map → github-C3gUSbLn.cjs.map} +1 -1
  75. package/dist/{github-hxvid6J3.mjs → github-D4hThtnt.mjs} +6 -6
  76. package/dist/{github-hxvid6J3.mjs.map → github-D4hThtnt.mjs.map} +1 -1
  77. package/dist/{googlePlay-CYney-Of.cjs → googlePlay-C5Q7Zov3.cjs} +4 -4
  78. package/dist/{googlePlay-CYney-Of.cjs.map → googlePlay-C5Q7Zov3.cjs.map} +1 -1
  79. package/dist/{googlePlay-DsvZTWgP.mjs → googlePlay-DIS9PeFB.mjs} +4 -4
  80. package/dist/{googlePlay-DsvZTWgP.mjs.map → googlePlay-DIS9PeFB.mjs.map} +1 -1
  81. package/dist/index.cjs +58 -58
  82. package/dist/index.cjs.map +1 -1
  83. package/dist/index.mjs +58 -58
  84. package/dist/index.mjs.map +1 -1
  85. package/dist/{local-BuR4fIW6.cjs → local-B5R1WWEO.cjs} +2 -2
  86. package/dist/{local-BuR4fIW6.cjs.map → local-B5R1WWEO.cjs.map} +1 -1
  87. package/dist/{local-Cmq75U_o.mjs → local-CMA_7b0_.mjs} +2 -2
  88. package/dist/{local-Cmq75U_o.mjs.map → local-CMA_7b0_.mjs.map} +1 -1
  89. package/dist/{migrate-Bf-EG8Fj.mjs → migrate-168wMF5m.mjs} +4 -4
  90. package/dist/{migrate-Bf-EG8Fj.mjs.map → migrate-168wMF5m.mjs.map} +1 -1
  91. package/dist/{migrate-CDMdrniJ.cjs → migrate-B0041tRF.cjs} +4 -4
  92. package/dist/{migrate-CDMdrniJ.cjs.map → migrate-B0041tRF.cjs.map} +1 -1
  93. package/dist/{migrate-CuTQha4s.cjs → migrate-BZxh_zU5.cjs} +2 -2
  94. package/dist/{migrate-CuTQha4s.cjs.map → migrate-BZxh_zU5.cjs.map} +1 -1
  95. package/dist/{migrate-DYJffHOm.mjs → migrate-BhnCtwMX.mjs} +2 -2
  96. package/dist/{migrate-DYJffHOm.mjs.map → migrate-BhnCtwMX.mjs.map} +1 -1
  97. package/dist/{projectBucket-NcgqleyH.cjs → projectBucket-DEBaYEbi.cjs} +2 -2
  98. package/dist/{projectBucket-NcgqleyH.cjs.map → projectBucket-DEBaYEbi.cjs.map} +1 -1
  99. package/dist/{projectBucket-B5YkuSVr.mjs → projectBucket-hF0-tlq9.mjs} +2 -2
  100. package/dist/{projectBucket-B5YkuSVr.mjs.map → projectBucket-hF0-tlq9.mjs.map} +1 -1
  101. package/dist/{publish--EQ4Tw3F.cjs → publish-B-ffSuAX.cjs} +2 -2
  102. package/dist/{publish--EQ4Tw3F.cjs.map → publish-B-ffSuAX.cjs.map} +1 -1
  103. package/dist/{publish-YL8WZHSo.mjs → publish-_lVOoWCy.mjs} +2 -2
  104. package/dist/{publish-YL8WZHSo.mjs.map → publish-_lVOoWCy.mjs.map} +1 -1
  105. package/dist/{resolve-Ced8-gj4.cjs → resolve-Cs38fbaX.cjs} +4 -4
  106. package/dist/{resolve-Ced8-gj4.cjs.map → resolve-Cs38fbaX.cjs.map} +1 -1
  107. package/dist/{resolve-DcG10_JV.mjs → resolve-UK4b26dm.mjs} +4 -4
  108. package/dist/{resolve-DcG10_JV.mjs.map → resolve-UK4b26dm.mjs.map} +1 -1
  109. package/dist/{rollback-BxI2p53H.mjs → rollback-B0eg3M0J.mjs} +6 -6
  110. package/dist/{rollback-BxI2p53H.mjs.map → rollback-B0eg3M0J.mjs.map} +1 -1
  111. package/dist/{rollback-C6bCANv7.cjs → rollback-DByniS9X.cjs} +6 -6
  112. package/dist/{rollback-C6bCANv7.cjs.map → rollback-DByniS9X.cjs.map} +1 -1
  113. package/dist/{s3-DucPHZAn.cjs → s3-4rmPI6wv.cjs} +2 -2
  114. package/dist/{s3-DucPHZAn.cjs.map → s3-4rmPI6wv.cjs.map} +1 -1
  115. package/dist/{s3-BAI0ELtE.mjs → s3-B-IJWFJA.mjs} +2 -2
  116. package/dist/{s3-BAI0ELtE.mjs.map → s3-B-IJWFJA.mjs.map} +1 -1
  117. package/dist/{serverSetup-DS9tW50_.mjs → serverSetup-Cok75j21.mjs} +6 -6
  118. package/dist/{serverSetup-DS9tW50_.mjs.map → serverSetup-Cok75j21.mjs.map} +1 -1
  119. package/dist/{serverSetup-D3-FE7Dj.cjs → serverSetup-EY5vppoS.cjs} +6 -6
  120. package/dist/{serverSetup-D3-FE7Dj.cjs.map → serverSetup-EY5vppoS.cjs.map} +1 -1
  121. package/dist/{sniffer-XlvJLrhZ.cjs → sniffer-CcLTONfm.cjs} +6 -6
  122. package/dist/{sniffer-XlvJLrhZ.cjs.map → sniffer-CcLTONfm.cjs.map} +1 -1
  123. package/dist/{sniffer-CX8sI8Cu.mjs → sniffer-DIyYcOXJ.mjs} +6 -6
  124. package/dist/{sniffer-CX8sI8Cu.mjs.map → sniffer-DIyYcOXJ.mjs.map} +1 -1
  125. package/dist/{snsSubscriptions-CJAOhWq9.cjs → snsSubscriptions-Bore7t-W.cjs} +2 -2
  126. package/dist/{snsSubscriptions-CJAOhWq9.cjs.map → snsSubscriptions-Bore7t-W.cjs.map} +1 -1
  127. package/dist/{snsSubscriptions-DDrra9rN.mjs → snsSubscriptions-CYEVD7ml.mjs} +2 -2
  128. package/dist/{snsSubscriptions-DDrra9rN.mjs.map → snsSubscriptions-CYEVD7ml.mjs.map} +1 -1
  129. package/dist/{sst-CsEjVFtz.cjs → sst-Bsu5O1Lt.cjs} +17 -4
  130. package/dist/sst-Bsu5O1Lt.cjs.map +1 -0
  131. package/dist/{sst-CdHflajE.mjs → sst-DBH707Na.mjs} +17 -4
  132. package/dist/sst-DBH707Na.mjs.map +1 -0
  133. package/dist/{stack-BYhtz-bE.cjs → stack-CwSx-6ea.cjs} +2485 -2209
  134. package/dist/stack-CwSx-6ea.cjs.map +1 -0
  135. package/dist/{stack-CLHY-_2m.mjs → stack-DU2SunuO.mjs} +2456 -2186
  136. package/dist/stack-DU2SunuO.mjs.map +1 -0
  137. package/dist/{stage-C7aYyDMr.mjs → stage-BGyx0OjL.mjs} +4 -4
  138. package/dist/{stage-C7aYyDMr.mjs.map → stage-BGyx0OjL.mjs.map} +1 -1
  139. package/dist/{stage-Bc_BtQeG.cjs → stage-BgD-kKY3.cjs} +4 -4
  140. package/dist/{stage-Bc_BtQeG.cjs.map → stage-BgD-kKY3.cjs.map} +1 -1
  141. package/dist/target/public.cjs +1 -1
  142. package/dist/target/public.mjs +1 -1
  143. package/dist/{terminal-BZzK69T9.mjs → terminal-BlJ90AIM.mjs} +2 -2
  144. package/dist/{terminal-BZzK69T9.mjs.map → terminal-BlJ90AIM.mjs.map} +1 -1
  145. package/dist/{terminal-DXUXlqrO.cjs → terminal-GyXHsRAl.cjs} +2 -2
  146. package/dist/{terminal-DXUXlqrO.cjs.map → terminal-GyXHsRAl.cjs.map} +1 -1
  147. package/package.json +16 -16
  148. package/dist/compose-BEVBxf4w.cjs.map +0 -1
  149. package/dist/compose-Dx_nSZYU.mjs.map +0 -1
  150. package/dist/credentials-DW5MvS4A.mjs.map +0 -1
  151. package/dist/credentials-Eyx2tM7B.cjs.map +0 -1
  152. package/dist/engine-B72vyrO8.mjs.map +0 -1
  153. package/dist/engine-BevpkNZe.cjs.map +0 -1
  154. package/dist/sst-CdHflajE.mjs.map +0 -1
  155. package/dist/sst-CsEjVFtz.cjs.map +0 -1
  156. package/dist/stack-BYhtz-bE.cjs.map +0 -1
  157. package/dist/stack-CLHY-_2m.mjs.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { t as GkmError } from "./errors-C9uIyIDt.mjs";
2
- import { E as keystoreProject, O as readKey, S as encrypt, T as getOrCreateKey, X as gkmHome, b as FileSecretsStore, h as toEmbeddableSecrets, l as secretsStoreFor, w as getKeystoreDir, x as decrypt } from "./credentials-ztezRtR4.mjs";
2
+ import { E as keystoreProject, O as readKey, S as encrypt, T as getOrCreateKey, X as gkmHome, b as FileSecretsStore, h as toEmbeddableSecrets, l as secretsStoreFor, w as getKeystoreDir, x as decrypt } from "./credentials-Ci8nKFw4.mjs";
3
3
  import { B as LOGS_PORT, R as stageSampleRate, ct as protectedSubdomains, dt as fileServerLabel, ot as appKey, v as getPublicEnvPrefix } from "./workspace-CdiCMRap.mjs";
4
4
  import { p as holdsEveryCache, u as DEFAULT_CACHE } from "./drivers-BQRb3KsL.mjs";
5
5
  import { ConfigNotFound, NotInAnApp, loadWorkspaceAppInfo, loadWorkspaceConfig } from "./config.mjs";
@@ -1856,6 +1856,67 @@ function redisService(redis) {
1856
1856
  };
1857
1857
  }
1858
1858
  //#endregion
1859
+ //#region src/deploy/nextRelease.ts
1860
+ /**
1861
+ * What every Next.js build gkm runs is handed so a release does not break the
1862
+ * tabs the last one opened (#508).
1863
+ *
1864
+ * - **`NEXT_DEPLOYMENT_ID`**, the release: the image tag on a server stage
1865
+ * (`<commit>-<stage>`), the deploy's tag on AWS. Next reads it at
1866
+ * `next build` as its `deploymentId`, tags every asset and request with it,
1867
+ * and when a tab opened on an older release asks for a chunk the new one
1868
+ * does not have, does a full page load instead of throwing
1869
+ * `ChunkLoadError`. Off Vercel, Next takes the variable over a
1870
+ * `deploymentId` in `next.config` rather than erroring — so a site that
1871
+ * sets one has gkm's.
1872
+ * - **`NEXT_SERVER_ACTIONS_ENCRYPTION_KEY`**, the stage's: 32 random bytes,
1873
+ * base64, generated on the stage's first deploy and kept in its secrets.
1874
+ * Next derives its server actions' ids and encrypts their closures with
1875
+ * it, so a form submitted from a tab opened before a deploy still finds
1876
+ * its action after it. A deploy never rotates it; `gkm secrets:set` does.
1877
+ *
1878
+ * Only a Next site that runs a server is handed the key — at build, and on
1879
+ * its server at runtime. No other app reads it: it is the stack's
1880
+ * (`isStackKey`), never one every process is handed.
1881
+ */
1882
+ /** The release Next tags a build with: its `deploymentId`. */
1883
+ const NEXT_DEPLOYMENT_ID_KEY = "NEXT_DEPLOYMENT_ID";
1884
+ /** The stage's server actions key. */
1885
+ const NEXT_ACTIONS_KEY = "NEXT_SERVER_ACTIONS_ENCRYPTION_KEY";
1886
+ /** Whether a site is built by Next. */
1887
+ function isNextSite(site) {
1888
+ return site?.variant === "next";
1889
+ }
1890
+ /** Whether any site the manifest declares is built by Next. */
1891
+ function hasNextSite(manifest) {
1892
+ return Object.values(manifest).some((declaration) => declaration?.kind === "site" && isNextSite(declaration));
1893
+ }
1894
+ /** A new {@link NEXT_ACTIONS_KEY}: 32 random bytes, base64, as Next takes it. */
1895
+ function newNextActionsKey() {
1896
+ return randomBytes(32).toString("base64");
1897
+ }
1898
+ /**
1899
+ * What a site's build is handed for its release: the deployment id, and the
1900
+ * stage's actions key where it has one. Nothing for a site Next does not
1901
+ * build.
1902
+ */
1903
+ function nextBuildValues(site, release, secrets) {
1904
+ if (!isNextSite(site)) return {};
1905
+ return {
1906
+ [NEXT_DEPLOYMENT_ID_KEY]: release,
1907
+ ...nextRuntimeValues(site, secrets)
1908
+ };
1909
+ }
1910
+ /**
1911
+ * What a Next site's server reads at runtime: the stage's actions key — the
1912
+ * one its build was made with. Nothing for any other app.
1913
+ */
1914
+ function nextRuntimeValues(site, secrets) {
1915
+ if (!isNextSite(site)) return {};
1916
+ const key = secrets[NEXT_ACTIONS_KEY];
1917
+ return key ? { [NEXT_ACTIONS_KEY]: key } : {};
1918
+ }
1919
+ //#endregion
1859
1920
  //#region src/deploy/generated.ts
1860
1921
  /**
1861
1922
  * The values a deployed stage generates once and keeps: what nothing can
@@ -1869,6 +1930,9 @@ function redisService(redis) {
1869
1930
  * `RandomPassword` — random, rather than derived, in its declared format.
1870
1931
  * - **Each `encryption` construct's keyring** — one random key and an index
1871
1932
  * key. Later keys are added by `gkm encryption:rotate`, never by a deploy.
1933
+ * - **A Next site's server actions key** (`NEXT_SERVER_ACTIONS_ENCRYPTION_KEY`),
1934
+ * where the stage has a Next site: one per stage, so an action submitted
1935
+ * from a tab opened before a deploy still resolves after it.
1872
1936
  *
1873
1937
  * Both are generated on the first deploy that needs them and written to the
1874
1938
  * stage's store, so every later deploy reads the same values: sessions survive
@@ -1890,6 +1954,10 @@ function withGeneratedSecrets(secrets, manifest) {
1890
1954
  custom[key] = declaration.kind === "encryption" ? generateKeyring() : drawSecret(randomInt, declaration);
1891
1955
  generated.push(key);
1892
1956
  }
1957
+ if (hasNextSite(manifest) && !custom["NEXT_SERVER_ACTIONS_ENCRYPTION_KEY"]) {
1958
+ custom[NEXT_ACTIONS_KEY] = newNextActionsKey();
1959
+ generated.push(NEXT_ACTIONS_KEY);
1960
+ }
1893
1961
  const seed = secrets.seed ?? generateSeed();
1894
1962
  if (!secrets.seed) generated.push("seed");
1895
1963
  return {
@@ -2284,14 +2352,14 @@ async function prepareEntryCredentials(options) {
2284
2352
  const declaredKeys = [];
2285
2353
  let reconciled;
2286
2354
  if (workspace) {
2287
- const { reconcileWorkspace } = await import("./stack-CLHY-_2m.mjs").then((n) => n.At);
2355
+ const { reconcileWorkspace } = await import("./stack-DU2SunuO.mjs").then((n) => n.Pt);
2288
2356
  const result = await reconcileWorkspace(workspace, {
2289
2357
  stage: options.reconcileStage ?? workspace.stages.local,
2290
2358
  start: options.startDocker ?? false
2291
2359
  });
2292
2360
  reconciled = result;
2293
2361
  if (options.scoped && appName) {
2294
- const { appProcess, processEnv } = await import("./stack-CLHY-_2m.mjs").then((n) => n.bt);
2362
+ const { appProcess, processEnv } = await import("./stack-DU2SunuO.mjs").then((n) => n.wt);
2295
2363
  const own = processEnv(result.manifest, appProcess(workspace, result.manifest, result.background, appName), { ...credentials }, result.env);
2296
2364
  for (const key of Object.keys(credentials)) delete credentials[key];
2297
2365
  Object.assign(credentials, own);
@@ -2316,6 +2384,6 @@ async function prepareEntryCredentials(options) {
2316
2384
  };
2317
2385
  }
2318
2386
  //#endregion
2319
- export { EMULATOR_REGION as $, TELEMETRY_CONTAINER as A, scopeTelemetryEnv as B, withRedisPassword as C, stackLogs as Ct, declaredPostgresImage as D, isMainFrontendApp as Dt, composeFor as E, getPublicUrlArgNames as Et, hostsFor as F, usesTelemetry as G, stackTelemetry as H, localRoutes as I, minioNotificationRule as J, HOST_GATEWAY as K, PROCESSORS_DEV_PREFIX as L, resourceName as M, LOCAL_TLD as N, toYaml as O, resolveHost as Ot, hostFor as P, EMULATOR_ACCESS_KEY_ID as Q, appTelemetry as R, stackRedis as S, otlpHeaders as St, POSTGRES_MOUNT as T, NoDomainForStage as Tt, surfaceClientTraced as U, siteClientTelemetry as V, telemetryOf as W, objectsWebhookToken as X, minioWebhookEnv as Y, watchedBuckets as Z, REDIS_PASSWORD_KEY as _, LogsPortTaken as _t, loadEnvFiles as a, fakeKey as at, redisService as b, logsPorts as bt, prepareEntryCredentials as c, postgresImage as ct, loadLocalCredentials as d, volumeOf as dt, emulatorEndpoint as et, postgresRoleSlug as f, LOCAL_LOGS_EMAIL as ft, withGeneratedSecrets as g, LOGS_SERVICE as gt, saveLocalCredentials as h, LOGS_PASSWORD_KEY as ht, isPortAvailable as i, describeServices as it, planFor as j, PgBossNeedsDatabase as k, savePortState as l, primaryPortKey as lt, readLocalCredentials as m, LOGS_ORG as mt, createEntryWrapper as n, emulatorTopicArn as nt, loadPortState as o, portKeys as ot, postgresSuperuser as p, LOGS_EMAIL_KEY as pt, NOTIFICATION_RULE_PREFIX as q, findAvailablePort as r, DEFAULT_IMAGES as rt, loadSecretsForApp as s, portsOf as st, createCredentialsPreload as t, emulatorQueueUrl as tt, LOCAL_RABBITMQ_USER as u, serviceAddresses as ut, REDIS_SERVICE as v, logsAccess as vt, CLUSTER_DATABASE as w, withLogsLogin as wt, runsRedis as x, logsService as xt, STACK_CACHE as y, logsOnPort as yt, isTelemetryKey as z };
2387
+ export { minioNotificationRule as $, POSTGRES_MOUNT as A, NoDomainForStage as At, hostsFor as B, REDIS_SERVICE as C, logsAccess as Ct, stackRedis as D, otlpHeaders as Dt, runsRedis as E, logsService as Et, TELEMETRY_CONTAINER as F, scopeTelemetryEnv as G, PROCESSORS_DEV_PREFIX as H, planFor as I, surfaceClientTraced as J, siteClientTelemetry as K, resourceName as L, declaredPostgresImage as M, isMainFrontendApp as Mt, toYaml as N, resolveHost as Nt, withRedisPassword as O, stackLogs as Ot, PgBossNeedsDatabase as P, NOTIFICATION_RULE_PREFIX as Q, LOCAL_TLD as R, REDIS_PASSWORD_KEY as S, LogsPortTaken as St, redisService as T, logsPorts as Tt, appTelemetry as U, localRoutes as V, isTelemetryKey as W, usesTelemetry as X, telemetryOf as Y, HOST_GATEWAY as Z, NEXT_ACTIONS_KEY as _, LOCAL_LOGS_EMAIL as _t, loadEnvFiles as a, emulatorEndpoint as at, nextBuildValues as b, LOGS_PASSWORD_KEY as bt, prepareEntryCredentials as c, DEFAULT_IMAGES as ct, loadLocalCredentials as d, portKeys as dt, minioWebhookEnv as et, postgresRoleSlug as f, portsOf as ft, withGeneratedSecrets as g, volumeOf as gt, saveLocalCredentials as h, serviceAddresses as ht, isPortAvailable as i, EMULATOR_REGION as it, composeFor as j, getPublicUrlArgNames as jt, CLUSTER_DATABASE as k, withLogsLogin as kt, savePortState as l, describeServices as lt, readLocalCredentials as m, primaryPortKey as mt, createEntryWrapper as n, watchedBuckets as nt, loadPortState as o, emulatorQueueUrl as ot, postgresSuperuser as p, postgresImage as pt, stackTelemetry as q, findAvailablePort as r, EMULATOR_ACCESS_KEY_ID as rt, loadSecretsForApp as s, emulatorTopicArn as st, createCredentialsPreload as t, objectsWebhookToken as tt, LOCAL_RABBITMQ_USER as u, fakeKey as ut, NEXT_DEPLOYMENT_ID_KEY as v, LOGS_EMAIL_KEY as vt, STACK_CACHE as w, logsOnPort as wt, nextRuntimeValues as x, LOGS_SERVICE as xt, hasNextSite as y, LOGS_ORG as yt, hostFor as z };
2320
2388
 
2321
- //# sourceMappingURL=credentials-DW5MvS4A.mjs.map
2389
+ //# sourceMappingURL=credentials-BMdpNO8R.mjs.map