@superblocksteam/cli 2.0.106-next.6 → 2.0.106-next.7

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 (107) hide show
  1. package/README.md +1 -1
  2. package/bin/run.js +1 -3
  3. package/dist/{acorn-DLQFRBXF.js → acorn-OPZCSTYG.js} +3 -3
  4. package/dist/{angular-257B4H73.js → angular-JLP3RKZK.js} +3 -3
  5. package/dist/{api-62QDWMDY.js → api-JLDXTUFL.js} +4 -4
  6. package/dist/{babel-PMCSRRB5.js → babel-FVAYSPTK.js} +3 -3
  7. package/dist/{chunk-E7TUZRVS.js → chunk-2WWKACJ2.js} +6 -6
  8. package/dist/{chunk-3IO5MMN2.js → chunk-5ZMFXRHW.js} +3 -3
  9. package/dist/{chunk-LGF2ZRZO.js → chunk-AUV3WDOS.js} +4 -4
  10. package/dist/{chunk-T7O7RAVJ.js → chunk-BWBZYXU5.js} +3 -3
  11. package/dist/{chunk-Q2ME5YL7.js → chunk-BYANSVAG.js} +3 -3
  12. package/dist/{chunk-ZNPWAPGH.js → chunk-DSGY5JAH.js} +3 -3
  13. package/dist/{chunk-PRG7626Y.js → chunk-FHJT33HP.js} +4 -4
  14. package/dist/{chunk-UOTVFPGD.js → chunk-HZD7ZWC6.js} +4 -4
  15. package/dist/{chunk-SD2QEDIP.js → chunk-II4LCNBM.js} +92 -134
  16. package/dist/{chunk-SD2QEDIP.js.map → chunk-II4LCNBM.js.map} +1 -1
  17. package/dist/{chunk-HA7Z255S.js → chunk-JLROLCEP.js} +6 -6
  18. package/dist/{chunk-3XBE4HQX.js → chunk-KGR5DCN5.js} +3 -3
  19. package/dist/{chunk-IU7CNKMW.js → chunk-PY3OWIDM.js} +3 -3
  20. package/dist/{chunk-ECMRKKYJ.js → chunk-Q56KYNGS.js} +3 -3
  21. package/dist/{chunk-VPH7JVPT.js → chunk-T22YBSOZ.js} +3 -3
  22. package/dist/{chunk-GNC55EKI.js → chunk-UAG22FZS.js} +2 -2
  23. package/dist/{chunk-JZAZSCU2.js → chunk-VTXO4JDR.js} +4 -4
  24. package/dist/{chunk-E37WBJKK.js → chunk-Y3GXLERD.js} +3 -3
  25. package/dist/{cli-truncate-TAIDSF5E.js → cli-truncate-OGHPFNU6.js} +5 -5
  26. package/dist/commands/dev-parent.js +2 -2
  27. package/dist/{dd-trace-CFZAUMSH.js → dd-trace-YXIIRXVV.js} +7 -7
  28. package/dist/{dist-AJUIPMMD.js → dist-LDDII4PX.js} +13 -13
  29. package/dist/{embedded-playwright-mcp-server-R7C7YB3X.js → embedded-playwright-mcp-server-5DISRHEH.js} +3 -3
  30. package/dist/{enquirer-52MVNF3X.js → enquirer-QINGXDWL.js} +4 -4
  31. package/dist/{estree-QQPEU4JQ.js → estree-M6BQF6KG.js} +3 -3
  32. package/dist/{flow-KWCSMD2P.js → flow-JLCLR675.js} +3 -3
  33. package/dist/{getMachineId-bsd-KFRZKD2G.js → getMachineId-bsd-JVP7SDPZ.js} +5 -5
  34. package/dist/{getMachineId-darwin-WJ2ZNMOY.js → getMachineId-darwin-6MAOIEBB.js} +5 -5
  35. package/dist/{getMachineId-linux-NO54TPOZ.js → getMachineId-linux-FBW4JREJ.js} +4 -4
  36. package/dist/{getMachineId-unsupported-E2Q5CC6A.js → getMachineId-unsupported-A3UAAG7R.js} +4 -4
  37. package/dist/{getMachineId-win-HW67UEIP.js → getMachineId-win-2QZJGUKI.js} +5 -5
  38. package/dist/{glimmer-XEXDAJMB.js → glimmer-226AW5SK.js} +3 -3
  39. package/dist/{graphql-MLEYXD2U.js → graphql-2XEFI5SS.js} +3 -3
  40. package/dist/{html-75HX2GNJ.js → html-CSEIJNCQ.js} +3 -3
  41. package/dist/{http-56SZQ5QL.js → http-QT6UTXZ4.js} +12 -12
  42. package/dist/index.js +25 -181
  43. package/dist/index.js.map +1 -1
  44. package/dist/{jiti-VLGZW4S7.js → jiti-YQX2EMDI.js} +3 -3
  45. package/dist/{log-update-3HEVG6SP.js → log-update-G3PGSVWS.js} +6 -6
  46. package/dist/{markdown-BUX4EYMI.js → markdown-2OWCHQBX.js} +3 -3
  47. package/dist/{meriyah-CHRINPTI.js → meriyah-UYOZJRBS.js} +3 -3
  48. package/dist/{postcss-U7DRUDAB.js → postcss-LTJAJ5HX.js} +3 -3
  49. package/dist/{read-pkg-HJMCSB5I.js → read-pkg-G5MAO2UG.js} +5 -5
  50. package/dist/{spans-VFUX4INY.js → spans-M7K5PCTJ.js} +4 -4
  51. package/dist/{src-E6BNFARD.js → src-HIWNQ2ZK.js} +3 -3
  52. package/dist/{token-72MUORNS.js → token-2OMWY57H.js} +5 -5
  53. package/dist/{token-util-AIYESGTJ.js → token-util-JN27DL5B.js} +5 -5
  54. package/dist/{typescript-GCBSCXSC.js → typescript-AOTBQ4RS.js} +3 -3
  55. package/dist/{wrap-ansi-FMXEXTGM.js → wrap-ansi-N7NR2MFH.js} +5 -5
  56. package/dist/{yaml-7UZATJ5H.js → yaml-7T4RBYWN.js} +3 -3
  57. package/oclif.manifest.json +1 -8
  58. package/package.json +5 -5
  59. /package/dist/{acorn-DLQFRBXF.js.map → acorn-OPZCSTYG.js.map} +0 -0
  60. /package/dist/{angular-257B4H73.js.map → angular-JLP3RKZK.js.map} +0 -0
  61. /package/dist/{api-62QDWMDY.js.map → api-JLDXTUFL.js.map} +0 -0
  62. /package/dist/{babel-PMCSRRB5.js.map → babel-FVAYSPTK.js.map} +0 -0
  63. /package/dist/{chunk-E7TUZRVS.js.map → chunk-2WWKACJ2.js.map} +0 -0
  64. /package/dist/{chunk-3IO5MMN2.js.map → chunk-5ZMFXRHW.js.map} +0 -0
  65. /package/dist/{chunk-LGF2ZRZO.js.map → chunk-AUV3WDOS.js.map} +0 -0
  66. /package/dist/{chunk-T7O7RAVJ.js.map → chunk-BWBZYXU5.js.map} +0 -0
  67. /package/dist/{chunk-Q2ME5YL7.js.map → chunk-BYANSVAG.js.map} +0 -0
  68. /package/dist/{chunk-ZNPWAPGH.js.map → chunk-DSGY5JAH.js.map} +0 -0
  69. /package/dist/{chunk-PRG7626Y.js.map → chunk-FHJT33HP.js.map} +0 -0
  70. /package/dist/{chunk-UOTVFPGD.js.map → chunk-HZD7ZWC6.js.map} +0 -0
  71. /package/dist/{chunk-HA7Z255S.js.map → chunk-JLROLCEP.js.map} +0 -0
  72. /package/dist/{chunk-3XBE4HQX.js.map → chunk-KGR5DCN5.js.map} +0 -0
  73. /package/dist/{chunk-IU7CNKMW.js.map → chunk-PY3OWIDM.js.map} +0 -0
  74. /package/dist/{chunk-ECMRKKYJ.js.map → chunk-Q56KYNGS.js.map} +0 -0
  75. /package/dist/{chunk-VPH7JVPT.js.map → chunk-T22YBSOZ.js.map} +0 -0
  76. /package/dist/{chunk-GNC55EKI.js.map → chunk-UAG22FZS.js.map} +0 -0
  77. /package/dist/{chunk-JZAZSCU2.js.map → chunk-VTXO4JDR.js.map} +0 -0
  78. /package/dist/{chunk-E37WBJKK.js.map → chunk-Y3GXLERD.js.map} +0 -0
  79. /package/dist/{cli-truncate-TAIDSF5E.js.map → cli-truncate-OGHPFNU6.js.map} +0 -0
  80. /package/dist/{dd-trace-CFZAUMSH.js.map → dd-trace-YXIIRXVV.js.map} +0 -0
  81. /package/dist/{dist-AJUIPMMD.js.map → dist-LDDII4PX.js.map} +0 -0
  82. /package/dist/{embedded-playwright-mcp-server-R7C7YB3X.js.map → embedded-playwright-mcp-server-5DISRHEH.js.map} +0 -0
  83. /package/dist/{enquirer-52MVNF3X.js.map → enquirer-QINGXDWL.js.map} +0 -0
  84. /package/dist/{estree-QQPEU4JQ.js.map → estree-M6BQF6KG.js.map} +0 -0
  85. /package/dist/{flow-KWCSMD2P.js.map → flow-JLCLR675.js.map} +0 -0
  86. /package/dist/{getMachineId-bsd-KFRZKD2G.js.map → getMachineId-bsd-JVP7SDPZ.js.map} +0 -0
  87. /package/dist/{getMachineId-darwin-WJ2ZNMOY.js.map → getMachineId-darwin-6MAOIEBB.js.map} +0 -0
  88. /package/dist/{getMachineId-linux-NO54TPOZ.js.map → getMachineId-linux-FBW4JREJ.js.map} +0 -0
  89. /package/dist/{getMachineId-unsupported-E2Q5CC6A.js.map → getMachineId-unsupported-A3UAAG7R.js.map} +0 -0
  90. /package/dist/{getMachineId-win-HW67UEIP.js.map → getMachineId-win-2QZJGUKI.js.map} +0 -0
  91. /package/dist/{glimmer-XEXDAJMB.js.map → glimmer-226AW5SK.js.map} +0 -0
  92. /package/dist/{graphql-MLEYXD2U.js.map → graphql-2XEFI5SS.js.map} +0 -0
  93. /package/dist/{html-75HX2GNJ.js.map → html-CSEIJNCQ.js.map} +0 -0
  94. /package/dist/{http-56SZQ5QL.js.map → http-QT6UTXZ4.js.map} +0 -0
  95. /package/dist/{jiti-VLGZW4S7.js.map → jiti-YQX2EMDI.js.map} +0 -0
  96. /package/dist/{log-update-3HEVG6SP.js.map → log-update-G3PGSVWS.js.map} +0 -0
  97. /package/dist/{markdown-BUX4EYMI.js.map → markdown-2OWCHQBX.js.map} +0 -0
  98. /package/dist/{meriyah-CHRINPTI.js.map → meriyah-UYOZJRBS.js.map} +0 -0
  99. /package/dist/{postcss-U7DRUDAB.js.map → postcss-LTJAJ5HX.js.map} +0 -0
  100. /package/dist/{read-pkg-HJMCSB5I.js.map → read-pkg-G5MAO2UG.js.map} +0 -0
  101. /package/dist/{spans-VFUX4INY.js.map → spans-M7K5PCTJ.js.map} +0 -0
  102. /package/dist/{src-E6BNFARD.js.map → src-HIWNQ2ZK.js.map} +0 -0
  103. /package/dist/{token-72MUORNS.js.map → token-2OMWY57H.js.map} +0 -0
  104. /package/dist/{token-util-AIYESGTJ.js.map → token-util-JN27DL5B.js.map} +0 -0
  105. /package/dist/{typescript-GCBSCXSC.js.map → typescript-AOTBQ4RS.js.map} +0 -0
  106. /package/dist/{wrap-ansi-FMXEXTGM.js.map → wrap-ansi-N7NR2MFH.js.map} +0 -0
  107. /package/dist/{yaml-7UZATJ5H.js.map → yaml-7T4RBYWN.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  if (typeof process === 'object' && process !== null &&
2
2
  process.env !== null && typeof process.env === 'object') {
3
3
  process.env.DD_GIT_REPOSITORY_URL = 'https://token@github.com/superblocksteam/superblocks.git';
4
- process.env.DD_GIT_COMMIT_SHA = 'aba534ea9cdadb3160083f4a1461f19fb0106c18';
4
+ process.env.DD_GIT_COMMIT_SHA = '4e1c623f75f21674a09b339b795dfed9454cd72d';
5
5
  }
6
6
  import { createRequire as $dd_createRequire } from 'module';
7
7
  import { fileURLToPath as $dd_fileURLToPath } from 'url';
@@ -12,7 +12,7 @@ globalThis.__dirname ??= $dd_dirname(globalThis.__filename);
12
12
 
13
13
  import {
14
14
  init_cjs_shims
15
- } from "./chunk-GNC55EKI.js";
15
+ } from "./chunk-UAG22FZS.js";
16
16
 
