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
clean_up_local_configFunction · 0.65
get_imported_shasMethod · 0.65
runMethod · 0.65
import_shape_for_fileFunction · 0.65
build_graph_first_changeFunction · 0.65

Calls

no outgoing calls