MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / AgentAuthorOptions

Class AgentAuthorOptions

atomic-agent/src/identity.rs:55–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53/// Options for resolving an agent author identity.
54#[derive(Debug, Clone)]
55pub 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected