fluxflow-cli 1.18.12 → 1.18.13

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 (2) hide show
  1. package/dist/fluxflow.js +161 -5
  2. package/package.json +2 -2
package/dist/fluxflow.js CHANGED
@@ -5373,7 +5373,159 @@ ${newMemoryListStr}
5373
5373
  const isContext32k = (sessionStats?.tokens || 0) >= 32e3;
5374
5374
  const memoryPrompt = getMemoryPrompt(otherMemories, mainUserMemories, isMemoryEnabled, isContext32k);
5375
5375
  const dateTimeStr = (/* @__PURE__ */ new Date()).toLocaleString([], { year: "numeric", month: "numeric", day: "numeric", hour: "2-digit", minute: "2-digit", hour12: true });
5376
- const COLLAPSED_DIRS_GLOBAL = [".git", "node_modules", ".gemini", "dist", "build", ".next", "out", ".cache", "bin", "obj", "vendor", "venv", ".idea", ".gradle", ".terraform", "target", "coverage", ".vscode"];
5376
+ const COLLAPSED_DIRS_GLOBAL = [
5377
+ // --- The OG Clutter ---
5378
+ ".git",
5379
+ "node_modules",
5380
+ ".gemini",
5381
+ "dist",
5382
+ "build",
5383
+ ".next",
5384
+ "out",
5385
+ ".cache",
5386
+ "bin",
5387
+ "obj",
5388
+ "vendor",
5389
+ "venv",
5390
+ ".idea",
5391
+ ".gradle",
5392
+ ".terraform",
5393
+ "target",
5394
+ "coverage",
5395
+ ".vscode",
5396
+ // --- Version Control, Monorepos & CI/CD ---
5397
+ ".svn",
5398
+ ".hg",
5399
+ ".fslckout",
5400
+ ".github",
5401
+ ".gitlab",
5402
+ ".circleci",
5403
+ ".gitea",
5404
+ ".gitee",
5405
+ ".lerna",
5406
+ ".changeset",
5407
+ ".nx",
5408
+ // --- JS / TS / Web Dev Armageddon ---
5409
+ ".npm",
5410
+ ".yarn",
5411
+ ".pnpm-store",
5412
+ ".expo",
5413
+ ".nuxt",
5414
+ ".svelte-kit",
5415
+ ".docusaurus",
5416
+ ".turbo",
5417
+ ".vercel",
5418
+ "bower_components",
5419
+ ".netlify",
5420
+ ".vuepress",
5421
+ ".quasar",
5422
+ ".output",
5423
+ ".angular",
5424
+ "jspm_packages",
5425
+ ".parcel-cache",
5426
+ ".rollup.cache",
5427
+ ".rspack",
5428
+ ".vitepress",
5429
+ // --- Python & Data Science Brain Melting ---
5430
+ "__pycache__",
5431
+ ".pytest_cache",
5432
+ ".mypy_cache",
5433
+ ".tox",
5434
+ ".poetry",
5435
+ "env",
5436
+ "vhdl",
5437
+ ".ipynb_checkpoints",
5438
+ ".jupyter",
5439
+ ".conda",
5440
+ ".pdm-build",
5441
+ // --- Ruby / PHP / Go / Rust / Java / C++ / C# ---
5442
+ ".bundle",
5443
+ ".yardoc",
5444
+ ".metadata",
5445
+ "App_Data",
5446
+ "ClientBin",
5447
+ ".cargo",
5448
+ ".rustc_info",
5449
+ ".go",
5450
+ "Godeps",
5451
+ "_vendor",
5452
+ ".rake_tasks",
5453
+ "CMakefiles",
5454
+ ".wakatime",
5455
+ // --- Mobile Dev Madness (Android / iOS / Flutter) ---
5456
+ ".dart_tool",
5457
+ ".fvm",
5458
+ ".cocoapods",
5459
+ "Pods",
5460
+ ".pub-cache",
5461
+ ".symlinks",
5462
+ "DerivedData",
5463
+ ".xcworkspace",
5464
+ // --- Containers, Cloud & Database Dumps ---
5465
+ ".serverless",
5466
+ ".aws",
5467
+ ".gcloud",
5468
+ ".azure",
5469
+ ".kube",
5470
+ ".vagrant",
5471
+ ".docker",
5472
+ "postgres-data",
5473
+ "redis-data",
5474
+ "mongo-data",
5475
+ // --- OS & System Trash (The Ultimate Sinners) ---
5476
+ ".Spotlight-V100",
5477
+ ".Trashes",
5478
+ "$RECYCLE.BIN",
5479
+ "System Volume Information",
5480
+ ".DocumentRevisions-V100",
5481
+ ".fseventsd",
5482
+ // --- Windows AppData & System Clutter ---
5483
+ "AppData",
5484
+ "Application Data",
5485
+ "Local",
5486
+ "LocalLow",
5487
+ "Roaming",
5488
+ "$WinREAgent",
5489
+ "$WINDOWS.~BT",
5490
+ "$WINDOWS.~WS",
5491
+ "scw",
5492
+ "System32",
5493
+ "SysWOW64",
5494
+ // --- macOS Specific Garbage ---
5495
+ ".AppleDouble",
5496
+ ".AppleDB",
5497
+ ".AppleDesktop",
5498
+ "_CodeSignature",
5499
+ ".cmio",
5500
+ ".LSOverride",
5501
+ ".localized",
5502
+ ".TemporaryItems",
5503
+ // --- Linux / Desktop Environment Junk ---
5504
+ ".Trash",
5505
+ ".Trash-0",
5506
+ ".Trash-1000",
5507
+ ".gvfs",
5508
+ ".local",
5509
+ ".config",
5510
+ ".dbus",
5511
+ ".fontconfig",
5512
+ ".snap",
5513
+ ".var",
5514
+ ".lost+found",
5515
+ "lost+found",
5516
+ ".thumb",
5517
+ ".thumbnails",
5518
+ // --- Dual-Boot / Bootloader Stuff ---
5519
+ "EFI",
5520
+ "boot",
5521
+ "grub",
5522
+ // --- Linters, Formatters, Logs & QA ---
5523
+ "logs",
5524
+ "log",
5525
+ ".nyc_output",
5526
+ ".sonar",
5527
+ ".ruff_cache"
5528
+ ];
5377
5529
  const safeReaddirWithTypes = (dir) => {
5378
5530
  try {
5379
5531
  return fs16.readdirSync(dir, { withFileTypes: true });
@@ -5449,13 +5601,16 @@ ${newMemoryListStr}
5449
5601
  yield { type: "status", content: "Gathering Context..." };
5450
5602
  await new Promise((resolve) => setTimeout(resolve, 500));
5451
5603
  const totalFolders = countFolders(process.cwd());
5452
- let dynamicMaxDepth = 7;
5604
+ let dynamicMaxDepth = 12;
5453
5605
  if (totalFolders > 4096) dynamicMaxDepth = 1;
5454
5606
  else if (totalFolders > 3072) dynamicMaxDepth = 2;
5455
5607
  else if (totalFolders > 2048) dynamicMaxDepth = 3;
5456
5608
  else if (totalFolders > 1024) dynamicMaxDepth = 4;
5457
5609
  else if (totalFolders > 512) dynamicMaxDepth = 6;
5458
5610
  else if (totalFolders > 256) dynamicMaxDepth = 7;
5611
+ else if (totalFolders > 128) dynamicMaxDepth = 8;
5612
+ else if (totalFolders > 64) dynamicMaxDepth = 9;
5613
+ else if (totalFolders > 32) dynamicMaxDepth = 10;
5459
5614
  let dirStructure = totalFolders > 6144 ? `FileSystem length exceeded for indexing` : process.cwd() + "\n" + getDirTree(process.cwd(), dynamicMaxDepth);
5460
5615
  const firstUserMsg = `[SYSTEM METADATA (PRIORITY: DYNAMIC)] Time: ${dateTimeStr} | v${versionFluxflow2}
5461
5616
  CWD: ${process.cwd()}
@@ -6499,6 +6654,7 @@ var init_UpdateProcessor = __esm({
6499
6654
  try {
6500
6655
  const ptyModule = await import("node-pty");
6501
6656
  pty2 = ptyModule.default || ptyModule;
6657
+ pty2 = false;
6502
6658
  } catch (err) {
6503
6659
  }
6504
6660
  SPINNER_FRAMES = ["\u280B", "\u2819", "\u2839", "\u2838", "\u283C", "\u2834", "\u2826", "\u2827", "\u2807", "\u280F"];
@@ -6623,10 +6779,10 @@ var init_UpdateProcessor = __esm({
6623
6779
  }, []);
6624
6780
  if (status === "initializing" || status === "downloading") {
6625
6781
  const frame = SPINNER_FRAMES[Math.floor(tick / 3) % SPINNER_FRAMES.length];
6626
- return /* @__PURE__ */ React11.createElement(Box11, { flexDirection: "column", borderStyle: "round", borderColor: "cyan", paddingX: 2, paddingY: 1 }, /* @__PURE__ */ React11.createElement(Box11, null, /* @__PURE__ */ React11.createElement(Text11, { color: "magenta" }, frame), /* @__PURE__ */ React11.createElement(Text11, { marginLeft: 1, bold: true }, " Updating Flux Flow to v", latest, "...")), /* @__PURE__ */ React11.createElement(Box11, { marginTop: 1, paddingX: 1, borderStyle: "single", borderColor: "#333" }, /* @__PURE__ */ React11.createElement(Text11, { color: "gray", dimColor: true, italic: true }, log || "Preparing environment...")), /* @__PURE__ */ React11.createElement(Text11, { marginTop: 1, dimColor: true }, "(Please do not close the terminal)"));
6782
+ return /* @__PURE__ */ React11.createElement(Box11, { flexDirection: "column", borderStyle: "round", borderColor: "cyan", paddingX: 2, paddingY: 1 }, /* @__PURE__ */ React11.createElement(Box11, null, /* @__PURE__ */ React11.createElement(Text11, { color: "magenta" }, frame), /* @__PURE__ */ React11.createElement(Text11, { marginLeft: 1, bold: true }, " Updating Flux Flow to v", latest, "...")), /* @__PURE__ */ React11.createElement(Box11, { marginTop: 1, paddingX: 1, borderStyle: "single", borderColor: "#333" }, /* @__PURE__ */ React11.createElement(Text11, { color: "gray", italic: true }, log || "Preparing environment...")), /* @__PURE__ */ React11.createElement(Text11, { marginTop: 1, dimColor: true }, "(Please do not close the terminal)"));
6627
6783
  }
6628
6784
  if (status === "success") {
6629
- return /* @__PURE__ */ React11.createElement(Box11, { flexDirection: "column", borderStyle: "round", borderColor: "green", paddingX: 2, paddingY: 1 }, /* @__PURE__ */ React11.createElement(Text11, { color: "green", bold: true }, "\u2705 UPDATE SUCCESSFUL!"), /* @__PURE__ */ React11.createElement(Text11, { marginTop: 1 }, "Flux Flow has been updated to ", /* @__PURE__ */ React11.createElement(Text11, { color: "cyan" }, "v", latest), "."), /* @__PURE__ */ React11.createElement(Text11, { marginTop: 1, color: "yellow", bold: true }, "CRITICAL: Please restart your terminal session to apply changes."), /* @__PURE__ */ React11.createElement(Box11, { marginTop: 1 }, /* @__PURE__ */ React11.createElement(Text11, { dimColor: true }, "(Press ESC to return to chat)")));
6785
+ return /* @__PURE__ */ React11.createElement(Box11, { flexDirection: "column", borderStyle: "round", borderColor: "green", paddingX: 2, paddingY: 1 }, /* @__PURE__ */ React11.createElement(Text11, { color: "green", bold: true }, "\u2705 UPDATE SUCCESSFUL!"), /* @__PURE__ */ React11.createElement(Text11, { marginTop: 1 }, "Flux Flow has been updated to ", /* @__PURE__ */ React11.createElement(Text11, { color: "cyan" }, "v", latest), "."), /* @__PURE__ */ React11.createElement(Text11, { marginTop: 1, color: "yellow", bold: true }, "Please restart your terminal session to apply changes."), /* @__PURE__ */ React11.createElement(Box11, { marginTop: 1 }, /* @__PURE__ */ React11.createElement(Text11, { dimColor: true }, "(Press ESC to return to chat)")));
6630
6786
  }
6631
6787
  if (status === "error") {
6632
6788
  return /* @__PURE__ */ React11.createElement(Box11, { flexDirection: "column", borderStyle: "round", borderColor: "red", paddingX: 2, paddingY: 1 }, /* @__PURE__ */ React11.createElement(Text11, { color: "red", bold: true }, "\u274C UPDATE FAILED"), /* @__PURE__ */ React11.createElement(Box11, { marginTop: 1, paddingX: 1, borderStyle: "single", borderColor: "red" }, /* @__PURE__ */ React11.createElement(Text11, { color: "red" }, error)), /* @__PURE__ */ React11.createElement(Text11, { marginTop: 1 }, "Possible causes:"), /* @__PURE__ */ React11.createElement(Text11, null, "\u2022 Missing permissions (Try running as Administrator/Sudo)"), /* @__PURE__ */ React11.createElement(Text11, null, "\u2022 Package manager (", settings.updateManager, ") not found"), /* @__PURE__ */ React11.createElement(Text11, null, "\u2022 Network failure"), /* @__PURE__ */ React11.createElement(Box11, { marginTop: 1 }, /* @__PURE__ */ React11.createElement(Text11, { dimColor: true }, "(Press ESC to return to chat)")));
@@ -8998,7 +9154,7 @@ Selection: ${val}`,
8998
9154
  }
8999
9155
  )));
