What's Changed in v3.1.3
๐ง Bug Fixes
- delegate-task: Pass variant as top-level field in prompt body
- background-agent: Pass variant as top-level field in prompt body
- keyword-detector: Skip ultrawork injection for planner agents
- prometheus: Set mode to 'all' and restore plan demote logic
- plan-agent: Only inherit model from prometheus as fallback
- mcp: Add optional Context7
Authorizationheader (#1133) - mcp: Prevent builtin MCPs from overwriting user MCP configs (#956)
- compaction: Preserve agent verification state (#1144)
- notification: Prevent false positive plugin detection (#1148)
- cli: Add baseline builds for non-AVX2 CPUs (#1154)
- delegate-task: Add clear error when model not configured (#1139)
โจ Features
- sisyphus: Add foundation schemas for tasks and swarm (Wave 1)
- subagent: Block question tool at both SDK and hook level
- workflow: Add ZAI Coding + OpenAI provider for sisyphus-agent
- prompts: Enhance plan output with TL;DR, agent profiles, and parallelization
- server: Support
OPENCODE_SERVER_PORTandOPENCODE_SERVER_HOSTNAMEenv vars (#1157)
๐ Documentation
- Clarify category model resolution priority and fallback behavior (#1074)
๐งช Tests & CI
- Fix flaky tests caused by
mock.modulepollution across parallel test files - Isolate mock-heavy test files to prevent parallel pollution in CI
- Skip flaky sync variant test (CI timeout)
- Add tests for plan demote and prometheus mode
๐ Reverts
๐ฅ New Contributors
- @moha-abdi signed the CLA
- @MoerAI signed the CLA
Full Changelog: v3.1.2...v3.1.3