ExMCP.ACP.Adapters.Codex.Sessions (ex_mcp v1.0.0-rc.1)
View SourcePure session and thread helpers for the Codex ACP adapter.
Summary
Types
Functions
@spec current_id(store_state()) :: String.t() | nil
@spec empty(String.t() | nil, session_state()) :: session()
@spec fetch(store_state(), String.t()) :: {:ok, session()} | {:error, String.t()}
@spec id_from_params(map(), store_state()) :: String.t() | nil
@spec put(state, String.t() | nil, session()) :: state when state: store_state()
@spec update(state, String.t() | nil, (session() -> session())) :: state when state: session_state()