Adds scripts/try-pr.sh — a helper to switch the global 'ao' command to any session's worktree for manual testing, then restore back to main. Usage: bash scripts/try-pr.sh <session-id> # CLI/core/plugins only bash scripts/try-pr.sh <session-id> --with-web # also builds + starts dashboard bash scripts/try-pr.sh --restore # switch back to main Also fixes isPortAvailable() to use a connect-based probe instead of bind-based. The old approach had false positives on macOS when Next.js listens on :: (IPv6 wildcard) — binding 127.0.0.1 succeeded even though the port was taken. A TCP connect correctly detects any listener regardless of which address it's bound to. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| src | ||
| templates/rules | ||
| package.json | ||
| tsconfig.json | ||
| vitest.config.ts | ||