| 35 | /// and the current state of the file watcher. |
| 36 | #[derive(Debug, Args)] |
| 37 | pub struct AgentStatus { |
| 38 | /// Show detailed session information. |
| 39 | /// |
| 40 | /// When enabled, shows per-session details including turn count, |
| 41 | /// files touched, duration, and first prompt. |
| 42 | #[arg(short, long)] |
| 43 | verbose: bool, |
| 44 | |
| 45 | /// Print JSON. |
| 46 | /// |
| 47 | /// The human output is a report; this is the same facts as data, for |
| 48 | /// callers that need to *decide* something — a tool asking "does this agent |
| 49 | /// have hooks installed, and should I install them before recording a run?" |
| 50 | /// had no option but to scrape the ✓/○ lines, which are prose and free to |
| 51 | /// change. `--verbose` is ignored here: JSON always carries the full detail. |
| 52 | #[arg(long)] |
| 53 | json: bool, |
| 54 | } |
| 55 | |
| 56 | /// One agent the registry knows about, and where it stands in this repository. |
| 57 | #[derive(Debug, Serialize)] |
nothing calls this directly
no outgoing calls
no test coverage detected