Skip to content

Fix beautifier expanding nested arrays that fit within MAX_ARRAY_LENGTH#2

Merged
RodolfoPichardo merged 1 commit into
mainfrom
fix/beautifier-nested-array-collapse
Apr 17, 2026
Merged

Fix beautifier expanding nested arrays that fit within MAX_ARRAY_LENGTH#2
RodolfoPichardo merged 1 commit into
mainfrom
fix/beautifier-nested-array-collapse

Conversation

@RodolfoPichardo
Copy link
Copy Markdown
Owner

Replace fixed-size token-count queue with a dynamic array and trigger expansion by character length instead of token count, so short nested arrays like [["a","b"],["c","d"]] stay collapsed.

Replace fixed-size token-count queue with a dynamic array and trigger
expansion by character length instead of token count, so short nested
arrays like [["a","b"],["c","d"]] stay collapsed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@RodolfoPichardo RodolfoPichardo merged commit 5b2740c into main Apr 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant