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

Method new

atomic-agent/src/hooks/opencode.rs:354–356  ·  view source on GitHub ↗

Create a new OpenCode hook adapter.

()

Source from the content-addressed store, hash-verified

352impl OpenCodeHook {
353 /// Create a new OpenCode hook adapter.
354 pub fn new() -> Self {
355 Self { _private: () }
356 }
357
358 /// Extract a session ID from an optional field, generating a fallback if missing.
359 fn extract_session_id(session_id: Option<String>) -> String {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected