opencode 2.4.0 lets the agent run prompts on timers, cron or MCP events, drive a persistent signed-in browser, and generate videos. Check the automations setting, which can be turned off in config.
Key takeaways · AI-distilled
opencode v2.4.0 adds automations: the agent can run a prompt, Code Mode script or Terminal and shellA text interface for navigating files and running programs.Full definition → command once, on an interval, on a cron schedule or when an Model Context Protocol (MCP)A published agreement for an AI application to discover what a separate program offers and ask it to run one of those offerings.Full definition → server pushes an event. A shell action asks for approval once, at creation, and each run's exit code and output are recorded.
Plugins that track a version, like name@latest, a version range, a Git and version controlA system for recording and comparing changes to a codebase.Full definition → branch or a Git semver range, are now checked on startup and every 24 hours and reloaded without a restart. A range never leaves its range, and if a new version fails to load the previous one keeps running.
opencode's GitHub Copilot provider no longer reads GITHUB_TOKEN, which git tooling and GitHub Actions often set without Copilot access. Users now set COPILOT_GITHUB_TOKEN or sign in with OAuth.
The desktop app's browser pane keeps one persistent profile that can import sign-ins from Chrome, Edge, Firefox or Safari, and the agent can read and drive those signed-in tabs. A browser deny in the permission rules refuses every agent browser call.
A timeout set on a provider now applies to every request, including image, video, speech, transcription, embedding and CompactionReplacing older content in the model's context with a summary of it, usually keeping recent messages, so that a session can go on.Full definition → calls, which the release notes say could previously hang forever on a stalled provider.
Terms in this piece · Glossary
Model Context Protocol (MCP) — A published agreement for an AI application to discover what a separate program offers and ask it to run one of those offerings.
Terminal and shell — A text interface for navigating files and running programs.