@zachjxyz/moxie 0.3.1 → 0.3.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.
- package/README.md +1 -1
- package/bin/moxie +1 -1
- package/lib/phases.sh +16 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# moxie
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**M**ixture **o**f E**x**perts **i**n **E**ngineering — spec-driven multi-agent development with quorum convergence.
|
|
4
4
|
|
|
5
5
|
moxie runs multiple AI coding agents through a structured pipeline — RFC, audit, fix, plan, build — where every phase requires unanimous agreement before moving on. Agents independently verify each other's work, catching errors that single-agent workflows miss.
|
|
6
6
|
|
package/bin/moxie
CHANGED
package/lib/phases.sh
CHANGED
|
@@ -441,17 +441,19 @@ AGENTHEAD
|
|
|
441
441
|
local order=1
|
|
442
442
|
|
|
443
443
|
# CLI agents
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
444
|
+
if [ ${#SELECTED_AGENT_INDICES[@]} -gt 0 ]; then
|
|
445
|
+
for idx in "${SELECTED_AGENT_INDICES[@]}"; do
|
|
446
|
+
local name="${KNOWN_AGENT_NAMES[$idx]}"
|
|
447
|
+
local cmd="${KNOWN_AGENT_CMDS[$idx]}"
|
|
448
|
+
cat >> "$config_file" <<AGENT
|
|
448
449
|
[agents.${name}]
|
|
449
450
|
command = '${cmd}'
|
|
450
451
|
order = ${order}
|
|
451
452
|
|
|
452
453
|
AGENT
|
|
453
|
-
|
|
454
|
-
|
|
454
|
+
order=$((order + 1))
|
|
455
|
+
done
|
|
456
|
+
fi
|
|
455
457
|
|
|
456
458
|
# Gateway agents
|
|
457
459
|
for idx in "${SELECTED_GATEWAY_INDICES[@]}"; do
|
|
@@ -568,7 +570,9 @@ cmd_init() {
|
|
|
568
570
|
SELECTED_GATEWAY_INDICES=()
|
|
569
571
|
fi
|
|
570
572
|
|
|
571
|
-
local
|
|
573
|
+
local _cli_count=${#SELECTED_AGENT_INDICES[@]}
|
|
574
|
+
local _gw_count=${#SELECTED_GATEWAY_INDICES[@]}
|
|
575
|
+
local total_selected=$(( _cli_count + _gw_count ))
|
|
572
576
|
if [ "$total_selected" -lt 2 ]; then
|
|
573
577
|
echo "ERROR: At least 2 agents must be selected." >&2
|
|
574
578
|
echo "moxie requires at least 2 agents for cross-model verification." >&2
|
|
@@ -591,9 +595,11 @@ cmd_init() {
|
|
|
591
595
|
|
|
592
596
|
# List selected agents
|
|
593
597
|
echo " Agents:"
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
598
|
+
if [ ${#SELECTED_AGENT_INDICES[@]} -gt 0 ]; then
|
|
599
|
+
for idx in "${SELECTED_AGENT_INDICES[@]}"; do
|
|
600
|
+
echo " - ${KNOWN_AGENT_LABELS[$idx]} (CLI)"
|
|
601
|
+
done
|
|
602
|
+
fi
|
|
597
603
|
for idx in "${SELECTED_GATEWAY_INDICES[@]}"; do
|
|
598
604
|
echo " - ${KNOWN_GATEWAY_LABELS[$idx]} (${KNOWN_GATEWAY_MODELS[$idx]}, AI Gateway)"
|
|
599
605
|
done
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zachjxyz/moxie",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
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"
|