switch to v2
Release / release (push) Successful in 8s

This commit is contained in:
2026-09-09 11:18:03 +02:00
parent 0378edf5f8
commit bb95f9334b
11 changed files with 1450 additions and 577 deletions
+10 -16
View File
@@ -1,24 +1,18 @@
{
"$schema": "https://opencode.ai/config.json",
// Working server plugin API: v2 does not yet provide task delegation.
// Replace the package string with an installed package, release tarball URL,
// or an absolute file:///.../stanp-opencode/dist/index.js URL for local use.
// Availability is checked at startup against OpenCode's cached catalog and
// provider.models, with configured/env/stored authentication. Models added
// later by other plugins are not visible; no paid model-entitlement probe runs.
"plugin": [
[
"stanp-opencode",
{
// Use OpenCode V2 (opencode2), not the V1 opencode CLI.
// Availability uses the native catalog, including integrations and earlier plugins.
"plugins": [
{
"package": "stanp-opencode",
"options": {
"mode": "gpt",
"provider": "openai",
// Requests priority for Luna when supported by provider metadata.
// Official OpenAI supports it, charges more, and may downgrade requests.
// Set false to use the provider's default service tier.
// Priority may cost more. Only advertised tiers or official OpenAI
// Luna endpoints enable it; false retains the provider's default.
"lunaPriority": true,
},
],
},
],
// Select coordinate in the agent picker. This plugin does not replace build.
// Do not set default_agent to coordinate if this provider may be disconnected.
// Select coordinate in the agent picker. Build and the default stay unchanged.
}