feat(kits): add experimental vscode mixin using --display - #215
Draft
djs55 wants to merge 2 commits into
Draft
Conversation
Installs VS Code from Microsoft's apt repo and starts it as a Wayland client on the host compositor, opening the sandbox workspace. Requires --display (behind feature.sandbox-display). Includes a README with prerequisites and agentInstructions so the running agent knows the editor is open. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: David Scott <dave@recoil.org>
djs55
force-pushed
the
feat/vscode-mixin
branch
from
August 19, 2026 13:35
2eb6671 to
72a784e
Compare
Signed-off-by: David Scott <dave@recoil.org>
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
Add kit which runs VS Code inside the sandbox and forwards the display to the host using the
--displayexperimental option.Spec choices worth flagging for review
My first kit, so it's hard to tell!
Origin
It's a simple wrapper of Linux VS Code. Previously VS Code always ran on the host and could connect into the sandbox. This kit colocates VS Code in the sandbox.
Test plan
For manual testing with sbx 0.39:
CI runs
kit validateand the TCK on every PR. CI does not run e2e onfork PRs (Docker Hub secrets aren't exposed there), so the e2e step below is
required from your side before requesting review.
sbx kit validate ./<kit>/passes./scripts/test-kit.sh <kit>passes (the TCK)./scripts/test-kit-e2e.sh <kit>passes. The script applies the samedeny-allbaseline CI uses and scopes everything to its own daemon(
--app-name sbx-kits-contrib-tck), so my main sbx state is untouched.Every entry I added to
network.allowedDomainscame fromsbx --app-name sbx-kits-contrib-tck policy log <tck-e2e-…>, not a guess.sbx run --kit ./<kit>/ <agent>and verified the kit'sbinary / files / env are inside the running container.
One-time setup if you haven't run e2e on this machine before:
sbx --app-name sbx-kits-contrib-tck login.See CONTRIBUTING.md → Verifying locally
and README → Declare every domain your kit needs
for the cross-arch domain gotchas (
archive.ubuntu.com,security.ubuntu.com,ports.ubuntu.com) and the package-manager refresh trap.