Skip to content

feat: add OpenCode V2 plugin support - #962

Open
combo667 wants to merge 1 commit into
DietrichGebert:mainfrom
combo667:main
Open

combo667 wants to merge 1 commit into
DietrichGebert:mainfrom
combo667:main

Conversation

@combo667

@combo667 combo667 commented Oct 1, 2026

Copy link
Copy Markdown

Wrap the V1 plugin in a V2-compatible format using Plugin.define().

  • Register commands via ctx.command.transform()
  • Register skills via ctx.skill.transform()
  • Inject system prompt via ctx.session.hook('context')
  • Persist mode switches via ctx.session.hook('prompt')
Wrap the V1 plugin in a V2-compatible format.
- Register commands via ctx.command.transform()
- Register skills via ctx.skill.transform()
- Inject system prompt via ctx.session.hook('context')
- Persist /ponytail mode switches in command execute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant