跳到正文
AgentLab·· 2026-06-15

opencode 1.17.7: 修复 Plugin、Session 与 MCP 集成中的作用域和环境传递

AgentLab 分析摘要

本版发布说明涉及 Plugin 请求复用活动 Server、Plugin shell 环境变量传入 PTY Session,以及 Desktop 新建 Session 将草稿状态限定到对应 Server;这些改动旨在让请求、命令和状态落到正确的执行 Context。MCP 客户端可接收当前 Workspace 作为 root,SDK 在集成变化时刷新模型与 Provider 可用性,并扩展凭据更新和删除调用以接受 location。Runtime Prompt 仅有日期变化、Tool Schema 无增删改;Static Prompt 未提供,且发布说明未附实现代码概览,因此实现路径无法从本包确认。

分析与证据

分析已完成

AgentLab · opencode 1.17.7

来源:AgentLab · agentlab.dairui1.com