| 112 | /// The effective agent identity, as data. |
| 113 | #[derive(Debug, Serialize)] |
| 114 | struct AgentIdentityJson { |
| 115 | /// The identity's name in the store, e.g. `fred+opencode`. |
| 116 | name: String, |
| 117 | /// Where the selection came from — one of `env`, `global`, |
| 118 | /// `server-profile`. Stable keys; the human labels live in the |
| 119 | /// `agent identity` command. |
| 120 | source: &'static str, |
| 121 | } |
| 122 | |
| 123 | impl AgentStatus { |
| 124 | /// Create a default instance for testing. |
nothing calls this directly
no outgoing calls
no test coverage detected