@builder.io/buildercode 0.3.9 → 0.3.10

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 (2) hide show
  1. package/dist/cli.mjs +203 -145
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -244266,7 +244266,7 @@ const LIB_CACHE = /* @__PURE__ */ new Map();
244266
244266
  const PENDING_LIB_CACHE = /* @__PURE__ */ new Map();
244267
244267
  const NODE_MODULE_CACHE = /* @__PURE__ */ new Map();
244268
244268
  const TSCONFIG_CACHE = /* @__PURE__ */ new Map();
244269
- const pkgVersion = process.env.OVERRIDE_VERSION ?? "0.3.9";
244269
+ const pkgVersion = process.env.OVERRIDE_VERSION ?? "0.3.10";
244270
244270
  //#endregion
244271
244271
  //#region ../dev-tools/core/detect-frameworks.ts
244272
244272
  async function detectFrameworks$1(sys) {
@@ -538138,7 +538138,7 @@ const FooterSection = (0, import_react.memo)(() => {
538138
538138
  children: [
538139
538139
  "•",
538140
538140
  " Fusion ",
538141
- "0.3.9"
538141
+ "0.3.10"
538142
538142
  ]
538143
538143
  });
538144
538144
  $[10] = t7;
@@ -598441,8 +598441,8 @@ function ToolCallGetScreenshot(t0) {
598441
598441
  return t5;
598442
598442
  }
598443
598443
  function ToolCallAgent(t0) {
598444
- const $ = (0, import_compiler_runtime.c)(17);
598445
- const { tool } = t0;
598444
+ const $ = (0, import_compiler_runtime.c)(21);
598445
+ const { tool, onRender } = t0;
598446
598446
  let t1;
598447
598447
  if ($[0] !== tool.input) {
598448
598448
  t1 = tool.input ?? {};
@@ -598471,31 +598471,46 @@ function ToolCallAgent(t0) {
598471
598471
  }
598472
598472
  const lines = t2;
598473
598473
  const isRunning = tool.state === "generating" || tool.state === "running";
598474
- const t3 = `Agent(${subagent_type ?? "explorer"})`;
598474
+ let t3;
598475
+ if ($[5] !== onRender) {
598476
+ t3 = () => {
598477
+ onRender();
598478
+ };
598479
+ $[5] = onRender;
598480
+ $[6] = t3;
598481
+ } else t3 = $[6];
598475
598482
  let t4;
598476
- if ($[5] !== description) {
598477
- t4 = description ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, {
598483
+ if ($[7] !== lines.length) {
598484
+ t4 = [lines.length];
598485
+ $[7] = lines.length;
598486
+ $[8] = t4;
598487
+ } else t4 = $[8];
598488
+ (0, import_react.useEffect)(t3, t4);
598489
+ const t5 = `Agent(${subagent_type ?? "explorer"})`;
598490
+ let t6;
598491
+ if ($[9] !== description) {
598492
+ t6 = description ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, {
598478
598493
  dimColor: true,
598479
598494
  children: description
598480
598495
  }) : void 0;
598481
- $[5] = description;
598482
- $[6] = t4;
598483
- } else t4 = $[6];
598484
- let t5;
598485
- if ($[7] !== t3 || $[8] !== t4 || $[9] !== tool) {
598486
- t5 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ToolHeader, {
598496
+ $[9] = description;
598497
+ $[10] = t6;
598498
+ } else t6 = $[10];
598499
+ let t7;
598500
+ if ($[11] !== t5 || $[12] !== t6 || $[13] !== tool) {
598501
+ t7 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ToolHeader, {
598487
598502
  tool,
598488
- label: t3,
598489
- extra: t4
598503
+ label: t5,
598504
+ extra: t6
598490
598505
  });
598491
- $[7] = t3;
598492
- $[8] = t4;
598493
- $[9] = tool;
598494
- $[10] = t5;
598495
- } else t5 = $[10];
598496
- let t6;
598497
- if ($[11] !== isRunning || $[12] !== lines) {
598498
- t6 = isRunning && lines.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Box, {
598506
+ $[11] = t5;
598507
+ $[12] = t6;
598508
+ $[13] = tool;
598509
+ $[14] = t7;
598510
+ } else t7 = $[14];
598511
+ let t8;
598512
+ if ($[15] !== isRunning || $[16] !== lines) {
598513
+ t8 = isRunning && lines.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Box, {
598499
598514
  flexDirection: "column",
598500
598515
  marginLeft: 3,
598501
598516
  paddingX: 1,
@@ -598506,22 +598521,22 @@ function ToolCallAgent(t0) {
598506
598521
  borderDimColor: true,
598507
598522
  children: lines.map(_temp7)
598508
598523
  });
598509
- $[11] = isRunning;
598510
- $[12] = lines;
598511
- $[13] = t6;
598512
- } else t6 = $[13];
598513
- let t7;
598514
- if ($[14] !== t5 || $[15] !== t6) {
598515
- t7 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Box, {
598524
+ $[15] = isRunning;
598525
+ $[16] = lines;
598526
+ $[17] = t8;
598527
+ } else t8 = $[17];
598528
+ let t9;
598529
+ if ($[18] !== t7 || $[19] !== t8) {
598530
+ t9 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Box, {
598516
598531
  flexDirection: "column",
598517
598532
  paddingX: 1,
598518
- children: [t5, t6]
598533
+ children: [t7, t8]
598519
598534
  });
598520
- $[14] = t5;
598521
- $[15] = t6;
598522
- $[16] = t7;
598523
- } else t7 = $[16];
598524
- return t7;
598535
+ $[18] = t7;
598536
+ $[19] = t8;
598537
+ $[20] = t9;
598538
+ } else t9 = $[20];
598539
+ return t9;
598525
598540
  }
598526
598541
  function _temp7(line, i) {
598527
598542
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, {
@@ -598797,8 +598812,8 @@ function CodePreview(t0) {
598797
598812
  return t8;
598798
598813
  }
598799
598814
  function ToolCallCompleted(t0) {
598800
- const $ = (0, import_compiler_runtime.c)(26);
598801
- const { tool } = t0;
598815
+ const $ = (0, import_compiler_runtime.c)(27);
598816
+ const { tool, onRender } = t0;
598802
598817
  switch (tool.toolName) {
598803
598818
  case "Read": {
598804
598819
  const t1 = tool;
@@ -598913,20 +598928,24 @@ function ToolCallCompleted(t0) {
598913
598928
  case "Agent": {
598914
598929
  const t1 = tool;
598915
598930
  let t2;
598916
- if ($[22] !== t1) {
598917
- t2 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ToolCallAgent, { tool: t1 });
598918
- $[22] = t1;
598919
- $[23] = t2;
598920
- } else t2 = $[23];
598931
+ if ($[22] !== onRender || $[23] !== t1) {
598932
+ t2 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ToolCallAgent, {
598933
+ tool: t1,
598934
+ onRender
598935
+ });
598936
+ $[22] = onRender;
598937
+ $[23] = t1;
598938
+ $[24] = t2;
598939
+ } else t2 = $[24];
598921
598940
  return t2;
598922
598941
  }
598923
598942
  default: {
598924
598943
  let t1;
598925
- if ($[24] !== tool) {
598944
+ if ($[25] !== tool) {
598926
598945
  t1 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ToolCallGeneric, { tool });
598927
- $[24] = tool;
598928
- $[25] = t1;
598929
- } else t1 = $[25];
598946
+ $[25] = tool;
598947
+ $[26] = t1;
598948
+ } else t1 = $[26];
598930
598949
  return t1;
598931
598950
  }
598932
598951
  }
@@ -598934,7 +598953,7 @@ function ToolCallCompleted(t0) {
598934
598953
  //#endregion
598935
598954
  //#region src/components/MessageBlockView.tsx
598936
598955
  const MessageBlockView = (0, import_react.memo)((props) => {
598937
- const $ = (0, import_compiler_runtime.c)(20);
598956
+ const $ = (0, import_compiler_runtime.c)(23);
598938
598957
  const message = useSnapshot(props.message);
598939
598958
  const theme = useTheme();
598940
598959
  switch (message.type) {
@@ -598974,87 +598993,111 @@ const MessageBlockView = (0, import_react.memo)((props) => {
598974
598993
  }
598975
598994
  case "text": {
598976
598995
  let t0;
598977
- if ($[6] !== message.content || $[7] !== message.id) {
598978
- t0 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CompletedTextBlock, { text: message.content }, message.id);
598996
+ if ($[6] !== message.content || $[7] !== message.id || $[8] !== props.onRender) {
598997
+ t0 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CompletedTextBlock, {
598998
+ text: message.content,
598999
+ onRender: props.onRender
599000
+ }, message.id);
598979
599001
  $[6] = message.content;
598980
599002
  $[7] = message.id;
598981
- $[8] = t0;
598982
- } else t0 = $[8];
599003
+ $[8] = props.onRender;
599004
+ $[9] = t0;
599005
+ } else t0 = $[9];
598983
599006
  return t0;
598984
599007
  }
598985
599008
  case "tool": {
598986
599009
  const t0 = message;
598987
599010
  let t1;
598988
- if ($[9] !== message.id || $[10] !== t0) {
598989
- t1 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ToolCallCompleted, { tool: t0 }, message.id);
598990
- $[9] = message.id;
598991
- $[10] = t0;
598992
- $[11] = t1;
598993
- } else t1 = $[11];
599011
+ if ($[10] !== message.id || $[11] !== props.onRender || $[12] !== t0) {
599012
+ t1 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ToolCallCompleted, {
599013
+ tool: t0,
599014
+ onRender: props.onRender
599015
+ }, message.id);
599016
+ $[10] = message.id;
599017
+ $[11] = props.onRender;
599018
+ $[12] = t0;
599019
+ $[13] = t1;
599020
+ } else t1 = $[13];
598994
599021
  return t1;
598995
599022
  }
598996
599023
  case "thinking": {
598997
- const t0 = message;
598998
- let t1;
598999
- if ($[12] !== message.content || $[13] !== message.id || $[14] !== t0.streaming) {
599000
- t1 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ThinkingBlock, {
599024
+ let t0;
599025
+ if ($[14] !== message.content || $[15] !== message.id || $[16] !== message.streaming || $[17] !== props.onRender) {
599026
+ t0 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ThinkingBlock, {
599001
599027
  text: message.content,
599002
- streaming: t0.streaming
599028
+ streaming: message.streaming,
599029
+ onRender: props.onRender
599003
599030
  }, message.id);
599004
- $[12] = message.content;
599005
- $[13] = message.id;
599006
- $[14] = t0.streaming;
599007
- $[15] = t1;
599008
- } else t1 = $[15];
599009
- return t1;
599031
+ $[14] = message.content;
599032
+ $[15] = message.id;
599033
+ $[16] = message.streaming;
599034
+ $[17] = props.onRender;
599035
+ $[18] = t0;
599036
+ } else t0 = $[18];
599037
+ return t0;
599010
599038
  }
599011
599039
  case "idle": {
599012
599040
  const t0 = message;
599013
599041
  let t1;
599014
- if ($[16] !== message.id || $[17] !== t0) {
599042
+ if ($[19] !== message.id || $[20] !== t0) {
599015
599043
  t1 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(IdleBlock, { message: t0 }, message.id);
599016
- $[16] = message.id;
599017
- $[17] = t0;
599018
- $[18] = t1;
599019
- } else t1 = $[18];
599044
+ $[19] = message.id;
599045
+ $[20] = t0;
599046
+ $[21] = t1;
599047
+ } else t1 = $[21];
599020
599048
  return t1;
599021
599049
  }
599022
599050
  default: {
599023
599051
  let t0;
599024
- if ($[19] === Symbol.for("react.memo_cache_sentinel")) {
599052
+ if ($[22] === Symbol.for("react.memo_cache_sentinel")) {
599025
599053
  t0 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {});
599026
- $[19] = t0;
599027
- } else t0 = $[19];
599054
+ $[22] = t0;
599055
+ } else t0 = $[22];
599028
599056
  return t0;
599029
599057
  }
599030
599058
  }
599031
599059
  });
599032
599060
  function CompletedTextBlock(t0) {
599033
- const $ = (0, import_compiler_runtime.c)(4);
599034
- const { text } = t0;
599061
+ const $ = (0, import_compiler_runtime.c)(8);
599062
+ const { text, onRender } = t0;
599035
599063
  let t1;
599036
- if ($[0] !== text) {
599037
- t1 = renderMarkdownBlocks(text);
599038
- $[0] = text;
599064
+ if ($[0] !== onRender) {
599065
+ t1 = () => {
599066
+ onRender();
599067
+ };
599068
+ $[0] = onRender;
599039
599069
  $[1] = t1;
599040
599070
  } else t1 = $[1];
599041
599071
  let t2;
599042
- if ($[2] !== t1) {
599043
- t2 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Box, {
599072
+ if ($[2] !== text) {
599073
+ t2 = [text];
599074
+ $[2] = text;
599075
+ $[3] = t2;
599076
+ } else t2 = $[3];
599077
+ (0, import_react.useEffect)(t1, t2);
599078
+ let t3;
599079
+ if ($[4] !== text) {
599080
+ t3 = renderMarkdownBlocks(text);
599081
+ $[4] = text;
599082
+ $[5] = t3;
599083
+ } else t3 = $[5];
599084
+ let t4;
599085
+ if ($[6] !== t3) {
599086
+ t4 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Box, {
599044
599087
  flexDirection: "column",
599045
599088
  paddingX: 2,
599046
599089
  marginY: 1,
599047
- children: t1
599090
+ children: t3
599048
599091
  });
599049
- $[2] = t1;
599050
- $[3] = t2;
599051
- } else t2 = $[3];
599052
- return t2;
599092
+ $[6] = t3;
599093
+ $[7] = t4;
599094
+ } else t4 = $[7];
599095
+ return t4;
599053
599096
  }
599054
599097
  const THINKING_MAX_CHARS = 400;
599055
599098
  function ThinkingBlock(t0) {
599056
- const $ = (0, import_compiler_runtime.c)(13);
599057
- const { text, streaming: t1 } = t0;
599099
+ const $ = (0, import_compiler_runtime.c)(17);
599100
+ const { text, streaming: t1, onRender } = t0;
599058
599101
  const streaming = t1 === void 0 ? false : t1;
599059
599102
  let t2;
599060
599103
  if ($[0] !== streaming || $[1] !== text) {
@@ -599065,8 +599108,23 @@ function ThinkingBlock(t0) {
599065
599108
  } else t2 = $[2];
599066
599109
  const preview = t2;
599067
599110
  let t3;
599068
- if ($[3] !== streaming) {
599069
- t3 = streaming ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, {
599111
+ if ($[3] !== onRender) {
599112
+ t3 = () => {
599113
+ onRender();
599114
+ };
599115
+ $[3] = onRender;
599116
+ $[4] = t3;
599117
+ } else t3 = $[4];
599118
+ let t4;
599119
+ if ($[5] !== preview) {
599120
+ t4 = [preview];
599121
+ $[5] = preview;
599122
+ $[6] = t4;
599123
+ } else t4 = $[6];
599124
+ (0, import_react.useEffect)(t3, t4);
599125
+ let t5;
599126
+ if ($[7] !== streaming) {
599127
+ t5 = streaming ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, {
599070
599128
  bold: true,
599071
599129
  color: "cyan",
599072
599130
  children: "●"
@@ -599074,30 +599132,30 @@ function ThinkingBlock(t0) {
599074
599132
  dimColor: true,
599075
599133
  children: "◆"
599076
599134
  });
599077
- $[3] = streaming;
599078
- $[4] = t3;
599079
- } else t3 = $[4];
599080
- let t4;
599081
- if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
599082
- t4 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, {
599135
+ $[7] = streaming;
599136
+ $[8] = t5;
599137
+ } else t5 = $[8];
599138
+ let t6;
599139
+ if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
599140
+ t6 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, {
599083
599141
  bold: true,
599084
599142
  dimColor: true,
599085
599143
  children: "Thinking"
599086
599144
  });
599087
- $[5] = t4;
599088
- } else t4 = $[5];
599089
- let t5;
599090
- if ($[6] !== t3) {
599091
- t5 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Box, {
599145
+ $[9] = t6;
599146
+ } else t6 = $[9];
599147
+ let t7;
599148
+ if ($[10] !== t5) {
599149
+ t7 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Box, {
599092
599150
  gap: 1,
599093
- children: [t3, t4]
599151
+ children: [t5, t6]
599094
599152
  });
599095
- $[6] = t3;
599096
- $[7] = t5;
599097
- } else t5 = $[7];
599098
- let t6;
599099
- if ($[8] !== preview) {
599100
- t6 = preview.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Box, {
599153
+ $[10] = t5;
599154
+ $[11] = t7;
599155
+ } else t7 = $[11];
599156
+ let t8;
599157
+ if ($[12] !== preview) {
599158
+ t8 = preview.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Box, {
599101
599159
  paddingLeft: 2,
599102
599160
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, {
599103
599161
  dimColor: true,
@@ -599105,22 +599163,22 @@ function ThinkingBlock(t0) {
599105
599163
  children: preview
599106
599164
  })
599107
599165
  });
599108
- $[8] = preview;
599109
- $[9] = t6;
599110
- } else t6 = $[9];
599111
- let t7;
599112
- if ($[10] !== t5 || $[11] !== t6) {
599113
- t7 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Box, {
599166
+ $[12] = preview;
599167
+ $[13] = t8;
599168
+ } else t8 = $[13];
599169
+ let t9;
599170
+ if ($[14] !== t7 || $[15] !== t8) {
599171
+ t9 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Box, {
599114
599172
  flexDirection: "column",
599115
599173
  paddingX: 1,
599116
599174
  marginY: 1,
599117
- children: [t5, t6]
599175
+ children: [t7, t8]
599118
599176
  });
599119
- $[10] = t5;
599120
- $[11] = t6;
599121
- $[12] = t7;
599122
- } else t7 = $[12];
599123
- return t7;
599177
+ $[14] = t7;
599178
+ $[15] = t8;
599179
+ $[16] = t9;
599180
+ } else t9 = $[16];
599181
+ return t9;
599124
599182
  }
599125
599183
  function formatDuration(ms) {
599126
599184
  if (ms < 1e3) return `${ms}ms`;
@@ -599443,19 +599501,6 @@ const CodeSession = (0, import_react.memo)(({ onExit, isTabActive = true }) => {
599443
599501
  }
599444
599502
  }, [isTabActive]);
599445
599503
  useInput((input, key) => {
599446
- if (slashMenuActive) return;
599447
- if (key.escape && proxy.state === "generating") {
599448
- api.abort().catch(() => {});
599449
- return;
599450
- }
599451
- if (key.pageUp) {
599452
- scrollByClamped(-(scrollRef.current?.getViewportHeight() || 10));
599453
- return;
599454
- }
599455
- if (key.pageDown) {
599456
- scrollByClamped(scrollRef.current?.getViewportHeight() || 10);
599457
- return;
599458
- }
599459
599504
  if (input === "c" && key.ctrl) {
599460
599505
  if (showWelcome || ctrlCPending) {
599461
599506
  if (ctrlCTimer.current) clearTimeout(ctrlCTimer.current);
@@ -599472,7 +599517,20 @@ const CodeSession = (0, import_react.memo)(({ onExit, isTabActive = true }) => {
599472
599517
  }
599473
599518
  return;
599474
599519
  }
599475
- }, { isActive: isTabActive && !slashMenuActive && !state.activeUserQuestions });
599520
+ if (slashMenuActive || state.activeUserQuestions) return;
599521
+ if (key.escape && proxy.state === "generating") {
599522
+ api.abort().catch(() => {});
599523
+ return;
599524
+ }
599525
+ if (key.pageUp) {
599526
+ scrollByClamped(-(scrollRef.current?.getViewportHeight() || 10));
599527
+ return;
599528
+ }
599529
+ if (key.pageDown) {
599530
+ scrollByClamped(scrollRef.current?.getViewportHeight() || 10);
599531
+ return;
599532
+ }
599533
+ }, { isActive: isTabActive });
599476
599534
  const handleSlashCommand = (0, import_react.useCallback)((selection) => {
599477
599535
  setSlashMenuActive(false);
599478
599536
  switch (selection.commandId) {
@@ -599613,8 +599671,6 @@ const CodeSession = (0, import_react.memo)(({ onExit, isTabActive = true }) => {
599613
599671
  const idx = startIndex + i;
599614
599672
  const msgProxy = proxy.messages[idx];
599615
599673
  const msgId = msgProxy.id;
599616
- const isLastMessage = idx === messageCount - 1;
599617
- const isStreaming = state.state === "generating";
599618
599674
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ErrorBoundary, {
599619
599675
  fallback: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Box, {
599620
599676
  paddingX: 2,
@@ -599624,9 +599680,11 @@ const CodeSession = (0, import_react.memo)(({ onExit, isTabActive = true }) => {
599624
599680
  children: "[failed to render message]"
599625
599681
  })
599626
599682
  }),
599627
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Box, {
599628
- minHeight: isLastMessage && isStreaming ? Math.floor(rows * .4) : void 0,
599629
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(MessageBlockView, { message: msgProxy })
599683
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(MessageBlockView, {
599684
+ message: msgProxy,
599685
+ onRender: () => {
599686
+ scrollRef.current?.remeasureItem(i);
599687
+ }
599630
599688
  })
599631
599689
  }, `err-${msgId}-${idx}`);
599632
599690
  })
@@ -600784,7 +600842,7 @@ function initSentry() {
600784
600842
  init({
600785
600843
  dsn: "https://1c5033d697e0271ebe53773bff826de0@o117565.ingest.us.sentry.io/4511107776905216",
600786
600844
  tracesSampleRate: 0,
600787
- release: "0.3.9",
600845
+ release: "0.3.10",
600788
600846
  environment: process.env.NODE_ENV ?? "development",
600789
600847
  enabled: false,
600790
600848
  registerEsmLoaderHooks: false,
@@ -600808,7 +600866,7 @@ function isStandaloneBinary() {
600808
600866
  return !path$6.basename(process.execPath, ".exe").startsWith("node");
600809
600867
  }
600810
600868
  function getCurrentVersion() {
600811
- return "0.3.9";
600869
+ return "0.3.10";
600812
600870
  }
600813
600871
  async function fetchLatestVersion() {
600814
600872
  return new Promise((resolve, reject) => {
@@ -601017,7 +601075,7 @@ async function downloadFile(url, dest, onRequest) {
601017
601075
  }
601018
601076
  //#endregion
601019
601077
  //#region src/cli.tsx
601020
- const VERSION = "0.3.9";
601078
+ const VERSION = "0.3.10";
601021
601079
  async function startInk(command, options) {
601022
601080
  await render(/* @__PURE__ */ (0, import_jsx_runtime.jsx)(App, {
601023
601081
  command,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/buildercode",
3
- "version": "0.3.9",
3
+ "version": "0.3.10",
4
4
  "description": "Builder.io CLI - AI-powered code generation",
5
5
  "license": "MIT",
6
6
  "bin": {