-
-
Notifications
You must be signed in to change notification settings - Fork 100
Description
Did you check docs and existing issues?
- I have read the plugin docs
- I have read the opencode docs
- I have searched the existing plugin issues
- I have searched the existing opencode issues
:checkhealth opencode output
opencode: 5 nvim version: 0.11.4+v0.11.4. - opencode.nvim git commit hash: e876696dc93c1962eaeff8ca5114c23c20485d09. - vim.g.opencode_opts: { provider = { enabled = "kitty", kitty = {} } } opencode.nvim [binaries] ~ - OK opencode available with version 1.2.6. - opencode version has an older patch version than latest tested version 1.1.11: may cause compatibility issues. - ADVICE: - Update opencode. - OK curl available. - OK pgrep available. - OK lsof available. opencode.nvim [snacks] ~ - snacks.nvim is not available: ask() and select() will not be enhanced. opencode.nvim [providers] ~ - OK Configured opencode provider: kitty. - snacks provider is not available -- snacks.nvim is not available. - ADVICE: - Install snacks.nvim and enable snacks.terminal. - OK The kitty provider is available. - wezterm provider is not available -- wezterm executable not found in $PATH. - ADVICE: - Install wezterm and ensure it's in your $PATH. - tmux provider is not available -- tmux executable not found in $PATH. - ADVICE: - Install tmux and ensure it's in your $PATH. - OK The terminal provider is available.
Describe the bug
I've configured opencode.nvim to use the Kitty provider as documented and have the opencode CLI installed and accessible in my $PATH. However, when attempting to use the Kitty provider, I receive the following error:
opencode failed to start with error: exec: "opencode": executable file not found in $PATH
Steps To Reproduce
- Install opencode CLI and verify it's in $PATH (e.g., which opencode returns the executable path)
- Configure opencode.nvim with the Kitty provider:
vim.g.opencode_opts = {
provider = {
enabled = "kitty",
kitty = {
-- ...
}
}
}
3. Enable Kitty remote control as documented (via command line or kitty.conf) - Attempt to trigger opencode from Neovim
- Error occurs in new window: "opencode failed to start with error: exec: "opencode": executable file not found in $PATH"
Expected Behavior
The Kitty provider should successfully spawn an opencode instance inside nvim (vsplit)