Skip to main content

Module runtime

Module runtime 

Source

Re-exports§

pub use backends::InlineBackend;
pub use backends::RuntimeExecutionBackend;
pub use background_sessions::background_session_manager;
pub use background_sessions::BackgroundSessionAdoptOptions;
pub use background_sessions::BackgroundSessionListener;
pub use background_sessions::BackgroundSessionManager;
pub use background_sessions::BackgroundSessionStartOptions;
pub use background_sessions::BackgroundSessionSubscription;
pub use cancellation::CancellationToken;
pub use cancellation::CancelledError;
pub use context::ExecutionContext;
pub use context::StreamCallback;
pub use cycle_runner::is_prompt_too_long_error;
pub use cycle_runner::CycleRunRequest;
pub use cycle_runner::CycleRunner;
pub use cycle_runner::MAX_PROMPT_TOO_LONG_RETRIES;
pub use cycle_runner::MAX_PTL_RETRIES;
pub use engine::AgentRuntime;
pub use engine::BeforeCycleMessageProvider;
pub use engine::InterruptionMessageProvider;
pub use engine::RuntimeEventHandler;
pub use engine::RuntimeLogCallback;
pub use engine::RuntimeLogHandler;
pub use engine::RuntimeRunControls;
pub use hooks::AfterLlmEvent;
pub use hooks::AfterToolCallEvent;
pub use hooks::BeforeLlmEvent;
pub use hooks::BeforeLlmPatch;
pub use hooks::BeforeMemoryCompactEvent;
pub use hooks::BeforeToolCallEvent;
pub use hooks::BeforeToolCallPatch;
pub use hooks::RuntimeHook;
pub use hooks::RuntimeHookManager;
pub use processes::kill_process_tree;
pub use processes::read_captured_output;
pub use processes::remove_captured_output;
pub use processes::start_captured_process;
pub use processes::start_captured_process_with_env;
pub use processes::wait_for_child;
pub use processes::CapturedProcess;
pub use state::Checkpoint;
pub use state::InMemoryStateStore;
pub use state::StateStore;
pub use sub_task_manager::ManagedSubTask;
pub use sub_task_manager::ManagedSubTaskSnapshot;
pub use sub_task_manager::SubTaskManager;
pub use sub_task_manager::SubTaskSessionAttachment;
pub use token_usage::normalize_token_usage;
pub use token_usage::summarize_task_token_usage;
pub use tool_call_runner::ToolCallRunner;
pub use tool_call_runner::ToolRunOutcome;
pub use tool_call_runner::ToolRunRequest;
pub use tool_planner::freeze_dynamic_tool_schema_hints;
pub use tool_planner::patch_dynamic_tool_schema_hints;
pub use tool_planner::plan_tool_names;
pub use tool_planner::plan_tool_schemas;

Modules§

backends
background_sessions
cancellation
context
cycle_runner
engine
hooks
processes
shell
state
stores
sub_task_manager
token_usage
tool_call_runner
tool_planner

Structs§

SubAgentSessionRegistry

Traits§

SubAgentSession

Functions§

_register_sub_agent_session
_unregister_sub_agent_session
continue_sub_agent_session
get_sub_agent_session
register_sub_agent_session
steer_sub_agent_session
sub_agent_session_registry
subscribe_sub_agent_session
unregister_sub_agent_session

Type Aliases§

SubAgentSessionListener
SubAgentSessionUnsubscribe