Skip to content

Declare each Sandbox Provider's setup in one SetupDeclaration - #844

Merged
SaladDay merged 7 commits into
mainfrom
declare-sandbox-provider-setup
Oct 23, 2026
Merged

SaladDay merged 7 commits into
mainfrom
declare-sandbox-provider-setup

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Each Provider authors one sandbox.SetupDeclaration beside Policy(); registration checks it against the Provider's requirements. The E2B adapter derives its allow-lists from it, discovery is typed ({field, path} in, ConfigurationOptions out), and Web follows the declared mode, fields and presets with no Provider names. The per-Provider validator wrappers, duplicate Web validators and E2B helpers are deleted. The declaration reaches Web only through the generated deployment-contract.ts. Docs updated in English and Chinese.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@blacksmith-sh

This comment has been minimized.

@SaladDay
SaladDay force-pushed the declare-sandbox-provider-setup branch 2 times, most recently from 330cecf to 14dab15 Compare October 23, 2026 20:33
@SaladDay
SaladDay merged commit b9bd1cd into main Oct 23, 2026
25 checks passed
@SaladDay
SaladDay deleted the declare-sandbox-provider-setup branch October 23, 2026 20:42
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