fluxflow-cli 3.4.6 → 3.4.8
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 +53 -54
- package/model_config.json +631 -631
- package/package.json +2 -2
package/dist/fluxflow.js
CHANGED
|
@@ -2843,6 +2843,11 @@ var init_text = __esm({
|
|
|
2843
2843
|
active: []
|
|
2844
2844
|
};
|
|
2845
2845
|
}
|
|
2846
|
+
if (!text && !msg.isStreaming) {
|
|
2847
|
+
const emptyResult = { completed: [], active: [] };
|
|
2848
|
+
blocksCache.set(cacheKey, emptyResult);
|
|
2849
|
+
return emptyResult;
|
|
2850
|
+
}
|
|
2846
2851
|
const completedBlocks = [];
|
|
2847
2852
|
let activeBlock = null;
|
|
2848
2853
|
let pendingChunk = [];
|
|
@@ -5019,7 +5024,7 @@ var init_StatusBar = __esm({
|
|
|
5019
5024
|
}
|
|
5020
5025
|
return "#ff0000";
|
|
5021
5026
|
};
|
|
5022
|
-
StatusBar = React5.memo(({ mode, thinkingLevel, tokens = "0.0k", tokensTotal = "0.0k", chatId = "NEW-SESSION", isMemoryEnabled = true, apiTier = "Free", aiProvider = "Google", activeModel
|
|
5027
|
+
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
5028
|
const modeIcon = mode === "Flux" ? "" : "";
|
|
5024
5029
|
const [memoryUsage, setMemoryUsage] = useState5(0);
|
|
5025
5030
|
const [memoryLimit, setMemoryLimit] = useState5(0);
|
|
@@ -5094,9 +5099,9 @@ var init_StatusBar = __esm({
|
|
|
5094
5099
|
};
|
|
5095
5100
|
}, []);
|
|
5096
5101
|
let maxLimit = 262144;
|
|
5097
|
-
if (aiProvider === "NVIDIA" && (
|
|
5102
|
+
if (aiProvider === "NVIDIA" && (activeModel?.includes("glm") || activeModel?.includes("gpt") || activeModel?.includes("qwen"))) {
|
|
5098
5103
|
maxLimit = 128e3;
|
|
5099
|
-
} else if (aiProvider === "DeepSeek" || aiProvider === "Google" && apiTier === "Paid" || aiProvider === "NVIDIA" && (
|
|
5104
|
+
} else if (aiProvider === "DeepSeek" || aiProvider === "Google" && apiTier === "Paid" || aiProvider === "NVIDIA" && (activeModel.includes("deepseek") || activeModel.includes("seed"))) {
|
|
5100
5105
|
maxLimit = 409600;
|
|
5101
5106
|
}
|
|
5102
5107
|
return /* @__PURE__ */ React5.createElement(
|
|
@@ -12638,7 +12643,7 @@ Provide a consolidated summary of the entire session.`;
|
|
|
12638
12643
|
if (aiProvider === "NVIDIA" && (modelName?.includes("glm") || modelName?.includes("gpt") || modelName?.includes("qwen"))) {
|
|
12639
12644
|
contextCompressionCount = 122e3;
|
|
12640
12645
|
contextTruncationCount = 126e3;
|
|
12641
|
-
} else if (aiProvider === "DeepSeek" || aiProvider === "Google" && apiTier === "Paid" || aiProvider === "NVIDIA" && (
|
|
12646
|
+
} else if (aiProvider === "DeepSeek" || aiProvider === "Google" && apiTier === "Paid" || aiProvider === "NVIDIA" && (modelName.includes("deepseek") || modelName.includes("seed"))) {
|
|
12642
12647
|
contextCompressionCount = 403e3;
|
|
12643
12648
|
contextTruncationCount = 408e3;
|
|
12644
12649
|
}
|
|
@@ -13133,9 +13138,8 @@ ${ideCtx.warnings}
|
|
|
13133
13138
|
const maxLen = Math.max(...boxLines.map((l) => l.length));
|
|
13134
13139
|
const boxWidth = Math.min(maxLen + 4, terminalWidth);
|
|
13135
13140
|
const boxMid = boxLines.map((line) => `${line.padEnd(boxWidth - 2).substring(0, boxWidth - 2)}`).join("\n");
|
|
13136
|
-
|
|
13137
|
-
|
|
13138
|
-
yield { type: "visual_feedback", content: colorMainWords((isFirst ? "\n" : "") + boxMid + (isLast ? "\n" : "")) };
|
|
13141
|
+
yield { type: "visual_feedback", content: colorMainWords(`${boxMid}
|
|
13142
|
+
`) };
|
|
13139
13143
|
continue;
|
|
13140
13144
|
}
|
|
13141
13145
|
const finalStart = startLine !== null ? startLine : 1;
|
|
@@ -13179,7 +13183,7 @@ ${ideCtx.warnings}
|
|
|
13179
13183
|
totalLines = content.split("\n").length;
|
|
13180
13184
|
} catch (e) {
|
|
13181
13185
|
}
|
|
13182
|
-
label = `\u2714 Auto-Read: ${filePath}
|
|
13186
|
+
label = `\u2714 Auto-Read: ${filePath}`;
|
|
13183
13187
|
taggedContextBlocks.push(textResult);
|
|
13184
13188
|
}
|
|
13185
13189
|
if (label) {
|
|
@@ -13191,9 +13195,8 @@ ${ideCtx.warnings}
|
|
|
13191
13195
|
const maxLen = Math.max(...boxLines.map((l) => l.length));
|
|
13192
13196
|
const boxWidth = Math.min(maxLen + 4, terminalWidth);
|
|
13193
13197
|
const boxMid = boxLines.map((line) => `${line.padEnd(boxWidth - 2).substring(0, boxWidth - 2)}`).join("\n");
|
|
13194
|
-
|
|
13195
|
-
|
|
13196
|
-
yield { type: "visual_feedback", content: colorMainWords((isFirst ? "\n" : "") + boxMid + (isLast ? "\n" : "")) };
|
|
13198
|
+
yield { type: "visual_feedback", content: colorMainWords(`${boxMid}
|
|
13199
|
+
`) };
|
|
13197
13200
|
}
|
|
13198
13201
|
}
|
|
13199
13202
|
}
|
|
@@ -13292,6 +13295,7 @@ ${activeSummaryBlock}${thinkingLevel !== "Fast" && thinkingLevel !== "xHigh" &&
|
|
|
13292
13295
|
let dedupeBuffer = "";
|
|
13293
13296
|
let isDedupeActive = false;
|
|
13294
13297
|
let detectedAnyToolCalls = false;
|
|
13298
|
+
let thisIsFirstToolFeedback = true;
|
|
13295
13299
|
let targetModel = modelName;
|
|
13296
13300
|
let currentSystemInstruction = "";
|
|
13297
13301
|
while (retryCount <= MAX_RETRIES && inStreamRetryCount <= MAX_RETRIES && !success && !TERMINATION_SIGNAL) {
|
|
@@ -13303,7 +13307,6 @@ ${activeSummaryBlock}${thinkingLevel !== "Fast" && thinkingLevel !== "xHigh" &&
|
|
|
13303
13307
|
process.stdout.write(`\x1B]0;Working...\x07`);
|
|
13304
13308
|
}
|
|
13305
13309
|
yield { type: "turn_reset", content: true };
|
|
13306
|
-
yield { type: "spinner", content: true };
|
|
13307
13310
|
isInitialAttempt = false;
|
|
13308
13311
|
if (inStreamRetryCount === 1) {
|
|
13309
13312
|
accumulatedContext = "";
|
|
@@ -14296,9 +14299,9 @@ ${ideErr} [/ERROR]`;
|
|
|
14296
14299
|
}
|
|
14297
14300
|
const boxWidth = Math.min(deniedLabel.length + 4, terminalWidth);
|
|
14298
14301
|
const boxMid = `${deniedLabel.padEnd(boxWidth - 2).substring(0, boxWidth - 2)}`;
|
|
14299
|
-
|
|
14300
|
-
|
|
14301
|
-
|
|
14302
|
+
yield { type: "visual_feedback", content: colorMainWords(`${thisIsFirstToolFeedback ? "\n" : ""}${boxMid}
|
|
14303
|
+
`) };
|
|
14304
|
+
thisIsFirstToolFeedback = false;
|
|
14302
14305
|
}
|
|
14303
14306
|
toolResults.push({ role: "user", text: `[TOOL RESULT]: ERROR: ${denyMsg}` });
|
|
14304
14307
|
yield { type: "tool_result", content: `[TOOL RESULT]: ERROR: ${denyMsg}` };
|
|
@@ -14520,9 +14523,9 @@ ${failures.map((f) => ` \u2022 ${f.error}`).join("\n")}`;
|
|
|
14520
14523
|
}
|
|
14521
14524
|
const boxWidth = Math.min(errorLabel.length + 4, terminalWidth);
|
|
14522
14525
|
const boxMid = `${errorLabel.padEnd(boxWidth - 2).substring(0, boxWidth - 2)}`;
|
|
14523
|
-
|
|
14524
|
-
|
|
14525
|
-
|
|
14526
|
+
yield { type: "visual_feedback", content: colorMainWords(`${thisIsFirstToolFeedback ? "\n" : ""}${boxMid}
|
|
14527
|
+
`) };
|
|
14528
|
+
thisIsFirstToolFeedback = false;
|
|
14526
14529
|
toolResults.push({ role: "user", text: errorMsg });
|
|
14527
14530
|
await incrementUsage("toolFailure");
|
|
14528
14531
|
if (settings.onToolResult) settings.onToolResult("failure", normToolName);
|
|
@@ -14672,9 +14675,9 @@ ${snippet2}
|
|
|
14672
14675
|
}
|
|
14673
14676
|
const boxWidth = Math.min(feedbackLabel.length + 4, terminalWidth);
|
|
14674
14677
|
const boxMid = `${feedbackLabel.padEnd(boxWidth - 2).substring(0, boxWidth - 2)}`;
|
|
14675
|
-
|
|
14676
|
-
|
|
14677
|
-
|
|
14678
|
+
yield { type: "visual_feedback", content: colorMainWords(`${thisIsFirstToolFeedback ? "\n" : ""}${boxMid}
|
|
14679
|
+
`) };
|
|
14680
|
+
thisIsFirstToolFeedback = false;
|
|
14678
14681
|
const toolEnd2 = Date.now();
|
|
14679
14682
|
lastToolFinishedAt = toolEnd2;
|
|
14680
14683
|
yield { type: "tool_time", content: toolEnd2 - executionStart };
|
|
@@ -14708,8 +14711,9 @@ ${snippet2}
|
|
|
14708
14711
|
const boxWidth = Math.min(deniedLabel.length + 4, terminalWidth);
|
|
14709
14712
|
const boxMid = `${deniedLabel.padEnd(boxWidth - 2).substring(0, boxWidth - 2)}`;
|
|
14710
14713
|
const boxBottom = ` ${" ".repeat(boxWidth)} `;
|
|
14711
|
-
yield { type: "visual_feedback", content: colorMainWords(`${
|
|
14712
|
-
|
|
14714
|
+
yield { type: "visual_feedback", content: colorMainWords(`${thisIsFirstToolFeedback ? "\n" : ""}${boxMid}
|
|
14715
|
+
`) };
|
|
14716
|
+
thisIsFirstToolFeedback = false;
|
|
14713
14717
|
}
|
|
14714
14718
|
if (normToolName === "exec_command") {
|
|
14715
14719
|
await new Promise((resolve) => setTimeout(resolve, 50));
|
|
@@ -14733,22 +14737,15 @@ ${boxMid}`) };
|
|
|
14733
14737
|
}
|
|
14734
14738
|
const boxWidth = Math.min(label.length + 4, terminalWidth);
|
|
14735
14739
|
const boxMid = `${label.padEnd(boxWidth - 2).substring(0, boxWidth - 2)}`;
|
|
14736
|
-
|
|
14737
|
-
|
|
14738
|
-
yield {
|
|
14739
|
-
type: "visual_feedback",
|
|
14740
|
-
content: colorMainWords(
|
|
14741
|
-
(isFirst ? "\n" : "") + boxMid + (isLast && !/(Created|Edited)/.test(boxMid) ? "\n" : "")
|
|
14742
|
-
)
|
|
14743
|
-
};
|
|
14740
|
+
yield { type: "visual_feedback", content: colorMainWords(`${thisIsFirstToolFeedback ? "\n" : ""}${boxMid}${label.includes("\u2714") && (label.includes("Created") || label.includes("Edited")) ? "" : "\n"}`) };
|
|
14741
|
+
thisIsFirstToolFeedback = false;
|
|
14744
14742
|
}
|
|
14745
14743
|
if (lastToolFinishedAt > 0) {
|
|
14746
14744
|
const timeSinceLastTool = Date.now() - lastToolFinishedAt;
|
|
14747
|
-
if (timeSinceLastTool <
|
|
14745
|
+
if (timeSinceLastTool < 1500) {
|
|
14748
14746
|
await new Promise((resolve) => setTimeout(resolve, 1e3 - timeSinceLastTool));
|
|
14749
14747
|
}
|
|
14750
14748
|
}
|
|
14751
|
-
yield { type: "spinner", content: false };
|
|
14752
14749
|
let execToolContext = {
|
|
14753
14750
|
chatId,
|
|
14754
14751
|
history,
|
|
@@ -14780,7 +14777,6 @@ ${boxMid}`) };
|
|
|
14780
14777
|
}
|
|
14781
14778
|
currentTurnTools.push(normToolName);
|
|
14782
14779
|
let result = await dispatchTool(normToolName, toolCall.args, execToolContext);
|
|
14783
|
-
yield { type: "spinner", content: true };
|
|
14784
14780
|
if ((normToolName === "write_file" || normToolName === "update_file") && result.startsWith("SUCCESS")) {
|
|
14785
14781
|
const { path: filePath } = parseArgs(toolCall.args);
|
|
14786
14782
|
if (filePath) {
|
|
@@ -14816,9 +14812,9 @@ ${boxMid}`) };
|
|
|
14816
14812
|
}
|
|
14817
14813
|
const boxWidth = Math.min(postLabel.length + 4, terminalWidth);
|
|
14818
14814
|
const boxMid = `${postLabel.padEnd(boxWidth - 2).substring(0, boxWidth - 2)}`;
|
|
14819
|
-
|
|
14820
|
-
|
|
14821
|
-
|
|
14815
|
+
yield { type: "visual_feedback", content: colorMainWords(`${thisIsFirstToolFeedback ? "\n" : ""}${boxMid}
|
|
14816
|
+
`) };
|
|
14817
|
+
thisIsFirstToolFeedback = false;
|
|
14822
14818
|
}
|
|
14823
14819
|
if (normToolName === "EmergencyRollback") {
|
|
14824
14820
|
const { method } = parseArgs(toolCall.args);
|
|
@@ -14836,9 +14832,9 @@ ${boxMid}`) };
|
|
|
14836
14832
|
}
|
|
14837
14833
|
const boxWidth = Math.min(postLabel.length + 4, terminalWidth);
|
|
14838
14834
|
const boxMid = `${postLabel.padEnd(boxWidth - 2).substring(0, boxWidth - 2)}`;
|
|
14839
|
-
|
|
14840
|
-
|
|
14841
|
-
|
|
14835
|
+
yield { type: "visual_feedback", content: colorMainWords(`${thisIsFirstToolFeedback ? "\n" : ""}${boxMid}
|
|
14836
|
+
`) };
|
|
14837
|
+
thisIsFirstToolFeedback = false;
|
|
14842
14838
|
}
|
|
14843
14839
|
}
|
|
14844
14840
|
if (normToolName === "todo") {
|
|
@@ -14890,9 +14886,9 @@ ${boxMid}`) };
|
|
|
14890
14886
|
...listItems.map((item) => ` ${item}`)
|
|
14891
14887
|
// Sub-indented items for that premium look
|
|
14892
14888
|
].join("\n");
|
|
14893
|
-
|
|
14894
|
-
|
|
14895
|
-
|
|
14889
|
+
yield { type: "visual_feedback", content: colorMainWords(`${thisIsFirstToolFeedback ? "\n" : ""}${output}
|
|
14890
|
+
`) };
|
|
14891
|
+
thisIsFirstToolFeedback = false;
|
|
14896
14892
|
}
|
|
14897
14893
|
}
|
|
14898
14894
|
if (normToolName === "exec_command" && settings.onExecEnd) {
|
|
@@ -15209,7 +15205,10 @@ Error Log can be found in ${path22.join(LOGS_DIR, "agent", "error.log")}`);
|
|
|
15209
15205
|
`, "").replace(`[SYSTEM] USER QUESTION. RESOLVE THIS SPECIFIC QUERY WITHIN '[ANSWER] ... [/ANSWER]' CONCISELY, NATURALLY
|
|
15210
15206
|
**STRICTLY FOLLOW THINKING POLICY AS HIGH PRIORITY. DO NOT START A RESPONSE WITHOUT <think> ... </think>** [/SYSTEM]
|
|
15211
15207
|
`, "").replace(`[SYSTEM] **STRICTLY FOLLOW THINKING POLICY AS HIGH PRIORITY. DO NOT START A RESPONSE WITHOUT <think> ... </think>** [/SYSTEM]
|
|
15212
|
-
`, "")
|
|
15208
|
+
`, "").replaceAll(
|
|
15209
|
+
/\n\[SYSTEM\] WARNING, Turn Limit Impending: Step \d+\/\d+\. Wrap up quickly\/prompt user to continue & use \[\[END\]\] quickly\. \[\/SYSTEM\]/g,
|
|
15210
|
+
""
|
|
15211
|
+
);
|
|
15213
15212
|
if (modelName && modelName.toLowerCase().startsWith("gemma") && aiProvider === "Google" && msg.text.startsWith("[TOOL RESULT]")) {
|
|
15214
15213
|
const jitInstructionFast = `
|
|
15215
15214
|
[SYSTEM] Tool result received. Analyze output and proceed with your turn [/SYSTEM]`;
|
|
@@ -16711,7 +16710,7 @@ function App({ args = [] }) {
|
|
|
16711
16710
|
const [setupStep, setSetupStep] = useState15(0);
|
|
16712
16711
|
const [latestVer, setLatestVer] = useState15(null);
|
|
16713
16712
|
const [showFullThinking, setShowFullThinking] = useState15(false);
|
|
16714
|
-
const [
|
|
16713
|
+
const [activeModel, setActiveModel] = useState15(getDefaultModel("Google", "Free") || "gemma-4-31b-it");
|
|
16715
16714
|
const [janitorModel, setJanitorModel] = useState15(getFallbackValue("gemma_janitor_fallback_google") || "gemma-4-26b-a4b-it");
|
|
16716
16715
|
const [isInitializing, setIsInitializing] = useState15(true);
|
|
16717
16716
|
const [isAppFocused, setIsAppFocused] = useState15(true);
|
|
@@ -16842,12 +16841,12 @@ function App({ args = [] }) {
|
|
|
16842
16841
|
setThinkingLevel(hasStandard ? "Standard" : "Medium");
|
|
16843
16842
|
} else {
|
|
16844
16843
|
if (aiProvider === "Google" && thinkingLevel === "xHigh") {
|
|
16845
|
-
if (
|
|
16844
|
+
if (activeModel && activeModel.toLowerCase().startsWith("gemini-3")) {
|
|
16846
16845
|
setThinkingLevel("High");
|
|
16847
16846
|
}
|
|
16848
16847
|
}
|
|
16849
16848
|
}
|
|
16850
|
-
}, [aiProvider,
|
|
16849
|
+
}, [aiProvider, activeModel, thinkingLevel]);
|
|
16851
16850
|
useEffect12(() => {
|
|
16852
16851
|
if (!apiKey) return;
|
|
16853
16852
|
if (isFirstRender.current) {
|
|
@@ -17648,7 +17647,7 @@ function App({ args = [] }) {
|
|
|
17648
17647
|
}, [confirmExit]);
|
|
17649
17648
|
useEffect12(() => {
|
|
17650
17649
|
if (!isInitializing) {
|
|
17651
|
-
const modelToSave = parsedArgs.model &&
|
|
17650
|
+
const modelToSave = parsedArgs.model && activeModel === parsedArgs.model ? persistedModelRef.current : activeModel;
|
|
17652
17651
|
let settingsToSave = systemSettings;
|
|
17653
17652
|
if (parsedArgs.playground) {
|
|
17654
17653
|
settingsToSave = {
|
|
@@ -17661,7 +17660,7 @@ function App({ args = [] }) {
|
|
|
17661
17660
|
mode,
|
|
17662
17661
|
thinkingLevel,
|
|
17663
17662
|
aiProvider,
|
|
17664
|
-
activeModel: modelToSave ||
|
|
17663
|
+
activeModel: modelToSave || activeModel,
|
|
17665
17664
|
showFullThinking,
|
|
17666
17665
|
systemSettings: settingsToSave,
|
|
17667
17666
|
profileData,
|
|
@@ -17669,7 +17668,7 @@ function App({ args = [] }) {
|
|
|
17669
17668
|
apiTier
|
|
17670
17669
|
});
|
|
17671
17670
|
}
|
|
17672
|
-
}, [mode, thinkingLevel, aiProvider,
|
|
17671
|
+
}, [mode, thinkingLevel, aiProvider, activeModel, showFullThinking, systemSettings, profileData, imageSettings, isInitializing, parsedArgs, apiTier]);
|
|
17673
17672
|
const handleSetup = async (val) => {
|
|
17674
17673
|
const key = val.trim();
|
|
17675
17674
|
let minLength = 38;
|
|
@@ -17757,7 +17756,7 @@ function App({ args = [] }) {
|
|
|
17757
17756
|
{ cmd: "Medium", desc: "Balanced Reasoning" },
|
|
17758
17757
|
{ cmd: "High", desc: "Deep Reasoning" },
|
|
17759
17758
|
{ cmd: "xHigh", desc: "Extended Reasoning" }
|
|
17760
|
-
] :
|
|
17759
|
+
] : activeModel && activeModel.toLowerCase().startsWith("gemini-3") ? [
|
|
17761
17760
|
{ cmd: "Fast", desc: "Fastest" },
|
|
17762
17761
|
{ cmd: "Low", desc: "Quick Reasoning" },
|
|
17763
17762
|
{ cmd: "Medium", desc: "Balanced Reasoning" },
|
|
@@ -18805,7 +18804,7 @@ ${timestamp}` };
|
|
|
18805
18804
|
}
|
|
18806
18805
|
}
|
|
18807
18806
|
const stream = getAIStream(
|
|
18808
|
-
|
|
18807
|
+
activeModel,
|
|
18809
18808
|
cleanHistoryForAI,
|
|
18810
18809
|
{
|
|
18811
18810
|
profile: profileData,
|
|
@@ -20448,7 +20447,7 @@ Selection: ${val}`,
|
|
|
20448
20447
|
glintWidth: 2,
|
|
20449
20448
|
typeSpeed: 10
|
|
20450
20449
|
}
|
|
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 ||
|
|
20450
|
+
), /* @__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
20451
|
Box14,
|
|
20453
20452
|
{
|
|
20454
20453
|
backgroundColor: "#555555",
|
|
@@ -20615,7 +20614,7 @@ Selection: ${val}`,
|
|
|
20615
20614
|
isMemoryEnabled: systemSettings.memory,
|
|
20616
20615
|
apiTier,
|
|
20617
20616
|
aiProvider,
|
|
20618
|
-
activeModel
|
|
20617
|
+
activeModel,
|
|
20619
20618
|
isProcessing,
|
|
20620
20619
|
lastChunkTime
|
|
20621
20620
|
}
|