Skip to content

Commit b5eaa30

Browse files
fix(setup): update end screen with correct npm package name and install paths
Replace node .mex/dist/cli.js commands and npm link tip with three clear install paths: npx promexeus (zero install), global install, and devDependency with package.json scripts.
1 parent 2572c55 commit b5eaa30

1 file changed

Lines changed: 39 additions & 18 deletions

File tree

setup.sh

Lines changed: 39 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -529,20 +529,27 @@ if [ "$SELECTED_CLAUDE" -eq 1 ] && command -v claude &>/dev/null; then
529529
echo ""
530530
ok "Setup complete."
531531
echo ""
532-
header "What's next"
533-
echo ""
534-
info "Verify — start a fresh session and ask:"
532+
info "Verify your scaffold:"
533+
echo " Start a fresh session and ask your AI tool:"
535534
echo " \"Read .mex/ROUTER.md and tell me what you know about this project.\""
536535
echo ""
537-
info "Available commands (run from project root):"
538-
echo " node .mex/dist/cli.js check Drift score — are scaffold files still accurate?"
539-
echo " node .mex/dist/cli.js check --quiet One-liner drift score"
540-
echo " node .mex/dist/cli.js sync Fix drift — AI updates only what's broken"
541-
echo " node .mex/dist/cli.js watch Auto-check drift after every commit"
542-
echo " bash .mex/sync.sh Interactive sync menu"
543-
echo " bash .mex/update.sh Pull latest mex without touching your content"
536+
info "Run commands with npx (no install needed):"
537+
echo " npx promexeus check Drift score"
538+
echo " npx promexeus check --quiet One-liner"
539+
echo " npx promexeus sync Fix drift"
540+
echo " npx promexeus watch Auto-check after every commit"
541+
echo ""
542+
info "Or install globally for shorter commands:"
543+
echo " npm install -g promexeus"
544+
echo " mex check / mex sync / mex watch"
544545
echo ""
545-
info "Tip: run ${BOLD}cd .mex && npm link && cd ..${NC} to use ${BOLD}mex${NC} instead of ${BOLD}node .mex/dist/cli.js${NC}"
546+
info "Or add to your package.json scripts:"
547+
echo " npm install --save-dev promexeus"
548+
echo ""
549+
echo " \"scripts\": {"
550+
echo " \"mex\": \"mex check\","
551+
echo " \"mex:sync\": \"mex sync\""
552+
echo " }"
546553

547554
else
548555
# Fallback — print the prompt for manual use
@@ -570,13 +577,27 @@ else
570577
echo ""
571578
ok "Paste the prompt above into your agent to populate the scaffold."
572579
echo ""
573-
header "After your agent finishes, you can use"
580+
ok "Setup complete."
581+
echo ""
582+
info "Verify your scaffold:"
583+
echo " Start a fresh session and ask your AI tool:"
584+
echo " \"Read .mex/ROUTER.md and tell me what you know about this project.\""
585+
echo ""
586+
info "Run commands with npx (no install needed):"
587+
echo " npx promexeus check Drift score"
588+
echo " npx promexeus check --quiet One-liner"
589+
echo " npx promexeus sync Fix drift"
590+
echo " npx promexeus watch Auto-check after every commit"
591+
echo ""
592+
info "Or install globally for shorter commands:"
593+
echo " npm install -g promexeus"
594+
echo " mex check / mex sync / mex watch"
574595
echo ""
575-
echo " node .mex/dist/cli.js check Drift score — are scaffold files still accurate?"
576-
echo " node .mex/dist/cli.js sync Fix drift — AI updates only what's broken"
577-
echo " node .mex/dist/cli.js watch Auto-check drift after every commit"
578-
echo " bash .mex/sync.sh Interactive sync menu"
579-
echo " bash .mex/update.sh Pull latest mex without touching your content"
596+
info "Or add to your package.json scripts:"
597+
echo " npm install --save-dev promexeus"
580598
echo ""
581-
info "Tip: run ${BOLD}cd .mex && npm link && cd ..${NC} to use ${BOLD}mex${NC} instead of ${BOLD}node .mex/dist/cli.js${NC}"
599+
echo " \"scripts\": {"
600+
echo " \"mex\": \"mex check\","
601+
echo " \"mex:sync\": \"mex sync\""
602+
echo " }"
582603
fi

0 commit comments

Comments
 (0)