This commit is contained in:
@@ -4,7 +4,7 @@ stanp-opencode is an OpenCode V2 coordinator with specialist workers for fast, g
|
|||||||
|
|
||||||
## Install the latest release
|
## Install the latest release
|
||||||
|
|
||||||
Requires OpenCode V2 2.0.4 (`opencode2`), Bun 1.4.2+, Bash, curl, jq, and `sha256sum` on Linux or WSL.
|
Requires OpenCode 2.0.4, Bun 1.4.2+, Bash, curl, jq, and `sha256sum` on Linux or WSL.
|
||||||
|
|
||||||
Run the installer without sudo:
|
Run the installer without sudo:
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ Add `--playwright` to this command to enable automatic Playwright MCP configurat
|
|||||||
|
|
||||||
The script installs dependencies and builds the checkout before installing it.
|
The script installs dependencies and builds the checkout before installing it.
|
||||||
|
|
||||||
After either installation, restart `opencode2` or run `opencode2 service restart` for an existing service. Connect OpenAI and select `coordinate`. The required models must be available for the workers to run.
|
After either installation, restart `opencode` or run `opencode service restart` for an existing service. Connect OpenAI and select `coordinate`. The required models must be available for the workers to run.
|
||||||
|
|
||||||
Both installers use `~/.config/opencode`, respect `XDG_CONFIG_HOME`, and accept `OPENCODE_CONFIG_DIR` as an override.
|
Both installers use `~/.config/opencode`, respect `XDG_CONFIG_HOME`, and accept `OPENCODE_CONFIG_DIR` as an override.
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://opencode.ai/config.json",
|
"$schema": "https://opencode.ai/config.json",
|
||||||
// Use OpenCode V2 (opencode2), not the V1 opencode CLI.
|
// Requires OpenCode 2.0.4 or newer.
|
||||||
// Availability uses the native catalog, including integrations and earlier plugins.
|
// Availability uses the native catalog, including integrations and earlier plugins.
|
||||||
"plugins": [
|
"plugins": [
|
||||||
{
|
{
|
||||||
|
|||||||
+1
-1
@@ -89,4 +89,4 @@ rm -rf "$backup"
|
|||||||
backup=""
|
backup=""
|
||||||
rm -f "$config/plugins/stanp-opencode.js"
|
rm -f "$config/plugins/stanp-opencode.js"
|
||||||
mv "$install/opencode.json" "$config_file"
|
mv "$install/opencode.json" "$config_file"
|
||||||
printf 'Built and installed stanp-opencode from %s into %s/plugins/stanp-opencode and updated %s\nRestart opencode2 to load it.\n' "$checkout" "$config" "$config_file"
|
printf 'Built and installed stanp-opencode from %s into %s/plugins/stanp-opencode and updated %s\nRestart opencode to load it.\n' "$checkout" "$config" "$config_file"
|
||||||
|
|||||||
+1
-1
@@ -100,4 +100,4 @@ fi
|
|||||||
rm -rf "$backup"
|
rm -rf "$backup"
|
||||||
rm -f "$config/plugins/stanp-opencode.js"
|
rm -f "$config/plugins/stanp-opencode.js"
|
||||||
mv "$install/opencode.json" "$config_file"
|
mv "$install/opencode.json" "$config_file"
|
||||||
printf 'Installed stanp-opencode %s into %s/plugins/stanp-opencode and updated %s\nRestart opencode2 to load it.\n' "$tag" "$config" "$config_file"
|
printf 'Installed stanp-opencode %s into %s/plugins/stanp-opencode and updated %s\nRestart opencode to load it.\n' "$tag" "$config" "$config_file"
|
||||||
|
|||||||
Reference in New Issue
Block a user