Skip to content

Add table output to dispatch search #281

Description

@jongio

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestideaFeature idea from the idea pipeline

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions