跳到正文
AgentLab·· 2026-10-17

Oh My Pi 18.11.3: 历史 Session 只读咨询、自动 prewalk 路由与 Session 级授权契约

AgentLab 分析摘要

18.11.3 增加历史 Session 只读咨询:实现落在 task/seance.ts、slash-commands/seance.ts 与 session-manager.ts,允许独立咨询历史记录并原地读取源产物。编排侧在 prewalk.ts 接入按任务判断的自动交接,授权侧通过 approval.ts 和 event-controller.ts 接入 Session 级批准,并将扩展 ui.approve() 的布尔返回值改为三态答案,要求 Host 适配。Runtime Prompt 与 Tool Schema 的直接变化仅涉及既有 task 工具的 seance 说明及 sourceSession、model 参数;其余机制由官方发布说明与源码概览支持,Static Prompt 无可比较证据。

分析与证据

分析已完成

AgentLab · omp 18.11.3

来源:AgentLab · agentlab.dairui1.com