Skip to content

[build-tools] Execute sandbox commands over MCP connection - #4347

Open
sjchmiela wants to merge 1 commit into
stanley/sandbox-daemon-protocolfrom
stanley/sandbox-command-execution
Open

[build-tools] Execute sandbox commands over MCP connection#4347
sjchmiela wants to merge 1 commit into
stanley/sandbox-daemon-protocolfrom
stanley/sandbox-command-execution

Conversation

@sjchmiela

Copy link
Copy Markdown
Contributor

Why

Let the Expo MCP server run shell commands in a connected sandbox.

How

  • Add exec_command with retained command sessions.
  • Add write_stdin for input and incremental output polling.
  • Keep sessions across WebSocket reconnects.
  • Stop retained processes when the daemon stops.

Test plan

  • Added command executor unit tests.
  • Added a WebSocket command integration assertion.
  • Ran formatting, focused lint, build-tools typecheck, and focused tests.

Stacked on the sandbox daemon message protocol PR.

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown

❌ It looks like a changelog entry is missing for this PR. Add it manually to CHANGELOG.md.
⏩ If this PR doesn't require a changelog entry, such as if it's an internal change that doesn't affect the user experience, you can add the "no changelog" label to the PR.

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