Skip to main content

stakpak_server/
lib.rs

1pub mod auth;
2pub mod checkpoint_store;
3pub mod context;
4pub mod error;
5pub mod event_log;
6pub mod idempotency;
7pub mod message_bridge;
8pub mod openapi;
9pub mod routes;
10pub mod sandbox;
11pub mod session_actor;
12pub mod session_manager;
13pub mod state;
14pub mod types;
15
16pub use auth::AuthConfig;
17pub use checkpoint_store::CheckpointStore;
18pub use context::{
19    ContextBudget, ContextFile, ContextPriority, EnvironmentContext, GitContext, ProjectContext,
20    SessionContext, SessionContextBuilder,
21};
22pub use error::SessionManagerError;
23pub use event_log::{EventEnvelope, EventLog, EventSubscription, GapDetected};
24pub use idempotency::{IdempotencyRequest, IdempotencyStore, LookupResult, StoredResponse};
25pub use openapi::generate_openapi;
26pub use routes::{protected_router, public_router, router};
27pub use sandbox::{SandboxConfig, SandboxedMcpServer};
28pub use session_actor::{build_checkpoint_envelope, build_run_context, spawn_session_actor};
29pub use session_manager::SessionManager;
30pub use stakpak_agent_core::{ToolApprovalAction, ToolApprovalPolicy};
31pub use state::AppState;
32pub use types::{SessionHandle, SessionRuntimeState};