第五部分:事件出口与多入口适配 四个组件的边界 组件 定位 主要职责 codex-rs/core Agent 运行时核心 组织 Turn、编译上下文、调用模型、执行工具、写入历史、判断继续或结束 co