opencode
opencode copied to clipboard
OPENCODE_SERVER_PASSWORD in env prevents user from working in TUI
Description
When setting the OPENCODE_SERVER_PASSWORD variable in the env file, the TUI cannot be used anymore.
This is the cli output:
➜ git:(master) opencode
Unauthorized
➜ git:(master) opencode --hostname 127.0.0.1 --port 4096
^[[?2027;0$y^[[?2031;0$y^[[?1004;2$y^[[?2004;2$y^[[?2026;0$yUnauthorized
^[[?2027;0$y^[[?2031;0$y^[[?1004;2$y^[[?2004;2$y^[[?2026;0$y^[[1;1R%
It would be desirable to be able to start opencode in the tui and also keep the web gui open (for notification sounds, checking in from other devices when networking is set up, personal preferences about using tui and web-gui concurrently, ...)
Plugins
No response
OpenCode version
1.1.16
Steps to reproduce
- Run
OPENCODE_SERVER_PASSWORD='secure-password' opencode
Screenshot and/or share link
No response
Operating System
macOS Sequoia
Terminal
Cursor / VSCode