← EVENT LIBRARY / Developer Tools

OpenCode persists terminals and adds experimental agent artifacts

OpenCode 2.2.4 makes desktop terminals session-scoped, preserving names and scrollback across server restarts and synchronizing them across the TUI and windows. An opt-in provider API lets agents create, update and serve HTML or static artifacts, while schedules run under opencode serve with single-fire coordination. Version 2.2.5 adds percentage-based compaction buffers and repairs large MCP stdio messages, LiteLLM context errors and reasoning preservation across model switches and resume.

What this means for you

For coding-agent teams, persistent terminals and coordinated schedules reduce state loss in long tasks, while artifacts turn the agent into a lightweight preview surface. The artifact and schedule paths remain experimental and need restart and duplicate-fire tests before adoption.

Evidence & related material

Technical details & scores
Stable Releases 2.2.4 at 2026-10-30T16:59:08Z; 2.2.5 at 2026-10-30T23:17:23Z
Persistent Terminals Session-scoped PTYs retain names and scrollback across server restarts and synchronize across clients
Experimental Artifacts Opt-in CRUD and serving for HTML/static artifacts through a provider API
Schedules Run under opencode serve with coordination intended to prevent duplicate firing
Reliability Percentage compaction buffers; large MCP stdio, LiteLLM context and reasoning-resume fixes
Technical impact 3
Engineering value 4
Adoption signal 4
Maturity 3
Verification cost 2
Risk 3