Commit host files with oiap sync
Run oiap sync, commit the generated files, and let the OIAP GitHub Action fail pull requests that are out of date. Users install with each host’s own command, such as claude plugin marketplace add owner/repo.
npm install --save-dev @oiap/cli @oiap/corenpx oiap build oiap.plugin.ts --out dist/oiapOne oiap.plugin.ts builds for every registered exporter. Each target page lists what the exporter writes and where it degrades.
Commit host files with oiap sync
Run oiap sync, commit the generated files, and let the OIAP GitHub Action fail pull requests that are out of date. Users install with each host’s own command, such as claude plugin marketplace add owner/repo.
Build at install time
Users run npx install-agent-plugin owner/repo --plugin <id> --agent <target>, which builds the bundle from your source on their machine. Or wrap installPlugin() in your own CLI.
Most plugins use both. See Two ways to ship a plugin.