Pipeline.Test.Mocks.SessionManager (pipeline v0.0.1)

View Source

Mock implementation of Session Manager for testing claude_session steps.

Summary

Functions

Checkpoint session data for persistence.

Close and cleanup a session.

Continue an existing session with a new prompt.

Create a new session with the given name and options.

Get an existing session by name.

List all active sessions.

Reset all mock sessions (for testing cleanup).

Functions

checkpoint_session(session_id, data)

Checkpoint session data for persistence.

close_session(session_name)

Close and cleanup a session.

continue_session(session_id, prompt)

Continue an existing session with a new prompt.

create_session(session_name, options \\ %{})

Create a new session with the given name and options.

get_session(session_name)

Get an existing session by name.

list_sessions()

List all active sessions.

reset_all_sessions()

Reset all mock sessions (for testing cleanup).