docs: add egg_tool_output.py to shared/ structure [doc-updater] - #2881
Merged
Conversation
Authored-by: egg
Contributor
Author
|
egg review completed. View run logs |
james-in-a-box Bot
added a commit
that referenced
this pull request
May 29, 2026
Authored-by: egg Co-authored-by: jwbron <8340608+jwbron@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update documentation to reflect changes from 5605832 (Fix #2805: cap egg-owned MCP tool output at the tool layer, #2878):
shared/egg_tool_output.pyto the shared-libraries section ofdocs/development/STRUCTURE.md. The module is a new flat stdlib-only helper that caps MCP tool output at 100 KB (configurable viaEGG_TOOL_OUTPUT_CAP_BYTES) to prevent the Agent SDK's 1 MB reader-buffer crash; it was missing from the structure inventory.The code change already updated
docs/reference/agent-tools.mdwith a fullEGG_TOOL_OUTPUT_CAP_BYTESreference section; this PR covers the remaining gap in STRUCTURE.md.Triggered by: #2878
Authored-by: egg