[IMPROVEMENT]: Don't toggle console for non-critical issues
Feature hasn't been suggested before.
- [x] I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Recently, I do get console errors and warnings quite frequently, and every time the console window toggles - which impedes my workflow. For non-critical issues, it should be less intrusive, please. A popup "an error occurred, toggle console to report a bug" would be better. If it's not a crash and I can continue working (95% of cases), I don't want to have to manually toggle the console which overlays my entire screen.
This issue might be a duplicate of existing issues. Please check:
- #5035: Dynamically switch command_list item text for toggling the console
- #7883: User visible error message that can't be cleaned
- #4786: Focus mode to toggle off all the decorations (related feature request for less intrusive UI)
- #3455: Make permissions dialog non-blocking and add modifier key shortcuts (related to non-blocking UI improvements)
Feel free to ignore if none of these address your specific case.
Can u provide some examples of what was triggering it? like what u saw?
This is also happening to me very frequently
This is consistently happening to me too when I interrupt a task in the middle of a tool call to qwen3-coder-30B-a3b (q5)
[09:50:46] [WARN] 'TSWorker:' 'No parser found for injection language: toml'
....... (multiple repeats of the same line)
[09:50:47] [WARN] 'TSWorker:' 'No parser found for injection language: toml'
[09:53:19] [ERROR] Error: Unexpected end of JSON input
SyntaxError: Unexpected end of JSON input
at <parse> (:0)
at json (unknown)
at <anonymous> (/nix/store/dnw6jy9213ff35pj47s33kys143y8x33-opencode-1.1.
/lib/opencode/dist/src/index.js:178161:43)
at processTicksAndRejections (native:7:39)
Is there a way to dismiss the console without having to exit opencode and start everything again?
Happening a lot for me as well... is there a way to close the console at least?
[08:14:48] [ERROR] Error: Unexpected end of JSON input
SyntaxError: Unexpected end of JSON input
at <parse> (:0)
at json (unknown)
at <anonymous> (../sdk/js/src/v2/gen/client/client.gen.ts:167:33)
at processTicksAndRejections (native:7:39)
@qmx @sra As a temp workaround you can close it with ctrl+p then Toggle Console
I left my MacBook closed all day while opencode was open in the terminal and idle on the welcome screen. When I opened the laptop, I noticed opened console and many errors in the output: [ERROR] Error: The operation timed out.
I’ve also seen the same thing when opencode is left open but unused for a while, especially when the network connection is unstable.
I left my MacBook closed all day while
opencodewas open in the terminal and idle on the welcome screen. When I opened the laptop, I noticed opened console and many errors in the output:[ERROR] Error: The operation timed out.I’ve also seen the same thing whenopencodeis left open but unused for a while, especially when the network connection is unstable.
For me I cannot close the console wiht the ctrl+y
