Opencode crashes the entire terminal session right after open #859

Open
opened 2026-02-16 17:28:35 -05:00 by yindo · 14 comments
Owner

Originally created by @brunobmello25 on GitHub (Jul 22, 2025).

Originally assigned to: @thdxr on GitHub.

Here is a video showcasing the bug. this is happening on every directory I open, even if it's not a git repo

https://github.com/user-attachments/assets/dc93805b-6a4f-457d-a50b-e0f3ceeb4909

opencode current version: 0.3.51
first version I've seen this bug happen: 0.3.28
terminal used: kitty with tmux

solutions attempted: everytime this bug happens, deleting the ~/.opencode folder fixes the problem, but after a while it starts happening again

Not sure how to get opencode crash logs, but i can put them here if needed

Originally created by @brunobmello25 on GitHub (Jul 22, 2025). Originally assigned to: @thdxr on GitHub. Here is a video showcasing the bug. this is happening on every directory I open, even if it's not a git repo https://github.com/user-attachments/assets/dc93805b-6a4f-457d-a50b-e0f3ceeb4909 opencode current version: 0.3.51 first version I've seen this bug happen: 0.3.28 terminal used: kitty with tmux solutions attempted: everytime this bug happens, deleting the ~/.opencode folder fixes the problem, but after a while it starts happening again Not sure how to get opencode crash logs, but i can put them here if needed
Author
Owner

@brunobmello25 commented on GitHub (Jul 22, 2025):

ran with opencode --log-level DEBUG --print-logs &> logs.txt and got this output:

