Package Exports
- gm-oc
- gm-oc/gm.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gm-oc) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
gm for OpenCode
Installation
One-liner (recommended)
Install directly from npm using bun x:
bun x gm-oc@latestThis command will automatically install gm-oc to the correct location for your platform and restart OpenCode to activate.
Manual installation
Windows and Unix:
git clone https://github.com/AnEntrypoint/gm-oc ~/.config/opencode/plugin && cd ~/.config/opencode/plugin && bun installWindows PowerShell:
git clone https://github.com/AnEntrypoint/gm-oc "\$env:APPDATA\opencode\plugin" && cd "\$env:APPDATA\opencode\plugin" && bun installProject-level
Windows and Unix:
git clone https://github.com/AnEntrypoint/gm-oc .opencode/plugins && cd .opencode/plugins && bun installFeatures
- MCP tools for code execution and search
- State machine agent policy (gm)
- Git enforcement on session idle
- AST analysis via thorns at session start
The plugin activates automatically on session start.