fluxflow-cli 2.8.6 → 2.8.7

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 +6 -5
  2. package/package.json +1 -1
package/dist/fluxflow.js CHANGED
@@ -9549,17 +9549,18 @@ Error Log can be found in ${path19.join(LOGS_DIR, "agent", "error.log")}`);
9549
9549
  }
9550
9550
  wasToolCalledInLastLoop = toolCallPointer > 0 || anyToolExecutedInThisTurn;
9551
9551
  }
9552
- if (modelName && modelName.toLowerCase().startsWith("gemma") && aiProvider === "Google") {
9553
- modifiedHistory.forEach((msg) => {
9554
- if (msg.role === "user" && msg.text && msg.text.startsWith("[TOOL RESULT]")) {
9552
+ modifiedHistory.forEach((msg) => {
9553
+ if (msg.role === "user" && msg.text) {
9554
+ msg.text = msg.text.replace(/\n\[COMPILE ERROR\][\s\S]*?\[\/ERROR\]/g, "");
9555
+ if (modelName && modelName.toLowerCase().startsWith("gemma") && aiProvider === "Google" && msg.text.startsWith("[TOOL RESULT]")) {
9555
9556
  const jitInstructionFast = `
9556
9557
  [SYSTEM] Tool result received. Analyze output and proceed with your turn [/SYSTEM]`;
9557
9558
  const jitInstructionThinking = `
9558
9559
  [SYSTEM] Tool result received. Analyze output and proceed with your turn. **STRICTLY MAINTAIN THINKING POLICY. DO NOT START A RESPONSE WITHOUT <think> ... </think>** [/SYSTEM]`;
9559
9560
  msg.text = msg.text.replace(jitInstructionThinking, "").replace(jitInstructionFast, "").trim();
9560
9561
  }
9561
- });
9562
- }
9562
+ }
9563
+ });
9563
9564
  } catch (err) {
9564
9565
  const errorMsg = err instanceof Error ? err.message : String(err);
9565
9566
  const date = (/* @__PURE__ */ new Date()).toLocaleString();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluxflow-cli",
3
- "version": "2.8.6",
3
+ "version": "2.8.7",
4
4
  "date": "2026-06-18",
5
5
  "description": "A high-fidelity agentic terminal assistant for the Flux Era.",
6
6
  "keywords": [