fluxflow-cli 1.21.3 → 2.0.0
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/ARCHITECTURE.md +10 -0
- package/README.md +9 -2
- package/UI_FEATURES.md +1 -1
- package/dist/fluxflow.js +410 -10441
- package/package.json +6 -4
package/ARCHITECTURE.md
CHANGED
|
@@ -29,6 +29,16 @@ The execution flow of a single user prompt follows this loop:
|
|
|
29
29
|
- **Multi-Stage Failover**: The loop features a sophisticated 16-attempt retry engine with exponential backoff (1s - 32s).
|
|
30
30
|
- **Critical Fallback Pivot**: If the primary model fails 14 consecutive times, the agent surgically pivots to a lighter, high-concurrency fallback model (`gemini-3.1-flash-lite`) for the final 3 attempts to ensure session navigation through API congestion.
|
|
31
31
|
|
|
32
|
+
## The IDE Bridge (Companion Extension)
|
|
33
|
+
|
|
34
|
+
Flux Flow includes an optional but powerful **IDE Companion** that establishes a real-time link between your code editor (VS Code and forks) and the CLI agent.
|
|
35
|
+
|
|
36
|
+
- **Sidecar Communication**: The extension starts a WebSocket server on a dedicated local port (`56832`). The CLI agent acts as a client, automatically connecting upon startup.
|
|
37
|
+
- **Bi-Directional Context**:
|
|
38
|
+
- **CLI → IDE**: When the agent creates a file (`write_file`) or patches code (`update_file`), it sends a command to the editor to automatically open the document and apply green highlights to the newly added lines.
|
|
39
|
+
- **IDE → CLI**: Before every prompt, the CLI requests a context snapshot. The extension reports the **focused file path**, **cursor line number**, **active text selection**, and **manual user edits** (calculated by diffing the document against its state at the start of the turn).
|
|
40
|
+
- **State Persistence**: The extension maintains `lastKnownStates` for all visible tabs to ensure that only manual human edits are reported back to the AI, preventing redundant context loops.
|
|
41
|
+
|
|
32
42
|
## Multimodal Pipeline
|
|
33
43
|
|
|
34
44
|
Flux Flow implements a native multimodal processing engine in `src/tools/view_file.js`. This allows the agent to move beyond text-based reasoning and analyze visual assets directly (Only on supported models).
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|

|
|
3
3
|
|
|
4
4
|
<p align="left">
|
|
5
|
-
<a href="https://github.com/KushalRoyChowdhury/fluxflow-cli"><img src="https://img.shields.io/badge/FluxFlow-
|
|
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
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
7
|
<a href="https://pollinations.ai"><img src="https://img.shields.io/badge/Built%20With-pollinations.ai-cyan?style=plastic" alt="Built With pollinations.ai"></a>
|
|
8
8
|
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg?style=plastic" alt="License MIT"></a>
|
|
@@ -46,6 +46,13 @@ Generate gorgeous, high-fidelity images directly from the command line using [Po
|
|
|
46
46
|
- **Budget Telemetry**: Real-time credits tracker displayed in sleek high-contrast Ink terminal boxes.
|
|
47
47
|
- **PNG Metadata Embedding**: Autonomously injects custom `tEXt` metadata chunks (Title, Software, Author, Seed, Model, and exact Prompt details) straight into the output image headers.
|
|
48
48
|
|
|
49
|
+
### 🔌 **High-Fidelity IDE Companion**
|
|
50
|
+
Flux Flow now pairs with a dedicated VS Code extension to bridge the gap between terminal and editor:
|
|
51
|
+
- **Live Context Awareness**: The agent knows exactly which file you are looking at and where your cursor is.
|
|
52
|
+
- **Selection-Driven Reasoning**: Select a block of code in your IDE and ask "What does this do?"—the agent receives your selection instantly.
|
|
53
|
+
- **Native Edit Highlights**: AI code changes appear in real-time as diff viewer inside your editor.
|
|
54
|
+
- **Universal Compatibility**: Works flawlessly with VS Code, Cursor, VSCodium, and Antigravity.
|
|
55
|
+
|
|
49
56
|
### 👁️ **Native Multimodality**
|
|
50
57
|
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.
|
|
51
58
|
|
|
@@ -107,7 +114,7 @@ fluxflow [options]
|
|
|
107
114
|
- `--update <check|latest>`: Manually run an update check (`check`) or execute latest update setup (`latest`).
|
|
108
115
|
- `--package <npm|pnpm|yarn|bun>`: Override default package manager to run core application updates.
|
|
109
116
|
- `--auto-del <1d|7d|30d>`: Set automated chat log deletion schedule.
|
|
110
|
-
- `--
|
|
117
|
+
- `--yolo <on|off>`: Toggle autonomous command execution permission.
|
|
111
118
|
- `--external-access <on|off>`: Toggle permission to let agent read files outside CWD.
|
|
112
119
|
- `--thinking <Fast|Medium|High|xHigh>`: Override default thinking level.
|
|
113
120
|
|
package/UI_FEATURES.md
CHANGED
|
@@ -58,7 +58,7 @@ By default, the agent **cannot** execute dangerous actions without your consent.
|
|
|
58
58
|
- **Safe Commands**: Basic read-only commands (like `ls`, `git status`, `pwd`) are automatically allowed to minimize friction.
|
|
59
59
|
|
|
60
60
|
### Auto-Execution (Advanced)
|
|
61
|
-
For power users, **
|
|
61
|
+
For power users, **YOLO Mode** can be enabled in `/settings`.
|
|
62
62
|
- **⚠️ Warning**: This allows the agent to run any tool and execute any command autonomously.
|
|
63
63
|
- **External Access**: You can also toggle whether the agent is allowed to access files outside of its current working directory.
|
|
64
64
|
- **Manual Commad Control**: Specify which commands you want the agent to auto-execute, manually approve or auto-deny.
|