Add VM provider type exports and expand provider options#1033
Open
r33drichards wants to merge 2 commits intomainfrom
Open
Add VM provider type exports and expand provider options#1033r33drichards wants to merge 2 commits intomainfrom
r33drichards wants to merge 2 commits intomainfrom
Conversation
Add missing ProviderType export to the TypeScript computer SDK. The VMProviderType enum is exported as ProviderType to match the documented public API. Also adds missing enum values (DOCKER, LUME, QEMU, WINDOWS_SANDBOX, HOST) that were referenced in documentation but not defined in the TypeScript implementation. https://claude.ai/code/session_01EGfU1FHM3ed61HXiKeNar5
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one) (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the
✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
Collaborator
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR expands the VM provider type system by adding support for multiple virtualization providers and improving the public API exports for the computer library.
Key Changes
Extended VMProviderType enum with new provider options:
DOCKER- Docker container supportLUME- Lume providerQEMU- QEMU virtualizationWINDOWS_SANDBOX- Windows Sandbox supportHOST- Host machine executionCLOUDproviderImproved public API exports:
VMProviderTypeasProviderTypefrom the main index for easier consumptionOSTypeexportImplementation Details
The enum now supports a broader range of virtualization and execution environments, allowing the computer library to work with different infrastructure backends beyond just cloud providers. The
ProviderTypealias in the main export makes the API more intuitive for consumers.https://claude.ai/code/session_01EGfU1FHM3ed61HXiKeNar5