Skip to content

opencode.nvim fails to render live chat output with newer opencode CLI versions (1.14.41 works, 1.14.46 fails) #374

Closed

Description

@wzj-zz

I tracked this down to a compatibility issue between opencode.nvim and newer opencode CLI versions.

What happens

  • after submitting a prompt, opencode.nvim only shows Thinking...
  • my own user message does not render live
  • assistant responses do not render live
  • if I restart Neovim and reopen the session, the full conversation history is present and correct

Important detail

  • the opencode CLI itself works normally
  • the problem is specifically in opencode.nvim display/live update behavior

Regression range for the opencode CLI

  • last known good: 1.14.41
  • first known bad: 1.14.46

What I verified

  • Windows native Neovim: broken with opencode 1.14.46
  • WSL: also broken with opencode 1.14.46
  • restarting Neovim shows correct persisted history
  • older opencode.nvim versions did not fix it when used with the newer CLI
  • rolling back only the opencode CLI to 1.14.41 restores normal behavior
  • the opencode CLI itself continues to work normally outside this live rendering issue

Observed symptoms suggest

  • message/session persistence is fine
  • live event consumption or live rendering in opencode.nvim is failing
  • the UI gets stuck in a Thinking... state without showing real-time messages

Environment

  • opencode.nvim
  • opencode CLI 1.14.46 reproduces the issue
  • opencode CLI 1.14.41 works
  • reproduced in both Windows native Neovim and WSL

Activity

  1. sudo-tee commented on May 10, 2026

    @sudo-tee
    Owner

    Thanks for the report.

    I will have a look

  2. sudo-tee commented on May 10, 2026

    @sudo-tee
    Owner

    The first diagnosis it that the event endpoint seems to not emit session events anymore. Either a bug on their side or we need to find another way to get them
    Nothing in their changelog suggest they changed the event endpoint

  3. sudo-tee commented on May 10, 2026

    @sudo-tee
    Owner
  4. erpingshuai commented on May 13, 2026

    @erpingshuai

    i have the same issue

  5. sudo-tee commented on May 13, 2026

    @sudo-tee
    Owner

    I pushed a fix so we use the /global/event endpoint and normalize them. If they fix the other endpoint I might revert in the future

  6. added a commit that references this issue on May 18, 2026
    a3e114d
  7. added a commit that references this issue on Jul 23, 2026
    e7a97f0
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