fluxflow-cli 2.16.9 → 2.16.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.
- package/dist/fluxflow.js +7 -6
- package/package.json +1 -1
package/dist/fluxflow.js
CHANGED
|
@@ -8666,7 +8666,7 @@ var init_search_keyword = __esm({
|
|
|
8666
8666
|
const fileGroups = [];
|
|
8667
8667
|
let totalMatches = 0;
|
|
8668
8668
|
for (const result of settledResults) {
|
|
8669
|
-
if (!result) continue;
|
|
8669
|
+
if (!result || !result.matches) continue;
|
|
8670
8670
|
if (totalMatches >= maxMatches) break;
|
|
8671
8671
|
const remaining = maxMatches - totalMatches;
|
|
8672
8672
|
const trimmedMatches = result.matches.slice(0, remaining);
|
|
@@ -12422,7 +12422,7 @@ ${ideErr} [/ERROR]`;
|
|
|
12422
12422
|
let label2 = "";
|
|
12423
12423
|
if (normToolName === "web_search") {
|
|
12424
12424
|
const { query, limit = 10 } = parseArgs(toolCall.args);
|
|
12425
|
-
label2 = `\u2714 Searched: ${query}`;
|
|
12425
|
+
label2 = `\u2714 Searched: ${query} \u2192 ${limit}`;
|
|
12426
12426
|
} else if (normToolName === "web_scrape") {
|
|
12427
12427
|
const url = parseArgs(toolCall.args).url || "...";
|
|
12428
12428
|
label2 = `\u2714 Visited: ${url}`;
|
|
@@ -12453,7 +12453,7 @@ ${ideErr} [/ERROR]`;
|
|
|
12453
12453
|
} else if (isImage) {
|
|
12454
12454
|
label2 = `\u2714 Viewed: ${targetPath2}`;
|
|
12455
12455
|
} else {
|
|
12456
|
-
label2 =
|
|
12456
|
+
label2 = `${totalLines !== "..." ? "\u2714" : "\u2717"} Read: ${targetPath2} \u2192 ${totalLines !== "..." ? `Lines ${sLine} - ${actualEndLine} of ${totalLines}` : "File Not Found"}`;
|
|
12457
12457
|
}
|
|
12458
12458
|
} else if (normToolName === "list_files" || normToolName === "read_folder") {
|
|
12459
12459
|
const action = normToolName === "list_files" ? "List" : "Viewed";
|
|
@@ -13028,7 +13028,7 @@ ${boxMid}`) };
|
|
|
13028
13028
|
}
|
|
13029
13029
|
if (normToolName === "write_file" || normToolName === "update_file") {
|
|
13030
13030
|
const action = normToolName === "write_file" ? "Write Cancelled" : "Edit Denied";
|
|
13031
|
-
const deniedLabel = `\
|
|
13031
|
+
const deniedLabel = `\u2717 ${action}: ${parseArgs(toolCall.args).path || "..."}`.toUpperCase();
|
|
13032
13032
|
let terminalWidth = 115;
|
|
13033
13033
|
if (process.stdout.isTTY) {
|
|
13034
13034
|
terminalWidth = process.stdout.columns - 5 || 120;
|
|
@@ -13134,7 +13134,8 @@ ${boxBottom}`}`) };
|
|
|
13134
13134
|
const boxMid = `${postLabel.padEnd(boxWidth - 2).substring(0, boxWidth - 2)}`;
|
|
13135
13135
|
const boxBottom = ` ${" ".repeat(boxWidth)} `;
|
|
13136
13136
|
yield { type: "visual_feedback", content: colorMainWords(`${boxBottom}
|
|
13137
|
-
${boxMid}
|
|
13137
|
+
${boxMid}
|
|
13138
|
+
`) };
|
|
13138
13139
|
}
|
|
13139
13140
|
if (normToolName === "todo") {
|
|
13140
13141
|
const { method, tasks, markDone } = parseArgs(toolCall.args);
|
|
@@ -16822,7 +16823,7 @@ ${timestamp}` };
|
|
|
16822
16823
|
id: "cancel-" + Date.now(),
|
|
16823
16824
|
role: "system",
|
|
16824
16825
|
text: "\n\n\x1B[33m\u24D8 Request Cancelled\x1B[0m",
|
|
16825
|
-
isMeta:
|
|
16826
|
+
isMeta: false
|
|
16826
16827
|
}];
|
|
16827
16828
|
setCompletedIndex(newMsgs.length);
|
|
16828
16829
|
return newMsgs;
|