Expand description
kernex-core: Foundation types, traits, and error handling for the Kernex runtime.
Re-exports§
pub use config::shellexpand;pub use error::KernexError;pub use permissions::PermissionOutcome;pub use permissions::PermissionRules;pub use run::ModelTier;
Modules§
- config
- Configuration types and loading for Kernex.
- context
- Conversation context passed to AI providers.
- error
- Unified error type for all Kernex crates.
- hooks
- Hook system for intercepting tool execution lifecycle events.
- message
- Request and response types for the Kernex runtime.
- permissions
- Declarative allow/deny permission rules for tool calls.
- pricing
- Per-model token pricing for cost estimation.
- run
- Configuration and outcome types for the agentic runtime loop.
- sanitize
- Input sanitization against prompt injection attacks.
- stream
- Streaming types for SSE-based provider responses.
- traits
- Core traits that define the Kernex runtime contracts.