Problem
dispatch search is useful in scripts because it can print JSON or IDs, but it is awkward for a quick terminal read. Users who want a readable list of matching sessions have to pipe JSON through another tool or open the TUI.
Proposed solution
Add --format table and --table to dispatch search. The table should show a compact row per session with ID, last active date, repository, branch, turn count, file count, and summary. Keep JSON as the default and keep --ids unchanged.
Acceptance criteria
dispatch search auth --format table prints a header and one row per matching session.
dispatch search auth --table is a shortcut for the same output.
- Empty table results print a header only and exit 0.
- Existing JSON and ID output keep the same shape.
- Tests cover flag parsing and table output.
Complexity
S
Priority
High
Problem
dispatch searchis useful in scripts because it can print JSON or IDs, but it is awkward for a quick terminal read. Users who want a readable list of matching sessions have to pipe JSON through another tool or open the TUI.Proposed solution
Add
--format tableand--tabletodispatch search. The table should show a compact row per session with ID, last active date, repository, branch, turn count, file count, and summary. Keep JSON as the default and keep--idsunchanged.Acceptance criteria
dispatch search auth --format tableprints a header and one row per matching session.dispatch search auth --tableis a shortcut for the same output.Complexity
S
Priority
High