entelix-core 0.5.4

entelix DAG root โ€” IR, codecs, transports, Tool trait + ToolRegistry, auth, ExecutionContext, ModelInvocation/ToolInvocation Service spine, StreamAggregator
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Cancellation primitive for entelix.
//!
//! All async APIs that may run > 100 ms accept cancellation via
//! `tokio_util::sync::CancellationToken` (CLAUDE.md ยง"Cancellation",
//! F3 mitigation). The token is carried by [`ExecutionContext`] and inherited
//! by sub-agents and tool calls.
//!
//! Re-exporting under `entelix_core::cancellation` gives downstream crates a
//! single import path that documents the contract โ€” they should not pull
//! `tokio_util` directly.
//!
//! [`ExecutionContext`]: crate::context::ExecutionContext

pub use tokio_util::sync::CancellationToken;