Skip to content

bug: potentially targets zombie opencode processes #118

@PhantomYdn

Description

@PhantomYdn

Did you check docs and existing issues?

  • I have read all the plugin docs
  • I have searched the existing issues
  • I have searched the existing opencode issues

Operating system/version

MacOS 26.2

:checkhealth opencode output

1 ============================================================================== 2 opencode: 2 ⚠️ 3 4 opencode.nvim 5 - ✅ OK nvim version: 0.11.5. 6 - ✅ OK opencode.nvim git commit hash: 9356782. 7 - ✅ OK vim.g.opencode_opts: { 8 provider = { 9 enabled = "tmux", 10 tmux = { 11 options = "-h -p 35" 12 } 13 } 14 } 15 16 opencode.nvim [binaries] 17 - ✅ OK opencode available with version 1.0.220. 18 - ✅ OK curl available. 19 - ✅ OK pgrep available. 20 - ✅ OK lsof available. 21 22 opencode.nvim [snacks] 23 - ✅ OK snacks.input is enabled: ask() will be enhanced. 24 - ✅ OK snacks.picker is enabled: select() will be enhanced. 25 26 opencode.nvim [providers] 27 - ✅ OK Configured opencode provider: tmux. 28 - ✅ OK The snacks provider is available. 29 - ⚠️ WARNING The kitty provider is not available — KITTY_LISTEN_ON environment variable is not set. 30 - ADVICE: 31 - Enable remote control in kitty. 32 - ⚠️ WARNING The wezterm provider is not available — wezterm executable not found in $PATH. 33 - ADVICE: 34 - Install wezterm and ensure it's in your $PATH. 35 - ✅ OK The tmux provider is available. 36 - ✅ OK The terminal provider is available.

Describe the bug

I have multiple tmux sessions with nvim and opencode.nvim. And for some instances - all it fine, but for one - it just can't find openned opencode by themself. Restart doesn't work. All commands sent to opencode from nvim just doesn't have any effect.

Steps To Reproduce

  1. Hard to say: it doesn't work at one place. And I don't know how to troubleshoot.

Expected Behavior

Should be connected always - especially if opencode was started by the plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions