systemprompt-cli 0.14.4

Unified CLI for systemprompt.io AI governance: agent orchestration, MCP governance, analytics, profiles, cloud deploy, and self-hosted operations.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! CLI session lifecycle: resolve, create, persist, and clear sessions.
//!
//! Re-exports the session surface used across commands: [`CliSessionContext`]
//! (an authenticated session bound to its profile), [`get_or_create_session`]
//! (the primary entry point), and the on-disk session store helpers
//! ([`load_session_store`], [`get_session_for_key`], [`clear_session`],
//! [`clear_all_sessions`]). The [`api`] submodule carries the remote-session
//! HTTP surface.

pub mod api;
mod context;
mod creation;
mod resolution;
mod store;

pub use context::CliSessionContext;
pub use resolution::get_or_create_session;
pub use store::{clear_all_sessions, clear_session, get_session_for_key, load_session_store};