fluxflow-cli 3.4.6 → 3.4.7
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/fluxflow.js +14 -14
- package/package.json +1 -1
package/dist/fluxflow.js
CHANGED
|
@@ -5019,7 +5019,7 @@ var init_StatusBar = __esm({
|
|
|
5019
5019
|
}
|
|
5020
5020
|
return "#ff0000";
|
|
5021
5021
|
};
|
|
5022
|
-
StatusBar = React5.memo(({ mode, thinkingLevel, tokens = "0.0k", tokensTotal = "0.0k", chatId = "NEW-SESSION", isMemoryEnabled = true, apiTier = "Free", aiProvider = "Google", activeModel
|
|
5022
|
+
StatusBar = React5.memo(({ mode, thinkingLevel, tokens = "0.0k", tokensTotal = "0.0k", chatId = "NEW-SESSION", isMemoryEnabled = true, apiTier = "Free", aiProvider = "Google", activeModel = "", isProcessing = false, lastChunkTime = 0 }) => {
|
|
5023
5023
|
const modeIcon = mode === "Flux" ? "" : "";
|
|
5024
5024
|
const [memoryUsage, setMemoryUsage] = useState5(0);
|
|
5025
5025
|
const [memoryLimit, setMemoryLimit] = useState5(0);
|
|
@@ -5094,9 +5094,9 @@ var init_StatusBar = __esm({
|
|
|
5094
5094
|
};
|
|
5095
5095
|
}, []);
|
|
5096
5096
|
let maxLimit = 262144;
|
|
5097
|
-
if (aiProvider === "NVIDIA" && (
|
|
5097
|
+
if (aiProvider === "NVIDIA" && (activeModel?.includes("glm") || activeModel?.includes("gpt") || activeModel?.includes("qwen"))) {
|
|
5098
5098
|
maxLimit = 128e3;
|
|
5099
|
-
} else if (aiProvider === "DeepSeek" || aiProvider === "Google" && apiTier === "Paid" || aiProvider === "NVIDIA" && (
|
|
5099
|
+
} else if (aiProvider === "DeepSeek" || aiProvider === "Google" && apiTier === "Paid" || aiProvider === "NVIDIA" && (activeModel.includes("deepseek") || activeModel.includes("seed"))) {
|
|
5100
5100
|
maxLimit = 409600;
|
|
5101
5101
|
}
|
|
5102
5102
|
return /* @__PURE__ */ React5.createElement(
|
|
@@ -12638,7 +12638,7 @@ Provide a consolidated summary of the entire session.`;
|
|
|
12638
12638
|
if (aiProvider === "NVIDIA" && (modelName?.includes("glm") || modelName?.includes("gpt") || modelName?.includes("qwen"))) {
|
|
12639
12639
|
contextCompressionCount = 122e3;
|
|
12640
12640
|
contextTruncationCount = 126e3;
|
|
12641
|
-
} else if (aiProvider === "DeepSeek" || aiProvider === "Google" && apiTier === "Paid" || aiProvider === "NVIDIA" && (
|
|
12641
|
+
} else if (aiProvider === "DeepSeek" || aiProvider === "Google" && apiTier === "Paid" || aiProvider === "NVIDIA" && (modelName.includes("deepseek") || modelName.includes("seed"))) {
|
|
12642
12642
|
contextCompressionCount = 403e3;
|
|
12643
12643
|
contextTruncationCount = 408e3;
|
|
12644
12644
|
}
|
|
@@ -16711,7 +16711,7 @@ function App({ args = [] }) {
|
|
|
16711
16711
|
const [setupStep, setSetupStep] = useState15(0);
|
|
16712
16712
|
const [latestVer, setLatestVer] = useState15(null);
|
|
16713
16713
|
const [showFullThinking, setShowFullThinking] = useState15(false);
|
|
16714
|
-
const [
|
|
16714
|
+
const [activeModel, setActiveModel] = useState15(getDefaultModel("Google", "Free") || "gemma-4-31b-it");
|
|
16715
16715
|
const [janitorModel, setJanitorModel] = useState15(getFallbackValue("gemma_janitor_fallback_google") || "gemma-4-26b-a4b-it");
|
|
16716
16716
|
const [isInitializing, setIsInitializing] = useState15(true);
|
|
16717
16717
|
const [isAppFocused, setIsAppFocused] = useState15(true);
|
|
@@ -16842,12 +16842,12 @@ function App({ args = [] }) {
|
|
|
16842
16842
|
setThinkingLevel(hasStandard ? "Standard" : "Medium");
|
|
16843
16843
|
} else {
|
|
16844
16844
|
if (aiProvider === "Google" && thinkingLevel === "xHigh") {
|
|
16845
|
-
if (
|
|
16845
|
+
if (activeModel && activeModel.toLowerCase().startsWith("gemini-3")) {
|
|
16846
16846
|
setThinkingLevel("High");
|
|
16847
16847
|
}
|
|
16848
16848
|
}
|
|
16849
16849
|
}
|
|
16850
|
-
}, [aiProvider,
|
|
16850
|
+
}, [aiProvider, activeModel, thinkingLevel]);
|
|
16851
16851
|
useEffect12(() => {
|
|
16852
16852
|
if (!apiKey) return;
|
|
16853
16853
|
if (isFirstRender.current) {
|
|
@@ -17648,7 +17648,7 @@ function App({ args = [] }) {
|
|
|
17648
17648
|
}, [confirmExit]);
|
|
17649
17649
|
useEffect12(() => {
|
|
17650
17650
|
if (!isInitializing) {
|
|
17651
|
-
const modelToSave = parsedArgs.model &&
|
|
17651
|
+
const modelToSave = parsedArgs.model && activeModel === parsedArgs.model ? persistedModelRef.current : activeModel;
|
|
17652
17652
|
let settingsToSave = systemSettings;
|
|
17653
17653
|
if (parsedArgs.playground) {
|
|
17654
17654
|
settingsToSave = {
|
|
@@ -17661,7 +17661,7 @@ function App({ args = [] }) {
|
|
|
17661
17661
|
mode,
|
|
17662
17662
|
thinkingLevel,
|
|
17663
17663
|
aiProvider,
|
|
17664
|
-
activeModel: modelToSave ||
|
|
17664
|
+
activeModel: modelToSave || activeModel,
|
|
17665
17665
|
showFullThinking,
|
|
17666
17666
|
systemSettings: settingsToSave,
|
|
17667
17667
|
profileData,
|
|
@@ -17669,7 +17669,7 @@ function App({ args = [] }) {
|
|
|
17669
17669
|
apiTier
|
|
17670
17670
|
});
|
|
17671
17671
|
}
|
|
17672
|
-
}, [mode, thinkingLevel, aiProvider,
|
|
17672
|
+
}, [mode, thinkingLevel, aiProvider, activeModel, showFullThinking, systemSettings, profileData, imageSettings, isInitializing, parsedArgs, apiTier]);
|
|
17673
17673
|
const handleSetup = async (val) => {
|
|
17674
17674
|
const key = val.trim();
|
|
17675
17675
|
let minLength = 38;
|
|
@@ -17757,7 +17757,7 @@ function App({ args = [] }) {
|
|
|
17757
17757
|
{ cmd: "Medium", desc: "Balanced Reasoning" },
|
|
17758
17758
|
{ cmd: "High", desc: "Deep Reasoning" },
|
|
17759
17759
|
{ cmd: "xHigh", desc: "Extended Reasoning" }
|
|
17760
|
-
] :
|
|
17760
|
+
] : activeModel && activeModel.toLowerCase().startsWith("gemini-3") ? [
|
|
17761
17761
|
{ cmd: "Fast", desc: "Fastest" },
|
|
17762
17762
|
{ cmd: "Low", desc: "Quick Reasoning" },
|
|
17763
17763
|
{ cmd: "Medium", desc: "Balanced Reasoning" },
|
|
@@ -18805,7 +18805,7 @@ ${timestamp}` };
|
|
|
18805
18805
|
}
|
|
18806
18806
|
}
|
|
18807
18807
|
const stream = getAIStream(
|
|
18808
|
-
|
|
18808
|
+
activeModel,
|
|
18809
18809
|
cleanHistoryForAI,
|
|
18810
18810
|
{
|
|
18811
18811
|
profile: profileData,
|
|
@@ -20448,7 +20448,7 @@ Selection: ${val}`,
|
|
|
20448
20448
|
glintWidth: 2,
|
|
20449
20449
|
typeSpeed: 10
|
|
20450
20450
|
}
|
|
20451
|
-
), /* @__PURE__ */ React16.createElement(Text16, { color: "gray" }, activeTime > 0 ? `(${activeTime.toFixed(0)}s)` : "")) : /* @__PURE__ */ React16.createElement(Text16, { color: "grey", italic: true }, input.length > 0 && escPressCount ? "Press ESC again to clear input" : hasPasteBlock ? "Press CTRL + O to expand" : "Waiting for input...")), /* @__PURE__ */ React16.createElement(Box14, null, isProcessing && Date.now() - lastChunkTime > 15e3 && !activeSubagents.some((sa) => sa.status === "running" && !statusText.toLowerCase().includes("waiting")) ? /* @__PURE__ */ React16.createElement(Box14, null, /* @__PURE__ */ React16.createElement(GlintText_default, { text: "Waiting for API", baseColor: "white", glintColor: "gray", glintWidth: 4, speed: 80 }), /* @__PURE__ */ React16.createElement(Text16, { color: "gray", dimColor: true }, " \u2503 ")) : wittyPhrase ? /* @__PURE__ */ React16.createElement(Box14, null, /* @__PURE__ */ React16.createElement(GlintText_default, { text: wittyPhrase, italic: true, speed: 80, typeSpeed: 15 }), /* @__PURE__ */ React16.createElement(Text16, { color: "gray", dimColor: true }, " \u2503 ")) : null, /* @__PURE__ */ React16.createElement(GlintText_default, { text: tempModelOverride ||
|
|
20451
|
+
), /* @__PURE__ */ React16.createElement(Text16, { color: "gray" }, activeTime > 0 ? `(${activeTime.toFixed(0)}s)` : "")) : /* @__PURE__ */ React16.createElement(Text16, { color: "grey", italic: true }, input.length > 0 && escPressCount ? "Press ESC again to clear input" : hasPasteBlock ? "Press CTRL + O to expand" : "Waiting for input...")), /* @__PURE__ */ React16.createElement(Box14, null, isProcessing && Date.now() - lastChunkTime > 15e3 && !activeSubagents.some((sa) => sa.status === "running" && !statusText.toLowerCase().includes("waiting")) ? /* @__PURE__ */ React16.createElement(Box14, null, /* @__PURE__ */ React16.createElement(GlintText_default, { text: "Waiting for API", baseColor: "white", glintColor: "gray", glintWidth: 4, speed: 80 }), /* @__PURE__ */ React16.createElement(Text16, { color: "gray", dimColor: true }, " \u2503 ")) : wittyPhrase ? /* @__PURE__ */ React16.createElement(Box14, null, /* @__PURE__ */ React16.createElement(GlintText_default, { text: wittyPhrase, italic: true, speed: 80, typeSpeed: 15 }), /* @__PURE__ */ React16.createElement(Text16, { color: "gray", dimColor: true }, " \u2503 ")) : null, /* @__PURE__ */ React16.createElement(GlintText_default, { text: tempModelOverride || activeModel.split("/")[1] || activeModel, baseColor: "white", glintColor: "gray", glintWidth: 3 }))), /* @__PURE__ */ React16.createElement(Box14, { flexDirection: "column", width: "100%" }, /* @__PURE__ */ React16.createElement(Box14, { width: "100%", height: 1, overflow: "hidden" }, /* @__PURE__ */ React16.createElement(Text16, { color: "#555555" }, "\u2584".repeat(Math.max(1, terminalSize.columns)))), /* @__PURE__ */ React16.createElement(
|
|
20452
20452
|
Box14,
|
|
20453
20453
|
{
|
|
20454
20454
|
backgroundColor: "#555555",
|
|
@@ -20615,7 +20615,7 @@ Selection: ${val}`,
|
|
|
20615
20615
|
isMemoryEnabled: systemSettings.memory,
|
|
20616
20616
|
apiTier,
|
|
20617
20617
|
aiProvider,
|
|
20618
|
-
activeModel
|
|
20618
|
+
activeModel,
|
|
20619
20619
|
isProcessing,
|
|
20620
20620
|
lastChunkTime
|
|
20621
20621
|
}
|