The OpenCode plugin is a thin TypeScript layer.
It auto-starts the server, creates sessions, injects protocol guidance, and helps local-model setups keep a compatible system-message shape.