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

Class AgentIdentityJson

atomic-cli/src/commands/agent/status.rs:114–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112/// The effective agent identity, as data.
113#[derive(Debug, Serialize)]
114struct 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
123impl AgentStatus {
124 /// Create a default instance for testing.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected