70 lines
1.7 KiB
JSON
70 lines
1.7 KiB
JSON
{
|
|
"schema": 1,
|
|
"id": "harness-opencode",
|
|
"name": "OpenCode",
|
|
"version": "1.2.0",
|
|
"kind": "harness",
|
|
"category": "harnesses",
|
|
"description": "OpenCode harness: GPT on the ChatGPT seat or local models (provider-evox2) — the sidecar driver (spawn, resume, native fork, device-code login, hub proxy token) and its opencode.db → transcript mirror",
|
|
"icon": "braces",
|
|
"color": "#3b4e63",
|
|
"author": "gabrielvidal",
|
|
"harness": {
|
|
"harnessId": "opencode",
|
|
"label": "OpenCode",
|
|
"hint": "opencode — GPT on the ChatGPT seat, or local models (provider-evox2)",
|
|
"icon": "braces",
|
|
"color": "emerald",
|
|
"order": 30,
|
|
"knob": "effort",
|
|
"efforts": [
|
|
"none",
|
|
"low",
|
|
"medium",
|
|
"high",
|
|
"xhigh",
|
|
"max"
|
|
],
|
|
"modelEfforts": true,
|
|
"caps": [
|
|
"fork",
|
|
"mcp"
|
|
],
|
|
"switchTo": [],
|
|
"loginMode": "worker",
|
|
"loginFlow": "device",
|
|
"runsOn": "any",
|
|
"guestAllowed": false,
|
|
"entrypoint": "opencode",
|
|
"transcriptsEnv": "OPENCODE_TRANSCRIPTS_DIR",
|
|
"defaultModel": "gpt-6-sol",
|
|
"supports": [
|
|
{
|
|
"vendor": "openai",
|
|
"argTemplate": "{id}{fast?-{fast}:}",
|
|
"expandFastModes": true
|
|
},
|
|
{
|
|
"vendor": "evox2",
|
|
"argTemplate": "{server|evox2}/{id}",
|
|
"stripPrefixRegex": "^evox2[^/]*/",
|
|
"defaultEfforts": [
|
|
"think"
|
|
]
|
|
}
|
|
],
|
|
"sidecar": {
|
|
"dir": "sidecar",
|
|
"entry": "driver.py"
|
|
},
|
|
"workerSetup": {
|
|
"tool": "opencode",
|
|
"order": 30,
|
|
"guestAllowed": false,
|
|
"update": false,
|
|
"enablesHarness": true,
|
|
"installerEnv": "WORKER_OPENCODE"
|
|
}
|
|
}
|
|
}
|