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
Good work on the v1.0! I have been testing it for just over a day now. At least on my system (Mac M2, Ghostty) the v1 UI is quite unstable. I have also, as many other users, have experienced disappearing content area, that sporadically comes back, or you have to try to change the theme to make it redraw. This still happening with v1.0.25.
However, this is a new one I started seeing today after upgrading to 1.0.25, please see the screen grab. The "saving lockfile" thing stays there for a long time, assuming until a bigger redraw of the UI.
OpenCode version
1.0.25
Steps to reproduce
Difficult to say. I use a somewhat complex opencode.json with many subagents, not sure if that affects. Happy to test any alternative versions.
This issue might be a duplicate of existing issues. Please check:
message history randomly flickers/disappears #3905: Describes the same issue where "message history randomly flickers/disappears" and "seems to happen in nearly every long-running session" - very similar to the disappearing content area you describe
Screen becomes completely blank #3776: Reports "Screen becomes completely blank" and mentions that "switching to a theme" brings the contents back - matches your observation about changing themes to make it redraw
[BUG] Unable to Load Old Sessions #3669: "[BUG] Unable to Load Old Sessions" where "Conversation history flashes and disappears upon revisiting" - similar flickering behavior
Several of these issues also mention macOS and terminal-specific problems (including Ghostty), and the symptoms of disappearing content, flickering UI, and needing theme changes to redraw are very consistent across these reports.
Feel free to ignore if none of these address your specific case.
Also, myself as well as some other users have experienced a serious slowdown of the app as the session gets older. Not sure if that is related to the number of subagent sessions I have. I use a project manager agent and a set of system prompts that then direct the project manager to delegate to subagents. In my normal workflow there are many many subagent sessions, so potentially a lot of content in subagent tabs. Personally I would be fine for opencode TUI to start deleting the subagent sessions after a while. I usually only look at the latest one, or the current one that is working.
Can confirm the slowdown on Mac M1 on Alacritty also. Aside from the other mentioned blackouts, the biggest issue I have been facing is inability to scroll when expected to provide a permission response.
It looks like new content is getting is getting drawn after permission event, and the performance issue is preventing scroll to see what happened.
This happens without subagent session also. Its possible the Anthropic Sonnet 4.5 from Anthropic provider is also slow, probably needs a lot more stability before I'd be able to use new version.
I can also confirm a slowdown on Alacritty on Apple Silicon; it's sometimes unusable at all. I don't think it's about the agents, etc, but it definitely fails with long/big sessions.
In 0.x, it was working perfectly fine. In 1.x, it's barely usable.
Also, myself as well as some other users have experienced a serious slowdown of the app as the session gets older. Not sure if that is related to the number of subagent sessions I have. I use a project manager agent and a set of system prompts that then direct the project manager to delegate to subagents. In my normal workflow there are many many subagent sessions, so potentially a lot of content in subagent tabs. Personally I would be fine for opencode TUI to start deleting the subagent sessions after a while. I usually only look at the latest one, or the current one that is working.
Same here, I started using such a workflow just before the switch to v1 and it's mostly unusable now. (WezTerm on Mac M2 Pro)
Some more anecdotal datapoints, but I've been seeing this on my M series MBPs in both wezterm and neovim-within-wezterm using neovim's embedded terminal. As @randomm similarly noticed it's most evident with longer sessions.
I'm not sure if it's related, but around 60% of the opencode starts, I have a mess in the TUI. Each mouse move or keyboard tap prints something like coordinates:
Usually, I close it and try again. But sometimes, I have to try several times.
I'm using Alacritty / Arch Linux (omarchy).
Reacted by Baptiste Gaillard, Kamil, Thomas Barron, MatyiFKBT and Jane Manchun Wong
I have this issue without piping, but on Apple silicon with alacrity.
It happens randomly so I cannot figure out what causes it. After exiting opencode instance I need to "reset" the terminal.
i am on 1.0.34, an M4 and kitty and am also having a lot of hangs with large but recently compacted sessions:
eg. pressing "enter" to confirm/allow an action was instantanious before, now takes a few seconds, such that i am unsure whether my command was registered in the first place
starting the TUI in the first place does is a lot slower too
i can't press f2 to switch betweens models anymore
i can't use ctrl u to delete the full command anymore (eg. after doing undo)
more often Error: The socket connection was closed unexpectedly. For more information, pass verbose: true in the second argument to fetch() (using anthropic models, on about every fourth message), but that might be unstable internet while travelling.
I have one Macbook M2 on the v1.x series and another in the old v0.x series. The latter is perfectly functional, but any real world working on the v1.x series, currently, is not very possible. It gets very sluggish, to the point of ctrl+c not even working, or ctrl+z either. Have to shut down terminal tab and try again with opencode -c, in which point it sometimes is possible to continue. But any interaction with longer sessions, especially with ones that have lots of subagent sessions, is close to impossible. I am going to downgrade my other laptop from v1.x back to the older one until v1.x is stable.
Not complaining, this is stellar stuff that you guys are doing, and I understand that my use case - with tens and tens of subagent tabs/sub-sessions per session is probably a fringe use case, albeit a very useful one as I get a very long main chat with the orchestrator and with subagents doing all the heavy lifting.
we landed some more perf fixes in 1.0.36 specifically for long sessions
also what is helpful is doing opencode export > dump.json and picking a session you have an issue with. if you can send us that dump we can load it locally and dig deeper - already fixed a few issues this way
OK we figured out the issue it being broken on start and needing a restart. when the autoupdate process in the background runs it was breaking things - this is why it was flakey
just pushed the fix for that so no need for a new issue
Hi, thanks a lot @thdxr, I just updated OpenCode to version 1.0.39 and I can confirm what I described in my previous comment is working now and there are not bugs anymore 👍 .
OK we figured out the issue it being broken on start and needing a restart. when the autoupdate process in the background runs it was breaking things - this is why it was flakeyjust pushed the fix for that so no need for a new issue
Nice catch! Thank you!
Is this autoupdate process triggered even if I installed using a package manager? In my case, I'm using "yay" (AUR), but when I try to "opencode upgrade", I'm unable to do so because it's managed by a package manager.
Activity
github-actions commentedon Nov 5, 2025
This issue might be a duplicate of existing issues. Please check:
Several of these issues also mention macOS and terminal-specific problems (including Ghostty), and the symptoms of disappearing content, flickering UI, and needing theme changes to redraw are very consistent across these reports.
Feel free to ignore if none of these address your specific case.
randomm commentedon Nov 5, 2025
Also, myself as well as some other users have experienced a serious slowdown of the app as the session gets older. Not sure if that is related to the number of subagent sessions I have. I use a project manager agent and a set of system prompts that then direct the project manager to delegate to subagents. In my normal workflow there are many many subagent sessions, so potentially a lot of content in subagent tabs. Personally I would be fine for opencode TUI to start deleting the subagent sessions after a while. I usually only look at the latest one, or the current one that is working.
shubham-root commentedon Nov 5, 2025
Can confirm the slowdown on Mac M1 on Alacritty also. Aside from the other mentioned blackouts, the biggest issue I have been facing is inability to scroll when expected to provide a permission response.
It looks like new content is getting is getting drawn after permission event, and the performance issue is preventing scroll to see what happened.
This happens without subagent session also. Its possible the Anthropic Sonnet 4.5 from Anthropic provider is also slow, probably needs a lot more stability before I'd be able to use new version.
pigmej commentedon Nov 5, 2025
I can also confirm a slowdown on Alacritty on Apple Silicon; it's sometimes unusable at all. I don't think it's about the agents, etc, but it definitely fails with long/big sessions.
In 0.x, it was working perfectly fine. In 1.x, it's barely usable.
dpausp commentedon Nov 5, 2025
Same here, I started using such a workflow just before the switch to v1 and it's mostly unusable now. (WezTerm on Mac M2 Pro)
thdxr commentedon Nov 5, 2025
sorry about this - we're doing another pass on performance for the more intense sessions tonight
we'll track it down - can stay on 0.15.x in the meantime
roshbhatia commentedon Nov 5, 2025
Some more anecdotal datapoints, but I've been seeing this on my M series MBPs in both wezterm and neovim-within-wezterm using neovim's embedded terminal. As @randomm similarly noticed it's most evident with longer sessions.
fabioalmeidaweb commentedon Nov 5, 2025
I'm not sure if it's related, but around 60% of the opencode starts, I have a mess in the TUI. Each mouse move or keyboard tap prints something like coordinates:
Usually, I close it and try again. But sometimes, I have to try several times.
I'm using Alacritty / Arch Linux (omarchy).
rekram1-node commentedon Nov 5, 2025
@fabioalmeidaweb it only happens when u are piping right? or is this a constant issue
pigmej commentedon Nov 5, 2025
I have this issue without piping, but on Apple silicon with alacrity.
It happens randomly so I cannot figure out what causes it. After exiting opencode instance I need to "reset" the terminal.
thdxr commentedon Nov 5, 2025
yeah it happens randomly for me too - needs a restart
we released some perf fixes in 1.0.30 - can people try opening their fat sessions in there and let us know if it's any better?
more perf fixes are on the way, being worked on rn
thdxr commentedon Nov 6, 2025
more fixes in 1.0.31
1 remaining item
johannesrave commentedon Nov 6, 2025
i am on
1.0.34, an M4 and kitty and am also having a lot of hangs with large but recently compacted sessions:Error: The socket connection was closed unexpectedly. For more information, passverbose: truein the second argument to fetch()(using anthropic models, on about every fourth message), but that might be unstable internet while travelling.randomm commentedon Nov 6, 2025
I have one Macbook M2 on the v1.x series and another in the old v0.x series. The latter is perfectly functional, but any real world working on the v1.x series, currently, is not very possible. It gets very sluggish, to the point of ctrl+c not even working, or ctrl+z either. Have to shut down terminal tab and try again with opencode -c, in which point it sometimes is possible to continue. But any interaction with longer sessions, especially with ones that have lots of subagent sessions, is close to impossible. I am going to downgrade my other laptop from v1.x back to the older one until v1.x is stable.
Not complaining, this is stellar stuff that you guys are doing, and I understand that my use case - with tens and tens of subagent tabs/sub-sessions per session is probably a fringe use case, albeit a very useful one as I get a very long main chat with the orchestrator and with subagents doing all the heavy lifting.
fabioalmeidaweb commentedon Nov 6, 2025
I'm not piping, just running the "opencode" command. Sometimes works, sometimes it doesn't.
insign commentedon Nov 6, 2025
@fabioalmeidaweb Ive just installed and not working for me to. Tried via pacman and curl install. Simply nothing happens.
rekram1-node commentedon Nov 6, 2025
@pigmej if u run
opencode --print-logswhat do u seethdxr commentedon Nov 6, 2025
can we make a seperate issue for the thing where opencode starts up weirdly and needs a restart? i have that as well sometimes
thdxr commentedon Nov 6, 2025
we landed some more perf fixes in 1.0.36 specifically for long sessions
also what is helpful is doing
opencode export > dump.jsonand picking a session you have an issue with. if you can send us that dump we can load it locally and dig deeper - already fixed a few issues this waythdxr commentedon Nov 7, 2025
OK we figured out the issue it being broken on start and needing a restart. when the autoupdate process in the background runs it was breaking things - this is why it was flakey
just pushed the fix for that so no need for a new issue
bgaillard commentedon Nov 7, 2025
Hi, thanks a lot @thdxr, I just updated OpenCode to version
1.0.39and I can confirm what I described in my previous comment is working now and there are not bugs anymore 👍 .pigmej commentedon Nov 7, 2025
WIth 1.0.39 I also stopped having most of my issues so far.
insign commentedon Nov 7, 2025
Here too, thanks.
fabioalmeidaweb commentedon Nov 7, 2025
Nice catch! Thank you!
Is this autoupdate process triggered even if I installed using a package manager? In my case, I'm using "yay" (AUR), but when I try to "opencode upgrade", I'm unable to do so because it's managed by a package manager.
thdxr commentedon Nov 12, 2025
yeah it won't do it for anything that requires sudo
thdxr commentedon Nov 12, 2025
going to mark this as completed, any remaining issues if you run into them please open a new issue - ty