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 <noreply@anthropic.com>
This commit is contained in:
2026-04-15 20:10:52 -04:00
parent e53bcf2501
commit 85575a93a2
+3
View File
@@ -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",