@builder.io/buildercode 0.3.2 → 0.3.3

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 +9 -8
  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.2";
244269
+ const pkgVersion = process.env.OVERRIDE_VERSION ?? "0.3.3";
244270
244270
  //#endregion
244271
244271
  //#region ../dev-tools/core/detect-frameworks.ts
244272
244272
  async function detectFrameworks$1(sys) {
@@ -533565,7 +533565,6 @@ function useCodeGenStateHandler() {
533565
533565
  };
533566
533566
  state.messages.push(existingTool_1);
533567
533567
  }
533568
- if (isTool(existingTool_1, "TodoWrite")) state.todoItems = existingTool_1.input?.todos;
533569
533568
  break;
533570
533569
  }
533571
533570
  case "tool_result": {
@@ -533579,6 +533578,10 @@ function useCodeGenStateHandler() {
533579
533578
  existingTool_0.input = processToolInput(existingTool_0.content);
533580
533579
  }
533581
533580
  toolResult.content = toolResult.content;
533581
+ if (isTool(existingTool_0, "TodoWrite")) {
533582
+ const todos = existingTool_0.structuredResult?.todos;
533583
+ if (Array.isArray(todos)) state.todoItems = todos;
533584
+ }
533582
533585
  }
533583
533586
  break;
533584
533587
  }
@@ -537914,7 +537917,7 @@ const FooterSection = (0, import_react.memo)(() => {
537914
537917
  children: [
537915
537918
  "•",
537916
537919
  " Fusion ",
537917
- "0.3.2"
537920
+ "0.3.3"
537918
537921
  ]
537919
537922
  });
537920
537923
  $[4] = t4;
@@ -598805,9 +598808,7 @@ const CodeSession = (0, import_react.memo)(({ onExit, isTabActive = true }) => {
598805
598808
  userScrolledUp.current = nextOffset < bottomOffset;
598806
598809
  scrollView.scrollTo(nextOffset);
598807
598810
  }, []);
598808
- const enableMouseTracking = process.env.TERM_PROGRAM !== "vscode";
598809
598811
  (0, import_react.useEffect)(() => {
598810
- if (!enableMouseTracking) return;
598811
598812
  process.stdout.write("\x1B[?1000h\x1B[?1006h");
598812
598813
  return () => {
598813
598814
  process.stdout.write("\x1B[?1006l\x1B[?1000l");
@@ -599975,7 +599976,7 @@ function initSentry() {
599975
599976
  init({
599976
599977
  dsn: "https://1c5033d697e0271ebe53773bff826de0@o117565.ingest.us.sentry.io/4511107776905216",
599977
599978
  tracesSampleRate: 0,
599978
- release: "0.3.2",
599979
+ release: "0.3.3",
599979
599980
  environment: process.env.NODE_ENV ?? "development",
599980
599981
  enabled: false,
599981
599982
  registerEsmLoaderHooks: false,
@@ -599999,7 +600000,7 @@ function isStandaloneBinary() {
599999
600000
  return !path$6.basename(process.execPath, ".exe").startsWith("node");
600000
600001
  }
600001
600002
  function getCurrentVersion() {
600002
- return "0.3.2";
600003
+ return "0.3.3";
600003
600004
  }
600004
600005
  async function fetchLatestVersion() {
600005
600006
  return new Promise((resolve, reject) => {
@@ -600175,7 +600176,7 @@ async function downloadFile(url, dest) {
600175
600176
  }
600176
600177
  //#endregion
600177
600178
  //#region src/cli.tsx
600178
- const VERSION = "0.3.2";
600179
+ const VERSION = "0.3.3";
600179
600180
  async function startInk(command, options) {
600180
600181
  await render(/* @__PURE__ */ (0, import_jsx_runtime.jsx)(App, {
600181
600182
  command,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/buildercode",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Builder.io Fusion CLI - AI-powered code generation",
5
5
  "license": "MIT",
6
6
  "bin": {