There is no build available for alpine atm so I am force to clone the repo and just do
bun $HOME/opencode/packages/opencode/src/index.ts as an alias for opencode to start the UI where I want to run agents for. I swapped to the opentui branch due to perf issues I noticed on bigger monitors when full screened. Everything was working mostly great until I pulled in 22f8c228 which now results running into the below error.
This error occurs if running opencode in any directory that is not packages/opencode. Seems like the relative path is assuming its always going be ran from the opencode package, which may be fine if it is bundled into the binary but breaks the only way I have been able to run this on alpine.
So to replicate, checkout the opentui branch of this repo.
from the root do bun packages/opencode/src/index.ts and see the workers error. then do git checkout 22f8c228~ to see it work just fine