Skip to content

Add dispatch info <id> for a concise session summary #312

Description

@jongio

dispatch export dumps a full session, every turn included. There is no quick way to see just the shape of a session (what it is, how big it is, what it touched) without opening the TUI or reading the whole export.

Add dispatch info <id> that prints a concise one-screen summary: ID, summary, repository, branch, directory, host, timestamps, and counts for turns, files, checkpoints, and references broken down by commits, PRs, and issues. Add --json for scripting.

Acceptance criteria:

  • info <id> prints a readable summary; empty optional fields are omitted, counts always print.
  • Reference counts are grouped into commits, PRs, and issues.
  • info <id> --json prints the same data as a machine-readable object.
  • A missing session ID exits with a clear error; an unknown ID reports not found.
  • Unit tests cover arg parsing, the count rollup, text output, JSON output, and error paths.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ideaFeature idea from the idea pipeline

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions