Skip to content

fix(sandbox): let cp copy into an existing remote directory - #143

Open
jedisct1 wants to merge 1 commit into
BunnyWay:mainfrom
dip-proto:copydir
Open

fix(sandbox): let cp copy into an existing remote directory#143
jedisct1 wants to merge 1 commit into
BunnyWay:mainfrom
dip-proto:copydir

Conversation

@jedisct1

@jedisct1 jedisct1 commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Copying a file to a destination such as my-sandbox:/tmp used to fail with “Failed to write /tmp”, which was very confusing.

Check the destination at both ends of the transfer so that, when it is a directory, the file is copied into it, as with regular shell commands.

This also provides an opportunity to add a new stat(path) method to the SDK.

It is useful here and will likely be useful for many other tasks as well.

Copying a file to a destination such as `my-sandbox:/tmp`
used to fail with “Failed to write /tmp”, which was very
confusing.

Check the destination at both ends of the transfer so that,
when it is a directory, the file is copied into it, as with
regular shell commands.

This also provides an opportunity to add a new `stat(path)`
method to the SDK.

It is useful here and will likely be useful for many other
tasks as well.
@bogdan-at-bunny

Copy link
Copy Markdown

@codex review

@changeset-bot

changeset-bot Bot commented Aug 4, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 624832c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@bunny.net/sandbox Minor
@bunny.net/cli Patch
@bunny.net/cli-linux-x64 Patch
@bunny.net/cli-linux-arm64 Patch
@bunny.net/cli-darwin-x64 Patch
@bunny.net/cli-darwin-arm64 Patch
@bunny.net/cli-windows-x64 Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: 624832c32e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants