Skip to main content

deepstrike_sdk/runtime/
mod.rs

1//! Runtime API โ€” session event log, execution planes, credential vault, and runner.
2
3pub mod archive;
4pub mod canonical_kernel;
5pub mod canonical_kernel_step;
6pub(crate) mod canonical_runner_runtime;
7pub mod credential_vault;
8pub mod eval;
9pub mod execution_plane;
10mod host_projection;
11pub mod kernel_journal;
12pub mod mcp_proxy_plane;
13pub mod os_profile;
14pub mod payload_store;
15pub mod process_sandbox_plane;
16pub mod provider_replay;
17pub mod remote_vpc_plane;
18pub mod replay;
19pub mod replay_fixture;
20pub mod replay_provider;
21pub mod runner;
22pub mod sandboxed_skill;
23pub mod session_log;
24pub mod skill_watcher;
25
26pub use archive::{ArchiveStore, FileArchiveStore, NullArchiveStore};
27pub use canonical_kernel::{
28    CanonicalCheckpoint, CanonicalCheckpointCandidate, CanonicalCommit, CanonicalKernel,
29    CanonicalPreparation,
30};
31pub use canonical_kernel_step::{CanonicalKernelHost, CanonicalTransition, HostTransitionError};
32pub use credential_vault::{
33    ChainedCredentialVault, CredentialVault, EnvCredentialVault, InMemoryCredentialVault,
34};
35pub use execution_plane::{
36    ExecutionPlane, LocalExecutionPlane, PermissionRequest, PermissionRequestHandler,
37    PermissionResponse, RunContext, ToolSuspendHandler, ToolSuspendRequest,
38};
39// Durable transaction capability (Canonical Kernel ABI ยง9.1) โ€” deliberately separate from
40// `SessionLog`: the journal's `step_seq` space and the projection log's business `seq` space must
41// never share numbering (spec Task 8b).
42pub use kernel_journal::{
43    CheckpointCandidate, FileKernelJournal, InMemoryKernelJournal, InstalledCheckpoint,
44    JournalAppendReceipt, JournalEntry, JournalError, JournalHead, JournalPruneReceipt,
45    JournalRecordInput, JournalResult, KernelJournal,
46};
47pub use mcp_proxy_plane::{McpProxyPlane, McpServerConfig};
48pub use os_profile::{
49    DEFAULT_NATIVE_SIGNAL_POLICY, GovernancePolicy, MemoryWriteRateLimit, NativeOsProfile,
50    OsProfile, SchedulerPolicyConfig, SignalPolicy, assert_native_profile,
51    default_native_governance_policy, governance_filter_schema, os_profile,
52};
53pub use payload_store::{FilePayloadStore, PayloadStore};
54pub use process_sandbox_plane::{ProcessSandboxPlane, SandboxOptions};
55pub use provider_replay::{
56    assistant_replay_key, peek_provider_replay, seed_provider_replay_from_events,
57};
58pub use remote_vpc_plane::{RemoteVpcOptions, RemoteVpcPlane};
59pub use replay::{is_mid_run, repair_entries, replay_messages};
60pub use runner::{
61    KernelReliability, MilestoneEvaluationContext, MilestoneEvaluationHandler, MilestonePolicy,
62    OnTurnMetricsHandler, RuntimeOptions, RuntimeRunner, TurnMetrics, collect_text,
63};
64pub use sandboxed_skill::{PythonSkillPolicy, SkillKind, scan_skill_dir};
65pub use session_log::{FileSessionLog, InMemorySessionLog, SessionEntry, SessionLog};
66pub use skill_watcher::SkillWatcher;