anomalyco / anomalyco/opencode

[BUG] Web UI crashes when pasting large log text into the input box

Open
#40,229 3 comments 0 reactions 1 assignee View on GitHub

@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
  1. Open the opencode Web UI
  2. Create a new session
  3. Paste a large amount of log text into the chat input box
  4. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.