agent-orchestrator/packages/cli/src/lib
Prateek dac29d9d11 feat: add `ao session table` command + shared SCM helper
Adds a deterministic, machine-readable table command for orchestrator
agents to query session state without parsing human-formatted output.

Changes:
- Add `ao session table [-p project] [--json]` subcommand with columns:
  SESSION, STATUS, ACTIVITY, PR, CI, BUGBOT, SESSION_URL, PR_URL
- Extract detectSessionPR() into shared lib/scm-data.ts to eliminate
  duplicate PR detection logic between status.ts and session.ts
- Add orchestrator prompt section documenting session table usage
- Add tip #9: no markdown links in terminal output
- Add output format tests (no ANSI, column alignment, sort order)
- Clean up integration test: remove duplicate unit test already covered
  by agent-claude-code plugin tests

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-20 19:26:59 +05:30
..
create-session-manager.ts fix: three spawn regressions from PR #88 session-manager refactor (#100) 2026-02-18 17:53:33 +05:30
dashboard-rebuild.ts refactor: delegate CLI commands to core SessionManager (#88) 2026-02-18 14:30:17 +05:30
format.ts fix: activity detection — fix path encoding bug, add ready state (#71) 2026-02-18 03:48:19 +05:30
plugins.ts feat: publish to npm under @composio scope (#32) 2026-02-15 04:28:57 +05:30
project-detection.ts feat: seamless onboarding with enhanced documentation (#66) 2026-02-16 22:22:13 +05:30
scm-data.ts feat: add `ao session table` command + shared SCM helper 2026-02-20 19:26:59 +05:30
session-utils.ts feat: publish to npm under @composio scope (#32) 2026-02-15 04:28:57 +05:30
shell.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
web-dir.ts fix: auto-detect free port in `ao init` instead of hardcoding 3000 (#120) 2026-02-19 07:27:39 +05:30