fluxflow-cli 1.18.7 → 1.18.8
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/dist/fluxflow.js +5 -5
- package/package.json +1 -1
package/dist/fluxflow.js
CHANGED
|
@@ -5347,12 +5347,12 @@ ${newMemoryListStr}
|
|
|
5347
5347
|
try {
|
|
5348
5348
|
const files = fs16.readdirSync(dir);
|
|
5349
5349
|
const sep = path15.sep;
|
|
5350
|
-
if (files.length >
|
|
5351
|
-
return `${prefix}\u2514\u2500\u2500 ${path15.basename(dir)}${sep}
|
|
5350
|
+
if (files.length > 100) {
|
|
5351
|
+
return `${prefix}\u2514\u2500\u2500 ${path15.basename(dir)}${sep} ...100+ files...
|
|
5352
5352
|
`;
|
|
5353
5353
|
}
|
|
5354
5354
|
let result = "";
|
|
5355
|
-
const COLLAPSED_DIRS = [".git", "node_modules", ".gemini", "dist", "build", ".next", "out", ".cache", "bin", "obj", "vendor"];
|
|
5355
|
+
const COLLAPSED_DIRS = [".git", "node_modules", ".gemini", "dist", "build", ".next", "out", ".cache", "bin", "obj", "vendor", "venv", ".idea", ".gradle", ".terraform", "target", "coverage", ".vscode"];
|
|
5356
5356
|
const filtered = files.filter((f) => !COLLAPSED_DIRS.includes(f));
|
|
5357
5357
|
const collapsedInDir = files.filter((f) => COLLAPSED_DIRS.includes(f)).sort();
|
|
5358
5358
|
const sorted = filtered.sort((a, b) => {
|
|
@@ -5380,8 +5380,8 @@ ${newMemoryListStr}
|
|
|
5380
5380
|
const stat = fs16.statSync(filePath);
|
|
5381
5381
|
if (stat.isDirectory()) {
|
|
5382
5382
|
const subFiles = fs16.readdirSync(filePath);
|
|
5383
|
-
if (subFiles.length > 80 || depth
|
|
5384
|
-
result += `${prefix}${connector}${file}${sep}
|
|
5383
|
+
if (subFiles.length > 80 || depth > 7) {
|
|
5384
|
+
result += `${prefix}${connector}${file}${sep} ...depth exceeded...
|
|
5385
5385
|
`;
|
|
5386
5386
|
} else {
|
|
5387
5387
|
result += `${prefix}${connector}${file}${sep}
|