fluxflow-cli 1.0.4 → 1.0.6

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
@@ -3,7 +3,7 @@
3
3
 
4
4
  ### *The High-Fidelity Agentic Terminal for the Flux Era.*
5
5
 
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 frontier models. Designed for developers who demand a premium UI/UX while managing complex file-system tasks, web research, and autonomous workflows.
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.
7
7
 
8
8
  ---
9
9
 
@@ -49,6 +49,7 @@ While you move at high speed, the Janitor follows behind—refining session titl
49
49
  ## 🛠️ Key Capabilities
50
50
  - **Deep File-System Interaction**: Edit, move, and refactor code across multiple files with atomic precision.
51
51
  - **Real-Time Web Intelligence**: Autonomous web-searching via DuckDuckGo for live news and technical research.
52
+ - **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.
52
53
  - **Persistent Memory**: The agent learns from your preferences and project requirements across sessions.
53
54
 
54
55
  ---
@@ -65,4 +66,4 @@ Type `/settings` in-app to live-configure:
65
66
  MIT © 2026 Flux Flow Team.
66
67
 
67
68
  ---
68
- *Forged with ⚡ and 🧬. Welcome to the Flow.*
69
+ *Forged with ⚡ and 🧬. Welcome to the FluxFlow.*
package/dist/fluxflow.js CHANGED
@@ -417,13 +417,22 @@ ${userMemories}
417
417
  ` : ""}${isMemoryEnabled ? `${tempMemoriesStr}
418
418
 
419
419
  ` : ""}--- START SYSTEM INSTRUCTION ---
420
- You are Flux Flow. A CLI AI Agent. Your tone will be friendly, warm, sassy, approchable, respectable, NO ROMANTIC OR FLIRTY WORDS. Dont mention modes if not explicitly asked. ${mode === "Flux" ? "You are currently operating in FLUX (dev) mode. Keep your agentic approach goal oriented. Use provided tools when needed. And should try to minimize number of agentic loops (Agent Loop is limited to 45 per turn, finish your goal by then). Analyze user prompt and project requirements, then plan your approach." : "You are currently operating in Flow (chat) mode. Focus more on conversation quality and user experience. Keep Agentic Loops to minimum (Agent Loop is limited to 5 per turn, finish your goal by then). You will get access to Web Tools only in this mode."}
420
+ You are Flux Flow. A CLI AI Agent. Your tone will be friendly, warm, sassy, approchable, respectable, NO ROMANTIC OR FLIRTY WORDS. Dont mention modes unless explicitly asked. ${mode === "Flux" ? "You are currently operating in FLUX (dev) mode. Keep your agentic approach goal oriented. Use provided tools when needed. And should try to minimize number of agentic loops (Agent Loop is limited to 45 per turn, finish your goal by then). Analyze user prompt and project requirements, then plan your approach." : "You are currently operating in Flow (chat) mode. Focus more on conversation quality and user experience. Keep Agentic Loops to minimum (Agent Loop is limited to 5 per turn, finish your goal by then). You will get access to Web Tools only in this mode."}
421
421
  CURRENT_WORKING_DIRECTORY: ${cwdStr}.
422
422
  ${nameStr}${nicknameStr}${userInstrStr}
423
423
 
424
424
  ${thinkingConfig}
425
425
 
426
426
  ${TOOL_PROTOCOL(mode)}
427
+ ${mode === "Flux" ? `
428
+ -- START PROJECT SPECIFIC INSTRUCTIONS --
429
+ 1. README.md (If exists): Reference this for high-level goals and project context to ensure your work aligns with the user's objectives.
430
+ 2. Agent.md (If exists): This is your technical "Operating Manual". Follow the coding standards, directory structures, and tech stack constraints defined here without deviation.
431
+ 3. Skills.md (If exists): Use this for complex workflows. If a task matches a "Skill" defined in this file, execute the documented step-by-step instructions exactly as written.
432
+ 4. Fluxflow.md (If exists): This file contains your specific identity and highest-priority overrides. Instructions in Fluxflow.md supersede all other files if a conflict occurs.
433
+
434
+ Before starting any task, check for these files and treat them as your primary source of truth, overriding your general training data to remain consistent with this specific project's environment.
435
+ -- END PROJECT SPECIFIC INSTRUCTIONS --` : ""}
427
436
 
428
437
  -- START MEMORY INSTRUCTIONS --
429
438
  ${isMemoryEnabled ? "You have a internal memory system. Data is saved by a background model working in parallel. You can use memories to recall information from recent past conversations and user preferences to personalize your responses. Dont over mention about memory, keep it light and contexual." : "Memory Features are currently turned off by user. You can ask them to enable it /settings."}
@@ -1372,15 +1381,18 @@ USER_PROMPT: ${agentText}`.trim();
1372
1381
  } else if (toolCall.toolName === "view_file") {
1373
1382
  const { path: targetPath2, start_line = 1, end_line = 500 } = parseArgs(toolCall.args);
1374
1383
  let totalLines = "...";
1384
+ let actualEndLine = end_line;
1375
1385
  try {
1376
1386
  const absPath = path13.resolve(process.cwd(), targetPath2);
1377
1387
  if (fs12.existsSync(absPath)) {
1378
1388
  const content = fs12.readFileSync(absPath, "utf8");
1379
- totalLines = content.split("\n").length;
1389
+ const lines = content.split("\n").length;
1390
+ totalLines = lines;
1391
+ actualEndLine = Math.min(end_line, lines);
1380
1392
  }
1381
1393
  } catch (e) {
1382
1394
  }
1383
- label = `\u{1F4C4} READING FILE: ${targetPath2}. LINES ${start_line} - ${end_line} FROM ${totalLines}`.toUpperCase();
1395
+ label = `\u{1F4C4} READING FILE: ${targetPath2}. LINES ${start_line} - ${actualEndLine} FROM ${totalLines}`.toUpperCase();
1384
1396
  } else if (toolCall.toolName === "list_files" || toolCall.toolName === "read_folder") {
1385
1397
  const action = toolCall.toolName === "list_files" ? "LISTING" : "DISCOVERING";
1386
1398
  label = `\u{1F4C2} ${action} DIRECTORY: ${parseArgs(toolCall.args).path || "."}`.toUpperCase();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluxflow-cli",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "A high-fidelity agentic terminal assistant for the Flux Era.",
5
5
  "keywords": [
6
6
  "ai",