跳到正文
数字商店
原文
dax· @thdxr · X·· 8 天前精选AI 评分69
AI 导读

OpenCode 2.4.0 推出自动化工具,支持 Agent 创建定时运行或响应 MCP 事件的自动化流程,可触发提示词、shell 命令或访问 MCP 工具的代码模式脚本。作者分享了其 Agent 通过该功能监控邮件并自动完成域名购买及 Cloudflare 配置的实践案例。

推荐理由

作者分享了利用新功能实现邮件监控并自动完成域名购买与配置的实际场景,展示了 Agent 自动化能力的实用性。

正文 · 原文

this is so useful

i was in a weird domain purchase scenario and my agent created an automation to monitor my email via the mcp i already had connected

some instructions eventually came through an hour later, it handled them, got the domain and setup cloudflare

引用OpenCode@opencode
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
在 X 查看被引用的帖子

来源:dax · x.com