Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
cloudflare
/
cloudflare-os
Public
Notifications
You must be signed in to change notification settings
Fork
1.2k
Star
10.1k
Code
Issues
78
Pull requests
46
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Cap tool results at 32K; add grep and line ranges to readFile
- #494
#494
Merged
AshishKumar4
merged 6 commits into
main
cloudflare/cloudflare-os:main
from
tool-result-bounds
cloudflare/cloudflare-os:tool-result-bounds
Copy head branch name to clipboard
Sep 23, 2026
Conversation
Commits
6
(6)
Checks
Files changed
Merged
Cap tool results at 32K; add grep and line ranges to readFile
#494
AshishKumar4
merged 6 commits into
main
cloudflare/cloudflare-os:main
from
tool-result-bounds
cloudflare/cloudflare-os:tool-result-bounds
Copy head branch name to clipboard
Commits
Commits on Sep 23, 2026
Move the worktree grep scan out of WorktreeSessionImpl
Show description for dfaad48
AshishKumar4
committed
dfaad48
View commit details
Copy full SHA for dfaad48
Browse repository at this point
Add a grep tool for gadget and worktree files
Show description for af4a9f8
AshishKumar4
committed
af4a9f8
View commit details
Copy full SHA for af4a9f8
Browse repository at this point
Let readFile return a window of lines
Show description for 9452fa4
AshishKumar4
committed
9452fa4
View commit details
Copy full SHA for 9452fa4
Browse repository at this point
Cap what the model sees of a tool result at 32K characters
Show description for 714e352
AshishKumar4
committed
714e352
View commit details
Copy full SHA for 714e352
Browse repository at this point
Test grep, windowed reads and the result cap end to end
Show description for 448bcf6
AshishKumar4
committed
448bcf6
View commit details
Copy full SHA for 448bcf6
Browse repository at this point
Address review: one grep path, per-tool caps, no fallthrough
Show description for 233af7c
AshishKumar4
committed
233af7c
View commit details
Copy full SHA for 233af7c
Browse repository at this point
You can’t perform that action at this time.