Skip to content

feat: add OpenCode v2 plugin entrypoint - #310

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

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

Conversation

@peeyush-ciridae

Copy link
Copy Markdown

Summary

  • add a native OpenCode v2 entrypoint at opencode-mem/v2
  • adapt memory tools, prompt/context injection, internal generation, and lifecycle events to the v2 APIs
  • filter the global v2 event stream by plugin location
  • clear per-session injected context before each prompt to avoid stale context reuse
  • preserve the existing v1 entrypoint and document v2 configuration

Validation

  • npm run typecheck
  • TypeScript build
  • v1 and v2 loader contract tests: 8 tests passed
  • package dry run confirmed dist/v2/plugin.js is published

Related to #173.

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.

1 participant