1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
//! # Brainwires Core
//!
//! Foundation types, traits, and error handling for the Brainwires Agent Framework.
//!
//! This crate provides the core data structures used across all framework crates:
//! - Message types for AI conversations
//! - Tool definitions and execution results
//! - Task and agent context types
//! - Plan metadata and status
//! - Working set for file context management
//! - Chat options and provider configuration
//! - Permission modes
/// Content source types for tracking where content originates.
/// Embedding provider trait for vector operations.
/// Framework error types and result aliases.
/// Unified event trait and `EventEnvelope<E>` with trace IDs and sequence numbers.
/// Knowledge graph types: entities, edges, and trait interfaces.
/// Lifecycle hooks for intercepting framework events.
/// Message, role, and streaming types for AI conversations.
/// Permission mode definitions.
/// Plan metadata, steps, budgets, and serializable plans.
/// Provider configuration and chat options.
/// Shared search types (SearchResult, ChunkMetadata, DatabaseStats).
/// Task, priority, and agent response types.
/// Tool definitions, schemas, contexts, and idempotency.
/// Vector store trait for similarity search.
/// Persistent workflow state for crash-safe agent retry.
/// Working set for file context management with LRU eviction.
// Re-export core types at crate root
pub use ContentSource;
pub use EmbeddingProvider;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use ;
pub use *;
pub use *;
pub use ;
pub use ;