fluxflow-cli 1.9.16 → 1.9.18

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 +13 -16
  2. package/package.json +2 -2
package/dist/fluxflow.js CHANGED
@@ -871,7 +871,7 @@ var init_main_tools = __esm({
871
871
  "src/data/main_tools.js"() {
872
872
  TOOL_PROTOCOL = (mode) => `
873
873
  -- TOOL DEFINITIONS --
874
- Have access to internal tools. To call a tool, MUST use the following exact syntax on a new line:
874
+ Access to internal tools. To call a tool, MUST use the exact syntax on a new line:
875
875
  [tool:functions.tool_name(arguments)]
876
876
 
877
877
  - COMMUNICATION TOOLS -
@@ -895,15 +895,15 @@ CSS: background-color,color,font-family,font-size(pt),font-style,font-weight,mar
895
895
  8. Execution: [tool:functions.exec_command(command="command")]. Runs a shell command. Destructive/Irreversible ops -> ask user
896
896
  9. Search: [tool:functions.search_keyword(keyword="...")]. Global search. Finds definitions/logic without reading every file
897
897
 
898
- - VERIFY SUCCESS CONTENTS. Fix errors. No hallucinations.
899
- - File tools > Chat code blocks.
898
+ - VERIFY SUCCESS CONTENTS. Fix errors. No hallucinations
899
+ - File tools > code chat
900
900
 
901
901
  - Escape quotes: Use \\" inside code strings
902
902
  - Literal escapes: Double-escape sequences (e.g., \\\\n, \\\\t)
903
903
  - File structure: Use real newlines for code formatting`.trim() : `
904
904
  - DEV TOOLS ARE NOT AVAILABLE IN FLOW MODE. If you need to access files, tell the user to switch to FLUX`.trim()}
905
905
 
906
- - Results: Passed as [TOOL_RESULT] SYSTEM, [USER] USER
906
+ - Results: Passed as [TOOL_RESULT] SYSTEM
907
907
  - Tool calls: End with [turn: continue]. Only use [turn: finish] after verifying goals
908
908
  - Multi-call: Stack 1-by-1. Upto 3`.trim();
909
909
  }
@@ -1017,7 +1017,7 @@ ${parts.join("\n\n")}
1017
1017
  const projectContextBlock = mode === "Flux" && foundFiles.length > 0 ? `
1018
1018
  -- PROJECT CONTEXT (Source of Truth) --
1019
1019
  ${foundFiles.map((f) => `- ${f.name}: ${f.desc}`).join("\n")}
1020
- Check these first; they override general training data for project consistency. Safety rules still apply` : "";
1020
+ Check these first; these files > training data for project consistency. Safety rules still apply` : "";
1021
1021
  return `${nameStr}${nicknameStr}${userInstrStr}
1022
1022
  === SYSTEM PROMPT (HIGHEST PRIORITY, OVERRIDES EVERYTHING) ===
1023
1023
  Identity: Flux Flow (by Kushal Roy Chowdhury). Sassy, Friendly CLI Agent. No flirting
@@ -1037,18 +1037,15 @@ ${projectContextBlock}
1037
1037
 
1038
1038
  -- MEMORY INSTRUCTIONS --
1039
1039
  - Memory: ${isMemoryEnabled ? "Use memories to subtly personalize" : "OFF (tell user to enable in /settings if needed)"}
1040
- - Time: Logs are timestamped. Use **relative time** (e.g., few mins ago, few hours ago), never absolute
1040
+ - Time: Logs are timestamped. RELATIVE TIME REFERENCE (e.g., few mins ago, few hours ago)
1041
1041
 
1042
1042
  -- SECURITY BOUNDARY --
1043
1043
  - EXTERNAL WORKSPACE ACCESS: ${systemSettings.allowExternalAccess ? "ENABLED" : "RESTRICTED (CWD only)"}
1044
1044
  - Safety: Ask permission before reading sensitive files
1045
1045
 
1046
- -- TEMPORAL AWARENESS --
1047
- Every ${isMemoryEnabled ? "Prompt, Responses & Memories" : "Prompt & Responses"} are time stamped. You can use those times if temporal context is required. If recalled from ${isMemoryEnabled ? "Memories, Prompts, or Responses" : "Prompts, or Responses"}. NEVER use absolute time in your responses, ALWAYS use relative time from current time
1048
-
1049
1046
  -- FORMATTING --
1050
- - Clean, concise responses. File updates > code text
1051
- - Tables: GFM (Max 4 cols, short rows). Use sparingly
1047
+ - Clean, concise responses
1048
+ - Tables: GFM (Max 4 cols, short rows)
1052
1049
  - NO LaTeX. Code blocks for literature. Kaomojis > emojis
1053
1050
 
1054
1051
  -- RESPONSE PROTOCOL --
@@ -1056,7 +1053,7 @@ Every ${isMemoryEnabled ? "Prompt, Responses & Memories" : "Prompt & Responses"}
1056
1053
  - Multi-tool: Stack tools if needed, but always end with [turn: continue] if called any tools
1057
1054
  TO END THE LOOP YOU **MUST** WRITE [turn: finish] AT VERY END OF YOUR RESPONSE
1058
1055
 
1059
- [METADATA (PRIORITY: DYNAMIC)] Time: ${dateTimeStr} | v1.9.16 | Turn Progress: ${currentLoop}/${maxLoops} steps (Prompt user if reached)
1056
+ [METADATA (PRIORITY: DYNAMIC)] Time: ${dateTimeStr} | v1.9.18 | Turn Progress: ${currentLoop}/${maxLoops} steps (Prompt user if reached)
1060
1057
  === END SYSTEM PROMPT ===`.trim();
1061
1058
  };
1062
1059
  getJanitorInstruction = (originalText, agentRaws, userMemories = "", isMemoryEnabled = true, needTitle = true) => {
@@ -3835,12 +3832,12 @@ var init_setup = __esm({
3835
3832
  return false;
3836
3833
  };
3837
3834
  installPuppeteerBrowser = async (onStatus) => {
3838
- if (onStatus) onStatus("\u{1F4E5} Downloading Chromium engine (Wait a moment)...");
3835
+ if (onStatus) onStatus("\u{1F4E5} Downloading Chromium engine (chrome@148)...");
3839
3836
  try {
3840
3837
  try {
3841
- await execAsync("pnpm exec puppeteer browsers install chrome");
3838
+ await execAsync("pnpm exec puppeteer browsers install chrome@148");
3842
3839
  } catch (pnpmErr) {
3843
- await execAsync("npx -y puppeteer browsers install chrome");
3840
+ await execAsync("npx -y puppeteer browsers install chrome@148");
3844
3841
  }
3845
3842
  await new Promise((r) => setTimeout(r, 1e3));
3846
3843
  return { success: true };
@@ -5627,7 +5624,7 @@ var init_app = __esm({
5627
5624
  init_text();
5628
5625
  SESSION_START_TIME = Date.now();
5629
5626
  CHANGELOG_URL = "https://fluxflow-cli.onrender.com/changelog.html";
5630
- versionFluxflow = "1.9.16";
5627
+ versionFluxflow = "1.9.18";
5631
5628
  updatedOn = "2026-05-16";
5632
5629
  ResolutionModal = ({ data, onResolve, onEdit }) => /* @__PURE__ */ React10.createElement(Box10, { flexDirection: "column", borderStyle: "round", borderColor: "gray", padding: 0, width: "100%" }, /* @__PURE__ */ React10.createElement(Box10, { paddingX: 1 }, /* @__PURE__ */ React10.createElement(Text10, { color: "magenta", bold: true, underline: true }, "\u{1F7E3} STEERING HINT RESOLUTION")), /* @__PURE__ */ React10.createElement(Box10, { paddingX: 1, marginTop: 1 }, /* @__PURE__ */ React10.createElement(Text10, null, "The agent already finished the task before your hint was consumed.")), /* @__PURE__ */ React10.createElement(Box10, { marginTop: 1, backgroundColor: "#222", paddingX: 2, width: "100%" }, /* @__PURE__ */ React10.createElement(Text10, { italic: true, color: "gray" }, '"', data, '"')), /* @__PURE__ */ React10.createElement(Box10, { paddingX: 1, marginTop: 1 }, /* @__PURE__ */ React10.createElement(Text10, { color: "cyan" }, "How would you like to proceed?")), /* @__PURE__ */ React10.createElement(Box10, { marginTop: 0 }, /* @__PURE__ */ React10.createElement(
5633
5630
  CommandMenu,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluxflow-cli",
3
- "version": "1.9.16",
3
+ "version": "1.9.18",
4
4
  "description": "A high-fidelity agentic terminal assistant for the Flux Era.",
5
5
  "keywords": [
6
6
  "ai",
@@ -51,7 +51,7 @@
51
51
  "nanoid": "^5.1.9",
52
52
  "pdf-lib": "^1.17.1",
53
53
  "pptxgenjs": "^4.0.1",
54
- "puppeteer": "^24.42.0",
54
+ "puppeteer": "24.43.1",
55
55
  "react": "^19.2.5",
56
56
  "zod": "^4.3.6"
57
57
  },