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
SessionBinding
The profile a session belongs to, paired with the issuer its token was minted under. The two always travel together — a session is only reusable when both still match the loaded profile.
SessionIdentity
SessionStore

Enums§

SessionKey

Constants§

LOCAL_SESSION_KEY