ClaudeAgentSDK.SessionStore.Resume (claude_agent_sdk v0.18.0)

Copy Markdown View Source

Materializes SessionStore-backed resume data into a temporary Claude config dir.

Summary

Types

t()

@type t() :: %ClaudeAgentSDK.SessionStore.Resume{
  config_dir: String.t(),
  resume_session_id: String.t()
}

Functions

apply_options(options, materialized)

@spec apply_options(ClaudeAgentSDK.Options.t(), t() | nil) ::
  ClaudeAgentSDK.Options.t()

cleanup(arg1)

@spec cleanup(t() | nil) :: :ok

materialize(options)

@spec materialize(ClaudeAgentSDK.Options.t()) :: {:ok, t() | nil} | {:error, term()}