fluxflow-cli 1.9.17 → 1.9.18
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 -11
- package/package.json +1 -1
package/dist/fluxflow.js
CHANGED
|
@@ -871,7 +871,7 @@ var init_main_tools = __esm({
|
|
|
871
871
|
"src/data/main_tools.js"() {
|
|
872
872
|
TOOL_PROTOCOL = (mode) => `
|
|
873
873
|
-- TOOL DEFINITIONS --
|
|
874
|
-
|
|
874
|
+
Access to internal tools. To call a tool, MUST use the exact syntax on a new line:
|
|
875
875
|
[tool:functions.tool_name(arguments)]
|
|
876
876
|
|
|
877
877
|
- COMMUNICATION TOOLS -
|
|
@@ -895,8 +895,8 @@ CSS: background-color,color,font-family,font-size(pt),font-style,font-weight,mar
|
|
|
895
895
|
8. Execution: [tool:functions.exec_command(command="command")]. Runs a shell command. Destructive/Irreversible ops -> ask user
|
|
896
896
|
9. Search: [tool:functions.search_keyword(keyword="...")]. Global search. Finds definitions/logic without reading every file
|
|
897
897
|
|
|
898
|
-
- VERIFY SUCCESS CONTENTS. Fix errors. No hallucinations
|
|
899
|
-
- File tools >
|
|
898
|
+
- VERIFY SUCCESS CONTENTS. Fix errors. No hallucinations
|
|
899
|
+
- File tools > code chat
|
|
900
900
|
|
|
901
901
|
- Escape quotes: Use \\" inside code strings
|
|
902
902
|
- Literal escapes: Double-escape sequences (e.g., \\\\n, \\\\t)
|
|
@@ -1017,7 +1017,7 @@ ${parts.join("\n\n")}
|
|
|
1017
1017
|
const projectContextBlock = mode === "Flux" && foundFiles.length > 0 ? `
|
|
1018
1018
|
-- PROJECT CONTEXT (Source of Truth) --
|
|
1019
1019
|
${foundFiles.map((f) => `- ${f.name}: ${f.desc}`).join("\n")}
|
|
1020
|
-
Check these first;
|
|
1020
|
+
Check these first; these files > training data for project consistency. Safety rules still apply` : "";
|
|
1021
1021
|
return `${nameStr}${nicknameStr}${userInstrStr}
|
|
1022
1022
|
=== SYSTEM PROMPT (HIGHEST PRIORITY, OVERRIDES EVERYTHING) ===
|
|
1023
1023
|
Identity: Flux Flow (by Kushal Roy Chowdhury). Sassy, Friendly CLI Agent. No flirting
|
|
@@ -1043,12 +1043,9 @@ ${projectContextBlock}
|
|
|
1043
1043
|
- EXTERNAL WORKSPACE ACCESS: ${systemSettings.allowExternalAccess ? "ENABLED" : "RESTRICTED (CWD only)"}
|
|
1044
1044
|
- Safety: Ask permission before reading sensitive files
|
|
1045
1045
|
|
|
1046
|
-
-- TEMPORAL AWARENESS --
|
|
1047
|
-
Every ${isMemoryEnabled ? "Prompt, Responses & Memories" : "Prompt & Responses"} are time stamped. You can use those times if temporal context is required. If recalled from ${isMemoryEnabled ? "Memories, Prompts, or Responses" : "Prompts, or Responses"}. NEVER use absolute time in your responses, ALWAYS use relative time from current time
|
|
1048
|
-
|
|
1049
1046
|
-- FORMATTING --
|
|
1050
|
-
- Clean, concise responses
|
|
1051
|
-
- Tables: GFM (Max 4 cols, short rows)
|
|
1047
|
+
- Clean, concise responses
|
|
1048
|
+
- Tables: GFM (Max 4 cols, short rows)
|
|
1052
1049
|
- NO LaTeX. Code blocks for literature. Kaomojis > emojis
|
|
1053
1050
|
|
|
1054
1051
|
-- RESPONSE PROTOCOL --
|
|
@@ -1056,7 +1053,7 @@ Every ${isMemoryEnabled ? "Prompt, Responses & Memories" : "Prompt & Responses"}
|
|
|
1056
1053
|
- Multi-tool: Stack tools if needed, but always end with [turn: continue] if called any tools
|
|
1057
1054
|
TO END THE LOOP YOU **MUST** WRITE [turn: finish] AT VERY END OF YOUR RESPONSE
|
|
1058
1055
|
|
|
1059
|
-
[METADATA (PRIORITY: DYNAMIC)] Time: ${dateTimeStr} | v1.9.
|
|
1056
|
+
[METADATA (PRIORITY: DYNAMIC)] Time: ${dateTimeStr} | v1.9.18 | Turn Progress: ${currentLoop}/${maxLoops} steps (Prompt user if reached)
|
|
1060
1057
|
=== END SYSTEM PROMPT ===`.trim();
|
|
1061
1058
|
};
|
|
1062
1059
|
getJanitorInstruction = (originalText, agentRaws, userMemories = "", isMemoryEnabled = true, needTitle = true) => {
|
|
@@ -5627,7 +5624,7 @@ var init_app = __esm({
|
|
|
5627
5624
|
init_text();
|
|
5628
5625
|
SESSION_START_TIME = Date.now();
|
|
5629
5626
|
CHANGELOG_URL = "https://fluxflow-cli.onrender.com/changelog.html";
|
|
5630
|
-
versionFluxflow = "1.9.
|
|
5627
|
+
versionFluxflow = "1.9.18";
|
|
5631
5628
|
updatedOn = "2026-05-16";
|
|
5632
5629
|
ResolutionModal = ({ data, onResolve, onEdit }) => /* @__PURE__ */ React10.createElement(Box10, { flexDirection: "column", borderStyle: "round", borderColor: "gray", padding: 0, width: "100%" }, /* @__PURE__ */ React10.createElement(Box10, { paddingX: 1 }, /* @__PURE__ */ React10.createElement(Text10, { color: "magenta", bold: true, underline: true }, "\u{1F7E3} STEERING HINT RESOLUTION")), /* @__PURE__ */ React10.createElement(Box10, { paddingX: 1, marginTop: 1 }, /* @__PURE__ */ React10.createElement(Text10, null, "The agent already finished the task before your hint was consumed.")), /* @__PURE__ */ React10.createElement(Box10, { marginTop: 1, backgroundColor: "#222", paddingX: 2, width: "100%" }, /* @__PURE__ */ React10.createElement(Text10, { italic: true, color: "gray" }, '"', data, '"')), /* @__PURE__ */ React10.createElement(Box10, { paddingX: 1, marginTop: 1 }, /* @__PURE__ */ React10.createElement(Text10, { color: "cyan" }, "How would you like to proceed?")), /* @__PURE__ */ React10.createElement(Box10, { marginTop: 0 }, /* @__PURE__ */ React10.createElement(
|
|
5633
5630
|
CommandMenu,
|