IronClaw-LoopDelegate(委托者) 一. 相关类型 1. trait pub trait LoopDelegate: Send + Sync { /// Called at the start of each iteration. Check for external signals /// (cancellation
IronClaw-Scheduler 一. 相关结构 //真正是不是走容器是由creat_job工具决定的。 CreateJobTool 命中容器 + Worker 模式时完全不走 Scheduler——execute_sandbox 直接调 ContainerJobManager::create_job(job.rs:496),
IronClaw-RoutineEngine 一. 相关结构 1. RoutineEngine ● RoutineEngine 是 src/agent/routine_engine.rs 里那个组件——周期 tick cron ticker + 事件匹配器,按 Routine(cron/event/system_event/manual tri
IronClaw-AgentRun 一. agent_loop.rs 1. 整体流程 /// Run the agent main loop. pub async fn run(self) -> Result<(), Error> { // Start channels let mut
IronClaw-Channel 一. 相关结构 1. ChannelManager 管理所有channel的类。通过管道tx发送消息,通过rx接受消息传给agent。所有的channel的rx会合并成一个大流。 有一个注入管道,用于热载入channel和背景任务使用。热载的将会在下次进入正常流程。 除了下面的外,其余操作都是借助具
IronClaw-沙箱 一. 相关结构 1. ContainerJobManager /// Manages the lifecycle of Docker containers for sandboxed job execution. pub struct ContainerJobManager { config
IronClaw-CostGuard 一. 相关结构 /// Tracks costs and action rates, enforcing configurable limits. /// /// Thread-safe; designed to be shared via `Arc<CostGuard>`. pub struct
IronClaw-ContextManager 一. 相关结构 1. ContextManager 负责管理多个并发 Job(任务)上下文的核心组件 /// Manages contexts for multiple concurrent jobs. pub struct ContextManager { /// Active job c
IronClaw-Skill 一. 相关类型 1. SkillRegistry /// Registry of available skills. pub struct SkillRegistry { /// All loaded skills. skills: Vec<LoadedSkill> 已加载的全部