You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: detect opencode process when command name is 'bun' instead of 'opencode'
Fixes#83
When opencode is installed via Nix or launched with Bun, the process
name in lsof appears as 'bun' instead of 'opencode', causing the
plugin to fail to auto-detect the running server.
This changes the detection logic to:
1. Use pgrep to find PIDs by command line pattern 'opencode run'
2. Use lsof on the specific PIDs to get their listening ports
This approach is more robust and works regardless of how opencode
was installed or launched (node, bun, binary, etc.).
0 commit comments