2026-09-10 13:48:01 +02:00
2026-09-09 10:40:59 +02:00
2026-09-09 11:18:03 +02:00
2026-09-09 11:18:03 +02:00
2026-09-10 13:48:01 +02:00
2026-09-09 09:56:21 +02:00
2026-09-09 09:56:21 +02:00
2026-09-09 09:56:21 +02:00
2026-09-09 09:56:21 +02:00
2026-09-09 09:56:21 +02:00
2026-09-09 11:18:03 +02:00
2026-09-09 11:18:03 +02:00
2026-09-10 13:48:01 +02:00
2026-09-09 11:18:03 +02:00
2026-09-10 13:44:54 +02:00
2026-09-09 09:56:21 +02:00
2026-09-09 09:56:21 +02:00

stanp-opencode

OpenCode V2 plugin providing a coordinate agent and fast/good/deep worker pairs, with GPT routing or explicit custom model assignments. Your default agent and the built-in build agent remain unchanged.

Install the latest release

Requires OpenCode V2 (opencode2), Bun 1.3.14+, Bash, curl, jq, and sha256sum (Linux/WSL). The native plugin API is pinned to @opencode/plugin@0.0.0-beta-19378; use the matching OpenCode beta.

Run the installer without sudo:

curl -fsSL https://git.krtss.de/StanPonomarev/stanp-opencode/raw/branch/main/install.sh | bash

From a checkout, run bash install.sh directly. Rerun the same script to upgrade to the latest published, non-prerelease Gitea release.

The installer downloads stanp-opencode.tgz and its SHA-256 checksum, verifies the archive, and installs its dependencies with lifecycle scripts disabled. It activates the plugin only after importing and checking the native V2 export. Downloads, dependency installation, and validation failures leave the previous active plugin untouched. The checksum detects corruption; it is not a signature independent of the release server.

Installation defaults to ~/.config/opencode and respects XDG_CONFIG_HOME. Override it explicitly when needed:

OPENCODE_CONFIG_DIR=/path/to/opencode-config bash install.sh

The installer atomically updates the plugins/stanp-opencode symlink for V2 automatic plugin discovery, with dependencies in a private stanp-opencode/install.* directory beneath the same config directory. It does not edit opencode.json or opencode.jsonc, install OpenCode itself, or configure provider credentials. Older private installation directories are retained so running sessions can finish; remove unused ones after restarting OpenCode.

Restart opencode2 after installation (or opencode2 service restart for an existing service). Connect your provider, then select coordinate in the agent picker. The default configuration uses OpenAI GPT models; agents are only enabled when the required models are available.

Configure

See GPT configuration and custom model assignments. When using the installer, point the example's plugin package entry at the installed package directory rather than the unpublished npm package name:

{
    "plugins": [
        {
            "package": "./plugins/stanp-opencode",
            "options": {
                "mode": "gpt",
                "provider": "openai",
                "lunaPriority": true,
            },
        },
    ],
}

This relative path assumes the configuration file is in the selected global config directory. Use an absolute path in project configuration. Remove any old V1 plugin entry when migrating; V2 uses plugins. lunaPriority requests priority service where supported and can increase cost; set it to false to use the provider default.

The plugin supplies session-local todoread and todowrite tools when no other plugin provides them. In this pinned V2 beta, custom tools cannot open permission prompts: an ask or deny rule blocks these todo tools rather than bypassing the rule. Explicitly allow them if you want to use them.

Uninstall

Remove the plugins/stanp-opencode symlink from the selected config directory and remove any explicit configuration entry for it, then restart OpenCode. Once no running session uses it, the private stanp-opencode installation directory can also be removed.

S
Description
opencode plugin for personal use by StanPonomarev
Readme
412 KiB
3.3.0
Latest
2026-10-10 15:17:49 +02:00
Languages
TypeScript 98.9%
Shell 1.1%