Skip to content

Add Smol Machines sandbox provider - #13

Open
BinSquare wants to merge 10 commits into
opencoredev:mainfrom
BinSquare:binsquare/smol-provider
Open

BinSquare wants to merge 10 commits into
opencoredev:mainfrom
BinSquare:binsquare/smol-provider

Conversation

@BinSquare

@BinSquare BinSquare commented Oct 9, 2026 •

Copy link
Copy Markdown

Add a Smol Machines provider with local and Cloud microVM support, native checkpoint access, documented capability limits, five passing live local VM checks, and a live Cloud command and file round-trip.


Devin Review

@vercel

vercel Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

@BinSquare is attempting to deploy a commit to the OpenCore Team on Vercel.

A member of the Team first needs to authorize it.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Devin Review found 4 potential issues.

Devin Review

Comment thread packages/sdk/src/providers/smol/index.ts Outdated
Comment thread packages/sdk/src/providers/smol/index.ts Outdated
Comment thread packages/sdk/src/providers/smol/index.ts
Comment thread packages/sdk/src/providers/smol/index.ts
@greptile-apps

greptile-apps Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no new blocking issue was found.

Summary

Adds Smol Machines as a sandbox provider for local and Cloud microVMs.

  • Smol Machines now runs through the shared sandbox API.
  • Local and Cloud Smol VMs expose different process and port controls.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  App["createSandbox()"] --> Provider["smol()"]
  Provider --> Local["Local microVM"]
  Provider --> Cloud["Cloud microVM"]
  Local --> Shared["Files and commands"]
  Cloud --> Shared
  Local --> Processes["Streamed processes and cancellation"]
  Local --> Raw["raw: native Machine"]
  Cloud --> Raw
  Raw --> Checkpoints["Checkpoints and branching"]
Loading

Reviews (9) · Last reviewed commit: "Reject Cloud file paths that would alias..." · Reviewed by Greptile

Comment thread packages/sdk/src/providers/smol/index.ts Outdated
Comment thread packages/sdk/src/providers/smol/index.ts Outdated
Comment thread packages/sdk/src/providers/smol/index.ts
Comment thread packages/sdk/tests/live/smol.test.ts
Comment thread packages/sdk/tests/providers/smol.test.ts
Comment thread packages/sdk/src/providers/smol/index.ts
@BinSquare

Copy link
Copy Markdown
Author

Validation on the current branch: 12 repeatable Smol provider tests passed; package typecheck, lint, and build passed; five live local KVM checks passed (including checkpoint restore and published ports); and the new opt-in live Smol Cloud test passed for commands, byte-exact files, listing, and cleanup. All four earlier process/capability review threads have fixes and are resolved. The remaining Vercel status requests authorization from an OpenCore team member to deploy this fork PR.

Comment thread packages/sdk/tests/live/smol.test.ts
Comment thread packages/sdk/scripts/run-live.ts Outdated

This branch has not been deployed

No deployments
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