fluxflow-cli 3.15.1 → 3.15.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 +16 -16
  2. package/package.json +1 -1
package/dist/fluxflow.js CHANGED
@@ -15862,7 +15862,7 @@ ${cleanPromptForModel.trim()}
15862
15862
  currentSystemInstruction = getSystemInstruction(profile, !(targetModel || "gemma").toLowerCase().startsWith("gemma") ? thinkingLevel : thinkingLevel, mode, systemSettings, isMemoryEnabled, isFirstPrompt, aiProvider, aiProvider === "Google" ? true : isMultiModal, !(targetModel || "gemma").toLowerCase().startsWith("gemma") ? true : false, chatId);
15863
15863
  if (!systemSettings?.dynamicDirAwareness) {
15864
15864
  currentSystemInstruction += `
15865
- ${dirStructure.replace("\n**DIRECTORY STRUCTURE**", "\n**DIRECTORY STRUCTURE AT CONVERSATION START**")}`;
15865
+ ${dirStructure.replace("\n**DIRECTORY STRUCTURE**", "\n**DIRECTORY STRUCTURE**")}`;
15866
15866
  }
15867
15867
  const lastUserMsg = contents[contents.length - 1];
15868
15868
  if (isBridgeConnected() & loop > 0) {
@@ -16600,20 +16600,20 @@ ${ideErr} [/ERROR]`;
16600
16600
  const action = normToolName === "list_files" ? "List" : "Browsed";
16601
16601
  const path29 = parseArgs(toolCall.args).path || null;
16602
16602
  const recurse = parseArgs(toolCall.args).recurse || 0;
16603
- label = `${path29 ? "\u2714" : "\u2718"} ${action}: ${path29 ? `${path29 === "." ? "./" : `${path29}${recurse > 0 ? `${path29.endsWith("/") ? `*${recurse}` : `/*${recurse}`}` : `${path29.endsWith("/") ? "" : "/"}`}`}` : "No Folder Selected"}`;
16603
+ label = `${path29 ? "\u2714" : "\u2718"} ${action}: ${path29 ? `${path29 === "." ? "./" : `${path29.replaceAll("\\", "/")}${recurse > 0 ? `${path29.endsWith("/") ? `*${recurse}` : `/*${recurse}`}` : `${path29.endsWith("/") ? "" : "/"}`}`}` : "No Folder Selected"}`;
16604
16604
  } else if (normToolName === "write_file" || normToolName === "update_file") {
16605
16605
  const action = normToolName === "write_file" ? "Created" : "Edited";
16606
16606
  const path29 = parseArgs(toolCall.args).path || null;
16607
- label = `${path29 ? "\u2714" : "\u2718"} ${action}: ${path29 || "No File Changes"}`;
16607
+ label = `${path29 ? "\u2714" : "\u2718"} ${action}: ${path29.replaceAll("\\", "/") || "No File Changes"}`;
16608
16608
  } else if (normToolName === "write_pdf") {
16609
16609
  const path29 = parseArgs(toolCall.args).path || null;
16610
- label = `${path29 ? "\u2714" : "\u2718"} Generated: ${path29 || "No PDF Generated"}`;
16610
+ label = `${path29 ? "\u2714" : "\u2718"} Generated: ${path29.replaceAll("\\", "/") || "No PDF Generated"}`;
16611
16611
  } else if (normToolName === "write_docx") {
16612
16612
  const path29 = parseArgs(toolCall.args).path || null;
16613
- label = `${path29 ? "\u2714" : "\u2718"} Generated: ${path29 || "No Docx Generated"}`;
16613
+ label = `${path29 ? "\u2714" : "\u2718"} Generated: ${path29.replaceAll("\\", "/") || "No Docx Generated"}`;
16614
16614
  } else if (normToolName === "file_map") {
16615
16615
  const path29 = parseArgs(toolCall.args).path;
16616
- label = `${path29 ? "\u2714" : "\u2718"} Indexed: ${path29 ? "" + path29 : "File Not Found"}`;
16616
+ label = `${path29 ? "\u2714" : "\u2718"} Indexed: ${path29.replaceAll("\\", "/") ? "" + path29 : "File Not Found"}`;
16617
16617
  } else if (normToolName.toLowerCase() === "search_keyword" || normToolName.toLowerCase() === "todo") {
16618
16618
  label = "";
16619
16619
  } else if (normToolName.toLowerCase() === "generate_image") {
@@ -17048,7 +17048,7 @@ ${ideErr} [/ERROR]`;
17048
17048
  if (successes.length === 0) {
17049
17049
  const errorMsg = `[TOOL RESULT]: ERROR: Failed to apply patches to [${path27.basename(absPath)}].
17050
17050
  ${failures.map((f) => ` \u2022 ${f.error}`).join("\n")}`;
17051
- const errorLabel = `\u2714 Edited: ${path27.basename(absPath)}`;
17051
+ const errorLabel = `\u2714 Edited: ${path27.basename(absPath.replaceAll("\\", "/"))}`;
17052
17052
  let terminalWidth = 115;
17053
17053
  if (process.stdout.isTTY) {
17054
17054
  terminalWidth = process.stdout.columns - 5 || 120;
@@ -17203,7 +17203,7 @@ ${ancestry2}- Content Preview:
17203
17203
  ${snippet2}`;
17204
17204
  }
