Skip to content

SupperTomato/evil-opencode-reasonix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Evil OpenCode Reasonix

This repo builds a release pipeline on top of winmin/evil-opencode.

It does three things:

  • watches winmin/evil-opencode releases
  • 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.json entry for codexpro-mcp
  • pins CodexPro support to 0.28.5
  • uses CodexPro full mode so codex_context is available
  • configures CodexPro with write=handoff and bash=off by 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.

Cache Audit

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 promptCacheKey wiring 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.

Validation

Local validation:

npm test

Live 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/opencode passes bun run --cwd packages/opencode typecheck

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors