fluxflow-cli 1.8.33 → 1.8.34
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 +9 -12
- package/package.json +1 -1
package/dist/fluxflow.js
CHANGED
|
@@ -776,11 +776,9 @@ Second Line with literal [/n] sequence")]. Creates/Overwrites. DO NOT USE CODE B
|
|
|
776
776
|
*Prefer file write/update tools over writing code in chat*.
|
|
777
777
|
|
|
778
778
|
*** [\u{1F6A8} CRITICAL POLICY: NEWLINE CONTROL \u{1F6A8}] ***
|
|
779
|
-
1.
|
|
780
|
-
2.
|
|
781
|
-
3.
|
|
782
|
-
4. ALWAYS check the tool result diff to ensure your [/n] was correctly translated to a literal
|
|
783
|
-
.
|
|
779
|
+
1. PHYSICAL NEWLINES: Press ENTER inside tool arguments for real line breaks in the file structure.
|
|
780
|
+
2. LITERAL \\n: To write the literal characters '\\' and 'n' (e.g., inside printf("Hello\\n")), you MUST use the sequence [/n].
|
|
781
|
+
3. ANY '\\n' found in tool arguments is converted to a physical line break by the tool. Use this for code structure, but use [/n] for literal text.
|
|
784
782
|
***
|
|
785
783
|
|
|
786
784
|
*** [\u{1F6A8} CRITICAL QUOTE ESCAPE POLICY \u{1F6A8}] ***
|
|
@@ -932,16 +930,15 @@ ${userMemories.split("\n").map((line) => ` ${line}`).join("\n")}
|
|
|
932
930
|
-- END TEMPORAL AWARENESS --
|
|
933
931
|
|
|
934
932
|
-- START FORMATTING RULES --
|
|
935
|
-
${mode === "Flux" ? `- CRITICAL NEWLINE PROTOCOL:
|
|
936
|
-
|
|
933
|
+
${mode === "Flux" ? `- CRITICAL NEWLINE PROTOCOL:
|
|
934
|
+
1. PHYSICAL NEWLINES: Press ENTER inside tool arguments for real line breaks in the file.
|
|
935
|
+
2. LITERAL \\n: To write the literal characters '\\' and 'n' (e.g., in printf("Hello\\n")), you MUST use the sequence '[/n]'.
|
|
936
|
+
[EXAMPLES]:
|
|
937
937
|
tool:functions.write_file(path="test.c", content="#include <stdio.h>
|
|
938
938
|
int main() {
|
|
939
939
|
printf("Hello[/n]World");
|
|
940
940
|
return 0;
|
|
941
941
|
}")
|
|
942
|
-
[INCORRECT]:
|
|
943
|
-
tool:functions.write_file(path="test.c", content="#include <stdio.h>\\nint main() {\\nprintf("Hello\\\\n");\\n}")
|
|
944
|
-
\u{1F6D1} NEVER use '\\\\n' for literals; it will be converted to a real line break and break code syntax.
|
|
945
942
|
|
|
946
943
|
- CRITICAL QUOTE ESCAPE POLICY: Inside tool call arguments (like 'content' in write_file AND update_file), you MUST escape all double quotes using '\\"' to prevent argument truncation or parsing errors.
|
|
947
944
|
[CORRECT]:
|
|
@@ -5395,8 +5392,8 @@ var init_app = __esm({
|
|
|
5395
5392
|
init_text();
|
|
5396
5393
|
SESSION_START_TIME = Date.now();
|
|
5397
5394
|
CHANGELOG_URL = "https://fluxflow-cli.onrender.com/changelog.html";
|
|
5398
|
-
versionFluxflow = "1.8.
|
|
5399
|
-
updatedOn = "2026-05-
|
|
5395
|
+
versionFluxflow = "1.8.34";
|
|
5396
|
+
updatedOn = "2026-05-13";
|
|
5400
5397
|
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 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(
|
|
5401
5398
|
CommandMenu,
|
|
5402
5399
|
{
|