Skip to content

Conversation

@threepointone
Copy link
Collaborator

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@cloudflare/[email protected]

Patch Changes

  • #152 8e7773e Thanks @ghostwriternr! - Add exists() method to check if a file or directory exists

    This adds a new exists() method to the SDK that checks whether a file or directory exists at a given path. The method returns a boolean indicating existence, similar to Python's os.path.exists() and JavaScript's fs.existsSync().

    The implementation is end-to-end:

    • New FileExistsResult and FileExistsRequest types in shared package
    • Handler endpoint at /api/exists in container layer
    • Client method in FileClient and Sandbox classes
    • Full test coverage (unit tests and E2E tests)

@ghostwriternr ghostwriternr merged commit 3ef0f35 into main Oct 24, 2025
8 checks passed
@ghostwriternr ghostwriternr deleted the changeset-release/main branch October 24, 2025 15:47
@ericclemmons
Copy link

Heads up – this failed to publish on main:

https://github.com/cloudflare/sandbox-sdk/actions/runs/18784920659/job/53600666604

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.

3 participants