fluxflow-cli 3.13.1 → 3.13.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.
Files changed (2) hide show
  1. package/dist/fluxflow.js +17 -3
  2. package/package.json +1 -1
package/dist/fluxflow.js CHANGED
@@ -7797,6 +7797,10 @@ ${tempMemories}` : "";
7797
7797
  ` : "";
7798
7798
  };
7799
7799
  getSystemInstruction = (profile, thinkingLevel, mode, systemSettings, isMemoryEnabled = true, isFirstPrompt = false, aiProvider = "Google", isMultiModal = false, isGemini, chatId) => {
7800
+ let forcedReasoning = false;
7801
+ if (process.env.forcedReasoning && process.env.NVIDIA_BASE_URL && aiProvider.toUpperCase() === "NVIDIA") {
7802
+ forcedReasoning = true;
7803
+ }
7800
7804
  let thinkingConfig = "";
7801
7805
  if (!isGemini && aiProvider === "Google") {
7802
7806
  let levelKey = thinkingLevel;
@@ -7879,7 +7883,7 @@ Mode: ${mode}${thinkingLevel !== "Fast" ? "" : ""}. ${mode === "Flux" ? "Logical
7879
7883
 
7880
7884
  -- THINKING GUIDANCE --
7881
7885
  ${aiProvider === "Mistral" || aiProvider === "Google" && !isGemini ? `${thinkingConfig}
7882
- ${thinkingLevel !== "Fast" && (aiProvider === "Mistral" || thinkingLevel !== "xHigh" && !isGemini) ? `CRITICAL THINKING POLICY
7886
+ ${forcedReasoning || thinkingLevel !== "Fast" && (aiProvider === "Mistral" || thinkingLevel !== "xHigh" && !isGemini) ? `CRITICAL THINKING POLICY
7883
7887
  - Use <think> ... </think> before responding, even with simple queries/greetings
7884
7888
  ` : ""}` : `${thinkingConfig}
7885
7889
  `}
@@ -20034,21 +20038,31 @@ ${cleanText}`, color: "magenta" }];
20034
20038
  if (parts[1]) {
20035
20039
  let val = parts[1].toLowerCase();
20036
20040
  const isBypass = parts.includes("--bypass");
20041
+ const isForce = parts.includes("--force");
20037
20042
  formattedLevel = val.charAt(0).toUpperCase() + val.slice(1);
20038
20043
  if (val === "xhigh") {
20039
20044
  formattedLevel = "xHigh";
20040
20045
  }
20046
+ let forceMsg = "";
20047
+ if (isForce) {
20048
+ if (process.env.NVIDIA_BASE_URL) {
20049
+ forceMsg = " Enabled Forced Reasoning";
20050
+ } else {
20051
+ forceMsg = " --force is not supported in this context";
20052
+ }
20053
+ process.env.forcedReasoning = "true";
20054
+ }
20041
20055
  if (!isBypass && mode === "Flow" && formattedLevel === "xHigh") {
20042
20056
  setMessages((prev) => {
20043
20057
  setCompletedIndex(prev.length + 1);
20044
- return [...prev, { id: Date.now(), role: "system", text: `[RESTRICTED] "${formattedLevel}" is restricted in Flow mode. Switch to Flux to enable Higher Thinking Levels.`, isMeta: true }];
20058
+ return [...prev, { id: Date.now(), role: "system", text: `[RESTRICTED] "${formattedLevel}" is restricted in Flow mode. Switch to Flux to enable Higher Thinking Levels.${forceMsg}`, isMeta: true }];
20045
20059
  });
20046
20060
  } else {
20047
20061
  setThinkingLevel(formattedLevel);
20048
20062
  const s2 = emojiSpace(1);
20049
20063
  setMessages((prev) => {
20050
20064
  setCompletedIndex(prev.length + 1);
20051
- return [...prev, { id: Date.now(), role: "system", text: `[SYSTEM] Thinking level set to ${formattedLevel}${isBypass ? ` (Bypass Activated)` : ""}`, isMeta: true }];
20065
+ return [...prev, { id: Date.now(), role: "system", text: `[SYSTEM] Thinking level set to ${formattedLevel}${isBypass ? ` (Bypass Activated)` : ""}${forceMsg}`, isMeta: true }];
20052
20066
  });
20053
20067
  }
20054
20068
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluxflow-cli",
3
- "version": "3.13.1",
3
+ "version": "3.13.2",
4
4
  "date": "2026-07-29",
5
5
  "description": "A High-Fidelity Agentic CLI with Sub-Agents for the Flux Era.",
6
6
  "keywords": [