Skip to content

need dialog support for opencode harness #1459

Closed

Description

@db-lyon
No description provided.

Activity

  1. db-lyon commented on Nov 5, 2026

    @db-lyon
    OwnerAuthor

    Refs #1773 / bdf997c (merged into integration/next, not yet released).

    What opencode supports, from its source: opencode 2.0.18 and later advertise MCP elicitation (elicitation: { form: {}, url: {} } since 2.0.30), but until 2.1.4 every form was dropped before it reached the UI (anomalyco/opencode#58184), so a call that elicited waited until it timed out. From 2.1.4 the TUI, desktop and web render form elicitations (enum, oneOf, multiselect arrays, boolean, number), and a tool call may run 12 hours. It sends clientInfo.name = "opencode" with its app version.

    What changed here:

    • opencode below 2.1.4 is treated as unable to elicit (elicitationUnrenderedNote in src/dispatch/client-quirks.ts, read by buildElicit). Blocking dialogs now default to defer there, an explicit interactive falls back to defer, and the refusal names the opencode version and says to upgrade, instead of waiting on a form nobody sees.
    • opencode 2.1.4 and later keep the interactive default: the dialog is put to the person in a form and only their button is pressed. The longer dialog message is still relayed on the first refused call, since the opencode form's message rendering is not verified to show long text whole.
    • Documented in docs/configuration.md under Dialog handling mode.

    Known opencode limit outside ue-mcp: opencode run (headless) leaves elicitation forms for another attached client, so a dialog raised there waits until answered in a TUI or the editor window.

    Remaining live check: raise a blocking dialog (for example the Save Content prompt) from opencode 2.1.4+ against tests/ue_mcp and confirm the form appears and the chosen button is pressed.

  2. github-actions commented on Nov 6, 2026

    @github-actions
    Contributor

    Available in v1.4.12-beta.3 (fix: bdf997c); install it with npx ue-mcp@beta. This issue closes when the stable release ships.

  3. github-actions commented on Nov 6, 2026

    @github-actions
    Contributor

    Fixed in bdf997c, released in v1.4.12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions