aiblueprint-cli 1.4.11 → 1.4.12

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/cli.js +20 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -35784,17 +35784,33 @@ async function analyzeCategory(category, claudeDir, githubToken) {
35784
35784
  }
35785
35785
  }
35786
35786
  }
35787
+ const deletedPaths = new Set;
35787
35788
  for (const localPath of localSet) {
35788
35789
  if (!remoteSet.has(localPath)) {
35790
+ const pathParts = localPath.split("/");
35791
+ const parentAlreadyDeleted = pathParts.some((_4, idx) => {
35792
+ if (idx === 0)
35793
+ return false;
35794
+ const parentPath = pathParts.slice(0, idx).join("/");
35795
+ return deletedPaths.has(parentPath);
35796
+ });
35797
+ if (parentAlreadyDeleted) {
35798
+ continue;
35799
+ }
35789
35800
  const fullPath = path19.join(localDir, localPath);
35790
35801
  const stat = await import_fs_extra17.default.stat(fullPath).catch(() => null);
35791
- if (stat && !stat.isDirectory()) {
35802
+ if (stat) {
35803
+ const isFolder = stat.isDirectory();
35792
35804
  items.push({
35793
35805
  name: localPath,
35794
35806
  relativePath: `${category}/${localPath}`,
35795
35807
  status: "deleted",
35796
- category
35808
+ category,
35809
+ isFolder
35797
35810
  });
35811
+ if (isFolder) {
35812
+ deletedPaths.add(localPath);
35813
+ }
35798
35814
  }
35799
35815
  }
35800
35816
  }
@@ -35988,7 +36004,8 @@ function formatItem(item) {
35988
36004
  deleted: source_default.red,
35989
36005
  unchanged: source_default.gray
35990
36006
  };
35991
- return `${icons[item.status]} ${colors12[item.status](item.relativePath)}`;
36007
+ const folderPrefix = item.isFolder ? "\uD83D\uDCC1 " : "";
36008
+ return `${icons[item.status]} ${folderPrefix}${colors12[item.status](item.relativePath)}`;
35992
36009
  }
35993
36010
  function groupByCategory(items) {
35994
36011
  const grouped = new Map;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aiblueprint-cli",
3
- "version": "1.4.11",
3
+ "version": "1.4.12",
4
4
  "description": "AIBlueprint CLI for setting up Claude Code configurations",
5
5
  "author": "AIBlueprint",
6
6
  "license": "MIT",