Skip to main content

Module cli_session

Module cli_session 

Source
Expand description

Persisted CLI authentication sessions, keyed per local or per tenant.

Exposes SessionKey (the local-or-tenant discriminator used as a storage key), the CliSession record and its CliSessionBuilder, and the SessionStore that loads and saves sessions on disk.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Structs§

CliSession
CliSessionBuilder
SessionIdentity
Bundled so every builder call carries the full triple — there is no default that silently elevates an unbound session to admin.
SessionStore

Enums§

SessionKey

Constants§

LOCAL_SESSION_KEY