OpenCode 2.4.0 带来了全新的自动化工具 你的智能体可以创建自动化任务,按计划运行或响应 mcp 事件 这些任务可以触发提示词、shell 命令,或运行能访问你的 mcp 工具的代码模式脚本
看原文
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