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
{{ message }}
Repository navigation
Bind to Unix domain socket with a file descriptor #2119
I think all we have to do is change the bun server binding to support the unix param.
My use case is for spinning up thousands of opencode instances in isolation so they can be tested in parallel without any shared state. I have a parser that parses out the message that prints the host and port that it currently binds to but this is flaky and I have to update it every time the text changes. It would be better if I can specify a file descriptor to the unix: param, then I don't have to go through the IP stack either.
Activity
rekram1-node commentedon Dec 28, 2025
[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!
BackSlasher commentedon Jan 16, 2026
@rekram1-node could we reopen? I think this is valuable for sandboxed instances (running the server in a docker container, and the client outside it)
prashanthpai commentedon Jan 19, 2026
@xadenryan Please reopen
rakibdev commentedon Jan 19, 2026
pls pls pls pls pls pls pls pls pls
bobvanderlinden commentedon Feb 27, 2026
I wrote a plugin to post state of opencode to a unix socket. See https://github.com/bobvanderlinden/nixos-config/blob/master/home/modules/opencode/session-status.js. It's to have a panel in my bottom bar to show the state of all opencode instances.
divinity76 commentedon Nov 10, 2026
Guess this is not exactly what you're asking for, but you may find
of interest?