Hi, I'd like to write a generic S3 adapter for our users (I work at Tigris data).
@flue/sdk/cloudflare#getVirtualSandbox(R2) is great if you're on Cloudflare.
However, there's no equivalent for Node, GitHub Actions, Workers without an R2 binding, or buckets that aren't R2.
The virtual sandbox falls back to in-memory and the agent forgets everything between calls.
I'd like to add @flue/sdk/s3#getS3Sandbox. It is the same BashFactory shape as the existing one, generic over any S3-compatible endpoint (AWS, Tigris, MinIO, R2's S3 API). @aws-sdk/client-s3 as an optional peer dep, the way wrangler is today. Lazy-imported, so projects that don't use it pay nothing.
Happy to share the implementation if it'd help you decide.
Dave
Hi, I'd like to write a generic S3 adapter for our users (I work at Tigris data).
@flue/sdk/cloudflare#getVirtualSandbox(R2) is great if you're on Cloudflare.However, there's no equivalent for Node, GitHub Actions, Workers without an R2 binding, or buckets that aren't R2.
The virtual sandbox falls back to in-memory and the agent forgets everything between calls.
I'd like to add
@flue/sdk/s3#getS3Sandbox. It is the same BashFactory shape as the existing one, generic over any S3-compatible endpoint (AWS, Tigris, MinIO, R2's S3 API).@aws-sdk/client-s3as an optional peer dep, the way wrangler is today. Lazy-imported, so projects that don't use it pay nothing.Happy to share the implementation if it'd help you decide.
Dave