just a diff so i can see whats happening in this branch#377
Open
just a diff so i can see whats happening in this branch#377
Conversation
f50b563 to
09a6473
Compare
09a6473 to
15e4f17
Compare
ad529ad to
bb825a5
Compare
1eaaf51 to
da56861
Compare
- Introduces compress.protectedTools config to specify tools whose outputs should be appended to summaries when compressed. - Default protected tools: task, todowrite, todoread. - Implements appendProtectedTools to extract completed outputs of protected tool calls from the compressed range. - Updates config merging to use a Set, ensuring default tools are always protected.
- Adds compress.protectedTools to schema and README. - Sets the documented default to []. - Clarifies that task, todowrite, and todoread are always inherently protected. - Updates showCompression description for clarity.
…aries - Modifies appendProtectedTools to check tool input parameters against protectedFilePatterns. - Removes the early return check, ensuring tools are always processed. - If a tool's target files match any protected pattern, its output is appended to the summary, ensuring critical file operations are preserved during compression. - Passes ctx.config.protectedFilePatterns to appendProtectedTools in compress.ts.
- Modifies rejectsTextParts in lib/messages/utils.ts to always return false. - Adds a comment indicating the logic is disabled for beta testing. - Adjusts indentation for toolPartMetadata properties.
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.
No description provided.