This repo builds a release pipeline on top of winmin/evil-opencode.
It does three things:
- watches
winmin/evil-opencodereleases - resolves the matching source state or falls back to upstream OpenCode when needed
- applies a Reasonix cache-preservation patch layer before building and releasing
It now also materializes a CodexPro companion layer for oh-my-openagent users:
- generates an OMO-compatible
.mcp.jsonentry forcodexpro-mcp - pins CodexPro support to
0.28.5 - uses CodexPro full mode so
codex_contextis available - configures CodexPro with
write=handoffandbash=offby default
In CodexPro full mode those restrictions are enforced at tool-call time; they do not remove
write, edit, or bash from the advertised full-mode tool catalog.
Live upstream research found three cache-hit behaviors that matter for current OpenCode-based releases:
- OpenAI Responses multi-turn continuity via persisted
previous_response_id - broader
promptCacheKeywiring for SDK-based OpenAI and GitHub Copilot providers - cache-aligned compaction so the compaction request reuses the same cached prefix as the main loop
The current winmin/evil-opencode v1.17.11-unguarded release already carries basic prompt-cache markers, but it does not include all of the later cache-hit behavior above. This repo patches those missing behaviors in a release-safe second layer.
Local validation:
npm testLive validation performed against winmin/evil-opencode v1.17.11-unguarded:
- source resolution succeeds
- Reasonix patch application succeeds
- CodexPro integration assets generate successfully
- release verification succeeds
- patched
packages/opencodepassesbun run --cwd packages/opencode typecheck