| 53 | /// Options for resolving an agent author identity. |
| 54 | #[derive(Debug, Clone)] |
| 55 | pub struct AgentAuthorOptions<'a> { |
| 56 | /// Agent registry key (e.g., "claude-code", "gemini-cli"). |
| 57 | pub agent_name: &'a str, |
| 58 | |
| 59 | /// Human-readable agent name (e.g., "Claude Code"). |
| 60 | pub agent_display_name: &'a str, |
| 61 | |
| 62 | /// The session ID — first 4 hex chars are used as the `+tag` suffix. |
| 63 | pub session_id: &'a str, |
| 64 | |
| 65 | /// Override for the identity store directory. |
| 66 | /// |
| 67 | /// If `None`, uses `~/.atomic/identities/`. Set this for testing. |
| 68 | pub identity_dir: Option<PathBuf>, |
| 69 | } |
| 70 | |
| 71 | // Author Resolution |
| 72 |
nothing calls this directly
no outgoing calls
no test coverage detected