Skip to main content

distri_types/
lib.rs

1pub mod a2a {
2    // Re-export distri-a2a
3    pub use distri_a2a::*;
4}
5mod agent;
6pub mod browser;
7pub mod configuration;
8mod orchestrator;
9pub mod tenant_context;
10pub use agent::*;
11pub mod prompt;
12pub use orchestrator::*;
13
14mod hooks;
15
16pub mod auth;
17pub mod channels;
18pub mod context;
19mod core;
20mod errors;
21pub mod events;
22
23mod mcp;
24pub use mcp::{McpServerMetadata, TransportType};
25pub mod skill;
26pub mod stores;
27
28pub use auth::*;
29
30pub use configuration::AgentConfig;
31
32pub use core::*;
33pub use errors::*;
34pub use events::*;
35pub use hooks::*;
36pub use mcp::*;
37pub use tenant_context::*;
38pub mod a2a_converters;
39pub mod thinking;
40
41mod execution;
42pub use execution::*;
43
44pub mod tool;
45pub use tool::*;
46
47pub mod integration;
48pub use integration::*;
49
50pub mod filesystem;
51pub use filesystem::*;
52
53pub use skill::*;
54pub mod todos;
55pub use todos::*;
56
57pub mod ui_tool_render;
58pub use ui_tool_render::*;
59
60pub mod ui_tool_renderers;
61pub use ui_tool_renderers::*;
62
63mod client_config;
64pub use client_config::DistriConfig;
65
66pub mod connections;
67pub mod dynamic_tool;
68pub mod http_request;
69pub mod resolve;
70
71pub mod models;
72pub use models::*;
73
74pub mod tool_result_store;
75pub use tool_result_store::{
76    CacheCheck, ContentFormat, ContentReplacementState, FILE_UNCHANGED_STUB, FileReadCache,
77    MAX_TOOL_RESULT_CHARS, MAX_TOOL_RESULTS_PER_MESSAGE_CHARS, PERSIST_THRESHOLD_BYTES,
78    PREVIEW_SIZE_BYTES, PersistedToolResult, Preview, ReplacementDecision,
79};
80
81#[cfg(test)]
82mod tests;