agent-orchestrator/packages/cli/__tests__/commands
Prateek a20766a8ec test: comprehensive activity detection coverage
- activity-detection.test.ts: 42+ tests covering path encoding,
  getActivityState edge cases (exited/null/fallback), real Claude Code
  JSONL types, agent interface spec types, staleness thresholds,
  JSONL file selection, and realistic session sequences.
- status.test.ts: plugin delegation tests — verifies CLI uses
  agent.getActivityState() as single source of truth, passes
  readyThresholdMs from config, falls back to metadata on null/throw.
- Integration tests: updated type expectations for null returns from
  codex, opencode, and aider; added "ready" to valid state lists.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 02:12:11 +05:30
..
init.test.ts feat: implement CLI with all commands (init, status, spawn, session, send, review-check, dashboard, open) (#6) 2026-02-14 16:14:27 +05:30
open.test.ts feat: seamless onboarding with enhanced documentation (#66) 2026-02-16 22:22:13 +05:30
review-check.test.ts fix: migrate to hash-based project isolation architecture 2026-02-18 00:19:55 +05:30
send.test.ts feat: seamless onboarding with enhanced documentation (#66) 2026-02-16 22:22:13 +05:30
session.test.ts fix: clean up hash-based test directories in afterEach (#86) 2026-02-18 01:38:48 +05:30
status.test.ts test: comprehensive activity detection coverage 2026-02-18 02:12:11 +05:30