fluxflow-cli 3.0.17 β†’ 3.0.19

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 (3) hide show
  1. package/README.md +87 -87
  2. package/dist/fluxflow.js +355 -231
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,5 +1,5 @@
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
4
  <p align="left">
5
5
  <a href="https://github.com/KushalRoyChowdhury/fluxflow-cli"><img src="https://img.shields.io/badge/FluxFlow-v3-blue?style=plastic" alt="FluxFlow Version"></a>
@@ -7,59 +7,16 @@
7
7
  <a href="https://nodejs.org"><img src="https://img.shields.io/badge/Node-%3E%3D20-green?style=plastic" alt="Node Compatibility"></a>
8
8
  </p>
9
9
 
10
- **A Beautiful, Autonomous Terminal AI Agent**
10
+ ### *The High-Fidelity Agentic CLI with Sub-Agents for the Flux Era.*
11
11
 
12
- πŸ“– **[Official Documentatio]n(https://fluxflow-cli.onrender.com/)**
12
+ πŸ“– **[Official Documentation](https://fluxflow-cli.onrender.com/)**
13
13
 
14
- 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.
15
-
16
- 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.
14
+ **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.
17
15
 
18
16
  ---
19
17
 
20
- ## ✨ Features
21
-
22
- - **Multi-Provider Support**: Choose your preferred engine!
23
- - **Google GenAI** (Gemini & Gemma models)
24
- - **DeepSeek** (Native DeepSeek API)
25
- - **OpenRouter** (Access to hundreds of models; *Experimental*)
26
- - **NVIDIA** (Access to selected models)
27
-
28
- - **High-Fidelity IDE Companion**: Flux Flow now pairs with a dedicated VS Code extension to bridge the gap between terminal and editor:
29
- - **Surgical Diagnostic Sync**: The agent has "Red Squiggle Radar"β€”it proactively detects errors across your entire workspace and offers a "Magic Wand" fix button.
30
- - **Live Status Heartbeat**: Real-time telemetry in the VS Code Status Bar shows exactly what the agent is doing (e.g., *Thinking...*, *Reading file.js...*, *Patching app.jsx...*).
31
- - **Clickable Terminal Links**: All file paths and line numbers printed in the terminal are live links; click them to jump straight to that code in your IDE.
32
- - **Selection-Driven Reasoning**: Select code and right-click -> "Chat with FluxFlow" to instantly focus the agent with full context.
33
- - **Smart Context Awareness**: The agent knows your cursor position, active selection, and even errors in files you don't have open.
34
- - **Universal Compatibility**: Works flawlessly with VS Code, Cursor, VSCodium, Trae, and Antigravity.
35
-
36
- - **Native Multimodality**: Flux Flow can now see! Analyze images (JPG, PNG) and PDF documents natively through the `ReadFile` tool with high-fidelity context retention (Only on supported models).
37
- - **Document Engineering Suite**: Generate professional, branded PDF, DOCX documents on the fly. Features native HTML-to-Office translation for selectable text, high-performance rendering, and automatic watermarking.
38
- - **Codebase Time Travel (Git-less Reversion)**: Refactor and build with absolute fearlessness. Flux Flow maintains transaction-based secure snapshots of files before they are generated or edited:
39
- - **Instant Rollback**: Revert your workspace files (source code, generated documents, images) to their exact state prior to any selected prompt in the history.
40
- - **Double-ESC Shortcut**: Press `ESC` twice while idle to pop open a sleek selection modal.
41
- - **`/revert` Command**: Run the `/revert` command directly in the chat to open the checkpoint viewer.
42
- - **External Data Sanctuary**: Redirect your logs, history, and memories to any external path for maximum portability and privacy.
43
- - **Responsive Terminal UI**: A gorgeous, reactive interface built with React and Ink, featuring multi-line input, status bars, modals, and diff views.
44
- - **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.
45
- - **Two Operating Modes**:
46
- - **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.
47
- - **Flow (Chat Mode)**: Focused on conversation and web research, with limited agentic loops for faster response times.
48
- - **Advanced Memory System**: Features both temporary session context and persistent, cross-session user memories encrypted locally on your machine.
49
- - **Agentic Tooling**: Built-in tools for smart file patching, web scraping, web searching, terminal execution and high-fidelity Office document generation (PDF/DOCX).
50
- - **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.
51
- - **Customizable "Thinking" Levels**: Adjust the depth of the model's reasoning process (from Fast to xHigh).
52
- - **Autonomous Subagent System**: Spawns subagents in either blocking mode (`invokeSync`) or asynchronous mode (`invoke`) to offload tasks. Runs with a permanent suite of 10 system tools (e.g. ReadFile, PatchFile, WebSearch, WritePDF), excluding shell commands (`Run` is disabled). Telemetry is quietly tracked in the CLI's active subagents UI block and backed up in transaction-safe restoration records.
53
- - **High-Reliability Fallback**: Automatic failover to a lighter, high-concurrency model (Gemini 3.1 Flash Lite) during peak traffic to ensure 100% session persistence.
54
-
55
- ## πŸš€ Quick Start
56
-
57
- ### Prerequisites
58
- - [Node.js](https://nodejs.org/) (v18 or higher recommended)
59
- - `npm`, `yarn`, or `pnpm`
60
-
61
- ### Via NPM (Global & Instant)
62
- You can run the agent instantly or install it globally for high-speed access:
18
+ ## πŸš€ Instant Ignition (No Setup Required)
19
+ You don't even need to install it. Just fire up your terminal and run:
63
20
 
64
21
  ```bash
65
22
  # Run instantly (Zero Setup)
@@ -67,34 +24,83 @@ npx fluxflow-cli
67
24
 
68
25
  # OR Install Globally
69
26
  npm install -g fluxflow-cli
70
- fluxflow
27
+ fluxflow-cli
71
28
  ```
72
29
 
73
- ### From Source (Local Development)
74
- 1. Clone the repository and install dependencies:
75
- ```bash
76
- git clone https://github.com/KushalRoyChowdhury/fluxflow-cli
77
- cd fluxflow-cli
78
- npm install
79
- ```
30
+ *The agent will prompt you for your API Key on the first run and store it securely in an encrypted vault.* Choose from multiple supported AI providers:
31
+ - **Google GenAI** (Gemini & Gemma models)
32
+ - **DeepSeek** (Native DeepSeek API)
33
+ - **OpenRouter** (Access to hundreds of models; *Experimental*)
34
+ - **NVIDIA** (Access to selected models)
80
35
 
81
- 2. Start the agent:
82
- ```bash
83
- npm start
84
- ```
36
+ ---
85
37
 
86
- ## πŸ“– Documentation
38
+ ## ✨ Why Flux Flow?
87
39
 
88
- 🌐 **Official Documentation**: [HERE](https://fluxflow-cli.onrender.com/)
40
+ ### 🎨 **Premium Visual Sovereignty**
41
+ Experience a terminal UI that feels alive. Built with **Ink** and **React**, Flux Flow features:
42
+ - **Dynamic Status Bar**: Real-time telemetry showing your "Neural Headroom" (token usage), Thinking Level, and Session ID.
89
43
 
90
- To keep this README concise, detailed information about specific components of Flux Flow has been split into separate documents:
44
+ ### πŸ”Œ **High-Fidelity IDE Companion**
45
+ Flux Flow now pairs with a dedicated VS Code extension to bridge the gap between terminal and editor:
46
+ - **Surgical Diagnostic Sync**: Proactive background scanning for errors. If your project breaks, a "Magic Wand" icon $(\text{sparkle})$ appears in your editor title bar for an instant AI fix.
47
+ - **Live Status Heartbeat**: The VS Code Status Bar acts as a live feed, showing the agent's current task (*Thinking*, *Web Searching*, *Patching*, etc.).
48
+ - **Clickable Terminal Links**: Jump from the terminal output straight to your code with clickable file:line links.
49
+ - **Right-Click Integration**: "FluxFlow > Chat" is available in the editor, explorer, and tab bars, even when no files are open.
50
+ - **Selection-Driven Reasoning**: Select a block of code and ask "What does this do?"β€”the agent receives your selection instantly.
51
+ - **Universal Compatibility**: Works flawlessly with VS Code, Cursor, VSCodium, Trae, and Antigravity.
91
52
 
92
- - **[Architecture & Design](./ARCHITECTURE.md)**: Deep dive into the React/Ink rendering, the Agentic Loop, and the Janitor background process.
93
- - **[Agent Tools & Capabilities](./TOOLS.md)**: A comprehensive list of the tools available to the agent (e.g., File I/O, Execution, Web tools).
94
- - **[UI & Interaction Features](./UI_FEATURES.md)**: Details on commands, thinking levels, and human-in-the-loop verification.
53
+ ### πŸ‘οΈ **Native Multimodality**
54
+ 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.
95
55
 
96
- ## πŸ’» CLI Startup Arguments
56
+ ### πŸ“‘ **Document Engineering Suite**
57
+ Need a report or a presentation? Just ask. Flux Flow features a high-fidelity "Printing Press" that generates professional, branded documents natively:
58
+ - **PDF**: Branded documents from HTML/CSS with automatic watermarking.
59
+ - **DOCX**: Native Word documents with multi-page support and automatic numbering.
60
+
61
+ ### ⏱️ **Codebase Time Travel (Git-less Reversion)**
62
+ Refactor and build with absolute fearlessness. Flux Flow maintains transaction-based secure snapshots of files before they are generated or edited:
63
+ - **Instant Rollback**: Revert your workspace files (source code, generated documents, images) to their exact state prior to any selected prompt in the history.
64
+ - **Double-ESC Shortcut**: Press `ESC` twice while idle to pop open a sleek selection modal.
65
+ - **`/revert` Command**: Run the `/revert` command directly in the chat to open the checkpoint viewer.
66
+
67
+ ### πŸš‘ **Self-Healing Infrastructure**
68
+ 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.
97
69
 
70
+ - **Archived Terminal Flow**: See execution outputs transform from live elements into permanent conversation records.
71
+ - **Rich Aesthetics**: High-contrast, sleek design with smooth transitions and micro-animations.
72
+
73
+ ### 🧠 **The Dual-Intelligence System**
74
+ - **Flux Mode (Dev)**: High-speed, agentic problem solving with a 70-turn persistent loop for massive coding tasks.
75
+ - **Flow Mode (Chat)**: Optimized for high-quality conversation and web-assisted reasoning.
76
+
77
+ ### πŸ›‘οΈ **Digital Fortress Governance**
78
+ Security isn't an afterthought; it's a boundary.
79
+ - **Sandbox Presets**: Choose from **Strict**, **Balanced**, **Autonomous**, or **Custom** security profiles to control agent autonomy.
80
+ - **Granular Command Policies**: Configure Auto-Approve (`Auto` / `Read-Only` / `None`), Auto-Disallow (`Auto` / `Destructive` / `None`), Network Access toggle, and Auto-Approve Git Commits independently.
81
+ - **External Path Hardlock**: Restricts the agent to your Current Working Directory (CWD) unless you explicitly unlock it.
82
+ - **Human-in-the-Loop (HITL)**: Every file write and terminal command requires your high-fidelity approval.
83
+ - **XOR Vaulting**: All local session histories, memories, and API keys are obfuscated and encrypted at rest.
84
+ - **Adaptive Failover**: Automatic multi-stage retry logic with high-concurrency fallback model switching (Gemini 3.1 Flash Lite) during peak API congestion.
85
+
86
+ ### 🧹 **The Background Janitor**
87
+ 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.
88
+
89
+ ### πŸ€– **Autonomous Subagent System**
90
+ Delegate complex tasks to subagents. Spawns blocking subagents (`invokeSync`) or asynchronous background subagents (`invoke`) with distinct telemetry and silent background logging. Built-in transaction-safe reversion logs all subagent changes under the active turn, preserving rollback security.
91
+
92
+ ---
93
+
94
+ ## πŸ› οΈ Key Capabilities
95
+ - **Deep File-System Interaction**: Edit, move, and refactor code across multiple files with atomic precision.
96
+ - **Real-Time Web Intelligence**: Autonomous web-searching via DuckDuckGo for live news and technical research.
97
+ - **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.
98
+ - **High-Reliability Fallback**: Automatic failover to a lighter, high-concurrency model during peak traffic to ensure zero session loss.
99
+ - **Persistent Memory**: The agent learns from your preferences and project requirements across sessions.
100
+
101
+ ---
102
+
103
+ ## πŸ’» CLI Startup Arguments
98
104
  Customize your session parameters directly from your console launch command:
99
105
 
100
106
  ```bash
@@ -102,36 +108,30 @@ fluxflow [options]
102
108
  ```
103
109
 
104
110
  ### Supported Flags:
105
- - `--model <model-name>`: Temporary override for the active AI model (e.g., `gemini-3.1-pro-preview`). Keps settings file untouched.
111
+ - `--model <model-name>`: Temporary override for the active AI model (e.g., `gemini-2.5-pro`). Keeps settings file untouched.
106
112
  - `--memory <on | off>`: Toggle persistent long-term agent memory for the session.
107
113
  - `--resume <session-id>`: Resume a previous chat session programmatically.
108
114
  - `--update <check | latest>`: Manually run an update check (`check`) or execute latest update setup (`latest`).
109
115
  - `--package <npm | pnpm | yarn | bun>`: Override default package manager to run core application updates.
110
116
  - `--auto-del <1d | 7d | 30d>`: Set automated chat log deletion schedule.
111
- - `--yolo <on | off>`: Toggle autonomous command execution permission.
117
+ - `--yolo <on | off>`: Toggle autonomous execution permission.
112
118
  - `--external-access <on | off>`: Toggle permission to let agent read files outside CWD.
113
- - `--thinking <Fast | Medium | High | xHigh>`: Override default thinking level.
119
+ - `--thinking <Fast | Low | Medium/Standard | High | xHigh>`: Override thinking level for reasoning depth. `Medium` and `Standard` is the same (Deepseek compatibility).
114
120
  - `--key <key@google | key@deepseek | key@openrouter>`: Set API key and provider.
115
121
  - `--provider <google | deepseek | openrouter>`: Override default provider.
116
122
 
117
123
  ---
118
124
 
119
- ## πŸ”’ Security & Privacy
125
+ ## βš™οΈ Configuration
126
+ Type `/settings` in-app to live-configure:
127
+ - **Thinking Level**: Fast (No Reasoning), Low, Medium, High, xHigh (Extended Reasoning).
128
+ - **Sandbox Preset**: Strict, Balanced, Autonomous, or Custom security profiles.
129
+ - **Security Perimeter**: Toggle External Workspace access, Network Access, and Git Commit auto-approval.
120
130
 
121
- Flux Flow runs entirely locally on your machine.
122
- - **Sandbox Presets**: Choose from **Strict**, **Balanced**, **Autonomous**, or **Custom** profiles to fine-tune agent autonomy out of the box.
123
- - **Granular Command Policies**: Configure Auto-Approve (`Auto` / `Read-Only` / `None`), Auto-Disallow (`Auto` / `Destructive` / `None`), Network Access toggle, and Auto-Approve Git Commits independently.
124
- - **Global Storage**: All history, memories, and API keys are stored securely in your home directory at `~/.fluxflow`. Sensitive data is encrypted.
125
- - **Nuclear Reset**: Use the `/reset` command to instantly purge all logs, secrets, and settings from the global storage directory.
126
- - **Configurable Boundaries**: In Flux mode, file access can be strictly confined to the Current Working Directory, or expanded globally via settings.
127
- - **API Keys**: You supply your own API keys for your preferred provider: Google GenAI, DeepSeek, or OpenRouter (Experimental).
128
-
129
- ## πŸ› οΈ Built With
131
+ ---
130
132
 
131
- - **[React](https://react.dev/) & [Ink](https://github.com/vadimdemedes/ink)**: For the interactive CLI rendering.
132
- - **[@google/genai](https://www.npmjs.com/package/@google/genai)**: The core AI SDK powering the agent's intelligence.
133
- - **[chalk](https://www.npmjs.com/package/chalk) & [gradient-string](https://www.npmjs.com/package/gradient-string)**: For terminal styling and aesthetics.
134
- - **[fs-extra](https://www.npmjs.com/package/fs-extra)**: For robust file system operations.
133
+ ## 🏁 License
134
+ MIT Β© 2026 Flux Flow.
135
135
 
136
136
  ---
137
- *Created as a demonstration of highly capable AI tooling.*
137
+ *Forged with ⚑ and 🧬. Welcome to the FluxFlow.*