fluxflow-cli 2.16.5 → 2.16.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.
- package/dist/fluxflow.js +13 -3
- package/package.json +2 -2
package/dist/fluxflow.js
CHANGED
|
@@ -4144,7 +4144,7 @@ var init_ChatLayout = __esm({
|
|
|
4144
4144
|
return /* @__PURE__ */ React4.createElement(Text4, { key: j, bold: true, color: "white" }, /* @__PURE__ */ React4.createElement(InlineMarkdown, { text: part.slice(2, -2), color: "white" }));
|
|
4145
4145
|
}
|
|
4146
4146
|
if (part.startsWith("*") && part.endsWith("*")) {
|
|
4147
|
-
return /* @__PURE__ */ React4.createElement(Text4, { key: j, italic: true, color: "
|
|
4147
|
+
return /* @__PURE__ */ React4.createElement(Text4, { key: j, italic: true, color: "white" }, /* @__PURE__ */ React4.createElement(InlineMarkdown, { text: part.slice(1, -1), color: "white", italic }));
|
|
4148
4148
|
}
|
|
4149
4149
|
if (part.startsWith("`") && part.endsWith("`")) {
|
|
4150
4150
|
const content = part.slice(1, -1);
|
|
@@ -9670,7 +9670,7 @@ var init_ai = __esm({
|
|
|
9670
9670
|
colorMainWords = (label2) => {
|
|
9671
9671
|
if (!label2) return label2;
|
|
9672
9672
|
return label2.replace(/(?:(\x1b\[\d+m))?([✔✗✖🔍📖→➕↻•])(?:(\x1b\[\d+m))?\s*\b(Created|Read|Edited|Viewed|Auto-Read|List|Generated|Written|Searched|Get Map|Write Canceled|Edit Canceled|Write Cancelled|Edit Denied|Visited|Updated|Reviewed)\b/ig, (match, ansiBefore, icon, ansiAfter, word) => {
|
|
9673
|
-
return `${ansiBefore || ""}${icon}${ansiAfter || ""}
|
|
9673
|
+
return `${ansiBefore || ""}${icon}${ansiAfter || ""} \x1B[95m${word}\x1B[0m`;
|
|
9674
9674
|
});
|
|
9675
9675
|
};
|
|
9676
9676
|
TERMINATION_SIGNAL = false;
|
|
@@ -11384,8 +11384,18 @@ ${currentSummary}
|
|
|
11384
11384
|
ideBlock += `Focused File: ${relFocused}
|
|
11385
11385
|
Cursor Line: ${ideCtx.cursor_line}
|
|
11386
11386
|
`;
|
|
11387
|
-
if (ideCtx.selected)
|
|
11387
|
+
if (ideCtx.selected) {
|
|
11388
|
+
let sel = ideCtx.selected;
|
|
11389
|
+
const lines = sel.split("\n");
|
|
11390
|
+
if (lines.length > 256) {
|
|
11391
|
+
sel = lines.slice(0, 240).join("\n") + "\n... [truncated] ...\n" + lines.slice(-16).join("\n");
|
|
11392
|
+
}
|
|
11393
|
+
if (sel.length > 2048) {
|
|
11394
|
+
sel = sel.slice(0, 1920) + "\n... [truncated] ...\n" + sel.slice(-128);
|
|
11395
|
+
}
|
|
11396
|
+
ideBlock += `Current Selection: "${sel}"
|
|
11388
11397
|
`;
|
|
11398
|
+
}
|
|
11389
11399
|
if (ideCtx.manual_edits) {
|
|
11390
11400
|
let edits = ideCtx.manual_edits;
|
|
11391
11401
|
const lines = edits.split("\n");
|