feat: add opencode plugin compatibility#15
Conversation
Add .opencode/ directory with plugin, commands, and skill definitions. Update hooks and statusline scripts to detect opencode flag path (~/.config/opencode/.ponytail-active) alongside existing Claude Code and Codex paths.
|
Thanks for kicking off OpenCode support, @gailingmic. It prompted a proper dig into the OpenCode plugin API. One blocker worth flagging: this plugin is built on hooks that don't exist in the current OpenCode API. The real mechanism (verified against OpenCode 1.17.4 source plus a live run):
I've opened #16 with a version rebuilt on that API. It also reuses the shared instruction builder ( Credit to you for the idea and the nudge to support OpenCode 🙏 |
|
Closing in favor of #16, which is rebuilt on the real OpenCode plugin API and verified end-to-end. Thanks again @gailingmic for raising OpenCode support. |
Thin OpenCode plugin injecting the ponytail ruleset via experimental.chat.system.transform, reusing the shared instruction builder. Verified end-to-end on OpenCode 1.17.4. Supersedes #15.
Thin OpenCode plugin injecting the ponytail ruleset via experimental.chat.system.transform, reusing the shared instruction builder. Verified end-to-end on OpenCode 1.17.4. Supersedes DietrichGebert#15.
Add .opencode/ directory with plugin, commands, and skill definitions. Update hooks and statusline scripts to detect opencode flag path (~/.config/opencode/.ponytail-active) alongside existing Claude Code and Codex paths.