fix(cli): print init follow-up commands that work after npx
Merged
KJ
8d ago+73+73+01234567890123456789-23-23-01234567890123456789
relay isn't on PATH after npx -y agent-relay@next init, but init printed relay agent list, relay message ..., relay init --hosted, relay workspace switch ... and similar. When the CLI runs from the npx cache, those hints now print the matching npx -y <package> ... command. Other runs keep relay ....
Detection reuses isEphemeralPath on process.argv[1], so a globally installed relay is unaffected.
init.test.ts passes 177/177 and lint has 0 errors. The worktree's packages aren't built, so tsc reported only unresolved workspace modules there; CI runs the full typecheck.
🤖 Generated with Claude Code
![View with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v3-3x.png)
![Autofix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png)
Need help on this PR? Tag @codesmith-bot with what you need.
Agent Relay sessions
claudesessionaf3f5bcf· opened viagh pr create· last active 2026-10-31