Skip to main content

SandboxRequest

@forge/monorepo


@forge/monorepo / backend/src / SandboxRequest

Type Alias: SandboxRequest

SandboxRequest = object

Defined in: backend/src/toolkit/sandbox.ts:43

Properties

command

readonly command: string

Defined in: backend/src/toolkit/sandbox.ts:45

The command, run by a shell inside the sandbox. Never interpreted or inspected here.


files?

readonly optional files?: Readonly<Record<string, string>>

Defined in: backend/src/toolkit/sandbox.ts:49

Files to place in the scratch mount before running, by relative path.


memoryMb?

readonly optional memoryMb?: number

Defined in: backend/src/toolkit/sandbox.ts:47


timeoutMs?

readonly optional timeoutMs?: number

Defined in: backend/src/toolkit/sandbox.ts:46