prjct-cli 1.46.4 → 1.46.5

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/CHANGELOG.md CHANGED
@@ -1,12 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.46.5] - 2026-02-21
4
+
5
+ ### Bug Fixes
6
+
7
+ - structural fixes for pattern ranking audit (#221)
8
+
9
+
10
+ ## [1.46.5] - 2026-02-20
11
+
12
+ ### Bug Fixes
13
+
14
+ - structural fixes for pattern ranking
15
+
3
16
  ## [1.46.4] - 2026-02-18
4
17
 
5
18
  ### Bug Fixes
6
19
 
7
20
  - daemon production hardening — WAL checkpoint, log rotation, project cleanup (#220)
8
21
 
9
-
10
22
  ## [1.46.3] - 2026-02-18
11
23
 
12
24
  ### Bug Fixes
package/bin/prjct CHANGED
@@ -157,6 +157,17 @@ main() {
157
157
  if check_bun; then
158
158
  run_with_bun "$@"
159
159
  elif check_node; then
160
+ # Bun not found but Node available — try auto-install Bun (one-time)
161
+ ENSURE_BUN="$ROOT_DIR/scripts/ensure-bun.sh"
162
+ if [ -f "$ENSURE_BUN" ]; then
163
+ sh "$ENSURE_BUN"
164
+ # Re-source PATH in case Bun was just installed
165
+ export BUN_INSTALL="${BUN_INSTALL:-$HOME/.bun}"
166
+ export PATH="$BUN_INSTALL/bin:$PATH"
167
+ if check_bun; then
168
+ run_with_bun "$@"
169
+ fi
170
+ fi
160
171
  run_with_node "$@"
161
172
  else
162
173
  echo "Error: Neither bun nor node is installed."