fluxflow-cli 1.19.1 → 1.19.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 +20 -7
  2. package/package.json +1 -1
package/dist/fluxflow.js CHANGED
@@ -5845,15 +5845,12 @@ ${thinkingLevel != "Fast" ? `${modelName.toLowerCase().startsWith("gemma") ? "[S
5845
5845
  }
5846
5846
  currentSystemInstruction = getSystemInstruction(profile, !(targetModel || "gemma").toLowerCase().startsWith("gemma") ? "GEM" : thinkingLevel, mode, systemSettings, isMemoryEnabled, MAX_LOOPS, loop + 1);
5847
5847
  const isGemma = modelName && modelName.toLowerCase().startsWith("gemma");
5848
- let jitInstruction = "";
5849
- let addedMarker = false;
5850
5848
  const lastUserMsg = contents[contents.length - 1];
5851
5849
  if (isGemma) {
5852
- jitInstruction = `
5850
+ const jitInstruction = `
5853
5851
  [SYSTEM] Tool result received. Analyze output and proceed with your turn${thinkingLevel != "Fast" ? `. **STRICTLY MAINTAIN THINKING POLICY. DO NOT START A RESPONSE WITHOUT <think> ... </think>}**` : ""}`;
5854
5852
  if (lastUserMsg && lastUserMsg.role === "user" && lastUserMsg.parts?.[0]?.text?.startsWith("[TOOL RESULT]")) {
5855
5853
  lastUserMsg.parts[0].text += jitInstruction;
5856
- addedMarker = true;
5857
5854
  }
5858
5855
  }
5859
5856
  if (isGemma) {
@@ -5923,9 +5920,6 @@ ${thinkingLevel != "Fast" ? `${modelName.toLowerCase().startsWith("gemma") ? "[S
5923
5920
  })()
5924
5921
  }
5925
5922
  });
5926
- if (addedMarker && contents[contents.length - 1]?.parts?.[0]) {
5927
- contents[contents.length - 1].parts[0].text = contents[contents.length - 1].parts[0].text.replace(jitInstruction, "").trim();
5928
- }
5929
5923
  turnText = "";
5930
5924
  lastToolSniffed = null;
5931
5925
  lastToolEventTime = null;
@@ -6699,6 +6693,17 @@ ${timestamp}`;
6699
6693
  }
6700
6694
  wasToolCalledInLastLoop = toolCallPointer > 0 || anyToolExecutedInThisTurn;
6701
6695
  }
6696
+ if (modelName && modelName.toLowerCase().startsWith("gemma")) {
6697
+ modifiedHistory.forEach((msg) => {
6698
+ if (msg.role === "user" && msg.text && msg.text.startsWith("[TOOL RESULT]")) {
6699
+ const jitInstructionFast = `
6700
+ [SYSTEM] Tool result received. Analyze output and proceed with your turn`;
6701
+ const jitInstructionThinking = `
6702
+ [SYSTEM] Tool result received. Analyze output and proceed with your turn. **STRICTLY MAINTAIN THINKING POLICY. DO NOT START A RESPONSE WITHOUT <think> ... </think>}**`;
6703
+ msg.text = msg.text.replace(jitInstructionThinking, "").replace(jitInstructionFast, "").trim();
6704
+ }
6705
+ });
6706
+ }
6702
6707
  } finally {
6703
6708
  await RevertManager.commitTransaction();
6704
6709
  }
@@ -7892,6 +7897,10 @@ function App({ args = [] }) {
7892
7897
  cmd: "gemma-4-31b-it",
7893
7898
  desc: "Standard Default"
7894
7899
  },
7900
+ {
7901
+ cmd: "gemini-2.5-flash",
7902
+ desc: "Fast & Reliable (Limited Free Quota)"
7903
+ },
7895
7904
  {
7896
7905
  cmd: "gemini-3-flash-preview",
7897
7906
  desc: "Fast & Lightweight (Limited Free Quota)"
@@ -7901,6 +7910,10 @@ function App({ args = [] }) {
7901
7910
  desc: "Flash Latest (Limited Free Quota) [Instability Issues]"
7902
7911
  }
7903
7912
  ] : [
7913
+ {
7914
+ cmd: "gemini-2.5-flash",
7915
+ desc: "Fast & Reliable"
7916
+ },
7904
7917
  {
7905
7918
  cmd: "gemini-3.1-flash-lite",
7906
7919
  desc: "Ultra-Fast & Lite"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluxflow-cli",
3
- "version": "1.19.1",
3
+ "version": "1.19.2",
4
4
  "date": "2026-06-03",
5
5
  "description": "A high-fidelity agentic terminal assistant for the Flux Era.",
6
6
  "keywords": [