Skip to content

feat: support OpenCode v2 - #9

Open
peeyush-ciridae wants to merge 1 commit into
IgnisDa:mainfrom
peeyush-ciridae:codex/opencode-v2-support
Open

peeyush-ciridae wants to merge 1 commit into
IgnisDa:mainfrom
peeyush-ciridae:codex/opencode-v2-support

Conversation

@peeyush-ciridae

Copy link
Copy Markdown

Summary

  • add native OpenCode v2 setup support while preserving the existing v1 server hook
  • acquire the wake lock when v2 model work starts and release it when the session becomes idle, fails, or is interrupted
  • use session.wait() as a completion fallback
  • clean up session markers even when the platform inhibitor cannot start
  • document both v1 and v2 configuration

Validation

  • TypeScript build
  • compiled module import smoke test confirmed both v1 and v2 exports
  • package dry run confirmed the combined dist/index.js is published

@IgnisDa

IgnisDa commented Sep 16, 2026

Copy link
Copy Markdown
Owner

is this tested with both v1 and v2? also please major bump the pacakge version in package.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants