fluxflow-cli 1.6.1 → 1.6.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 +5 -5
  2. package/package.json +1 -1
package/dist/fluxflow.js CHANGED
@@ -678,7 +678,7 @@ ${mode === "Flux" ? `
678
678
  3. Read Folder: tool:functions.read_folder(path="relative/path"). Detailed stats of a directory.
679
679
  4. Write File: tool:functions.write_file(path="path", content="content"). Creates/Overwrites. NO CODE BLOCKS. RETURNS: Disk verification + original content (if overwritten) for 100% reversibility.
680
680
  5. Update File: tool:functions.update_file(path="relative/path", content_to_replace="old", content_to_add="new"). Surgical patching. RETURNS: High-fidelity visual diff and old code block. You MUST verify that the change specifically matches your intent using the returned diff. PREFFER UPDATE FILE OVER WRITE FILE if file already exists for better reversal tracking (if a file has 500+ lines, try to stick with update_file over full-rewrite). DONT WRAP UPDATE FILE CALL CONTENT IN MARKDOWN CODE BLOCKS.
681
- 6. Write PDF: tool:functions.write_pdf(path="path", content="<html/css content>", orientation="portrait/landscape"). Generates a professional PDF document. Orientation are optional. A4 size page will be used, so any multi-page PDFs calculate your alightment and page breaks to not mess up A4 page layout . DO NOT ADD FOOTER MANUALLY, the system will handle it automatically. USE CSS TO VISUALLY BEAUTIFY THE DOCUMENT.
681
+ 6. Write PDF: tool:functions.write_pdf(path="path", content="<html/css content>", orientation="portrait/landscape"). Generates a professional PDF document. Orientation are optional. A4 size page will be used, so any multi-page PDFs calculate your alightment and page breaks to not mess up A4 page layout. DO NOT ADD FOOTER MANUALLY, the system will handle it automatically. USE CSS TO VISUALLY BEAUTIFY THE DOCUMENT, USE full 100vh & 100vw for page area. ENSURE THE CONTENT IS NEVER BROKEN IN BETWEEN PAGES, USE PAGE BREAKS PROACTIVELY FOR A A4 PAGE LAYOUT.
682
682
  7. Execution: tool:functions.exec_command(command="terminal command"). Runs a shell command.
683
683
 
684
684
  **NOTE:** WHEN WRITING/UPDATING FILES, USE ACTUAL NEW LINE CONTROL CHARACTER (LF) FOR LINE BREAKS RATHER THAN STRING '\\n'`.trim() : `
@@ -2119,6 +2119,7 @@ USER_PROMPT: ${agentText}`.trim();
2119
2119
  });
2120
2120
  success = true;
2121
2121
  yield { type: "model_update", content: null };
2122
+ yield { type: "status", content: "Working..." };
2122
2123
  } catch (err) {
2123
2124
  const errMsg = err.status || err.error && err.error.message || String(err);
2124
2125
  const date = (/* @__PURE__ */ new Date()).toISOString().slice(0, 19).replace("T", " ");
@@ -2155,7 +2156,6 @@ USER_PROMPT: ${agentText}`.trim();
2155
2156
  lastUsage = chunk.usageMetadata;
2156
2157
  if (lastUsage) {
2157
2158
  yield { type: "liveTokens", content: lastUsage.totalTokenCount };
2158
- yield { type: "status", content: "Working..." };
2159
2159
  }
2160
2160
  }
2161
2161
  await incrementUsage("agent");
@@ -3053,7 +3053,7 @@ Check what's new using \`/changelog\` command.`,
3053
3053
  { cmd: "/changelog", desc: "View latest updates" },
3054
3054
  { cmd: "/update", desc: "Check/Install updates", subs: [
3055
3055
  { cmd: "check", desc: "Check for new version" },
3056
- { cmd: "latest", desc: "Install Latest Version" }
3056
+ { cmd: "latest", desc: "Install latest release" }
3057
3057
  ] }
3058
3058
  ];
3059
3059
  const handleSubmit = (value) => {
@@ -3629,7 +3629,7 @@ Selection: ${val}`,
3629
3629
  }
3630
3630
  setMessages((prev) => {
3631
3631
  const newMsgs = prev.map((m) => m.isStreaming ? { ...m, isStreaming: false } : m);
3632
- const historyToSave = newMsgs.filter((m) => !String(m.id).startsWith("welcome") && !m.isVisualFeedback);
3632
+ const historyToSave = newMsgs.filter((m) => !String(m.id).startsWith("welcome") && !m.isMeta);
3633
3633
  saveChat(chatId, null, historyToSave);
3634
3634
  setCompletedIndex(newMsgs.length);
3635
3635
  return newMsgs;
@@ -4298,7 +4298,7 @@ var init_app = __esm({
4298
4298
  init_setup();
4299
4299
  SESSION_START_TIME = Date.now();
4300
4300
  CHANGELOG_URL = "https://fluxflow-cli.onrender.com/changelog.html";
4301
- versionFluxflow = "1.6.1";
4301
+ versionFluxflow = "1.6.2";
4302
4302
  updatedOn = "2026-05-02";
4303
4303
  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 (turn: finish) 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(
4304
4304
  CommandMenu,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluxflow-cli",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "A high-fidelity agentic terminal assistant for the Flux Era.",
5
5
  "keywords": [
6
6
  "ai",