Skip to content

[codex] Expose runtime image handle across SDKs#433

Open
DorianZheng wants to merge 2 commits intomainfrom
codex/expose-image-handle-across-sdks
Open

[codex] Expose runtime image handle across SDKs#433
DorianZheng wants to merge 2 commits intomainfrom
codex/expose-image-handle-across-sdks

Conversation

@DorianZheng
Copy link
Copy Markdown
Member

What changed

  • expose runtime-scoped image handles in Python async/sync, Node, Go, and C
  • add shared FFI image handle creation, pull, list, and free operations with JSON metadata serialization
  • add SDK docs/examples and end-to-end tests for image pull/list plus unsupported REST paths

Why

The Rust runtime already supports image operations, but the public SDKs did not expose them. This change brings pull and list parity to the SDKs without leaking the internal Rust image object model.

Impact

  • SDK users can call runtime.images.pull(...) and runtime.images.list()
  • Go gets a new Images handle API
  • C gets boxlite_runtime_images, boxlite_image_pull, boxlite_image_list, and boxlite_image_free
  • REST-backed SDK runtimes continue to surface image operations as unsupported

Validation

  • cargo test -p boxlite-ffi
  • make test:all:python
  • make test:all:node
  • make test:all:c
  • make test:all:go
  • cargo fmt --check
  • cargo clippy -p boxlite-ffi -p boxlite-c -p boxlite-python -p boxlite-node --tests -- -D warnings
  • ruff check . && ruff format --check . in sdks/python
  • npm run format:check in sdks/node

@DorianZheng DorianZheng marked this pull request as ready for review April 7, 2026 10:48
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