Skip to content

Conversation

@kcoopermiller
Copy link
Member

@kcoopermiller kcoopermiller commented Oct 9, 2025

Note

Adds SDK models/client methods and CLI commands to expose, unexpose, and list sandbox ports.

  • SDK (prime_sandboxes):
    • Models: Add ExposePortRequest, ExposedPort, ListExposedPortsResponse in models.py and export from __init__.py.
    • Client APIs: In sandbox.py, add expose() (POST /sandbox/{id}/expose), unexpose() (DELETE /sandbox/{id}/expose/{exposure_id}), and list_exposed_ports() (GET /sandbox/{id}/expose) to both SandboxClient and AsyncSandboxClient.
  • CLI (prime_cli):
    • New commands: sandbox expose, sandbox unexpose, sandbox list-ports with table/JSON output, leveraging new SDK APIs.

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

cursor[bot]

This comment was marked as outdated.

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