17205
17205
  const action = normToolName === "write_file" ? "Created" : "Edited";
17206
- const feedbackLabel = `${filePath ? "\u2714" : "\u2718"} ${action}: ${filePath || "No File Changes"}`;
17206
+ const feedbackLabel = `${filePath ? "\u2714" : "\u2718"} ${action}: ${filePath.replaceAll("\\", "/") || "No File Changes"}`;
17207
17207
  let terminalWidth = 115;
17208
17208
  if (process.stdout.isTTY) {
17209
17209
  terminalWidth = process.stdout.columns - 5 || 120;
@@ -17237,7 +17237,7 @@ ${snippet2}`;
17237
17237
  }
17238
17238
  if (normToolName === "write_file" || normToolName === "update_file") {
17239
17239
  const action = normToolName === "write_file" ? "Write Cancelled" : "Edit Denied";
17240
- const deniedLabel = `\u2718 ${action}: ${parseArgs(toolCall.args).path || "..."}`;
17240
+ const deniedLabel = `\u2718 ${action}: ${parseArgs(toolCall.args).path.replaceAll("\\", "/") || "..."}`;
17241
17241
  let terminalWidth = 115;
17242
17242
  if (process.stdout.isTTY) {
17243
17243
  terminalWidth = process.stdout.columns - 5 || 120;
@@ -17344,7 +17344,7 @@ ${snippet2}`;
17344
17344
  }
17345
17345
  const _sp = path29 ? path29.replace(/[\/\\]+$/, "") : null;
