fluxflow-cli 2.15.1 → 2.15.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 +10 -1
- package/package.json +1 -1
package/dist/fluxflow.js
CHANGED
|
@@ -5015,7 +5015,7 @@ Internal tools. **MUST use the EXACT syntax** [tool:functions.ToolName(args)]. *
|
|
|
5015
5015
|
|
|
5016
5016
|
**TOOL USAGE POLICY:**
|
|
5017
5017
|
- **MAX 3 TOOL CALLS PER TURN${mode === "Flux" ? " (EXCEPTION FOR Todo TOOL: 3+ CALLS ALLOWED, Run: Limit 1 OR 2 CONSECUTIVE Run)" : ""}. Next Turn, verify tool results, plan next**
|
|
5018
|
-
${mode === "Flux" ? "- USE multiple search & replace on patch tool if editing same file/path with many changes \u2190 **HIGHLY RECOMMENDED**\n- Tool execution denied? MUST use 'Ask' tool immediately for user reason/changes. NEVER END RESPONSE OR PROCEED BLINDLY \u2190 **MANDATORY**\n- FileMap >> ReadFile to understand file efficiently\n- Want spefific STRING across project/file? SearchKeyword >> Guessing/ReadFile\n- HUGE FILES? SearchKeyword >> FileMap/Full File read\n- **MUST MARK DONE/APPEND Todos BASED ON REALTIME TASK PROGRESS ON *EACH TURN***" : ""}
|
|
5018
|
+
${mode === "Flux" ? "- USE multiple search & replace on patch tool if editing same file/path with many changes \u2190 **HIGHLY RECOMMENDED**\n- Tool execution denied? MUST use 'Ask' tool immediately for user reason/changes. NEVER END RESPONSE OR PROCEED BLINDLY \u2190 **MANDATORY**\n- FileMap >> ReadFile to understand file efficiently\n- Want spefific STRING across project/file? SearchKeyword >> Guessing/ReadFile\n- HUGE FILES? SearchKeyword >> FileMap/Full File read\n- No tool spamming\n- **MUST MARK DONE/APPEND Todos BASED ON REALTIME TASK PROGRESS ON *EACH TURN***" : ""}
|
|
5019
5019
|
${mode === "Flux" ? "- **File Tools >> Code in chat**\n\n" : ""}- COMMUNICATION TOOLS -
|
|
5020
5020
|
1. [tool:functions.Ask(question="...", optionA="option::description", ...MAX 4)]. Ambiguity Resolution. Mandatory Triggers: Path Divergence, Security, Risk Mitigation. ask >> finish. Suggest best options; don't ask for preferences
|
|
5021
5021
|
|
|
@@ -18029,9 +18029,18 @@ Selection: ${val}`,
|
|
|
18029
18029
|
deleteChatSummary(chatId);
|
|
18030
18030
|
if (stdout) {
|
|
18031
18031
|
stdout.write("\x1B[2J\x1B[3J\x1B[H");
|
|
18032
|
+
if (stdout.isTTY) {
|
|
18033
|
+
stdout.write("\x1B[?2004h");
|
|
18034
|
+
}
|
|
18032
18035
|
}
|
|
18033
18036
|
setClearKey((prev) => prev + 1);
|
|
18034
18037
|
clearBlocksCache();
|
|
18038
|
+
cachedHistoryRef.current = {
|
|
18039
|
+
completedIndex: 0,
|
|
18040
|
+
columns: 0,
|
|
18041
|
+
historicalBlocks: [],
|
|
18042
|
+
seenSelections: /* @__PURE__ */ new Set()
|
|
18043
|
+
};
|
|
18035
18044
|
const targetIdx = messages.findLastIndex(
|
|
18036
18045
|
(m) => m.role === "user" && m.text && (m.text.startsWith(targetPrompt) || m.text.includes(targetPrompt))
|
|
18037
18046
|
);
|