vv-agent 0.7.0

VectorVein agent runtime, SDK, CLI, tools, and workspace backends
Documentation
pub mod backends;
pub mod background_sessions;
pub mod cancellation;
pub(crate) mod checkpoint_codec;
pub mod checkpoint_codec_v2;
pub(crate) mod checkpoint_resume;
pub mod context;
pub mod cycle_runner;
pub mod engine;
pub mod hooks;
pub mod processes;
mod results;
pub(crate) mod run_definition_v2;
pub mod shell;
pub mod state;
pub mod state_v2;
pub mod stores;
mod sub_agent_sessions;
mod sub_agents;
pub mod sub_task_manager;
pub mod token_usage;
pub mod tool_call_runner;
pub mod tool_planner;

pub use backends::{InlineBackend, RuntimeExecutionBackend};
pub use background_sessions::{
    background_session_manager, BackgroundSessionAdoptOptions, BackgroundSessionListener,
    BackgroundSessionManager, BackgroundSessionStartOptions, BackgroundSessionSubscription,
};
pub use cancellation::{CancellationToken, CancelledError};
pub use context::{ExecutionContext, StreamCallback};
pub use cycle_runner::{
    is_prompt_too_long_error, CycleRunRequest, CycleRunner, MAX_PROMPT_TOO_LONG_RETRIES,
    MAX_PTL_RETRIES,
};
pub use engine::{
    AgentRuntime, BeforeCycleMessageProvider, CheckpointRuntimeControl,
    InterruptionMessageProvider, RuntimeEventHandler, RuntimeLogCallback, RuntimeLogHandler,
    RuntimeRunControls,
};
pub use hooks::{
    AfterLlmEvent, AfterToolCallEvent, BeforeLlmEvent, BeforeLlmPatch, BeforeMemoryCompactEvent,
    BeforeToolCallEvent, BeforeToolCallPatch, RuntimeHook, RuntimeHookManager,
};
pub use processes::{
    kill_process_tree, read_captured_output, remove_captured_output, start_captured_process,
    start_captured_process_with_env, wait_for_child, CapturedProcess,
};
pub(crate) use results::{extract_final_message, extract_wait_reason};
pub use state::{Checkpoint, InMemoryStateStore, StateStore};
pub use sub_agent_sessions::{
    _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,
    SubAgentSession, SubAgentSessionListener, SubAgentSessionRegistry, SubAgentSessionUnsubscribe,
};
pub(crate) use sub_agents::with_assigned_sub_task_identity;
pub use sub_task_manager::{
    ManagedSubTask, ManagedSubTaskSnapshot, SubTaskLineage, SubTaskManager,
    SubTaskSessionAttachment, SubTaskSubmissionContext, SubTaskTurnSnapshot,
};
pub use token_usage::{
    normalize_token_usage, normalize_token_usage_with_hints, summarize_task_token_usage,
};
pub use tool_call_runner::{ToolCallRunner, ToolRunOutcome, ToolRunRequest};
pub use tool_planner::{
    freeze_dynamic_tool_schema_hints, patch_dynamic_tool_schema_hints, plan_tool_names,
    plan_tool_schemas,
};