* fix: auto-detect free port in ao start <url> config generation When generating a new config via `ao start <url>`, auto-detect a free port instead of hardcoding 3000. Reuses `findFreePort` (extracted to shared web-dir.ts from init.ts). When port was auto-selected, skip the strict preflight port check and silently find another free port if needed (race condition). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: add polling to listIssues integration test for Linear API consistency The listIssues test was failing because Linear's API has eventual consistency — a just-created issue may not appear in list queries immediately. Other tests in this file already use pollUntilEqual for the same reason. Use pollUntil to retry until the issue appears. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: restore coupling between MAX_PORT_SCAN and findFreePort MAX_PORT_SCAN was decoupled from findFreePort after extraction to web-dir.ts — init.ts kept a local constant only used in messages while findFreePort had its own default, and start.ts hardcoded 99. Export MAX_PORT_SCAN from web-dir.ts as the single source of truth, use it as findFreePort's default parameter, and import it in both callers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| commands | ||
| lib | ||