fluxflow-cli 2.13.0 → 2.13.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 (3) hide show
  1. package/README.md +133 -133
  2. package/dist/fluxflow.js +423 -211
  3. package/package.json +68 -67
package/README.md CHANGED
@@ -1,133 +1,133 @@
1
- # 🌌 Flux Flow (`fluxflow-cli`)
2
- ![Flux Flow Logo](https://github.com/KushalRoyChowdhury/fluxflow-cli/blob/main/fluxflow.png)
3
-
4
- <p align="left">
5
- <a href="https://github.com/KushalRoyChowdhury/fluxflow-cli"><img src="https://img.shields.io/badge/FluxFlow-v2-blue?style=plastic" alt="FluxFlow Version"></a>
6
- <a href="https://deepmind.google"><img src="https://img.shields.io/badge/Engine-Gemma%204-red?style=plastic" alt="Engine Gemma 4"></a>
7
- <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg?style=plastic" alt="License MIT"></a>
8
- <a href="https://nodejs.org"><img src="https://img.shields.io/badge/Node-%3E%3D20-green?style=plastic" alt="Node Compatibility"></a>
9
- </p>
10
-
11
- ### *The High-Fidelity Agentic Terminal for the Flux Era.*
12
-
13
- **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.
14
-
15
- ---
16
-
17
- ## 🚀 Instant Ignition (No Setup Required)
18
- You don't even need to install it. Just fire up your terminal and run:
19
-
20
- ```bash
21
- # Run instantly (Zero Setup)
22
- npx fluxflow-cli
23
-
24
- # OR Install Globally
25
- npm install -g fluxflow-cli
26
- fluxflow-cli
27
- ```
28
-
29
- *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:
30
- - **Google GenAI** (Gemini & Gemma models)
31
- - **DeepSeek** (Native DeepSeek API)
32
- - **OpenRouter** (Access to hundreds of models; *Experimental*)
33
- - **NVIDIA** (Access to selected models; *Experimental*)
34
-
35
- ---
36
-
37
- ## ✨ Why Flux Flow?
38
-
39
- ### 🎨 **Premium Visual Sovereignty**
40
- Experience a terminal UI that feels alive. Built with **Ink** and **React**, Flux Flow features:
41
- - **Dynamic Status Bar**: Real-time telemetry showing your "Neural Headroom" (token usage), Thinking Level, and Session ID.
42
-
43
- ### 🔌 **High-Fidelity IDE Companion**
44
- Flux Flow now pairs with a dedicated VS Code extension to bridge the gap between terminal and editor:
45
- - **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.
46
- - **Live Status Heartbeat**: The VS Code Status Bar acts as a live feed, showing the agent's current task (*Thinking*, *Web Searching*, *Patching*, etc.).
47
- - **Clickable Terminal Links**: Jump from the terminal output straight to your code with clickable file:line links.
48
- - **Right-Click Integration**: "FluxFlow > Chat" is available in the editor, explorer, and tab bars, even when no files are open.
49
- - **Selection-Driven Reasoning**: Select a block of code and ask "What does this do?"—the agent receives your selection instantly.
50
- - **Universal Compatibility**: Works flawlessly with VS Code, Cursor, VSCodium, Trae, and Antigravity.
51
-
52
- ### 👁️ **Native Multimodality**
53
- 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.
54
-
55
- ### 📑 **Document Engineering Suite**
56
- Need a report or a presentation? Just ask. Flux Flow features a high-fidelity "Printing Press" that generates professional, branded documents natively:
57
- - **PDF**: Branded documents from HTML/CSS with automatic watermarking.
58
- - **DOCX**: Native Word documents with multi-page support and automatic numbering.
59
-
60
- ### ⏱️ **Codebase Time Travel (Git-less Reversion)**
61
- Refactor and build with absolute fearlessness. Flux Flow maintains transaction-based secure snapshots of files before they are generated or edited:
62
- - **Instant Rollback**: Revert your workspace files (source code, generated documents, images) to their exact state prior to any selected prompt in the history.
63
- - **Double-ESC Shortcut**: Press `ESC` twice while idle to pop open a sleek selection modal.
64
- - **`/revert` Command**: Run the `/revert` command directly in the chat to open the checkpoint viewer.
65
-
66
- ### 🚑 **Self-Healing Infrastructure**
67
- 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.
68
-
69
- - **Archived Terminal Flow**: See execution outputs transform from live elements into permanent conversation records.
70
- - **Rich Aesthetics**: High-contrast, sleek design with smooth transitions and micro-animations.
71
-
72
- ### 🧠 **The Dual-Intelligence System**
73
- - **Flux Mode (Dev)**: High-speed, agentic problem solving with a 70-turn persistent loop for massive coding tasks.
74
- - **Flow Mode (Chat)**: Optimized for high-quality conversation and web-assisted reasoning.
75
-
76
- ### 🛡️ **Digital Fortress Governance**
77
- Security isn't an afterthought; it's a boundary.
78
- - **Sandbox Presets**: Choose from **Strict**, **Balanced**, **Autonomous**, or **Custom** security profiles to control agent autonomy.
79
- - **Granular Command Policies**: Configure Auto-Approve (`Auto` / `Read-Only` / `None`), Auto-Disallow (`Auto` / `Destructive` / `None`), Network Access toggle, and Auto-Approve Git Commits independently.
80
- - **External Path Hardlock**: Restricts the agent to your Current Working Directory (CWD) unless you explicitly unlock it.
81
- - **Human-in-the-Loop (HITL)**: Every file write and terminal command requires your high-fidelity approval.
82
- - **XOR Vaulting**: All local session histories, memories, and API keys are obfuscated and encrypted at rest.
83
- - **Adaptive Failover**: Automatic multi-stage retry logic with high-concurrency fallback model switching (Gemini 3.1 Flash Lite) during peak API congestion.
84
-
85
- ### 🧹 **The Background Janitor**
86
- 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.
87
-
88
- ---
89
-
90
- ## 🛠️ Key Capabilities
91
- - **Deep File-System Interaction**: Edit, move, and refactor code across multiple files with atomic precision.
92
- - **Real-Time Web Intelligence**: Autonomous web-searching via DuckDuckGo for live news and technical research.
93
- - **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.
94
- - **High-Reliability Fallback**: Automatic failover to a lighter, high-concurrency model during peak traffic to ensure zero session loss.
95
- - **Persistent Memory**: The agent learns from your preferences and project requirements across sessions.
96
-
97
- ---
98
-
99
- ## 💻 CLI Startup Arguments
100
- Customize your session parameters directly from your console launch command:
101
-
102
- ```bash
103
- fluxflow [options]
104
- ```
105
-
106
- ### Supported Flags:
107
- - `--model <model-name>`: Temporary override for the active AI model (e.g., `gemini-2.5-pro`). Keeps settings file untouched.
108
- - `--memory <on | off>`: Toggle persistent long-term agent memory for the session.
109
- - `--resume <session-id>`: Resume a previous chat session programmatically.
110
- - `--update <check | latest>`: Manually run an update check (`check`) or execute latest update setup (`latest`).
111
- - `--package <npm | pnpm | yarn | bun>`: Override default package manager to run core application updates.
112
- - `--auto-del <1d | 7d | 30d>`: Set automated chat log deletion schedule.
113
- - `--yolo <on | off>`: Toggle autonomous execution permission.
114
- - `--external-access <on | off>`: Toggle permission to let agent read files outside CWD.
115
- - `--thinking <Fast | Low | Medium/Standard | High | xHigh>`: Override thinking level for reasoning depth. `Medium` and `Standard` is the same (Deepseek compatibility).
116
- - `--key <key@google | key@deepseek | key@openrouter>`: Set API key and provider.
117
- - `--provider <google | deepseek | openrouter>`: Override default provider.
118
-
119
- ---
120
-
121
- ## ⚙️ Configuration
122
- Type `/settings` in-app to live-configure:
123
- - **Thinking Level**: Fast (No Reasoning), Low, Medium, High, xHigh (Extended Reasoning).
124
- - **Sandbox Preset**: Strict, Balanced, Autonomous, or Custom security profiles.
125
- - **Security Perimeter**: Toggle External Workspace access, Network Access, and Git Commit auto-approval.
126
-
127
- ---
128
-
129
- ## 🏁 License
130
- MIT © 2026 Flux Flow.
131
-
132
- ---
133
- *Forged with ⚡ and 🧬. Welcome to the FluxFlow.*
1
+ # 🌌 Flux Flow (`fluxflow-cli`)
2
+ ![Flux Flow Logo](https://github.com/KushalRoyChowdhury/fluxflow-cli/blob/main/fluxflow.png)
3
+
4
+ <p align="left">
5
+ <a href="https://github.com/KushalRoyChowdhury/fluxflow-cli"><img src="https://img.shields.io/badge/FluxFlow-v2-blue?style=plastic" alt="FluxFlow Version"></a>
6
+ <a href="https://deepmind.google"><img src="https://img.shields.io/badge/Engine-Gemma%204-red?style=plastic" alt="Engine Gemma 4"></a>
7
+ <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg?style=plastic" alt="License MIT"></a>
8
+ <a href="https://nodejs.org"><img src="https://img.shields.io/badge/Node-%3E%3D20-green?style=plastic" alt="Node Compatibility"></a>
9
+ </p>
10
+
11
+ ### *The High-Fidelity Agentic Terminal for the Flux Era.*
12
+
13
+ **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.
14
+
15
+ ---
16
+
17
+ ## 🚀 Instant Ignition (No Setup Required)
18
+ You don't even need to install it. Just fire up your terminal and run:
19
+
20
+ ```bash
21
+ # Run instantly (Zero Setup)
22
+ npx fluxflow-cli
23
+
24
+ # OR Install Globally
25
+ npm install -g fluxflow-cli
26
+ fluxflow-cli
27
+ ```
28
+
29
+ *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:
30
+ - **Google GenAI** (Gemini & Gemma models)
31
+ - **DeepSeek** (Native DeepSeek API)
32
+ - **OpenRouter** (Access to hundreds of models; *Experimental*)
33
+ - **NVIDIA** (Access to selected models; *Experimental*)
34
+
35
+ ---
36
+
37
+ ## ✨ Why Flux Flow?
38
+
39
+ ### 🎨 **Premium Visual Sovereignty**
40
+ Experience a terminal UI that feels alive. Built with **Ink** and **React**, Flux Flow features:
41
+ - **Dynamic Status Bar**: Real-time telemetry showing your "Neural Headroom" (token usage), Thinking Level, and Session ID.
42
+
43
+ ### 🔌 **High-Fidelity IDE Companion**
44
+ Flux Flow now pairs with a dedicated VS Code extension to bridge the gap between terminal and editor:
45
+ - **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.
46
+ - **Live Status Heartbeat**: The VS Code Status Bar acts as a live feed, showing the agent's current task (*Thinking*, *Web Searching*, *Patching*, etc.).
47
+ - **Clickable Terminal Links**: Jump from the terminal output straight to your code with clickable file:line links.
48
+ - **Right-Click Integration**: "FluxFlow > Chat" is available in the editor, explorer, and tab bars, even when no files are open.
49
+ - **Selection-Driven Reasoning**: Select a block of code and ask "What does this do?"—the agent receives your selection instantly.
50
+ - **Universal Compatibility**: Works flawlessly with VS Code, Cursor, VSCodium, Trae, and Antigravity.
51
+
52
+ ### 👁️ **Native Multimodality**
53
+ 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.
54
+
55
+ ### 📑 **Document Engineering Suite**
56
+ Need a report or a presentation? Just ask. Flux Flow features a high-fidelity "Printing Press" that generates professional, branded documents natively:
57
+ - **PDF**: Branded documents from HTML/CSS with automatic watermarking.
58
+ - **DOCX**: Native Word documents with multi-page support and automatic numbering.
59
+
60
+ ### ⏱️ **Codebase Time Travel (Git-less Reversion)**
61
+ Refactor and build with absolute fearlessness. Flux Flow maintains transaction-based secure snapshots of files before they are generated or edited:
62
+ - **Instant Rollback**: Revert your workspace files (source code, generated documents, images) to their exact state prior to any selected prompt in the history.
63
+ - **Double-ESC Shortcut**: Press `ESC` twice while idle to pop open a sleek selection modal.
64
+ - **`/revert` Command**: Run the `/revert` command directly in the chat to open the checkpoint viewer.
65
+
66
+ ### 🚑 **Self-Healing Infrastructure**
67
+ 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.
68
+
69
+ - **Archived Terminal Flow**: See execution outputs transform from live elements into permanent conversation records.
70
+ - **Rich Aesthetics**: High-contrast, sleek design with smooth transitions and micro-animations.
71
+
72
+ ### 🧠 **The Dual-Intelligence System**
73
+ - **Flux Mode (Dev)**: High-speed, agentic problem solving with a 70-turn persistent loop for massive coding tasks.
74
+ - **Flow Mode (Chat)**: Optimized for high-quality conversation and web-assisted reasoning.
75
+
76
+ ### 🛡️ **Digital Fortress Governance**
77
+ Security isn't an afterthought; it's a boundary.
78
+ - **Sandbox Presets**: Choose from **Strict**, **Balanced**, **Autonomous**, or **Custom** security profiles to control agent autonomy.
79
+ - **Granular Command Policies**: Configure Auto-Approve (`Auto` / `Read-Only` / `None`), Auto-Disallow (`Auto` / `Destructive` / `None`), Network Access toggle, and Auto-Approve Git Commits independently.
80
+ - **External Path Hardlock**: Restricts the agent to your Current Working Directory (CWD) unless you explicitly unlock it.
81
+ - **Human-in-the-Loop (HITL)**: Every file write and terminal command requires your high-fidelity approval.
82
+ - **XOR Vaulting**: All local session histories, memories, and API keys are obfuscated and encrypted at rest.
83
+ - **Adaptive Failover**: Automatic multi-stage retry logic with high-concurrency fallback model switching (Gemini 3.1 Flash Lite) during peak API congestion.
84
+
85
+ ### 🧹 **The Background Janitor**
86
+ 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.
87
+
88
+ ---
89
+
90
+ ## 🛠️ Key Capabilities
91
+ - **Deep File-System Interaction**: Edit, move, and refactor code across multiple files with atomic precision.
92
+ - **Real-Time Web Intelligence**: Autonomous web-searching via DuckDuckGo for live news and technical research.
93
+ - **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.
94
+ - **High-Reliability Fallback**: Automatic failover to a lighter, high-concurrency model during peak traffic to ensure zero session loss.
95
+ - **Persistent Memory**: The agent learns from your preferences and project requirements across sessions.
96
+
97
+ ---
98
+
99
+ ## 💻 CLI Startup Arguments
100
+ Customize your session parameters directly from your console launch command:
101
+
102
+ ```bash
103
+ fluxflow [options]
104
+ ```
105
+
106
+ ### Supported Flags:
107
+ - `--model <model-name>`: Temporary override for the active AI model (e.g., `gemini-2.5-pro`). Keeps settings file untouched.
108
+ - `--memory <on | off>`: Toggle persistent long-term agent memory for the session.
109
+ - `--resume <session-id>`: Resume a previous chat session programmatically.
110
+ - `--update <check | latest>`: Manually run an update check (`check`) or execute latest update setup (`latest`).
111
+ - `--package <npm | pnpm | yarn | bun>`: Override default package manager to run core application updates.
112
+ - `--auto-del <1d | 7d | 30d>`: Set automated chat log deletion schedule.
113
+ - `--yolo <on | off>`: Toggle autonomous execution permission.
114
+ - `--external-access <on | off>`: Toggle permission to let agent read files outside CWD.
115
+ - `--thinking <Fast | Low | Medium/Standard | High | xHigh>`: Override thinking level for reasoning depth. `Medium` and `Standard` is the same (Deepseek compatibility).
116
+ - `--key <key@google | key@deepseek | key@openrouter>`: Set API key and provider.
117
+ - `--provider <google | deepseek | openrouter>`: Override default provider.
118
+
119
+ ---
120
+
121
+ ## ⚙️ Configuration
122
+ Type `/settings` in-app to live-configure:
123
+ - **Thinking Level**: Fast (No Reasoning), Low, Medium, High, xHigh (Extended Reasoning).
124
+ - **Sandbox Preset**: Strict, Balanced, Autonomous, or Custom security profiles.
125
+ - **Security Perimeter**: Toggle External Workspace access, Network Access, and Git Commit auto-approval.
126
+
127
+ ---
128
+
129
+ ## 🏁 License
130
+ MIT © 2026 Flux Flow.
131
+
132
+ ---
133
+ *Forged with ⚡ and 🧬. Welcome to the FluxFlow.*