fluxflow-cli 2.16.6 → 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 +12 -2
- package/package.json +1 -1
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);
|
|
@@ -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");
|