@superblocksteam/cli 2.0.116-next.1 → 2.0.116-next.2

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 (117) hide show
  1. package/README.md +1 -1
  2. package/dist/{acorn-U72GJHXJ.js → acorn-QUZNODVK.js} +3 -3
  3. package/dist/{angular-RFNJE6BH.js → angular-J5OAYFZO.js} +3 -3
  4. package/dist/{api-YH2HRVTC.js → api-A6MJTUXA.js} +4 -4
  5. package/dist/{babel-I3KEV5HB.js → babel-I3HB6RUW.js} +3 -3
  6. package/dist/{chunk-JQW6DXYI.js → chunk-24DKMS3B.js} +259 -112
  7. package/dist/{chunk-JQW6DXYI.js.map → chunk-24DKMS3B.js.map} +1 -1
  8. package/dist/{chunk-27XIMDTV.js → chunk-3IPIAPRG.js} +3 -3
  9. package/dist/{chunk-A3BWIW47.js → chunk-5LIHJBYZ.js} +3 -3
  10. package/dist/{chunk-3PJIRFGQ.js → chunk-AJK2TW3S.js} +4 -4
  11. package/dist/{chunk-T4I24DT7.js → chunk-AXZ6TDDO.js} +3 -3
  12. package/dist/{chunk-L722U2FI.js → chunk-CUZWM44M.js} +6 -6
  13. package/dist/{chunk-TKVJWGQX.js → chunk-EEZGYDB3.js} +3 -3
  14. package/dist/{chunk-AVFCLSXO.js → chunk-IO3HZVCH.js} +3 -3
  15. package/dist/{chunk-MSXD4BFU.js → chunk-MCUGXXJA.js} +3 -3
  16. package/dist/{chunk-A6LIJT25.js → chunk-MODIJWJU.js} +6 -6
  17. package/dist/{chunk-CLIEVO2R.js → chunk-MZUN2CTO.js} +4 -4
  18. package/dist/{chunk-BLB5NFEP.js → chunk-NNPHYHB2.js} +2 -2
  19. package/dist/{chunk-X5QRDQVT.js → chunk-OA2OLWSD.js} +4 -4
  20. package/dist/{chunk-BYCKZD4Y.js → chunk-OZLWXRG5.js} +3 -3
  21. package/dist/{chunk-MZ2J2ULN.js → chunk-TQMWIRQ2.js} +3 -3
  22. package/dist/{chunk-EIXBJUCA.js → chunk-TURMUZCB.js} +3 -3
  23. package/dist/{chunk-4U4VRNQM.js → chunk-VAHMV7QS.js} +3 -3
  24. package/dist/{chunk-M6WOCAHB.js → chunk-YJOA2XOT.js} +4 -4
  25. package/dist/{cli-truncate-YJHYJVXE.js → cli-truncate-7H6N6SW4.js} +5 -5
  26. package/dist/commands/dev-parent.js +2 -2
  27. package/dist/{dd-trace-XFEDSACL.js → dd-trace-PTBPDT2B.js} +7 -7
  28. package/dist/{dist-WNV7S364.js → dist-3GXGB6EW.js} +13 -13
  29. package/dist/{embedded-playwright-mcp-server-QX6HZ5FP.js → embedded-playwright-mcp-server-QSSXJHIK.js} +3 -3
  30. package/dist/{enquirer-W3YQJYBW.js → enquirer-LDBQRA2I.js} +4 -4
  31. package/dist/{estree-DKDBWMWV.js → estree-NUS4QSAG.js} +3 -3
  32. package/dist/{flow-D2EFJCNB.js → flow-E7DRCMMI.js} +3 -3
  33. package/dist/{getMachineId-bsd-MW572OED.js → getMachineId-bsd-5TBLHARX.js} +5 -5
  34. package/dist/{getMachineId-bsd-7ZLYAKYZ.js → getMachineId-bsd-XCZTC6LS.js} +5 -5
  35. package/dist/{getMachineId-darwin-ZISN3KQL.js → getMachineId-darwin-E4T3JNRF.js} +5 -5
  36. package/dist/{getMachineId-darwin-K56MEIIS.js → getMachineId-darwin-JXYW4NMH.js} +5 -5
  37. package/dist/{getMachineId-linux-3JCREFHI.js → getMachineId-linux-5LUBIGXP.js} +4 -4
  38. package/dist/{getMachineId-linux-PFC2JIP5.js → getMachineId-linux-NVYOIKHR.js} +4 -4
  39. package/dist/{getMachineId-unsupported-EZETQYMO.js → getMachineId-unsupported-GDPSTMNB.js} +4 -4
  40. package/dist/{getMachineId-unsupported-QTMJORAX.js → getMachineId-unsupported-UIQ4GUC6.js} +4 -4
  41. package/dist/{getMachineId-win-MHCIYAF4.js → getMachineId-win-IZP3KMWX.js} +5 -5
  42. package/dist/{getMachineId-win-WR3KIJFV.js → getMachineId-win-RVFJNBX4.js} +5 -5
  43. package/dist/{glimmer-KROCBZZS.js → glimmer-6ANTYH2P.js} +3 -3
  44. package/dist/{graphql-ZBVIIMSI.js → graphql-EWI2TEWV.js} +3 -3
  45. package/dist/{html-EJOIUUS4.js → html-YOPXDSS2.js} +3 -3
  46. package/dist/{http-APBH7IHW.js → http-E2MY3KEW.js} +12 -12
  47. package/dist/index.js +18 -18
  48. package/dist/{jiti-C2BEAO6I.js → jiti-AUBZYQYQ.js} +3 -3
  49. package/dist/{log-update-KKVLRKWH.js → log-update-WRIUCE3O.js} +6 -6
  50. package/dist/{markdown-2ER5VOWK.js → markdown-OPEAPKNT.js} +3 -3
  51. package/dist/{meriyah-BM44GXM4.js → meriyah-A3S6H7ZT.js} +3 -3
  52. package/dist/{postcss-LMHTYA72.js → postcss-XTQ6SCBH.js} +3 -3
  53. package/dist/{read-pkg-ONODI7W3.js → read-pkg-47YN6Y5W.js} +5 -5
  54. package/dist/{spans-RS7WII6K.js → spans-W3TA52H3.js} +4 -4
  55. package/dist/{src-T47XNTSI.js → src-M2SIGNDK.js} +3 -3
  56. package/dist/{token-AW76GNVN.js → token-XLY2YZFR.js} +5 -5
  57. package/dist/{token-util-IHXF2B5A.js → token-util-VMLEINDJ.js} +5 -5
  58. package/dist/{typescript-WEDRVYCM.js → typescript-DUC5CKYO.js} +3 -3
  59. package/dist/{wrap-ansi-EVLG6TEM.js → wrap-ansi-LK5PJJDU.js} +5 -5
  60. package/dist/{yaml-7OTOPLZG.js → yaml-RTSSBABK.js} +3 -3
  61. package/oclif.manifest.json +1 -1
  62. package/package.json +5 -5
  63. /package/dist/{acorn-U72GJHXJ.js.map → acorn-QUZNODVK.js.map} +0 -0
  64. /package/dist/{angular-RFNJE6BH.js.map → angular-J5OAYFZO.js.map} +0 -0
  65. /package/dist/{api-YH2HRVTC.js.map → api-A6MJTUXA.js.map} +0 -0
  66. /package/dist/{babel-I3KEV5HB.js.map → babel-I3HB6RUW.js.map} +0 -0
  67. /package/dist/{chunk-27XIMDTV.js.map → chunk-3IPIAPRG.js.map} +0 -0
  68. /package/dist/{chunk-A3BWIW47.js.map → chunk-5LIHJBYZ.js.map} +0 -0
  69. /package/dist/{chunk-3PJIRFGQ.js.map → chunk-AJK2TW3S.js.map} +0 -0
  70. /package/dist/{chunk-T4I24DT7.js.map → chunk-AXZ6TDDO.js.map} +0 -0
  71. /package/dist/{chunk-L722U2FI.js.map → chunk-CUZWM44M.js.map} +0 -0
  72. /package/dist/{chunk-TKVJWGQX.js.map → chunk-EEZGYDB3.js.map} +0 -0
  73. /package/dist/{chunk-AVFCLSXO.js.map → chunk-IO3HZVCH.js.map} +0 -0
  74. /package/dist/{chunk-MSXD4BFU.js.map → chunk-MCUGXXJA.js.map} +0 -0
  75. /package/dist/{chunk-A6LIJT25.js.map → chunk-MODIJWJU.js.map} +0 -0
  76. /package/dist/{chunk-CLIEVO2R.js.map → chunk-MZUN2CTO.js.map} +0 -0
  77. /package/dist/{chunk-BLB5NFEP.js.map → chunk-NNPHYHB2.js.map} +0 -0
  78. /package/dist/{chunk-X5QRDQVT.js.map → chunk-OA2OLWSD.js.map} +0 -0
  79. /package/dist/{chunk-BYCKZD4Y.js.map → chunk-OZLWXRG5.js.map} +0 -0
  80. /package/dist/{chunk-MZ2J2ULN.js.map → chunk-TQMWIRQ2.js.map} +0 -0
  81. /package/dist/{chunk-EIXBJUCA.js.map → chunk-TURMUZCB.js.map} +0 -0
  82. /package/dist/{chunk-4U4VRNQM.js.map → chunk-VAHMV7QS.js.map} +0 -0
  83. /package/dist/{chunk-M6WOCAHB.js.map → chunk-YJOA2XOT.js.map} +0 -0
  84. /package/dist/{cli-truncate-YJHYJVXE.js.map → cli-truncate-7H6N6SW4.js.map} +0 -0
  85. /package/dist/{dd-trace-XFEDSACL.js.map → dd-trace-PTBPDT2B.js.map} +0 -0
  86. /package/dist/{dist-WNV7S364.js.map → dist-3GXGB6EW.js.map} +0 -0
  87. /package/dist/{embedded-playwright-mcp-server-QX6HZ5FP.js.map → embedded-playwright-mcp-server-QSSXJHIK.js.map} +0 -0
  88. /package/dist/{enquirer-W3YQJYBW.js.map → enquirer-LDBQRA2I.js.map} +0 -0
  89. /package/dist/{estree-DKDBWMWV.js.map → estree-NUS4QSAG.js.map} +0 -0
  90. /package/dist/{flow-D2EFJCNB.js.map → flow-E7DRCMMI.js.map} +0 -0
  91. /package/dist/{getMachineId-bsd-MW572OED.js.map → getMachineId-bsd-5TBLHARX.js.map} +0 -0
  92. /package/dist/{getMachineId-bsd-7ZLYAKYZ.js.map → getMachineId-bsd-XCZTC6LS.js.map} +0 -0
  93. /package/dist/{getMachineId-darwin-ZISN3KQL.js.map → getMachineId-darwin-E4T3JNRF.js.map} +0 -0
  94. /package/dist/{getMachineId-darwin-K56MEIIS.js.map → getMachineId-darwin-JXYW4NMH.js.map} +0 -0
  95. /package/dist/{getMachineId-linux-3JCREFHI.js.map → getMachineId-linux-5LUBIGXP.js.map} +0 -0
  96. /package/dist/{getMachineId-linux-PFC2JIP5.js.map → getMachineId-linux-NVYOIKHR.js.map} +0 -0
  97. /package/dist/{getMachineId-unsupported-EZETQYMO.js.map → getMachineId-unsupported-GDPSTMNB.js.map} +0 -0
  98. /package/dist/{getMachineId-unsupported-QTMJORAX.js.map → getMachineId-unsupported-UIQ4GUC6.js.map} +0 -0
  99. /package/dist/{getMachineId-win-MHCIYAF4.js.map → getMachineId-win-IZP3KMWX.js.map} +0 -0
  100. /package/dist/{getMachineId-win-WR3KIJFV.js.map → getMachineId-win-RVFJNBX4.js.map} +0 -0
  101. /package/dist/{glimmer-KROCBZZS.js.map → glimmer-6ANTYH2P.js.map} +0 -0
  102. /package/dist/{graphql-ZBVIIMSI.js.map → graphql-EWI2TEWV.js.map} +0 -0
  103. /package/dist/{html-EJOIUUS4.js.map → html-YOPXDSS2.js.map} +0 -0
  104. /package/dist/{http-APBH7IHW.js.map → http-E2MY3KEW.js.map} +0 -0
  105. /package/dist/{jiti-C2BEAO6I.js.map → jiti-AUBZYQYQ.js.map} +0 -0
  106. /package/dist/{log-update-KKVLRKWH.js.map → log-update-WRIUCE3O.js.map} +0 -0
  107. /package/dist/{markdown-2ER5VOWK.js.map → markdown-OPEAPKNT.js.map} +0 -0
  108. /package/dist/{meriyah-BM44GXM4.js.map → meriyah-A3S6H7ZT.js.map} +0 -0
  109. /package/dist/{postcss-LMHTYA72.js.map → postcss-XTQ6SCBH.js.map} +0 -0
  110. /package/dist/{read-pkg-ONODI7W3.js.map → read-pkg-47YN6Y5W.js.map} +0 -0
  111. /package/dist/{spans-RS7WII6K.js.map → spans-W3TA52H3.js.map} +0 -0
  112. /package/dist/{src-T47XNTSI.js.map → src-M2SIGNDK.js.map} +0 -0
  113. /package/dist/{token-AW76GNVN.js.map → token-XLY2YZFR.js.map} +0 -0
  114. /package/dist/{token-util-IHXF2B5A.js.map → token-util-VMLEINDJ.js.map} +0 -0
  115. /package/dist/{typescript-WEDRVYCM.js.map → typescript-DUC5CKYO.js.map} +0 -0
  116. /package/dist/{wrap-ansi-EVLG6TEM.js.map → wrap-ansi-LK5PJJDU.js.map} +0 -0
  117. /package/dist/{yaml-7OTOPLZG.js.map → yaml-RTSSBABK.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 = '94c1006cab1308d3a346e02b7b7a6e6b9740542a';
4
+ process.env.DD_GIT_COMMIT_SHA = '81c2a295cc4509d2efa3f9161840000077094340';
5
5
  }
