@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 +1 -1
- package/lib/gateway-cost.mjs +1 -1
- package/lib/phases.sh +17 -8
- package/package.json +1 -1
package/bin/moxie
CHANGED
package/lib/gateway-cost.mjs
CHANGED
|
@@ -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('
|
|
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
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
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
|
-
|
|
1436
|
-
|
|
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
|
+
"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"
|