17346
17346
  const displayPath = _sp && _sp !== "." ? `"${_isDir ? `${_sp}/*` : _sp}"` : "./";
17347
- const postLabel = `${keyword ? "\u2714" : "\u2718"} Searched: "${keyword ? keyword : ""}" in ${displayPath} \u2192 ${matchCount} Match${matchCount === 1 ? "" : "es"}`;
17347
+ const postLabel = `${keyword ? "\u2714" : "\u2718"} Searched: "${keyword ? keyword : ""}" in ${displayPath.replaceAll("\\", "/")} \u2192 ${matchCount} Match${matchCount === 1 ? "" : "es"}`;
17348
17348
  let terminalWidth = 115;
17349
17349
  if (process.stdout.isTTY) {
17350
17350
  terminalWidth = process.stdout.columns - 5 || 120;
@@ -17918,24 +17918,24 @@ ${cleanResponse}
17918
17918
  const pArgs = parseArgs(toolCall.args);
17919
17919
  const keyword = pArgs.keyword || "";
17920
17920
  const keywordPath = pArgs.path || "";
17921
- label = `${keyword ? "\u2714" : "\u2718"} \x1B[95mSearched\x1B[0m: ${keyword || "No Query"}${keywordPath ? ` \u2192 ${keywordPath}` : ""}`;
17921
+ label = `${keyword ? "\u2714" : "\u2718"} \x1B[95mSearched\x1B[0m: ${keyword || "No Query"}${keywordPath ? ` \u2192 ${keywordPath.replaceAll("\\", "/")}` : ""}`;
17922
17922
  } else if (normalizedToolName === "view_file" || normalizedToolName === "viewfile" || normalizedToolName === "readfile") {
17923
17923
  const path29 = parseArgs(toolCall.args).path || "";
17924
- label = `\u2714 \x1B[95mRead\x1B[0m: ${path29}`;
17924
+ label = `\u2714 \x1B[95mRead\x1B[0m: ${path29.replaceAll("\\", "/")}`;
17925
17925
  } else if (normalizedToolName === "list_files" || normalizedToolName === "read_folder" || normalizedToolName === "readfolder") {
17926
17926
  const path29 = parseArgs(toolCall.args).path || null;
17927
17927
  const recurse = parseArgs(toolCall.args).recurse || 0;
17928
- label = `${path29 ? "\u2714" : "\u2718"} \x1B[95mBrowsed\x1B[0m: ${path29 ? `${path29}${recurse > 0 ? `${path29.endsWith("/") ? `*${recurse}` : `/*${recurse}`}` : `${path29.endsWith("/") ? "" : "/"}`}` : ""}`;
17928
+ label = `${path29 ? "\u2714" : "\u2718"} \x1B[95mBrowsed\x1B[0m: ${path29 ? `${path29.replaceAll("\\", "/")}${recurse > 0 ? `${path29.endsWith("/") ? `*${recurse}` : `/*${recurse}`}` : `${path29.endsWith("/") ? "" : "/"}`}` : ""}`;
17929
17929
  } else if (normalizedToolName === "write_file" || normalizedToolName === "writefile") {
17930
17930
  const path29 = parseArgs(toolCall.args).path || null;
17931
- label = `${path29 ? "\u2714" : "\u2718"} \x1B[95mCreated\x1B[0m: ${path29 ? `${path29}` : "No File Changes"}`;
17931
+ label = `${path29 ? "\u2714" : "\u2718"} \x1B[95mCreated\x1B[0m: ${path29 ? `${path29.replaceAll("\\", "/")}` : "No File Changes"}`;
17932
17932
  } else if (normalizedToolName === "update_file" || normalizedToolName === "updatefile" || normalizedToolName === "patchfile" || normalizedToolName === "patch_file" || normalizedToolName === "patchfile" || normalizedToolName === "updatefile") {
17933
17933
  const path29 = parseArgs(toolCall.args).path || null;
17934
17934
  const content = parseArgs(toolCall.args).content || null;
17935
- label = `${path29 ? "\u2714" : "\u2718"} \x1B[95mEdited\x1B[0m: ${path29 ? `${path29}` : "No File Changes"}`;
17935
+ label = `${path29 ? "\u2714" : "\u2718"} \x1B[95mEdited\x1B[0m: ${path29 ? `${path29.replaceAll("\\", "/")}` : "No File Changes"}`;
17936
17936
  } else if (normalizedToolName === "file_map" || normalizedToolName === "filemap") {
17937
17937
  const path29 = parseArgs(toolCall.args).path || "";
17938
- label = `${path29 ? "\u2714" : "\u2718"} \x1B[95mIndexed\x1B[0m: ${path29 ? `${path29}` : "File Not Found"}`;
17938
+ label = `${path29 ? "\u2714" : "\u2718"} \x1B[95mIndexed\x1B[0m: ${path29 ? `${path29.replaceAll("\\", "/")}` : "File Not Found"}`;
17939
17939
  } else if (normalizedToolName === "await") {
17940
17940
  const { time } = parseArgs(toolCall.args);
17941
17941
  let sec = parseFloat(time) || 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluxflow-cli",
3
- "version": "3.15.1",
3
+ "version": "3.15.2",
4
4
  "date": "2026-07-31",
5
5
  "description": "A High-Fidelity Agentic CLI with Sub-Agents for the Flux Era.",
6
6
  "keywords": [