feat: auto-start sandbox browser

This commit is contained in:
Peter Steinberger committed 2026-01-10 02:06:21 +00:00
1 parent 8b579c91a5
commit 2dc7872ad1
9 files changed
+125 -1

No files matched your search

+7
View File
@@ -827,6 +827,13 @@ export type SandboxBrowserSettings = {
noVncPort?: number;
headless?: boolean;
enableNoVnc?: boolean;
/**
* When true (default), sandboxed browser control will try to start/reattach to
* the sandbox browser container when a tool call needs it.
*/
autoStart?: boolean;
/** Max time to wait for CDP to become reachable after auto-start (ms). */
autoStartTimeoutMs?: number;
};
export type SandboxPruneSettings = {
+2
View File
@@ -697,6 +697,8 @@ const SandboxBrowserSchema = z
noVncPort: z.number().int().positive().optional(),
headless: z.boolean().optional(),
enableNoVnc: z.boolean().optional(),
autoStart: z.boolean().optional(),
autoStartTimeoutMs: z.number().int().positive().optional(),
})
.optional();