Skip to content

v0.18.3

Choose a tag to compare

@LIUTod LIUTod released this 11 Oct 03:41

Highlights

  • MCP roots support. The MCP client now negotiates the roots capability and answers roots/list with the session workspace (working directory plus the system temp directory). Servers that honor roots — including browser automation servers — can now write files such as screenshots and traces into the workspace instead of being limited to the temp directory, so visual artifacts land where you can preview and reference them.
  • Browser guidance refreshed. The browser capability guide now covers batching multi-step flows through scripted tool calls (raw snapshots stay in the sandbox; only digests return), a full design loop (preview → screenshot → visual check → CSS inspection → iterate → designer handoff), element style inspection via get_css_styles, and context hygiene (no post-action snapshots, file paths for large outputs, paginated and filtered console/network reads).
  • Frontend/design guardrails in the main prompt. UI work now follows a short always-on discipline: avoid generic defaults, choose a deliberate visual direction, respect existing design systems, cover desktop and mobile, and verify visually before declaring done.
  • Privacy-hardened browser recommendation. The recommended browser MCP setup now redacts sensitive network headers before they reach the agent, matching the existing opt-out of usage statistics.
  • Maintenance. Workspace packages bump to 0.18.3.

Package versions

All packages bumped to 0.18.3.

中文补充

  • MCP roots 支持:客户端协商 roots 能力并以会话工作区(工作目录 + 系统临时目录)应答 roots/list。尊重该能力的服务器(含浏览器自动化)现在可以把截图、轨迹等文件写进工作区,不再被限制在临时目录——视觉产物落在你能预览和引用的地方。
  • 浏览器指南升级:多步流程走脚本化批处理(原始快照留在沙箱,只回摘要);完整设计闭环(预览 → 截图 → 视觉验收 → CSS 层叠检查 → 迭代 → 交 designer);新增 get_css_styles 样式检查;省上下文实践(动作不带快照、大输出走文件、console/网络分页过滤)。
  • 主提示词新增前端/设计纪律:避免通用 AI 默认审美、先定视觉方向、尊重既有设计系统、兼顾桌面与移动、交付前先看截图。
  • 浏览器 MCP 推荐配置新增网络敏感头脱敏,与既有的统计退出保持同一隐私立场。
  • 维护:工作区包版本升到 0.18.3。