@@ -349,7 +349,7 @@ export type ProfilesOffsetPagination = OffsetPagination<Profile>;
349349/**
350350 * Memory allocated to the browser session.
351351 */
352- export type BrowserMemory = '1GiB' | '2GiB' | '6GiB' | '8GiB' | '16GiB' ;
352+ export type BrowserMemory = '1GiB' | '2GiB' | '6GiB' | '8GiB' | '12GiB' | ' 16GiB';
353353
354354/**
355355 * Memory requested for a headful, non-GPU browser session.
@@ -380,8 +380,10 @@ export interface BrowserNetworkConfig {
380380 * processes in the browser VM that do not use the browser's proxy, are not
381381 * filtered, and Kernel's own control traffic is always allowed. Can be replaced or
382382 * removed while the session runs with PATCH /browsers/{id_or_name}, but not added
383- * to a browser created without one. Requires proxy v3. Not supported on browser
384- * pools.
383+ * to a browser created without one. Supported on browser pools and their leased
384+ * browsers. Per-lease changes are reset to the pool's allowlist on release. If a
385+ * lessee removes the allowlist and the pool still requires one, the browser is
386+ * replaced on release rather than given an allowlist again. Requires proxy v3.
385387 */
386388 allowed_hosts ?: Array < string > ;
387389
@@ -475,8 +477,10 @@ export interface BrowserNetworkUpdate {
475477 * minutes during a Kernel deploy. Connections to destinations it still allows,
476478 * such as WebSockets, stay open. A start_url in the same request must be allowed
477479 * by the updated list, and is loaded only after the list takes effect. Requires a
478- * browser created with proxy v3, and not supported on pooled browsers. If the
479- * request fails, retry it: the new list may already apply to some requests.
480+ * browser created with proxy v3. Supported on leased pooled browsers; the pool's
481+ * allowlist is restored before reuse, or the browser is destroyed if it cannot be
482+ * safely restored. If the request fails, retry it: the new list may already apply
483+ * to some requests.
480484 */
481485 allowed_hosts ?: Array < string > | null ;
482486}
@@ -670,6 +674,12 @@ export interface BrowserUsage {
670674 uptime_ms : number ;
671675}
672676
677+ /**
678+ * Video memory (VRAM) of a GPU browser session. 2GiB sessions have 4 vCPU and 6GiB
679+ * memory. 4GiB sessions have 8 vCPU and 12GiB memory.
680+ */
681+ export type BrowserVideoMemory = '2GiB' | '4GiB' ;
682+
673683/**
674684 * Browser profile metadata.
675685 */
@@ -868,6 +878,11 @@ export interface BrowserCreateResponse {
868878 */
869879 vaults ?: Array < VaultReference > ;
870880
881+ /**
882+ * Video memory (VRAM) of the GPU browser session. Only present when gpu is true.
883+ */
884+ video_memory ?: BrowserVideoMemory ;
885+
871886 /**
872887 * Initial browser window size in pixels with optional refresh rate. If omitted,
873888 * image defaults apply (1920x1080@25). For GPU images, the default is
@@ -1039,6 +1054,11 @@ export interface BrowserRetrieveResponse {
10391054 */
10401055 vaults ?: Array < VaultReference > ;
10411056
1057+ /**
1058+ * Video memory (VRAM) of the GPU browser session. Only present when gpu is true.
1059+ */
1060+ video_memory ?: BrowserVideoMemory ;
1061+
10421062 /**
10431063 * Initial browser window size in pixels with optional refresh rate. If omitted,
10441064 * image defaults apply (1920x1080@25). For GPU images, the default is
@@ -1210,6 +1230,11 @@ export interface BrowserUpdateResponse {
12101230 */
12111231 vaults ?: Array < VaultReference > ;
12121232
1233+ /**
1234+ * Video memory (VRAM) of the GPU browser session. Only present when gpu is true.
1235+ */
1236+ video_memory ?: BrowserVideoMemory ;
1237+
12131238 /**
12141239 * Initial browser window size in pixels with optional refresh rate. If omitted,
12151240 * image defaults apply (1920x1080@25). For GPU images, the default is
@@ -1381,6 +1406,11 @@ export interface BrowserListResponse {
13811406 */
13821407 vaults ?: Array < VaultReference > ;
13831408
1409+ /**
1410+ * Video memory (VRAM) of the GPU browser session. Only present when gpu is true.
1411+ */
1412+ video_memory ?: BrowserVideoMemory ;
1413+
13841414 /**
13851415 * Initial browser window size in pixels with optional refresh rate. If omitted,
13861416 * image defaults apply (1920x1080@25). For GPU images, the default is
@@ -1556,6 +1586,13 @@ export interface BrowserCreateParams {
15561586 */
15571587 vaults ?: Array < VaultReference > ;
15581588
1589+ /**
1590+ * Video memory (VRAM) for a GPU browser session. Requires gpu=true. Defaults to
1591+ * 2GiB, which comes with 4 vCPU and 6GiB memory. 4GiB comes with 8 vCPU and 12GiB
1592+ * memory.
1593+ */
1594+ video_memory ?: BrowserVideoMemory ;
1595+
15591596 /**
15601597 * Initial browser window size in pixels with optional refresh rate. If omitted,
15611598 * image defaults apply (1920x1080@25). For GPU images, the default is
@@ -2016,6 +2053,7 @@ export declare namespace Browsers {
20162053 type BrowserReplResult as BrowserReplResult ,
20172054 type BrowserReplTextContent as BrowserReplTextContent ,
20182055 type BrowserUsage as BrowserUsage ,
2056+ type BrowserVideoMemory as BrowserVideoMemory ,
20192057 type Profile as Profile ,
20202058 type Tags as Tags ,
20212059 type VaultReference as VaultReference ,
0 commit comments