17
17
  // ../../../../node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/graphql.mjs
18
18
  init_cjs_shims();
@@ -1279,4 +1279,4 @@ export {
1279
1279
  he as parsers,
1280
1280
  nn as printers
1281
1281
  };
1282
- //# sourceMappingURL=graphql-MLEYXD2U.js.map
1282
+ //# sourceMappingURL=graphql-2XEFI5SS.js.map
@@ -1,7 +1,7 @@
1
1
  if (typeof process === 'object' && process !== null &&
2
2
  process.env !== null && typeof process.env === 'object') {
3
3
  process.env.DD_GIT_REPOSITORY_URL = 'https://token@github.com/superblocksteam/superblocks.git';
4
- process.env.DD_GIT_COMMIT_SHA = 'aba534ea9cdadb3160083f4a1461f19fb0106c18';
4
+ process.env.DD_GIT_COMMIT_SHA = '4e1c623f75f21674a09b339b795dfed9454cd72d';
5
5
  }
6
6
  import { createRequire as $dd_createRequire } from 'module';
7
7
  import { fileURLToPath as $dd_fileURLToPath } from 'url';
@@ -12,7 +12,7 @@ globalThis.__dirname ??= $dd_dirname(globalThis.__filename);
12
12
 
13
13
  import {
14
14
  init_cjs_shims
15
- } from "./chunk-GNC55EKI.js";
15
+ } from "./chunk-UAG22FZS.js";
16
16
 
