pumuki-ast-hooks 5.5.46 → 5.5.47

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pumuki-ast-hooks",
3
- "version": "5.5.46",
3
+ "version": "5.5.47",
4
4
  "description": "Enterprise-grade AST Intelligence System with multi-platform support (iOS, Android, Backend, Frontend) and Feature-First + DDD + Clean Architecture enforcement. Includes dynamic violations API for intelligent querying.",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -56,7 +56,7 @@ class FileSystemInstallerService {
56
56
  this.copyRecursiveExcluding(source, dest, ['scripts']);
57
57
  } else if (item === 'bin/') {
58
58
  // Exclude wrapper scripts that would cause fork bombs
59
- this.copyRecursiveExcluding(source, dest, ['session-loader.sh', 'cli.js', 'install.js']);
59
+ this.copyRecursiveExcluding(source, dest, ['cli.js', 'install.js']);
60
60
  } else {
61
61
  this.copyRecursive(source, dest);
62
62
  }
@@ -63,16 +63,20 @@ class VSCodeTaskConfigurator {
63
63
  [
64
64
  'ROOT="${workspaceFolder}"',
65
65
  'PRIMARY="$ROOT/scripts/hooks-system/bin/session-loader.sh"',
66
- 'FALLBACK="$ROOT/node_modules/@pumuki/ast-intelligence-hooks/bin/session-loader.sh"',
66
+ 'FALLBACK="$ROOT/node_modules/pumuki-ast-hooks/scripts/hooks-system/bin/session-loader.sh"',
67
+ 'FALLBACK2="$ROOT/node_modules/@pumuki/ast-intelligence-hooks/bin/session-loader.sh"',
67
68
  'if [ -f "$PRIMARY" ]; then',
68
69
  ' exec bash "$PRIMARY"',
69
70
  'elif [ -f "$FALLBACK" ]; then',
70
71
  ' exec bash "$FALLBACK"',
72
+ 'elif [ -f "$FALLBACK2" ]; then',
73
+ ' exec bash "$FALLBACK2"',
71
74
  'else',
72
75
  ' echo "AST Session Loader not found." >&2',
73
76
  ' echo "Tried:" >&2',
74
77
  ' echo " - $PRIMARY" >&2',
75
78
  ' echo " - $FALLBACK" >&2',
79
+ ' echo " - $FALLBACK2" >&2',
76
80
  ' exit 127',
77
81
  'fi'
78
82
  ].join('\n')