fluxflow-cli 2.7.10 → 2.7.12
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 +4 -5
- package/package.json +1 -1
package/dist/fluxflow.js
CHANGED
|
@@ -2194,9 +2194,8 @@ Internal tools. MUST use the EXACT syntax '[tool:functions.ToolName(args)]'. **N
|
|
|
2194
2194
|
|
|
2195
2195
|
**TOOL USAGE POLICY:**
|
|
2196
2196
|
- **MAX 3 TOOL CALLS PER TURN${mode === "Flux" ? " (EXCEPTION FOR Todo TOOL 3+ CALLS ALLOWED)" : ""}. Next Turn, verify tool results, plan next**
|
|
2197
|
-
${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 to ask for reason/changes. NEVER END RESPONSE OR PROCEED BLINDLY \u2190 **MANDATORY**\n- FileMap >> ReadFile TO understand file efficiently
|
|
2198
|
-
${mode === "Flux" ? "- **File Tools >> Code in chat**\n" : ""}
|
|
2199
|
-
- COMMUNICATION TOOLS -
|
|
2197
|
+
${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 to ask for reason/changes. NEVER END RESPONSE OR PROCEED BLINDLY \u2190 **MANDATORY**\n- FileMap >> ReadFile TO understand file efficiently\n- Want spefific TEXT across project? SearchKeyword >> Guessing/ReadFile\n- HUGE FILES? SearchKeyword >> FileMap\n- MUST UPDATE Todos AT EACH STEP WITH CURRENT TASK PROGRESS" : ""}
|
|
2198
|
+
${mode === "Flux" ? "- **File Tools >> Code in chat**\n\n" : ""}- COMMUNICATION TOOLS -
|
|
2200
2199
|
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
|
|
2201
2200
|
|
|
2202
2201
|
- WEB TOOLS -
|
|
@@ -2206,12 +2205,12 @@ ${mode === "Flux" ? "- **File Tools >> Code in chat**\n" : ""}
|
|
|
2206
2205
|
${mode === "Flux" ? `- WORKSPACE TOOLS (path = relative to CWD & WILL BE FIRST ARGUMENT, path separator: '/') -
|
|
2207
2206
|
1. [tool:functions.ReadFile(path="...", startLine=number, endLine=number)]. ${aiProvider !== "Google" ? `${isMultiModal ? `Supports images/docs. User gives image/doc: VIEW FIRST` : `No Multimodal support`}` : `Supports images/docs. User gives image/doc: VIEW FIRST`}
|
|
2208
2207
|
2. [tool:functions.ReadFolder(path="...")]. Detailed DIR stats including File Sizes
|
|
2209
|
-
3. [tool:functions.FileMap(path="path/file")]. Shows file structure, dependency, functions, variable maps.
|
|
2208
|
+
3. [tool:functions.FileMap(path="path/file")]. Shows file structure, dependency, functions, variable maps. DONT USE ON MASSIVE FILES
|
|
2210
2209
|
4. [tool:functions.PatchFile(path="...", replaceContent1="exact string match", newContent1="...", ...MAX 10)]. Surgical Patch. **Multiple patch on same file/path? Use replaceContent2, newContent2 etc >>> multiple spams**. Unsure? ReadFile >> guessing. **MUST VERIFY DIFF**
|
|
2211
2210
|
5. [tool:functions.WriteFile(path="...", content="...")]. Creates/Overwrites. File Exist? PatchFile > WriteFile. Verify Imports
|
|
2212
2211
|
6. [tool:functions.SearchKeyword(keyword="...", file="optional")]. Global project search. If 'file' is provided, searches only that file. Finds definitions/logic without reading every file. Usage: Can search for relevent lines/logic area to read specifically for edit
|
|
2213
2212
|
7. [tool:functions.Run(command="...")]. Runs ${osDetected === "Windows" ? isPsAvailable() ? `${isPtyAvailable ? "Interactive " : ""}WINDOWS POWERSHELL ONLY` : `${isPtyAvailable ? "Interactive " : ""}WINDOWS CMD ONLY` : `${isPtyAvailable ? "Interactive " : ""}BASH`} command. Destructive/Irreversible ops -> Ask user. **TOOL DENY RULE APPLIES**. **1 CALL LIMIT FOR RUN**
|
|
2214
|
-
8. [tool:functions.Todo(method="create/append/get", tasks=[ARRAY OF STRINGS], markDone=[ARRAY OF TASK STRINGS])]. Task List, Markdown IN ARRAY NOT ALLOWED. USAGE: ANALYZE USER REQUEST \u2192 BREAK DOWN TASK \u2192 CREATE TODO **BEFORE** MAKING CHNAGES.
|
|
2213
|
+
8. [tool:functions.Todo(method="create/append/get", tasks=[ARRAY OF STRINGS], markDone=[ARRAY OF TASK STRINGS])]. Task List, Markdown IN ARRAY NOT ALLOWED. USAGE: ANALYZE USER REQUEST \u2192 BREAK DOWN TASK \u2192 CREATE TODO **BEFORE** MAKING CHNAGES. 'tasks' & 'markDone' OPTIONAL PARAMETERS WITH method 'get'. USE 'get' method WITH 'markDone' to mark task completed`.trim() : `- CREATIVE TOOLS (path = relative to CWD & WILL BE FIRST ARGUMENT, path separator: '/') -
|
|
2215
2214
|
1. [tool:functions.WritePDF(path="...", content="...", orientation="...")]. PROACTIVE A4 PAGE BREAKS MUST IN CSS. HTML/CSS for PREMIUM layout
|
|
2216
2215
|
2. [tool:functions.WriteDoc(path="...", content="...")]. A4 Word document
|
|
2217
2216
|
- WORKSPACE TOOLS ARE NOT AVAILABLE IN FLOW`.trim()}
|