Contributing
The project accepts bug reports, feature proposals, documentation improvements, and pull requests.
Before opening an issue
Section titled “Before opening an issue”Search existing issues. Include the package, OpenCode, Node.js, and operating-system versions; minimal reproduction steps; expected behavior; and actual behavior.
Remove tokens, prompts, session contents, machine-specific paths, and active configuration. Report vulnerabilities through the private channel described on the Security page.
Pull requests
Section titled “Pull requests”- Explain the user-visible problem.
- Keep the change within the plugin’s model-routing scope.
- Add or update tests for behavior changes.
- Update documentation when commands, compatibility, installation, or stored state changes.
- Run
npm testandnpm run check:package. - Inspect every commit message and the full diff for private data or tool inventories.
Read the complete contribution guide before submitting work.