Crate distri_types

Crate distri_types 

Source

Re-exports§

pub use configuration::DistriServerConfig;
pub use configuration::AgentConfig;
pub use auth::*;
pub use tool::*;
pub use integration::*;
pub use filesystem::*;
pub use skill::*;
pub use todos::*;
pub use ui_tool_render::*;
pub use ui_tool_renderers::*;

Modules§

a2a
a2a_converters
auth
browser
configuration
constants
filesystem
integration
prompt
skill
stores
todos
tool
ui_tool_render
ui_tool_renderers
workflow

Structs§

AdditionalParts
Structure for managing additional user message parts This allows control over how parts are added and whether artifacts should be expanded
AgentContextSize
AgentEvent
AgentPlan
AgentStrategy
Unified Agent Strategy Configuration
ContextSize
ContextUsage
CreateThreadRequest
DistriConfig
Configuration for the Distri client.
ExecutionHistoryEntry
Enriched execution history entry that includes context metadata
ExecutionResult
Execution result with detailed information
ExternalTool
External tool that delegates execution to the frontend
HookContext
HookMutation
InlineHookRequest
InlineHookResponse
LLmContext
LlmDefinition
McpDefinition
McpServerMetadata
McpSession
McpToolConfig
Configuration for tools from an MCP server
Message
MockOrchestrator
ModelSettings
Model settings configuration
OrchestratorRef
Reference wrapper for orchestrator that allows late binding
PlanConfig
Configuration for planning operations
PlanStep
Plan step for execution
ReflectionConfig
Reflection configuration
ReplanningConfig
Replanning configuration
ScratchpadEntry
Entry for scratchpad formatting
ServerMetadataWrapper
StandardDefinition
Agent definition - complete configuration for an agent
Task
TaskEvent
Thread
ThreadSummary
ToolCall
ToolDefinition
ToolResponse
ToolsConfig
Tools configuration for agents
UpdateThreadRequest

Enums§

Action
Action can be either a tool call or an LLM call
AdditionalPartsInstruction
Instruction for how to handle additional parts
AgentError
AgentEventType
BrowserHooksConfig
Hooks configuration to control how browser hooks interact with Browsr.
CodeLanguage
ExecutionKind
ExecutionMode
Execution mode - tools vs code
ExecutionStatus
ExecutionType
Execution strategy types
FileSystemMode
Where filesystem and artifact tools should execute
FileType
HookKind
McpServerType
MemoryKind
MessageRole
ModelProvider
Part
ReasoningDepth
Depth of reasoning for planning
ReflectionDepth
Depth of reflection
ReflectionTrigger
When to trigger reflection
ReplanningTrigger
When to trigger replanning
ScratchpadEntryType
Type of scratchpad entry - only for Thought/Action/Observation tracking
TaskMessage
TaskStatus
ToolCallFormat
Supported tool call formats
ToolCallStatus
ToolResultWithSkip
TransportType

Constants§

DEFAULT_EXTERNAL_TOOL_TIMEOUT_SECS
Default timeout for external tool execution in seconds

Traits§

OrchestratorTrait
Trait for workflow runtime functions (session storage, agent calls, etc.)
ServerTrait

Functions§

default_agent_version
default_transport_type
from_tool_results
parse_agent_markdown_content
validate_parameters
validate_plugin_name
Validate plugin name follows naming conventions Plugin names must be valid JavaScript identifiers (no hyphens)

Type Aliases§

BuilderFn