fluxflow-cli 1.7.9 → 1.7.10

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 +10 -4
  2. package/package.json +1 -1
package/dist/fluxflow.js CHANGED
@@ -301,11 +301,15 @@ var init_ChatLayout = __esm({
301
301
  });
302
302
  MessageItem = React2.memo(({ msg, showFullThinking, columns = 80 }) => {
303
303
  const isDiffResult = msg.role === "system" && msg.text?.includes("[DIFF_START]");
304
+ const isPatchError = msg.role === "system" && msg.text?.includes("[TOOL_RESULT]: ERROR:") && (msg.toolName === "update_file" || msg.text?.includes("Could not find exact match"));
304
305
  const isTerminalRecord = msg.isTerminalRecord;
305
306
  if (msg.isVisualFeedback) {
306
307
  return /* @__PURE__ */ React2.createElement(Box2, { marginBottom: 1, paddingX: 1, width: "100%" }, /* @__PURE__ */ React2.createElement(Text2, { color: "white" }, msg.text));
307
308
  }
308
- if (msg.role === "system" && msg.text?.includes("[TOOL_RESULT]") && !isDiffResult && !isTerminalRecord) return null;
309
+ if (isPatchError) {
310
+ return /* @__PURE__ */ React2.createElement(Box2, { marginBottom: 1 }, /* @__PURE__ */ React2.createElement(Box2, { flexDirection: "column", borderStyle: "round", borderColor: "red", paddingX: 1, paddingY: 0 }, /* @__PURE__ */ React2.createElement(Text2, { color: "red", bold: true, underline: true }, "\u274C PATCH FAILED"), /* @__PURE__ */ React2.createElement(Box2, { marginTop: 1 }, /* @__PURE__ */ React2.createElement(Text2, { color: "red" }, "Patch failed: ", /* @__PURE__ */ React2.createElement(Text2, { color: "white", bold: true }, "Model generated malformed edit.")))));
311
+ }
312
+ if (msg.role === "system" && msg.text?.includes("[TOOL_RESULT]") && !isDiffResult && !isTerminalRecord && !isPatchError) return null;
309
313
  if (msg.isAskRecord) {
310
314
  const selectionMatch = msg.text.match(/Selection: (.*)/);
311
315
  const selection = selectionMatch ? selectionMatch[1] : "No selection";
@@ -2684,8 +2688,9 @@ ${boxBottom}
2684
2688
  type: "tool_result",
2685
2689
  content: uiContent,
2686
2690
  aiContent,
2687
- binaryPart
2691
+ binaryPart,
2688
2692
  // Multi-modal stage (v1.5.0)
2693
+ toolName: toolCall.toolName
2689
2694
  };
2690
2695
  if (toolCall.toolName === "memory" && result.includes("SUCCESS")) {
2691
2696
  yield { type: "memory_updated" };
@@ -3931,8 +3936,9 @@ Selection: ${val}`,
3931
3936
  text: packet.content,
3932
3937
  fullText: packet.aiContent,
3933
3938
  // Preserve raw data for next turn
3934
- binaryPart: packet.binaryPart
3939
+ binaryPart: packet.binaryPart,
3935
3940
  // v1.5.0 Multimodal Support
3941
+ toolName: packet.toolName
3936
3942
  }]);
3937
3943
  continue;
3938
3944
  }
@@ -4679,7 +4685,7 @@ var init_app = __esm({
4679
4685
  init_setup();
4680
4686
  SESSION_START_TIME = Date.now();
4681
4687
  CHANGELOG_URL = "https://fluxflow-cli.onrender.com/changelog.html";
4682
- versionFluxflow = "1.7.9";
4688
+ versionFluxflow = "1.7.10";
4683
4689
  updatedOn = "2026-05-04";
4684
4690
  ResolutionModal = ({ data, onResolve, onEdit }) => /* @__PURE__ */ React10.createElement(Box10, { flexDirection: "column", borderStyle: "round", borderColor: "magenta", paddingX: 2, paddingY: 1, width: "100%" }, /* @__PURE__ */ React10.createElement(Text10, { color: "magenta", bold: true, underline: true }, "\u{1F7E3} STEERING HINT RESOLUTION"), /* @__PURE__ */ React10.createElement(Text10, { marginTop: 1 }, "The agent already finished the task (turn: finish) before your hint was consumed."), /* @__PURE__ */ React10.createElement(Box10, { marginTop: 1, backgroundColor: "#222", paddingX: 1, width: "100%" }, /* @__PURE__ */ React10.createElement(Text10, { italic: true, color: "gray" }, '"', data, '"')), /* @__PURE__ */ React10.createElement(Box10, { marginTop: 1 }, /* @__PURE__ */ React10.createElement(Text10, { color: "cyan" }, "How would you like to proceed?")), /* @__PURE__ */ React10.createElement(Box10, { marginTop: 1 }, /* @__PURE__ */ React10.createElement(
4685
4691
  CommandMenu,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluxflow-cli",
3
- "version": "1.7.9",
3
+ "version": "1.7.10",
4
4
  "description": "A high-fidelity agentic terminal assistant for the Flux Era.",
5
5
  "keywords": [
6
6
  "ai",