9000
9156
  default:
9001
- return /* @__PURE__ */ React13.createElement(Box13, { flexDirection: "column", marginTop: 1, flexShrink: 0, width: "100%" }, /* @__PURE__ */ React13.createElement(Box13, { paddingX: 1, marginBottom: 0, justifyContent: "space-between", width: "100%" }, /* @__PURE__ */ React13.createElement(Box13, null, statusText ? /* @__PURE__ */ React13.createElement(Box13, null, isSpinnerActive && /* @__PURE__ */ React13.createElement(StatusSpinner, null), /* @__PURE__ */ React13.createElement(Text13, { color: "magenta", bold: true, italic: true }, isSpinnerActive ? " " : "", statusText.toUpperCase())) : /* @__PURE__ */ React13.createElement(Text13, { color: "cyan", dimColor: true, italic: true }, " ", input.length > 0 && escPressCount ? "Press ESC again to clear input" : "READY FOR COMMAND...")), /* @__PURE__ */ React13.createElement(Box13, null, /* @__PURE__ */ React13.createElement(Text13, { color: "gray", bold: true }, "[ "), /* @__PURE__ */ React13.createElement(Text13, { color: "white" }, tempModelOverride || activeModel), /* @__PURE__ */ React13.createElement(Text13, { color: "gray", bold: true }, " ]"))), /* @__PURE__ */ React13.createElement(
9157
+ return /* @__PURE__ */ React13.createElement(Box13, { flexDirection: "column", marginTop: 1, flexShrink: 0, width: "100%" }, /* @__PURE__ */ React13.createElement(Box13, { paddingX: 1, marginBottom: 0, justifyContent: "space-between", width: "100%" }, /* @__PURE__ */ React13.createElement(Box13, null, statusText ? /* @__PURE__ */ React13.createElement(Box13, null, isSpinnerActive && !isSpinnerActive && /* @__PURE__ */ React13.createElement(StatusSpinner, null), /* @__PURE__ */ React13.createElement(Text13, { color: "magenta", bold: true, italic: true }, isSpinnerActive && !isSpinnerActive ? " " : "", statusText.toUpperCase())) : /* @__PURE__ */ React13.createElement(Text13, { color: "cyan", dimColor: true, italic: true }, " ", input.length > 0 && escPressCount ? "Press ESC again to clear input" : "READY FOR COMMAND...")), /* @__PURE__ */ React13.createElement(Box13, null, /* @__PURE__ */ React13.createElement(Text13, { color: "gray", bold: true }, "[ "), /* @__PURE__ */ React13.createElement(Text13, { color: "white" }, tempModelOverride || activeModel), /* @__PURE__ */ React13.createElement(Text13, { color: "gray", bold: true }, " ]"))), /* @__PURE__ */ React13.createElement(
9002
9158
  Box13,
9003
9159
  {
9004
9160
  borderStyle: "round",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "fluxflow-cli",
3
- "version": "1.18.12",
4
- "date": "2026-05-31",
3
+ "version": "1.18.13",
4
+ "date": "2026-06-01",
5
5
  "description": "A high-fidelity agentic terminal assistant for the Flux Era.",
6
6
  "keywords": [
7
7
  "ai",