baro-ai 0.3.2 → 0.3.3

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/bin/baro +12 -1
  2. package/package.json +1 -1
package/bin/baro CHANGED
@@ -2,7 +2,18 @@
2
2
  # Wrapper script that finds and runs the baro native binary.
3
3
  # The native binary is downloaded by postinstall.js as baro-native.
4
4
 
5
- SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
5
+ # Resolve symlinks to find the real script location
6
+ SELF="$0"
7
+ while [ -L "$SELF" ]; do
8
+ DIR="$(cd "$(dirname "$SELF")" && pwd)"
9
+ SELF="$(readlink "$SELF")"
10
+ case "$SELF" in
11
+ /*) ;;
12
+ *) SELF="$DIR/$SELF" ;;
13
+ esac
14
+ done
15
+ SCRIPT_DIR="$(cd "$(dirname "$SELF")" && pwd)"
16
+
6
17
  NATIVE="$SCRIPT_DIR/baro-native"
7
18
 
8
19
  if [ ! -f "$NATIVE" ]; then
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "baro-ai",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Autonomous parallel coding - plan and execute with AI",
5
5
  "type": "module",
6
6
  "bin": {