@zachjxyz/moxie 0.3.3 → 0.3.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/bin/moxie CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  set -euo pipefail
18
18
 
19
- MOXIE_VERSION="0.3.3"
19
+ MOXIE_VERSION="0.3.5"
20
20
  # Resolve symlinks (npm installs bin as a symlink)
21
21
  _self="$0"
22
22
  while [ -L "$_self" ]; do
@@ -18,7 +18,7 @@ const url = new URL(`${endpoint}/v1/report`);
18
18
  url.searchParams.set('start_date', startDate);
19
19
  url.searchParams.set('end_date', endDate);
20
20
  url.searchParams.set('group_by', 'tag');
21
- url.searchParams.set('filter_tag', 'project:moxie');
21
+ url.searchParams.set('tags', 'project:moxie');
22
22
 
23
23
  const isHttps = url.protocol === 'https:';
24
24
  const mod = isHttps ? https : http;
package/lib/phases.sh CHANGED
@@ -1425,15 +1425,24 @@ cmd_status() {
1425
1425
  local agent_health=""
1426
1426
  local all_healthy=1
1427
1427
  for name in "${AGENT_NAMES[@]}"; do
1428
- local cmd
1429
- cmd=$(_agent_cmd "$name")
1430
- local binary
1431
- binary=$(echo "$cmd" | awk '{print $1}')
1432
- if command -v "$binary" &>/dev/null; then
1433
- agent_health="$agent_health $name[ok]"
1428
+ if _is_gateway_agent "$name"; then
1429
+ if command -v node &>/dev/null && gateway_has_key "vercel-ai-gateway"; then
1430
+ agent_health="$agent_health $name[ok]"
1431
+ else
1432
+ agent_health="$agent_health $name[!!]"
1433
+ all_healthy=0
1434
+ fi
1434
1435
  else
1435
- agent_health="$agent_health $name[!!]"
1436
- all_healthy=0
1436
+ local cmd
1437
+ cmd=$(_agent_cmd "$name")
1438
+ local binary
1439
+ binary=$(echo "$cmd" | awk '{print $1}')
1440
+ if command -v "$binary" &>/dev/null; then
1441
+ agent_health="$agent_health $name[ok]"
1442
+ else
1443
+ agent_health="$agent_health $name[!!]"
1444
+ all_healthy=0
1445
+ fi
1437
1446
  fi
1438
1447
  done
1439
1448
  echo "Agents:$agent_health"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zachjxyz/moxie",
3
- "version": "0.3.3",
3
+ "version": "0.3.5",
4
4
  "description": "Run multiple AI coding agents through spec-driven phases with quorum convergence. Supports CLI agents (Claude, Codex, Qwen, Aider, Goose, Amp, Cline, Roo) and Vercel AI Gateway models.",
5
5
  "bin": {
6
6
  "moxie": "bin/moxie"