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

Method builder

atomic-core/src/change/envelope.rs:242–247  ·  view source on GitHub ↗

Create a new `SessionEnvelopeBuilder` with the required fields. # Arguments `session_id` — Unique session identifier `agent_name` — Agent registry key (e.g., "claude-code")

(
        session_id: impl Into<String>,
        agent_name: impl Into<String>,
    )

Source from the content-addressed store, hash-verified

240 /// * `session_id` — Unique session identifier
241 /// * `agent_name` — Agent registry key (e.g., "claude-code")
242 pub fn builder(
243 session_id: impl Into<String>,
244 agent_name: impl Into<String>,
245 ) -> SessionEnvelopeBuilder {
246 SessionEnvelopeBuilder::new(session_id, agent_name)
247 }
248
249 /// Encode the envelope for storage in `HashedChange.metadata`.
250 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected