-
Notifications
You must be signed in to change notification settings - Fork 14.4k
core: move workspace roots onto environments #31655
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
Changes from all commits
7bd45ba
5092b60
8c24dcb
ec7065b
2c98e1f
0e31de2
aa74579
9f75bf7
500e176
27f21a7
dd51887
014742d
b008d04
e1cb296
2bb2cd2
6e417ed
7e95377
884c235
8a2621d
fc49471
872e688
4bc7a10
2020f57
8fbc671
31fbc7a
a6c4d49
c69a8a8
6507c02
c5b8161
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When a v2 client supplies
environments, eachruntimeWorkspaceRootslist is accepted and deduped with no count or byte/token limit before it becomes the active environment's workspace roots and is rendered into the model-visible environment context. A large list can therefore inject unbounded context and churn the prompt cache; reject or truncate the per-environment roots at a hard cap before storing them.AGENTS.md reference: AGENTS.md:L97-L100
Useful? React with 👍 / 👎.