Is there a way to configure the `persistHookOutput` 10,000-character threshold?

Resolved 💬 6 comments Opened Apr 19, 2026 by permaevidence Closed May 31, 2026

Hooks returning additionalContext larger than 10,000 characters get persisted to a temporary file instead of injected inline (via the internal persistHookOutput function).

Is there a supported way to raise or disable this threshold? I've looked for a settings.json key, an env var, and a CLI flag — can't find one. If I missed it, pointer appreciated. If it's not configurable today, would you consider exposing it?

Context: I'm building a long-term-memory plugin and the 10K cap is significantly lower than what I need.

View original on GitHub ↗

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