JSPM

gm-oc

2.0.391
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1232
  • Score
    100M100P100Q106774F
  • License MIT

State machine agent with hooks, skills, and automated git enforcement

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

Install directly from npm using bun x:

bun x gm-oc@latest

This 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 install

Windows PowerShell:

git clone https://github.com/AnEntrypoint/gm-oc "\$env:APPDATA\opencode\plugin" && cd "\$env:APPDATA\opencode\plugin" && bun install

Project-level

Windows and Unix:

git clone https://github.com/AnEntrypoint/gm-oc .opencode/plugins && cd .opencode/plugins && bun install

Features

  • 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.