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

Method from_event

atomic-agent/src/hook_log.rs:34–36  ·  view source on GitHub ↗
(event: &crate::event::TurnEvent)

Source from the content-addressed store, hash-verified

32 }
33
34 pub fn from_event(event: &crate::event::TurnEvent) -> Self {
35 Self::from_event_payload(event).with_environment()
36 }
37
38 /// Service-side extraction must use caller fields, never daemon env vars.
39 pub fn from_event_payload(event: &crate::event::TurnEvent) -> Self {

Callers

nothing calls this directly

Calls 1

with_environmentMethod · 0.80

Tested by

no test coverage detected