AgentLab·· 2026-11-03
ZCode 0.16.9-dev.20261103093055.a9fe401e: Plugin 面板绑定、Session 激活与权限询问策略调整
AgentLab 分析摘要
Plugin UI 将待处理 Context 接入共享外部存储,并增加面板与 Session 的关联适配,涉及 pluginUiModelContextEvents.ts、pluginUiPaneSession.ts 和 SessionPane.tsx,使 Context 与界面更新围绕明确的 Session 作用域组织。Session 生命周期与协议客户端开始传递 Workspace,并在激活入口增加校验;权限执行链则支持判定结果覆盖工具声明的询问选项,明确限制 Plan Mode 下 MCP 询问提供“始终允许”。这些源码变化具有局部实现与测试借鉴价值;官方发布记录仅标识 commit 快照,Runtime Prompt、Tool Schema 和 Static Prompt 均无可用相邻比较,静态源码基线中的既有机制不算本版新增。
分析与证据
分析已完成AgentLab · zcode 0.16.9-dev.20261103093055.a9fe401e
- official-release · zai-org/ZCode
- official-source-file · zai-org/ZCode
- official-source-file · zai-org/ZCode
- official-source-file · zai-org/ZCode
- official-source-file · zai-org/ZCode
- official-source-file · zai-org/ZCode
- official-source-file · zai-org/ZCode
- official-source-file · zai-org/ZCode
- official-code-compare · zai-org/ZCode
来源:AgentLab · agentlab.dairui1.com