@zachjxyz/moxie 0.2.3 → 0.2.4
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/moxie +1 -1
- package/lib/agents.sh +7 -8
- package/lib/phases.sh +3 -2
- package/package.json +1 -1
package/bin/moxie
CHANGED
package/lib/agents.sh
CHANGED
|
@@ -211,15 +211,14 @@ cmd_doctor() {
|
|
|
211
211
|
echo "Dependencies:"
|
|
212
212
|
_check_dep "python3" "Required for ledger parsing and token tracking" || all_ok=0
|
|
213
213
|
_check_dep "caffeinate" "Keeps machine awake during runs (macOS)" || true # non-fatal
|
|
214
|
-
if
|
|
215
|
-
if command -v gtimeout &>/dev/null; then
|
|
216
|
-
echo " [OK] gtimeout (aliased as timeout)"
|
|
217
|
-
else
|
|
218
|
-
echo " [!!] timeout — not found. Install coreutils: brew install coreutils"
|
|
219
|
-
echo " Agent turns will have no timeout protection."
|
|
220
|
-
fi
|
|
221
|
-
else
|
|
214
|
+
if command -v timeout &>/dev/null; then
|
|
222
215
|
echo " [OK] timeout"
|
|
216
|
+
elif command -v gtimeout &>/dev/null; then
|
|
217
|
+
echo " [OK] coreutils (gtimeout aliased as timeout)"
|
|
218
|
+
else
|
|
219
|
+
echo " [!!] coreutils — not found. Install: brew install coreutils"
|
|
220
|
+
echo " Provides timeout protection for agent turns (gtimeout)."
|
|
221
|
+
all_ok=0
|
|
223
222
|
fi
|
|
224
223
|
echo ""
|
|
225
224
|
|
package/lib/phases.sh
CHANGED
|
@@ -378,11 +378,12 @@ TOML
|
|
|
378
378
|
|
|
379
379
|
echo ""
|
|
380
380
|
echo "Next steps:"
|
|
381
|
-
echo " 1.
|
|
381
|
+
echo " 1. Run: moxie doctor (verify dependencies and environment)"
|
|
382
|
+
echo " 2. Review .moxie/config.toml (agent commands, timeouts)"
|
|
382
383
|
if [ ! -d "$MOXIE_DIR/context" ] || [ -z "$(ls -A "$MOXIE_DIR/context" 2>/dev/null)" ]; then
|
|
383
384
|
echo " Tip: add context docs to .moxie/context/ (roadmaps, PRDs, etc.)"
|
|
384
385
|
fi
|
|
385
|
-
echo "
|
|
386
|
+
echo " 3. Run: moxie start (background, caffeinated)"
|
|
386
387
|
echo " Or: moxie run (foreground, caffeinated)"
|
|
387
388
|
}
|
|
388
389
|
|
package/package.json
CHANGED