The location of lsof is hardcoded at /usr/sbin/lsof but on Ubuntu, for me it's at /usr/bin/lsof.
Additionally, using lsof to check for the running opencode port will not work if the opencode server is running as another user and the opencode-pilot's user cannot see the command listening on the port.
There's already server_port in the config.yml. Why is it using lsof checks to find the opencode server?
The location of lsof is hardcoded at
/usr/sbin/lsofbut on Ubuntu, for me it's at/usr/bin/lsof.Additionally, using lsof to check for the running
opencodeport will not work if theopencodeserver is running as another user and theopencode-pilot's user cannot see the command listening on the port.There's already
server_portin the config.yml. Why is it using lsof checks to find the opencode server?