Repository navigation
feat(remote): push files to SSH and WSL workspaces - #700
Merged
Merged
Conversation
Add compatible upload RPCs to agent protocol 2. The updated SSH agent binary is uploaded on the next bootstrap.
Owner
Author
|
Review fixes in 2c00b87: verification gets a size-based timeout instead of the 30 s default (large pushes over slow disks), begin reaps |
This was referenced Nov 19, 2026
Merged
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
nexus file pushrefused a host workspace over SSH or WSL ("file writes require a local workspace on the serving computer"). Pushes now go through the Go agent there, with the same rules as a local write.-rfolders are made through the same path.hook.getInforecord that the same user is the trust boundary (no behavior change).Tests
internal/fs/write_test.go); upload race checks.file-writes.test.ts).go vet ./..., Windows and Linux amd64 cross builds,bun run typecheck,bun run check:ci.Manual check
Over SSH and WSL: push a single file over an existing one and a folder with
-r, then check contents and modes; drop the connection mid-push and check no temporary file is left; an older agent shows the update hint.🤖 Generated with Claude Code