@runfusion/fusion 0.2.3 → 0.2.4
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.
- package/dist/bin.js +27 -27
- package/package.json +3 -3
package/dist/bin.js
CHANGED
|
@@ -136878,30 +136878,32 @@ function UtilitiesPanel({ isFocused }) {
|
|
|
136878
136878
|
}
|
|
136879
136879
|
function HelpOverlay() {
|
|
136880
136880
|
const shortcuts = [
|
|
136881
|
-
["[
|
|
136881
|
+
["[m] / [s]", "Main (status mode)"],
|
|
136882
|
+
["[b]", "Board view"],
|
|
136882
136883
|
["[a]", "Agents view"],
|
|
136883
136884
|
["[g]", "Settings view"],
|
|
136884
136885
|
["[t]", "Git view"],
|
|
136885
|
-
["[
|
|
136886
|
-
["[
|
|
136887
|
-
["[Tab]", "Cycle focused panel
|
|
136888
|
-
["[
|
|
136889
|
-
["[
|
|
136890
|
-
["[\u2192] / [n]", "Next panel (
|
|
136891
|
-
["[\u2190] / [p]", "Previous panel (
|
|
136886
|
+
["[e]", "Explorer (file browser)"],
|
|
136887
|
+
["[Tab]", "Cycle focused panel / pane forward"],
|
|
136888
|
+
["[Shift+Tab]", "Cycle focused panel / pane backward"],
|
|
136889
|
+
["[1-5]", "Jump to panel (Main: System/Logs/Utilities/Stats/Settings)"],
|
|
136890
|
+
["[\u2190 / \u2192]", "Switch pane (Agents, Settings, Files, Git)"],
|
|
136891
|
+
["[\u2192] / [n]", "Next panel (Main)"],
|
|
136892
|
+
["[\u2190] / [p]", "Previous panel (Main)"],
|
|
136892
136893
|
["[r]", "Refresh stats (Utilities)"],
|
|
136893
136894
|
["[c]", "Clear logs (Utilities)"],
|
|
136894
|
-
["[
|
|
136895
|
-
["[
|
|
136896
|
-
["[
|
|
136897
|
-
["[
|
|
136898
|
-
["[
|
|
136899
|
-
["[
|
|
136900
|
-
["[
|
|
136901
|
-
["[
|
|
136902
|
-
["[
|
|
136903
|
-
["[
|
|
136904
|
-
["[
|
|
136895
|
+
["[\u2191/\u2193/k/j]", "Navigate list / log entries"],
|
|
136896
|
+
["[Home / G]", "First / last log entry (Logs)"],
|
|
136897
|
+
["[Enter/Space]", "Expand log entry (Logs)"],
|
|
136898
|
+
["[w]", "Toggle word wrap (Logs / Files)"],
|
|
136899
|
+
["[f]", "Cycle severity filter (Main, any panel)"],
|
|
136900
|
+
["[Space]", "Toggle boolean (Settings)"],
|
|
136901
|
+
["[+/-]", "Adjust number (Settings)"],
|
|
136902
|
+
["[p]", "Project picker (Board, Files)"],
|
|
136903
|
+
["[n]", "New task (Board)"],
|
|
136904
|
+
["[D]", "Delete agent \u2014 requires confirm (Agents)"],
|
|
136905
|
+
["[P] / [F]", "Push / fetch (Git)"],
|
|
136906
|
+
["[.]", "Toggle hidden files (Files)"],
|
|
136905
136907
|
["[?] / [h]", "Toggle help"],
|
|
136906
136908
|
["[q]", "Quit"],
|
|
136907
136909
|
["[Ctrl+C]", "Force quit"]
|
|
@@ -136913,13 +136915,13 @@ function HelpOverlay() {
|
|
|
136913
136915
|
return /* @__PURE__ */ jsxs(Box, { borderStyle: "round", borderColor: "cyanBright", flexDirection: "column", backgroundColor: "black", children: [
|
|
136914
136916
|
/* @__PURE__ */ jsx(Text, { backgroundColor: "black", bold: true, color: "white", children: titleRow }),
|
|
136915
136917
|
/* @__PURE__ */ jsx(Text, { backgroundColor: "black", children: " " }),
|
|
136916
|
-
shortcuts.map(([key, desc]) => {
|
|
136918
|
+
shortcuts.map(([key, desc], i) => {
|
|
136917
136919
|
const keyCell = ` ${key.padEnd(rowKeyWidth - 1)} `;
|
|
136918
136920
|
const descCell = ` ${desc.padEnd(rowDescWidth)} `;
|
|
136919
136921
|
return /* @__PURE__ */ jsxs(Box, { flexDirection: "row", children: [
|
|
136920
136922
|
/* @__PURE__ */ jsx(Text, { backgroundColor: "black", color: "yellow", children: keyCell }),
|
|
136921
136923
|
/* @__PURE__ */ jsx(Text, { backgroundColor: "black", color: "white", children: descCell })
|
|
136922
|
-
] },
|
|
136924
|
+
] }, i);
|
|
136923
136925
|
})
|
|
136924
136926
|
] });
|
|
136925
136927
|
}
|
|
@@ -136932,7 +136934,7 @@ function StatusModeGrid({
|
|
|
136932
136934
|
const bodyRows = Math.max(8, rows - 7);
|
|
136933
136935
|
const logsAvailableRows = Math.max(4, bodyRows - 4);
|
|
136934
136936
|
return /* @__PURE__ */ jsxs(Box, { flexDirection: "column", flexGrow: 1, children: [
|
|
136935
|
-
/* @__PURE__ */ jsx(MainHeader, { state }),
|
|
136937
|
+
/* @__PURE__ */ jsx(Box, { flexShrink: 0, children: /* @__PURE__ */ jsx(MainHeader, { state }) }),
|
|
136936
136938
|
/* @__PURE__ */ jsxs(Box, { flexDirection: "row", flexGrow: 1, overflow: "hidden", children: [
|
|
136937
136939
|
/* @__PURE__ */ jsxs(Box, { flexDirection: "column", flexGrow: 5, overflow: "hidden", children: [
|
|
136938
136940
|
/* @__PURE__ */ jsx(SystemPanel, { state, isFocused: focused === "system" }),
|
|
@@ -136953,7 +136955,7 @@ function StatusModeGrid({
|
|
|
136953
136955
|
] })
|
|
136954
136956
|
] })
|
|
136955
136957
|
] }),
|
|
136956
|
-
/* @__PURE__ */ jsx(StatusBar, { state, controller })
|
|
136958
|
+
/* @__PURE__ */ jsx(Box, { flexShrink: 0, children: /* @__PURE__ */ jsx(StatusBar, { state, controller }) })
|
|
136957
136959
|
] });
|
|
136958
136960
|
}
|
|
136959
136961
|
function StatusModeSingle({
|
|
@@ -136976,9 +136978,9 @@ function StatusModeSingle({
|
|
|
136976
136978
|
}
|
|
136977
136979
|
};
|
|
136978
136980
|
return /* @__PURE__ */ jsxs(Box, { flexDirection: "column", flexGrow: 1, children: [
|
|
136979
|
-
/* @__PURE__ */ jsx(MainHeader, { state }),
|
|
136981
|
+
/* @__PURE__ */ jsx(Box, { flexShrink: 0, children: /* @__PURE__ */ jsx(MainHeader, { state }) }),
|
|
136980
136982
|
/* @__PURE__ */ jsx(Box, { flexGrow: 1, flexDirection: "column", overflow: "hidden", children: activePanel() }),
|
|
136981
|
-
/* @__PURE__ */ jsx(StatusBar, { state, controller })
|
|
136983
|
+
/* @__PURE__ */ jsx(Box, { flexShrink: 0, children: /* @__PURE__ */ jsx(StatusBar, { state, controller }) })
|
|
136982
136984
|
] });
|
|
136983
136985
|
}
|
|
136984
136986
|
function StatusBar({ state, controller: _controller }) {
|
|
@@ -137006,7 +137008,6 @@ function MainHeader({ state }) {
|
|
|
137006
137008
|
const interactiveView = state.interactiveView;
|
|
137007
137009
|
const { stdout } = useStdout();
|
|
137008
137010
|
const cols = stdout?.columns ?? 80;
|
|
137009
|
-
const rows = stdout?.rows ?? 24;
|
|
137010
137011
|
const tabs = [
|
|
137011
137012
|
{ key: "m", label: "Main", kind: "main" },
|
|
137012
137013
|
{ key: "b", label: "Board", kind: "interactive", view: "board" },
|
|
@@ -137015,7 +137016,6 @@ function MainHeader({ state }) {
|
|
|
137015
137016
|
{ key: "t", label: "Git", kind: "interactive", view: "git" },
|
|
137016
137017
|
{ key: "e", label: "Explorer", kind: "interactive", view: "files" }
|
|
137017
137018
|
];
|
|
137018
|
-
if (rows < 10) return null;
|
|
137019
137019
|
const showHelpHint = cols >= 110;
|
|
137020
137020
|
const fullLabels = cols >= 90;
|
|
137021
137021
|
const tiny = cols < 50;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runfusion/fusion",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
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",
|
|
@@ -76,9 +76,9 @@
|
|
|
76
76
|
"vitest": "^3.1.0",
|
|
77
77
|
"yaml": "^2.8.3",
|
|
78
78
|
"@fusion/core": "0.1.0",
|
|
79
|
-
"@fusion/pi-claude-cli": "0.3.1",
|
|
80
79
|
"@fusion/dashboard": "0.1.0",
|
|
81
|
-
"@fusion/engine": "0.1.0"
|
|
80
|
+
"@fusion/engine": "0.1.0",
|
|
81
|
+
"@fusion/pi-claude-cli": "0.3.1"
|
|
82
82
|
},
|
|
83
83
|
"repository": {
|
|
84
84
|
"type": "git",
|