basis_host/lib.rs
1//! basis-host — host-side basis machinery shared by adapters.
2//!
3//! `basis` is the SDK and owns conventions, the run surface, and the durable
4//! event schema. What lives here is the next layer up that a long-lived host
5//! needs regardless of protocol. The first shared seam is approval policy and
6//! its session-scoped remembered answers.
7//!
8//! The layer line is ADR-0025's application of ADR-0011: this crate depends on
9//! [`basis`] and nothing heavier. Protocol bindings stay in `basis-acp`;
10//! terminal bindings stay in `basis-cli`; durable task coordination stays in
11//! `basis-tasks`.
12
13mod approval;
14mod config;
15mod session;
16mod source;
17mod timestamp;
18
19pub use approval::{ApprovalPolicy, PolicyApprover, PolicyGate, SessionApproval};
20pub use config::{Discovery, SessionSource, SessionTemplate};
21pub use session::{HostSession, Interrupt};
22pub use source::ConfiguredSource;
23pub use timestamp::rfc3339;