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

Enum AgentIdentitySource

atomic-cli/src/commands/agent/identity.rs:119–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117/// Where a resolved agent identity came from.
118#[derive(Debug, Clone, Copy, PartialEq, Eq)]
119pub enum AgentIdentitySource {
120 /// The `ATOMIC_AGENT_IDENTITY` environment variable.
121 EnvVar,
122 /// The global `agent_identity` setting in `~/.atomic/config.toml`.
123 GlobalSetting,
124 /// The active server profile's `agent_identity` binding.
125 ServerProfile,
126}
127
128impl std::fmt::Display for AgentIdentitySource {
129 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected