Repository navigation
Conversation
In zsh, the default shell on macOS, `"@$SNAP:e5"` applies the `:e`
(extension) modifier to `$SNAP` and sends `@5`. The `INVALID_ARGS`
suggestion only asked for the qualified form, which is what the caller
believed it had sent, so the same command came back.
A ref that is `@` followed by digits now gets a suggestion that names the
cause and the braced form `"@${SNAP}:e5"`. The shell paragraph of the
skill says the same.
Contributor
|
@ZERLB is attempting to deploy a commit to the Vercel Labs Team on Vercel. A member of the Team first needs to authorize it. |
Collaborator
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.
Summary
In zsh, the default shell on macOS,
"@$SNAP:e5"applies the:e(extension) modifier to$SNAPand sends@5. The command fails withINVALID_ARGS, and the suggestion only asks for the qualified form, which is what the caller believes it sent. A ref that is@followed by digits now gets a suggestion that names the cause and the braced form"@${SNAP}:e5". The shell paragraph of the skill says the same.Related issues
No issue filed for this.
Type of change
feat:— new featurefix:— bug fixdocs:— documentation onlyrefactor:— no behavior changeperf:— performance improvementtest:— adding or fixing testschore:— maintenance / dependenciesci:— CI/CD changesBREAKING CHANGE— incompatible ABI or CLI changeHow tested
cargo fmt --all -- --checkcargo clippy "${HOST_PKGS[@]}" --all-targets -- -D warningscargo test "${HOST_PKGS[@]}" --libcargo test -p agent-desktopcargo test -p agent-desktop-ffi --testsAGENT_DESKTOP_E2E_EXCLUSIVE=1 bash tests/e2e/run.sh(requires--releasebuild + AX permission; run when behavior changes)The test steps ran through
scripts/cargo-test-isolated-home.shon macOS 26.7.1, arm64. I did not run the E2E suite: the change is the text of one suggestion and reaches no adapter code.ref_token_tests.rsgains a test:@5,@10and@123get the new suggestion, and a bare@e5keeps the old one.agent-desktop click @5onmainat e8934a5 and on this branch returns the same code and message, and the suggestion changes:suggestionmainA malformed ref of another shape, such as
@s8f3k2p95, keeps the suggestion it has onmain.Checklist
type: description, lowercase, no capital after colon)cargo fmtandcargo clippy -D warningsare cleanunwrap()added in non-test code///doc-comments on public items)skills/agent-desktop/or the platform skill underskills/agent-desktop-macos/,skills/agent-desktop-windows/orskills/agent-desktop-linux/)No command, flag or output field changes, so the README and the docs site stay as they are.