[PR #9064] feat: expose acp thinking variants #12973

Closed
opened 2026-02-16 18:17:51 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/9064

State: closed
Merged: Yes


What does this PR do?

Fixes #8973 by exposing thinking variants in ACP model selection:

  • Appends model+variant entries (e.g., claude-sonnet-4/high) to models.availableModels
  • Parses variant from session/set_model selections and keeps session variant in sync
  • Returns proper variant metadata via _meta (modelId, variant, availableVariants) instead of empty object
  • Updated @agentclientprotocol/sdk to 0.13.0

How did you verify your code works?

  • bun run typecheck
  • Zed exposes thinking variants via model selector
  • Verified session/set_model responses include correct _meta.opencode with variant info

Screenshot

CleanShot 2026-01-17 at 12 59 39@2x
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/9064 **State:** closed **Merged:** Yes --- ### What does this PR do? Fixes #8973 by exposing thinking variants in ACP model selection: - Appends model+variant entries (e.g., `claude-sonnet-4/high`) to `models.availableModels` - Parses variant from `session/set_model` selections and keeps session variant in sync - Returns proper variant metadata via `_meta` (`modelId`, `variant`, `availableVariants`) instead of empty object - Updated `@agentclientprotocol/sdk` to 0.13.0 ### How did you verify your code works? - `bun run typecheck` - Zed exposes thinking variants via model selector - Verified `session/set_model` responses include correct `_meta.opencode` with variant info ### Screenshot <img width="1592" height="1844" alt="CleanShot 2026-01-17 at 12 59 39@2x" src="https://github.com/user-attachments/assets/3f26dd11-5d5b-4b86-84bc-53d4e5f5e391" />
yindo added the pull-request label 2026-02-16 18:17:51 -05:00
yindo closed this issue 2026-02-16 18:17:51 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12973