17
17
  // ../../../../node_modules/.pnpm/prettier@3.8.1/node_modules/prettier/plugins/html.mjs
18
18
  init_cjs_shims();
@@ -2946,4 +2946,4 @@ export {
2946
2946
  Qr as parsers,
2947
2947
  Ll as printers
2948
2948
  };
2949
- //# sourceMappingURL=html-75HX2GNJ.js.map
2949
+ //# sourceMappingURL=html-CSEIJNCQ.js.map
@@ -1,7 +1,7 @@
1
1
  if (typeof process === 'object' && process !== null &&
2
2
  process.env !== null && typeof process.env === 'object') {
3
3
  process.env.DD_GIT_REPOSITORY_URL = 'https://token@github.com/superblocksteam/superblocks.git';
4
- process.env.DD_GIT_COMMIT_SHA = 'aba534ea9cdadb3160083f4a1461f19fb0106c18';
4
+ process.env.DD_GIT_COMMIT_SHA = '4e1c623f75f21674a09b339b795dfed9454cd72d';
5
5
  }
6
6
  import { createRequire as $dd_createRequire } from 'module';
7
7
  import { fileURLToPath as $dd_fileURLToPath } from 'url';
@@ -19,18 +19,18 @@ import {
19
19
  package_default,
20
20
  resolveProfile,
21
21
  toolDefinitions
22
- } from "./chunk-HA7Z255S.js";
23
- import "./chunk-SD2QEDIP.js";
24
- import "./chunk-VPH7JVPT.js";
25
- import "./chunk-3XBE4HQX.js";
26
- import "./chunk-E7TUZRVS.js";
27
- import "./chunk-3IO5MMN2.js";
28
- import "./chunk-E37WBJKK.js";
29
- import "./chunk-Q2ME5YL7.js";
30
- import "./chunk-IU7CNKMW.js";
22
+ } from "./chunk-JLROLCEP.js";
23
+ import "./chunk-II4LCNBM.js";
24
+ import "./chunk-T22YBSOZ.js";
25
+ import "./chunk-KGR5DCN5.js";
26
+ import "./chunk-2WWKACJ2.js";
27
+ import "./chunk-5ZMFXRHW.js";
28
+ import "./chunk-Y3GXLERD.js";
29
+ import "./chunk-BYANSVAG.js";
30
+ import "./chunk-PY3OWIDM.js";
31
31
  import {
32
32
  init_cjs_shims
33
- } from "./chunk-GNC55EKI.js";
33
+ } from "./chunk-UAG22FZS.js";
34
34
 
