anomalyco / anomalyco/opencode
[BUG] Web UI crashes when pasting large log text into the input box
Open
@Hona is already working on this.
Since Aug 3, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Problem Description
In the opencode Web UI, when pasting a large amount of log text into the chat input box, the page crashes. After refreshing the page, the page displays normally again, and the pasted log content can be successfully sent.
Steps to Reproduce
- Open the opencode Web UI
- Create a new session
- Paste a large amount of log text into the chat input box
- Observe the page crash
Expected Behavior
Pasting large text into the input box should not crash the page; the content should remain editable and sendable.
Actual Behavior
The page crashes immediately after pasting large log text. However, after refreshing, the page renders normally and the log content can be sent successfully.
Environment
- opencode version: v1.18.6
- Mode: Web UI
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.