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

Method new

atomic-agent/src/hooks/pi.rs:293–295  ·  view source on GitHub ↗

Create a new Pi hook adapter.

()

Source from the content-addressed store, hash-verified

291impl PiHook {
292 /// Create a new Pi hook adapter.
293 pub fn new() -> Self {
294 Self { _private: () }
295 }
296
297 /// Extract a session ID from an optional field, generating a fallback if missing.
298 fn extract_session_id(session_id: Option<String>) -> String {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected