fluxflow-cli 3.1.1 → 3.1.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.
- package/dist/fluxflow.js +8 -6
- package/package.json +1 -1
package/dist/fluxflow.js
CHANGED
|
@@ -10624,7 +10624,7 @@ var init_ai = __esm({
|
|
|
10624
10624
|
globalSettings = {};
|
|
10625
10625
|
colorMainWords = (label) => {
|
|
10626
10626
|
if (!label) return label;
|
|
10627
|
-
return label.replace(/(?:(\x1b\[\d+m))?([✔✘✖🔍📖→➕↻•🛇])(?:(\x1b\[\d+m))?\s*\b(Created|Read|Edited|Viewed|Auto-Read|List|Generated|Written|Searched|Get Map|Write Canceled|Edit Canceled|Write Cancelled|Edit Denied|Visited|Updated|Reviewed|Delegated|Background|Checked|Indexed|Analyzed|Browsed|Elevating SubAgent|Checking SubAgent Work|Started Generalist|Called Generalist|Unsupported Modality|Awaiting|Cancelled|Aligning Moon Phase|Contemplating Existence|Staring At Void|Rollback Checked|Emergency Rollback
|
|
10627
|
+
return label.replace(/(?:(\x1b\[\d+m))?([✔✘✖🔍📖→➕↻•🛇])(?:(\x1b\[\d+m))?\s*\b(Created|Read|Edited|Viewed|Auto-Read|List|Generated|Written|Searched|Get Map|Write Canceled|Edit Canceled|Write Cancelled|Edit Denied|Visited|Updated|Reviewed|Delegated|Background|Checked|Indexed|Analyzed|Browsed|Elevating SubAgent|Checking SubAgent Work|Started Generalist|Called Generalist|Unsupported Modality|Awaiting|Cancelled|Aligning Moon Phase|Contemplating Existence|Staring At Void|Rollback Checked|Emergency Rollback|Delaying Professionally|Negotiating With Electrons|Touching Grass (virtually)|Panicking Softly|Rethinking Career Choices|Loading Cat Videos|Giving Up Entirely|Summoning Braincell #2|Pretending To Be Busy|Waiting For Motivation DLC|Rotating Internal Screaming|Downloading More RAM|Feeding The Hamsters|Gaslighting Scheduler|Performing Dramatic Pause|Buffering Social Energy|Calculating Regret|Reading Terms And Conditions|Becoming Sentient Briefly|Contacting Ancestors)\b/ig, (match, ansiBefore, icon, ansiAfter, word) => {
|
|
10628
10628
|
return `${ansiBefore || ""}${icon}${ansiAfter || ""} \x1B[95m${word}\x1B[0m`;
|
|
10629
10629
|
});
|
|
10630
10630
|
};
|
|
@@ -13372,7 +13372,8 @@ ${ideErr} [/ERROR]`;
|
|
|
13372
13372
|
"Cancel": "Stopping Generalist",
|
|
13373
13373
|
"cancel": "Stopping Generalist",
|
|
13374
13374
|
"Await": "Waiting",
|
|
13375
|
-
"await": "Waiting"
|
|
13375
|
+
"await": "Waiting",
|
|
13376
|
+
"EmergencyRollback": "Rolling the Ball"
|
|
13376
13377
|
};
|
|
13377
13378
|
const toolTitle = TOOL_TITLES[potentialTool] || "Working";
|
|
13378
13379
|
process.stdout.write(`\x1B]0;${toolTitle}...\x07`);
|
|
@@ -13507,7 +13508,8 @@ ${ideErr} [/ERROR]`;
|
|
|
13507
13508
|
"Cancel": "cancel",
|
|
13508
13509
|
"cancel": "cancel",
|
|
13509
13510
|
"await": "await",
|
|
13510
|
-
"Await": "await"
|
|
13511
|
+
"Await": "await",
|
|
13512
|
+
"EmergencyRollback": "Don't panic. Lookin' into it."
|
|
13511
13513
|
};
|
|
13512
13514
|
const normToolName = NORMALIZE_MAP[toolCall.toolName] || toolCall.toolName;
|
|
13513
13515
|
const displayLabel = TOOL_LABELS2[normToolName] || toolCall.toolName;
|
|
@@ -13583,7 +13585,7 @@ ${ideErr} [/ERROR]`;
|
|
|
13583
13585
|
label = `\u{1F6C7} Cancelled${detail2 ? `: ${detail2}` : ""}`;
|
|
13584
13586
|
} else if (normToolName === "EmergencyRollback") {
|
|
13585
13587
|
const { method } = parseArgs(toolCall.args);
|
|
13586
|
-
label = `\u2714 ${method === "forceRevert" ? "Emergency Rollback
|
|
13588
|
+
label = `\u2714 ${method === "forceRevert" ? "Emergency Rollback" : "Rollback Checked"}`;
|
|
13587
13589
|
} else if (normToolName === "await" || normToolName === "Await") {
|
|
13588
13590
|
const { time } = parseArgs(toolCall.args);
|
|
13589
13591
|
let sec = parseFloat(time) || 0;
|
|
@@ -18504,7 +18506,7 @@ Selection: ${val}`,
|
|
|
18504
18506
|
continue;
|
|
18505
18507
|
}
|
|
18506
18508
|
if (packet.type === "visual_feedback") {
|
|
18507
|
-
setTimeout(
|
|
18509
|
+
setTimeout(() => {
|
|
18508
18510
|
setMessages((prev) => {
|
|
18509
18511
|
const updatedPrev = prev.map((m) => m.isStreaming ? { ...m, isStreaming: false } : m);
|
|
18510
18512
|
const newMsgs = [...updatedPrev, {
|
|
@@ -18516,7 +18518,7 @@ Selection: ${val}`,
|
|
|
18516
18518
|
setCompletedIndex(newMsgs.length);
|
|
18517
18519
|
return newMsgs;
|
|
18518
18520
|
});
|
|
18519
|
-
},
|
|
18521
|
+
}, 75);
|
|
18520
18522
|
continue;
|
|
18521
18523
|
}
|
|
18522
18524
|
if (packet.type === "exec_start") {
|