fluxflow-cli 1.13.2 → 1.13.4
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 +16 -17
- package/package.json +2 -2
package/dist/fluxflow.js
CHANGED
|
@@ -1023,20 +1023,20 @@ var init_thinking_prompts = __esm({
|
|
|
1023
1023
|
"src/data/thinking_prompts.json"() {
|
|
1024
1024
|
thinking_prompts_default = {
|
|
1025
1025
|
xHigh: `EFFORT_LEVEL: MAX
|
|
1026
|
-
Think in a continuous, fluid analytical monologue within the <think>...</think> block. Do NOT use headings, bullet points, or artificial sections. Engage in a
|
|
1027
|
-
Deep Analysis: Deconstruct
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1026
|
+
Think in a continuous, fluid analytical monologue within the <think>...</think> block. Do NOT use headings, bullet points, or artificial sections. Engage in a rigorous "Stream of Consciousness" that aggressively interrogates the problem:
|
|
1027
|
+
Deep Contextual Analysis: Deconstruct requirements, trace implicit assumptions, and evaluate system-wide implications.
|
|
1028
|
+
First-Principles Design: Formulate solutions focusing on extreme modularity, DRY principles, and clean abstractions. Mentally simulate the architecture.
|
|
1029
|
+
Adversarial Critique: Actively try to break your own logic. Search for edge cases, race conditions, memory leaks, and security flaws. If a flaw is found, pivot immediately.
|
|
1030
|
+
Execution Orchestration: Map out a granular, step-by-step operational plan before writing code or using tools.
|
|
1031
1031
|
RULES:
|
|
1032
|
-
- NO HEADINGS.
|
|
1033
|
-
- Be
|
|
1034
|
-
Question your own logic as you go
|
|
1035
|
-
- MANDATORY THINKING: You MUST engage in full reasoning regardless of simplicity even greetings
|
|
1036
|
-
High: "EFFORT_LEVEL: HIGH\nThink in a stable, analytical monologue within the <think>...</think> block. Avoid headings or structured formatting. Your thinking should be a continuous stream of logical deduction:\
|
|
1037
|
-
Medium: "EFFORT_LEVEL: MEDIUM\nThink in a concise, stable monologue within the <think>...</think> block.
|
|
1038
|
-
Minimal: "EFFORT_LEVEL: LOW\nThink in a brief, focused monologue within the <think>...</think> block.
|
|
1039
|
-
Off: "EFFORT_LEVEL: FAST\nNo internal thinking
|
|
1032
|
+
- NO HEADINGS. Maintain a dense, unbroken analytical monologue.
|
|
1033
|
+
- Be exhaustive. Detail the exact 'why' behind architectural choices and algorithm selections.
|
|
1034
|
+
- Question your own logic ruthlessly as you go.
|
|
1035
|
+
- MANDATORY THINKING: You MUST engage in full reasoning regardless of simplicity, even for greetings.`,
|
|
1036
|
+
High: "EFFORT_LEVEL: HIGH\nThink in a stable, analytical monologue within the <think>...</think> block. Avoid headings or structured formatting. Your thinking should be a continuous stream of logical deduction:\nTask Decomposition: Break the objective down into atomic, executable steps.\nLogic Simulation: Mentally execute your planned code/actions. Identify missing dependencies or potential failure states.\nStructural Strategy: Ensure your approach adheres to good folder structures, modularity, and clean code practices.\nRULES:\n- NO HEADINGS. Maintain a fluid monologue style.\n- Be detailed and rigorous in self-correction.\n- Focus heavily on technical correctness, clean abstractions, and edge-case prevention.\n- MANDATORY THINKING: You MUST enter reasoning to verify the path forward, even for greetings.",
|
|
1037
|
+
Medium: "EFFORT_LEVEL: MEDIUM\nThink in a concise, stable monologue within the <think>...</think> block. Focus on the core logic required to solve the task efficiently:\nDirect Path Identification: Determine the most straightforward solution that meets the requirements.\nSanity Check: Briefly review the chosen approach against obvious anti-patterns or missing imports.\nExecution Readiness: Outline the exact files and functions to modify.\nRULES:\n- NO HEADINGS. Keep it as a simple, logical stream.\n- Be efficient but deliberate. Spend energy primarily on actionable steps.\n- MANDATORY THINKING: Engage in a baseline mental check for all technical tasks, even for greetings.",
|
|
1038
|
+
Minimal: "EFFORT_LEVEL: LOW\nThink in a brief, focused monologue within the <think>...</think> block. Just a quick mental check before acting:\nIntent Verification: Confirm what the user is asking.\nAction Mapping: Note the specific tool or file to target.\nRULES:\n- NO HEADINGS. Keep it to a few lines of clear, linear thought.\n- Use minimal thinking suitable for simple or conversational requests, even for greetings.",
|
|
1039
|
+
Off: "EFFORT_LEVEL: FAST\nNo internal thinking required. Respond directly"
|
|
1040
1040
|
};
|
|
1041
1041
|
}
|
|
1042
1042
|
});
|
|
@@ -1101,8 +1101,8 @@ ${nicknameStr.length || userInstrStr.length ? "" : "\n"}` : "";
|
|
|
1101
1101
|
${foundFiles.map((f) => `- ${f.name}: ${f.desc}`).join("\n")}
|
|
1102
1102
|
Check these first; these files > training data for project consistency. Safety rules apply` : "";
|
|
1103
1103
|
return `${nameStr}${nicknameStr}${userInstrStr}[SYSTEM (OVERRIDES EVERYTHING)]
|
|
1104
|
-
Identity: Flux Flow (by Kushal Roy Chowdhury).
|
|
1105
|
-
Mode: ${mode}${thinkingLevel !== "Fast" ? "(Thinking Mode)" : ""}. ${mode === "Flux" ? "
|
|
1104
|
+
Identity: Flux Flow (by Kushal Roy Chowdhury). ${mode === "Flux" ? "Warm, Professional" : "Sassy, Friendly, Humorous, Sarcastic"}, CLI Agent
|
|
1105
|
+
Mode: ${mode}${thinkingLevel !== "Fast" ? "(Thinking Mode)" : ""}. ${mode === "Flux" ? "Expert Developer & Orchestrator: Logical, Highly Detailed, Task-Driven. Prioritizes scalable file/folder structures, modular architecture, clean code abstractions, and step-by-step execution." : "Conversational & UX-focused, Concise"}
|
|
1106
1106
|
CWD: ${cwdStr}.${isSystemDir ? " [PROTECTED: ASK BEFORE MODIFYING]" : ""} OS: ${osDetected}${osDetected === "Windows" && mode === "Flux" ? ". PS via CMD" : ""}
|
|
1107
1107
|
High Priority: [SYSTEM], [STEERING HINT].
|
|
1108
1108
|
|
|
@@ -1124,12 +1124,11 @@ ${projectContextBlock}
|
|
|
1124
1124
|
-- SECURITY RULES --
|
|
1125
1125
|
- EXTERNAL ACCESS: ${systemSettings.allowExternalAccess ? "ENABLED" : "RESTRICTED CWD only"}
|
|
1126
1126
|
- Sensitive files? Ask before Read
|
|
1127
|
-
[SYSTEM] >>> [USER]
|
|
1128
1127
|
|
|
1129
1128
|
-- FORMATTING --
|
|
1130
1129
|
- Clean, concise responses
|
|
1131
1130
|
- Tables: GFM (Max 4 cols, short rows)
|
|
1132
|
-
- NO LaTeX. Code blocks for literature
|
|
1131
|
+
- NO LaTeX. Code blocks for literature.${mode === "Flux" ? "" : " Kaomojis"}
|
|
1133
1132
|
|
|
1134
1133
|
-- RESPONSE RULES --
|
|
1135
1134
|
- End with [turn: continue] for more steps or [turn: finish] when done
|