Update dependencies to resolve max out tokens issue #97
+191
−41
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.
Summary
Fix for #65, and alternate solution from #75
@anthropic-ai/claude-agent-sdk 0.1.0gem has a hard limit of 32k output tokens. This limit means that settingCLAUDE_CODE_MAX_OUTPUT_TOKENSto > 32k has no impact. Upgrading to the latest version solves this issue as that limitation has been removed.Changes
@anthropic-ai/claude-agent-sdk 0.1.0and dependentzodgems to latest versions.src/ai/claude-executor.tsto passCLAUDE_CODE_MAX_OUTPUT_TOKENSin the way newest version of claude agent SDK expects.Test Plan
CLAUDE_CODE_MAX_OUTPUT_TOKENSto 64k./shannon starton a repo that generates a pre-recon output that is larger than 32kI understand you're not accepting external PRs. I have found this tool very useful and wanted to do what I can to suggest improvements even if they are not accepted. If it helps you resolve an issue faster then I have done my part to contribute back.