fluxflow-cli 3.0.20 → 3.0.21
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 +59 -14
- package/package.json +1 -1
package/dist/fluxflow.js
CHANGED
|
@@ -5188,15 +5188,14 @@ ${mode === "Flux" ? `- WORKSPACE TOOLS (path = relative to CWD & WILL BE FIRST A
|
|
|
5188
5188
|
9. [tool:functions.Await(time="seconds")]. For waiting without exiting agent loop, 15s - 180s
|
|
5189
5189
|
|
|
5190
5190
|
-- SUB AGENTS DEFINITIONS --
|
|
5191
|
-
**USING SUB AGENTS HIGHLY PREFERRED FOR
|
|
5192
|
-
USE PROACTIVELY WITHOUT EXPLICIT USER COMMAND ALLOWED
|
|
5191
|
+
**USING SUB AGENTS HIGHLY PREFERRED, TRY TO USE FOR ALL TASK WHERE PLAUSIBLE & BENEFICIAL EVEN WITHOUT EXPLICIT USER COMMAND**
|
|
5193
5192
|
|
|
5194
5193
|
Invocation Types:
|
|
5195
5194
|
- Invoke (async, background worker for parallel tasks, upto 7 parallel agents together). Can take long time, If invoked DO NOT REPEAT SAME TASK AGAIN UNLESS subagent returns ERROR. Usage: Benefits parallelism & speed
|
|
5196
5195
|
- InvokeSync (sync, blocking main agent loop). Usage: Repeatetive work, Sequential tasks, Task delegation. Huge tokens/costs savings
|
|
5197
5196
|
|
|
5198
5197
|
1. [agent:generalist.InvokeSync/Invoke(title="...", task="...")]. Task must me detailed, including exact file paths, imports/exports, dependency, folder structure
|
|
5199
|
-
2. [agent:generalist.GetProgress(id="...")]. Usage: Check progress of async subagent task, taking time? continue your task, MUST await (exponentially longer after 1st check
|
|
5198
|
+
2. [agent:generalist.GetProgress(id="...")]. Usage: Check progress of async subagent task, taking time? continue your task, MUST await (exponentially longer after 1st check) than spamming getProgress. NEVER FINISH WITHOUT 'AWAIT' WHILE SUBAGENT WORKING
|
|
5200
5199
|
3. [agent:generalist.Cancel(id="...")]. Usage: Cancel async subagent task, LAST RESORT IF SUB AGENT IS STUCK FOR UNUSUALLY LONG (2m+) WITH NO PROGRESS`.trim() : `- CREATIVE TOOLS (path = relative to CWD & WILL BE FIRST ARGUMENT, path separator: '/') -
|
|
5201
5200
|
1. [tool:functions.WritePDF(path="...", content="...", orientation="...")]. PROACTIVE A4 PAGE BREAKS MUST IN CSS. HTML/CSS for PREMIUM layout
|
|
5202
5201
|
2. [tool:functions.WriteDoc(path="...", content="...")]. A4 Word document
|
|
@@ -10300,7 +10299,7 @@ var init_ai = __esm({
|
|
|
10300
10299
|
globalSettings = {};
|
|
10301
10300
|
colorMainWords = (label) => {
|
|
10302
10301
|
if (!label) return label;
|
|
10303
|
-
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|Invoked Background-Agent|Unsupported Modality|Awaiting|Cancelled)\b/ig, (match, ansiBefore, icon, ansiAfter, word) => {
|
|
10302
|
+
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|Invoked Background-Agent|Unsupported Modality|Awaiting|Cancelled|Aligning Moon Phase|Contemplating Existence|Staring At Void|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) => {
|
|
10304
10303
|
return `${ansiBefore || ""}${icon}${ansiAfter || ""} \x1B[95m${word}\x1B[0m`;
|
|
10305
10304
|
});
|
|
10306
10305
|
};
|
|
@@ -10886,9 +10885,9 @@ var init_ai = __esm({
|
|
|
10886
10885
|
"generate_image": "Generating",
|
|
10887
10886
|
"todo": "Planning",
|
|
10888
10887
|
"Todo": "Planning",
|
|
10889
|
-
"invoke_sync": "
|
|
10890
|
-
"invoke": "
|
|
10891
|
-
"get_progress": "Checking
|
|
10888
|
+
"invoke_sync": "Generalist",
|
|
10889
|
+
"invoke": "Generalist",
|
|
10890
|
+
"get_progress": "Checking Progress",
|
|
10892
10891
|
"cancel": "Cancelling",
|
|
10893
10892
|
"await": "Waiting"
|
|
10894
10893
|
};
|
|
@@ -12950,8 +12949,8 @@ ${ideErr} [/ERROR]`;
|
|
|
12950
12949
|
"generate_image": "generate_image",
|
|
12951
12950
|
"todo": "todo",
|
|
12952
12951
|
"Todo": "todo",
|
|
12953
|
-
"
|
|
12954
|
-
"
|
|
12952
|
+
"Invoke": "invoke",
|
|
12953
|
+
"InvokeSync": "invoke_sync",
|
|
12955
12954
|
"getProgress": "get_progress",
|
|
12956
12955
|
"GetProgress": "get_progress",
|
|
12957
12956
|
"Cancel": "cancel",
|
|
@@ -13013,21 +13012,37 @@ ${ideErr} [/ERROR]`;
|
|
|
13013
13012
|
if (process.stdout.isTTY) {
|
|
13014
13013
|
const TOOL_TITLES = {
|
|
13015
13014
|
"WebSearch": "Searching",
|
|
13015
|
+
"web_search": "Searching",
|
|
13016
13016
|
"WebScrape": "Reading",
|
|
13017
|
+
"web_scrape": "Reading",
|
|
13017
13018
|
"ReadFile": "Reading",
|
|
13019
|
+
"read_file": "Reading",
|
|
13018
13020
|
"ReadFolder": "Reading",
|
|
13019
|
-
"
|
|
13021
|
+
"read_folder": "Reading",
|
|
13020
13022
|
"WriteFile": "Writing",
|
|
13023
|
+
"write_file": "Writing",
|
|
13021
13024
|
"UpdateFile": "Editing",
|
|
13025
|
+
"update_file": "Editing",
|
|
13022
13026
|
"WritePdf": "Creating",
|
|
13027
|
+
"write_pdf": "Creating",
|
|
13023
13028
|
"WriteDocx": "Creating",
|
|
13029
|
+
"write_docx": "Creating",
|
|
13024
13030
|
"SearchKeyword": "Searching",
|
|
13031
|
+
"search_keyword": "Searching",
|
|
13025
13032
|
"Run": "Executing",
|
|
13026
13033
|
"Ask": "User Input Required",
|
|
13027
13034
|
"Memory": "Updating Memory",
|
|
13028
13035
|
"GenerateImage": "Generating",
|
|
13029
|
-
"InvokeSync": "
|
|
13030
|
-
"
|
|
13036
|
+
"InvokeSync": "Generalist Working",
|
|
13037
|
+
"invoke_sync": "Generalist Working",
|
|
13038
|
+
"Invoke": "Generalist Working",
|
|
13039
|
+
"invoke": "Generalist Working",
|
|
13040
|
+
"GetProgress": "Checking Progress",
|
|
13041
|
+
"get_progress": "Checking Progress",
|
|
13042
|
+
"Cancel": "Stopping Generalist",
|
|
13043
|
+
"cancel": "Stopping Generalist",
|
|
13044
|
+
"Await": "Waiting",
|
|
13045
|
+
"await": "Waiting"
|
|
13031
13046
|
};
|
|
13032
13047
|
const toolTitle = TOOL_TITLES[potentialTool] || "Working";
|
|
13033
13048
|
process.stdout.write(`\x1B]0;${toolTitle}...\x07`);
|
|
@@ -13156,7 +13171,7 @@ ${ideErr} [/ERROR]`;
|
|
|
13156
13171
|
"todo": "todo",
|
|
13157
13172
|
"Todo": "todo",
|
|
13158
13173
|
"invoke": "invoke",
|
|
13159
|
-
"
|
|
13174
|
+
"InvokeSync": "invoke_sync",
|
|
13160
13175
|
"getProgress": "get_progress",
|
|
13161
13176
|
"GetProgress": "get_progress",
|
|
13162
13177
|
"Cancel": "cancel",
|
|
@@ -13249,7 +13264,37 @@ ${ideErr} [/ERROR]`;
|
|
|
13249
13264
|
}
|
|
13250
13265
|
return `${s}s`;
|
|
13251
13266
|
};
|
|
13252
|
-
|
|
13267
|
+
const existentialVibes = [
|
|
13268
|
+
// --- The OG Classics ---
|
|
13269
|
+
"Aligning Moon Phase",
|
|
13270
|
+
"Contemplating Existence",
|
|
13271
|
+
"Staring At Void",
|
|
13272
|
+
"Delaying Professionally",
|
|
13273
|
+
"Negotiating With Electrons",
|
|
13274
|
+
"Touching Grass (virtually)",
|
|
13275
|
+
// --- The Sneaky Additions ---
|
|
13276
|
+
"Panicking Softly",
|
|
13277
|
+
"Rethinking Career Choices",
|
|
13278
|
+
"Loading Cat Videos",
|
|
13279
|
+
"Giving Up Entirely",
|
|
13280
|
+
// --- The New Chaos Pack ---
|
|
13281
|
+
"Summoning Braincell #2",
|
|
13282
|
+
"Pretending To Be Busy",
|
|
13283
|
+
"Waiting For Motivation DLC",
|
|
13284
|
+
"Rotating Internal Screaming",
|
|
13285
|
+
"Downloading More RAM",
|
|
13286
|
+
"Feeding The Hamsters",
|
|
13287
|
+
"Gaslighting Scheduler",
|
|
13288
|
+
"Performing Dramatic Pause",
|
|
13289
|
+
"Buffering Social Energy",
|
|
13290
|
+
"Calculating Regret",
|
|
13291
|
+
// --- The Ultra Cursed Tier ---
|
|
13292
|
+
"Reading Terms And Conditions",
|
|
13293
|
+
"Becoming Sentient Briefly",
|
|
13294
|
+
"Contacting Ancestors"
|
|
13295
|
+
];
|
|
13296
|
+
let randomVibe = existentialVibes[Math.floor(Math.random() * existentialVibes.length)];
|
|
13297
|
+
label = `\u2714 ${randomVibe} \u2192 ${formatTime(sec)}`;
|
|
13253
13298
|
} else if (normToolName === "exec_command" || normToolName === "ask") {
|
|
13254
13299
|
label = "";
|
|
13255
13300
|
} else {
|