Module session

Module session 

Source
Expand description

Session persistence — multi-session, multi-turn CRUD.

Mirrors ADK-JS’s BaseSessionService. Provides a trait for session persistence with an in-memory default implementation.

Modules§

db_schema
SQL schema definitions for database-backed session persistence.

Structs§

DatabaseSessionService
SQL database-backed session service.
InMemorySessionService
In-memory session service backed by [DashMap] for lock-free concurrent access.
PostgresSessionConfig
Configuration for the PostgreSQL session service.
PostgresSessionService
Session service backed by PostgreSQL.
Session
A persistent session with metadata and state.
SessionId
Unique identifier for a session.
SqliteSessionConfig
Configuration for the SQLite session service.
SqliteSessionService
Session service backed by SQLite.
VertexAiSessionConfig
Configuration for the Vertex AI session service.
VertexAiSessionService
Session service backed by the Vertex AI managed session endpoint.

Enums§

SessionError
Errors from session service operations.

Traits§

SessionService
Trait for session persistence — CRUD operations + event append.

Type Aliases§

SessionResult
Convenience alias for fallible session-service operations.