mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 21:04:23 +01:00
feat(sandbox): route host-shell surfaces into microVM via shell wrapper
This commit is contained in:
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$/,
|
||||
|
||||
Reference in new issue
Block a user