Skip to main content

Module session

Module session 

Source
Expand description

Tempo session registry and local lifecycle metadata.

Structs§

SessionCallScope
A single target scope in a session entry.
SessionEntry
Persisted metadata for one temporary session.
SessionRecord
Top-level registry persisted in wallet/sessions.toml.
SessionSelectorRule
A single selector rule in a session scope.
SessionTokenLimit
Spending limit stored for a session entry.

Enums§

SessionStatus
Status of a local session entry.

Constants§

SESSIONS_HEADER 🔒
WALLET_SESSIONS_PATH
Relative path from Tempo home to the session registry file.

Functions§

read_session_record
Read and parse the Tempo session registry.
remove_session_entry
Atomically remove a session from the registry.
session_registry_path
Returns the path to the Tempo session registry file.
upsert_session_entry
Atomically upsert a SessionEntry into the session registry.