Skip to content

The open-source app everyone uses to manage agents at work

Merge branch 'master' into add-gpt-5-4-xhigh-effort

Dotta19aaa54ae41b
diff --cc packages/adapters/opencode-local/src/index.ts
index 0603630d30,bbe75c264e..c8f37a81b2
--- a/packages/adapters/opencode-local/src/index.ts
+++ b/packages/adapters/opencode-local/src/index.ts
@@@ -29,7 -21,8 +29,8 @@@ Core fields
- cwd (string, optional): default absolute working directory fallback for the agent process (created if missing when possible)
- instructionsFilePath (string, optional): absolute path to a markdown instructions file prepended to the run prompt
- model (string, required): OpenCode model id in provider/model format (for example anthropic/claude-sonnet-4-5)
-- variant (string, optional): provider-specific model variant (for example minimal|low|medium|high|max)
+- variant (string, optional): provider-specific reasoning/profile variant passed as --variant (for example minimal|low|medium|high|xhigh|max)
+ - dangerouslySkipPermissions (boolean, optional): inject a runtime OpenCode config that allows \`external_directory\` access without interactive prompts; defaults to true for unattended Paperclip runs
- promptTemplate (string, optional): run prompt template
- command (string, optional): defaults to "opencode"
- extraArgs (string[], optional): additional CLI args
diff --cc server/src/adapters/registry.ts
index 8c56aef9a7,3db7cdf9ee..1f195f862e
--- a/server/src/adapters/registry.ts
+++ b/server/src/adapters/registry.ts
@@@ -94,8 -150,11 +151,11 @@@ const openCodeLocalAdapter: ServerAdapt
type: "opencode_local",
execute: openCodeExecute,
testEnvironment: openCodeTestEnvironment,
+ listSkills: listOpenCodeSkills,
+ syncSkills: syncOpenCodeSkills,
sessionCodec: openCodeSessionCodec,
+ models: openCodeModels,
+ sessionManagement: getAdapterSessionManagement("opencode_local") ?? undefined,
- models: [],
listModels: listOpenCodeModels,
supportsLocalAgentJwt: true,
agentConfigurationDoc: openCodeAgentConfigurationDoc,