Skip to content

sandbox image sdk#334

Open
kcoopermiller wants to merge 8 commits intomainfrom
feature/image-sdk
Open

sandbox image sdk#334
kcoopermiller wants to merge 8 commits intomainfrom
feature/image-sdk

Conversation

@kcoopermiller
Copy link
Member

@kcoopermiller kcoopermiller commented Jan 27, 2026

Note

Medium Risk
Introduces new build/upload logic and changes request/response models and CLI parameters around image building; incorrect mapping or tarball filtering could break image builds or sandbox creation payloads.

Overview
Adds a new ImageClient/AsyncImageClient to the prime-sandboxes SDK for building, polling, listing, and deleting registry images via the /images API, including optional build-context upload as a .tar.gz that honors .dockerignore.

Extends SDK models with Image* types plus sandbox fields (imageBuildId/imageBuildStatus) and relaxes CreateSandboxRequest to allow either a prebuilt docker_image or a dockerfile-based build. The prime images push command now filters the context using .dockerignore and drops the previously-sent platform parameter, and both the SDK and CLI add pathspec as a dependency.

Written by Cursor Bugbot for commit 194cc04. This will update automatically on new commits. Configure here.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5b3bb03b0b

ℹ️ 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".

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

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.

1 participant