跳到正文
OpenCode· @opencode · X·· 8 天前AI 评分59
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