fluxflow-cli 1.9.10 β†’ 1.9.12

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/README.md CHANGED
@@ -1,38 +1,14 @@
1
- # 🌊 Flux Flow
2
- ![Flux Flow Hero](./fluxflow.png)
1
+ # 🌌 Flux Flow (`fluxflow-cli`)
2
+ ![Flux Flow Logo](https://github.com/KushalRoyChowdhury/fluxflow-cli/blob/main/fluxflow.png)
3
3
 
4
- **A Beautiful, Autonomous Terminal AI Agent**
4
+ ### *The High-Fidelity Agentic Terminal for the Flux Era.*
5
5
 
6
- Flux Flow is an advanced, fully autonomous AI agent that lives directly in your terminal. Built with Node.js and [Ink](https://github.com/vadimdemedes/ink) (React for interactive command-line apps), it provides a highly responsive, component-based UI powered by a sophisticated dual-model AI architecture.
7
-
8
- Whether you need a conversational partner or an autonomous developer that can write code, run shell commands, and read your project files, Flux Flow adapts to your needs.
6
+ **Flux Flow** is not just another CLIβ€”it's a high-speed, sassy, and goal-oriented CLI AI Agent powered by the latest Gemini/Gemma frontier models. Designed for developers who demand a premium UI/UX while managing complex file-system tasks, web research, and autonomous workflows.
9
7
 
10
8
  ---
11
9
 
12
- ## ✨ Features
13
-
14
- - **Native Multimodality**: Flux Flow can now see! Analyze images (JPG, PNG) and PDF documents natively through the `view_file` tool with high-fidelity context retention.
15
- - **Document Engineering Suite**: Generate professional, branded PDF, DOCX, and PPTX documents on the fly. Features native HTML-to-Office translation for selectable text, high-performance rendering, and automatic watermarking.
16
- - **External Data Sanctuary**: Redirect your logs, history, and memories to any external path for maximum portability and privacy.
17
- - **Responsive Terminal UI**: A gorgeous, reactive interface built with React and Ink, featuring multi-line input, status bars, modals, and diff views.
18
- - **Dual-Model Architecture**: A primary agent interacts with you and executes tasks, while a silent background "Janitor" model handles chat summarization and long-term memory extraction without blocking the main UI.
19
- - **Two Operating Modes**:
20
- - **Flux (Dev Mode)**: Full system access. The agent can read/write files, execute shell commands, and run autonomous agentic loops (up to 45 iterations) to solve complex coding tasks.
21
- - **Flow (Chat Mode)**: Focused on conversation and web research, with limited agentic loops for faster response times.
22
- - **Advanced Memory System**: Features both temporary session context and persistent, cross-session user memories encrypted locally on your machine.
23
- - **Agentic Tooling**: Built-in tools for smart file patching, web scraping, web searching, terminal execution and high-fidelity Office document generation (PDF/DOCX/PPTX).
24
- - **Autonomous Project Alignment**: Automatically detects and adheres to project-specific instructions in `Agent.md`, `Skills.md`, and `Fluxflow.md` for high-fidelity coding standards and complex workflows.
25
- - **Customizable "Thinking" Levels**: Adjust the depth of the model's reasoning process (from Minimal to Max).
26
- - **High-Reliability Fallback**: Automatic failover to a lighter, high-concurrency model (Gemini 3.1 Flash Lite) during peak traffic to ensure 100% session persistence.
27
-
28
- ## πŸš€ Quick Start
29
-
30
- ### Prerequisites
31
- - [Node.js](https://nodejs.org/) (v18 or higher recommended)
32
- - `npm`, `yarn`, or `pnpm`
33
-
34
- ### Via NPM (Global & Instant)
35
- You can run the agent instantly or install it globally for high-speed access:
10
+ ## πŸš€ Instant Ignition (No Setup Required)
11
+ You don't even need to install it. Just fire up your terminal and run:
36
12
 
37
13
  ```bash
38
14
  # Run instantly (Zero Setup)
@@ -40,45 +16,69 @@ npx fluxflow-cli
40
16
 
41
17
  # OR Install Globally
42
18
  npm install -g fluxflow-cli
43
- fluxflow
19
+ fluxflow-cli
44
20
  ```
45
21
 
46
- ### From Source (Local Development)
47
- 1. Clone the repository and install dependencies:
48
- ```bash
49
- git clone <repository-url>
50
- cd Flux-Flow
51
- npm install
52
- ```
22
+ *The agent will prompt you for your Gemini API Key on the first run and store it securely in an XOR-encrypted vault.* Free API Key recomemded to use Gemma 4 (Default Model).
23
+
24
+ ---
25
+
26
+ ## ✨ Why Flux Flow?
27
+
28
+ ### 🎨 **Premium Visual Sovereignty**
29
+ Experience a terminal UI that feels alive. Built with **Ink** and **React**, Flux Flow features:
30
+ - **Dynamic Status Bar**: Real-time telemetry showing your "Neural Headroom" (token usage), Thinking Level, and Session ID.
53
31
 
54
- 2. Start the agent:
55
- ```bash
56
- npm start
57
- ```
32
+ ### πŸ‘οΈ **Native Multimodality**
33
+ Flux Flow can now see! Use the `view_file` tool to analyze images (JPG, PNG) or deep-dive into PDF technical papers. The agent extracts high-fidelity visual context natively, making it a true multimodal companion.
58
34
 
59
- ## πŸ“– Documentation
35
+ ### πŸ“‘ **Document Engineering Suite**
36
+ Need a report or a presentation? Just ask. Flux Flow features a high-fidelity "Printing Press" that generates professional, branded documents natively:
37
+ - **PDF**: Branded documents from HTML/CSS with automatic watermarking.
38
+ - **DOCX**: Native Word documents with multi-page support and automatic numbering.
39
+ - **PPTX**: High-fidelity PowerPoint presentations using native elements (selectable text, shapes) translated directly from HTML.
60
40
 
61
- To keep this README concise, detailed information about specific components of Flux Flow has been split into separate documents:
41
+ ### πŸš‘ **Self-Healing Infrastructure**
42
+ Zero setup means zero setup. On first run, Flux Flow performs an integrity check and autonomously installs its own Chromium engine if needed, ensuring features like PDF generation work 100% of the time without manual intervention.
62
43
 
63
- - **[Architecture & Design](./ARCHITECTURE.md)**: Deep dive into the React/Ink rendering, the Agentic Loop, and the Janitor background process.
64
- - **[Agent Tools & Capabilities](./TOOLS.md)**: A comprehensive list of the tools available to the agent (e.g., File I/O, Execution, Web tools).
65
- - **[UI & Interaction Features](./UI_FEATURES.md)**: Details on commands, thinking levels, and human-in-the-loop verification.
44
+ - **Archived Terminal Flow**: See execution outputs transform from live elements into permanent conversation records.
45
+ - **Rich Aesthetics**: High-contrast, sleek design with smooth transitions and micro-animations.
66
46
 
67
- ## πŸ”’ Security & Privacy
47
+ ### 🧠 **The Dual-Intelligence System**
48
+ - **Flux Mode (Dev)**: High-speed, agentic problem solving with a 50-turn persistent loop for massive coding tasks.
49
+ - **Flow Mode (Chat)**: Optimized for deep research, high-quality conversation, and web-assisted reasoning.
68
50
 
69
- Flux Flow runs entirely locally on your machine.
70
- - **Global Storage**: All history, memories, and API keys are stored securely in your home directory at `~/.fluxflow`. Sensitive data is encrypted.
71
- - **Nuclear Reset**: Use the `/reset` command to instantly purge all logs, secrets, and settings from the global storage directory.
72
- - **Configurable Boundaries**: In Flux mode, file access can be strictly confined to the Current Working Directory, or expanded globally via settings.
73
- - **API Keys**: You supply your own Gemini/Google AI Studio API keys.
51
+ ### πŸ›‘οΈ **Digital Fortress Governance**
52
+ Security isn't an afterthought; it's a boundary.
53
+ - **External Path Hardlock**: Restricts the agent to your Current Working Directory (CWD) unless you explicitly unlock it.
54
+ - **Human-in-the-Loop (HITL)**: Every file write and terminal command requires your high-fidelity approval.
55
+ - **XOR Vaulting**: All local session histories, memories, and API keys are obfuscated and encrypted at rest.
56
+ - **Adaptive Failover**: Automatic multi-stage retry logic with high-concurrency fallback model switching (Gemini 3.1 Flash Lite) during peak API congestion.
74
57
 
75
- ## πŸ› οΈ Built With
58
+ ### 🧹 **The Background Janitor**
59
+ While you move at high speed, the Janitor follows behindβ€”refining session titles, compressing data, and ensuring your context window remains at absolute peak performance.
60
+
61
+ ---
62
+
63
+ ## πŸ› οΈ Key Capabilities
64
+ - **Deep File-System Interaction**: Edit, move, and refactor code across multiple files with atomic precision.
65
+ - **Real-Time Web Intelligence**: Autonomous web-searching via DuckDuckGo for live news and technical research.
66
+ - **Autonomous Project Alignment**: Automatically detects and adheres to project-specific instructions in `Agent.md`, `Skills.md`, and `Fluxflow.md` for high-fidelity alignment with your coding standards and custom workflows.
67
+ - **High-Reliability Fallback**: Automatic failover to a lighter, high-concurrency model during peak traffic to ensure zero session loss.
68
+ - **Persistent Memory**: The agent learns from your preferences and project requirements across sessions.
69
+
70
+ ---
71
+
72
+ ## βš™οΈ Configuration
73
+ Type `/settings` in-app to live-configure:
74
+ - **Thinking Level**: Low, Medium, or High (Deep-Reasoning).
75
+ - **Auto-Execution**: For ultimate high-speed flow (Advanced users only).
76
+ - **Security Perimeter**: Toggle External Workspace access.
77
+
78
+ ---
76
79
 
77
- - **[React](https://react.dev/) & [Ink](https://github.com/vadimdemedes/ink)**: For the interactive CLI rendering.
78
- - **[@google/genai](https://www.npmjs.com/package/@google/genai)**: The core AI SDK powering the agent's intelligence.
79
- - **[chalk](https://www.npmjs.com/package/chalk) & [gradient-string](https://www.npmjs.com/package/gradient-string)**: For terminal styling and aesthetics.
80
- - **[fs-extra](https://www.npmjs.com/package/fs-extra)**: For robust file system operations.
81
- - **[pptxgenjs](https://www.npmjs.com/package/pptxgenjs) & [html-to-docx](https://www.npmjs.com/package/html-to-docx)**: For native Office document generation.
80
+ ## 🏁 License
81
+ MIT Β© 2026 Flux Flow Team.
82
82
 
83
83
  ---
84
- *Created as a demonstration of highly capable AI tooling.*
84
+ *Forged with ⚑ and 🧬. Welcome to the FluxFlow.*
package/dist/fluxflow.js CHANGED
@@ -1066,7 +1066,7 @@ Every ${isMemoryEnabled ? "Prompt, Responses & Memories" : "Prompt & Responses"}
1066
1066
  TO END THE LOOP YOU **MUST** WRITE [turn: finish] AT VERY END OF YOUR RESPONSE.
1067
1067
  -- END RESPONSE PROTOCOL --
1068
1068
 
1069
- [METADATA (PRIORITY: DYNAMIC)] Time: ${dateTimeStr} | v1.9.10 | Turn Progress: ${currentLoop}/${maxLoops} steps (Summarize & prompt user if limit is reached).
1069
+ [METADATA (PRIORITY: DYNAMIC)] Time: ${dateTimeStr} | v1.9.12 | Turn Progress: ${currentLoop}/${maxLoops} steps (Summarize & prompt user if limit is reached).
1070
1070
  === END SYSTEM INSTRUCTION ===`.trim();
1071
1071
  };
1072
1072
  getJanitorInstruction = (originalText, agentRaws, userMemories = "", isMemoryEnabled = true, needTitle = true) => {
@@ -5634,7 +5634,7 @@ var init_app = __esm({
5634
5634
  init_text();
5635
5635
  SESSION_START_TIME = Date.now();
5636
5636
  CHANGELOG_URL = "https://fluxflow-cli.onrender.com/changelog.html";
5637
- versionFluxflow = "1.9.10";
5637
+ versionFluxflow = "1.9.12";
5638
5638
  updatedOn = "2026-05-15";
5639
5639
  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(
5640
5640
  CommandMenu,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluxflow-cli",
3
- "version": "1.9.10",
3
+ "version": "1.9.12",
4
4
  "description": "A high-fidelity agentic terminal assistant for the Flux Era.",
5
5
  "keywords": [
6
6
  "ai",