@superblocksteam/cli 2.0.115-next.1 → 2.0.115

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 (106) hide show
  1. package/README.md +1 -1
  2. package/dist/{acorn-6FIX6HGW.js → acorn-JHRONFS4.js} +3 -3
  3. package/dist/{angular-72OUAYXE.js → angular-QF52CYFI.js} +3 -3
  4. package/dist/{api-EL2ZL4D2.js → api-HMKSSHZX.js} +4 -4
  5. package/dist/{babel-IVNHN2FN.js → babel-2DL24PRM.js} +3 -3
  6. package/dist/{chunk-5TLY55P3.js → chunk-3CYENCYH.js} +3 -3
  7. package/dist/{chunk-N56DGVT5.js → chunk-74RKZX6F.js} +3 -3
  8. package/dist/{chunk-PGRPKVAA.js → chunk-A6T7U33M.js} +3 -3
  9. package/dist/{chunk-VLOPMTKH.js → chunk-DPRG5C4I.js} +3 -3
  10. package/dist/{chunk-5FASNVKR.js → chunk-F44JK4PJ.js} +704 -424
  11. package/dist/{chunk-5FASNVKR.js.map → chunk-F44JK4PJ.js.map} +1 -1
  12. package/dist/{chunk-DOXSMSAZ.js → chunk-GLEEAUR7.js} +4 -4
  13. package/dist/{chunk-5BQRSW56.js → chunk-OGVVEDHP.js} +3 -3
  14. package/dist/{chunk-N26IC7EV.js → chunk-OTZ4NWXP.js} +3 -3
  15. package/dist/{chunk-JRM53TJM.js → chunk-SNWYQRQR.js} +4 -4
  16. package/dist/{chunk-JF3FCUWO.js → chunk-UZ4QIFLO.js} +3 -3
  17. package/dist/{chunk-TJ6ILHHH.js → chunk-VW5VNKNH.js} +6 -6
  18. package/dist/{chunk-F2XDCV5P.js → chunk-VXFKJXMK.js} +2 -2
  19. package/dist/{chunk-EV7NKYAZ.js → chunk-X35MZKDE.js} +3 -3
  20. package/dist/{chunk-46VFFXGY.js → chunk-XTNEKI3G.js} +3 -3
  21. package/dist/{chunk-HC7TL6CZ.js → chunk-XZKLTILM.js} +4 -4
  22. package/dist/{chunk-FLDCO2JA.js → chunk-Z2JDWKOY.js} +4 -4
  23. package/dist/{chunk-QZMOWQO2.js → chunk-ZNPRMZWK.js} +6 -6
  24. package/dist/{cli-truncate-USLGLIKO.js → cli-truncate-UKEKQY5H.js} +5 -5
  25. package/dist/commands/dev-parent.js +2 -2
  26. package/dist/{dd-trace-C5THKVDW.js → dd-trace-PUY57IPO.js} +7 -7
  27. package/dist/{dist-D4IU4RYL.js → dist-Y6AGV5P3.js} +13 -13
  28. package/dist/{embedded-playwright-mcp-server-WVTTYU3Q.js → embedded-playwright-mcp-server-GH2GKXC5.js} +3 -3
  29. package/dist/{enquirer-4RT6U562.js → enquirer-WAU3IEFL.js} +4 -4
  30. package/dist/{estree-SYEWSGYF.js → estree-ECXZGDIF.js} +3 -3
  31. package/dist/{flow-3FYCOYO6.js → flow-ZS7G5ANK.js} +3 -3
  32. package/dist/{getMachineId-bsd-LAZBOK2G.js → getMachineId-bsd-LYC2T4GF.js} +5 -5
  33. package/dist/{getMachineId-darwin-TAHPH2RC.js → getMachineId-darwin-BA3AY4DD.js} +5 -5
  34. package/dist/{getMachineId-linux-OJBW3JI5.js → getMachineId-linux-2VQG2IWU.js} +4 -4
  35. package/dist/{getMachineId-unsupported-MA45BINM.js → getMachineId-unsupported-TPAGIJOS.js} +4 -4
  36. package/dist/{getMachineId-win-NWMSZJUC.js → getMachineId-win-SK7C3DWT.js} +5 -5
  37. package/dist/{glimmer-BKLPUV4W.js → glimmer-J2VXEFY2.js} +3 -3
  38. package/dist/{graphql-DZJWE5XU.js → graphql-RJDPOR6L.js} +3 -3
  39. package/dist/{html-ADAJHV4U.js → html-7VSXMGZ5.js} +3 -3
  40. package/dist/{http-NN4HGFY6.js → http-CY3TWLBD.js} +12 -12
  41. package/dist/index.js +99 -39
  42. package/dist/index.js.map +1 -1
  43. package/dist/{jiti-EK42FR63.js → jiti-VDKH5NZI.js} +3 -3
  44. package/dist/{log-update-SVXICKYR.js → log-update-BHKRLINV.js} +6 -6
  45. package/dist/{markdown-INBGZDGH.js → markdown-PVFM5DAW.js} +3 -3
  46. package/dist/{meriyah-22ZC3PQP.js → meriyah-KZDBYX27.js} +3 -3
  47. package/dist/{postcss-XJFTWOZ2.js → postcss-2RPIRYGV.js} +3 -3
  48. package/dist/{read-pkg-V2DVNNAN.js → read-pkg-NF62AUWG.js} +5 -5
  49. package/dist/{spans-QJHO623A.js → spans-F7VE54SP.js} +4 -4
  50. package/dist/{src-XURX32AU.js → src-ESEZZZMK.js} +3 -3
  51. package/dist/{token-ZONZHU4D.js → token-T6TYL2US.js} +5 -5
  52. package/dist/{token-util-23L5PRSZ.js → token-util-5ZB7MQPD.js} +5 -5
  53. package/dist/{typescript-VG6WEJ6Z.js → typescript-HX3PPXLS.js} +3 -3
  54. package/dist/{wrap-ansi-GVBXECGG.js → wrap-ansi-SIH5FW5X.js} +5 -5
  55. package/dist/{yaml-MO3R4OR5.js → yaml-3FCKXJUU.js} +3 -3
  56. package/oclif.manifest.json +1 -1
  57. package/package.json +5 -5
  58. /package/dist/{acorn-6FIX6HGW.js.map → acorn-JHRONFS4.js.map} +0 -0
  59. /package/dist/{angular-72OUAYXE.js.map → angular-QF52CYFI.js.map} +0 -0
  60. /package/dist/{api-EL2ZL4D2.js.map → api-HMKSSHZX.js.map} +0 -0
  61. /package/dist/{babel-IVNHN2FN.js.map → babel-2DL24PRM.js.map} +0 -0
  62. /package/dist/{chunk-5TLY55P3.js.map → chunk-3CYENCYH.js.map} +0 -0
  63. /package/dist/{chunk-N56DGVT5.js.map → chunk-74RKZX6F.js.map} +0 -0
  64. /package/dist/{chunk-PGRPKVAA.js.map → chunk-A6T7U33M.js.map} +0 -0
  65. /package/dist/{chunk-VLOPMTKH.js.map → chunk-DPRG5C4I.js.map} +0 -0
  66. /package/dist/{chunk-DOXSMSAZ.js.map → chunk-GLEEAUR7.js.map} +0 -0
  67. /package/dist/{chunk-5BQRSW56.js.map → chunk-OGVVEDHP.js.map} +0 -0
  68. /package/dist/{chunk-N26IC7EV.js.map → chunk-OTZ4NWXP.js.map} +0 -0
  69. /package/dist/{chunk-JRM53TJM.js.map → chunk-SNWYQRQR.js.map} +0 -0
  70. /package/dist/{chunk-JF3FCUWO.js.map → chunk-UZ4QIFLO.js.map} +0 -0
  71. /package/dist/{chunk-TJ6ILHHH.js.map → chunk-VW5VNKNH.js.map} +0 -0
  72. /package/dist/{chunk-F2XDCV5P.js.map → chunk-VXFKJXMK.js.map} +0 -0
  73. /package/dist/{chunk-EV7NKYAZ.js.map → chunk-X35MZKDE.js.map} +0 -0
  74. /package/dist/{chunk-46VFFXGY.js.map → chunk-XTNEKI3G.js.map} +0 -0
  75. /package/dist/{chunk-HC7TL6CZ.js.map → chunk-XZKLTILM.js.map} +0 -0
  76. /package/dist/{chunk-FLDCO2JA.js.map → chunk-Z2JDWKOY.js.map} +0 -0
  77. /package/dist/{chunk-QZMOWQO2.js.map → chunk-ZNPRMZWK.js.map} +0 -0
  78. /package/dist/{cli-truncate-USLGLIKO.js.map → cli-truncate-UKEKQY5H.js.map} +0 -0
  79. /package/dist/{dd-trace-C5THKVDW.js.map → dd-trace-PUY57IPO.js.map} +0 -0
  80. /package/dist/{dist-D4IU4RYL.js.map → dist-Y6AGV5P3.js.map} +0 -0
  81. /package/dist/{embedded-playwright-mcp-server-WVTTYU3Q.js.map → embedded-playwright-mcp-server-GH2GKXC5.js.map} +0 -0
  82. /package/dist/{enquirer-4RT6U562.js.map → enquirer-WAU3IEFL.js.map} +0 -0
  83. /package/dist/{estree-SYEWSGYF.js.map → estree-ECXZGDIF.js.map} +0 -0
  84. /package/dist/{flow-3FYCOYO6.js.map → flow-ZS7G5ANK.js.map} +0 -0
  85. /package/dist/{getMachineId-bsd-LAZBOK2G.js.map → getMachineId-bsd-LYC2T4GF.js.map} +0 -0
  86. /package/dist/{getMachineId-darwin-TAHPH2RC.js.map → getMachineId-darwin-BA3AY4DD.js.map} +0 -0
  87. /package/dist/{getMachineId-linux-OJBW3JI5.js.map → getMachineId-linux-2VQG2IWU.js.map} +0 -0
  88. /package/dist/{getMachineId-unsupported-MA45BINM.js.map → getMachineId-unsupported-TPAGIJOS.js.map} +0 -0
  89. /package/dist/{getMachineId-win-NWMSZJUC.js.map → getMachineId-win-SK7C3DWT.js.map} +0 -0
  90. /package/dist/{glimmer-BKLPUV4W.js.map → glimmer-J2VXEFY2.js.map} +0 -0
  91. /package/dist/{graphql-DZJWE5XU.js.map → graphql-RJDPOR6L.js.map} +0 -0
  92. /package/dist/{html-ADAJHV4U.js.map → html-7VSXMGZ5.js.map} +0 -0
  93. /package/dist/{http-NN4HGFY6.js.map → http-CY3TWLBD.js.map} +0 -0
  94. /package/dist/{jiti-EK42FR63.js.map → jiti-VDKH5NZI.js.map} +0 -0
  95. /package/dist/{log-update-SVXICKYR.js.map → log-update-BHKRLINV.js.map} +0 -0
  96. /package/dist/{markdown-INBGZDGH.js.map → markdown-PVFM5DAW.js.map} +0 -0
  97. /package/dist/{meriyah-22ZC3PQP.js.map → meriyah-KZDBYX27.js.map} +0 -0
  98. /package/dist/{postcss-XJFTWOZ2.js.map → postcss-2RPIRYGV.js.map} +0 -0
  99. /package/dist/{read-pkg-V2DVNNAN.js.map → read-pkg-NF62AUWG.js.map} +0 -0
  100. /package/dist/{spans-QJHO623A.js.map → spans-F7VE54SP.js.map} +0 -0
  101. /package/dist/{src-XURX32AU.js.map → src-ESEZZZMK.js.map} +0 -0
  102. /package/dist/{token-ZONZHU4D.js.map → token-T6TYL2US.js.map} +0 -0
  103. /package/dist/{token-util-23L5PRSZ.js.map → token-util-5ZB7MQPD.js.map} +0 -0
  104. /package/dist/{typescript-VG6WEJ6Z.js.map → typescript-HX3PPXLS.js.map} +0 -0
  105. /package/dist/{wrap-ansi-GVBXECGG.js.map → wrap-ansi-SIH5FW5X.js.map} +0 -0
  106. /package/dist/{yaml-MO3R4OR5.js.map → yaml-3FCKXJUU.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 = 'd1f96f3ac0861a77e75e79ae5dd348f2ed4ecd8d';
4
+ process.env.DD_GIT_COMMIT_SHA = '48ad3b32fbd495c6e994b0da4e3133b280a349d1';
5
5
  }
6
6
  import { createRequire as $dd_createRequire } from 'module';
7
7
  import { fileURLToPath as $dd_fileURLToPath } from 'url';
@@ -24,7 +24,7 @@ import {
24
24
  require_re,
25
25
  require_semver,
26
26
  require_valid
27
- } from "./chunk-46VFFXGY.js";
27
+ } from "./chunk-XTNEKI3G.js";
28
28
  import {
29
29
  debounce_default,
30
30
  get_default,
@@ -41,7 +41,7 @@ import {
41
41
  require_lib,
42
42
  require_slugify,
43
43
  throttle_default
44
- } from "./chunk-5TLY55P3.js";
44
+ } from "./chunk-3CYENCYH.js";
45
45
  import {
46
46
  require_dd_trace,
47
47
  require_import_in_the_middle,
@@ -50,16 +50,16 @@ import {
50
50
  require_p_limit,
51
51
  require_path_to_regexp,
52
52
  require_src
53
- } from "./chunk-QZMOWQO2.js";
53
+ } from "./chunk-ZNPRMZWK.js";
54
54
  import {
55
55
  require_commonjs
56
- } from "./chunk-JF3FCUWO.js";
56
+ } from "./chunk-UZ4QIFLO.js";
57
57
  import {
58
58
  require_dc_polyfill
59
- } from "./chunk-5BQRSW56.js";
59
+ } from "./chunk-OGVVEDHP.js";
60
60
  import {
61
61
  require_token_error
62
- } from "./chunk-EV7NKYAZ.js";
62
+ } from "./chunk-X35MZKDE.js";
63
63
  import {
64
64
  SpanKind,
65
65
  SpanStatusCode,
@@ -68,7 +68,7 @@ import {
68
68
  init_esm,
69
69
  metrics,
70
70
  trace
71
- } from "./chunk-PGRPKVAA.js";
71
+ } from "./chunk-A6T7U33M.js";
72
72
  import {
73
73
  __commonJS,
74
74
  __esm,
@@ -77,7 +77,7 @@ import {
77
77
  __toCommonJS,
78
78
  __toESM,
79
79
  init_cjs_shims
80
- } from "./chunk-F2XDCV5P.js";
80
+ } from "./chunk-VXFKJXMK.js";
81
81
 
82
82
  // ../../../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js
