Repository navigation
fix(core): mitigate exponential token consumption and add budget guardrails #2482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
juniorhillory-creator
wants to merge
34
commits into
Zoo-Code-Org:main
Choose a base branch
from
juniorhillory-creator:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
810cb2a
feat(text-normalization): add stripAnsi and truncateTerminalOutput fu…
juniorhillory-creator 7e7fa9d
fix(execute-command): replace stripAnsi with truncateTerminalOutput f…
juniorhillory-creator 0bd14d4
feat(auto-approval): implement token circuit breaker and extend appro…
juniorhillory-creator a42dc57
feat(file-truncation): implement truncateFileOutput function for slid…
juniorhillory-creator 46fe235
vitest error fixed.
juniorhillory-creator 33498bd
feat(read-file-tool): implement adaptive sliding-window truncation an…
juniorhillory-creator 6a4b008
fix(tests): update import statements for AutoApprovalHandler tests
juniorhillory-creator 41f6a49
feat(types): add ambient type declarations for Node.js modules and up…
juniorhillory-creator fc21be3
style: format files with prettier
juniorhillory-creator d3ca38c
fix: resolve knip unused exports, unlisted dependencies, and config e…
juniorhillory-creator 749a3bc
fix(lint): resolve ESLint violations across core tools and restore pr…
juniorhillory-creator 149da24
fix(types): resolve TS2345 in writeToFileTool and TS2578 in text-norm…
juniorhillory-creator 14f8ae4
test(auto-approval): verify rejection and window retention for token …
juniorhillory-creator 3431bf4
Merge branch 'main' into main
juniorhillory-creator 5c35943
Merge branch 'main' of https://github.com/juniorhillory-creator/Zoo-Code
juniorhillory-creator bd98000
test(auto-approval): verify affirmative reset and post-approval messa…
juniorhillory-creator 9dc90d3
feat(auto-approval): wire allowedMaxTokens through settings schema, g…
juniorhillory-creator ed97cb6
fix(task): allow yesButtonClicked approval on token circuit breaker a…
juniorhillory-creator 097ff09
fix(execute-command): retain full inline output up to compression lim…
juniorhillory-creator 11fac4f
Update condition for file reading limits
juniorhillory-creator 147bce3
fix(read-file): apply adaptive sliding-window preview only when both …
juniorhillory-creator c2ea96f
Merge branch 'main' of https://github.com/juniorhillory-creator/Zoo-Code
juniorhillory-creator 42e01f3
fix(read-file): use complete numbered file content for adaptive previ…
juniorhillory-creator ec9e55e
fix(read-file): correct pagination metadata and retrieval instruction…
juniorhillory-creator c8fc59b
fix(text-normalization): accurately type unescapeHtmlEntities overloa…
juniorhillory-creator 8265fa6
refactor(text-normalization): construct ANSI regex dynamically to eli…
juniorhillory-creator fbabf1e
feat(auto-approval): support tokens limit warning translation keys in…
juniorhillory-creator 937a25b
test(AutoApprovedRequestLimitWarning): add missing test case for butt…
juniorhillory-creator b4ef5ab
fix(auto-approval): retain current unfinished api_req_started in toke…
juniorhillory-creator ca417f0
test(read-file): eliminate redundant any assertions and add offline t…
juniorhillory-creator ca0ed49
style: format files with prettier
juniorhillory-creator f70d3fe
fix(core): resolve test failures in readFileTool, executeCommand, and…
juniorhillory-creator f4c2b35
test(task): use providerIdentifiers.anthropic in token circuit breake…
juniorhillory-creator 430ed14
chore(lint): prune stale suppressions in readFileTool spec
juniorhillory-creator File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
|
juniorhillory-creator marked this conversation as resolved.
Resolved
|
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.