deepstrike-core 0.2.63

Cross-language agent runtime kernel — pure computation, zero I/O
Documentation
//! Runtime event types shared across SDK bindings.
//! I/O (append/read) lives in each language SDK — the kernel stays pure.

pub mod event_log;
pub mod kernel;
pub mod repair;
pub mod replay;
pub mod session;

/// P7-S5 · the chain validator (P2 §5 rules C1–C4 + C7). Host-ops tooling — CI and incident
/// triage run the same knife — never part of an SDK runtime path.
pub mod chain_validator;

pub use kernel::{KernelObservation, KernelPressureAction};

pub use event_log::{KernelEventCategory, Primitive, category_for_kind, primitive_for_kind};
pub use repair::{
    pending_tool_calls_from_messages, reconstruct_messages_with_fallback, repair_events,
    repair_events_with_cap, repair_llm_completed, repair_llm_completed_with_cap,
    sanitize_recovery_text, sanitize_recovery_text_bounded,
};
pub use replay::{
    BudgetExceededRecord, BudgetUsageRecord, CancellationRecord, OsSnapshot, ProcessRecord,
    SignalDeliveryDisposedRecord, SuspendRecord, rebuild_os_snapshot_from_events,
};
pub use session::{ProviderReplay, SessionEvent};