@zachjxyz/moxie 0.2.1 → 0.2.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.
Files changed (2) hide show
  1. package/bin/moxie +9 -2
  2. package/package.json +1 -1
package/bin/moxie CHANGED
@@ -16,8 +16,15 @@
16
16
 
17
17
  set -euo pipefail
18
18
 
19
- MOXIE_VERSION="0.2.0"
20
- MOXIE_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
19
+ MOXIE_VERSION="0.2.2"
20
+ # Resolve symlinks (npm installs bin as a symlink)
21
+ _self="$0"
22
+ while [ -L "$_self" ]; do
23
+ _dir="$(cd "$(dirname "$_self")" && pwd)"
24
+ _self="$(readlink "$_self")"
25
+ [[ "$_self" != /* ]] && _self="$_dir/$_self"
26
+ done
27
+ MOXIE_ROOT="$(cd "$(dirname "$_self")/.." && pwd)"
21
28
  MOXIE_LIB="$MOXIE_ROOT/lib"
22
29
 
23
30
  # Source core library
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zachjxyz/moxie",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Run multiple AI coding agents (Claude, Codex, Qwen) through spec-driven phases with unanimous quorum convergence",
5
5
  "bin": {
6
6
  "moxie": "bin/moxie"