Repository navigation
agy-cli 0.1.114: a home working directory is not added to agy's workspace, so the client's largest tools stay (#1405) - #1469
Open
wangbingnan136 wants to merge 2 commits into
Conversation
… the client's largest tools stay (magpie-community#1405)
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.
Fixes #1405.
Summary
With the home directory in its workspace, agy loads what is there as customizations that share the tools' 20,000-token budget, and drops the client's largest tools (Bash, Read, Agent) to fit. The reporter verified this patch locally and re-applied it after three auto-updates. A home working directory is still where the client's tools run, and the model is still told so. Only agy's workspace leaves it out.
Evidence
New test in
test/repeat-batch.mjs:plugins#1405: a home working directory is not added to agy's workspace; a folder in it isindex.mjsviaAGY_BRIDGE_TEST_INDEX): fails, and the spawn args carry--add-dir <home>After: pass. A folder inside home is still added, and the prompt still names the home directory as where the tools run.
bun test ./agy-cli.test.mjs,bun scripts/check.mjs,bun scripts/bumped.mjs upstream/main: passMerge Danger
Door: two-way.
Blast Radius: narrow. Only sessions whose working directory is exactly the home directory change. agy's own built-in file tools, which the bridge denies anyway, no longer see home as a workspace.
Version: 0.1.113 → 0.1.114.