fix release process
Release / release (push) Successful in 8s

This commit is contained in:
2026-09-10 13:57:21 +02:00
parent fa3d0da80b
commit 3fae7e084e
4 changed files with 20 additions and 16 deletions
+4 -4
View File
@@ -14,7 +14,7 @@ curl -fsSL https://git.krtss.de/StanPonomarev/stanp-opencode/raw/branch/main/ins
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.
The installer downloads `stanp-opencode.tgz` and its SHA-256 checksum, verifies and extracts the self-contained archive, then activates the plugin only after importing and checking the native V2 export. Download, extraction, 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:
@@ -22,7 +22,7 @@ Installation defaults to `~/.config/opencode` and respects `XDG_CONFIG_HOME`. Ov
OPENCODE_CONFIG_DIR=/path/to/opencode-config bash install.sh
```
The installer atomically updates the `plugins/stanp-opencode` symlink for [V2 automatic plugin discovery](https://opencode.ai/v2/docs/plugins), 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.
The installer atomically replaces `plugins/stanp-opencode.js` for [V2 automatic plugin discovery](https://opencode.ai/v2/docs/plugins). It does not create symlinks, install package dependencies, edit `opencode.json` or `opencode.jsonc`, install OpenCode itself, or configure provider credentials.
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.
@@ -34,7 +34,7 @@ See [GPT configuration](examples/gpt.opencode.jsonc) and [custom model assignmen
{
"plugins": [
{
"package": "./plugins/stanp-opencode",
"package": "./plugins/stanp-opencode.js",
"options": {
"mode": "gpt",
"provider": "openai",
@@ -51,4 +51,4 @@ The plugin supplies session-local `todoread` and `todowrite` tools when no other
## 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.
Remove `plugins/stanp-opencode.js` from the selected config directory and remove any explicit configuration entry for it, then restart OpenCode.