83
83
  var require_constants3 = __commonJS({
@@ -5465,7 +5465,7 @@ var require_lodash = __commonJS({
5465
5465
  }
5466
5466
  return mapped.length && mapped[0] === arrays[0] ? baseIntersection(mapped, undefined2, comparator) : [];
5467
5467
  });
5468
- function join29(array3, separator) {
5468
+ function join30(array3, separator) {
5469
5469
  return array3 == null ? "" : nativeJoin.call(array3, separator);
5470
5470
  }
5471
5471
  function last3(array3) {
@@ -7384,7 +7384,7 @@ var require_lodash = __commonJS({
7384
7384
  lodash.isUndefined = isUndefined2;
7385
7385
  lodash.isWeakMap = isWeakMap;
7386
7386
  lodash.isWeakSet = isWeakSet;
7387
- lodash.join = join29;
7387
+ lodash.join = join30;
7388
7388
  lodash.kebabCase = kebabCase;
7389
7389
  lodash.last = last3;
7390
7390
  lodash.lastIndexOf = lastIndexOf;
@@ -68669,7 +68669,7 @@ var require_websocket = __commonJS({
68669
68669
  const http3 = __require("http");
68670
68670
  const net4 = __require("net");
68671
68671
  const tls = __require("tls");
68672
- const { randomBytes: randomBytes3, createHash: createHash4 } = __require("crypto");
68672
+ const { randomBytes: randomBytes3, createHash: createHash5 } = __require("crypto");
68673
68673
  const { Duplex, Readable: Readable6 } = __require("stream");
68674
68674
  const { URL: URL3 } = __require("url");
68675
68675
  const PerMessageDeflate = require_permessage_deflate();
@@ -69329,7 +69329,7 @@ var require_websocket = __commonJS({
69329
69329
  abortHandshake(websocket, socket, "Invalid Upgrade header");
69330
69330
  return;
69331
69331
  }
69332
- const digest = createHash4("sha1").update(key2 + GUID).digest("base64");
69332
+ const digest = createHash5("sha1").update(key2 + GUID).digest("base64");
69333
69333
  if (res.headers["sec-websocket-accept"] !== digest) {
69334
69334
  abortHandshake(websocket, socket, "Invalid Sec-WebSocket-Accept header");
69335
69335
  return;
@@ -69714,7 +69714,7 @@ var require_websocket_server = __commonJS({
69714
69714
  const EventEmitter6 = __require("events");
69715
69715
  const http3 = __require("http");
69716
69716
  const { Duplex } = __require("stream");
69717
- const { createHash: createHash4 } = __require("crypto");
69717
+ const { createHash: createHash5 } = __require("crypto");
69718
69718
  const extension = require_extension();
69719
69719
  const PerMessageDeflate = require_permessage_deflate();
69720
69720
  const subprotocol = require_subprotocol();
@@ -70015,7 +70015,7 @@ var require_websocket_server = __commonJS({
70015
70015
  );
70016
70016
  }
70017
70017
  if (this._state > RUNNING) return abortHandshake(socket, 503);
70018
- const digest = createHash4("sha1").update(key2 + GUID).digest("base64");
70018
+ const digest = createHash5("sha1").update(key2 + GUID).digest("base64");
70019
70019
  const headers = [
70020
70020
  "HTTP/1.1 101 Switching Protocols",
70021
70021
  "Upgrade: websocket",
@@ -96261,7 +96261,7 @@ var require_component_configs = __commonJS({
96261
96261
  var node_os_1 = __importDefault(__require("node:os"));
96262
96262
  var node_path_1 = __importDefault(__require("node:path"));
96263
96263
  var util5 = __importStar(__require("node:util"));
96264
- var fs44 = __importStar(require_lib());
96264
+ var fs45 = __importStar(require_lib());
96265
96265
  var mimeTypes = __importStar(require_mime_types());
96266
96266
  var constants_js_1 = require_constants8();
96267
96267
  var generate_component_types_js_1 = require_generate_component_types();
@@ -96306,10 +96306,10 @@ var require_component_configs = __commonJS({
96306
96306
  }
96307
96307
  async function getFolderPaths() {
96308
96308
  try {
96309
- const folderPaths = await fs44.readdir(constants_js_1.CUSTOM_COMPONENTS_PATH, {
96309
+ const folderPaths = await fs45.readdir(constants_js_1.CUSTOM_COMPONENTS_PATH, {
96310
96310
  withFileTypes: true
96311
96311
  });
96312
- const directories = folderPaths.filter((dirent) => dirent.isDirectory() || dirent.isSymbolicLink() && fs44.statSync(node_path_1.default.join(constants_js_1.CUSTOM_COMPONENTS_PATH, dirent.name)).isDirectory());
96312
+ const directories = folderPaths.filter((dirent) => dirent.isDirectory() || dirent.isSymbolicLink() && fs45.statSync(node_path_1.default.join(constants_js_1.CUSTOM_COMPONENTS_PATH, dirent.name)).isDirectory());
96313
96313
  const folderPathsArray = directories.map((dirent) => node_path_1.default.join(constants_js_1.CUSTOM_COMPONENTS_PATH, dirent.name));
96314
96314
  return folderPathsArray;
96315
96315
  } catch {
@@ -96322,7 +96322,7 @@ var require_component_configs = __commonJS({
96322
96322
  const promiseConfigFiles = folderPaths.map(async (ccpath) => {
96323
96323
  const absPath = node_path_1.default.resolve(ccpath);
96324
96324
  try {
96325
- const config5 = await fs44.readJSON(`${absPath}/config.json`);
96325
+ const config5 = await fs45.readJSON(`${absPath}/config.json`);
96326
96326
  console.log(`Found component in ${absPath}`);
96327
96327
  return { ccpath, config: config5 };
96328
96328
  } catch {
@@ -96330,7 +96330,7 @@ var require_component_configs = __commonJS({
96330
96330
  const rawPath = `${ccpath}/config.ts`;
96331
96331
  const fileName = node_path_1.default.resolve(rawPath);
96332
96332
  const outputDirectory = node_path_1.default.resolve(`${node_os_1.default.tmpdir()}/superblocks/${ccpath}/config.timestamp-${Date.now()}-${Math.random().toString(16).slice(2)}`);
96333
- await fs44.ensureDir(outputDirectory);
96333
+ await fs45.ensureDir(outputDirectory);
96334
96334
  const compilationResult = await compileTypeScript(fileName, outputDirectory);
96335
96335
  if (compilationResult.output) {
96336
96336
  hasError = true;
@@ -96353,7 +96353,7 @@ var require_component_configs = __commonJS({
96353
96353
  if (generateTypesFiles) {
96354
96354
  for (const { config: config4, ccpath } of configFiles) {
96355
96355
  const typesFileContents = (0, generate_component_types_js_1.generateComponentTypesFile)(config4);
96356
- await fs44.writeFile(`${ccpath}/types.ts`, typesFileContents);
96356
+ await fs45.writeFile(`${ccpath}/types.ts`, typesFileContents);
96357
96357
  console.log(`Generated ${ccpath}/types.ts`);
96358
96358
  }
96359
96359
  }
@@ -96489,7 +96489,7 @@ var require_login = __commonJS({
96489
96489
  exports2.getLocalTokenWithUrl = getLocalTokenWithUrl2;
96490
96490
  var node_os_1 = __require("node:os");
96491
96491
  var node_path_1 = __require("node:path");
96492
- var fs44 = __importStar(require_lib());
96492
+ var fs45 = __importStar(require_lib());
96493
96493
  var constants_js_1 = require_constants8();
96494
96494
  function resolveAuthFilePath() {
96495
96495
  return process.env.SUPERBLOCKS_AUTH_FILE || (0, node_path_1.join)((0, node_os_1.homedir)(), constants_js_1.TOKEN_CONFIG_PATH);
@@ -96497,18 +96497,18 @@ var require_login = __commonJS({
96497
96497
  async function saveApiToken(superblocksBaseUrl, token2) {
96498
96498
  try {
96499
96499
  const authFile = resolveAuthFilePath();
96500
- await fs44.ensureDir((0, node_path_1.dirname)(authFile));
96500
+ await fs45.ensureDir((0, node_path_1.dirname)(authFile));
96501
96501
  if (token2) {
96502
96502
  const tokenConfig = {
96503
96503
  superblocksBaseUrl,
96504
96504
  token: token2
96505
96505
  };
96506
- await fs44.writeJSON(authFile, tokenConfig);
96506
+ await fs45.writeJSON(authFile, tokenConfig);
96507
96507
  } else {
96508
96508
  const tokenConfig = {
96509
96509
  superblocksBaseUrl
96510
96510
  };
96511
- await fs44.writeJSON(authFile, tokenConfig);
96511
+ await fs45.writeJSON(authFile, tokenConfig);
96512
96512
  }
96513
96513
  } catch {
96514
96514
  throw new constants_js_1.FileAccessError("Could not save token");
@@ -96523,7 +96523,7 @@ var require_login = __commonJS({
96523
96523
  }
96524
96524
  async function getLocalTokenWithUrl2() {
96525
96525
  try {
96526
- const tokenConfig = await fs44.readJSON(resolveAuthFilePath());
96526
+ const tokenConfig = await fs45.readJSON(resolveAuthFilePath());
96527
96527
  const superblocksBaseUrl = process.env.SUPERBLOCKS_BASE_URL || tokenConfig.superblocksBaseUrl;
96528
96528
  if (tokenConfig.token) {
96529
96529
  return {
@@ -96598,7 +96598,7 @@ var require_resource_configs = __commonJS({
96598
96598
  exports2.getSuperblocksResourceConfigIfExists = getSuperblocksResourceConfigIfExists2;
96599
96599
  exports2.getResourceIdFromUrl = getResourceIdFromUrl;
96600
96600
  var path_1 = __importDefault(__require("path"));
96601
- var fs44 = __importStar(require_lib());
96601
+ var fs45 = __importStar(require_lib());
96602
96602
  var constants_js_1 = require_constants8();
96603
96603
  async function getSuperblocksDevEnvironmentConfigJson2(checkParentDir = false, pathPrefix = "") {
96604
96604
  const absolutePath = path_1.default.resolve(pathPrefix);
@@ -96608,12 +96608,12 @@ var require_resource_configs = __commonJS({
96608
96608
  } catch {
96609
96609
  throw new Error("Could not parse path " + absolutePath);
96610
96610
  }
96611
- if (pathPrefix && !fs44.existsSync(absolutePath) || hasReachedFilesystemRoot) {
96611
+ if (pathPrefix && !fs45.existsSync(absolutePath) || hasReachedFilesystemRoot) {
96612
96612
  throw new Error("No Superblocks config file found in current directory hierarchy " + pathPrefix);
96613
96613
  }
96614
96614
  const attemptedPath = path_1.default.join(absolutePath, constants_js_1.DEV_ENVIRONMENT_CONFIG_PATH);
96615
96615
  try {
96616
- const devEnvironmentConfig = await fs44.readJSON(attemptedPath);
96616
+ const devEnvironmentConfig = await fs45.readJSON(attemptedPath);
96617
96617
  if (devEnvironmentConfig.configType !== "DEV_ENVIRONMENT") {
96618
96618
  throw new Error("Not the dev environment Superblocks config file");
96619
96619
  }
@@ -96637,12 +96637,12 @@ var require_resource_configs = __commonJS({
96637
96637
  throw new Error("Could not parse path " + absolutePath);
96638
96638
  }
96639
96639
  let superblocksConfig;
96640
- if (pathPrefix && !fs44.existsSync(absolutePath) || hasReachedFilesystemRoot) {
96640
+ if (pathPrefix && !fs45.existsSync(absolutePath) || hasReachedFilesystemRoot) {
96641
96641
  throw new Error("No Superblocks config file found in current directory hierarchy " + pathPrefix);
96642
96642
  }
96643
96643
  const attemptedPath = path_1.default.join(absolutePath, constants_js_1.RESOURCE_CONFIG_PATH);
96644
96644
  try {
96645
- superblocksConfig = await fs44.readJSON(attemptedPath);
96645
+ superblocksConfig = await fs45.readJSON(attemptedPath);
96646
96646
  if (superblocksConfig.configType !== "ROOT") {
96647
96647
  throw new Error("Not the root Superblocks config file");
96648
96648
  }
@@ -96658,7 +96658,7 @@ var require_resource_configs = __commonJS({
96658
96658
  let superblocksConfig;
96659
96659
  try {
96660
96660
  const configPath = applicationPath ? path_1.default.join(applicationPath, constants_js_1.RESOURCE_CONFIG_PATH) : constants_js_1.RESOURCE_CONFIG_PATH;
96661
- superblocksConfig = await fs44.readJSON(configPath);
96661
+ superblocksConfig = await fs45.readJSON(configPath);
96662
96662
  } catch {
96663
96663
  throw new Error("This command must be run within a Superblocks app directory.");
96664
96664
  }
@@ -96671,7 +96671,7 @@ var require_resource_configs = __commonJS({
96671
96671
  let superblocksConfig;
96672
96672
  try {
96673
96673
  const configPath = applicationPath ? path_1.default.join(applicationPath, constants_js_1.RESOURCE_CONFIG_PATH) : constants_js_1.RESOURCE_CONFIG_PATH;
96674
- superblocksConfig = await fs44.readJSON(configPath);
96674
+ superblocksConfig = await fs45.readJSON(configPath);
96675
96675
  } catch {
96676
96676
  }
96677
96677
  if (superblocksConfig?.configType !== "APPLICATION") {
@@ -96683,7 +96683,7 @@ var require_resource_configs = __commonJS({
96683
96683
  let superblocksConfig;
96684
96684
  try {
96685
96685
  const configPath = applicationPath ? path_1.default.join(applicationPath, constants_js_1.RESOURCE_CONFIG_PATH) : constants_js_1.RESOURCE_CONFIG_PATH;
96686
- superblocksConfig = await fs44.readJSON(configPath);
96686
+ superblocksConfig = await fs45.readJSON(configPath);
96687
96687
  } catch {
96688
96688
  throw new Error("This command must be run within a Superblocks app directory.");
96689
96689
  }
@@ -96696,7 +96696,7 @@ var require_resource_configs = __commonJS({
96696
96696
  let superblocksConfig;
96697
96697
  try {
96698
96698
  const configPath = backendPath ? path_1.default.join(backendPath, constants_js_1.RESOURCE_CONFIG_PATH) : constants_js_1.RESOURCE_CONFIG_PATH;
96699
- superblocksConfig = await fs44.readJSON(configPath);
96699
+ superblocksConfig = await fs45.readJSON(configPath);
96700
96700
  } catch {
96701
96701
  }
96702
96702
  if (superblocksConfig?.configType !== "BACKEND") {
@@ -96707,7 +96707,7 @@ var require_resource_configs = __commonJS({
96707
96707
  async function getSuperblocksBackendConfigJson() {
96708
96708
  let superblocksConfig;
96709
96709
  try {
96710
- superblocksConfig = await fs44.readJSON(constants_js_1.RESOURCE_CONFIG_PATH);
96710
+ superblocksConfig = await fs45.readJSON(constants_js_1.RESOURCE_CONFIG_PATH);
96711
96711
  } catch {
96712
96712
  throw new Error("This command must be run within a Superblocks backend resource (workflow/job) directory.");
96713
96713
  }
@@ -96824,15 +96824,15 @@ var require_api_files = __commonJS({
96824
96824
  exports2.readAppApiYamlFile = readAppApiYamlFile4;
96825
96825
  exports2.resolveLanguageSpecificStepContentFromBlocks = resolveLanguageSpecificStepContentFromBlocks2;
96826
96826
  async function writeApiFiles3(...args) {
96827
- const esmFunction = await import("./api-EL2ZL4D2.js");
96827
+ const esmFunction = await import("./api-HMKSSHZX.js");
96828
96828
  return esmFunction.writeApiFiles(...args);
96829
96829
  }
96830
96830
  async function readAppApiYamlFile4(...args) {
96831
- const esmFunction = await import("./api-EL2ZL4D2.js");
96831
+ const esmFunction = await import("./api-HMKSSHZX.js");
96832
96832
  return esmFunction.readAppApiYamlFile(...args);
96833
96833
  }
96834
96834
  async function resolveLanguageSpecificStepContentFromBlocks2(...args) {
96835
- const esmFunction = await import("./api-EL2ZL4D2.js");
96835
+ const esmFunction = await import("./api-HMKSSHZX.js");
96836
96836
  return esmFunction.resolveLanguageSpecificStepContentFromBlocks(...args);
96837
96837
  }
96838
96838
  }
@@ -100713,14 +100713,14 @@ var require_is_core_module = __commonJS({
100713
100713
  var require_async = __commonJS({
100714
100714
  "../../../../node_modules/.pnpm/resolve@1.22.11/node_modules/resolve/lib/async.js"(exports2, module2) {
100715
100715
  init_cjs_shims();
100716
- var fs44 = __require("fs");
100716
+ var fs45 = __require("fs");
100717
100717
  var getHomedir = require_homedir();
100718
100718
  var path78 = __require("path");
100719
100719
  var caller = require_caller();
100720
100720
  var nodeModulesPaths = require_node_modules_paths();
100721
100721
  var normalizeOptions2 = require_normalize_options();
100722
100722
  var isCore = require_is_core_module();
100723
- var realpathFS = process.platform !== "win32" && fs44.realpath && typeof fs44.realpath.native === "function" ? fs44.realpath.native : fs44.realpath;
100723
+ var realpathFS = process.platform !== "win32" && fs45.realpath && typeof fs45.realpath.native === "function" ? fs45.realpath.native : fs45.realpath;
100724
100724
  var relativePathRegex = /^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/;
100725
100725
  var windowsDriveRegex = /^\w:[/\\]*$/;
100726
100726
  var nodeModulesRegex = /[/\\]node_modules[/\\]*$/;
@@ -100732,7 +100732,7 @@ var require_async = __commonJS({
100732
100732
  ];
100733
100733
  };
100734
100734
  var defaultIsFile = function isFile4(file2, cb) {
100735
- fs44.stat(file2, function(err, stat11) {
100735
+ fs45.stat(file2, function(err, stat11) {
100736
100736
  if (!err) {
100737
100737
  return cb(null, stat11.isFile() || stat11.isFIFO());
100738
100738
  }
@@ -100741,7 +100741,7 @@ var require_async = __commonJS({
100741
100741
  });
100742
100742
  };
100743
100743
  var defaultIsDir = function isDirectory2(dir, cb) {
100744
- fs44.stat(dir, function(err, stat11) {
100744
+ fs45.stat(dir, function(err, stat11) {
100745
100745
  if (!err) {
100746
100746
  return cb(null, stat11.isDirectory());
100747
100747
  }
@@ -100762,8 +100762,8 @@ var require_async = __commonJS({
100762
100762
  cb(null, x);
100763
100763
  }
100764
100764
  };
100765
- var defaultReadPackage = function defaultReadPackage2(readFile18, pkgfile, cb) {
100766
- readFile18(pkgfile, function(readFileErr, body) {
100765
+ var defaultReadPackage = function defaultReadPackage2(readFile19, pkgfile, cb) {
100766
+ readFile19(pkgfile, function(readFileErr, body) {
100767
100767
  if (readFileErr) cb(readFileErr);
100768
100768
  else {
100769
100769
  try {
@@ -100798,7 +100798,7 @@ var require_async = __commonJS({
100798
100798
  opts = normalizeOptions2(x, opts);
100799
100799
  var isFile4 = opts.isFile || defaultIsFile;
100800
100800
  var isDirectory2 = opts.isDirectory || defaultIsDir;
100801
- var readFile18 = opts.readFile || fs44.readFile;
100801
+ var readFile19 = opts.readFile || fs45.readFile;
100802
100802
  var realpath3 = opts.realpath || defaultRealpath;
100803
100803
  var readPackage = opts.readPackage || defaultReadPackage;
100804
100804
  if (opts.readFile && opts.readPackage) {
@@ -100918,7 +100918,7 @@ var require_async = __commonJS({
100918
100918
  var pkgfile = path78.join(pkgdir, "package.json");
100919
100919
  isFile4(pkgfile, function(err2, ex) {
100920
100920
  if (!ex) return loadpkg(path78.dirname(dir), cb2);
100921
- readPackage(readFile18, pkgfile, function(err3, pkgParam) {
100921
+ readPackage(readFile19, pkgfile, function(err3, pkgParam) {
100922
100922
  if (err3) cb2(err3);
100923
100923
  var pkg = pkgParam;
100924
100924
  if (pkg && opts.packageFilter) {
@@ -100942,7 +100942,7 @@ var require_async = __commonJS({
100942
100942
  isFile4(pkgfile, function(err2, ex) {
100943
100943
  if (err2) return cb2(err2);
100944
100944
  if (!ex) return loadAsFile(path78.join(x2, "index"), fpkg, cb2);
100945
- readPackage(readFile18, pkgfile, function(err3, pkgParam) {
100945
+ readPackage(readFile19, pkgfile, function(err3, pkgParam) {
100946
100946
  if (err3) return cb2(err3);
100947
100947
  var pkg = pkgParam;
100948
100948
  if (pkg && opts.packageFilter) {
@@ -101210,13 +101210,13 @@ var require_sync = __commonJS({
101210
101210
  "../../../../node_modules/.pnpm/resolve@1.22.11/node_modules/resolve/lib/sync.js"(exports2, module2) {
101211
101211
  init_cjs_shims();
101212
101212
  var isCore = require_is_core_module();
101213
- var fs44 = __require("fs");
101213
+ var fs45 = __require("fs");
101214
101214
  var path78 = __require("path");
101215
101215
  var getHomedir = require_homedir();
101216
101216
  var caller = require_caller();
101217
101217
  var nodeModulesPaths = require_node_modules_paths();
101218
101218
  var normalizeOptions2 = require_normalize_options();
101219
- var realpathFS = process.platform !== "win32" && fs44.realpathSync && typeof fs44.realpathSync.native === "function" ? fs44.realpathSync.native : fs44.realpathSync;
101219
+ var realpathFS = process.platform !== "win32" && fs45.realpathSync && typeof fs45.realpathSync.native === "function" ? fs45.realpathSync.native : fs45.realpathSync;
101220
101220
  var relativePathRegex = /^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/;
101221
101221
  var windowsDriveRegex = /^\w:[/\\]*$/;
101222
101222
  var nodeModulesRegex = /[/\\]node_modules[/\\]*$/;
@@ -101229,7 +101229,7 @@ var require_sync = __commonJS({
101229
101229
  };
101230
101230
  var defaultIsFile = function isFile4(file2) {
101231
101231
  try {
101232
- var stat11 = fs44.statSync(file2, { throwIfNoEntry: false });
101232
+ var stat11 = fs45.statSync(file2, { throwIfNoEntry: false });
101233
101233
  } catch (e) {
101234
101234
  if (e && (e.code === "ENOENT" || e.code === "ENOTDIR")) return false;
101235
101235
  throw e;
@@ -101238,7 +101238,7 @@ var require_sync = __commonJS({
101238
101238
  };
101239
101239
  var defaultIsDir = function isDirectory2(dir) {
101240
101240
  try {
101241
- var stat11 = fs44.statSync(dir, { throwIfNoEntry: false });
101241
+ var stat11 = fs45.statSync(dir, { throwIfNoEntry: false });
101242
101242
  } catch (e) {
101243
101243
  if (e && (e.code === "ENOENT" || e.code === "ENOTDIR")) return false;
101244
101244
  throw e;
@@ -101282,7 +101282,7 @@ var require_sync = __commonJS({
101282
101282
  }
101283
101283
  var opts = normalizeOptions2(x, options8);
101284
101284
  var isFile4 = opts.isFile || defaultIsFile;
101285
- var readFileSync4 = opts.readFileSync || fs44.readFileSync;
101285
+ var readFileSync4 = opts.readFileSync || fs45.readFileSync;
101286
101286
  var isDirectory2 = opts.isDirectory || defaultIsDir;
101287
101287
  var realpathSync3 = opts.realpathSync || defaultRealpathSync;
101288
101288
  var readPackageSync = opts.readPackageSync || defaultReadPackageSync;
@@ -109624,19 +109624,19 @@ var require_getMachineId = __commonJS({
109624
109624
  if (!getMachineIdImpl) {
109625
109625
  switch (process5.platform) {
109626
109626
  case "darwin":
109627
- getMachineIdImpl = (await import("./getMachineId-darwin-TAHPH2RC.js")).getMachineId;
109627
+ getMachineIdImpl = (await import("./getMachineId-darwin-BA3AY4DD.js")).getMachineId;
109628
109628
  break;
109629
109629
  case "linux":
109630
- getMachineIdImpl = (await import("./getMachineId-linux-OJBW3JI5.js")).getMachineId;
109630
+ getMachineIdImpl = (await import("./getMachineId-linux-2VQG2IWU.js")).getMachineId;
109631
109631
  break;
109632
109632
  case "freebsd":
109633
- getMachineIdImpl = (await import("./getMachineId-bsd-LAZBOK2G.js")).getMachineId;
109633
+ getMachineIdImpl = (await import("./getMachineId-bsd-LYC2T4GF.js")).getMachineId;
109634
109634
  break;
109635
109635
  case "win32":
109636
- getMachineIdImpl = (await import("./getMachineId-win-NWMSZJUC.js")).getMachineId;
109636
+ getMachineIdImpl = (await import("./getMachineId-win-SK7C3DWT.js")).getMachineId;
109637
109637
  break;
109638
109638
  default:
109639
- getMachineIdImpl = (await import("./getMachineId-unsupported-MA45BINM.js")).getMachineId;
109639
+ getMachineIdImpl = (await import("./getMachineId-unsupported-TPAGIJOS.js")).getMachineId;
109640
109640
  break;
109641
109641
  }
109642
109642
  }
@@ -128047,14 +128047,14 @@ var require_tls_helpers = __commonJS({
128047
128047
  Object.defineProperty(exports2, "__esModule", { value: true });
128048
128048
  exports2.CIPHER_SUITES = void 0;
128049
128049
  exports2.getDefaultRootsData = getDefaultRootsData;
128050
- var fs44 = __require("fs");
128050
+ var fs45 = __require("fs");
128051
128051
  exports2.CIPHER_SUITES = process.env.GRPC_SSL_CIPHER_SUITES;
128052
128052
  var DEFAULT_ROOTS_FILE_PATH = process.env.GRPC_DEFAULT_SSL_ROOTS_FILE_PATH;
128053
128053
  var defaultRootsData = null;
128054
128054
  function getDefaultRootsData() {
128055
128055
  if (DEFAULT_ROOTS_FILE_PATH) {
128056
128056
  if (defaultRootsData === null) {
128057
- defaultRootsData = fs44.readFileSync(DEFAULT_ROOTS_FILE_PATH);
128057
+ defaultRootsData = fs45.readFileSync(DEFAULT_ROOTS_FILE_PATH);
128058
128058
  }
128059
128059
  return defaultRootsData;
128060
128060
  }
@@ -133581,7 +133581,7 @@ var require_fetch = __commonJS({
133581
133581
  module2.exports = fetch3;
133582
133582
  var asPromise = require_aspromise();
133583
133583
  var inquire2 = require_inquire();
133584
- var fs44 = inquire2("fs");
133584
+ var fs45 = inquire2("fs");
133585
133585
  function fetch3(filename, options8, callback) {
133586
133586
  if (typeof options8 === "function") {
133587
133587
  callback = options8;
@@ -133590,8 +133590,8 @@ var require_fetch = __commonJS({
133590
133590
  options8 = {};
133591
133591
  if (!callback)
133592
133592
  return asPromise(fetch3, this, filename, options8);
133593
- if (!options8.xhr && fs44 && fs44.readFile)
133594
- return fs44.readFile(filename, function fetchReadFileCallback(err, contents2) {
133593
+ if (!options8.xhr && fs45 && fs45.readFile)
133594
+ return fs45.readFile(filename, function fetchReadFileCallback(err, contents2) {
133595
133595
  return err && typeof XMLHttpRequest !== "undefined" ? fetch3.xhr(filename, options8, callback) : err ? callback(err) : callback(null, options8.binary ? contents2 : contents2.toString("utf8"));
133596
133596
  });
133597
133597
  return fetch3.xhr(filename, options8, callback);
@@ -139907,7 +139907,7 @@ var require_util7 = __commonJS({
139907
139907
  init_cjs_shims();
139908
139908
  Object.defineProperty(exports2, "__esModule", { value: true });
139909
139909
  exports2.addCommonProtos = exports2.loadProtosWithOptionsSync = exports2.loadProtosWithOptions = void 0;
139910
- var fs44 = __require("fs");
139910
+ var fs45 = __require("fs");
139911
139911
  var path78 = __require("path");
139912
139912
  var Protobuf = require_protobufjs();
139913
139913
  function addIncludePathResolver(root3, includePaths) {
@@ -139919,7 +139919,7 @@ var require_util7 = __commonJS({
139919
139919
  for (const directory of includePaths) {
139920
139920
  const fullPath = path78.join(directory, target);
139921
139921
  try {
139922
- fs44.accessSync(fullPath, fs44.constants.R_OK);
139922
+ fs45.accessSync(fullPath, fs45.constants.R_OK);
139923
139923
  return fullPath;
139924
139924
  } catch (err) {
139925
139925
  continue;
@@ -149034,7 +149034,7 @@ var require_certificate_provider = __commonJS({
149034
149034
  init_cjs_shims();
149035
149035
  Object.defineProperty(exports2, "__esModule", { value: true });
149036
149036
  exports2.FileWatcherCertificateProvider = void 0;
149037
- var fs44 = __require("fs");
149037
+ var fs45 = __require("fs");
149038
149038
  var logging = require_logging2();
149039
149039
  var constants_1 = require_constants11();
149040
149040
  var util_1 = __require("util");
@@ -149042,7 +149042,7 @@ var require_certificate_provider = __commonJS({
149042
149042
  function trace2(text3) {
149043
149043
  logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, text3);
149044
149044
  }
149045
- var readFilePromise = (0, util_1.promisify)(fs44.readFile);
149045
+ var readFilePromise = (0, util_1.promisify)(fs45.readFile);
149046
149046
  var FileWatcherCertificateProvider = class {
149047
149047
  constructor(config4) {
149048
149048
  this.config = config4;
@@ -150487,7 +150487,7 @@ var require_otlp_grpc_env_configuration = __commonJS({
150487
150487
  var core_1 = require_src10();
150488
150488
  var grpc_exporter_transport_1 = require_grpc_exporter_transport();
150489
150489
  var node_http_1 = (init_index_node_http(), __toCommonJS(index_node_http_exports));
150490
- var fs44 = __require("fs");
150490
+ var fs45 = __require("fs");
150491
150491
  var path78 = __require("path");
150492
150492
  var api_1 = (init_esm(), __toCommonJS(esm_exports));
150493
150493
  function fallbackIfNullishOrBlank(signalSpecific, nonSignalSpecific) {
@@ -150537,7 +150537,7 @@ var require_otlp_grpc_env_configuration = __commonJS({
150537
150537
  const filePath = fallbackIfNullishOrBlank(signalSpecificPath, nonSignalSpecificPath);
150538
150538
  if (filePath != null) {
150539
150539
  try {
150540
- return fs44.readFileSync(path78.resolve(process.cwd(), filePath));
150540
+ return fs45.readFileSync(path78.resolve(process.cwd(), filePath));
150541
150541
  } catch {
150542
150542
  api_1.diag.warn(warningMessage);
150543
150543
  return void 0;
@@ -153869,7 +153869,7 @@ var require_safe_stable_stringify = __commonJS({
153869
153869
  return circularValue;
153870
153870
  }
153871
153871
  let res = "";
153872
- let join29 = ",";
153872
+ let join30 = ",";
153873
153873
  const originalIndentation = indentation2;
153874
153874
  if (Array.isArray(value2)) {
153875
153875
  if (value2.length === 0) {
@@ -153883,7 +153883,7 @@ var require_safe_stable_stringify = __commonJS({
153883
153883
  indentation2 += spacer;
153884
153884
  res += `
153885
153885
  ${indentation2}`;
153886
- join29 = `,
153886
+ join30 = `,
153887
153887
  ${indentation2}`;
153888
153888
  }
153889
153889
  const maximumValuesToStringify = Math.min(value2.length, maximumBreadth);
@@ -153891,13 +153891,13 @@ ${indentation2}`;
153891
153891
  for (; i < maximumValuesToStringify - 1; i++) {
153892
153892
  const tmp2 = stringifyFnReplacer(String(i), value2, stack2, replacer, spacer, indentation2);
153893
153893
  res += tmp2 !== void 0 ? tmp2 : "null";
153894
- res += join29;
153894
+ res += join30;
153895
153895
  }
153896
153896
  const tmp = stringifyFnReplacer(String(i), value2, stack2, replacer, spacer, indentation2);
153897
153897
  res += tmp !== void 0 ? tmp : "null";
153898
153898
  if (value2.length - 1 > maximumBreadth) {
153899
153899
  const removedKeys = value2.length - maximumBreadth - 1;
153900
- res += `${join29}"... ${getItemCount(removedKeys)} not stringified"`;
153900
+ res += `${join30}"... ${getItemCount(removedKeys)} not stringified"`;
153901
153901
  }
153902
153902
  if (spacer !== "") {
153903
153903
  res += `
@@ -153918,7 +153918,7 @@ ${originalIndentation}`;
153918
153918
  let separator = "";
153919
153919
  if (spacer !== "") {
153920
153920
  indentation2 += spacer;
153921
- join29 = `,
153921
+ join30 = `,
153922
153922
  ${indentation2}`;
153923
153923
  whitespace2 = " ";
153924
153924
  }
@@ -153932,13 +153932,13 @@ ${indentation2}`;
153932
153932
  const tmp = stringifyFnReplacer(key3, value2, stack2, replacer, spacer, indentation2);
153933
153933
  if (tmp !== void 0) {
153934
153934
  res += `${separator}${strEscape(key3)}:${whitespace2}${tmp}`;
153935
- separator = join29;
153935
+ separator = join30;
153936
153936
  }
153937
153937
  }
153938
153938
  if (keyLength > maximumBreadth) {
153939
153939
  const removedKeys = keyLength - maximumBreadth;
153940
153940
  res += `${separator}"...":${whitespace2}"${getItemCount(removedKeys)} not stringified"`;
153941
- separator = join29;
153941
+ separator = join30;
153942
153942
  }
153943
153943
  if (spacer !== "" && separator.length > 1) {
153944
153944
  res = `
@@ -153979,7 +153979,7 @@ ${originalIndentation}`;
153979
153979
  }
153980
153980
  const originalIndentation = indentation2;
153981
153981
  let res = "";
153982
- let join29 = ",";
153982
+ let join30 = ",";
153983
153983
  if (Array.isArray(value2)) {
153984
153984
  if (value2.length === 0) {
153985
153985
  return "[]";
@@ -153992,7 +153992,7 @@ ${originalIndentation}`;
153992
153992
  indentation2 += spacer;
153993
153993
  res += `
153994
153994
  ${indentation2}`;
153995
- join29 = `,
153995
+ join30 = `,
153996
153996
  ${indentation2}`;
153997
153997
  }
153998
153998
  const maximumValuesToStringify = Math.min(value2.length, maximumBreadth);
@@ -154000,13 +154000,13 @@ ${indentation2}`;
154000
154000
  for (; i < maximumValuesToStringify - 1; i++) {
154001
154001
  const tmp2 = stringifyArrayReplacer(String(i), value2[i], stack2, replacer, spacer, indentation2);
154002
154002
  res += tmp2 !== void 0 ? tmp2 : "null";
154003
- res += join29;
154003
+ res += join30;
154004
154004
  }
154005
154005
  const tmp = stringifyArrayReplacer(String(i), value2[i], stack2, replacer, spacer, indentation2);
154006
154006
  res += tmp !== void 0 ? tmp : "null";
154007
154007
  if (value2.length - 1 > maximumBreadth) {
154008
154008
  const removedKeys = value2.length - maximumBreadth - 1;
154009
- res += `${join29}"... ${getItemCount(removedKeys)} not stringified"`;
154009
+ res += `${join30}"... ${getItemCount(removedKeys)} not stringified"`;
154010
154010
  }
154011
154011
  if (spacer !== "") {
154012
154012
  res += `
@@ -154019,7 +154019,7 @@ ${originalIndentation}`;
154019
154019
  let whitespace2 = "";
154020
154020
  if (spacer !== "") {
154021
154021
  indentation2 += spacer;
154022
- join29 = `,
154022
+ join30 = `,
154023
154023
  ${indentation2}`;
154024
154024
  whitespace2 = " ";
154025
154025
  }
@@ -154028,7 +154028,7 @@ ${indentation2}`;
154028
154028
  const tmp = stringifyArrayReplacer(key3, value2[key3], stack2, replacer, spacer, indentation2);
154029
154029
  if (tmp !== void 0) {
154030
154030
  res += `${separator}${strEscape(key3)}:${whitespace2}${tmp}`;
154031
- separator = join29;
154031
+ separator = join30;
154032
154032
  }
154033
154033
  }
154034
154034
  if (spacer !== "" && separator.length > 1) {
@@ -154086,20 +154086,20 @@ ${originalIndentation}`;
154086
154086
  indentation2 += spacer;
154087
154087
  let res2 = `
154088
154088
  ${indentation2}`;
154089
- const join30 = `,
154089
+ const join31 = `,
154090
154090
  ${indentation2}`;
154091
154091
  const maximumValuesToStringify = Math.min(value2.length, maximumBreadth);
154092
154092
  let i = 0;
154093
154093
  for (; i < maximumValuesToStringify - 1; i++) {
154094
154094
  const tmp2 = stringifyIndent(String(i), value2[i], stack2, spacer, indentation2);
154095
154095
  res2 += tmp2 !== void 0 ? tmp2 : "null";
154096
- res2 += join30;
154096
+ res2 += join31;
154097
154097
  }
154098
154098
  const tmp = stringifyIndent(String(i), value2[i], stack2, spacer, indentation2);
154099
154099
  res2 += tmp !== void 0 ? tmp : "null";
154100
154100
  if (value2.length - 1 > maximumBreadth) {
154101
154101
  const removedKeys = value2.length - maximumBreadth - 1;
154102
- res2 += `${join30}"... ${getItemCount(removedKeys)} not stringified"`;
154102
+ res2 += `${join31}"... ${getItemCount(removedKeys)} not stringified"`;
154103
154103
  }
154104
154104
  res2 += `
154105
154105
  ${originalIndentation}`;
@@ -154115,16 +154115,16 @@ ${originalIndentation}`;
154115
154115
  return '"[Object]"';
154116
154116
  }
154117
154117
  indentation2 += spacer;
154118
- const join29 = `,
154118
+ const join30 = `,
154119
154119
  ${indentation2}`;
154120
154120
  let res = "";
154121
154121
  let separator = "";
154122
154122
  let maximumPropertiesToStringify = Math.min(keyLength, maximumBreadth);
154123
154123
  if (isTypedArrayWithEntries(value2)) {
154124
- res += stringifyTypedArray(value2, join29, maximumBreadth);
154124
+ res += stringifyTypedArray(value2, join30, maximumBreadth);
154125
154125
  keys = keys.slice(value2.length);
154126
154126
  maximumPropertiesToStringify -= value2.length;
154127
- separator = join29;
154127
+ separator = join30;
154128
154128
  }
154129
154129
  if (deterministic) {
154130
154130
  keys = sort(keys, comparator);
@@ -154135,13 +154135,13 @@ ${indentation2}`;
154135
154135
  const tmp = stringifyIndent(key3, value2[key3], stack2, spacer, indentation2);
154136
154136
  if (tmp !== void 0) {
154137
154137
  res += `${separator}${strEscape(key3)}: ${tmp}`;
154138
- separator = join29;
154138
+ separator = join30;
154139
154139
  }
154140
154140
  }
154141
154141
  if (keyLength > maximumBreadth) {
154142
154142
  const removedKeys = keyLength - maximumBreadth;
154143
154143
  res += `${separator}"...": "${getItemCount(removedKeys)} not stringified"`;
154144
- separator = join29;
154144
+ separator = join30;
154145
154145
  }
154146
154146
  if (separator !== "") {
154147
154147
  res = `
@@ -155615,7 +155615,7 @@ var require_buffer_list = __commonJS({
155615
155615
  }
155616
155616
  }, {
155617
155617
  key: "join",
155618
- value: function join29(s) {
155618
+ value: function join30(s) {
155619
155619
  if (this.length === 0) return "";
155620
155620
  var p = this.head;
155621
155621
  var ret = "" + p.data;
@@ -160732,7 +160732,7 @@ var require_tail_file = __commonJS({
160732
160732
  "../../../../node_modules/.pnpm/winston@3.17.0/node_modules/winston/lib/winston/tail-file.js"(exports2, module2) {
160733
160733
  "use strict";
160734
160734
  init_cjs_shims();
160735
- var fs44 = __require("fs");
160735
+ var fs45 = __require("fs");
160736
160736
  var { StringDecoder: StringDecoder2 } = __require("string_decoder");
160737
160737
  var { Stream: Stream2 } = require_readable();
160738
160738
  function noop7() {
@@ -160753,7 +160753,7 @@ var require_tail_file = __commonJS({
160753
160753
  stream5.emit("end");
160754
160754
  stream5.emit("close");
160755
160755
  };
160756
- fs44.open(options8.file, "a+", "0644", (err, fd) => {
160756
+ fs45.open(options8.file, "a+", "0644", (err, fd) => {
160757
160757
  if (err) {
160758
160758
  if (!iter) {
160759
160759
  stream5.emit("error", err);
@@ -160765,10 +160765,10 @@ var require_tail_file = __commonJS({
160765
160765
  }
160766
160766
  (function read3() {
160767
160767
  if (stream5.destroyed) {
160768
- fs44.close(fd, noop7);
160768
+ fs45.close(fd, noop7);
160769
160769
  return;
160770
160770
  }
160771
- return fs44.read(fd, buffer2, 0, buffer2.length, pos3, (error40, bytes) => {
160771
+ return fs45.read(fd, buffer2, 0, buffer2.length, pos3, (error40, bytes) => {
160772
160772
  if (error40) {
160773
160773
  if (!iter) {
160774
160774
  stream5.emit("error", error40);
@@ -160828,7 +160828,7 @@ var require_file2 = __commonJS({
160828
160828
  "../../../../node_modules/.pnpm/winston@3.17.0/node_modules/winston/lib/winston/transports/file.js"(exports2, module2) {
160829
160829
  "use strict";
160830
160830
  init_cjs_shims();
160831
- var fs44 = __require("fs");
160831
+ var fs45 = __require("fs");
160832
160832
  var path78 = __require("path");
160833
160833
  var asyncSeries = require_series();
160834
160834
  var zlib3 = __require("zlib");
@@ -161011,7 +161011,7 @@ var require_file2 = __commonJS({
161011
161011
  let buff = "";
161012
161012
  let results = [];
161013
161013
  let row = 0;
161014
- const stream5 = fs44.createReadStream(file2, {
161014
+ const stream5 = fs45.createReadStream(file2, {
161015
161015
  encoding: "utf8"
161016
161016
  });
161017
161017
  stream5.on("error", (err) => {
@@ -161163,7 +161163,7 @@ var require_file2 = __commonJS({
161163
161163
  stat(callback) {
161164
161164
  const target = this._getFile();
161165
161165
  const fullpath = path78.join(this.dirname, target);
161166
- fs44.stat(fullpath, (err, stat11) => {
161166
+ fs45.stat(fullpath, (err, stat11) => {
161167
161167
  if (err && err.code === "ENOENT") {
161168
161168
  debug3("ENOENT\xA0ok", fullpath);
161169
161169
  this.filename = target;
@@ -161268,7 +161268,7 @@ var require_file2 = __commonJS({
161268
161268
  _createStream(source2) {
161269
161269
  const fullpath = path78.join(this.dirname, this.filename);
161270
161270
  debug3("create stream start", fullpath, this.options);
161271
- const dest3 = fs44.createWriteStream(fullpath, this.options).on("error", (err) => debug3(err)).on("close", () => debug3("close", dest3.path, dest3.bytesWritten)).on("open", () => {
161271
+ const dest3 = fs45.createWriteStream(fullpath, this.options).on("error", (err) => debug3(err)).on("close", () => debug3("close", dest3.path, dest3.bytesWritten)).on("open", () => {
161272
161272
  debug3("file open ok", fullpath);
161273
161273
  this.emit("open", fullpath);
161274
161274
  source2.pipe(dest3);
@@ -161347,7 +161347,7 @@ var require_file2 = __commonJS({
161347
161347
  const isZipped = this.zippedArchive ? ".gz" : "";
161348
161348
  const filePath = `${basename10}${isOldest}${ext2}${isZipped}`;
161349
161349
  const target = path78.join(this.dirname, filePath);
161350
- fs44.unlink(target, callback);
161350
+ fs45.unlink(target, callback);
161351
161351
  }
161352
161352
  /**
161353
161353
  * Roll files forward based on integer, up to maxFiles. e.g. if base if
@@ -161370,17 +161370,17 @@ var require_file2 = __commonJS({
161370
161370
  tasks.push(function(i, cb) {
161371
161371
  let fileName = `${basename10}${i - 1}${ext2}${isZipped}`;
161372
161372
  const tmppath = path78.join(this.dirname, fileName);
161373
- fs44.exists(tmppath, (exists2) => {
161373
+ fs45.exists(tmppath, (exists2) => {
161374
161374
  if (!exists2) {
161375
161375
  return cb(null);
161376
161376
  }
161377
161377
  fileName = `${basename10}${i}${ext2}${isZipped}`;
161378
- fs44.rename(tmppath, path78.join(this.dirname, fileName), cb);
161378
+ fs45.rename(tmppath, path78.join(this.dirname, fileName), cb);
161379
161379
  });
161380
161380
  }.bind(this, x));
161381
161381
  }
161382
161382
  asyncSeries(tasks, () => {
161383
- fs44.rename(
161383
+ fs45.rename(
161384
161384
  path78.join(this.dirname, `${basename10}${ext2}${isZipped}`),
161385
161385
  path78.join(this.dirname, `${basename10}1${ext2}${isZipped}`),
161386
161386
  callback
@@ -161396,22 +161396,22 @@ var require_file2 = __commonJS({
161396
161396
  * @private
161397
161397
  */
161398
161398
  _compressFile(src3, dest3, callback) {
161399
- fs44.access(src3, fs44.F_OK, (err) => {
161399
+ fs45.access(src3, fs45.F_OK, (err) => {
161400
161400
  if (err) {
161401
161401
  return callback();
161402
161402
  }
161403
161403
  var gzip = zlib3.createGzip();
161404
- var inp = fs44.createReadStream(src3);
161405
- var out = fs44.createWriteStream(dest3);
161404
+ var inp = fs45.createReadStream(src3);
161405
+ var out = fs45.createWriteStream(dest3);
161406
161406
  out.on("finish", () => {
161407
- fs44.unlink(src3, callback);
161407
+ fs45.unlink(src3, callback);
161408
161408
  });
161409
161409
  inp.pipe(gzip).pipe(out);
161410
161410
  });
161411
161411
  }
161412
161412
  _createLogDirIfNotExist(dirPath) {
161413
- if (!fs44.existsSync(dirPath)) {
161414
- fs44.mkdirSync(dirPath, { recursive: true });
161413
+ if (!fs45.existsSync(dirPath)) {
161414
+ fs45.mkdirSync(dirPath, { recursive: true });
161415
161415
  }
161416
161416
  }
161417
161417
  };
@@ -185499,8 +185499,8 @@ var require_get_vercel_oidc_token = __commonJS({
185499
185499
  }
185500
185500
  try {
185501
185501
  const [{ getTokenPayload, isExpired }, { refreshToken }] = await Promise.all([
185502
- await import("./token-util-23L5PRSZ.js"),
185503
- await import("./token-ZONZHU4D.js")
185502
+ await import("./token-util-5ZB7MQPD.js"),
185503
+ await import("./token-T6TYL2US.js")
185504
185504
  ]);
185505
185505
  if (!token2 || isExpired(getTokenPayload(token2))) {
185506
185506
  await refreshToken();
@@ -203356,8 +203356,8 @@ var require_utils20 = __commonJS({
203356
203356
  exports2.array = array3;
203357
203357
  var errno = require_errno();
203358
203358
  exports2.errno = errno;
203359
- var fs44 = require_fs();
203360
- exports2.fs = fs44;
203359
+ var fs45 = require_fs();
203360
+ exports2.fs = fs45;
203361
203361
  var path78 = require_path2();
203362
203362
  exports2.path = path78;
203363
203363
  var pattern = require_pattern2();
@@ -203545,12 +203545,12 @@ var require_fs2 = __commonJS({
203545
203545
  init_cjs_shims();
203546
203546
  Object.defineProperty(exports2, "__esModule", { value: true });
203547
203547
  exports2.createFileSystemAdapter = exports2.FILE_SYSTEM_ADAPTER = void 0;
203548
- var fs44 = __require("fs");
203548
+ var fs45 = __require("fs");
203549
203549
  exports2.FILE_SYSTEM_ADAPTER = {
203550
- lstat: fs44.lstat,
203551
- stat: fs44.stat,
203552
- lstatSync: fs44.lstatSync,
203553
- statSync: fs44.statSync
203550
+ lstat: fs45.lstat,
203551
+ stat: fs45.stat,
203552
+ lstatSync: fs45.lstatSync,
203553
+ statSync: fs45.statSync
203554
203554
  };
203555
203555
  function createFileSystemAdapter(fsMethods) {
203556
203556
  if (fsMethods === void 0) {
@@ -203568,12 +203568,12 @@ var require_settings = __commonJS({
203568
203568
  "use strict";
203569
203569
  init_cjs_shims();
203570
203570
  Object.defineProperty(exports2, "__esModule", { value: true });
203571
- var fs44 = require_fs2();
203571
+ var fs45 = require_fs2();
203572
203572
  var Settings = class {
203573
203573
  constructor(_options = {}) {
203574
203574
  this._options = _options;
203575
203575
  this.followSymbolicLink = this._getValue(this._options.followSymbolicLink, true);
203576
- this.fs = fs44.createFileSystemAdapter(this._options.fs);
203576
+ this.fs = fs45.createFileSystemAdapter(this._options.fs);
203577
203577
  this.markSymbolicLink = this._getValue(this._options.markSymbolicLink, false);
203578
203578
  this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);
203579
203579
  }
@@ -203734,8 +203734,8 @@ var require_utils21 = __commonJS({
203734
203734
  init_cjs_shims();
203735
203735
  Object.defineProperty(exports2, "__esModule", { value: true });
203736
203736
  exports2.fs = void 0;
203737
- var fs44 = require_fs3();
203738
- exports2.fs = fs44;
203737
+ var fs45 = require_fs3();
203738
+ exports2.fs = fs45;
203739
203739
  }
203740
203740
  });
203741
203741
 
@@ -203934,14 +203934,14 @@ var require_fs4 = __commonJS({
203934
203934
  init_cjs_shims();
203935
203935
  Object.defineProperty(exports2, "__esModule", { value: true });
203936
203936
  exports2.createFileSystemAdapter = exports2.FILE_SYSTEM_ADAPTER = void 0;
203937
- var fs44 = __require("fs");
203937
+ var fs45 = __require("fs");
203938
203938
  exports2.FILE_SYSTEM_ADAPTER = {
203939
- lstat: fs44.lstat,
203940
- stat: fs44.stat,
203941
- lstatSync: fs44.lstatSync,
203942
- statSync: fs44.statSync,
203943
- readdir: fs44.readdir,
203944
- readdirSync: fs44.readdirSync
203939
+ lstat: fs45.lstat,
203940
+ stat: fs45.stat,
203941
+ lstatSync: fs45.lstatSync,
203942
+ statSync: fs45.statSync,
203943
+ readdir: fs45.readdir,
203944
+ readdirSync: fs45.readdirSync
203945
203945
  };
203946
203946
  function createFileSystemAdapter(fsMethods) {
203947
203947
  if (fsMethods === void 0) {
@@ -203961,12 +203961,12 @@ var require_settings2 = __commonJS({
203961
203961
  Object.defineProperty(exports2, "__esModule", { value: true });
203962
203962
  var path78 = __require("path");
203963
203963
  var fsStat = require_out();
203964
- var fs44 = require_fs4();
203964
+ var fs45 = require_fs4();
203965
203965
  var Settings = class {
203966
203966
  constructor(_options = {}) {
203967
203967
  this._options = _options;
203968
203968
  this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, false);
203969
- this.fs = fs44.createFileSystemAdapter(this._options.fs);
203969
+ this.fs = fs45.createFileSystemAdapter(this._options.fs);
203970
203970
  this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path78.sep);
203971
203971
  this.stats = this._getValue(this._options.stats, false);
203972
203972
  this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);
@@ -205351,16 +205351,16 @@ var require_settings4 = __commonJS({
205351
205351
  init_cjs_shims();
205352
205352
  Object.defineProperty(exports2, "__esModule", { value: true });
205353
205353
  exports2.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
205354
- var fs44 = __require("fs");
205354
+ var fs45 = __require("fs");
205355
205355
  var os8 = __require("os");
205356
205356
  var CPU_COUNT = Math.max(os8.cpus().length, 1);
205357
205357
  exports2.DEFAULT_FILE_SYSTEM_ADAPTER = {
205358
- lstat: fs44.lstat,
205359
- lstatSync: fs44.lstatSync,
205360
- stat: fs44.stat,
205361
- statSync: fs44.statSync,
205362
- readdir: fs44.readdir,
205363
- readdirSync: fs44.readdirSync
205358
+ lstat: fs45.lstat,
205359
+ lstatSync: fs45.lstatSync,
205360
+ stat: fs45.stat,
205361
+ statSync: fs45.statSync,
205362
+ readdir: fs45.readdir,
205363
+ readdirSync: fs45.readdirSync
205364
205364
  };
205365
205365
  var Settings = class {
205366
205366
  constructor(_options = {}) {
@@ -283104,7 +283104,7 @@ var require_pend = __commonJS({
283104
283104
  var require_fd_slicer = __commonJS({
283105
283105
  "../../../../node_modules/.pnpm/yauzl@3.2.0/node_modules/yauzl/fd-slicer.js"(exports2) {
283106
283106
  init_cjs_shims();
283107
- var fs44 = __require("fs");
283107
+ var fs45 = __require("fs");
283108
283108
  var util5 = __require("util");
283109
283109
  var stream5 = __require("stream");
283110
283110
  var Readable6 = stream5.Readable;
@@ -283129,7 +283129,7 @@ var require_fd_slicer = __commonJS({
283129
283129
  FdSlicer.prototype.read = function(buffer2, offset2, length, position, callback) {
283130
283130
  var self2 = this;
283131
283131
  self2.pend.go(function(cb) {
283132
- fs44.read(self2.fd, buffer2, offset2, length, position, function(err, bytesRead, buffer3) {
283132
+ fs45.read(self2.fd, buffer2, offset2, length, position, function(err, bytesRead, buffer3) {
283133
283133
  cb();
283134
283134
  callback(err, bytesRead, buffer3);
283135
283135
  });
@@ -283138,7 +283138,7 @@ var require_fd_slicer = __commonJS({
283138
283138
  FdSlicer.prototype.write = function(buffer2, offset2, length, position, callback) {
283139
283139
  var self2 = this;
283140
283140
  self2.pend.go(function(cb) {
283141
- fs44.write(self2.fd, buffer2, offset2, length, position, function(err, written, buffer3) {
283141
+ fs45.write(self2.fd, buffer2, offset2, length, position, function(err, written, buffer3) {
283142
283142
  cb();
283143
283143
  callback(err, written, buffer3);
283144
283144
  });
@@ -283159,7 +283159,7 @@ var require_fd_slicer = __commonJS({
283159
283159
  if (self2.refCount > 0) return;
283160
283160
  if (self2.refCount < 0) throw new Error("invalid unref");
283161
283161
  if (self2.autoClose) {
283162
- fs44.close(self2.fd, onCloseDone);
283162
+ fs45.close(self2.fd, onCloseDone);
283163
283163
  }
283164
283164
  function onCloseDone(err) {
283165
283165
  if (err) {
@@ -283196,7 +283196,7 @@ var require_fd_slicer = __commonJS({
283196
283196
  self2.context.pend.go(function(cb) {
283197
283197
  if (self2.destroyed) return cb();
283198
283198
  var buffer2 = Buffer.allocUnsafe(toRead);
283199
- fs44.read(self2.context.fd, buffer2, 0, toRead, self2.pos, function(err, bytesRead) {
283199
+ fs45.read(self2.context.fd, buffer2, 0, toRead, self2.pos, function(err, bytesRead) {
283200
283200
  if (err) {
283201
283201
  self2.destroy(err);
283202
283202
  } else if (bytesRead === 0) {
@@ -283243,7 +283243,7 @@ var require_fd_slicer = __commonJS({
283243
283243
  }
283244
283244
  self2.context.pend.go(function(cb) {
283245
283245
  if (self2.destroyed) return cb();
283246
- fs44.write(self2.context.fd, buffer2, 0, buffer2.length, self2.pos, function(err2, bytes) {
283246
+ fs45.write(self2.context.fd, buffer2, 0, buffer2.length, self2.pos, function(err2, bytes) {
283247
283247
  if (err2) {
283248
283248
  self2.destroy();
283249
283249
  cb();
@@ -283683,7 +283683,7 @@ var require_buffer_crc32 = __commonJS({
283683
283683
  var require_yauzl = __commonJS({
283684
283684
  "../../../../node_modules/.pnpm/yauzl@3.2.0/node_modules/yauzl/index.js"(exports2) {
283685
283685
  init_cjs_shims();
283686
- var fs44 = __require("fs");
283686
+ var fs45 = __require("fs");
283687
283687
  var zlib3 = __require("zlib");
283688
283688
  var fd_slicer = require_fd_slicer();
283689
283689
  var crc32 = require_buffer_crc32();
@@ -283716,10 +283716,10 @@ var require_yauzl = __commonJS({
283716
283716
  if (options8.validateEntrySizes == null) options8.validateEntrySizes = true;
283717
283717
  if (options8.strictFileNames == null) options8.strictFileNames = false;
283718
283718
  if (callback == null) callback = defaultCallback;
283719
- fs44.open(path78, "r", function(err, fd) {
283719
+ fs45.open(path78, "r", function(err, fd) {
283720
283720
  if (err) return callback(err);
283721
283721
  fromFd(fd, options8, function(err2, zipfile) {
283722
- if (err2) fs44.close(fd, defaultCallback);
283722
+ if (err2) fs45.close(fd, defaultCallback);
283723
283723
  callback(err2, zipfile);
283724
283724
  });
283725
283725
  });
@@ -283736,7 +283736,7 @@ var require_yauzl = __commonJS({
283736
283736
  if (options8.validateEntrySizes == null) options8.validateEntrySizes = true;
283737
283737
  if (options8.strictFileNames == null) options8.strictFileNames = false;
283738
283738
  if (callback == null) callback = defaultCallback;
283739
- fs44.fstat(fd, function(err, stats) {
283739
+ fs45.fstat(fd, function(err, stats) {
283740
283740
  if (err) return callback(err);
283741
283741
  var reader = fd_slicer.createFromFd(fd, { autoClose: true });
283742
283742
  fromRandomAccessReader(reader, stats.size, options8, callback);
@@ -291508,7 +291508,7 @@ var require_file3 = __commonJS({
291508
291508
  "../../../../node_modules/.pnpm/@apidevtools+json-schema-ref-parser@9.1.2/node_modules/@apidevtools/json-schema-ref-parser/lib/resolvers/file.js"(exports2, module2) {
291509
291509
  "use strict";
291510
291510
  init_cjs_shims();
291511
- var fs44 = __require("fs");
291511
+ var fs45 = __require("fs");
291512
291512
  var { ono } = require_cjs5();
291513
291513
  var url4 = require_url4();
291514
291514
  var { ResolverError } = require_errors9();
@@ -291549,7 +291549,7 @@ var require_file3 = __commonJS({
291549
291549
  reject(new ResolverError(ono.uri(err, `Malformed URI: ${file2.url}`), file2.url));
291550
291550
  }
291551
291551
  try {
291552
- fs44.readFile(path78, (err, data3) => {
291552
+ fs45.readFile(path78, (err, data3) => {
291553
291553
  if (err) {
291554
291554
  reject(new ResolverError(ono(err, `Error opening file "${path78}"`), path78));
291555
291555
  } else {
@@ -292356,7 +292356,7 @@ var require_parse10 = __commonJS({
292356
292356
  extension: url4.getExtension(path78)
292357
292357
  };
292358
292358
  try {
292359
- const resolver = await readFile18(file2, options8, $refs);
292359
+ const resolver = await readFile19(file2, options8, $refs);
292360
292360
  $ref.pathType = resolver.plugin.name;
292361
292361
  file2.data = resolver.result;
292362
292362
  const parser8 = await parseFile4(file2, options8, $refs);
@@ -292369,7 +292369,7 @@ var require_parse10 = __commonJS({
292369
292369
  throw err;
292370
292370
  }
292371
292371
  }
292372
- function readFile18(file2, options8, $refs) {
292372
+ function readFile19(file2, options8, $refs) {
292373
292373
  return new Promise(((resolve11, reject) => {
292374
292374
  let resolvers = plugins.all(options8.resolve);
292375
292375
  resolvers = plugins.filter(resolvers, "canRead", file2);
@@ -357166,7 +357166,7 @@ var require_Str = __commonJS({
357166
357166
  "../../../../node_modules/.pnpm/prelude-ls@1.2.1/node_modules/prelude-ls/lib/Str.js"(exports2, module2) {
357167
357167
  init_cjs_shims();
357168
357168
  var split;
357169
- var join29;
357169
+ var join30;
357170
357170
  var lines;
357171
357171
  var unlines;
357172
357172
  var words;
@@ -357181,7 +357181,7 @@ var require_Str = __commonJS({
357181
357181
  split = curry$(function(sep3, str) {
357182
357182
  return str.split(sep3);
357183
357183
  });
357184
- join29 = curry$(function(sep3, xs) {
357184
+ join30 = curry$(function(sep3, xs) {
357185
357185
  return xs.join(sep3);
357186
357186
  });
357187
357187
  lines = function(str) {
@@ -357240,7 +357240,7 @@ var require_Str = __commonJS({
357240
357240
  };
357241
357241
  module2.exports = {
357242
357242
  split,
357243
- join: join29,
357243
+ join: join30,
357244
357244
  lines,
357245
357245
  unlines,
357246
357246
  words,
@@ -365301,7 +365301,7 @@ var require_compile3 = __commonJS({
365301
365301
  var resolve11 = require_resolve3();
365302
365302
  var util5 = require_util13();
365303
365303
  var errorClasses = require_error_classes();
365304
- var stableStringify = require_fast_json_stable_stringify();
365304
+ var stableStringify2 = require_fast_json_stable_stringify();
365305
365305
  var validateGenerator = require_validate4();
365306
365306
  var ucs2length = util5.ucs2length;
365307
365307
  var equal2 = require_fast_deep_equal();
@@ -365480,7 +365480,7 @@ var require_compile3 = __commonJS({
365480
365480
  return util5.toQuotedString(value2);
365481
365481
  case "object":
365482
365482
  if (value2 === null) return "null";
365483
- var valueStr = stableStringify(value2);
365483
+ var valueStr = stableStringify2(value2);
365484
365484
  var index2 = defaultsHash[valueStr];
365485
365485
  if (index2 === void 0) {
365486
365486
  index2 = defaultsHash[valueStr] = defaults3.length;
@@ -369083,7 +369083,7 @@ var require_ajv2 = __commonJS({
369083
369083
  var resolve11 = require_resolve3();
369084
369084
  var Cache = require_cache2();
369085
369085
  var SchemaObject = require_schema_obj();
369086
- var stableStringify = require_fast_json_stable_stringify();
369086
+ var stableStringify2 = require_fast_json_stable_stringify();
369087
369087
  var formats = require_formats();
369088
369088
  var rules = require_rules3();
369089
369089
  var $dataMetaSchema = require_data2();
@@ -369128,7 +369128,7 @@ var require_ajv2 = __commonJS({
369128
369128
  this._getId = chooseGetId(opts);
369129
369129
  opts.loopRequired = opts.loopRequired || Infinity;
369130
369130
  if (opts.errorDataPath == "property") opts._errorDataPathProperty = true;
369131
- if (opts.serialize === void 0) opts.serialize = stableStringify;
369131
+ if (opts.serialize === void 0) opts.serialize = stableStringify2;
369132
369132
  this._metaOpts = getMetaSchemaOptions(this);
369133
369133
  if (opts.formats) addInitialFormats(this);
369134
369134
  if (opts.keywords) addInitialKeywords(this);
@@ -372984,7 +372984,7 @@ var require_posix = __commonJS({
372984
372984
  if (isAbsolute6) return `/${path78}`;
372985
372985
  return path78;
372986
372986
  }
372987
- function join29(path78, ...paths) {
372987
+ function join30(path78, ...paths) {
372988
372988
  if (path78 === void 0) return ".";
372989
372989
  if (path78 instanceof URL) {
372990
372990
  path78 = fromFileUrl(path78);
@@ -373462,7 +373462,7 @@ var require_posix = __commonJS({
373462
373462
  function joinGlobs(globs, options8 = {}) {
373463
373463
  const { globstar = false } = options8;
373464
373464
  if (!globstar || globs.length === 0) {
373465
- return join29(...globs);
373465
+ return join30(...globs);
373466
373466
  }
373467
373467
  let joined;
373468
373468
  for (const glob3 of globs) {
@@ -373489,7 +373489,7 @@ var require_posix = __commonJS({
373489
373489
  exports2.globToRegExp = globToRegExp;
373490
373490
  exports2.isAbsolute = isAbsolute5;
373491
373491
  exports2.isGlob = isGlob;
373492
- exports2.join = join29;
373492
+ exports2.join = join30;
373493
373493
  exports2.joinGlobs = joinGlobs;
373494
373494
  exports2.normalize = normalize4;
373495
373495
  exports2.normalizeGlob = normalizeGlob;
@@ -373890,7 +373890,7 @@ var require_windows = __commonJS({
373890
373890
  }
373891
373891
  return device + tail;
373892
373892
  }
373893
- function join29(path78, ...paths) {
373893
+ function join30(path78, ...paths) {
373894
373894
  if (path78 instanceof URL) {
373895
373895
  path78 = fromFileUrl(path78);
373896
373896
  }
@@ -374536,7 +374536,7 @@ var require_windows = __commonJS({
374536
374536
  function joinGlobs(globs, options8 = {}) {
374537
374537
  const { globstar = false } = options8;
374538
374538
  if (!globstar || globs.length === 0) {
374539
- return join29(...globs);
374539
+ return join30(...globs);
374540
374540
  }
374541
374541
  let joined;
374542
374542
  for (const glob3 of globs) {
@@ -374563,7 +374563,7 @@ var require_windows = __commonJS({
374563
374563
  exports2.globToRegExp = globToRegExp;
374564
374564
  exports2.isAbsolute = isAbsolute5;
374565
374565
  exports2.isGlob = isGlob;
374566
- exports2.join = join29;
374566
+ exports2.join = join30;
374567
374567
  exports2.joinGlobs = joinGlobs;
374568
374568
  exports2.normalize = normalize4;
374569
374569
  exports2.normalizeGlob = normalizeGlob;
@@ -381415,7 +381415,7 @@ var require_cjs9 = __commonJS({
381415
381415
  var require_utils26 = __commonJS({
381416
381416
  "../../../../node_modules/.pnpm/flat-cache@4.0.1/node_modules/flat-cache/src/utils.js"(exports2, module2) {
381417
381417
  init_cjs_shims();
381418
- var fs44 = __require("fs");
381418
+ var fs45 = __require("fs");
381419
381419
  var path78 = __require("path");
381420
381420
  var flatted = require_cjs9();
381421
381421
  function tryParse(filePath, defaultValue) {
@@ -381429,16 +381429,16 @@ var require_utils26 = __commonJS({
381429
381429
  }
381430
381430
  function readJSON(filePath) {
381431
381431
  return flatted.parse(
381432
- fs44.readFileSync(filePath, {
381432
+ fs45.readFileSync(filePath, {
381433
381433
  encoding: "utf8"
381434
381434
  })
381435
381435
  );
381436
381436
  }
381437
381437
  function writeJSON(filePath, data3) {
381438
- fs44.mkdirSync(path78.dirname(filePath), {
381438
+ fs45.mkdirSync(path78.dirname(filePath), {
381439
381439
  recursive: true
381440
381440
  });
381441
- fs44.writeFileSync(filePath, flatted.stringify(data3));
381441
+ fs45.writeFileSync(filePath, flatted.stringify(data3));
381442
381442
  }
381443
381443
  module2.exports = { tryParse, readJSON, writeJSON };
381444
381444
  }
@@ -381448,23 +381448,23 @@ var require_utils26 = __commonJS({
381448
381448
  var require_del = __commonJS({
381449
381449
  "../../../../node_modules/.pnpm/flat-cache@4.0.1/node_modules/flat-cache/src/del.js"(exports2, module2) {
381450
381450
  init_cjs_shims();
381451
- var fs44 = __require("fs");
381451
+ var fs45 = __require("fs");
381452
381452
  var path78 = __require("path");
381453
381453
  function del(targetPath) {
381454
- if (!fs44.existsSync(targetPath)) {
381454
+ if (!fs45.existsSync(targetPath)) {
381455
381455
  return false;
381456
381456
  }
381457
381457
  try {
381458
- if (fs44.statSync(targetPath).isDirectory()) {
381459
- fs44.readdirSync(targetPath).forEach((file2) => {
381458
+ if (fs45.statSync(targetPath).isDirectory()) {
381459
+ fs45.readdirSync(targetPath).forEach((file2) => {
381460
381460
  const curPath = path78.join(targetPath, file2);
381461
- if (fs44.statSync(curPath).isFile()) {
381462
- fs44.unlinkSync(curPath);
381461
+ if (fs45.statSync(curPath).isFile()) {
381462
+ fs45.unlinkSync(curPath);
381463
381463
  }
381464
381464
  });
381465
- fs44.rmdirSync(targetPath);
381465
+ fs45.rmdirSync(targetPath);
381466
381466
  } else {
381467
- fs44.unlinkSync(targetPath);
381467
+ fs45.unlinkSync(targetPath);
381468
381468
  }
381469
381469
  return true;
381470
381470
  } catch (error40) {
@@ -381480,7 +381480,7 @@ var require_cache3 = __commonJS({
381480
381480
  "../../../../node_modules/.pnpm/flat-cache@4.0.1/node_modules/flat-cache/src/cache.js"(exports2, module2) {
381481
381481
  init_cjs_shims();
381482
381482
  var path78 = __require("path");
381483
- var fs44 = __require("fs");
381483
+ var fs45 = __require("fs");
381484
381484
  var Keyv = require_src37();
381485
381485
  var { writeJSON, tryParse } = require_utils26();
381486
381486
  var { del } = require_del();
@@ -381500,7 +381500,7 @@ var require_cache3 = __commonJS({
381500
381500
  me.__visited = {};
381501
381501
  me.__persisted = {};
381502
381502
  me._pathToFile = cacheDir ? path78.resolve(cacheDir, docId) : path78.resolve(__dirname, "../.cache/", docId);
381503
- if (fs44.existsSync(me._pathToFile)) {
381503
+ if (fs45.existsSync(me._pathToFile)) {
381504
381504
  me._persisted = tryParse(me._pathToFile, {});
381505
381505
  }
381506
381506
  },
@@ -381685,7 +381685,7 @@ var require_cache4 = __commonJS({
381685
381685
  return this.create(fname, dir, useChecksum);
381686
381686
  },
381687
381687
  create: function(cacheId, _path2, useChecksum) {
381688
- var fs44 = __require("fs");
381688
+ var fs45 = __require("fs");
381689
381689
  var flatCache = require_cache3();
381690
381690
  var cache3 = flatCache.load(cacheId, _path2);
381691
381691
  var normalizedEntries = {};
@@ -381693,7 +381693,7 @@ var require_cache4 = __commonJS({
381693
381693
  const cachedEntries = cache3.keys();
381694
381694
  cachedEntries.forEach(function remover(fPath) {
381695
381695
  try {
381696
- fs44.statSync(fPath);
381696
+ fs45.statSync(fPath);
381697
381697
  } catch (err) {
381698
381698
  if (err.code === "ENOENT") {
381699
381699
  cache3.removeKey(fPath);
@@ -381759,7 +381759,7 @@ var require_cache4 = __commonJS({
381759
381759
  getFileDescriptor: function(file2) {
381760
381760
  var fstat;
381761
381761
  try {
381762
- fstat = fs44.statSync(file2);
381762
+ fstat = fs45.statSync(file2);
381763
381763
  } catch (ex) {
381764
381764
  this.removeEntry(file2);
381765
381765
  return { key: file2, notFound: true, err: ex };
@@ -381794,7 +381794,7 @@ var require_cache4 = __commonJS({
381794
381794
  var cacheExists = !!meta2;
381795
381795
  var contentBuffer;
381796
381796
  try {
381797
- contentBuffer = fs44.readFileSync(file2);
381797
+ contentBuffer = fs45.readFileSync(file2);
381798
381798
  } catch (ex) {
381799
381799
  contentBuffer = "";
381800
381800
  }
@@ -381869,7 +381869,7 @@ var require_cache4 = __commonJS({
381869
381869
  cache3.destroy();
381870
381870
  },
381871
381871
  _getMetaForFileUsingCheckSum: function(cacheEntry) {
381872
- var contentBuffer = fs44.readFileSync(cacheEntry.key);
381872
+ var contentBuffer = fs45.readFileSync(cacheEntry.key);
381873
381873
  var hash2 = this.getHash(contentBuffer);
381874
381874
  var meta2 = Object.assign(cacheEntry.meta, { hash: hash2 });
381875
381875
  delete meta2.size;
@@ -381877,7 +381877,7 @@ var require_cache4 = __commonJS({
381877
381877
  return meta2;
381878
381878
  },
381879
381879
  _getMetaForFileUsingMtimeAndSize: function(cacheEntry) {
381880
- var stat11 = fs44.statSync(cacheEntry.key);
381880
+ var stat11 = fs45.statSync(cacheEntry.key);
381881
381881
  var meta2 = Object.assign(cacheEntry.meta, {
381882
381882
  size: stat11.size,
381883
381883
  mtime: stat11.mtime.getTime()
@@ -382001,7 +382001,7 @@ var require_lint_result_cache = __commonJS({
382001
382001
  "../../../../node_modules/.pnpm/eslint@9.39.2_jiti@2.6.1/node_modules/eslint/lib/cli-engine/lint-result-cache.js"(exports2, module2) {
382002
382002
  "use strict";
382003
382003
  init_cjs_shims();
382004
- var fs44 = __require("node:fs");
382004
+ var fs45 = __require("node:fs");
382005
382005
  var fileEntryCache = require_cache4();
382006
382006
  var stringify3 = require_json_stable_stringify_without_jsonify();
382007
382007
  var pkg = require_package4();
@@ -382066,7 +382066,7 @@ var require_lint_result_cache = __commonJS({
382066
382066
  debug3(
382067
382067
  `Rereading cached result source from filesystem: ${filePath}`
382068
382068
  );
382069
- results.source = fs44.readFileSync(filePath, "utf-8");
382069
+ results.source = fs45.readFileSync(filePath, "utf-8");
382070
382070
  }
382071
382071
  return results;
382072
382072
  }
@@ -382179,11 +382179,11 @@ var require_locate_path = __commonJS({
382179
382179
  "use strict";
382180
382180
  init_cjs_shims();
382181
382181
  var path78 = __require("path");
382182
- var fs44 = __require("fs");
382182
+ var fs45 = __require("fs");
382183
382183
  var { promisify: promisify8 } = __require("util");
382184
382184
  var pLocate = require_p_locate();
382185
- var fsStat = promisify8(fs44.stat);
382186
- var fsLStat = promisify8(fs44.lstat);
382185
+ var fsStat = promisify8(fs45.stat);
382186
+ var fsLStat = promisify8(fs45.lstat);
382187
382187
  var typeMappings = {
382188
382188
  directory: "isDirectory",
382189
382189
  file: "isFile"
@@ -382221,7 +382221,7 @@ var require_locate_path = __commonJS({
382221
382221
  ...options8
382222
382222
  };
382223
382223
  checkType(options8);
382224
- const statFn = options8.allowSymlinks ? fs44.statSync : fs44.lstatSync;
382224
+ const statFn = options8.allowSymlinks ? fs45.statSync : fs45.lstatSync;
382225
382225
  for (const path_ of paths) {
382226
382226
  try {
382227
382227
  const stat11 = statFn(path78.resolve(options8.cwd, path_));
@@ -382240,9 +382240,9 @@ var require_path_exists = __commonJS({
382240
382240
  "../../../../node_modules/.pnpm/path-exists@4.0.0/node_modules/path-exists/index.js"(exports2, module2) {
382241
382241
  "use strict";
382242
382242
  init_cjs_shims();
382243
- var fs44 = __require("fs");
382243
+ var fs45 = __require("fs");
382244
382244
  var { promisify: promisify8 } = __require("util");
382245
- var pAccess = promisify8(fs44.access);
382245
+ var pAccess = promisify8(fs45.access);
382246
382246
  module2.exports = async (path78) => {
382247
382247
  try {
382248
382248
  await pAccess(path78);
@@ -382253,7 +382253,7 @@ var require_path_exists = __commonJS({
382253
382253
  };
382254
382254
  module2.exports.sync = (path78) => {
382255
382255
  try {
382256
- fs44.accessSync(path78);
382256
+ fs45.accessSync(path78);
382257
382257
  return true;
382258
382258
  } catch (_2) {
382259
382259
  return false;
@@ -382478,7 +382478,7 @@ var require_config_loader = __commonJS({
382478
382478
  "use strict";
382479
382479
  init_cjs_shims();
382480
382480
  var path78 = __require("node:path");
382481
- var fs44 = __require("node:fs/promises");
382481
+ var fs45 = __require("node:fs/promises");
382482
382482
  var findUp2 = require_find_up();
382483
382483
  var { pathToFileURL } = __require("node:url");
382484
382484
  var debug3 = require_src5()("eslint:config-loader");
@@ -382556,7 +382556,7 @@ var require_config_loader = __commonJS({
382556
382556
  debug3(`Loading config from ${filePath}`);
382557
382557
  const fileURL = pathToFileURL(filePath);
382558
382558
  debug3(`Config file URL is ${fileURL}`);
382559
- const mtime = (await fs44.stat(filePath)).mtime.getTime();
382559
+ const mtime = (await fs45.stat(filePath)).mtime.getTime();
382560
382560
  fileURL.searchParams.append("mtime", mtime);
382561
382561
  if (importedConfigFileModificationTime.get(filePath) !== mtime) {
382562
382562
  delete __require.cache[filePath];
@@ -382759,7 +382759,7 @@ var require_config_loader = __commonJS({
382759
382759
  * @returns {Promise<{createJiti: Function|undefined, version: string;}>} A promise that fulfills with an object containing the jiti module's createJiti function and version.
382760
382760
  */
382761
382761
  static async loadJiti() {
382762
- const { createJiti } = await import("./jiti-EK42FR63.js");
382762
+ const { createJiti } = await import("./jiti-VDKH5NZI.js");
382763
382763
  const version5 = require_package6().version;
382764
382764
  return { createJiti, version: version5 };
382765
382765
  }
@@ -383005,9 +383005,9 @@ var require_eslint_helpers = __commonJS({
383005
383005
  "use strict";
383006
383006
  init_cjs_shims();
383007
383007
  var path78 = __require("node:path");
383008
- var fs44 = __require("node:fs");
383008
+ var fs45 = __require("node:fs");
383009
383009
  var { isMainThread, threadId } = __require("node:worker_threads");
383010
- var fsp5 = fs44.promises;
383010
+ var fsp5 = fs45.promises;
383011
383011
  var isGlob = require_is_glob();
383012
383012
  var hash2 = require_hash();
383013
383013
  var minimatch2 = require_minimatch();
@@ -383088,7 +383088,7 @@ var require_eslint_helpers = __commonJS({
383088
383088
  }
383089
383089
  async function globMatch({ basePath, pattern }) {
383090
383090
  let found = false;
383091
- const { hfs } = await import("./src-XURX32AU.js");
383091
+ const { hfs } = await import("./src-ESEZZZMK.js");
383092
383092
  const patternToUse = normalizeToPosix(path78.relative(basePath, pattern));
383093
383093
  const matcher = new Minimatch2(patternToUse, MINIMATCH_OPTIONS);
383094
383094
  const walkSettings = {
@@ -383128,7 +383128,7 @@ var require_eslint_helpers = __commonJS({
383128
383128
  return new Minimatch2(patternToUse, MINIMATCH_OPTIONS);
383129
383129
  });
383130
383130
  const unmatchedPatterns = /* @__PURE__ */ new Set([...relativeToPatterns.keys()]);
383131
- const { hfs } = await import("./src-XURX32AU.js");
383131
+ const { hfs } = await import("./src-ESEZZZMK.js");
383132
383132
  const walk2 = hfs.walk(basePath, {
383133
383133
  async directoryFilter(entry) {
383134
383134
  if (!matchers.some((matcher) => matcher.match(entry.path, true))) {
@@ -383584,7 +383584,7 @@ var require_eslint_helpers = __commonJS({
383584
383584
  }
383585
383585
  let fileStats;
383586
383586
  try {
383587
- fileStats = fs44.lstatSync(resolvedCacheFile);
383587
+ fileStats = fs45.lstatSync(resolvedCacheFile);
383588
383588
  } catch {
383589
383589
  fileStats = null;
383590
383590
  }
@@ -384152,7 +384152,7 @@ var require_eslint = __commonJS({
384152
384152
  "use strict";
384153
384153
  init_cjs_shims();
384154
384154
  var { existsSync: existsSync8 } = __require("node:fs");
384155
- var fs44 = __require("node:fs/promises");
384155
+ var fs45 = __require("node:fs/promises");
384156
384156
  var os8 = __require("node:os");
384157
384157
  var path78 = __require("node:path");
384158
384158
  var { pathToFileURL } = __require("node:url");
@@ -384597,7 +384597,7 @@ var require_eslint = __commonJS({
384597
384597
  }
384598
384598
  return typeof result.output === "string" && path78.isAbsolute(result.filePath);
384599
384599
  }).map(
384600
- (r2) => retrier.retry(() => fs44.writeFile(r2.filePath, r2.output))
384600
+ (r2) => retrier.retry(() => fs45.writeFile(r2.filePath, r2.output))
384601
384601
  )
384602
384602
  );
384603
384603
  }
@@ -384728,7 +384728,7 @@ var require_eslint = __commonJS({
384728
384728
  debug3(`Deleting cache file at ${cacheFilePath}`);
384729
384729
  try {
384730
384730
  if (existsSync8(cacheFilePath)) {
384731
- await fs44.unlink(cacheFilePath);
384731
+ await fs45.unlink(cacheFilePath);
384732
384732
  }
384733
384733
  } catch (error40) {
384734
384734
  if (existsSync8(cacheFilePath)) {
@@ -385041,7 +385041,7 @@ var require_resolve_from = __commonJS({
385041
385041
  init_cjs_shims();
385042
385042
  var path78 = __require("path");
385043
385043
  var Module = __require("module");
385044
- var fs44 = __require("fs");
385044
+ var fs45 = __require("fs");
385045
385045
  var resolveFrom = (fromDir, moduleId, silent) => {
385046
385046
  if (typeof fromDir !== "string") {
385047
385047
  throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof fromDir}\``);
@@ -385050,7 +385050,7 @@ var require_resolve_from = __commonJS({
385050
385050
  throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof moduleId}\``);
385051
385051
  }
385052
385052
  try {
385053
- fromDir = fs44.realpathSync(fromDir);
385053
+ fromDir = fs45.realpathSync(fromDir);
385054
385054
  } catch (err) {
385055
385055
  if (err.code === "ENOENT") {
385056
385056
  fromDir = path78.resolve(fromDir);
@@ -385241,7 +385241,7 @@ var require_eslintrc = __commonJS({
385241
385241
  init_cjs_shims();
385242
385242
  Object.defineProperty(exports2, "__esModule", { value: true });
385243
385243
  var debugOrig = require_src5();
385244
- var fs44 = __require("node:fs");
385244
+ var fs45 = __require("node:fs");
385245
385245
  var importFresh = require_import_fresh();
385246
385246
  var Module = __require("node:module");
385247
385247
  var path78 = __require("node:path");
@@ -385257,7 +385257,7 @@ var require_eslintrc = __commonJS({
385257
385257
  return e && typeof e === "object" && "default" in e ? e : { "default": e };
385258
385258
  }
385259
385259
  var debugOrig__default = /* @__PURE__ */ _interopDefaultLegacy(debugOrig);
385260
- var fs__default = /* @__PURE__ */ _interopDefaultLegacy(fs44);
385260
+ var fs__default = /* @__PURE__ */ _interopDefaultLegacy(fs45);
385261
385261
  var importFresh__default = /* @__PURE__ */ _interopDefaultLegacy(importFresh);
385262
385262
  var Module__default = /* @__PURE__ */ _interopDefaultLegacy(Module);
385263
385263
  var path__default = /* @__PURE__ */ _interopDefaultLegacy(path78);
@@ -386781,14 +386781,14 @@ Require stack:
386781
386781
  function isFilePath(nameOrPath) {
386782
386782
  return /^\.{1,2}[/\\]/u.test(nameOrPath) || path__default["default"].isAbsolute(nameOrPath);
386783
386783
  }
386784
- function readFile18(filePath) {
386784
+ function readFile19(filePath) {
386785
386785
  return fs__default["default"].readFileSync(filePath, "utf8").replace(/^\ufeff/u, "");
386786
386786
  }
386787
386787
  function loadYAMLConfigFile(filePath) {
386788
386788
  debug$2(`Loading YAML config file: ${filePath}`);
386789
386789
  const yaml8 = require$1("js-yaml");
386790
386790
  try {
386791
- return yaml8.load(readFile18(filePath)) || {};
386791
+ return yaml8.load(readFile19(filePath)) || {};
386792
386792
  } catch (e) {
386793
386793
  debug$2(`Error reading YAML file: ${filePath}`);
386794
386794
  e.message = `Cannot read config file: ${filePath}
@@ -386799,7 +386799,7 @@ Error: ${e.message}`;
386799
386799
  function loadJSONConfigFile(filePath) {
386800
386800
  debug$2(`Loading JSON config file: ${filePath}`);
386801
386801
  try {
386802
- return JSON.parse(stripComments__default["default"](readFile18(filePath)));
386802
+ return JSON.parse(stripComments__default["default"](readFile19(filePath)));
386803
386803
  } catch (e) {
386804
386804
  debug$2(`Error reading JSON file: ${filePath}`);
386805
386805
  e.message = `Cannot read config file: ${filePath}
@@ -386816,7 +386816,7 @@ Error: ${e.message}`;
386816
386816
  debug$2(`Loading legacy config file: ${filePath}`);
386817
386817
  const yaml8 = require$1("js-yaml");
386818
386818
  try {
386819
- return yaml8.load(stripComments__default["default"](readFile18(filePath))) || /* istanbul ignore next */
386819
+ return yaml8.load(stripComments__default["default"](readFile19(filePath))) || /* istanbul ignore next */
386820
386820
  {};
386821
386821
  } catch (e) {
386822
386822
  debug$2("Error reading YAML file: %s\n%o", filePath, e);
@@ -386857,7 +386857,7 @@ Error: ${e.message}`;
386857
386857
  function loadESLintIgnoreFile(filePath) {
386858
386858
  debug$2(`Loading .eslintignore file: ${filePath}`);
386859
386859
  try {
386860
- return readFile18(filePath).split(/\r?\n/gu).filter((line3) => line3.trim() !== "" && !line3.startsWith("#"));
386860
+ return readFile19(filePath).split(/\r?\n/gu).filter((line3) => line3.trim() !== "" && !line3.startsWith("#"));
386861
386861
  } catch (e) {
386862
386862
  debug$2(`Error reading .eslintignore file: ${filePath}`);
386863
386863
  e.message = `Cannot read .eslintignore file: ${filePath}
@@ -388441,7 +388441,7 @@ var require_file_enumerator = __commonJS({
388441
388441
  "../../../../node_modules/.pnpm/eslint@9.39.2_jiti@2.6.1/node_modules/eslint/lib/cli-engine/file-enumerator.js"(exports2, module2) {
388442
388442
  "use strict";
388443
388443
  init_cjs_shims();
388444
- var fs44 = __require("node:fs");
388444
+ var fs45 = __require("node:fs");
388445
388445
  var path78 = __require("node:path");
388446
388446
  var getGlobParent = require_glob_parent2();
388447
388447
  var isGlob = require_is_glob();
@@ -388462,7 +388462,7 @@ var require_file_enumerator = __commonJS({
388462
388462
  }
388463
388463
  function statSafeSync(filePath) {
388464
388464
  try {
388465
- return fs44.statSync(filePath);
388465
+ return fs45.statSync(filePath);
388466
388466
  } catch (error40) {
388467
388467
  if (error40.code !== "ENOENT") {
388468
388468
  throw error40;
@@ -388472,7 +388472,7 @@ var require_file_enumerator = __commonJS({
388472
388472
  }
388473
388473
  function readdirSafeSync(directoryPath) {
388474
388474
  try {
388475
- return fs44.readdirSync(directoryPath, { withFileTypes: true });
388475
+ return fs45.readdirSync(directoryPath, { withFileTypes: true });
388476
388476
  } catch (error40) {
388477
388477
  if (error40.code !== "ENOENT") {
388478
388478
  throw error40;
@@ -388785,7 +388785,7 @@ var require_load_rules = __commonJS({
388785
388785
  "../../../../node_modules/.pnpm/eslint@9.39.2_jiti@2.6.1/node_modules/eslint/lib/cli-engine/load-rules.js"(exports2, module2) {
388786
388786
  "use strict";
388787
388787
  init_cjs_shims();
388788
- var fs44 = __require("node:fs");
388788
+ var fs45 = __require("node:fs");
388789
388789
  var path78 = __require("node:path");
388790
388790
  var rulesDirCache = {};
388791
388791
  module2.exports = function(relativeRulesDir, cwd) {
@@ -388794,7 +388794,7 @@ var require_load_rules = __commonJS({
388794
388794
  return rulesDirCache[rulesDir];
388795
388795
  }
388796
388796
  const rules = /* @__PURE__ */ Object.create(null);
388797
- fs44.readdirSync(rulesDir).forEach((file2) => {
388797
+ fs45.readdirSync(rulesDir).forEach((file2) => {
388798
388798
  if (path78.extname(file2) !== ".js") {
388799
388799
  return;
388800
388800
  }
@@ -388811,7 +388811,7 @@ var require_cli_engine = __commonJS({
388811
388811
  "../../../../node_modules/.pnpm/eslint@9.39.2_jiti@2.6.1/node_modules/eslint/lib/cli-engine/cli-engine.js"(exports2, module2) {
388812
388812
  "use strict";
388813
388813
  init_cjs_shims();
388814
- var fs44 = __require("node:fs");
388814
+ var fs45 = __require("node:fs");
388815
388815
  var path78 = __require("node:path");
388816
388816
  var defaultOptions7 = require_default_cli_options();
388817
388817
  var pkg = require_package4();
@@ -389020,7 +389020,7 @@ var require_cli_engine = __commonJS({
389020
389020
  }
389021
389021
  let fileStats;
389022
389022
  try {
389023
- fileStats = fs44.lstatSync(resolvedCacheFile);
389023
+ fileStats = fs45.lstatSync(resolvedCacheFile);
389024
389024
  } catch {
389025
389025
  fileStats = null;
389026
389026
  }
@@ -389069,7 +389069,7 @@ var require_cli_engine = __commonJS({
389069
389069
  }
389070
389070
  function directoryExists(resolvedPath) {
389071
389071
  try {
389072
- return fs44.statSync(resolvedPath).isDirectory();
389072
+ return fs45.statSync(resolvedPath).isDirectory();
389073
389073
  } catch (error40) {
389074
389074
  if (error40 && (error40.code === "ENOENT" || error40.code === "ENOTDIR")) {
389075
389075
  return false;
@@ -389191,7 +389191,7 @@ var require_cli_engine = __commonJS({
389191
389191
  */
389192
389192
  static outputFixes(report) {
389193
389193
  report.results.filter((result) => Object.hasOwn(result, "output")).forEach((result) => {
389194
- fs44.writeFileSync(result.filePath, result.output);
389194
+ fs45.writeFileSync(result.filePath, result.output);
389195
389195
  });
389196
389196
  }
389197
389197
  /**
@@ -389241,10 +389241,10 @@ var require_cli_engine = __commonJS({
389241
389241
  lastConfigArrays.length = 0;
389242
389242
  if (!cache3) {
389243
389243
  try {
389244
- fs44.unlinkSync(cacheFilePath);
389244
+ fs45.unlinkSync(cacheFilePath);
389245
389245
  } catch (error40) {
389246
389246
  const errorCode = error40 && error40.code;
389247
- if (errorCode !== "ENOENT" && !(errorCode === "EROFS" && !fs44.existsSync(cacheFilePath))) {
389247
+ if (errorCode !== "ENOENT" && !(errorCode === "EROFS" && !fs45.existsSync(cacheFilePath))) {
389248
389248
  throw error40;
389249
389249
  }
389250
389250
  }
@@ -389280,7 +389280,7 @@ var require_cli_engine = __commonJS({
389280
389280
  }
389281
389281
  }
389282
389282
  const result = verifyText({
389283
- text: fs44.readFileSync(filePath, "utf8"),
389283
+ text: fs45.readFileSync(filePath, "utf8"),
389284
389284
  filePath,
389285
389285
  config: config4,
389286
389286
  cwd,
@@ -389491,7 +389491,7 @@ var require_legacy_eslint = __commonJS({
389491
389491
  "use strict";
389492
389492
  init_cjs_shims();
389493
389493
  var path78 = __require("node:path");
389494
- var fs44 = __require("node:fs");
389494
+ var fs45 = __require("node:fs");
389495
389495
  var { promisify: promisify8 } = __require("node:util");
389496
389496
  var {
389497
389497
  CLIEngine,
@@ -389504,7 +389504,7 @@ var require_legacy_eslint = __commonJS({
389504
389504
  }
389505
389505
  } = require_eslintrc();
389506
389506
  var { version: version5 } = require_package4();
389507
- var writeFile17 = promisify8(fs44.writeFile);
389507
+ var writeFile18 = promisify8(fs45.writeFile);
389508
389508
  var privateMembersMap = /* @__PURE__ */ new WeakMap();
389509
389509
  function isNonEmptyString(value2) {
389510
389510
  return typeof value2 === "string" && value2.trim() !== "";
@@ -389826,7 +389826,7 @@ var require_legacy_eslint = __commonJS({
389826
389826
  throw new Error("'results' must include only objects");
389827
389827
  }
389828
389828
  return typeof result.output === "string" && path78.isAbsolute(result.filePath);
389829
- }).map((r2) => writeFile17(r2.filePath, r2.output))
389829
+ }).map((r2) => writeFile18(r2.filePath, r2.output))
389830
389830
  );
389831
389831
  }
389832
389832
  /**
@@ -391885,13 +391885,13 @@ var require_readdir_glob = __commonJS({
391885
391885
  "../../../../node_modules/.pnpm/readdir-glob@1.1.3/node_modules/readdir-glob/index.js"(exports2, module2) {
391886
391886
  init_cjs_shims();
391887
391887
  module2.exports = readdirGlob;
391888
- var fs44 = __require("fs");
391888
+ var fs45 = __require("fs");
391889
391889
  var { EventEmitter: EventEmitter6 } = __require("events");
391890
391890
  var { Minimatch: Minimatch2 } = require_minimatch2();
391891
391891
  var { resolve: resolve11 } = __require("path");
391892
391892
  function readdir14(dir, strict) {
391893
391893
  return new Promise((resolve12, reject) => {
391894
- fs44.readdir(dir, { withFileTypes: true }, (err, files) => {
391894
+ fs45.readdir(dir, { withFileTypes: true }, (err, files) => {
391895
391895
  if (err) {
391896
391896
  switch (err.code) {
391897
391897
  case "ENOTDIR":
@@ -391924,7 +391924,7 @@ var require_readdir_glob = __commonJS({
391924
391924
  }
391925
391925
  function stat11(file2, followSymlinks) {
391926
391926
  return new Promise((resolve12, reject) => {
391927
- const statFunc = followSymlinks ? fs44.stat : fs44.lstat;
391927
+ const statFunc = followSymlinks ? fs45.stat : fs45.lstat;
391928
391928
  statFunc(file2, (err, stats) => {
391929
391929
  if (err) {
391930
391930
  switch (err.code) {
@@ -394205,7 +394205,7 @@ var require_BufferList = __commonJS({
394205
394205
  this.head = this.tail = null;
394206
394206
  this.length = 0;
394207
394207
  };
394208
- BufferList.prototype.join = function join29(s) {
394208
+ BufferList.prototype.join = function join30(s) {
394209
394209
  if (this.length === 0) return "";
394210
394210
  var p = this.head;
394211
394211
  var ret = "" + p.data;
@@ -407240,8 +407240,8 @@ var require_commonjs4 = __commonJS({
407240
407240
  *
407241
407241
  * @internal
407242
407242
  */
407243
- constructor(cwd = process.cwd(), pathImpl, sep3, { nocase, childrenCacheSize = 16 * 1024, fs: fs44 = defaultFS2 } = {}) {
407244
- this.#fs = fsFromOption2(fs44);
407243
+ constructor(cwd = process.cwd(), pathImpl, sep3, { nocase, childrenCacheSize = 16 * 1024, fs: fs45 = defaultFS2 } = {}) {
407244
+ this.#fs = fsFromOption2(fs45);
407245
407245
  if (cwd instanceof URL || cwd.startsWith("file://")) {
407246
407246
  cwd = (0, node_url_1.fileURLToPath)(cwd);
407247
407247
  }
@@ -407800,8 +407800,8 @@ var require_commonjs4 = __commonJS({
407800
407800
  /**
407801
407801
  * @internal
407802
407802
  */
407803
- newRoot(fs44) {
407804
- return new PathWin322(this.rootPath, IFDIR2, void 0, this.roots, this.nocase, this.childrenCache(), { fs: fs44 });
407803
+ newRoot(fs45) {
407804
+ return new PathWin322(this.rootPath, IFDIR2, void 0, this.roots, this.nocase, this.childrenCache(), { fs: fs45 });
407805
407805
  }
407806
407806
  /**
407807
407807
  * Return true if the provided path string is an absolute path
@@ -407830,8 +407830,8 @@ var require_commonjs4 = __commonJS({
407830
407830
  /**
407831
407831
  * @internal
407832
407832
  */
407833
- newRoot(fs44) {
407834
- return new PathPosix2(this.rootPath, IFDIR2, void 0, this.roots, this.nocase, this.childrenCache(), { fs: fs44 });
407833
+ newRoot(fs45) {
407834
+ return new PathPosix2(this.rootPath, IFDIR2, void 0, this.roots, this.nocase, this.childrenCache(), { fs: fs45 });
407835
407835
  }
407836
407836
  /**
407837
407837
  * Return true if the provided path string is an absolute path
@@ -409024,7 +409024,7 @@ var require_commonjs5 = __commonJS({
409024
409024
  var require_file4 = __commonJS({
409025
409025
  "../../../../node_modules/.pnpm/archiver-utils@5.0.2/node_modules/archiver-utils/file.js"(exports2, module2) {
409026
409026
  init_cjs_shims();
409027
- var fs44 = require_graceful_fs();
409027
+ var fs45 = require_graceful_fs();
409028
409028
  var path78 = __require("path");
409029
409029
  var flatten = require_flatten();
409030
409030
  var difference = require_difference();
@@ -409051,7 +409051,7 @@ var require_file4 = __commonJS({
409051
409051
  };
409052
409052
  file2.exists = function() {
409053
409053
  var filepath = path78.join.apply(path78, arguments);
409054
- return fs44.existsSync(filepath);
409054
+ return fs45.existsSync(filepath);
409055
409055
  };
409056
409056
  file2.expand = function(...args) {
409057
409057
  var options8 = isPlainObject3(args[0]) ? args.shift() : {};
@@ -409069,7 +409069,7 @@ var require_file4 = __commonJS({
409069
409069
  if (typeof options8.filter === "function") {
409070
409070
  return options8.filter(filepath);
409071
409071
  } else {
409072
- return fs44.statSync(filepath)[options8.filter]();
409072
+ return fs45.statSync(filepath)[options8.filter]();
409073
409073
  }
409074
409074
  } catch (e) {
409075
409075
  return false;
@@ -409178,7 +409178,7 @@ var require_file4 = __commonJS({
409178
409178
  var require_archiver_utils = __commonJS({
409179
409179
  "../../../../node_modules/.pnpm/archiver-utils@5.0.2/node_modules/archiver-utils/index.js"(exports2, module2) {
409180
409180
  init_cjs_shims();
409181
- var fs44 = require_graceful_fs();
409181
+ var fs45 = require_graceful_fs();
409182
409182
  var path78 = __require("path");
409183
409183
  var isStream3 = require_is_stream();
409184
409184
  var lazystream = require_lazystream();
@@ -409227,7 +409227,7 @@ var require_archiver_utils = __commonJS({
409227
409227
  };
409228
409228
  utils2.lazyReadStream = function(filepath) {
409229
409229
  return new lazystream.Readable(function() {
409230
- return fs44.createReadStream(filepath);
409230
+ return fs45.createReadStream(filepath);
409231
409231
  });
409232
409232
  };
409233
409233
  utils2.normalizeInputSource = function(source2) {
@@ -409255,7 +409255,7 @@ var require_archiver_utils = __commonJS({
409255
409255
  callback = base;
409256
409256
  base = dirpath;
409257
409257
  }
409258
- fs44.readdir(dirpath, function(err, list2) {
409258
+ fs45.readdir(dirpath, function(err, list2) {
409259
409259
  var i = 0;
409260
409260
  var file2;
409261
409261
  var filepath;
@@ -409268,7 +409268,7 @@ var require_archiver_utils = __commonJS({
409268
409268
  return callback(null, results);
409269
409269
  }
409270
409270
  filepath = path78.join(dirpath, file2);
409271
- fs44.stat(filepath, function(err2, stats) {
409271
+ fs45.stat(filepath, function(err2, stats) {
409272
409272
  results.push({
409273
409273
  path: filepath,
409274
409274
  relative: path78.relative(base, filepath).replace(/\\/g, "/"),
@@ -409332,7 +409332,7 @@ var require_error4 = __commonJS({
409332
409332
  var require_core12 = __commonJS({
409333
409333
  "../../../../node_modules/.pnpm/archiver@7.0.1/node_modules/archiver/lib/core.js"(exports2, module2) {
409334
409334
  init_cjs_shims();
409335
- var fs44 = __require("fs");
409335
+ var fs45 = __require("fs");
409336
409336
  var glob3 = require_readdir_glob();
409337
409337
  var async = require_async9();
409338
409338
  var path78 = __require("path");
@@ -409396,7 +409396,7 @@ var require_core12 = __commonJS({
409396
409396
  data3.sourcePath = filepath;
409397
409397
  task.data = data3;
409398
409398
  this._entriesCount++;
409399
- if (data3.stats && data3.stats instanceof fs44.Stats) {
409399
+ if (data3.stats && data3.stats instanceof fs45.Stats) {
409400
409400
  task = this._updateQueueTaskWithStats(task, data3.stats);
409401
409401
  if (task) {
409402
409402
  if (data3.stats.size) {
@@ -409567,7 +409567,7 @@ var require_core12 = __commonJS({
409567
409567
  callback();
409568
409568
  return;
409569
409569
  }
409570
- fs44.lstat(task.filepath, function(err, stats) {
409570
+ fs45.lstat(task.filepath, function(err, stats) {
409571
409571
  if (this._state.aborted) {
409572
409572
  setImmediate(callback);
409573
409573
  return;
@@ -409610,7 +409610,7 @@ var require_core12 = __commonJS({
409610
409610
  task.data.sourceType = "buffer";
409611
409611
  task.source = Buffer.concat([]);
409612
409612
  } else if (stats.isSymbolicLink() && this._moduleSupports("symlink")) {
409613
- var linkPath = fs44.readlinkSync(task.filepath);
409613
+ var linkPath = fs45.readlinkSync(task.filepath);
409614
409614
  var dirName = path78.dirname(task.filepath);
409615
409615
  task.data.type = "symlink";
409616
409616
  task.data.linkname = path78.relative(dirName, path78.resolve(dirName, linkPath));
@@ -431205,14 +431205,14 @@ var require_turndown_cjs = __commonJS({
431205
431205
  } else if (node.nodeType === 1) {
431206
431206
  replacement = replacementForNode.call(self2, node);
431207
431207
  }
431208
- return join29(output, replacement);
431208
+ return join30(output, replacement);
431209
431209
  }, "");
431210
431210
  }
431211
431211
  function postProcess(output) {
431212
431212
  var self2 = this;
431213
431213
  this.rules.forEach(function(rule) {
431214
431214
  if (typeof rule.append === "function") {
431215
- output = join29(output, rule.append(self2.options));
431215
+ output = join30(output, rule.append(self2.options));
431216
431216
  }
431217
431217
  });
431218
431218
  return output.replace(/^[\t\r\n]+/, "").replace(/[\t\r\n\s]+$/, "");
@@ -431224,7 +431224,7 @@ var require_turndown_cjs = __commonJS({
431224
431224
  if (whitespace2.leading || whitespace2.trailing) content12 = content12.trim();
431225
431225
  return whitespace2.leading + rule.replacement(content12, node, this.options) + whitespace2.trailing;
431226
431226
  }
431227
- function join29(output, replacement) {
431227
+ function join30(output, replacement) {
431228
431228
  var s1 = trimTrailingNewlines(output);
431229
431229
  var s2 = trimLeadingNewlines(replacement);
431230
431230
  var nls = Math.max(output.length - s1.length, replacement.length - s2.length);
@@ -448441,7 +448441,7 @@ var require_snapshot_recorder = __commonJS({
448441
448441
  "../../../../node_modules/.pnpm/undici@7.18.2/node_modules/undici/lib/mock/snapshot-recorder.js"(exports2, module2) {
448442
448442
  "use strict";
448443
448443
  init_cjs_shims();
448444
- var { writeFile: writeFile17, readFile: readFile18, mkdir: mkdir22 } = __require("node:fs/promises");
448444
+ var { writeFile: writeFile18, readFile: readFile19, mkdir: mkdir22 } = __require("node:fs/promises");
448445
448445
  var { dirname: dirname24, resolve: resolve11 } = __require("node:path");
448446
448446
  var { setTimeout: setTimeout2, clearTimeout: clearTimeout2 } = __require("node:timers");
448447
448447
  var { InvalidArgumentError: InvalidArgumentError2, UndiciError } = require_errors11();
@@ -448643,7 +448643,7 @@ var require_snapshot_recorder = __commonJS({
448643
448643
  throw new InvalidArgumentError2("Snapshot path is required");
448644
448644
  }
448645
448645
  try {
448646
- const data3 = await readFile18(resolve11(path78), "utf8");
448646
+ const data3 = await readFile19(resolve11(path78), "utf8");
448647
448647
  const parsed = JSON.parse(data3);
448648
448648
  if (Array.isArray(parsed)) {
448649
448649
  this.#snapshots.clear();
@@ -448678,7 +448678,7 @@ var require_snapshot_recorder = __commonJS({
448678
448678
  hash: hash2,
448679
448679
  snapshot
448680
448680
  }));
448681
- await writeFile17(resolvedPath, JSON.stringify(data3, null, 2), { flush: true });
448681
+ await writeFile18(resolvedPath, JSON.stringify(data3, null, 2), { flush: true });
448682
448682
  }
448683
448683
  /**
448684
448684
  * Clears all recorded snapshots
@@ -461004,8 +461004,8 @@ var require_node23 = __commonJS({
461004
461004
  }
461005
461005
  break;
461006
461006
  case "FILE":
461007
- var fs44 = __require("fs");
461008
- stream6 = new fs44.SyncWriteStream(fd2, { autoClose: false });
461007
+ var fs45 = __require("fs");
461008
+ stream6 = new fs45.SyncWriteStream(fd2, { autoClose: false });
461009
461009
  stream6._type = "fs";
461010
461010
  break;
461011
461011
  case "PIPE":
@@ -470446,7 +470446,7 @@ var require_websocket3 = __commonJS({
470446
470446
  const http3 = __require("http");
470447
470447
  const net4 = __require("net");
470448
470448
  const tls = __require("tls");
470449
- const { randomBytes: randomBytes3, createHash: createHash4 } = __require("crypto");
470449
+ const { randomBytes: randomBytes3, createHash: createHash5 } = __require("crypto");
470450
470450
  const { Duplex, Readable: Readable6 } = __require("stream");
470451
470451
  const { URL: URL3 } = __require("url");
470452
470452
  const PerMessageDeflate = require_permessage_deflate3();
@@ -471103,7 +471103,7 @@ var require_websocket3 = __commonJS({
471103
471103
  abortHandshake(websocket, socket, "Invalid Upgrade header");
471104
471104
  return;
471105
471105
  }
471106
- const digest = createHash4("sha1").update(key2 + GUID).digest("base64");
471106
+ const digest = createHash5("sha1").update(key2 + GUID).digest("base64");
471107
471107
  if (res.headers["sec-websocket-accept"] !== digest) {
471108
471108
  abortHandshake(websocket, socket, "Invalid Sec-WebSocket-Accept header");
471109
471109
  return;
@@ -471488,7 +471488,7 @@ var require_websocket_server2 = __commonJS({
471488
471488
  const EventEmitter6 = __require("events");
471489
471489
  const http3 = __require("http");
471490
471490
  const { Duplex } = __require("stream");
471491
- const { createHash: createHash4 } = __require("crypto");
471491
+ const { createHash: createHash5 } = __require("crypto");
471492
471492
  const extension = require_extension2();
471493
471493
  const PerMessageDeflate = require_permessage_deflate3();
471494
471494
  const subprotocol = require_subprotocol2();
@@ -471785,7 +471785,7 @@ var require_websocket_server2 = __commonJS({
471785
471785
  );
471786
471786
  }
471787
471787
  if (this._state > RUNNING) return abortHandshake(socket, 503);
471788
- const digest = createHash4("sha1").update(key2 + GUID).digest("base64");
471788
+ const digest = createHash5("sha1").update(key2 + GUID).digest("base64");
471789
471789
  const headers = [
471790
471790
  "HTTP/1.1 101 Switching Protocols",
471791
471791
  "Upgrade: websocket",
@@ -489390,7 +489390,7 @@ var require_fs6 = __commonJS({
489390
489390
  };
489391
489391
  return data3;
489392
489392
  }
489393
- var readFile18 = exports2.readFile = _gensync()({
489393
+ var readFile19 = exports2.readFile = _gensync()({
489394
489394
  sync: _fs().readFileSync,
489395
489395
  errback: _fs().readFile
489396
489396
  });
@@ -489411,7 +489411,7 @@ var require_utils34 = __commonJS({
489411
489411
  });
489412
489412
  exports2.makeStaticFileCache = makeStaticFileCache;
489413
489413
  var _caching = require_caching();
489414
- var fs44 = require_fs6();
489414
+ var fs45 = require_fs6();
489415
489415
  function _fs2() {
489416
489416
  const data3 = __require("fs");
489417
489417
  _fs2 = function() {
@@ -489425,7 +489425,7 @@ var require_utils34 = __commonJS({
489425
489425
  if (cached2 === null) {
489426
489426
  return null;
489427
489427
  }
489428
- return fn(filepath, yield* fs44.readFile(filepath, "utf8"));
489428
+ return fn(filepath, yield* fs45.readFile(filepath, "utf8"));
489429
489429
  });
489430
489430
  }
489431
489431
  function fileMtime(filepath) {
@@ -490509,7 +490509,7 @@ var require_node25 = __commonJS({
490509
490509
  init_cjs_shims();
490510
490510
  var feature = require_feature().default;
490511
490511
  var region = require_region2().default;
490512
- var fs44 = __require("fs");
490512
+ var fs45 = __require("fs");
490513
490513
  var path78 = __require("path");
490514
490514
  var BrowserslistError = require_error6();
490515
490515
  var IS_SECTION = /^\s*\[(.+)]\s*$/;
@@ -490544,7 +490544,7 @@ var require_node25 = __commonJS({
490544
490544
  function getPathType(filepath) {
490545
490545
  var stats;
490546
490546
  try {
490547
- stats = fs44.existsSync(filepath) && fs44.statSync(filepath);
490547
+ stats = fs45.existsSync(filepath) && fs45.statSync(filepath);
490548
490548
  } catch (err) {
490549
490549
  if (err.code !== "ENOENT" && err.code !== "EACCES" && err.code !== "ERR_ACCESS_DENIED") {
490550
490550
  throw err;
@@ -490630,7 +490630,7 @@ var require_node25 = __commonJS({
490630
490630
  return config4[name16] || config4.defaults;
490631
490631
  }
490632
490632
  function parsePackage(file2) {
490633
- var text3 = fs44.readFileSync(file2).toString().replace(/^\uFEFF/m, "");
490633
+ var text3 = fs45.readFileSync(file2).toString().replace(/^\uFEFF/m, "");
490634
490634
  var list2;
490635
490635
  if (text3.indexOf('"browserslist"') >= 0) {
490636
490636
  list2 = JSON.parse(text3).browserslist;
@@ -490750,7 +490750,7 @@ var require_node25 = __commonJS({
490750
490750
  stats = opts.stats;
490751
490751
  } else if (process.env.BROWSERSLIST_STATS) {
490752
490752
  stats = process.env.BROWSERSLIST_STATS;
490753
- } else if (opts.path && path78.resolve && fs44.existsSync) {
490753
+ } else if (opts.path && path78.resolve && fs45.existsSync) {
490754
490754
  stats = eachParent(
490755
490755
  opts.path,
490756
490756
  function(dir) {
@@ -490762,7 +490762,7 @@ var require_node25 = __commonJS({
490762
490762
  }
490763
490763
  if (typeof stats === "string") {
490764
490764
  try {
490765
- stats = JSON.parse(fs44.readFileSync(stats));
490765
+ stats = JSON.parse(fs45.readFileSync(stats));
490766
490766
  } catch (e) {
490767
490767
  throw new BrowserslistError("Can't read " + stats);
490768
490768
  }
@@ -490848,7 +490848,7 @@ var require_node25 = __commonJS({
490848
490848
  if (!isFile4(file2)) {
490849
490849
  throw new BrowserslistError("Can't read " + file2 + " config");
490850
490850
  }
490851
- return module2.exports.parseConfig(fs44.readFileSync(file2));
490851
+ return module2.exports.parseConfig(fs45.readFileSync(file2));
490852
490852
  },
490853
490853
  findConfigFile: function findConfigFile(from) {
490854
490854
  return eachParent(
@@ -497906,14 +497906,14 @@ var require_transform_file = __commonJS({
497906
497906
  }
497907
497907
  var _index = require_config7();
497908
497908
  var _index2 = require_transformation();
497909
- var fs44 = require_fs6();
497909
+ var fs45 = require_fs6();
497910
497910
  var transformFileRunner = _gensync()(function* (filename, opts) {
497911
497911
  const options8 = Object.assign({}, opts, {
497912
497912
  filename
497913
497913
  });
497914
497914
  const config4 = yield* (0, _index.default)(options8);
497915
497915
  if (config4 === null) return null;
497916
- const code2 = yield* fs44.readFile(filename, "utf8");
497916
+ const code2 = yield* fs45.readFile(filename, "utf8");
497917
497917
  return yield* (0, _index2.run)(config4, code2);
497918
497918
  });
497919
497919
  function transformFile(...args) {
@@ -505703,7 +505703,7 @@ var require_configuration3 = __commonJS({
505703
505703
  var _moduleTypes = require_module_types();
505704
505704
  var _patternToRegex = require_pattern_to_regex();
505705
505705
  var _configError = require_config_error();
505706
- var fs44 = require_fs6();
505706
+ var fs45 = require_fs6();
505707
505707
  var _rewriteStackTrace = require_rewrite_stack_trace();
505708
505708
  var debug3 = _debug()("babel:config:loading:files:configuration");
505709
505709
  var ROOT_CONFIG_FILENAMES = exports2.ROOT_CONFIG_FILENAMES = ["babel.config.js", "babel.config.cjs", "babel.config.mjs", "babel.config.json", "babel.config.cts"];
@@ -505894,7 +505894,7 @@ from ${dirname24}`);
505894
505894
  const targetPath = process.env.BABEL_SHOW_CONFIG_FOR;
505895
505895
  if (targetPath != null) {
505896
505896
  const absolutePath = _path2().resolve(dirname24, targetPath);
505897
- const stats = yield* fs44.stat(absolutePath);
505897
+ const stats = yield* fs45.stat(absolutePath);
505898
505898
  if (!stats.isFile()) {
505899
505899
  throw new Error(`${absolutePath}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`);
505900
505900
  }
@@ -508255,7 +508255,7 @@ var require_form_data = __commonJS({
508255
508255
  var http3 = __require("http");
508256
508256
  var https4 = __require("https");
508257
508257
  var parseUrl = __require("url").parse;
508258
- var fs44 = __require("fs");
508258
+ var fs45 = __require("fs");
508259
508259
  var Stream2 = __require("stream").Stream;
508260
508260
  var crypto6 = __require("crypto");
508261
508261
  var mime = require_mime_types();
@@ -508322,7 +508322,7 @@ var require_form_data = __commonJS({
508322
508322
  if (value2.end != void 0 && value2.end != Infinity && value2.start != void 0) {
508323
508323
  callback(null, value2.end + 1 - (value2.start ? value2.start : 0));
508324
508324
  } else {
508325
- fs44.stat(value2.path, function(err, stat11) {
508325
+ fs45.stat(value2.path, function(err, stat11) {
508326
508326
  if (err) {
508327
508327
  callback(err);
508328
508328
  return;
@@ -514474,11 +514474,11 @@ var require_view = __commonJS({
514474
514474
  init_cjs_shims();
514475
514475
  var debug3 = require_src40()("express:view");
514476
514476
  var path78 = __require("path");
514477
- var fs44 = __require("fs");
514477
+ var fs45 = __require("fs");
514478
514478
  var dirname24 = path78.dirname;
514479
514479
  var basename10 = path78.basename;
514480
514480
  var extname3 = path78.extname;
514481
- var join29 = path78.join;
514481
+ var join30 = path78.join;
514482
514482
  var resolve11 = path78.resolve;
514483
514483
  module2.exports = View;
514484
514484
  function View(name16, options8) {
@@ -514526,12 +514526,12 @@ var require_view = __commonJS({
514526
514526
  };
514527
514527
  View.prototype.resolve = function resolve12(dir, file2) {
514528
514528
  var ext2 = this.ext;
514529
- var path79 = join29(dir, file2);
514529
+ var path79 = join30(dir, file2);
514530
514530
  var stat11 = tryStat(path79);
514531
514531
  if (stat11 && stat11.isFile()) {
514532
514532
  return path79;
514533
514533
  }
514534
- path79 = join29(dir, basename10(file2, ext2), "index" + ext2);
514534
+ path79 = join30(dir, basename10(file2, ext2), "index" + ext2);
514535
514535
  stat11 = tryStat(path79);
514536
514536
  if (stat11 && stat11.isFile()) {
514537
514537
  return path79;
@@ -514540,7 +514540,7 @@ var require_view = __commonJS({
514540
514540
  function tryStat(path79) {
514541
514541
  debug3('stat "%s"', path79);
514542
514542
  try {
514543
- return fs44.statSync(path79);
514543
+ return fs45.statSync(path79);
514544
514544
  } catch (e) {
514545
514545
  return void 0;
514546
514546
  }
@@ -514856,7 +514856,7 @@ var require_mime = __commonJS({
514856
514856
  "../../../../node_modules/.pnpm/mime@1.6.0/node_modules/mime/mime.js"(exports2, module2) {
514857
514857
  init_cjs_shims();
514858
514858
  var path78 = __require("path");
514859
- var fs44 = __require("fs");
514859
+ var fs45 = __require("fs");
514860
514860
  function Mime() {
514861
514861
  this.types = /* @__PURE__ */ Object.create(null);
514862
514862
  this.extensions = /* @__PURE__ */ Object.create(null);
@@ -514877,7 +514877,7 @@ var require_mime = __commonJS({
514877
514877
  };
514878
514878
  Mime.prototype.load = function(file2) {
514879
514879
  this._loading = file2;
514880
- var map3 = {}, content12 = fs44.readFileSync(file2, "ascii"), lines = content12.split(/[\r\n]+/);
514880
+ var map3 = {}, content12 = fs45.readFileSync(file2, "ascii"), lines = content12.split(/[\r\n]+/);
514881
514881
  lines.forEach(function(line3) {
514882
514882
  var fields = line3.replace(/\s*#.*|^\s*|\s*$/g, "").split(/\s+/);
514883
514883
  map3[fields.shift()] = fields;
@@ -515001,7 +515001,7 @@ var require_send = __commonJS({
515001
515001
  var escapeHtml2 = require_escape_html();
515002
515002
  var etag = require_etag();
515003
515003
  var fresh = require_fresh();
515004
- var fs44 = __require("fs");
515004
+ var fs45 = __require("fs");
515005
515005
  var mime = require_mime();
515006
515006
  var ms = require_ms();
515007
515007
  var onFinished = require_on_finished();
@@ -515011,7 +515011,7 @@ var require_send = __commonJS({
515011
515011
  var Stream2 = __require("stream");
515012
515012
  var util5 = __require("util");
515013
515013
  var extname3 = path78.extname;
515014
- var join29 = path78.join;
515014
+ var join30 = path78.join;
515015
515015
  var normalize4 = path78.normalize;
515016
515016
  var resolve11 = path78.resolve;
515017
515017
  var sep3 = path78.sep;
@@ -515230,7 +515230,7 @@ var require_send = __commonJS({
515230
515230
  return res;
515231
515231
  }
515232
515232
  parts = path79.split(sep3);
515233
- path79 = normalize4(join29(root3, path79));
515233
+ path79 = normalize4(join30(root3, path79));
515234
515234
  } else {
515235
515235
  if (UP_PATH_REGEXP.test(path79)) {
515236
515236
  debug3('malicious path "%s"', path79);
@@ -515334,7 +515334,7 @@ var require_send = __commonJS({
515334
515334
  var i = 0;
515335
515335
  var self2 = this;
515336
515336
  debug3('stat "%s"', path79);
515337
- fs44.stat(path79, function onstat(err, stat11) {
515337
+ fs45.stat(path79, function onstat(err, stat11) {
515338
515338
  if (err && err.code === "ENOENT" && !extname3(path79) && path79[path79.length - 1] !== sep3) {
515339
515339
  return next2(err);
515340
515340
  }
@@ -515349,7 +515349,7 @@ var require_send = __commonJS({
515349
515349
  }
515350
515350
  var p = path79 + "." + self2._extensions[i++];
515351
515351
  debug3('stat "%s"', p);
515352
- fs44.stat(p, function(err2, stat11) {
515352
+ fs45.stat(p, function(err2, stat11) {
515353
515353
  if (err2) return next2(err2);
515354
515354
  if (stat11.isDirectory()) return next2();
515355
515355
  self2.emit("file", p, stat11);
@@ -515365,9 +515365,9 @@ var require_send = __commonJS({
515365
515365
  if (err) return self2.onStatError(err);
515366
515366
  return self2.error(404);
515367
515367
  }
515368
- var p = join29(path79, self2._index[i]);
515368
+ var p = join30(path79, self2._index[i]);
515369
515369
  debug3('stat "%s"', p);
515370
- fs44.stat(p, function(err2, stat11) {
515370
+ fs45.stat(p, function(err2, stat11) {
515371
515371
  if (err2) return next2(err2);
515372
515372
  if (stat11.isDirectory()) return next2();
515373
515373
  self2.emit("file", p, stat11);
@@ -515379,7 +515379,7 @@ var require_send = __commonJS({
515379
515379
  SendStream.prototype.stream = function stream5(path79, options8) {
515380
515380
  var self2 = this;
515381
515381
  var res = this.res;
515382
- var stream6 = fs44.createReadStream(path79, options8);
515382
+ var stream6 = fs45.createReadStream(path79, options8);
515383
515383
  this.emit("stream", stream6);
515384
515384
  stream6.pipe(res);
515385
515385
  function cleanup() {
@@ -520782,7 +520782,7 @@ init_cjs_shims();
520782
520782
  // ../sdk/package.json
520783
520783
  var package_default = {
520784
520784
  name: "@superblocksteam/sdk",
520785
- version: "2.0.115-next.1",
520785
+ version: "2.0.115",
520786
520786
  description: "Superblocks JS SDK",
520787
520787
  homepage: "https://www.superblocks.com",
520788
520788
  license: "Superblocks Community Software License",
@@ -521144,7 +521144,7 @@ var config = void 0;
521144
521144
  var configured = false;
521145
521145
  var ddTracePromise = void 0;
521146
521146
  async function getDdTrace() {
521147
- ddTracePromise ??= import("./dd-trace-C5THKVDW.js").then((module2) => module2.default);
521147
+ ddTracePromise ??= import("./dd-trace-PUY57IPO.js").then((module2) => module2.default);
521148
521148
  return await ddTracePromise;
521149
521149
  }
521150
521150
  var deploymentType = (() => {
@@ -530802,7 +530802,7 @@ var MAX_ATTRIBUTE_LENGTH = 64e3;
530802
530802
  var LLMObsSpanWriter = null;
530803
530803
  async function loadLLMObsSpanWriter() {
530804
530804
  if (!LLMObsSpanWriter) {
530805
- const module2 = await import("./spans-QJHO623A.js");
530805
+ const module2 = await import("./spans-F7VE54SP.js");
530806
530806
  LLMObsSpanWriter = module2.default;
530807
530807
  }
530808
530808
  return LLMObsSpanWriter;
@@ -540783,40 +540783,40 @@ var RESOLUTION_EXTENSIONS = [".ts", ".tsx", ".js"];
540783
540783
  async function parseSdkRegistryEntryPoints(registryContent, pathExists3) {
540784
540784
  return parseSdkRegistryFromContent(registryContent, (importPath) => resolveImportPath(importPath, pathExists3));
540785
540785
  }
540786
- async function readSdkRegistryEntryPoints(fs44) {
540786
+ async function readSdkRegistryEntryPoints(fs45) {
540787
540787
  try {
540788
- if (!await fs44.pathExists(SDK_REGISTRY_PATH)) {
540788
+ if (!await fs45.pathExists(SDK_REGISTRY_PATH)) {
540789
540789
  return /* @__PURE__ */ new Map();
540790
540790
  }
540791
- const registryContent = await fs44.readFile(SDK_REGISTRY_PATH);
540792
- return parseSdkRegistryEntryPoints(registryContent, fs44.pathExists);
540791
+ const registryContent = await fs45.readFile(SDK_REGISTRY_PATH);
540792
+ return parseSdkRegistryEntryPoints(registryContent, fs45.pathExists);
540793
540793
  } catch (error40) {
540794
540794
  getLogger3().warn(`[sdk-registry] Failed to read or parse SDK registry at ${SDK_REGISTRY_PATH}`, error40 instanceof Error ? error40.message : String(error40));
540795
540795
  return /* @__PURE__ */ new Map();
540796
540796
  }
540797
540797
  }
540798
- async function readSdkRegistryEntries(fs44) {
540798
+ async function readSdkRegistryEntries(fs45) {
540799
540799
  try {
540800
- if (!await fs44.pathExists(SDK_REGISTRY_PATH)) {
540800
+ if (!await fs45.pathExists(SDK_REGISTRY_PATH)) {
540801
540801
  return /* @__PURE__ */ new Map();
540802
540802
  }
540803
- const registryContent = await fs44.readFile(SDK_REGISTRY_PATH);
540804
- return parseSdkRegistryEntries(registryContent, (importPath) => resolveImportPath(importPath, fs44.pathExists));
540803
+ const registryContent = await fs45.readFile(SDK_REGISTRY_PATH);
540804
+ return parseSdkRegistryEntries(registryContent, (importPath) => resolveImportPath(importPath, fs45.pathExists));
540805
540805
  } catch (error40) {
540806
540806
  getLogger3().warn(`[sdk-registry] Failed to read or parse SDK registry at ${SDK_REGISTRY_PATH}`, error40 instanceof Error ? error40.message : String(error40));
540807
540807
  return /* @__PURE__ */ new Map();
540808
540808
  }
540809
540809
  }
540810
- async function resolveSdkApiEntryPoint(apiName, fs44, cachedEntryPoints) {
540810
+ async function resolveSdkApiEntryPoint(apiName, fs45, cachedEntryPoints) {
540811
540811
  const cached2 = cachedEntryPoints?.get(apiName);
540812
540812
  if (cached2 !== void 0) {
540813
540813
  return cached2;
540814
540814
  }
540815
- const entryPoints = await readSdkRegistryEntryPoints(fs44);
540815
+ const entryPoints = await readSdkRegistryEntryPoints(fs45);
540816
540816
  return entryPoints.get(apiName);
540817
540817
  }
540818
- async function resolveSdkApiEntry(apiName, fs44) {
540819
- const entries = await readSdkRegistryEntries(fs44);
540818
+ async function resolveSdkApiEntry(apiName, fs45) {
540819
+ const entries = await readSdkRegistryEntries(fs45);
540820
540820
  return entries.get(apiName);
540821
540821
  }
540822
540822
  async function resolveImportPath(importPath, pathExists3) {
@@ -553022,7 +553022,7 @@ Behavior:
553022
553022
  const leaseResponse = await services.rpcClient.call(async (client) => {
553023
553023
  return await client.call.v1.ai.resolveAttachmentLeases({
553024
553024
  attachments: leaseReferences,
553025
- scopedToken: scopedToken ? `Bearer ${scopedToken}` : "",
553025
+ scopedToken,
553026
553026
  superblocksBaseUrl: services.superblocksBaseUrl
553027
553027
  });
553028
553028
  });
@@ -559662,8 +559662,8 @@ var PathScurryBase = class {
559662
559662
  *
559663
559663
  * @internal
559664
559664
  */
559665
- constructor(cwd = process.cwd(), pathImpl, sep3, { nocase, childrenCacheSize = 16 * 1024, fs: fs44 = defaultFS } = {}) {
559666
- this.#fs = fsFromOption(fs44);
559665
+ constructor(cwd = process.cwd(), pathImpl, sep3, { nocase, childrenCacheSize = 16 * 1024, fs: fs45 = defaultFS } = {}) {
559666
+ this.#fs = fsFromOption(fs45);
559667
559667
  if (cwd instanceof URL || cwd.startsWith("file://")) {
559668
559668
  cwd = fileURLToPath(cwd);
559669
559669
  }
@@ -560221,8 +560221,8 @@ var PathScurryWin32 = class extends PathScurryBase {
560221
560221
  /**
560222
560222
  * @internal
560223
560223
  */
560224
- newRoot(fs44) {
560225
- return new PathWin32(this.rootPath, IFDIR, void 0, this.roots, this.nocase, this.childrenCache(), { fs: fs44 });
560224
+ newRoot(fs45) {
560225
+ return new PathWin32(this.rootPath, IFDIR, void 0, this.roots, this.nocase, this.childrenCache(), { fs: fs45 });
560226
560226
  }
560227
560227
  /**
560228
560228
  * Return true if the provided path string is an absolute path
@@ -560250,8 +560250,8 @@ var PathScurryPosix = class extends PathScurryBase {
560250
560250
  /**
560251
560251
  * @internal
560252
560252
  */
560253
- newRoot(fs44) {
560254
- return new PathPosix(this.rootPath, IFDIR, void 0, this.roots, this.nocase, this.childrenCache(), { fs: fs44 });
560253
+ newRoot(fs45) {
560254
+ return new PathPosix(this.rootPath, IFDIR, void 0, this.roots, this.nocase, this.childrenCache(), { fs: fs45 });
560255
560255
  }
560256
560256
  /**
560257
560257
  * Return true if the provided path string is an absolute path
@@ -605394,7 +605394,7 @@ var PlaywrightMcpServerManager = class {
605394
605394
  this.logger.info(`Starting embedded Playwright MCP server: browser=${options8?.browser || "chromium"}, headless=${options8?.headless !== false}`);
605395
605395
  }
605396
605396
  try {
605397
- const { startEmbeddedPlaywrightMcpServer } = await import("./embedded-playwright-mcp-server-WVTTYU3Q.js");
605397
+ const { startEmbeddedPlaywrightMcpServer } = await import("./embedded-playwright-mcp-server-GH2GKXC5.js");
605398
605398
  this.server = await startEmbeddedPlaywrightMcpServer({
605399
605399
  storageStatePath: options8?.storageStatePath,
605400
605400
  jwt: options8?.jwt,
@@ -608178,6 +608178,18 @@ Address the errors and return the fixed code.`;
608178
608178
  clark.updateContext({
608179
608179
  chatmessageId
608180
608180
  });
608181
+ const isTypedOverride = request3.responseMetadata.type === "multi_choice_response" && request3.responseMetadata.selectedChoiceIndices.length === 0 || request3.responseMetadata.type === "plan_response" && !request3.responseMetadata.approved;
608182
+ if (isTypedOverride) {
608183
+ void clark.context.peer.call.aiPushMessage({
608184
+ role: "user",
608185
+ type: "text",
608186
+ content: request3.prompt,
608187
+ id: chatmessageId,
608188
+ timestamp: Date.now()
608189
+ }).catch((err) => {
608190
+ getLogger3().warn("[agent-planning] Failed to echo user response to UI", err);
608191
+ });
608192
+ }
608181
608193
  }
608182
608194
  if (isIntegrationActionResponse) {
608183
608195
  const selectedResponseText = request3.prompt.trim().toLowerCase();
@@ -656748,8 +656760,8 @@ var require_utils33 = __commonJS3({
656748
656760
  exports2.array = array22;
656749
656761
  var errno = require_errno2();
656750
656762
  exports2.errno = errno;
656751
- var fs44 = require_fs5();
656752
- exports2.fs = fs44;
656763
+ var fs45 = require_fs5();
656764
+ exports2.fs = fs45;
656753
656765
  var path152 = require_path5();
656754
656766
  exports2.path = path152;
656755
656767
  var pattern = require_pattern5();
@@ -656925,12 +656937,12 @@ var require_fs22 = __commonJS3({
656925
656937
  "use strict";
656926
656938
  Object.defineProperty(exports2, "__esModule", { value: true });
656927
656939
  exports2.createFileSystemAdapter = exports2.FILE_SYSTEM_ADAPTER = void 0;
656928
- var fs44 = __require2("fs");
656940
+ var fs45 = __require2("fs");
656929
656941
  exports2.FILE_SYSTEM_ADAPTER = {
656930
- lstat: fs44.lstat,
656931
- stat: fs44.stat,
656932
- lstatSync: fs44.lstatSync,
656933
- statSync: fs44.statSync
656942
+ lstat: fs45.lstat,
656943
+ stat: fs45.stat,
656944
+ lstatSync: fs45.lstatSync,
656945
+ statSync: fs45.statSync
656934
656946
  };
656935
656947
  function createFileSystemAdapter(fsMethods) {
656936
656948
  if (fsMethods === void 0) {
@@ -656945,12 +656957,12 @@ var require_settings5 = __commonJS3({
656945
656957
  "node_modules/@nodelib/fs.stat/out/settings.js"(exports2) {
656946
656958
  "use strict";
656947
656959
  Object.defineProperty(exports2, "__esModule", { value: true });
656948
- var fs44 = require_fs22();
656960
+ var fs45 = require_fs22();
656949
656961
  var Settings = class {
656950
656962
  constructor(_options = {}) {
656951
656963
  this._options = _options;
656952
656964
  this.followSymbolicLink = this._getValue(this._options.followSymbolicLink, true);
656953
- this.fs = fs44.createFileSystemAdapter(this._options.fs);
656965
+ this.fs = fs45.createFileSystemAdapter(this._options.fs);
656954
656966
  this.markSymbolicLink = this._getValue(this._options.markSymbolicLink, false);
656955
656967
  this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);
656956
656968
  }
@@ -657093,8 +657105,8 @@ var require_utils42 = __commonJS3({
657093
657105
  "use strict";
657094
657106
  Object.defineProperty(exports2, "__esModule", { value: true });
657095
657107
  exports2.fs = void 0;
657096
- var fs44 = require_fs32();
657097
- exports2.fs = fs44;
657108
+ var fs45 = require_fs32();
657109
+ exports2.fs = fs45;
657098
657110
  }
657099
657111
  });
657100
657112
  var require_common8 = __commonJS3({
@@ -657281,14 +657293,14 @@ var require_fs42 = __commonJS3({
657281
657293
  "use strict";
657282
657294
  Object.defineProperty(exports2, "__esModule", { value: true });
657283
657295
  exports2.createFileSystemAdapter = exports2.FILE_SYSTEM_ADAPTER = void 0;
657284
- var fs44 = __require2("fs");
657296
+ var fs45 = __require2("fs");
657285
657297
  exports2.FILE_SYSTEM_ADAPTER = {
657286
- lstat: fs44.lstat,
657287
- stat: fs44.stat,
657288
- lstatSync: fs44.lstatSync,
657289
- statSync: fs44.statSync,
657290
- readdir: fs44.readdir,
657291
- readdirSync: fs44.readdirSync
657298
+ lstat: fs45.lstat,
657299
+ stat: fs45.stat,
657300
+ lstatSync: fs45.lstatSync,
657301
+ statSync: fs45.statSync,
657302
+ readdir: fs45.readdir,
657303
+ readdirSync: fs45.readdirSync
657292
657304
  };
657293
657305
  function createFileSystemAdapter(fsMethods) {
657294
657306
  if (fsMethods === void 0) {
@@ -657305,12 +657317,12 @@ var require_settings22 = __commonJS3({
657305
657317
  Object.defineProperty(exports2, "__esModule", { value: true });
657306
657318
  var path152 = __require2("path");
657307
657319
  var fsStat = require_out5();
657308
- var fs44 = require_fs42();
657320
+ var fs45 = require_fs42();
657309
657321
  var Settings = class {
657310
657322
  constructor(_options = {}) {
657311
657323
  this._options = _options;
657312
657324
  this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, false);
657313
- this.fs = fs44.createFileSystemAdapter(this._options.fs);
657325
+ this.fs = fs45.createFileSystemAdapter(this._options.fs);
657314
657326
  this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path152.sep);
657315
657327
  this.stats = this._getValue(this._options.stats, false);
657316
657328
  this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);
@@ -658614,16 +658626,16 @@ var require_settings42 = __commonJS3({
658614
658626
  "use strict";
658615
658627
  Object.defineProperty(exports2, "__esModule", { value: true });
658616
658628
  exports2.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
658617
- var fs44 = __require2("fs");
658629
+ var fs45 = __require2("fs");
658618
658630
  var os8 = __require2("os");
658619
658631
  var CPU_COUNT = Math.max(os8.cpus().length, 1);
658620
658632
  exports2.DEFAULT_FILE_SYSTEM_ADAPTER = {
658621
- lstat: fs44.lstat,
658622
- lstatSync: fs44.lstatSync,
658623
- stat: fs44.stat,
658624
- statSync: fs44.statSync,
658625
- readdir: fs44.readdir,
658626
- readdirSync: fs44.readdirSync
658633
+ lstat: fs45.lstat,
658634
+ lstatSync: fs45.lstatSync,
658635
+ stat: fs45.stat,
658636
+ statSync: fs45.statSync,
658637
+ readdir: fs45.readdir,
658638
+ readdirSync: fs45.readdirSync
658627
658639
  };
658628
658640
  var Settings = class {
658629
658641
  constructor(_options = {}) {
@@ -660847,7 +660859,7 @@ var require_ini = __commonJS3({
660847
660859
  return result;
660848
660860
  };
660849
660861
  Object.defineProperty(exports2, "__esModule", { value: true });
660850
- var fs44 = __importStar(__require2("fs"));
660862
+ var fs45 = __importStar(__require2("fs"));
660851
660863
  var regex = {
660852
660864
  section: /^\s*\[(([^#;]|\\#|\\;)+)\]\s*([#;].*)?$/,
660853
660865
  param: /^\s*([\w\.\-\_]+)\s*[=:]\s*(.*?)\s*([#;].*)?$/,
@@ -660857,7 +660869,7 @@ var require_ini = __commonJS3({
660857
660869
  return __awaiter(this, void 0, void 0, function() {
660858
660870
  return __generator(this, function(_a21) {
660859
660871
  return [2, new Promise(function(resolve32, reject) {
660860
- fs44.readFile(file2, "utf8", function(err, data3) {
660872
+ fs45.readFile(file2, "utf8", function(err, data3) {
660861
660873
  if (err) {
660862
660874
  reject(err);
660863
660875
  return;
@@ -660870,7 +660882,7 @@ var require_ini = __commonJS3({
660870
660882
  }
660871
660883
  exports2.parse = parse72;
660872
660884
  function parseSync(file2) {
660873
- return parseString2(fs44.readFileSync(file2, "utf8"));
660885
+ return parseString2(fs45.readFileSync(file2, "utf8"));
660874
660886
  }
660875
660887
  exports2.parseSync = parseSync;
660876
660888
  function parseString2(data3) {
@@ -661070,7 +661082,7 @@ var require_src41 = __commonJS3({
661070
661082
  return mod2 && mod2.__esModule ? mod2 : { "default": mod2 };
661071
661083
  };
661072
661084
  Object.defineProperty(exports2, "__esModule", { value: true });
661073
- var fs44 = __importStar(__require2("fs"));
661085
+ var fs45 = __importStar(__require2("fs"));
661074
661086
  var path152 = __importStar(__require2("path"));
661075
661087
  var semver3 = {
661076
661088
  gte: require_gte3()
@@ -661202,7 +661214,7 @@ var require_src41 = __commonJS3({
661202
661214
  return __generator(this, function(_a21) {
661203
661215
  return [2, Promise.all(filepaths.map(function(name16) {
661204
661216
  return new Promise(function(resolve32) {
661205
- fs44.readFile(name16, "utf8", function(err, data3) {
661217
+ fs45.readFile(name16, "utf8", function(err, data3) {
661206
661218
  resolve32({
661207
661219
  name: name16,
661208
661220
  contents: err ? "" : data3
@@ -661218,7 +661230,7 @@ var require_src41 = __commonJS3({
661218
661230
  var file2;
661219
661231
  filepaths.forEach(function(filepath) {
661220
661232
  try {
661221
- file2 = fs44.readFileSync(filepath, "utf8");
661233
+ file2 = fs45.readFileSync(filepath, "utf8");
661222
661234
  } catch (e) {
661223
661235
  file2 = "";
661224
661236
  }
@@ -661702,7 +661714,7 @@ var require_js_tokens2 = __commonJS3({
661702
661714
  var require_readlines = __commonJS3({
661703
661715
  "node_modules/n-readlines/readlines.js"(exports2, module2) {
661704
661716
  "use strict";
661705
- var fs44 = __require2("fs");
661717
+ var fs45 = __require2("fs");
661706
661718
  var LineByLine = class {
661707
661719
  constructor(file2, options8) {
661708
661720
  options8 = options8 || {};
@@ -661715,7 +661727,7 @@ var require_readlines = __commonJS3({
661715
661727
  if (typeof file2 === "number") {
661716
661728
  this.fd = file2;
661717
661729
  } else {
661718
- this.fd = fs44.openSync(file2, "r");
661730
+ this.fd = fs45.openSync(file2, "r");
661719
661731
  }
661720
661732
  this.options = options8;
661721
661733
  this.newLineCharacter = options8.newLineCharacter;
@@ -661738,7 +661750,7 @@ var require_readlines = __commonJS3({
661738
661750
  this.fdPosition = 0;
661739
661751
  }
661740
661752
  close() {
661741
- fs44.closeSync(this.fd);
661753
+ fs45.closeSync(this.fd);
661742
661754
  this.fd = null;
661743
661755
  }
661744
661756
  _extractLines(buffer2) {
@@ -661768,7 +661780,7 @@ var require_readlines = __commonJS3({
661768
661780
  const buffers = [];
661769
661781
  do {
661770
661782
  const readBuffer = Buffer.alloc(this.options.readChunk);
661771
- bytesRead = fs44.readSync(this.fd, readBuffer, 0, this.options.readChunk, this.fdPosition);
661783
+ bytesRead = fs45.readSync(this.fd, readBuffer, 0, this.options.readChunk, this.fdPosition);
661772
661784
  totalBytesRead = totalBytesRead + bytesRead;
661773
661785
  this.fdPosition = this.fdPosition + bytesRead;
661774
661786
  buffers.push(readBuffer);
@@ -665662,7 +665674,7 @@ var parseYaml3;
665662
665674
  async function loadYaml(file2) {
665663
665675
  const content12 = await read_file_default(file2);
665664
665676
  if (!parseYaml3) {
665665
- ({ __parsePrettierYamlConfig: parseYaml3 } = await import("./yaml-MO3R4OR5.js"));
665677
+ ({ __parsePrettierYamlConfig: parseYaml3 } = await import("./yaml-3FCKXJUU.js"));
665666
665678
  }
665667
665679
  try {
665668
665680
  return parseYaml3(content12);
@@ -671056,7 +671068,7 @@ function createParsersAndPrinters(modules) {
671056
671068
  }
671057
671069
  var estreePlugin = createParsersAndPrinters([
671058
671070
  {
671059
- importPlugin: () => import("./estree-SYEWSGYF.js"),
671071
+ importPlugin: () => import("./estree-ECXZGDIF.js"),
671060
671072
  printers: ["estree", "estree-json"]
671061
671073
  }
671062
671074
  ]);
@@ -671080,11 +671092,11 @@ var languages = [
671080
671092
  ];
671081
671093
  var { parsers: parsers12, printers } = createParsersAndPrinters([
671082
671094
  {
671083
- importPlugin: () => import("./acorn-6FIX6HGW.js"),
671095
+ importPlugin: () => import("./acorn-JHRONFS4.js"),
671084
671096
  parsers: ["acorn", "espree"]
671085
671097
  },
671086
671098
  {
671087
- importPlugin: () => import("./angular-72OUAYXE.js"),
671099
+ importPlugin: () => import("./angular-QF52CYFI.js"),
671088
671100
  parsers: [
671089
671101
  "__ng_action",
671090
671102
  "__ng_binding",
@@ -671093,7 +671105,7 @@ var { parsers: parsers12, printers } = createParsersAndPrinters([
671093
671105
  ]
671094
671106
  },
671095
671107
  {
671096
- importPlugin: () => import("./babel-IVNHN2FN.js"),
671108
+ importPlugin: () => import("./babel-2DL24PRM.js"),
671097
671109
  parsers: [
671098
671110
  "babel",
671099
671111
  "babel-flow",
@@ -671112,44 +671124,44 @@ var { parsers: parsers12, printers } = createParsersAndPrinters([
671112
671124
  ]
671113
671125
  },
671114
671126
  {
671115
- importPlugin: () => import("./flow-3FYCOYO6.js"),
671127
+ importPlugin: () => import("./flow-ZS7G5ANK.js"),
671116
671128
  parsers: ["flow"]
671117
671129
  },
671118
671130
  {
671119
- importPlugin: () => import("./glimmer-BKLPUV4W.js"),
671131
+ importPlugin: () => import("./glimmer-J2VXEFY2.js"),
671120
671132
  parsers: ["glimmer"],
671121
671133
  printers: ["glimmer"]
671122
671134
  },
671123
671135
  {
671124
- importPlugin: () => import("./graphql-DZJWE5XU.js"),
671136
+ importPlugin: () => import("./graphql-RJDPOR6L.js"),
671125
671137
  parsers: ["graphql"],
671126
671138
  printers: ["graphql"]
671127
671139
  },
671128
671140
  {
671129
- importPlugin: () => import("./html-ADAJHV4U.js"),
671141
+ importPlugin: () => import("./html-7VSXMGZ5.js"),
671130
671142
  parsers: ["html", "angular", "vue", "lwc", "mjml"],
671131
671143
  printers: ["html"]
671132
671144
  },
671133
671145
  {
671134
- importPlugin: () => import("./markdown-INBGZDGH.js"),
671146
+ importPlugin: () => import("./markdown-PVFM5DAW.js"),
671135
671147
  parsers: ["markdown", "mdx", "remark"],
671136
671148
  printers: ["mdast"]
671137
671149
  },
671138
671150
  {
671139
- importPlugin: () => import("./meriyah-22ZC3PQP.js"),
671151
+ importPlugin: () => import("./meriyah-KZDBYX27.js"),
671140
671152
  parsers: ["meriyah"]
671141
671153
  },
671142
671154
  {
671143
- importPlugin: () => import("./postcss-XJFTWOZ2.js"),
671155
+ importPlugin: () => import("./postcss-2RPIRYGV.js"),
671144
671156
  parsers: ["css", "less", "scss"],
671145
671157
  printers: ["postcss"]
671146
671158
  },
671147
671159
  {
671148
- importPlugin: () => import("./typescript-VG6WEJ6Z.js"),
671160
+ importPlugin: () => import("./typescript-HX3PPXLS.js"),
671149
671161
  parsers: ["typescript"]
671150
671162
  },
671151
671163
  {
671152
- importPlugin: () => import("./yaml-MO3R4OR5.js"),
671164
+ importPlugin: () => import("./yaml-3FCKXJUU.js"),
671153
671165
  parsers: ["yaml"],
671154
671166
  printers: ["yaml"]
671155
671167
  }
@@ -675455,14 +675467,14 @@ async function resolveImportPath2(importPath, registryDir, root3, pathExists3) {
675455
675467
  }
675456
675468
 
675457
675469
  // ../sdk/dist/collect-sdk-apis.mjs
675458
- async function collectSdkApisFromRegistry(root3, fs44) {
675470
+ async function collectSdkApisFromRegistry(root3, fs45) {
675459
675471
  const sdkRegistryPath = path65.join(root3, "server/apis/index.ts");
675460
- if (!await fs44.pathExists(sdkRegistryPath)) {
675472
+ if (!await fs45.pathExists(sdkRegistryPath)) {
675461
675473
  return {};
675462
675474
  }
675463
- const registryContent = await fs44.readFile(sdkRegistryPath, "utf-8");
675475
+ const registryContent = await fs45.readFile(sdkRegistryPath, "utf-8");
675464
675476
  const registryDir = path65.dirname(sdkRegistryPath);
675465
- const keyToEntry = await parseSdkRegistryWithExportNames(registryContent, registryDir, root3, (p) => fs44.pathExists(p));
675477
+ const keyToEntry = await parseSdkRegistryWithExportNames(registryContent, registryDir, root3, (p) => fs45.pathExists(p));
675466
675478
  const sdkApis = {};
675467
675479
  for (const [apiName, registryEntry] of keyToEntry) {
675468
675480
  const entry = { entryPoint: registryEntry.entryPoint };
@@ -675471,7 +675483,7 @@ async function collectSdkApisFromRegistry(root3, fs44) {
675471
675483
  }
675472
675484
  const absolutePath = path65.join(root3, registryEntry.entryPoint);
675473
675485
  try {
675474
- const source2 = await fs44.readFile(absolutePath, "utf-8");
675486
+ const source2 = await fs45.readFile(absolutePath, "utf-8");
675475
675487
  const integrations = extractIntegrationsFromSource(source2);
675476
675488
  if (integrations.length > 0) {
675477
675489
  entry.integrations = integrations;
@@ -683462,6 +683474,73 @@ function vitePlugins(root3, opts) {
683462
683474
  })
683463
683475
  ];
683464
683476
  }
683477
+ async function createWorkspacePersistArchive(root3) {
683478
+ return new Promise((resolveArchive, rejectArchive) => {
683479
+ const tarProc = child_process3.spawn("tar", [
683480
+ "cf",
683481
+ "-",
683482
+ "--exclude",
683483
+ ".git",
683484
+ "--exclude",
683485
+ "node_modules",
683486
+ "--exclude",
683487
+ ".superblocks",
683488
+ "-C",
683489
+ root3,
683490
+ "."
683491
+ ], { stdio: ["ignore", "pipe", "pipe"] });
683492
+ const zstdProc = child_process3.spawn("zstd", ["-1", "--no-progress"], {
683493
+ stdio: ["pipe", "pipe", "pipe"]
683494
+ });
683495
+ let settled = false;
683496
+ let tarExitCode;
683497
+ let zstdExitCode;
683498
+ const rejectOnce = (error40) => {
683499
+ if (settled) {
683500
+ return;
683501
+ }
683502
+ settled = true;
683503
+ rejectArchive(error40);
683504
+ };
683505
+ tarProc.stdout.pipe(zstdProc.stdin);
683506
+ zstdProc.stdin.on("error", (err) => {
683507
+ rejectOnce(new Error(`zstd stdin stream error: ${err.message}`));
683508
+ });
683509
+ const chunks = [];
683510
+ zstdProc.stdout.on("data", (chunk) => chunks.push(chunk));
683511
+ let tarStderr = "";
683512
+ let zstdStderr = "";
683513
+ tarProc.stderr.on("data", (chunk) => {
683514
+ tarStderr += chunk.toString();
683515
+ });
683516
+ zstdProc.stderr.on("data", (chunk) => {
683517
+ zstdStderr += chunk.toString();
683518
+ });
683519
+ const finishIfClosed = () => {
683520
+ if (settled || tarExitCode === void 0 || zstdExitCode === void 0) {
683521
+ return;
683522
+ }
683523
+ settled = true;
683524
+ if (zstdExitCode !== 0) {
683525
+ rejectArchive(new Error(`zstd compression failed (code ${zstdExitCode}): ${zstdStderr}`));
683526
+ } else if (tarExitCode !== 0) {
683527
+ rejectArchive(new Error(`tar archival failed (code ${tarExitCode}): ${tarStderr}`));
683528
+ } else {
683529
+ resolveArchive(Buffer.concat(chunks));
683530
+ }
683531
+ };
683532
+ tarProc.on("close", (code2) => {
683533
+ tarExitCode = code2;
683534
+ finishIfClosed();
683535
+ });
683536
+ zstdProc.on("close", (code2) => {
683537
+ zstdExitCode = code2;
683538
+ finishIfClosed();
683539
+ });
683540
+ tarProc.on("error", rejectOnce);
683541
+ zstdProc.on("error", rejectOnce);
683542
+ });
683543
+ }
683465
683544
  var RESTART_EXIT_CODE = 98;
683466
683545
  function getJwksUriWithBaseUrl(superblocksBaseUrl) {
683467
683546
  if (process.env.SUPERBLOCKS_JWKS_URI) {
@@ -683762,52 +683841,7 @@ async function createDevServer({ root: root3, mode, fsOperationQueue, syncServic
683762
683841
  return;
683763
683842
  }
683764
683843
  logger16.info("/_sb_persist: archiving and uploading workspace to S3...");
683765
- const archive = await new Promise((resolveArchive, rejectArchive) => {
683766
- const tarProc = child_process3.spawn("tar", [
683767
- "cf",
683768
- "-",
683769
- "--exclude",
683770
- ".git",
683771
- "--exclude",
683772
- "node_modules/.cache",
683773
- "--exclude",
683774
- ".superblocks",
683775
- "-C",
683776
- process.cwd(),
683777
- "."
683778
- ], { stdio: ["ignore", "pipe", "pipe"] });
683779
- const zstdProc = child_process3.spawn("zstd", ["-1", "--no-progress"], {
683780
- stdio: ["pipe", "pipe", "pipe"]
683781
- });
683782
- tarProc.stdout.pipe(zstdProc.stdin);
683783
- zstdProc.stdin.on("error", (err) => {
683784
- rejectArchive(new Error(`zstd stdin stream error: ${err.message}`));
683785
- });
683786
- const chunks = [];
683787
- zstdProc.stdout.on("data", (chunk) => chunks.push(chunk));
683788
- let stderr = "";
683789
- tarProc.stderr.on("data", (chunk) => {
683790
- stderr += chunk.toString();
683791
- });
683792
- zstdProc.stderr.on("data", (chunk) => {
683793
- stderr += chunk.toString();
683794
- });
683795
- let tarExitCode = null;
683796
- tarProc.on("close", (code2) => {
683797
- tarExitCode = code2;
683798
- });
683799
- zstdProc.on("close", (code2) => {
683800
- if (code2 !== 0) {
683801
- rejectArchive(new Error(`zstd compression failed (code ${code2}): ${stderr}`));
683802
- } else if (tarExitCode !== null && tarExitCode !== 0) {
683803
- rejectArchive(new Error(`tar archival failed (code ${tarExitCode}): ${stderr}`));
683804
- } else {
683805
- resolveArchive(Buffer.concat(chunks));
683806
- }
683807
- });
683808
- tarProc.on("error", rejectArchive);
683809
- zstdProc.on("error", rejectArchive);
683810
- });
683844
+ const archive = await createWorkspacePersistArchive(process.cwd());
683811
683845
  logger16.info(`/_sb_persist: archive created (${(archive.length / 1024 / 1024).toFixed(1)}MB) in ${Date.now() - persistStart}ms, uploading...`);
683812
683846
  const uploadStart = Date.now();
683813
683847
  const uploadResp = await fetch(uploadURL, {
@@ -684281,6 +684315,209 @@ async function isSocketAlive(socketPath) {
684281
684315
  });
684282
684316
  }
684283
684317
 
684318
+ // ../sdk/dist/cli-replacement/package-json-snapshot.mjs
684319
+ init_cjs_shims();
684320
+ import { createHash as createHash4 } from "node:crypto";
684321
+ import * as fs42 from "node:fs/promises";
684322
+ import { join as join28 } from "node:path";
684323
+ var SUPERBLOCKS_LIBRARY_PACKAGE = "@superblocksteam/library";
684324
+ var SUPERBLOCKS_SDK_API_PACKAGE = "@superblocksteam/sdk-api";
684325
+ var MANAGED_PACKAGE_DEPENDENCIES = [
684326
+ SUPERBLOCKS_LIBRARY_PACKAGE,
684327
+ SUPERBLOCKS_SDK_API_PACKAGE
684328
+ ];
684329
+ var PACKAGE_DEPENDENCY_FIELDS = [
684330
+ "dependencies",
684331
+ "devDependencies",
684332
+ "peerDependencies",
684333
+ "optionalDependencies"
684334
+ ];
684335
+ var PACKAGE_INSTALL_METADATA_FIELDS = [
684336
+ "dependenciesMeta",
684337
+ "devEngines",
684338
+ "engines",
684339
+ "overrides",
684340
+ "packageManager",
684341
+ "peerDependenciesMeta",
684342
+ "pnpm",
684343
+ "resolutions",
684344
+ "workspaces"
684345
+ ];
684346
+ var PACKAGE_BUNDLE_DEPENDENCIES_FIELDS = [
684347
+ "bundleDependencies",
684348
+ "bundledDependencies"
684349
+ ];
684350
+ function packageJsonSnapshot(packageJson) {
684351
+ const packageJsonObject = packageJsonRecord(packageJson);
684352
+ const normalized = PACKAGE_DEPENDENCY_FIELDS.reduce((acc, field) => {
684353
+ const dependencies = packageJsonObject ? dependencyMap(packageJsonObject, field) : void 0;
684354
+ if (dependencies) {
684355
+ acc[field] = dependencies;
684356
+ }
684357
+ return acc;
684358
+ }, {});
684359
+ if (packageJsonObject) {
684360
+ const bundleDependenciesField = PACKAGE_BUNDLE_DEPENDENCIES_FIELDS.find((field) => Object.prototype.hasOwnProperty.call(packageJsonObject, field));
684361
+ if (bundleDependenciesField) {
684362
+ normalized.bundleDependencies = packageJsonObject[bundleDependenciesField];
684363
+ }
684364
+ for (const field of PACKAGE_INSTALL_METADATA_FIELDS) {
684365
+ if (Object.prototype.hasOwnProperty.call(packageJsonObject, field)) {
684366
+ normalized[field] = packageJsonObject[field];
684367
+ }
684368
+ }
684369
+ }
684370
+ const value2 = stableStringify(normalized);
684371
+ return {
684372
+ value: value2,
684373
+ diagnostic: {
684374
+ sha256: createHash4("sha256").update(value2).digest("hex"),
684375
+ bytes: Buffer.byteLength(value2)
684376
+ }
684377
+ };
684378
+ }
684379
+ function didPackageJsonSnapshotChange(before2, after2) {
684380
+ if (before2?.value === after2?.value) {
684381
+ return false;
684382
+ }
684383
+ return after2 !== null;
684384
+ }
684385
+ function packageJsonSnapshotDiagnostic(snapshot) {
684386
+ if (snapshot === null) {
684387
+ return { present: false };
684388
+ }
684389
+ return {
684390
+ present: true,
684391
+ ...snapshot.diagnostic
684392
+ };
684393
+ }
684394
+ function stableStringify(value2) {
684395
+ return stableStringifyValue(value2) ?? "null";
684396
+ }
684397
+ function stableStringifyValue(value2) {
684398
+ if (value2 === void 0) {
684399
+ return void 0;
684400
+ }
684401
+ if (Array.isArray(value2)) {
684402
+ const items = value2.map((item) => stableStringifyValue(item) ?? "null");
684403
+ return `[${items.join(",")}]`;
684404
+ }
684405
+ if (value2 && typeof value2 === "object") {
684406
+ const object2 = value2;
684407
+ const entries = Object.keys(object2).sort().flatMap((key2) => {
684408
+ const serializedValue = stableStringifyValue(object2[key2]);
684409
+ return serializedValue === void 0 ? [] : [`${JSON.stringify(key2)}:${serializedValue}`];
684410
+ });
684411
+ return `{${entries.join(",")}}`;
684412
+ }
684413
+ const serialized = JSON.stringify(value2);
684414
+ return serialized === void 0 ? void 0 : serialized;
684415
+ }
684416
+ function packageJsonRecord(packageJson) {
684417
+ if (!packageJson || typeof packageJson !== "object" || Array.isArray(packageJson)) {
684418
+ return null;
684419
+ }
684420
+ return packageJson;
684421
+ }
684422
+ function dependencyMap(packageJson, field) {
684423
+ const dependencies = packageJson[field];
684424
+ if (dependencies && typeof dependencies === "object" && !Array.isArray(dependencies)) {
684425
+ return dependencies;
684426
+ }
684427
+ return void 0;
684428
+ }
684429
+ function packageDependencySpecs(packageJson, packageName) {
684430
+ return PACKAGE_DEPENDENCY_FIELDS.flatMap((field) => {
684431
+ const dependencies = dependencyMap(packageJson, field);
684432
+ if (dependencies && Object.prototype.hasOwnProperty.call(dependencies, packageName)) {
684433
+ return [{ field, value: dependencies[packageName] }];
684434
+ }
684435
+ return [];
684436
+ });
684437
+ }
684438
+ function dependencySpecEquals(a, b) {
684439
+ return JSON.stringify(a) === JSON.stringify(b);
684440
+ }
684441
+ async function readPackageJson2(cwd) {
684442
+ return (await readPackageJsonFile(cwd))?.packageJson ?? null;
684443
+ }
684444
+ async function readPackageJsonFile(cwd) {
684445
+ try {
684446
+ const source2 = await fs42.readFile(join28(cwd, "package.json"), "utf-8");
684447
+ return {
684448
+ packageJson: JSON.parse(source2),
684449
+ source: source2
684450
+ };
684451
+ } catch {
684452
+ return null;
684453
+ }
684454
+ }
684455
+ function detectJsonIndent(source2) {
684456
+ return source2.match(/\n([ \t]+)"/)?.[1] ?? 2;
684457
+ }
684458
+ function hasFinalNewline(source2) {
684459
+ return source2.endsWith("\n");
684460
+ }
684461
+ async function readPackageJsonSnapshot(cwd) {
684462
+ const packageJson = await readPackageJson2(cwd);
684463
+ if (!packageJson) {
684464
+ return null;
684465
+ }
684466
+ return packageJsonSnapshot(packageJson);
684467
+ }
684468
+ async function readPackageJsonSnapshotWithSource(cwd) {
684469
+ const packageJson = await readPackageJson2(cwd);
684470
+ return {
684471
+ packageJson,
684472
+ snapshot: packageJson ? packageJsonSnapshot(packageJson) : null
684473
+ };
684474
+ }
684475
+ async function restoreManagedPackageDependencies(cwd, warmPackageJson) {
684476
+ const warmPackageJsonObject = packageJsonRecord(warmPackageJson);
684477
+ if (!warmPackageJsonObject) {
684478
+ return false;
684479
+ }
684480
+ const restoredPackageJsonFile = await readPackageJsonFile(cwd);
684481
+ if (!restoredPackageJsonFile) {
684482
+ return false;
684483
+ }
684484
+ const restoredPackageJson = packageJsonRecord(restoredPackageJsonFile.packageJson);
684485
+ if (!restoredPackageJson) {
684486
+ return false;
684487
+ }
684488
+ const restoredPackageJsonSource = restoredPackageJsonFile.source;
684489
+ let changed = false;
684490
+ for (const packageName of MANAGED_PACKAGE_DEPENDENCIES) {
684491
+ const [warmPackageSpec] = packageDependencySpecs(warmPackageJsonObject, packageName);
684492
+ if (!warmPackageSpec) {
684493
+ continue;
684494
+ }
684495
+ const restoredPackageSpecs = packageDependencySpecs(restoredPackageJson, packageName);
684496
+ if (restoredPackageSpecs.length === 1 && restoredPackageSpecs[0].field === warmPackageSpec.field && dependencySpecEquals(restoredPackageSpecs[0].value, warmPackageSpec.value)) {
684497
+ continue;
684498
+ }
684499
+ if (restoredPackageSpecs.length === 1 && restoredPackageSpecs[0].field === warmPackageSpec.field) {
684500
+ dependencyMap(restoredPackageJson, warmPackageSpec.field)[packageName] = warmPackageSpec.value;
684501
+ } else {
684502
+ for (const field of PACKAGE_DEPENDENCY_FIELDS) {
684503
+ delete dependencyMap(restoredPackageJson, field)?.[packageName];
684504
+ }
684505
+ let dependencies = dependencyMap(restoredPackageJson, warmPackageSpec.field);
684506
+ if (!dependencies) {
684507
+ dependencies = {};
684508
+ restoredPackageJson[warmPackageSpec.field] = dependencies;
684509
+ }
684510
+ dependencies[packageName] = warmPackageSpec.value;
684511
+ }
684512
+ changed = true;
684513
+ }
684514
+ if (!changed) {
684515
+ return false;
684516
+ }
684517
+ await fs42.writeFile(join28(cwd, "package.json"), JSON.stringify(restoredPackageJson, null, detectJsonIndent(restoredPackageJsonSource)) + (hasFinalNewline(restoredPackageJsonSource) ? "\n" : ""));
684518
+ return true;
684519
+ }
684520
+
684284
684521
  // ../sdk/dist/cli-replacement/dev.mjs
684285
684522
  init_cjs_shims();
684286
684523
  init_esm();
@@ -684299,7 +684536,7 @@ var import_shared77 = __toESM(require_dist2(), 1);
684299
684536
 
684300
684537
  // ../sdk/dist/cli-replacement/auth-hot-reload.mjs
684301
684538
  init_cjs_shims();
684302
- import * as fs42 from "node:fs/promises";
684539
+ import * as fs43 from "node:fs/promises";
684303
684540
  import * as net3 from "node:net";
684304
684541
  import * as path76 from "node:path";
684305
684542
  import * as readline from "node:readline";
@@ -684319,7 +684556,7 @@ var AuthHotReloadServer = class {
684319
684556
  await ensureSocketDirectory();
684320
684557
  await cleanupDeadSocketFiles(isSocketAlive, this.logger);
684321
684558
  try {
684322
- await fs42.unlink(this.socketPath);
684559
+ await fs43.unlink(this.socketPath);
684323
684560
  } catch {
684324
684561
  }
684325
684562
  this.server = net3.createServer((socket) => {
@@ -684388,7 +684625,7 @@ var AuthHotReloadServer = class {
684388
684625
  return new Promise((resolve11) => {
684389
684626
  this.server.close(async () => {
684390
684627
  try {
684391
- await fs42.unlink(this.socketPath);
684628
+ await fs43.unlink(this.socketPath);
684392
684629
  } catch {
684393
684630
  }
684394
684631
  resolve11();
@@ -684570,7 +684807,7 @@ async function handleLockConflict(error40, lockSvc, span, logger16) {
684570
684807
  }
684571
684808
  async function readPkgJson(cwd) {
684572
684809
  try {
684573
- const { readPackage } = await import("./read-pkg-V2DVNNAN.js");
684810
+ const { readPackage } = await import("./read-pkg-NF62AUWG.js");
684574
684811
  return await readPackage({ cwd });
684575
684812
  } catch {
684576
684813
  return null;
@@ -684772,11 +685009,16 @@ async function dev(options8) {
684772
685009
  throw new Error("Choose either --download-first or --upload-first");
684773
685010
  }
684774
685011
  let hasPackageChanged = false;
685012
+ let packageJsonRequiresInstall = false;
685013
+ const hasPackageJsonSnapshotBeforeRestore = options8.packageJsonSnapshotBeforeRestore !== void 0;
684775
685014
  const packageJsonBefore = await readPkgJson(cwd);
684776
685015
  if (downloadFirst && !isSynced) {
684777
685016
  await tracer4.startActiveSpan("downloadFirst", async (span) => {
684778
685017
  logger16.info(`Starting download of branch '${activeDbfsBranchName}'`);
684779
685018
  await syncService.downloadDirectory();
685019
+ if (options8.normalizeManagedPackageDependencies && await restoreManagedPackageDependencies(cwd, packageJsonBefore)) {
685020
+ logger16.info("Restored managed package dependencies to the warm template versions after DBFS download");
685021
+ }
684780
685022
  span.end();
684781
685023
  });
684782
685024
  }
@@ -684937,13 +685179,45 @@ async function dev(options8) {
684937
685179
  });
684938
685180
  }
684939
685181
  const packageJsonAfter = await readPkgJson(cwd);
685182
+ let packageJsonSnapshotBefore = null;
685183
+ let packageJsonSnapshotAfter = null;
685184
+ let packageJsonInstallBaselineSnapshot = null;
684940
685185
  if (packageJsonBefore && packageJsonAfter) {
684941
685186
  hasPackageChanged = JSON.stringify(packageJsonBefore, null, 2) !== JSON.stringify(packageJsonAfter, null, 2);
684942
685187
  } else if (packageJsonAfter) {
684943
685188
  hasPackageChanged = true;
685189
+ }
685190
+ if (packageJsonBefore) {
685191
+ packageJsonSnapshotBefore = packageJsonSnapshot(packageJsonBefore);
685192
+ }
685193
+ if (packageJsonAfter) {
685194
+ packageJsonSnapshotAfter = packageJsonSnapshot(packageJsonAfter);
685195
+ }
685196
+ packageJsonInstallBaselineSnapshot = hasPackageJsonSnapshotBeforeRestore ? options8.packageJsonSnapshotBeforeRestore ?? null : packageJsonSnapshotBefore;
685197
+ if (packageJsonAfter) {
685198
+ packageJsonRequiresInstall = didPackageJsonSnapshotChange(packageJsonInstallBaselineSnapshot, packageJsonSnapshotAfter);
685199
+ }
685200
+ if (!packageJsonBefore && packageJsonRequiresInstall) {
684944
685201
  logger16.info("package.json was created, installing packages\u2026");
684945
685202
  }
684946
- if (hasPackageChanged || upgradePromises.length > 0) {
685203
+ const forcePackageInstallRequested = !!options8.forcePackageInstall;
685204
+ let forcePackageInstall = forcePackageInstallRequested;
685205
+ if (forcePackageInstallRequested && hasPackageJsonSnapshotBeforeRestore) {
685206
+ forcePackageInstall = packageJsonRequiresInstall;
685207
+ }
685208
+ logger16.info("Package install decision", {
685209
+ packageJsonBeforePresent: !!packageJsonBefore,
685210
+ packageJsonAfterPresent: !!packageJsonAfter,
685211
+ hasPackageChanged,
685212
+ packageJsonRequiresInstall,
685213
+ forcePackageInstall,
685214
+ forcePackageInstallRequested,
685215
+ upgradePromiseCount: upgradePromises.length,
685216
+ packageJsonSnapshotBefore: packageJsonSnapshotDiagnostic(packageJsonSnapshotBefore),
685217
+ packageJsonInstallBaselineSnapshot: packageJsonSnapshotDiagnostic(packageJsonInstallBaselineSnapshot),
685218
+ packageJsonSnapshotAfter: packageJsonSnapshotDiagnostic(packageJsonSnapshotAfter)
685219
+ });
685220
+ if (packageJsonRequiresInstall || upgradePromises.length > 0 || forcePackageInstall) {
684947
685221
  logger16.info("Installing packages\u2026");
684948
685222
  await tracer4.startActiveSpan("installPackages", async (span) => {
684949
685223
  try {
@@ -684958,7 +685232,8 @@ async function dev(options8) {
684958
685232
  } else {
684959
685233
  logger16.info("package.json has not changed, skipping package installation");
684960
685234
  }
684961
- if (hasPackageChanged || uploadFirst) {
685235
+ const shouldUploadPackageState = hasPackageChanged || forcePackageInstall;
685236
+ if (shouldUploadPackageState || uploadFirst) {
684962
685237
  logger16.info(`Uploading local files to branch '${activeDbfsBranchName}' on server before starting`);
684963
685238
  await tracer4.startActiveSpan("uploadFirstOrPackageChanged", async (span) => {
684964
685239
  await syncService.uploadDirectory("cli:sdk");
@@ -685455,6 +685730,11 @@ export {
685455
685730
  getSocketFileForPid,
685456
685731
  cleanupSocketFile,
685457
685732
  isSocketAlive,
685733
+ didPackageJsonSnapshotChange,
685734
+ packageJsonSnapshotDiagnostic,
685735
+ readPackageJsonSnapshot,
685736
+ readPackageJsonSnapshotWithSource,
685737
+ restoreManagedPackageDependencies,
685458
685738
  DevServerAutoUpgradeMode,
685459
685739
  dev,
685460
685740
  AuthHotReloadServer,
@@ -685997,4 +686277,4 @@ serve-static/index.js:
685997
686277
  chokidar/esm/index.js:
685998
686278
  (*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) *)
685999
686279
  */
686000
- //# sourceMappingURL=chunk-5FASNVKR.js.map
686280
+ //# sourceMappingURL=chunk-F44JK4PJ.js.map