Skip to content

Commit de13960

Browse files
committed
opencode: elicitation investigation — not supported (Step 10)
Investigated whether opencode supports MCP elicitation by searching the opencode source code (anomalyco/opencode). Found that the MCP client capability list in packages/opencode/src/mcp/index.ts has elicitation explicitly commented out: // anomalyco/opencode#23066 // elicitation: {}, MCP servers cannot send elicitation requests because opencode's client never declares the capability. Tracked as a future feature via issue #23066. Decision: plan path (c) — no implementation. The disabled TestElicitation_* tests stay //go:build ignore'd. Updated the test file header and the plan section with the finding. Revisit when opencode adds elicitation support. No code changes beyond documentation/comments. Refs: OPENCODE_DELEGATOR_PLAN.md Step 10.
1 parent dad275e commit de13960

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎internal/delegator/opencode/elicitation_test.go‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//go:build ignore
22
// Content below is fully disabled (no kept tests); Step 9+ replaces with fresh tests.
3+
//
4+
// Elicitation investigation (Step 10): opencode does NOT support MCP
5+
// elicitation. The MCP client capability list in packages/opencode/src/mcp/index.ts
6+
// has elicitation commented out (issue #23066). These tests stay disabled
7+
// until opencode adds elicitation support.
38
package opencode
49

510
import (

0 commit comments

Comments
 (0)