Pipeline.SessionManager (pipeline v0.0.1)
View SourceSession management for persistent Claude conversations.
Provides session creation, retrieval, checkpointing, and lifecycle management for claude_session step types. Sessions can persist across pipeline runs and maintain conversation context.
Summary
Functions
Checkpoint session data for persistence.
Continue an existing session with a new prompt. Returns {:ok, response} or {:error, reason}.
Create a new session with the given name and options.
Get an existing session by session_id. Returns nil if session not found.
List all available sessions.
Functions
Checkpoint session data for persistence.
Continue an existing session with a new prompt. Returns {:ok, response} or {:error, reason}.
Create a new session with the given name and options.
Options
persist
: Whether to persist the session across restarts (default: false)max_turns
: Maximum turns allowed in the session (default: 50)checkpoint_interval
: How often to checkpoint (default: 5 interactions)
Get an existing session by session_id. Returns nil if session not found.
List all available sessions.