35
35
  // ../mcp-server/dist/http.js
36
36
  init_cjs_shims();
@@ -313,4 +313,4 @@ async function startHttpServer(options = {}) {
313
313
  export {
314
314
  startHttpServer
315
315
  };
316
- //# sourceMappingURL=http-56SZQ5QL.js.map
316
+ //# sourceMappingURL=http-QT6UTXZ4.js.map
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  if (typeof process === 'object' && process !== null &&
2
2
  process.env !== null && typeof process.env === 'object') {
3
3
  process.env.DD_GIT_REPOSITORY_URL = 'https://token@github.com/superblocksteam/superblocks.git';
4
- process.env.DD_GIT_COMMIT_SHA = 'aba534ea9cdadb3160083f4a1461f19fb0106c18';
4
+ process.env.DD_GIT_COMMIT_SHA = '4e1c623f75f21674a09b339b795dfed9454cd72d';
5
5
  }
6
6
  import { createRequire as $dd_createRequire } from 'module';
7
7
  import { fileURLToPath as $dd_fileURLToPath } from 'url';
@@ -15,7 +15,7 @@ import {
15
15
  configPathForClient,
16
16
  labelForClient,
17
17
  mergeMcpConfig
18
- } from "./chunk-JZAZSCU2.js";
18
+ } from "./chunk-VTXO4JDR.js";
19
19
  import {
20
20
  AUTO_UPGRADE_EXIT_CODE,
21
21
  AuthHotReloadServer,
@@ -62,7 +62,6 @@ import {
62
62
  isSocketAlive,
63
63
  magenta,
64
64
  modeFlagValuesMap,
65
- preWarmViteCache,
66
65
  readApiFromDisk,
67
66
  readApplicationFromDisk,
68
67
  readMultiPageApplicationFromDisk,
@@ -79,28 +78,28 @@ import {
79
78
  writeApplicationToDisk,
80
79
  writeResourceToDisk,
81
80
  yellow
82
- } from "./chunk-SD2QEDIP.js";
83
- import "./chunk-VPH7JVPT.js";
81
+ } from "./chunk-II4LCNBM.js";
82
+ import "./chunk-T22YBSOZ.js";
84
83
  import {
85
84
  require_enquirer
86
- } from "./chunk-ECMRKKYJ.js";
85
+ } from "./chunk-Q56KYNGS.js";
87
86
  import {
88
87
  init_lodash,
89
88
  isEmpty_default,
90
89
  require_lib
91
- } from "./chunk-3XBE4HQX.js";
90
+ } from "./chunk-KGR5DCN5.js";
92
91
  import {
93
92
  require_rfdc
94
- } from "./chunk-E7TUZRVS.js";
95
- import "./chunk-3IO5MMN2.js";
96
- import "./chunk-E37WBJKK.js";
97
- import "./chunk-Q2ME5YL7.js";
98
- import "./chunk-IU7CNKMW.js";
93
+ } from "./chunk-2WWKACJ2.js";
94
+ import "./chunk-5ZMFXRHW.js";
95
+ import "./chunk-Y3GXLERD.js";
96
+ import "./chunk-BYANSVAG.js";
97
+ import "./chunk-PY3OWIDM.js";
99
98
  import {
100
99
  __commonJS,
101
100
  __toESM,
102
101
  init_cjs_shims
103
- } from "./chunk-GNC55EKI.js";
102
+ } from "./chunk-UAG22FZS.js";
104
103
 
