[BUG] Output interrupted with structured JSON chunks

Resolved 💬 3 comments Opened Oct 27, 2025 by Cyclones-Y Closed Oct 30, 2025

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Description

When running Claude in "Code" mode, the output is sometimes interrupted.
Instead of showing normal text or code, it outputs JSON-like structures such as:

[{'type': 'text', 'text': '[[{...}]]'}]

What Should Happen?

Expected Behavior

Claude should complete the full response in plain text or Markdown format.

Error Messages/Logs

Steps to Reproduce

This happens when Claude is generating long responses or when network latency is high.

Steps to Reproduce

  1. Open Claude Code environment.
  2. Ask a complex question (e.g. "How to start a virtual environment in frontend using WebContainer").
  3. Observe that output stops in the middle, with partial JSON instead of complete text.

Actual Behavior

Claude stops with partial JSON output and does not continue.

Claude Model

Other

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

v2.0.25

Platform

Other

Operating System

Windows

Terminal/Shell

IntelliJ IDEA terminal

Additional Information

<img width="851" height="1062" alt="Image" src="https://github.com/user-attachments/assets/b5dfa88b-c2fc-4152-b9b2-3d2e9f1ca366" />

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