mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-19 10:02:16 +00:00
`normalizeFenceBlocks`/`pushProseFence` appended block bodies with `out.push(...lines)`, which spreads every line as a separate call argument. A single message carrying a large fenced block (a logged minified bundle, base64 blob, or big tool dump — common in long sessions) overflows V8's argument-count limit and throws `RangeError: Maximum call stack size exceeded`, breaking the transcript render. Compression doesn't save us: it gates on tokens vs. window, not a single message's line count, and the protected recent tail renders verbatim regardless. Append iteratively via a small `extend()` helper. Behavior is identical for normal-sized blocks. |
||
|---|---|---|
| .. | ||
| bootstrap-installer | ||
| desktop | ||
| shared | ||