From 85575a93a2d36f750f99ef75800aee094e471944 Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Wed, 15 Apr 2026 20:10:52 -0400 Subject: [PATCH] Add adapter capability flags for opencode_k8s Declare supportsInstructionsBundle, instructionsPathKey, and requiresMaterializedRuntimeSkills on ServerAdapterModule. opencode_k8s does not support instructions bundles (instructions are piped via init container) and does not require materialized runtime skills (bundled in container image). Co-Authored-By: Claude Opus 4.6 --- src/server/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/server/index.ts b/src/server/index.ts index db63166..1d3f442 100644 --- a/src/server/index.ts +++ b/src/server/index.ts @@ -16,6 +16,9 @@ export function createServerAdapter(): ServerAdapterModule { supportsLocalAgentJwt: true, agentConfigurationDoc, getConfigSchema, + supportsInstructionsBundle: false, + instructionsPathKey: undefined, + requiresMaterializedRuntimeSkills: false, sessionManagement: getAdapterSessionManagement("opencode_local") ?? { supportsSessionResume: true, nativeContextManagement: "unknown",