starweaver-runtime 0.5.1

Agent-loop graph and runtime executor primitives for Starweaver
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Capability hooks and bundles for the bare agent runtime.

mod bundle;
mod error;
mod hooks;
mod ordering;
mod spec;

/// Built-in runtime capability id for canonical `AgentContext` instruction injection.
pub const RUNTIME_CONTEXT_CAPABILITY_ID: &str = "starweaver.runtime.context";

pub use bundle::{CapabilityBundle, StaticCapabilityBundle};
pub use error::{CapabilityError, CapabilityResult};
pub use hooks::AgentCapability;
pub use ordering::{CapabilityOrderError, resolve_capability_order};
pub use spec::{CapabilityId, CapabilityOrdering, CapabilitySpec, RetryEventKind};