INFO  2025-07-22T16:05:33 +47ms service=default version=0.3.51 args=["--log-level","DEBUG","--print-logs"] opencode
INFO  2025-07-22T16:05:33 +0ms service=app cwd=/home/hidden.user/.dotfiles creating
INFO  2025-07-22T16:05:33 +1ms service=app git=/home/hidden.user/.dotfiles git
INFO  2025-07-22T16:05:33 +0ms service=bus type=storage.write subscribing
INFO  2025-07-22T16:05:33 +0ms service=app name=bus registering service
INFO  2025-07-22T16:05:33 +0ms service=format init
INFO  2025-07-22T16:05:33 +0ms service=bus type=file.edited subscribing
INFO  2025-07-22T16:05:33 +0ms service=config.hooks init
INFO  2025-07-22T16:05:33 +0ms service=bus type=file.edited subscribing
INFO  2025-07-22T16:05:33 +0ms service=bus type=session.idle subscribing
INFO  2025-07-22T16:05:33 +0ms service=app name=lsp registering service
INFO  2025-07-22T16:05:33 +1ms service=app name=provider registering service
INFO  2025-07-22T16:05:33 +0ms service=app name=config registering service
INFO  2025-07-22T16:05:33 +1ms service=config username=hidden.user loaded
INFO  2025-07-22T16:05:33 +1ms service=models.dev refreshing
INFO  2025-07-22T16:05:33 +0ms service=provider init
INFO  2025-07-22T16:05:33 +2ms service=provider providerID=anthropic found
INFO  2025-07-22T16:05:33 +0ms service=provider providerID=openai found
INFO  2025-07-22T16:05:33 +3ms service=default cmd=["/home/hidden.user/.cache/opencode/tui/tui-2ns50tbe."] tui
INFO  2025-07-22T16:05:33 +0ms service=app name=mode registering service
INFO  2025-07-22T16:05:33 +19ms service=server method=GET path=/config request
INFO  2025-07-22T16:05:33 +1ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +1ms service=tui app={"hostname":"<HIDDEN>","time":{},"git":true,"path":{"config":"/home/hidden.user/.config/opencode","state":"/home/hidden.user/.local/state/opencode","data":"/home/hidden.user/.local/share/opencode/project/home-hidden.user--dotfiles","root":"/home/hidden.user/.dotfiles","cwd":"/home/hidden.user/.dotfiles"}} modes=[{"name":"build","tools":{}},{"name":"plan","tools":{"write":false,"edit":false,"patch":false}}] TUI launched
INFO  2025-07-22T16:05:33 +0ms service=server duration=1 response
INFO  2025-07-22T16:05:33 +2ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui tool=xclip Clipboard tool found
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
[?2004h[?1002h[?1006h[>4;1m[?4m[>1u[?uINFO  2025-07-22T16:05:33 +5ms service=server method=GET path=/file/status request
INFO  2025-07-22T16:05:33 +2ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui config={"$schema":"","autoshare":false,"autoupdate":false,"disabled_providers":[],"experimental":{"hook":{"file_edited":{},"session_completed":[]}},"instructions":[],"keybinds":{"app_exit":"","app_help":"","editor_open":"","file_close":"","file_diff_toggle":"","file_list":"","file_search":"","input_clear":"","input_newline":"","input_paste":"","input_submit":"","leader":"ctrl+x","messages_copy":"","messages_first":"","messages_half_page_down":"","messages_half_page_up":"","messages_last":"","messages_layout_toggle":"","messages_next":"","messages_page_down":"","messages_page_up":"","messages_previous":"","messages_revert":"","model_list":"","project_init":"","session_compact":"","session_export":"","session_interrupt":"","session_list":"","session_new":"","session_share":"","session_unshare":"","switch_mode":"","switch_mode_reverse":"","theme_list":"","tool_details":""},"layout":"","log_level":"","mcp":{},"mode":{"build":{"model":"","prompt":"","tools":{}},"plan":{"model":"","prompt":"","tools":{}}},"model":"","provider":{},"share":"","small_model":"","theme":"","username":"hidden.user"} Loaded config
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=GET path=/event request
INFO  2025-07-22T16:05:33 +0ms service=server event connected
INFO  2025-07-22T16:05:33 +1ms service=bus type=* subscribing
INFO  2025-07-22T16:05:33 +1ms service=server duration=2 response
INFO  2025-07-22T16:05:33 +0ms service=server method=GET path=/config/providers request
INFO  2025-07-22T16:05:33 +1ms service=server duration=1 response
INFO  2025-07-22T16:05:33 +2ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +1ms service=tui timeTakenMs=0 app.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=1 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui from=tea.ColorProfileMsg timeTakenMs=0 messages.Update
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui from=tea.ColorProfileMsg timeTakenMs=0 app.Update
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +1ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
]11;?[?1004h[?1049h[?25lINFO  2025-07-22T16:05:33 +19ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 app.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +2ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui from=tea.WindowSizeMsg timeTakenMs=0 messages.Update
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server duration=30 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui from=tea.WindowSizeMsg timeTakenMs=0 app.Update
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 messages.renderView
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +1ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 app.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui from=tea.EnvMsg timeTakenMs=0 messages.Update
INFO  2025-07-22T16:05:33 +1ms service=server duration=1 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui from=tea.EnvMsg timeTakenMs=0 app.Update
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 app.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +1ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui from=opencode.EventListResponseEventLspClientDiagnostics timeTakenMs=0 messages.Update
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui from=opencode.EventListResponseEventLspClientDiagnostics timeTakenMs=0 app.Update
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 app.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +1ms service=tui from=chat.renderCompleteMsg timeTakenMs=0 messages.Update
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui from=chat.renderCompleteMsg timeTakenMs=0 app.Update
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 app.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +1ms service=tui from=tea.sequenceMsg timeTakenMs=0 messages.Update
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui from=tea.sequenceMsg timeTakenMs=0 app.Update
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 app.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +1ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui from=dialog.ShowInitDialogMsg timeTakenMs=0 messages.Update
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui from=dialog.ShowInitDialogMsg timeTakenMs=0 app.Update
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 app.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +1ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui from=tea.backgroundColorMsg timeTakenMs=0 messages.Update
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui from=tea.backgroundColorMsg timeTakenMs=0 app.Update
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 app.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui from=app.ModelSelectedMsg timeTakenMs=0 messages.Update
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +1ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui from=app.ModelSelectedMsg timeTakenMs=0 app.Update
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui file=/home/hidden.user/.local/state/opencode/tui State saved to file
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 app.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui from=spinner.TickMsg timeTakenMs=0 messages.Update
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +1ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui from=spinner.TickMsg timeTakenMs=0 app.Update
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 app.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui from=tea.enableModeMsg timeTakenMs=0 messages.Update
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui from=tea.enableModeMsg timeTakenMs=0 app.Update
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +1ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 app.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +306ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +1ms service=tui from=spinner.TickMsg timeTakenMs=0 messages.Update
INFO  2025-07-22T16:05:33 +0ms service=server duration=1 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui from=spinner.TickMsg timeTakenMs=0 app.Update
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +1ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:33 +0ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:33 +1ms service=tui timeTakenMs=1 app.View
INFO  2025-07-22T16:05:33 +0ms service=server duration=1 response
INFO  2025-07-22T16:05:34 +188ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:34 +0ms service=tui from=cursor.BlinkMsg timeTakenMs=0 messages.Update
INFO  2025-07-22T16:05:34 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:34 +1ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:34 +0ms service=tui from=cursor.BlinkMsg timeTakenMs=0 app.Update
INFO  2025-07-22T16:05:34 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:34 +1ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:34 +0ms service=tui timeTakenMs=0 home.View
INFO  2025-07-22T16:05:34 +0ms service=server duration=0 response
INFO  2025-07-22T16:05:34 +1ms service=server method=POST path=/log request
DEBUG 2025-07-22T16:05:34 +0ms service=tui timeTakenMs=1 app.View
INFO  2025-07-22T16:05:34 +0ms service=server duration=0 response
@brunobmello25 commented on GitHub (Jul 22, 2025): ran with `opencode --log-level DEBUG --print-logs &> logs.txt` and got this output: ``` INFO 2025-07-22T16:05:33 +47ms service=default version=0.3.51 args=["--log-level","DEBUG","--print-logs"] opencode INFO 2025-07-22T16:05:33 +0ms service=app cwd=/home/hidden.user/.dotfiles creating INFO 2025-07-22T16:05:33 +1ms service=app git=/home/hidden.user/.dotfiles git INFO 2025-07-22T16:05:33 +0ms service=bus type=storage.write subscribing INFO 2025-07-22T16:05:33 +0ms service=app name=bus registering service INFO 2025-07-22T16:05:33 +0ms service=format init INFO 2025-07-22T16:05:33 +0ms service=bus type=file.edited subscribing INFO 2025-07-22T16:05:33 +0ms service=config.hooks init INFO 2025-07-22T16:05:33 +0ms service=bus type=file.edited subscribing INFO 2025-07-22T16:05:33 +0ms service=bus type=session.idle subscribing INFO 2025-07-22T16:05:33 +0ms service=app name=lsp registering service INFO 2025-07-22T16:05:33 +1ms service=app name=provider registering service INFO 2025-07-22T16:05:33 +0ms service=app name=config registering service INFO 2025-07-22T16:05:33 +1ms service=config username=hidden.user loaded INFO 2025-07-22T16:05:33 +1ms service=models.dev refreshing INFO 2025-07-22T16:05:33 +0ms service=provider init INFO 2025-07-22T16:05:33 +2ms service=provider providerID=anthropic found INFO 2025-07-22T16:05:33 +0ms service=provider providerID=openai found INFO 2025-07-22T16:05:33 +3ms service=default cmd=["/home/hidden.user/.cache/opencode/tui/tui-2ns50tbe."] tui INFO 2025-07-22T16:05:33 +0ms service=app name=mode registering service INFO 2025-07-22T16:05:33 +19ms service=server method=GET path=/config request INFO 2025-07-22T16:05:33 +1ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +1ms service=tui app={"hostname":"<HIDDEN>","time":{},"git":true,"path":{"config":"/home/hidden.user/.config/opencode","state":"/home/hidden.user/.local/state/opencode","data":"/home/hidden.user/.local/share/opencode/project/home-hidden.user--dotfiles","root":"/home/hidden.user/.dotfiles","cwd":"/home/hidden.user/.dotfiles"}} modes=[{"name":"build","tools":{}},{"name":"plan","tools":{"write":false,"edit":false,"patch":false}}] TUI launched INFO 2025-07-22T16:05:33 +0ms service=server duration=1 response INFO 2025-07-22T16:05:33 +2ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui tool=xclip Clipboard tool found INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response [?2004h[?1002h[?1006h[>4;1m[?4m[>1u[?uINFO 2025-07-22T16:05:33 +5ms service=server method=GET path=/file/status request INFO 2025-07-22T16:05:33 +2ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui config={"$schema":"","autoshare":false,"autoupdate":false,"disabled_providers":[],"experimental":{"hook":{"file_edited":{},"session_completed":[]}},"instructions":[],"keybinds":{"app_exit":"","app_help":"","editor_open":"","file_close":"","file_diff_toggle":"","file_list":"","file_search":"","input_clear":"","input_newline":"","input_paste":"","input_submit":"","leader":"ctrl+x","messages_copy":"","messages_first":"","messages_half_page_down":"","messages_half_page_up":"","messages_last":"","messages_layout_toggle":"","messages_next":"","messages_page_down":"","messages_page_up":"","messages_previous":"","messages_revert":"","model_list":"","project_init":"","session_compact":"","session_export":"","session_interrupt":"","session_list":"","session_new":"","session_share":"","session_unshare":"","switch_mode":"","switch_mode_reverse":"","theme_list":"","tool_details":""},"layout":"","log_level":"","mcp":{},"mode":{"build":{"model":"","prompt":"","tools":{}},"plan":{"model":"","prompt":"","tools":{}}},"model":"","provider":{},"share":"","small_model":"","theme":"","username":"hidden.user"} Loaded config INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=GET path=/event request INFO 2025-07-22T16:05:33 +0ms service=server event connected INFO 2025-07-22T16:05:33 +1ms service=bus type=* subscribing INFO 2025-07-22T16:05:33 +1ms service=server duration=2 response INFO 2025-07-22T16:05:33 +0ms service=server method=GET path=/config/providers request INFO 2025-07-22T16:05:33 +1ms service=server duration=1 response INFO 2025-07-22T16:05:33 +2ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +1ms service=tui timeTakenMs=0 app.View INFO 2025-07-22T16:05:33 +0ms service=server duration=1 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui from=tea.ColorProfileMsg timeTakenMs=0 messages.Update INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui from=tea.ColorProfileMsg timeTakenMs=0 app.Update INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +1ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response ]11;?[?1004h[?1049h[?25lINFO 2025-07-22T16:05:33 +19ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 app.View INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +2ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui from=tea.WindowSizeMsg timeTakenMs=0 messages.Update INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server duration=30 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui from=tea.WindowSizeMsg timeTakenMs=0 app.Update INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 messages.renderView INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +1ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 app.View INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui from=tea.EnvMsg timeTakenMs=0 messages.Update INFO 2025-07-22T16:05:33 +1ms service=server duration=1 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui from=tea.EnvMsg timeTakenMs=0 app.Update INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 app.View INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +1ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui from=opencode.EventListResponseEventLspClientDiagnostics timeTakenMs=0 messages.Update INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui from=opencode.EventListResponseEventLspClientDiagnostics timeTakenMs=0 app.Update INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 app.View INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +1ms service=tui from=chat.renderCompleteMsg timeTakenMs=0 messages.Update INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui from=chat.renderCompleteMsg timeTakenMs=0 app.Update INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 app.View INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +1ms service=tui from=tea.sequenceMsg timeTakenMs=0 messages.Update INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui from=tea.sequenceMsg timeTakenMs=0 app.Update INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 app.View INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +1ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui from=dialog.ShowInitDialogMsg timeTakenMs=0 messages.Update INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui from=dialog.ShowInitDialogMsg timeTakenMs=0 app.Update INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 app.View INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +1ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui from=tea.backgroundColorMsg timeTakenMs=0 messages.Update INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui from=tea.backgroundColorMsg timeTakenMs=0 app.Update INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 app.View INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui from=app.ModelSelectedMsg timeTakenMs=0 messages.Update INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +1ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui from=app.ModelSelectedMsg timeTakenMs=0 app.Update INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui file=/home/hidden.user/.local/state/opencode/tui State saved to file INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 app.View INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui from=spinner.TickMsg timeTakenMs=0 messages.Update INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +1ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui from=spinner.TickMsg timeTakenMs=0 app.Update INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 app.View INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui from=tea.enableModeMsg timeTakenMs=0 messages.Update INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui from=tea.enableModeMsg timeTakenMs=0 app.Update INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +1ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 app.View INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +306ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +1ms service=tui from=spinner.TickMsg timeTakenMs=0 messages.Update INFO 2025-07-22T16:05:33 +0ms service=server duration=1 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui from=spinner.TickMsg timeTakenMs=0 app.Update INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +1ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +0ms service=tui timeTakenMs=0 home.View INFO 2025-07-22T16:05:33 +0ms service=server duration=0 response INFO 2025-07-22T16:05:33 +0ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:33 +1ms service=tui timeTakenMs=1 app.View INFO 2025-07-22T16:05:33 +0ms service=server duration=1 response INFO 2025-07-22T16:05:34 +188ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:34 +0ms service=tui from=cursor.BlinkMsg timeTakenMs=0 messages.Update INFO 2025-07-22T16:05:34 +0ms service=server duration=0 response INFO 2025-07-22T16:05:34 +1ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:34 +0ms service=tui from=cursor.BlinkMsg timeTakenMs=0 app.Update INFO 2025-07-22T16:05:34 +0ms service=server duration=0 response INFO 2025-07-22T16:05:34 +1ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:34 +0ms service=tui timeTakenMs=0 home.View INFO 2025-07-22T16:05:34 +0ms service=server duration=0 response INFO 2025-07-22T16:05:34 +1ms service=server method=POST path=/log request DEBUG 2025-07-22T16:05:34 +0ms service=tui timeTakenMs=1 app.View INFO 2025-07-22T16:05:34 +0ms service=server duration=0 response ```
Author
Owner

@thdxr commented on GitHub (Jul 22, 2025):

does it happen only with the tui? fine with opencode run ?

@thdxr commented on GitHub (Jul 22, 2025): does it happen only with the tui? fine with `opencode run` ?
Author
Owner

@brunobmello25 commented on GitHub (Jul 23, 2025):

@thdxr i ended up deleting the folder again because i needed to use the tool again, but as soon as i can reproduce this issue again i'll test this out for you

@brunobmello25 commented on GitHub (Jul 23, 2025): @thdxr i ended up deleting the folder again because i needed to use the tool again, but as soon as i can reproduce this issue again i'll test this out for you
Author
Owner

@brunobmello25 commented on GitHub (Jul 23, 2025):

@thdxr it happened again and now I can confirm: only happening with the TUI. with opencode run it runs fine

@brunobmello25 commented on GitHub (Jul 23, 2025): @thdxr it happened again and now I can confirm: only happening with the TUI. with `opencode run` it runs fine
Author
Owner

@brunobmello25 commented on GitHub (Aug 6, 2025):

@thdxr not sure if it's related or not, but everytime that this happens, I try to update opencode by running the install script again (with curl -fsSL https://opencode.ai/install | bash) and I get this error:

\033[0;31mFailed to fetch version information\033[0m

after a few minutes, the install script starts working again. I'm just adding this here because, since opencode has a self update feature now, maybe this is related?

after the script is back working, the session still crashes until i update it, so it might not be directly affecting this, but i still thought that you should know

@brunobmello25 commented on GitHub (Aug 6, 2025): @thdxr not sure if it's related or not, but everytime that this happens, I try to update opencode by running the install script again (with `curl -fsSL https://opencode.ai/install | bash`) and I get this error: ``` \033[0;31mFailed to fetch version information\033[0m ``` after a few minutes, the install script starts working again. I'm just adding this here because, since opencode has a self update feature now, maybe this is related? after the script is back working, the session still crashes until i update it, so it might not be directly affecting this, but i still thought that you should know
Author
Owner

@brunobmello25 commented on GitHub (Aug 13, 2025):

update: after more usage i stumbled across the same issue but on another context. instead of crashing as soon as I open the program, i was in the middle of typing out a prompt and it crashed. then when i tried opening up opencode again, it said that opencode is not a valid program, as if it was uninstalled. I ran the install script again and it installed version 0.4.42, which was release just the minute before

I'm inclined to believe that this bug is related to the self update feature on opencode and some issue when fetching version information on github

@brunobmello25 commented on GitHub (Aug 13, 2025): update: after more usage i stumbled across the same issue but on another context. instead of crashing as soon as I open the program, i was in the middle of typing out a prompt and it crashed. then when i tried opening up opencode again, it said that `opencode` is not a valid program, as if it was uninstalled. I ran the install script again and it installed version `0.4.42`, which was release just the minute before I'm inclined to believe that this bug is related to the self update feature on opencode and some issue when fetching version information on github
Author
Owner

@rekram1-node commented on GitHub (Aug 13, 2025):

I've had a similar situation happen to what you just described^^ new install broke my opencode installation forcing me to delete and reinstall

@rekram1-node commented on GitHub (Aug 13, 2025): I've had a similar situation happen to what you just described^^ new install broke my opencode installation forcing me to delete and reinstall
Author
Owner

@brunobmello25 commented on GitHub (Aug 25, 2025):

@thdxr this has been happening pretty much twice a day now, to the point where i always run curl -fsSL https://opencode.ai/install | bash before opening opencode just to make sure that it won't crash my entire tmux session

any tips on how to get proper logs on this crashes? with that i could probably debug the crash cause from here

@brunobmello25 commented on GitHub (Aug 25, 2025): @thdxr this has been happening pretty much twice a day now, to the point where i always run `curl -fsSL https://opencode.ai/install | bash` before opening opencode just to make sure that it won't crash my entire tmux session any tips on how to get proper logs on this crashes? with that i could probably debug the crash cause from here
Author
Owner

@rekram1-node commented on GitHub (Aug 25, 2025):

hmm all logs go to ~/.local/share/opencode/log/...

if you run:

opencode debug paths

it shows were all main paths are

Haven't seen this specific issue (opencode crashes) before or heard anyone else report it...

@rekram1-node commented on GitHub (Aug 25, 2025): hmm all logs go to ~/.local/share/opencode/log/... if you run: ``` opencode debug paths ``` it shows were all main paths are Haven't seen this specific issue (opencode crashes) before or heard anyone else report it...
Author
Owner

@brunobmello25 commented on GitHub (Aug 25, 2025):

@rekram1-node thanks!

I checked the logs on this directory but it doesn't seem to be anything crash related over there. pretty much all logs are basic info.

I'll see if I can get a reproduceable state happening again, and when that happens i'll try to dump all files and folders into a docker container and see if it crashes from there. this way at least we might have some sort of reproduceable state

just have to be careful not to leak my anthropic credentials in the process

@brunobmello25 commented on GitHub (Aug 25, 2025): @rekram1-node thanks! I checked the logs on this directory but it doesn't seem to be anything crash related over there. pretty much all logs are basic info. I'll see if I can get a reproduceable state happening again, and when that happens i'll try to dump all files and folders into a docker container and see if it crashes from there. this way at least we might have some sort of reproduceable state just have to be careful not to leak my anthropic credentials in the process
Author
Owner

@rekram1-node commented on GitHub (Aug 25, 2025):

Is this happening only when a fresh version is available? it seems like the autoupdate is crashing your opencode instance to me?

@rekram1-node commented on GitHub (Aug 25, 2025): Is this happening only when a fresh version is available? it seems like the autoupdate is crashing your opencode instance to me?
Author
Owner

@rekram1-node commented on GitHub (Aug 25, 2025):

you could try (installing a previous version):

curl -fsSL https://opencode.ai/install | VERSION=0.5.26 bash

then run opencode and see if the auto update would kill it?

@rekram1-node commented on GitHub (Aug 25, 2025): you could try (installing a previous version): ``` curl -fsSL https://opencode.ai/install | VERSION=0.5.26 bash ``` then run opencode and see if the auto update would kill it?
Author
Owner

@brunobmello25 commented on GitHub (Aug 25, 2025):

@rekram1-node got it crashing with this approach! however, there isn't any relevant log in the logs directory about this crash

I'll see if I can move this to a container so that it's easily reproduceable

@brunobmello25 commented on GitHub (Aug 25, 2025): @rekram1-node got it crashing with this approach! however, there isn't any relevant log in the logs directory about this crash I'll see if I can move this to a container so that it's easily reproduceable
Author
Owner

@brunobmello25 commented on GitHub (Dec 24, 2025):

@rekram1-node hey, it's been a while, sorry about that. I ended up ditching AI agents for a bit and got back to it just recently.

unfortunatelly, I couldn't reproduce this bug on a docker container or something similar, however it's still happening, and now it's constant: reinstalling it doesn't fix the issue.

Here is a video showcasing the issue:

https://github.com/user-attachments/assets/e1744d11-b5d5-4064-adb7-b7b0c6049a08

As you can see, I install opencode and open it, only to have it crash right after. Right after installing, I check the executable path and it points to ~/.opencode/bin normally, however once it crashes, opencode is not on the path anymore.
I forgot to show this part on the video, but if we run ls -la ~/.opencode/bin we can see that the folder is empty:

Image

Does the autoupdate process delete the old binary file? maybe we are crashing midway through and ending up in a broken, not installed state

@brunobmello25 commented on GitHub (Dec 24, 2025): @rekram1-node hey, it's been a while, sorry about that. I ended up ditching AI agents for a bit and got back to it just recently. unfortunatelly, I couldn't reproduce this bug on a docker container or something similar, however it's still happening, and now it's constant: reinstalling it doesn't fix the issue. Here is a video showcasing the issue: https://github.com/user-attachments/assets/e1744d11-b5d5-4064-adb7-b7b0c6049a08 As you can see, I install opencode and open it, only to have it crash right after. Right after installing, I check the executable path and it points to `~/.opencode/bin` normally, however once it crashes, opencode is not on the path anymore. I forgot to show this part on the video, but if we run `ls -la ~/.opencode/bin` we can see that the folder is empty: <img width="635" height="182" alt="Image" src="https://github.com/user-attachments/assets/9f6e2732-c8d8-4360-b87b-82a5e3ed76a4" /> Does the autoupdate process delete the old binary file? maybe we are crashing midway through and ending up in a broken, not installed state
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#859