@gitterm/opencode-plugin
v0.1.3
Published
Run OpenCode experimental workspaces on Gitterm
Maintainers
Readme
@gitterm/opencode-plugin
Run OpenCode experimental remote workspaces on Gitterm.
Install
Add the plugin to opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@gitterm/opencode-plugin"]
}OpenCode installs npm plugins automatically. Restart OpenCode after changing its configuration.
Authenticate with gitterm login, or set GITTERM_API_TOKEN. The plugin uses
the hosted Gitterm API by default and also accepts plugin options for
self-hosted deployments:
{
"plugin": [
[
"@gitterm/opencode-plugin",
{
"serverUrl": "https://gitterm.example.com",
}
]
]
}Supported options are serverUrl, token, regionId, persistent,
workspaceProfile, name, repo, and branch.
This plugin requires an OpenCode release with the experimental workspace API.
Publish
bun run build
npm publish --access publicThe npm scope must grant the publishing account permission to publish
@gitterm/opencode-plugin.
