跳到正文
OpenCode· @opencode · X·· 2 小时前AI 评分59

OpenCode 2.4.0 发布,新增 Agent 自动化工具

AI 导读

OpenCode 2.4.0 附带一个新的自动化工具,Agent 可创建按计划运行或响应 mcp 事件的自动化。自动化可触发提示词、shell 命令,或可访问 mcp 工具的 code mode 脚本。

正文 · 原文

OpenCode 2.4.0 ships with a new automation tool

your agent can create automations that run on schedule or react to mcp events

they can trigger prompts, shell commands, or a code mode script that can access your mcp tools

来源:OpenCode · x.com