105
104
  // ../../../../node_modules/.pnpm/eventemitter3@5.0.1/node_modules/eventemitter3/index.js
106
105
  var require_eventemitter3 = __commonJS({
@@ -1012,7 +1011,7 @@ async function createPrompt(options, settings) {
1012
1011
  enquirer3 = settings.enquirer;
1013
1012
  } else {
1014
1013
  try {
1015
- enquirer3 = await import("./enquirer-52MVNF3X.js").then((imported) => imported.default ? new imported.default() : new imported());
1014
+ enquirer3 = await import("./enquirer-QINGXDWL.js").then((imported) => imported.default ? new imported.default() : new imported());
1016
1015
  } catch (e) {
1017
1016
  if (this instanceof TaskWrapper) {
1018
1017
  this.task.prompt = new PromptError("Enquirer is a peer dependency that must be installed separately.");
@@ -1220,9 +1219,9 @@ var _DefaultRenderer = class {
1220
1219
  return typeof bottomBar === "number" && bottomBar !== 0 || typeof bottomBar === "boolean" && bottomBar !== false || !task.hasTitle();
1221
1220
  }
1222
1221
  async render() {
1223
- const { createLogUpdate } = await import("./log-update-3HEVG6SP.js");
1224
- const { default: truncate } = await import("./cli-truncate-TAIDSF5E.js");
1225
- const { default: wrap } = await import("./wrap-ansi-FMXEXTGM.js");
1222
+ const { createLogUpdate } = await import("./log-update-G3PGSVWS.js");
1223
+ const { default: truncate } = await import("./cli-truncate-OGHPFNU6.js");
1224
+ const { default: wrap } = await import("./wrap-ansi-N7NR2MFH.js");
1226
1225
  this.updater = createLogUpdate(this.logger.process.stdout);
1227
1226
  this.truncate = truncate;
1228
1227
  this.wrap = wrap;
@@ -4787,9 +4786,7 @@ var Deploy = class _Deploy extends AuthenticatedCommand {
4787
4786
  // src/commands/dev.mts
4788
4787
  init_cjs_shims();
4789
4788
  import * as child_process from "node:child_process";
4790
- import * as fs6 from "node:fs";
4791
- import * as http from "node:http";
4792
- import { basename, join as join3, resolve } from "node:path";
4789
+ import { resolve } from "node:path";
4793
4790
  import { Flags as Flags6, ux as ux4 } from "@oclif/core";
4794
4791
  var import_util13 = __toESM(require_dist2(), 1);
4795
4792
  var Dev = class _Dev extends AuthenticatedCommand {
@@ -4798,8 +4795,6 @@ var Dev = class _Dev extends AuthenticatedCommand {
4798
4795
  flags;
4799
4796
  applicationConfig;
4800
4797
  superblocksBaseUrl;
4801
- warmServer;
4802
- s3Restored = false;
4803
4798
  authHotReloadServer;
4804
4799
  getAuthTokenTimeoutMs() {
4805
4800
  return 5 * 60 * 1e3;
@@ -4814,9 +4809,6 @@ var Dev = class _Dev extends AuthenticatedCommand {
4814
4809
  async init() {
4815
4810
  const { flags } = await this.parse(_Dev);
4816
4811
  this.flags = flags;
4817
- if (this.flags.warm) {
4818
- return;
4819
- }
4820
4812
  let token;
4821
4813
  let superblocksBaseUrl;
4822
4814
  const branch = await getCurrentBranchInfo();
@@ -5002,11 +4994,7 @@ var Dev = class _Dev extends AuthenticatedCommand {
5002
4994
  superblocksPath: resolve(process.argv[1]),
5003
4995
  autoUpgradeMode,
5004
4996
  sdk,
5005
- prefetchedApplication,
5006
- // Skip DBFS sync when S3 restored the workspace successfully — files are
5007
- // already on disk. Fall back to DBFS sync when S3 has no state (first visit)
5008
- // or S3 is not configured.
5009
- skipSync: this.warmServer !== void 0 && this.s3Restored
4997
+ prefetchedApplication
5010
4998
  });
5011
4999
  }
5012
5000
  async onTokenReceived(token) {
@@ -5037,12 +5025,6 @@ var Dev = class _Dev extends AuthenticatedCommand {
5037
5025
  description: "The port that the dev server will run on",
5038
5026
  hidden: true
5039
5027
  }),
5040
- warm: Flags6.boolean({
5041
- name: "warm",
5042
- description: "Start in warm standby mode: pre-loads the server process without auth, then activates on /_sb_activate POST",
5043
- default: false,
5044
- hidden: true
5045
- }),
5046
5028
  "upload-first": Flags6.boolean({
5047
5029
  name: "upload-first",
5048
5030
  description: "Upload to Superblocks before starting",
@@ -5091,10 +5073,6 @@ var Dev = class _Dev extends AuthenticatedCommand {
5091
5073
  if (!this.flags) {
5092
5074
  throw new Error("Flags are not initialized");
5093
5075
  }
5094
- if (this.flags.warm) {
5095
- await this.runWarmStandby();
5096
- return;
5097
- }
5098
5076
  if (!this.flags["upload-first"] && !this.flags["download-first"]) {
5099
5077
  throw new Error(
5100
5078
  "This command requires either the --upload-first or --download-first flag"
@@ -5180,143 +5158,9 @@ var Dev = class _Dev extends AuthenticatedCommand {
5180
5158
  tokenManager: this.tokenManager,
5181
5159
  getCurrentToken: () => this.getCurrentToken(),
5182
5160
  authHotReloadServer: this.authHotReloadServer,
5183
- autoUpgradeMode: options.autoUpgradeMode,
5184
- existingServer: this.warmServer
5161
+ autoUpgradeMode: options.autoUpgradeMode
5185
5162
  });
5186
5163
  }
5187
- /**
5188
- * Warm standby mode: starts a minimal HTTP server that responds to health
5189
- * checks while the Node.js runtime is fully loaded in memory. When SABS
5190
- * activates the pod via POST /_sb_activate with session credentials, this
5191
- * method writes the config files, closes the standby server, and hands off
5192
- * to the normal `executeWithToken` flow.
5193
- *
5194
- * This eliminates the ~1.9s CLI cold-start from the claim-time critical path.
5195
- */
5196
- async runWarmStandby() {
5197
- const port = this.flags?.port ?? 5173;
5198
- const logger = this.logger();
5199
- logger.info(`Starting warm standby server on port ${port}`);
5200
- const activationConfig = await new Promise((resolveActivation) => {
5201
- const server = http.createServer((req, res) => {
5202
- res.setHeader("Cache-Control", "no-store, max-age=0");
5203
- res.setHeader("x-csb-no-sw-proxy", "1");
5204
- if (req.url === "/_sb_health" && req.method === "GET") {
5205
- res.writeHead(503, { "Content-Type": "application/json" });
5206
- res.end(JSON.stringify({ status: "warming" }));
5207
- return;
5208
- }
5209
- if (req.url === "/_sb_activate" && req.method === "POST") {
5210
- let body = "";
5211
- req.on("data", (chunk) => {
5212
- body += chunk.toString();
5213
- });
5214
- req.on("end", () => {
5215
- try {
5216
- const config = JSON.parse(body);
5217
- res.writeHead(200, { "Content-Type": "application/json" });
5218
- res.end(JSON.stringify({ status: "activating" }));
5219
- logger.info(
5220
- "Activation received, transitioning to full dev server"
5221
- );
5222
- this.warmServer = server;
5223
- resolveActivation(config);
5224
- } catch {
5225
- res.writeHead(400, { "Content-Type": "application/json" });
5226
- res.end(JSON.stringify({ error: "invalid JSON body" }));
5227
- }
5228
- });
5229
- return;
5230
- }
5231
- res.writeHead(503);
5232
- res.end();
5233
- });
5234
- server.listen(port, () => {
5235
- logger.info(`Warm standby ready on port ${port}`);
5236
- preWarmViteCache(process.cwd()).catch(() => {
5237
- });
5238
- });
5239
- });
5240
- process.env.SUPERBLOCKS_TOKEN = activationConfig.token;
5241
- process.env.SUPERBLOCKS_BASE_URL = activationConfig.baseUrl;
5242
- process.env.APPLICATION_ID = activationConfig.applicationId;
5243
- process.env.BRANCH = activationConfig.branch;
5244
- if (activationConfig.hostname) {
5245
- process.env.SABS_LIVE_EDIT_HOSTNAME = activationConfig.hostname;
5246
- }
5247
- if (activationConfig.templateName) {
5248
- process.env.SUPERBLOCKS_APP_TEMPLATE_NAME = activationConfig.templateName;
5249
- const currentDir = basename(process.cwd());
5250
- if (currentDir !== activationConfig.templateName) {
5251
- const targetDir = join3(
5252
- process.cwd(),
5253
- "..",
5254
- activationConfig.templateName
5255
- );
5256
- if (fs6.existsSync(targetDir)) {
5257
- logger.info(
5258
- `Switching template directory: ${currentDir} -> ${activationConfig.templateName}`
5259
- );
5260
- process.chdir(targetDir);
5261
- } else {
5262
- logger.warn(
5263
- `Template directory not found: ${targetDir}, staying in ${currentDir}`
5264
- );
5265
- }
5266
- }
5267
- }
5268
- fs6.writeFileSync(
5269
- (0, import_util13.resolveAuthFilePath)(),
5270
- JSON.stringify({
5271
- superblocksBaseUrl: activationConfig.baseUrl,
5272
- token: activationConfig.token
5273
- })
5274
- );
5275
- const appConfigPath = join3(
5276
- process.cwd(),
5277
- ".superblocks",
5278
- "superblocks.json"
5279
- );
5280
- if (fs6.existsSync(appConfigPath)) {
5281
- fs6.writeFileSync(
5282
- appConfigPath,
5283
- JSON.stringify({
5284
- configType: "APPLICATION_V2",
5285
- id: activationConfig.applicationId
5286
- })
5287
- );
5288
- }
5289
- const devEnvPath = join3(
5290
- process.cwd(),
5291
- "..",
5292
- "..",
5293
- ".superblocks",
5294
- "dev-environment.json"
5295
- );
5296
- if (fs6.existsSync(devEnvPath)) {
5297
- fs6.writeFileSync(
5298
- devEnvPath,
5299
- JSON.stringify({
5300
- configType: "DEV_ENVIRONMENT",
5301
- branch: activationConfig.branch
5302
- })
5303
- );
5304
- }
5305
- this.s3Restored = activationConfig.s3Restored === true;
5306
- this.currentToken = activationConfig.token;
5307
- this.superblocksBaseUrl = activationConfig.baseUrl;
5308
- this.applicationConfig = {
5309
- id: activationConfig.applicationId,
5310
- branchName: activationConfig.branch
5311
- };
5312
- this.flags = {
5313
- ...this.flags,
5314
- "download-first": true,
5315
- "skip-auto-upgrade": true
5316
- };
5317
- await this.initializeTelemetry(activationConfig.token);
5318
- await this.executeWithToken(activationConfig.token);
5319
- }
5320
5164
  async spawnAndWaitForChild(previousRunResult, flags) {
5321
5165
  let _resolve;
5322
5166
  const promise = new Promise((resolve2) => {
@@ -6134,12 +5978,12 @@ var McpServe = class _McpServe extends Command9 {
6134
5978
  "HTTP transport requires auth token. Pass --http-token <token> or set SUPERBLOCKS_MCP_HTTP_TOKEN."
6135
5979
  );
6136
5980
  }
6137
- const { startHttpServer } = await import("./http-56SZQ5QL.js");
5981
+ const { startHttpServer } = await import("./http-QT6UTXZ4.js");
6138
5982
  await startHttpServer({ port: flags.port, authToken: httpToken });
6139
5983
  await new Promise(() => {
6140
5984
  });
6141
5985
  } else {
6142
- const { startServer } = await import("./dist-AJUIPMMD.js");
5986
+ const { startServer } = await import("./dist-LDDII4PX.js");
6143
5987
  await startServer();
6144
5988
  await new Promise((resolve2) => {
6145
5989
  process.stdin.once("end", () => resolve2());
@@ -7622,7 +7466,7 @@ function getResourceIdFromLocation(ctx, resourceLocation) {
7622
7466
  // src/commands/sync.mts
7623
7467
  init_cjs_shims();
7624
7468
  import { execFile } from "node:child_process";
7625
- import * as fs12 from "node:fs/promises";
7469
+ import * as fs11 from "node:fs/promises";
7626
7470
  import * as os from "node:os";
7627
7471
  import path17 from "node:path";
7628
7472
  import { promisify as promisify2 } from "node:util";
@@ -7716,7 +7560,7 @@ var Sync = class _Sync extends Command11 {
7716
7560
  appRelativePath,
7717
7561
  requestedSha
7718
7562
  }) {
7719
- const worktreeBase = await fs12.mkdtemp(
7563
+ const worktreeBase = await fs11.mkdtemp(
7720
7564
  path17.join(os.tmpdir(), "superblocks-sync-main-")
7721
7565
  );
7722
7566
  const worktreePath = path17.join(worktreeBase, "worktree");
@@ -7776,7 +7620,7 @@ var Sync = class _Sync extends Command11 {
7776
7620
  );
7777
7621
  } catch {
7778
7622
  }
7779
- await fs12.rm(worktreeBase, { recursive: true, force: true });
7623
+ await fs11.rm(worktreeBase, { recursive: true, force: true });
7780
7624
  }
7781
7625
  }
7782
7626
  async resolveRepoRoot(localDirectoryPath) {
@@ -7813,7 +7657,7 @@ var Sync = class _Sync extends Command11 {
7813
7657
  return snapshotAppPath;
7814
7658
  }
7815
7659
  const uploadPath = path17.join(worktreeBase, "upload");
7816
- await fs12.cp(snapshotAppPath, uploadPath, {
7660
+ await fs11.cp(snapshotAppPath, uploadPath, {
7817
7661
  recursive: true,
7818
7662
  force: true,
7819
7663
  filter: (sourcePath) => path17.basename(sourcePath) !== ".git"