@ivannikov-pro/ai-context-surgeon 1.0.1 → 1.0.2

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/bin/cli.js CHANGED
@@ -204,7 +204,7 @@ program
204
204
  program
205
205
  .command("radar [targetDir]")
206
206
  .description("Run Radar Scan — generate semantic FNH map of the repository")
207
- .option("-d, --depth <level>", "Limit scan depth (e.g. 1, 2, all)")
207
+ .option("-d, --depth <level>", "Limit scan depth (e.g. 1, 2, all)", "all")
208
208
  .option("--no-legend", "Output pure text map without format legend")
209
209
  .action(async (targetDir, options) => {
210
210
  const dir = targetDir || ".";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ivannikov-pro/ai-context-surgeon",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "AI-native Knowledge API for surgical monorepo restructuring — roles, strategies, prompts, and analysis tools accessible on-demand",
5
5
  "files": [
6
6
  "bin",
package/tools/scan-fnh.sh CHANGED
@@ -98,7 +98,7 @@ else
98
98
  if git rev-parse --is-inside-work-tree >/dev/null 2>&1; then
99
99
  FILES=$(git ls-files | grep -E "$EXT_REGEX" | grep -vE '(package-lock\.json|yarn\.lock|pnpm-lock\.yaml)' || true)
100
100
  else
101
- FILES=$(find . -type d \( -name node_modules -o -name dist -o -name .git -o -name coverage \) -prune -o -type f -print | sed 's|^\./||' | grep -E "$EXT_REGEX" | grep -vE '(package-lock\.json|yarn\.lock|pnpm-lock\.yaml)' || true)
101
+ FILES=$(find . -type d \( -name node_modules -o -name dist -o -name .git -o -name coverage \) -prune -o -type f -print 2>/dev/null | sed 's|^\./||' | grep -E "$EXT_REGEX" | grep -vE '(package-lock\.json|yarn\.lock|pnpm-lock\.yaml)' || true)
102
102
  fi
103
103
 
104
104
  if [[ "$DEPTH" != "all" && "$DEPTH" =~ ^[0-9]+$ ]]; then