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

Method get

packages/opencode-atomic-hooks/src/session.ts:90–90  ·  view source on GitHub ↗

* Get the session state for `id`, creating it if it doesn't exist. * * This is the primary access method. Callers never need to check * existence before reading — `get` always returns a valid state.

(id: string)

Source from the content-addressed store, hash-verified

88 * existence before reading — `get` always returns a valid state.
89 */
90 get(id: string): SessionState
91
92 /**
93 * Check whether a session exists without creating it.

Callers 15

list_stashesMethod · 0.65
fetch_latestFunction · 0.65
varMethod · 0.65
resolve_workspaceFunction · 0.65
memory_path_from_nodeFunction · 0.65
frontmatter_kindFunction · 0.65
frontmatter_statusFunction · 0.65
frontmatter_stringFunction · 0.65
frontmatter_labelsFunction · 0.65
render_mdFunction · 0.65
load_attestationFunction · 0.65

Calls

no outgoing calls