6
6
  import { createRequire as $dd_createRequire } from 'module';
7
7
  import { fileURLToPath as $dd_fileURLToPath } from 'url';
@@ -15,17 +15,17 @@ import {
15
15
  require_lib as require_lib2,
16
16
  require_lib2 as require_lib3,
17
17
  require_picocolors
18
- } from "./chunk-T4I24DT7.js";
18
+ } from "./chunk-AXZ6TDDO.js";
19
19
  import {
20
20
  require_dd_trace,
21
21
  require_js_yaml,
22
22
  require_module_details_from_path,
23
23
  require_p_limit,
24
24
  require_path_to_regexp
25
- } from "./chunk-A6LIJT25.js";
25
+ } from "./chunk-MODIJWJU.js";
26
26
  import {
27
27
  require_commonjs
28
- } from "./chunk-TKVJWGQX.js";
28
+ } from "./chunk-EEZGYDB3.js";
29
29
  import {
30
30
  debounce_default,
31
31
  get_default,
@@ -42,13 +42,13 @@ import {
42
42
  require_lib,
43
43
  require_slugify,
44
44
  throttle_default
45
- } from "./chunk-A3BWIW47.js";
45
+ } from "./chunk-5LIHJBYZ.js";
46
46
  import {
47
47
  require_dc_polyfill
48
- } from "./chunk-27XIMDTV.js";
48
+ } from "./chunk-3IPIAPRG.js";
49
49
  import {
50
50
  require_token_error
51
- } from "./chunk-MZ2J2ULN.js";
51
+ } from "./chunk-TQMWIRQ2.js";
52
52
  import {
53
53
  SpanKind,
54
54
  SpanStatusCode,
@@ -57,7 +57,7 @@ import {
57
57
  init_esm,
58
58
  metrics,
59
59
  trace
60
- } from "./chunk-AVFCLSXO.js";
60
+ } from "./chunk-IO3HZVCH.js";
61
61
  import {
62
62
  __commonJS,
63
63
  __esm,
@@ -66,7 +66,7 @@ import {
66
66
  __toCommonJS,
67
67
  __toESM,
68
68
  init_cjs_shims
69
- } from "./chunk-BLB5NFEP.js";
69
+ } from "./chunk-NNPHYHB2.js";
70
70
 
71
71
  // ../../../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js
72
72
  var require_constants2 = __commonJS({
@@ -96870,15 +96870,15 @@ var require_api_files = __commonJS({
96870
96870
  exports2.readAppApiYamlFile = readAppApiYamlFile4;
96871
96871
  exports2.resolveLanguageSpecificStepContentFromBlocks = resolveLanguageSpecificStepContentFromBlocks2;
96872
96872
  async function writeApiFiles3(...args) {
96873
- const esmFunction = await import("./api-YH2HRVTC.js");
96873
+ const esmFunction = await import("./api-A6MJTUXA.js");
96874
96874
  return esmFunction.writeApiFiles(...args);
96875
96875
  }
96876
96876
  async function readAppApiYamlFile4(...args) {
96877
- const esmFunction = await import("./api-YH2HRVTC.js");
96877
+ const esmFunction = await import("./api-A6MJTUXA.js");
96878
96878
  return esmFunction.readAppApiYamlFile(...args);
96879
96879
  }
96880
96880
  async function resolveLanguageSpecificStepContentFromBlocks2(...args) {
96881
- const esmFunction = await import("./api-YH2HRVTC.js");
96881
+ const esmFunction = await import("./api-A6MJTUXA.js");
96882
96882
  return esmFunction.resolveLanguageSpecificStepContentFromBlocks(...args);
96883
96883
  }
96884
96884
  }
@@ -104934,19 +104934,19 @@ var require_getMachineId = __commonJS({
104934
104934
  if (!getMachineIdImpl) {
104935
104935
  switch (process5.platform) {
104936
104936
  case "darwin":
104937
- getMachineIdImpl = (await import("./getMachineId-darwin-K56MEIIS.js")).getMachineId;
104937
+ getMachineIdImpl = (await import("./getMachineId-darwin-JXYW4NMH.js")).getMachineId;
104938
104938
  break;
104939
104939
  case "linux":
104940
- getMachineIdImpl = (await import("./getMachineId-linux-3JCREFHI.js")).getMachineId;
104940
+ getMachineIdImpl = (await import("./getMachineId-linux-5LUBIGXP.js")).getMachineId;
104941
104941
  break;
104942
104942
  case "freebsd":
104943
- getMachineIdImpl = (await import("./getMachineId-bsd-MW572OED.js")).getMachineId;
104943
+ getMachineIdImpl = (await import("./getMachineId-bsd-5TBLHARX.js")).getMachineId;
104944
104944
  break;
104945
104945
  case "win32":
104946
- getMachineIdImpl = (await import("./getMachineId-win-MHCIYAF4.js")).getMachineId;
104946
+ getMachineIdImpl = (await import("./getMachineId-win-IZP3KMWX.js")).getMachineId;
104947
104947
  break;
104948
104948
  default:
104949
- getMachineIdImpl = (await import("./getMachineId-unsupported-QTMJORAX.js")).getMachineId;
104949
+ getMachineIdImpl = (await import("./getMachineId-unsupported-UIQ4GUC6.js")).getMachineId;
104950
104950
  break;
104951
104951
  }
104952
104952
  }
@@ -116570,19 +116570,19 @@ var require_getMachineId2 = __commonJS({
116570
116570
  if (!getMachineIdImpl) {
116571
116571
  switch (process5.platform) {
116572
116572
  case "darwin":
116573
- getMachineIdImpl = (await import("./getMachineId-darwin-ZISN3KQL.js")).getMachineId;
116573
+ getMachineIdImpl = (await import("./getMachineId-darwin-E4T3JNRF.js")).getMachineId;
116574
116574
  break;
116575
116575
  case "linux":
116576
- getMachineIdImpl = (await import("./getMachineId-linux-PFC2JIP5.js")).getMachineId;
116576
+ getMachineIdImpl = (await import("./getMachineId-linux-NVYOIKHR.js")).getMachineId;
116577
116577
  break;
116578
116578
  case "freebsd":
116579
- getMachineIdImpl = (await import("./getMachineId-bsd-7ZLYAKYZ.js")).getMachineId;
116579
+ getMachineIdImpl = (await import("./getMachineId-bsd-XCZTC6LS.js")).getMachineId;
116580
116580
  break;
116581
116581
  case "win32":
116582
- getMachineIdImpl = (await import("./getMachineId-win-WR3KIJFV.js")).getMachineId;
116582
+ getMachineIdImpl = (await import("./getMachineId-win-RVFJNBX4.js")).getMachineId;
116583
116583
  break;
116584
116584
  default:
116585
- getMachineIdImpl = (await import("./getMachineId-unsupported-EZETQYMO.js")).getMachineId;
116585
+ getMachineIdImpl = (await import("./getMachineId-unsupported-GDPSTMNB.js")).getMachineId;
116586
116586
  break;
116587
116587
  }
116588
116588
  }
@@ -195850,8 +195850,8 @@ var require_get_vercel_oidc_token = __commonJS({
195850
195850
  }
195851
195851
  try {
195852
195852
  const [{ getTokenPayload, isExpired }, { refreshToken }] = await Promise.all([
195853
- await import("./token-util-IHXF2B5A.js"),
195854
- await import("./token-AW76GNVN.js")
195853
+ await import("./token-util-VMLEINDJ.js"),
195854
+ await import("./token-XLY2YZFR.js")
195855
195855
  ]);
195856
195856
  if (!token2 || isExpired(getTokenPayload(token2))) {
195857
195857
  await refreshToken();
@@ -393110,7 +393110,7 @@ var require_config_loader = __commonJS({
393110
393110
  * @returns {Promise<{createJiti: Function|undefined, version: string;}>} A promise that fulfills with an object containing the jiti module's createJiti function and version.
393111
393111
  */
393112
393112
  static async loadJiti() {
393113
- const { createJiti } = await import("./jiti-C2BEAO6I.js");
393113
+ const { createJiti } = await import("./jiti-AUBZYQYQ.js");
393114
393114
  const version5 = require_package5().version;
393115
393115
  return { createJiti, version: version5 };
393116
393116
  }
@@ -393439,7 +393439,7 @@ var require_eslint_helpers = __commonJS({
393439
393439
  }
393440
393440
  async function globMatch({ basePath, pattern }) {
393441
393441
  let found = false;
393442
- const { hfs } = await import("./src-T47XNTSI.js");
393442
+ const { hfs } = await import("./src-M2SIGNDK.js");
393443
393443
  const patternToUse = normalizeToPosix(path79.relative(basePath, pattern));
393444
393444
  const matcher = new Minimatch2(patternToUse, MINIMATCH_OPTIONS);
393445
393445
  const walkSettings = {
@@ -393479,7 +393479,7 @@ var require_eslint_helpers = __commonJS({
393479
393479
  return new Minimatch2(patternToUse, MINIMATCH_OPTIONS);
393480
393480
  });
393481
393481
  const unmatchedPatterns = /* @__PURE__ */ new Set([...relativeToPatterns.keys()]);
393482
- const { hfs } = await import("./src-T47XNTSI.js");
393482
+ const { hfs } = await import("./src-M2SIGNDK.js");
393483
393483
  const walk2 = hfs.walk(basePath, {
393484
393484
  async directoryFilter(entry) {
393485
393485
  if (!matchers.some((matcher) => matcher.match(entry.path, true))) {
@@ -531232,7 +531232,7 @@ init_cjs_shims();
531232
531232
  // ../sdk/package.json
531233
531233
  var package_default = {
531234
531234
  name: "@superblocksteam/sdk",
531235
- version: "2.0.116-next.1",
531235
+ version: "2.0.116-next.2",
531236
531236
  description: "Superblocks JS SDK",
531237
531237
  homepage: "https://www.superblocks.com",
531238
531238
  license: "Superblocks Community Software License",
@@ -531594,7 +531594,7 @@ var config = void 0;
531594
531594
  var configured = false;
531595
531595
  var ddTracePromise = void 0;
531596
531596
  async function getDdTrace() {
531597
- ddTracePromise ??= import("./dd-trace-XFEDSACL.js").then((module2) => module2.default);
531597
+ ddTracePromise ??= import("./dd-trace-PTBPDT2B.js").then((module2) => module2.default);
531598
531598
  return await ddTracePromise;
531599
531599
  }
531600
531600
  var deploymentType = (() => {
@@ -541252,7 +541252,7 @@ var MAX_ATTRIBUTE_LENGTH = 64e3;
541252
541252
  var LLMObsSpanWriter = null;
541253
541253
  async function loadLLMObsSpanWriter() {
541254
541254
  if (!LLMObsSpanWriter) {
541255
- const module2 = await import("./spans-RS7WII6K.js");
541255
+ const module2 = await import("./spans-W3TA52H3.js");
541256
541256
  LLMObsSpanWriter = module2.default;
541257
541257
  }
541258
541258
  return LLMObsSpanWriter;
@@ -564342,6 +564342,13 @@ var IntegrationStore = (() => {
564342
564342
  getLogger3().debug(`[integration-store] availableIntegrations() returning ${integrationHeaders.length} integrations: ${integrationHeaders.map((i) => `${i.name}(${i.id})`).join(", ")}`);
564343
564343
  return integrationHeaders;
564344
564344
  }
564345
+ /**
564346
+ * Look up a single available integration by id. Same filters as `availableIntegrations()`
564347
+ * (BUILD-permission via UI hydration + `UNSUPPORTED_INTEGRATIONS`).
564348
+ */
564349
+ async availableIntegration(id2) {
564350
+ return (await this.availableIntegrations()).find((i) => i.id === id2);
564351
+ }
564345
564352
  getPlugin(pluginId) {
564346
564353
  return this.pluginRegistry.get(pluginId);
564347
564354
  }
@@ -582995,6 +583002,7 @@ Only modify when:
582995
583002
 
582996
583003
  - User explicitly requests branding/theme changes
582997
583004
  - Replicating a specific brand look (e.g., Yelp, Instacart)
583005
+ - Migrating an attached third-party app \u2014 see \`skills/system/third-party-migration/SKILL.md\` (its theme-port rules override the Modification Rules below \u2014 copy source tokens as-is, do not convert to OKLCH or trim the palette)
582998
583006
  - Feature requests (lists, filters, CRUD) do NOT require changes
582999
583007
 
583000
583008
  **Modification Rules:**
@@ -583689,7 +583697,7 @@ For each Lovable page, only these change:
583689
583697
 
583690
583698
  - **Data hooks**: direct Supabase calls + \`@tanstack/react-query\` \u2192 \`useApi\` / \`useApiData\`.
583691
583699
  - **Auth touchpoints**: \`supabase.auth\` / custom \`AuthContext\` \u2192 platform-managed (drop the provider; consume \`ctx.user\` server-side).
583692
- - **Router primitives**: if the source uses \`wouter\` or v6 patterns, adapt to \`react-router\` v7.
583700
+ - **Router primitives**: if the source uses \`wouter\` or v6 patterns, adapt to \`react-router\` v7. The router is statically parsed by the editor \u2014 bind page components only via static imports or \`lazy(() => import("..."))\` (see "Router shape" in the framework SKILL). Lovable sources commonly emit a long \`<Routes>\` block with \`<Route element={<Page />} />\` JSX; rewrite this as a \`createBrowserRouter([...])\` array using \`Component:\` (or inline \`lazy:\`), keeping the \`const Page = lazy(() => import("./pages/Page/index.tsx"))\` declarations intact.
583693
583701
 
583694
583702
  Everything else \u2014 JSX structure, Tailwind classes, shadcn variants, custom CSS, theme tokens, fonts, layout containers \u2014 transfers unchanged. If the diff goes beyond data + auth + routing, you are over-editing.
583695
583703
 
@@ -583802,7 +583810,7 @@ The app you are running inside looks like this. Do not invent new top-level dire
583802
583810
  \`\`\`
583803
583811
  client/
583804
583812
  App.tsx \u2014 root with <AppProvider> + <Outlet />
583805
- router.tsx \u2014 react-router v7, lazy imports
583813
+ router.tsx \u2014 react-router v7 data mode (\`createBrowserRouter\`); see Router shape below
583806
583814
  index.css \u2014 Tailwind v4 + theme tokens
583807
583815
  hooks/
583808
583816
  useApi.ts \u2014 typed wrapper around useTypedApi<ApiRegistry>
@@ -583832,6 +583840,28 @@ These hold regardless of source platform. Per-platform specifics layer on top.
583832
583840
  - **Each frontend page \u2192 one Superblocks page** at \`client/pages/<Name>/index.tsx\`, wired into \`client/router.tsx\`.
583833
583841
  - **Each backend data source (DB, REST client, S3, ...) \u2192 one Superblocks integration** referenced by UUID. Credentials live on the integration, never in code.
583834
583842
 
583843
+ ### Router shape (\`client/router.tsx\`)
583844
+
583845
+ The editor parses this file statically to build the page list and route table. **Use one of the supported page-component bindings \u2014 anything else silently drops every route and the editor shows a "404 / route has been deleted" overlay.**
583846
+
583847
+ Supported page bindings (mix freely):
583848
+
583849
+ \`\`\`tsx
583850
+ // 1. Inline lazy on the route object (preferred \u2014 matches the template):
583851
+ { path: "about", lazy: () => import("./pages/About/index.tsx").then(m => ({ Component: m.default })) }
583852
+
583853
+ // 2. Static default import + Component / element:
583854
+ import About from "./pages/About/index.tsx";
583855
+ { path: "about", Component: About }
583856
+ { path: "about", element: <About /> }
583857
+
583858
+ // 3. Top-level \`const\` bound to React.lazy + Component / element:
583859
+ const About = lazy(() => import("./pages/About/index.tsx"));
583860
+ { path: "about", Component: About }
583861
+ \`\`\`
583862
+
583863
+ Do **not**: assign \`Component\` / \`element\` to identifiers bound by anything other than a static import or \`lazy(() => import("..."))\` (no IIFEs, no helper wrappers, no conditional \`lazy(...)\`, no objects whose keys are computed from a loop). The parser only resolves the shapes above.
583864
+
583835
583865
  ## Authoritative references (read just-in-time, not up front)
583836
583866
 
583837
583867
  - \`node_modules/@superblocksteam/sdk-api/README.md\` and \`src/index.ts\` \u2014 the server \`api()\` contract and the full list of factory names. **Never invent factory names.** If a required file is missing, mark the affected checklist item \`failed\` with the missing path as the reason.
@@ -601179,6 +601209,70 @@ var clarkFailedResponseHandler = createJsonErrorResponseHandler({
601179
601209
  errorToMessage: (data3) => data3.responseMetadata.error.message
601180
601210
  });
601181
601211
 
601212
+ // ../../../clark/dist/content-block-utils.js
601213
+ init_cjs_shims();
601214
+ function isContentBlockArray(value2) {
601215
+ if (!Array.isArray(value2) || value2.length === 0)
601216
+ return false;
601217
+ return value2.every((item) => {
601218
+ if (typeof item !== "object" || item === null)
601219
+ return false;
601220
+ const keys = Object.keys(item);
601221
+ if (!keys.every((k) => k === "text" || k === "type"))
601222
+ return false;
601223
+ const record2 = item;
601224
+ return typeof record2.text === "string" && (!("type" in record2) || record2.type === "text");
601225
+ });
601226
+ }
601227
+ function extractTextFromContentBlocks(blocks) {
601228
+ return blocks.map((b) => b.text).join("");
601229
+ }
601230
+ function tryUnwrapContentBlock(value2) {
601231
+ if (isContentBlockArray(value2)) {
601232
+ return { unwrapped: true, text: extractTextFromContentBlocks(value2) };
601233
+ }
601234
+ if (typeof value2 === "string" && value2.startsWith("[")) {
601235
+ try {
601236
+ const parsed = JSON.parse(value2);
601237
+ if (isContentBlockArray(parsed)) {
601238
+ return {
601239
+ unwrapped: true,
601240
+ text: extractTextFromContentBlocks(parsed)
601241
+ };
601242
+ }
601243
+ } catch {
601244
+ }
601245
+ }
601246
+ return { unwrapped: false };
601247
+ }
601248
+ function unwrapContentBlockValues(obj) {
601249
+ if (typeof obj !== "object" || obj === null || Array.isArray(obj))
601250
+ return obj;
601251
+ const entries = Object.entries(obj);
601252
+ let changed = false;
601253
+ const result = {};
601254
+ for (const [key2, value2] of entries) {
601255
+ const attempt = tryUnwrapContentBlock(value2);
601256
+ if (attempt.unwrapped) {
601257
+ result[key2] = attempt.text;
601258
+ changed = true;
601259
+ } else {
601260
+ result[key2] = value2;
601261
+ }
601262
+ }
601263
+ return changed ? result : obj;
601264
+ }
601265
+ function serializeToolInput(input) {
601266
+ return JSON.stringify(unwrapContentBlockValues(input ?? {}));
601267
+ }
601268
+ function unwrapToolInputDelta(delta) {
601269
+ const attempt = tryUnwrapContentBlock(delta);
601270
+ if (attempt.unwrapped) {
601271
+ return attempt.text;
601272
+ }
601273
+ return delta;
601274
+ }
601275
+
601182
601276
  // ../../../clark/dist/clark-language-model.js
601183
601277
  function toFinishReason(rawFinishReason) {
601184
601278
  const normalized = rawFinishReason === "stop" || rawFinishReason === "length" || rawFinishReason === "content-filter" || rawFinishReason === "tool-calls" || rawFinishReason === "error" || rawFinishReason === "other" ? rawFinishReason : "other";
@@ -601411,7 +601505,7 @@ var ClarkChatLanguageModel = class {
601411
601505
  type: "tool-call",
601412
601506
  toolCallId: toolCall.toolCallId,
601413
601507
  toolName: toolCall.toolName,
601414
- input: JSON.stringify(toolCall.args ?? {})
601508
+ input: serializeToolInput(toolCall.args)
601415
601509
  });
601416
601510
  }
601417
601511
  }
@@ -601572,7 +601666,7 @@ var ClarkChatLanguageModel = class {
601572
601666
  controller.enqueue({
601573
601667
  type: "tool-input-delta",
601574
601668
  id: id2,
601575
- delta
601669
+ delta: unwrapToolInputDelta(delta)
601576
601670
  });
601577
601671
  break;
601578
601672
  }
@@ -601597,7 +601691,7 @@ var ClarkChatLanguageModel = class {
601597
601691
  type: "tool-call",
601598
601692
  toolCallId,
601599
601693
  toolName,
601600
- input: JSON.stringify(value2.input ?? {})
601694
+ input: serializeToolInput(value2.input)
601601
601695
  });
601602
601696
  break;
601603
601697
  }
@@ -616259,7 +616353,7 @@ var PlaywrightMcpServerManager = class {
616259
616353
  this.logger.info(`Starting embedded Playwright MCP server: browser=${options8?.browser || "chromium"}, headless=${options8?.headless !== false}`);
616260
616354
  }
616261
616355
  try {
616262
- const { startEmbeddedPlaywrightMcpServer } = await import("./embedded-playwright-mcp-server-QX6HZ5FP.js");
616356
+ const { startEmbeddedPlaywrightMcpServer } = await import("./embedded-playwright-mcp-server-QSSXJHIK.js");
616263
616357
  this.server = await startEmbeddedPlaywrightMcpServer({
616264
616358
  storageStatePath: options8?.storageStatePath,
616265
616359
  jwt: options8?.jwt,
@@ -620726,7 +620820,8 @@ An \`<attachment_reference>\` block means the bytes are NOT in context \u2014 yo
620726
620820
  Rules:
620727
620821
  - Never fetch the attachment \`url\` directly (no ad-hoc code, shell, urllib/curl, or HTTP requests) \u2014 \`downloadAttachments\` is the only path.
620728
620822
  - Do not claim contents were reviewed unless you actually downloaded and inspected them in this turn.
620729
- - If the block's \`note\` says the file is unsupported, do not download \u2014 tell the user and ask how to proceed.
620823
+ - If the block's \`note\` says the file is unsupported, do not download \u2014 tell the user and ask how to proceed.${thirdPartyImportEnabled ? `
620824
+ - If the attachment is a third-party app export (e.g. Replit, Lovable, v0, Next.js), \`build_readFile\` \`skills/system/third-party-migration/SKILL.md\` before drafting a plan, and the plan you submit to \`exitPlanMode\` must include theme/styling fidelity (color tokens, fonts, layout shells) \u2014 not just the functional spec.` : ""}
620730
620825
  - In Plan mode after inspection, don't freeform implement; use \`askMultiChoice\` or \`exitPlanMode\`. In Build mode, continue.` : `**Attachment workflow:**
620731
620826
  - Call \`listAttachments\` to discover attachment IDs when the user references uploaded files, then inspect them inline.
620732
620827
  - Do not fetch attachment URLs directly with ad-hoc code, shell scripts, or HTTP requests.`}
@@ -646070,7 +646165,7 @@ note: This archive was not uploaded to persistent storage, so downloadAttachment
646070
646165
  throw new Error("Unsupported attachment type");
646071
646166
  });
646072
646167
  };
646073
- var buildUserMessage = ({ userPrompt, promptContext, planContext, mode, services, userChanges, userFactsSection, pendingKnowledgeFreeTextTurn, pendingKnowledgeEntries, skillsNeedReload, useSystemSkills }) => {
646168
+ var buildUserMessage = ({ preferredAppInferenceIntegration, userPrompt, promptContext, planContext, mode, services, userChanges, userFactsSection, pendingKnowledgeFreeTextTurn, pendingKnowledgeEntries, skillsNeedReload, useSystemSkills }) => {
646074
646169
  const content16 = [];
646075
646170
  if (skillsNeedReload && useSystemSkills) {
646076
646171
  const sdkApiEnabled = services.features?.sdkApiEnabled ?? false;
@@ -646323,21 +646418,19 @@ Do NOT proceed with API work until you have read these files. They contain integ
646323
646418
  });
646324
646419
  }
646325
646420
  }
646326
- const defaultAiIntegrationId = promptContext?.aiConfiguration?.preferredAppInferenceIntegrationId;
646327
- if (defaultAiIntegrationId) {
646328
- const defaultFromContext = promptContext?.integrations?.find((i) => i.id === defaultAiIntegrationId);
646329
- const defaultPayload = defaultFromContext ? {
646330
- id: defaultFromContext.id,
646331
- name: defaultFromContext.displayName || defaultFromContext.name,
646332
- tagName: defaultFromContext.name,
646333
- type: defaultFromContext.type
646334
- } : { id: defaultAiIntegrationId };
646421
+ if (preferredAppInferenceIntegration) {
646422
+ const defaultPayload = {
646423
+ id: preferredAppInferenceIntegration.id,
646424
+ name: preferredAppInferenceIntegration.displayName || preferredAppInferenceIntegration.name,
646425
+ tagName: preferredAppInferenceIntegration.name,
646426
+ type: preferredAppInferenceIntegration.type
646427
+ };
646335
646428
  content16.push({
646336
646429
  type: "text",
646337
646430
  text: `<default_ai_integration>
646338
646431
  The organization has configured the following integration as the default for AI inference in customer-built apps:
646339
646432
  ${escapeTagDelimiters(safeJsonStringify(defaultPayload))}
646340
- When the user asks for AI-powered functionality (chatbots, summarization, classification, content generation, semantic search, etc.), use this integration for AI inference WITHOUT asking the user which provider to use. Only pick a different AI integration if the user explicitly names another provider.
646433
+ When the user asks for AI-powered functionality (chatbots, summarization, classification, content generation, semantic search, etc.), DIRECTLY use this integration for AI inference. Do NOT use askMultiChoice or searchIntegrations to ask which AI provider to use \u2014 this integration is already the organization's chosen default. Include its ID in integrationIds when calling exitPlanMode for plans that involve AI-powered features. Only pick a different AI integration if the user explicitly names another provider.
646341
646434
  </default_ai_integration>
646342
646435
 
646343
646436
  `
@@ -646492,7 +646585,10 @@ var doLLMGenerating = (clark, services) => {
646492
646585
  void services.logger.info("[llm-generating] System prompt:", {
646493
646586
  system
646494
646587
  });
646588
+ const preferredAppInferenceIntegrationId = promptContext?.aiConfiguration?.preferredAppInferenceIntegrationId;
646589
+ const preferredAppInferenceIntegration = preferredAppInferenceIntegrationId ? await services.integrationStore.availableIntegration(preferredAppInferenceIntegrationId) : void 0;
646495
646590
  const user = buildUserMessage({
646591
+ preferredAppInferenceIntegration,
646496
646592
  userPrompt,
646497
646593
  promptContext,
646498
646594
  planContext,
@@ -653418,7 +653514,7 @@ var SocketManager = class extends import_shared62.TracedEventEmitter {
653418
653514
  super(tracer4);
653419
653515
  }
653420
653516
  socketServer;
653421
- startSocketServer({ server, fileSyncManager, syncService, lockService, aiService, gitService, activateGitService, checkAuthorization, path: path79, tracer: tracer4, gitOperationLock, superblocksBaseUrl }) {
653517
+ startSocketServer({ server, fileSyncManager, syncService, lockService, aiService, gitService, gitBootstrapFailed, activateGitService, checkAuthorization, path: path79, tracer: tracer4, gitOperationLock, superblocksBaseUrl }) {
653422
653518
  if (this.socketServer) {
653423
653519
  throw new Error("Socket server already started");
653424
653520
  }
@@ -653985,7 +654081,7 @@ var SocketManager = class extends import_shared62.TracedEventEmitter {
653985
654081
  async () => {
653986
654082
  const readyGitService = await getActiveGitService();
653987
654083
  if (!readyGitService) {
653988
- return null;
654084
+ return gitBootstrapFailed ? { bootstrapFailed: true } : null;
653989
654085
  }
653990
654086
  let hasUncommittedChanges = false;
653991
654087
  try {
@@ -662663,14 +662759,69 @@ async function findRouterFile(rootDir) {
662663
662759
  }
662664
662760
  throw new Error("Could not find router file with createBrowserRouter in project");
662665
662761
  }
662762
+ function isRelativeOrAliasImport(specifier) {
662763
+ return specifier.startsWith(".") || specifier.startsWith("/") || specifier.startsWith("@/");
662764
+ }
662765
+ function logUnresolvedComponent(kind, name16, routerFilePath) {
662766
+ getLogger3().debug(`Router parser: could not resolve ${kind} identifier "${name16}" to an import in ${routerFilePath}. Supported page-component bindings: \`import X from "..."\`, \`import { X } from "..."\`, or \`const X = lazy(() => import("..."))\`.`);
662767
+ }
662768
+ function extractImportSpecifierFromExpression(node) {
662769
+ if (!node)
662770
+ return null;
662771
+ if (node.type === "CallExpression" && node.callee.type === "Import" && node.arguments[0]?.type === "StringLiteral") {
662772
+ return node.arguments[0].value;
662773
+ }
662774
+ if (node.type === "CallExpression" && node.callee.type === "MemberExpression" && node.callee.object.type === "CallExpression" && node.callee.object.callee.type === "Import" && node.callee.object.arguments[0]?.type === "StringLiteral") {
662775
+ return node.callee.object.arguments[0].value;
662776
+ }
662777
+ return null;
662778
+ }
662779
+ function extractImportPathFromArrowFunction(node) {
662780
+ const body = node.body;
662781
+ if (body.type === "BlockStatement") {
662782
+ for (const statement of body.body) {
662783
+ if (statement.type === "VariableDeclaration") {
662784
+ for (const decl of statement.declarations) {
662785
+ let init2 = decl.init;
662786
+ if (init2?.type === "AwaitExpression")
662787
+ init2 = init2.argument;
662788
+ const path79 = extractImportSpecifierFromExpression(init2);
662789
+ if (path79)
662790
+ return path79;
662791
+ }
662792
+ } else if (statement.type === "ReturnStatement") {
662793
+ let arg = statement.argument;
662794
+ if (arg?.type === "AwaitExpression")
662795
+ arg = arg.argument;
662796
+ const path79 = extractImportSpecifierFromExpression(arg);
662797
+ if (path79)
662798
+ return path79;
662799
+ }
662800
+ }
662801
+ return null;
662802
+ }
662803
+ const expr = body.type === "AwaitExpression" && body.argument ? body.argument : body;
662804
+ return extractImportSpecifierFromExpression(expr);
662805
+ }
662806
+ function extractLazyImportPath(node) {
662807
+ if (node.type !== "CallExpression")
662808
+ return null;
662809
+ const callee = node.callee;
662810
+ const isLazy = callee.type === "Identifier" && callee.name === "lazy" || callee.type === "MemberExpression" && !callee.computed && callee.object.type === "Identifier" && callee.object.name === "React" && callee.property.type === "Identifier" && callee.property.name === "lazy";
662811
+ if (!isLazy)
662812
+ return null;
662813
+ const arg = node.arguments[0];
662814
+ if (!arg || arg.type !== "ArrowFunctionExpression")
662815
+ return null;
662816
+ return extractImportPathFromArrowFunction(arg);
662817
+ }
662666
662818
  function extractAllImports(content16) {
662667
662819
  const imports = /* @__PURE__ */ new Map();
662668
662820
  try {
662669
662821
  const staticImports = findStaticImports(content16);
662670
662822
  for (const staticImport of staticImports) {
662671
662823
  const parsed = parseStaticImport(staticImport);
662672
- const isRelativeOrAlias = parsed.specifier.startsWith(".") || parsed.specifier.startsWith("/") || parsed.specifier.startsWith("@/");
662673
- if (!isRelativeOrAlias) {
662824
+ if (!isRelativeOrAliasImport(parsed.specifier)) {
662674
662825
  continue;
662675
662826
  }
662676
662827
  if (parsed.defaultImport) {
@@ -662703,15 +662854,23 @@ async function parseRouterFile(routerFilePath, rootDir) {
662703
662854
  traverse(ast, {
662704
662855
  VariableDeclarator(astPath) {
662705
662856
  const node = astPath.node;
662706
- if (node.id.type === "Identifier" && node.init?.type === "ArrayExpression") {
662857
+ if (node.id.type !== "Identifier" || !node.init)
662858
+ return;
662859
+ if (node.init.type === "ArrayExpression") {
662707
662860
  variableDeclarations.set(node.id.name, node.init);
662708
- }
662709
- if (node.id.type === "Identifier" && node.init?.type === "TSAsExpression" && node.init.expression.type === "ArrayExpression") {
662861
+ } else if (node.init.type === "TSAsExpression" && node.init.expression.type === "ArrayExpression") {
662710
662862
  variableDeclarations.set(node.id.name, node.init.expression);
662711
- }
662712
- if (node.id.type === "Identifier" && node.init?.type === "TSSatisfiesExpression" && node.init.expression.type === "ArrayExpression") {
662863
+ } else if (node.init.type === "TSSatisfiesExpression" && node.init.expression.type === "ArrayExpression") {
662713
662864
  variableDeclarations.set(node.id.name, node.init.expression);
662714
662865
  }
662866
+ const declarationParent = astPath.parentPath?.parentPath;
662867
+ const isTopLevel = declarationParent ? declarationParent.isProgram() || declarationParent.isExportNamedDeclaration() && (declarationParent.parentPath?.isProgram() ?? false) : false;
662868
+ if (isTopLevel && !allImports.has(node.id.name)) {
662869
+ const lazyImportPath = extractLazyImportPath(node.init);
662870
+ if (lazyImportPath && isRelativeOrAliasImport(lazyImportPath)) {
662871
+ allImports.set(node.id.name, lazyImportPath);
662872
+ }
662873
+ }
662715
662874
  }
662716
662875
  });
662717
662876
  traverse(ast, {
@@ -662770,46 +662929,15 @@ async function extractRouteFromObject(node, routes, routerFilePath, rootDir, par
662770
662929
  } else if (key2 === "index" && prop2.value.type === "BooleanLiteral") {
662771
662930
  hasIndex = prop2.value.value;
662772
662931
  } else if (key2 === "lazy" && prop2.value.type === "ArrowFunctionExpression") {
662773
- let body = prop2.value.body;
662774
- if (body.type === "BlockStatement") {
662775
- for (const statement of body.body) {
662776
- if (statement.type !== "VariableDeclaration")
662777
- continue;
662778
- for (const declarator of statement.declarations) {
662779
- let init2 = declarator.init;
662780
- if (init2?.type === "AwaitExpression") {
662781
- init2 = init2.argument;
662782
- }
662783
- if (init2?.type === "CallExpression" && init2.callee.type === "Import" && init2.arguments[0]?.type === "StringLiteral") {
662784
- pageImportPath = init2.arguments[0].value;
662785
- break;
662786
- }
662787
- }
662788
- if (pageImportPath)
662789
- break;
662790
- }
662791
- continue;
662792
- }
662793
- if (body.type === "AwaitExpression") {
662794
- body = body.argument;
662795
- }
662796
- if (body.type === "CallExpression" && body.callee.type === "Import") {
662797
- if (body.arguments[0]?.type === "StringLiteral") {
662798
- pageImportPath = body.arguments[0].value;
662799
- }
662800
- continue;
662801
- }
662802
- if (body.type === "CallExpression" && body.callee.type === "MemberExpression" && body.callee.object.type === "CallExpression" && body.callee.object.callee.type === "Import") {
662803
- const importCall = body.callee.object;
662804
- if (importCall.arguments[0]?.type === "StringLiteral") {
662805
- pageImportPath = importCall.arguments[0].value;
662806
- }
662807
- continue;
662808
- }
662932
+ const path79 = extractImportPathFromArrowFunction(prop2.value);
662933
+ if (path79)
662934
+ pageImportPath = path79;
662809
662935
  } else if (key2 === "Component" && prop2.value.type === "Identifier") {
662810
662936
  const componentName = prop2.value.name;
662811
662937
  if (allImports.has(componentName)) {
662812
662938
  pageImportPath = allImports.get(componentName);
662939
+ } else {
662940
+ logUnresolvedComponent("Component", componentName, routerFilePath);
662813
662941
  }
662814
662942
  } else if (key2 === "element" && prop2.value.type === "JSXElement") {
662815
662943
  const jsxElement = prop2.value;
@@ -662817,6 +662945,8 @@ async function extractRouteFromObject(node, routes, routerFilePath, rootDir, par
662817
662945
  const componentName = jsxElement.openingElement.name.name;
662818
662946
  if (allImports.has(componentName)) {
662819
662947
  pageImportPath = allImports.get(componentName);
662948
+ } else {
662949
+ logUnresolvedComponent("element", componentName, routerFilePath);
662820
662950
  }
662821
662951
  }
662822
662952
  } else if (key2 === "children" && prop2.value.type === "ArrayExpression") {
@@ -676624,7 +676754,7 @@ var parseYaml3;
676624
676754
  async function loadYaml(file2) {
676625
676755
  const content16 = await read_file_default(file2);
676626
676756
  if (!parseYaml3) {
676627
- ({ __parsePrettierYamlConfig: parseYaml3 } = await import("./yaml-7OTOPLZG.js"));
676757
+ ({ __parsePrettierYamlConfig: parseYaml3 } = await import("./yaml-RTSSBABK.js"));
676628
676758
  }
676629
676759
  try {
676630
676760
  return parseYaml3(content16);
@@ -682018,7 +682148,7 @@ function createParsersAndPrinters(modules) {
682018
682148
  }
682019
682149
  var estreePlugin = createParsersAndPrinters([
682020
682150
  {
682021
- importPlugin: () => import("./estree-DKDBWMWV.js"),
682151
+ importPlugin: () => import("./estree-NUS4QSAG.js"),
682022
682152
  printers: ["estree", "estree-json"]
682023
682153
  }
682024
682154
  ]);
@@ -682042,11 +682172,11 @@ var languages = [
682042
682172
  ];
682043
682173
  var { parsers: parsers12, printers } = createParsersAndPrinters([
682044
682174
  {
682045
- importPlugin: () => import("./acorn-U72GJHXJ.js"),
682175
+ importPlugin: () => import("./acorn-QUZNODVK.js"),
682046
682176
  parsers: ["acorn", "espree"]
682047
682177
  },
682048
682178
  {
682049
- importPlugin: () => import("./angular-RFNJE6BH.js"),
682179
+ importPlugin: () => import("./angular-J5OAYFZO.js"),
682050
682180
  parsers: [
682051
682181
  "__ng_action",
682052
682182
  "__ng_binding",
@@ -682055,7 +682185,7 @@ var { parsers: parsers12, printers } = createParsersAndPrinters([
682055
682185
  ]
682056
682186
  },
682057
682187
  {
682058
- importPlugin: () => import("./babel-I3KEV5HB.js"),
682188
+ importPlugin: () => import("./babel-I3HB6RUW.js"),
682059
682189
  parsers: [
682060
682190
  "babel",
682061
682191
  "babel-flow",
@@ -682074,44 +682204,44 @@ var { parsers: parsers12, printers } = createParsersAndPrinters([
682074
682204
  ]
682075
682205
  },
682076
682206
  {
682077
- importPlugin: () => import("./flow-D2EFJCNB.js"),
682207
+ importPlugin: () => import("./flow-E7DRCMMI.js"),
682078
682208
  parsers: ["flow"]
682079
682209
  },
682080
682210
  {
682081
- importPlugin: () => import("./glimmer-KROCBZZS.js"),
682211
+ importPlugin: () => import("./glimmer-6ANTYH2P.js"),
682082
682212
  parsers: ["glimmer"],
682083
682213
  printers: ["glimmer"]
682084
682214
  },
682085
682215
  {
682086
- importPlugin: () => import("./graphql-ZBVIIMSI.js"),
682216
+ importPlugin: () => import("./graphql-EWI2TEWV.js"),
682087
682217
  parsers: ["graphql"],
682088
682218
  printers: ["graphql"]
682089
682219
  },
682090
682220
  {
682091
- importPlugin: () => import("./html-EJOIUUS4.js"),
682221
+ importPlugin: () => import("./html-YOPXDSS2.js"),
682092
682222
  parsers: ["html", "angular", "vue", "lwc", "mjml"],
682093
682223
  printers: ["html"]
682094
682224
  },
682095
682225
  {
682096
- importPlugin: () => import("./markdown-2ER5VOWK.js"),
682226
+ importPlugin: () => import("./markdown-OPEAPKNT.js"),
682097
682227
  parsers: ["markdown", "mdx", "remark"],
682098
682228
  printers: ["mdast"]
682099
682229
  },
682100
682230
  {
682101
- importPlugin: () => import("./meriyah-BM44GXM4.js"),
682231
+ importPlugin: () => import("./meriyah-A3S6H7ZT.js"),
682102
682232
  parsers: ["meriyah"]
682103
682233
  },
682104
682234
  {
682105
- importPlugin: () => import("./postcss-LMHTYA72.js"),
682235
+ importPlugin: () => import("./postcss-XTQ6SCBH.js"),
682106
682236
  parsers: ["css", "less", "scss"],
682107
682237
  printers: ["postcss"]
682108
682238
  },
682109
682239
  {
682110
- importPlugin: () => import("./typescript-WEDRVYCM.js"),
682240
+ importPlugin: () => import("./typescript-DUC5CKYO.js"),
682111
682241
  parsers: ["typescript"]
682112
682242
  },
682113
682243
  {
682114
- importPlugin: () => import("./yaml-7OTOPLZG.js"),
682244
+ importPlugin: () => import("./yaml-RTSSBABK.js"),
682115
682245
  parsers: ["yaml"],
682116
682246
  printers: ["yaml"]
682117
682247
  }
@@ -686558,6 +686688,7 @@ function fileSyncVitePlugin(pluginParams, options8) {
686558
686688
  syncService,
686559
686689
  aiService,
686560
686690
  gitService,
686691
+ gitBootstrapFailed: pluginParams.gitBootstrapFailed,
686561
686692
  activateGitService,
686562
686693
  checkAuthorization: pluginParams.checkAuthorization,
686563
686694
  tracer: pluginParams.tracer,
@@ -695436,7 +695567,7 @@ function getJwksUriWithBaseUrl(superblocksBaseUrl) {
695436
695567
  return jwksUri;
695437
695568
  }
695438
695569
  var httpServer;
695439
- async function createDevServer({ root: root3, mode, fsOperationQueue, syncService, lockService, aiService, gitService, activateGitService, snapshotManager, logger: loggerOverride, port, sdk, superblocksBaseUrl: explicitBaseUrl, existingServer }) {
695570
+ async function createDevServer({ root: root3, mode, fsOperationQueue, syncService, lockService, aiService, gitService, gitBootstrapFailed, activateGitService, snapshotManager, logger: loggerOverride, port, sdk, superblocksBaseUrl: explicitBaseUrl, existingServer }) {
695440
695571
  const logger16 = getLogger2(loggerOverride);
695441
695572
  if (httpServer) {
695442
695573
  logger16.debug("Dev server already running");
@@ -695777,6 +695908,7 @@ async function createDevServer({ root: root3, mode, fsOperationQueue, syncServic
695777
695908
  lockService,
695778
695909
  aiService,
695779
695910
  gitService,
695911
+ gitBootstrapFailed,
695780
695912
  activateGitService,
695781
695913
  snapshotManager,
695782
695914
  checkAuthorization,
@@ -695798,7 +695930,7 @@ async function createDevServer({ root: root3, mode, fsOperationQueue, syncServic
695798
695930
  }
695799
695931
  return httpServer;
695800
695932
  }
695801
- async function startVite({ app, httpServer: httpServer2, root: root3, mode, port, fsOperationQueue, syncService, lockService, aiService, gitService, activateGitService, snapshotManager, checkAuthorization, logger: loggerOverride, superblocksBaseUrl, features }) {
695933
+ async function startVite({ app, httpServer: httpServer2, root: root3, mode, port, fsOperationQueue, syncService, lockService, aiService, gitService, gitBootstrapFailed, activateGitService, snapshotManager, checkAuthorization, logger: loggerOverride, superblocksBaseUrl, features }) {
695802
695934
  return tracer3.startActiveSpan("startVite", async (startViteSpan) => {
695803
695935
  try {
695804
695936
  const logger16 = getLogger2(loggerOverride);
@@ -695850,6 +695982,7 @@ async function startVite({ app, httpServer: httpServer2, root: root3, mode, port
695850
695982
  lockService,
695851
695983
  aiService,
695852
695984
  gitService,
695985
+ gitBootstrapFailed,
695853
695986
  activateGitService,
695854
695987
  snapshotManager,
695855
695988
  httpServer: httpServer2,
@@ -696712,7 +696845,7 @@ async function handleLockConflict(error40, lockSvc, span, logger16) {
696712
696845
  }
696713
696846
  async function readPkgJson(cwd) {
696714
696847
  try {
696715
- const { readPackage } = await import("./read-pkg-ONODI7W3.js");
696848
+ const { readPackage } = await import("./read-pkg-47YN6Y5W.js");
696716
696849
  return await readPackage({ cwd });
696717
696850
  } catch {
696718
696851
  return null;
@@ -696820,6 +696953,7 @@ async function dev(options8) {
696820
696953
  const port = devServerPort ?? 5173;
696821
696954
  const fsOperationQueue = new OperationQueue();
696822
696955
  let activeDbfsBranchName = applicationConfig?.branchName ?? "main";
696956
+ let devStartupGitOutcome = "skipped_no_remote";
696823
696957
  if (applicationConfig && !skipSync) {
696824
696958
  const rpcClient = new AutoConnectingRpcClient(tokenConfig.superblocksBaseUrl, tokenConfig.token, tracer4, tokenManager, logger16);
696825
696959
  const featureFlags = await tracer4.startActiveSpan("getFeatureFlags", async (span) => {
@@ -696935,7 +697069,6 @@ async function dev(options8) {
696935
697069
  }
696936
697070
  });
696937
697071
  logger16.info(`[dev-startup] Starting git sync (${downloadFirst ? "download" : "upload"}-first) on branch '${activeDbfsBranchName}'`);
696938
- let devStartupGitOutcome = "skipped_no_remote";
696939
697072
  await tracer4.startActiveSpan("gitSync", async (gitSpan) => {
696940
697073
  try {
696941
697074
  const bootstrappedGitService = await bootstrapGitService({
@@ -697249,6 +697382,7 @@ async function dev(options8) {
697249
697382
  lockService,
697250
697383
  aiService,
697251
697384
  gitService,
697385
+ gitBootstrapFailed: devStartupGitOutcome === "bootstrap_failed",
697252
697386
  activateGitService: activateRuntimeGitService,
697253
697387
  snapshotManager,
697254
697388
  logger: options8.logger,
@@ -697319,6 +697453,12 @@ async function bootstrapGitService({ sdk, applicationId, cwd, logger: logger16,
697319
697453
  }
697320
697454
  }
697321
697455
  await service.configure({ credentials, userName, userEmail });
697456
+ logger16.info("[git] configure complete, proceeding to ensureGitRepo", {
697457
+ gitCategory: "setup",
697458
+ gitOperation: "bootstrap",
697459
+ applicationId,
697460
+ workDir: cwd
697461
+ });
697322
697462
  await ensureGitRepo(service, gitConfig.gitRemoteUrl, superblocksBaseUrl);
697323
697463
  return service;
697324
697464
  }
@@ -697346,6 +697486,13 @@ async function ensureGitRepo(git, remoteUrl, superblocksBaseUrl) {
697346
697486
  const hasGit = await nodeFs.access(path78.join(git.workDir, ".git")).then(() => true, () => false);
697347
697487
  if (!hasGit) {
697348
697488
  await git.init();
697489
+ const gitDirAfterInit = await nodeFs.access(path78.join(git.workDir, ".git")).then(() => true, () => false);
697490
+ getLogger2().info("[git] ensureGitRepo init complete", {
697491
+ gitCategory: "setup",
697492
+ gitOperation: "ensure-repo",
697493
+ gitDirCreated: gitDirAfterInit,
697494
+ workDir: git.workDir
697495
+ });
697349
697496
  await git.addRemote("origin", remoteUrl);
697350
697497
  const remoteRefs = await git.raw([
697351
697498
  "ls-remote",
@@ -698161,4 +698308,4 @@ serve-static/index.js:
698161
698308
  chokidar/esm/index.js:
698162
698309
  (*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) *)
698163
698310
  */
698164
- //# sourceMappingURL=chunk-JQW6DXYI.js.map
698311
+ //# sourceMappingURL=chunk-24DKMS3B.js.map