Skip to content

Keep --json output valid under --max-chars (0.2.2) - #10

Merged
m4bwav merged 1 commit into
mainfrom
json-maxchars
Nov 15, 2026
Merged

m4bwav merged 1 commit into
mainfrom
json-maxchars

Conversation

@m4bwav

@m4bwav m4bwav commented Nov 15, 2026

Copy link
Copy Markdown
Owner

With --json, --max-chars cut the serialized string and produced broken JSON. Text fields are now shortened inside the object and flagged with "truncated": true. New offline test; 40 tests pass; budget green.

@m4bwav
m4bwav merged commit 2d9377b into main Nov 15, 2026
7 checks passed
@m4bwav
m4bwav deleted the json-maxchars branch November 15, 2026 19:39
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