agent-orchestrator/packages
prateek a4a1a32e96
fix: auto-detect free port in ao start <url> config generation (#275)
* 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>
2026-03-03 15:03:20 +05:30
..
agent-orchestrator feat: publish to npm under @composio scope (#32) 2026-02-15 04:28:57 +05:30
cli fix: auto-detect free port in ao start <url> config generation (#275) 2026-03-03 15:03:20 +05:30
core feat: add `ao start <url>` one-command project onboarding (#267) 2026-03-03 13:52:49 +05:30
integration-tests fix: auto-detect free port in ao start <url> config generation (#275) 2026-03-03 15:03:20 +05:30
mobile fix: enable cleartext traffic on Android for local/Tailscale HTTP 2026-03-03 05:17:03 +05:30
plugins fix: cache ps output across sessions to fix 51s dashboard load (#244) 2026-03-01 20:41:03 +05:30
web fix: don't show 'Ready to merge' badge on merged/closed PRs (#274) 2026-03-03 14:46:54 +05:30