Skip to content

fix: decode stdin once instead of per chunk - #184

Merged
bartveneman merged 2 commits into
mainfrom
claude/stdin-decoding
Nov 9, 2026
Merged

bartveneman merged 2 commits into
mainfrom
claude/stdin-decoding

Conversation

@bartveneman

@bartveneman bartveneman commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Collect stdin as buffers and decode once, so a multi-byte character split across chunk boundaries can't be corrupted. Checked by piping 140 KB of non-ASCII CSS through the built CLI.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

🎉 Package Size Decrease

📦 Package 📏 Base Size 📏 Source Size 📈 Size Change
wallace-cli 4.7 kB 4.7 kB -23 B

Comment thread src/bin.ts Resolved
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@bartveneman
bartveneman merged commit b4a9952 into main Nov 9, 2026
10 checks passed
@bartveneman
bartveneman deleted the claude/stdin-decoding branch November 9, 2026 19:48
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.

2 participants