@runfusion/fusion 0.2.1 → 0.2.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 (2) hide show
  1. package/dist/bin.js +8 -8
  2. package/package.json +3 -3
package/dist/bin.js CHANGED
@@ -136551,7 +136551,7 @@ function SplashScreen({ loadingStatus }) {
136551
136551
  ] });
136552
136552
  }
136553
136553
  function MiniLogo() {
136554
- return /* @__PURE__ */ jsx(Box, { flexDirection: "row", gap: 0, children: /* @__PURE__ */ jsx(Text, { color: "cyanBright", bold: true, children: "FUSION" }) });
136554
+ return /* @__PURE__ */ jsx(Box, { flexDirection: "row", gap: 0, flexShrink: 0, children: /* @__PURE__ */ jsx(Text, { color: "cyanBright", bold: true, wrap: "truncate-end", children: "FUSION" }) });
136555
136555
  }
136556
136556
  function Panel({ title, isFocused, children, flexGrow, flexShrink, width }) {
136557
136557
  return /* @__PURE__ */ jsxs(
@@ -137027,27 +137027,27 @@ function MainHeader({ state }) {
137027
137027
  const activeInteractive = inInteractive ? interactiveTabs.find((t) => t.view === interactiveView) ?? null : null;
137028
137028
  return /* @__PURE__ */ jsxs(Box, { flexDirection: "row", gap: 1, paddingX: 1, children: [
137029
137029
  /* @__PURE__ */ jsx(MiniLogo, {}),
137030
- activeSectionLabel && /* @__PURE__ */ jsx(Text, { backgroundColor: "cyan", color: "black", bold: true, children: ` ${activeSectionIdx + 1} ${activeSectionLabel} ` }),
137031
- activeInteractive && /* @__PURE__ */ jsx(Text, { backgroundColor: "cyan", color: "black", bold: true, children: ` ${activeInteractive.key} ${activeInteractive.label} ` })
137030
+ activeSectionLabel && /* @__PURE__ */ jsx(Box, { flexShrink: 0, children: /* @__PURE__ */ jsx(Text, { backgroundColor: "cyan", color: "black", bold: true, children: ` ${activeSectionIdx + 1} ${activeSectionLabel} ` }) }),
137031
+ activeInteractive && /* @__PURE__ */ jsx(Box, { flexShrink: 0, children: /* @__PURE__ */ jsx(Text, { backgroundColor: "cyan", color: "black", bold: true, children: ` ${activeInteractive.key} ${activeInteractive.label} ` }) })
137032
137032
  ] });
137033
137033
  }
137034
137034
  return /* @__PURE__ */ jsxs(Box, { flexDirection: "row", gap: 1, paddingX: 1, paddingY: 0, children: [
137035
137035
  /* @__PURE__ */ jsx(MiniLogo, {}),
137036
- !minimal && /* @__PURE__ */ jsx(Text, { dimColor: true, children: "\u2502" }),
137036
+ !minimal && /* @__PURE__ */ jsx(Box, { flexShrink: 0, children: /* @__PURE__ */ jsx(Text, { dimColor: true, children: "\u2502" }) }),
137037
137037
  SECTION_ORDER.map((section, i) => {
137038
137038
  const isActive = !inInteractive && section === focused;
137039
137039
  const label = section.charAt(0).toUpperCase() + section.slice(1);
137040
137040
  if (minimal && !isActive) return null;
137041
- return /* @__PURE__ */ jsx(Box, { marginRight: 1, children: isActive ? /* @__PURE__ */ jsx(Text, { backgroundColor: "cyan", color: "black", bold: true, children: compactSections ? ` ${i + 1} ${label} ` : ` [${i + 1}] ${label} ` }) : compactSections ? /* @__PURE__ */ jsx(Text, { dimColor: true, children: `[${i + 1}]` }) : /* @__PURE__ */ jsx(Text, { dimColor: true, children: `[${i + 1}] ${label}` }) }, section);
137041
+ return /* @__PURE__ */ jsx(Box, { marginRight: 1, flexShrink: 0, children: isActive ? /* @__PURE__ */ jsx(Text, { backgroundColor: "cyan", color: "black", bold: true, children: compactSections ? ` ${i + 1} ${label} ` : ` [${i + 1}] ${label} ` }) : compactSections ? /* @__PURE__ */ jsx(Text, { dimColor: true, children: `[${i + 1}]` }) : /* @__PURE__ */ jsx(Text, { dimColor: true, children: `[${i + 1}] ${label}` }) }, section);
137042
137042
  }),
137043
- !minimal && /* @__PURE__ */ jsx(Text, { dimColor: true, children: "\u2502" }),
137043
+ !minimal && /* @__PURE__ */ jsx(Box, { flexShrink: 0, children: /* @__PURE__ */ jsx(Text, { dimColor: true, children: "\u2502" }) }),
137044
137044
  interactiveTabs.map(({ key, label, view }) => {
137045
137045
  const isActive = inInteractive && view === interactiveView;
137046
137046
  if (minimal && !isActive) return null;
137047
- return /* @__PURE__ */ jsx(Box, { marginRight: 1, children: isActive ? /* @__PURE__ */ jsx(Text, { backgroundColor: "cyan", color: "black", bold: true, children: compactInteractive ? ` ${key} ${label} ` : ` [${key}] ${label} ` }) : compactInteractive ? /* @__PURE__ */ jsx(Text, { dimColor: true, children: `[${key}]` }) : /* @__PURE__ */ jsx(Text, { dimColor: true, children: `[${key}] ${label}` }) }, view);
137047
+ return /* @__PURE__ */ jsx(Box, { marginRight: 1, flexShrink: 0, children: isActive ? /* @__PURE__ */ jsx(Text, { backgroundColor: "cyan", color: "black", bold: true, children: compactInteractive ? ` ${key} ${label} ` : ` [${key}] ${label} ` }) : compactInteractive ? /* @__PURE__ */ jsx(Text, { dimColor: true, children: `[${key}]` }) : /* @__PURE__ */ jsx(Text, { dimColor: true, children: `[${key}] ${label}` }) }, view);
137048
137048
  }),
137049
137049
  /* @__PURE__ */ jsx(Box, { flexGrow: 1 }),
137050
- showHelpHint && /* @__PURE__ */ jsx(Text, { dimColor: true, children: "[?] help [q] quit" })
137050
+ showHelpHint && /* @__PURE__ */ jsx(Box, { flexShrink: 0, children: /* @__PURE__ */ jsx(Text, { dimColor: true, children: "[?] help [q] quit" }) })
137051
137051
  ] });
137052
137052
  }
137053
137053
  function columnLabel(col) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runfusion/fusion",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "license": "MIT",
5
5
  "description": "Fusion CLI: HTTP API server, daemon, dashboard launcher, and task tooling for the Fusion AI coding agent.",
6
6
  "homepage": "https://github.com/Runfusion/Fusion#readme",
@@ -75,10 +75,10 @@
75
75
  "typescript": "^5.7.0",
76
76
  "vitest": "^3.1.0",
77
77
  "yaml": "^2.8.3",
78
- "@fusion/dashboard": "0.1.0",
79
78
  "@fusion/core": "0.1.0",
79
+ "@fusion/engine": "0.1.0",
80
80
  "@fusion/pi-claude-cli": "0.3.1",
81
- "@fusion/engine": "0.1.0"
81
+ "@fusion/dashboard": "0.1.0"
82
82
  },
83
83
  "repository": {
84
84
  "type": "git",