fluxflow-cli 3.3.1 → 3.3.3

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 +11 -5
  2. package/package.json +1 -1
package/dist/fluxflow.js CHANGED
@@ -5226,7 +5226,7 @@ Info: 'initial' = user prompted for THIS active task, revert 'id' should be a tu
5226
5226
  Invocation Types:
5227
5227
  - Invoke (async, background worker for parallel tasks, upto 7 parallel agents together). Usage: Benefits parallelism & speed. Can take long time, If invoked DO NOT REPEAT SAME TASK WHILE ACTIVE
5228
5228
  - InvokeSync (sync, blocking main agent loop). Usage: Repeatetive work, Sequential tasks, Task delegation. Tokens/Costs savings
5229
- 1. [agent:generalist.InvokeSync/Invoke(title="...", task="...")]. Task must me detailed, including exact file paths, imports/exports, dependency, folder structure. No terminal access
5229
+ 1. [agent:generalist.InvokeSync/Invoke(title="...", task="...")]. Task must me detailed, including exact file paths, imports/exports, dependency, folder structure
5230
5230
  2. [agent:generalist.GetProgress(id="...")]. Usage: Check progress of async subagent task, taking time? continue your task, MUST await (exponentially longer after 1st check) than spamming getProgress. NEVER FINISH WITHOUT 'AWAIT' WHILE SUBAGENT WORKING
5231
5231
  3. [agent:generalist.Cancel(id="...")]. Usage: Cancel async subagent task, LAST RESORT ONLY IF ITS STUCK FOR UNUSUALLY LONG (2m+) WITH NO PROGRESS`.trim() : `- CREATIVE TOOLS (path = relative to CWD & WILL BE FIRST ARGUMENT, path separator: '/') -
5232
5232
  1. [tool:functions.WritePDF(path="...", content="...", orientation="...")]. PROACTIVE A4 PAGE BREAKS MUST IN CSS. HTML/CSS for PREMIUM layout
@@ -8202,11 +8202,11 @@ var init_web_scrape = __esm({
8202
8202
  return document.body.innerHTML;
8203
8203
  });
8204
8204
  if (!htmlContent) throw new Error("EMPTY_RENDER_RESULT");
8205
- const cleanedHtml = htmlContent.replace(/\s+/g, " ").replace(/>\s+</g, "><").trim().substring(0, 3e4);
8205
+ const cleanedHtml = htmlContent.replace(/\s+/g, " ").replace(/>\s+</g, "><").trim().substring(0, 5e4);
8206
8206
  await browser.close();
8207
8207
  return `CLEANED HTML FROM [${url}]:
8208
8208
 
8209
- ${cleanedHtml}${htmlContent.length > 3e4 ? "\n\n[TRUNCATED AT 30K CHARS]" : ""}`;
8209
+ ${cleanedHtml}${htmlContent.length > 5e4 ? "\n\n[TRUNCATED AT 50K CHARS]" : ""}`;
8210
8210
  } catch (err) {
8211
8211
  lastError = err;
8212
8212
  if (browser) await browser.close();
@@ -11715,7 +11715,7 @@ ${originalTextProcessed.length > USER_CONTEXT_LENGTH ? "... (truncated) ...\n\n"
11715
11715
  if (mem.score === void 0) {
11716
11716
  mem.score = 0.5;
11717
11717
  }
11718
- mem.score *= 0.9995;
11718
+ mem.score *= 0.99995;
11719
11719
  if (mem.score < 0.05) mem.score = 0;
11720
11720
  mem.score = Math.round(mem.score * 1e5) / 1e5;
11721
11721
  if (mem.score > 0) {
@@ -18791,6 +18791,8 @@ ${timestamp}` };
18791
18791
  setActiveSubagents(subagentProgress.map((sa) => ({ ...sa })));
18792
18792
  },
18793
18793
  onExecStart: (cmd) => {
18794
+ flushTypewriterNow();
18795
+ commitActiveStreamingMessage();
18794
18796
  setActiveCommand(cmd);
18795
18797
  setExecOutput("");
18796
18798
  },
@@ -18858,6 +18860,8 @@ ${timestamp}` };
18858
18860
  });
18859
18861
  },
18860
18862
  onAskUser: async (question, options) => {
18863
+ flushTypewriterNow();
18864
+ commitActiveStreamingMessage();
18861
18865
  return new Promise((resolve) => {
18862
18866
  let resolvedFlag = false;
18863
18867
  setPendingAsk({
@@ -19075,6 +19079,8 @@ Selection: ${val}`,
19075
19079
  continue;
19076
19080
  }
19077
19081
  if (packet.type === "exec_start") {
19082
+ flushTypewriterNow();
19083
+ commitActiveStreamingMessage();
19078
19084
  continue;
19079
19085
  }
19080
19086
  if (packet.type === "liveTokens") {
@@ -20391,7 +20397,7 @@ Selection: ${val}`,
20391
20397
  {
20392
20398
  text: statusText.trimEnd(),
20393
20399
  baseColor: "#B5B8D9",
20394
- glintColor: "#BFD4DB",
20400
+ glintColor: "#D4DEE7",
20395
20401
  speed: 60,
20396
20402
  italic: true,
20397
20403
  glintWidth: 2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluxflow-cli",
3
- "version": "3.3.1",
3
+ "version": "3.3.3",
4
4
  "date": "2026-07-09",
5
5
  "description": "A High-Fidelity Agentic CLI with Sub-Agents for the Flux Era.",
6
6
  "keywords": [