agent-orchestrator/packages/cli/__tests__/commands
Ashish Huddar d8b8645bc7
fix(cli): ao start navigates to session page instead of orchestrator selection (#958)
* fix(cli): ao start navigates to session page instead of orchestrator selection

When ao start finds existing orchestrators, it now auto-selects the most
recently active one and opens /sessions/{id} directly, rather than the
/orchestrators selection page. This matches the behavior users expect:
landing on the agent terminal immediately on startup.

Closes #954

* fix(cli): navigate to session page for single orchestrator, selection page for multiple

When ao start finds existing orchestrators:
- 1 orchestrator: navigate directly to /sessions/{id} (fix for #954)
- 2+ orchestrators: keep /orchestrators?project={id} selection page so users
  can choose among sessions or spawn a new one — the main dashboard only
  links one orchestrator per project, making the selection page the only
  startup path for multi-orchestrator projects.

Addresses review feedback on #958.
2026-04-07 09:48:41 +05:30
..
dashboard.test.ts refactor: delegate CLI commands to core SessionManager (#88) 2026-02-18 14:30:17 +05:30
doctor.test.ts feat(cli): add plugin resolution checks to ao doctor 2026-04-01 06:39:14 +05:30
init.test.ts Resolve remaining PR review comments 2026-03-17 15:51:02 +05:30
open.test.ts feat: seamless onboarding with enhanced documentation (#66) 2026-02-16 22:22:13 +05:30
plugin.test.ts fix: resolve lint errors in plugin, start, and test files 2026-03-31 05:05:50 +05:30
review-check.test.ts feat: add PR claim flow for agent sessions (#326) 2026-03-07 03:54:19 +05:30
send.test.ts use plugin store for shared loader paths 2026-03-31 04:02:25 +05:30
session.test.ts revert: remove model rate-limit pause functionality (PR #367) (#908) 2026-04-06 14:58:41 +05:30
setup.test.ts fix(notifier): remove desktop notifications from default configs (#962) 2026-04-07 08:59:51 +05:30
spawn.test.ts fix: detect nested project directories in CLI auto-resolution 2026-04-01 18:28:57 +05:30
start.test.ts fix(cli): ao start navigates to session page instead of orchestrator selection (#958) 2026-04-07 09:48:41 +05:30
status.test.ts fix(cli/status): validate --interval only when --watch is used 2026-04-01 11:05:30 +05:30
update.test.ts feat: add doctor and update maintenance tooling (#437) 2026-03-12 20:59:22 +05:30