feat(sandbox): route host-shell surfaces into microVM via shell wrapper

This commit is contained in:
Chris Scott committed 2026-08-14 18:26:21 -04:00
1 parent aa3fb48a62
commit ae117d6a78
57 files changed
+711 -784

No files matched your search

@@ -32,16 +32,6 @@ const BLOCKED_ENFORCED_ROUTES: ReadonlyArray<{
pathPattern: RegExp
reason: string
}> = [
{
methods: ['POST'],
pathPattern: /^\/session\/[^/]+\/shell$/,
reason: 'the session shell endpoint (`!command`) runs in the OpenCode host process',
},
{
methods: ['POST'],
pathPattern: /^\/session\/[^/]+\/command$/,
reason: 'custom slash commands can run shell templates in the OpenCode host process',
},
{
methods: ['POST'],
pathPattern: /^\/pty$/,