Skip to content

Commit 1cb6575

Browse files
feat: add support for 1280x800@60 viewport
1 parent 2c1e90d commit 1cb6575

14 files changed

+52
-52
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 97
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-6c4fc624f12ead2f790c0f12148bc78f25d0b720080cae878b8a0fc0b5e5cd93.yml
3-
openapi_spec_hash: ab25e882fbeeb782507576a442c1e15b
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-46c8320dcd9f8fc596f469ef0dd1aafaca591ab36cf2a6f8a7297dc9136bdc71.yml
3+
openapi_spec_hash: 1be1e6589cd94c581b241720e01a65bc
44
config_hash: b470456b217bb9502f5212311d395a6f

src/kernel/resources/browser_pools.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ def create(
111111
image defaults apply (1920x1080@25). Only specific viewport configurations are
112112
supported. The server will reject unsupported combinations. Supported
113113
resolutions are: 2560x1440@10, 1920x1080@25, 1920x1200@25, 1440x900@25,
114-
1024x768@60, 1200x800@60 If refresh_rate is not provided, it will be
115-
automatically determined from the width and height if they match a supported
114+
1280x800@60, 1024x768@60, 1200x800@60 If refresh_rate is not provided, it will
115+
be automatically determined from the width and height if they match a supported
116116
configuration exactly. Note: Higher resolutions may affect the responsiveness of
117117
live view browser
118118
@@ -243,8 +243,8 @@ def update(
243243
image defaults apply (1920x1080@25). Only specific viewport configurations are
244244
supported. The server will reject unsupported combinations. Supported
245245
resolutions are: 2560x1440@10, 1920x1080@25, 1920x1200@25, 1440x900@25,
246-
1024x768@60, 1200x800@60 If refresh_rate is not provided, it will be
247-
automatically determined from the width and height if they match a supported
246+
1280x800@60, 1024x768@60, 1200x800@60 If refresh_rate is not provided, it will
247+
be automatically determined from the width and height if they match a supported
248248
configuration exactly. Note: Higher resolutions may affect the responsiveness of
249249
live view browser
250250
@@ -549,8 +549,8 @@ async def create(
549549
image defaults apply (1920x1080@25). Only specific viewport configurations are
550550
supported. The server will reject unsupported combinations. Supported
551551
resolutions are: 2560x1440@10, 1920x1080@25, 1920x1200@25, 1440x900@25,
552-
1024x768@60, 1200x800@60 If refresh_rate is not provided, it will be
553-
automatically determined from the width and height if they match a supported
552+
1280x800@60, 1024x768@60, 1200x800@60 If refresh_rate is not provided, it will
553+
be automatically determined from the width and height if they match a supported
554554
configuration exactly. Note: Higher resolutions may affect the responsiveness of
555555
live view browser
556556
@@ -681,8 +681,8 @@ async def update(
681681
image defaults apply (1920x1080@25). Only specific viewport configurations are
682682
supported. The server will reject unsupported combinations. Supported
683683
resolutions are: 2560x1440@10, 1920x1080@25, 1920x1200@25, 1440x900@25,
684-
1024x768@60, 1200x800@60 If refresh_rate is not provided, it will be
685-
automatically determined from the width and height if they match a supported
684+
1280x800@60, 1024x768@60, 1200x800@60 If refresh_rate is not provided, it will
685+
be automatically determined from the width and height if they match a supported
686686
configuration exactly. Note: Higher resolutions may affect the responsiveness of
687687
live view browser
688688

src/kernel/resources/browsers/browsers.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ def create(
188188
image defaults apply (1920x1080@25). Only specific viewport configurations are
189189
supported. The server will reject unsupported combinations. Supported
190190
resolutions are: 2560x1440@10, 1920x1080@25, 1920x1200@25, 1440x900@25,
191-
1024x768@60, 1200x800@60 If refresh_rate is not provided, it will be
192-
automatically determined from the width and height if they match a supported
191+
1280x800@60, 1024x768@60, 1200x800@60 If refresh_rate is not provided, it will
192+
be automatically determined from the width and height if they match a supported
193193
configuration exactly. Note: Higher resolutions may affect the responsiveness of
194194
live view browser
195195
@@ -599,8 +599,8 @@ async def create(
599599
image defaults apply (1920x1080@25). Only specific viewport configurations are
600600
supported. The server will reject unsupported combinations. Supported
601601
resolutions are: 2560x1440@10, 1920x1080@25, 1920x1200@25, 1440x900@25,
602-
1024x768@60, 1200x800@60 If refresh_rate is not provided, it will be
603-
automatically determined from the width and height if they match a supported
602+
1280x800@60, 1024x768@60, 1200x800@60 If refresh_rate is not provided, it will
603+
be automatically determined from the width and height if they match a supported
604604
configuration exactly. Note: Higher resolutions may affect the responsiveness of
605605
live view browser
606606

src/kernel/types/browser_create_params.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ class BrowserCreateParams(TypedDict, total=False):
7272
If omitted, image defaults apply (1920x1080@25). Only specific viewport
7373
configurations are supported. The server will reject unsupported combinations.
7474
Supported resolutions are: 2560x1440@10, 1920x1080@25, 1920x1200@25,
75-
1440x900@25, 1024x768@60, 1200x800@60 If refresh_rate is not provided, it will
76-
be automatically determined from the width and height if they match a supported
77-
configuration exactly. Note: Higher resolutions may affect the responsiveness of
78-
live view browser
75+
1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60 If refresh_rate is not
76+
provided, it will be automatically determined from the width and height if they
77+
match a supported configuration exactly. Note: Higher resolutions may affect the
78+
responsiveness of live view browser
7979
"""

src/kernel/types/browser_create_response.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ class BrowserCreateResponse(BaseModel):
5757
If omitted, image defaults apply (1920x1080@25). Only specific viewport
5858
configurations are supported. The server will reject unsupported combinations.
5959
Supported resolutions are: 2560x1440@10, 1920x1080@25, 1920x1200@25,
60-
1440x900@25, 1024x768@60, 1200x800@60 If refresh_rate is not provided, it will
61-
be automatically determined from the width and height if they match a supported
62-
configuration exactly. Note: Higher resolutions may affect the responsiveness of
63-
live view browser
60+
1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60 If refresh_rate is not
61+
provided, it will be automatically determined from the width and height if they
62+
match a supported configuration exactly. Note: Higher resolutions may affect the
63+
responsiveness of live view browser
6464
"""

src/kernel/types/browser_list_response.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ class BrowserListResponse(BaseModel):
5757
If omitted, image defaults apply (1920x1080@25). Only specific viewport
5858
configurations are supported. The server will reject unsupported combinations.
5959
Supported resolutions are: 2560x1440@10, 1920x1080@25, 1920x1200@25,
60-
1440x900@25, 1024x768@60, 1200x800@60 If refresh_rate is not provided, it will
61-
be automatically determined from the width and height if they match a supported
62-
configuration exactly. Note: Higher resolutions may affect the responsiveness of
63-
live view browser
60+
1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60 If refresh_rate is not
61+
provided, it will be automatically determined from the width and height if they
62+
match a supported configuration exactly. Note: Higher resolutions may affect the
63+
responsiveness of live view browser
6464
"""

src/kernel/types/browser_pool.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ class BrowserPoolConfig(BaseModel):
7373
If omitted, image defaults apply (1920x1080@25). Only specific viewport
7474
configurations are supported. The server will reject unsupported combinations.
7575
Supported resolutions are: 2560x1440@10, 1920x1080@25, 1920x1200@25,
76-
1440x900@25, 1024x768@60, 1200x800@60 If refresh_rate is not provided, it will
77-
be automatically determined from the width and height if they match a supported
78-
configuration exactly. Note: Higher resolutions may affect the responsiveness of
79-
live view browser
76+
1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60 If refresh_rate is not
77+
provided, it will be automatically determined from the width and height if they
78+
match a supported configuration exactly. Note: Higher resolutions may affect the
79+
responsiveness of live view browser
8080
"""
8181

8282

src/kernel/types/browser_pool_acquire_response.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ class BrowserPoolAcquireResponse(BaseModel):
5757
If omitted, image defaults apply (1920x1080@25). Only specific viewport
5858
configurations are supported. The server will reject unsupported combinations.
5959
Supported resolutions are: 2560x1440@10, 1920x1080@25, 1920x1200@25,
60-
1440x900@25, 1024x768@60, 1200x800@60 If refresh_rate is not provided, it will
61-
be automatically determined from the width and height if they match a supported
62-
configuration exactly. Note: Higher resolutions may affect the responsiveness of
63-
live view browser
60+
1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60 If refresh_rate is not
61+
provided, it will be automatically determined from the width and height if they
62+
match a supported configuration exactly. Note: Higher resolutions may affect the
63+
responsiveness of live view browser
6464
"""

src/kernel/types/browser_pool_create_params.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ class BrowserPoolCreateParams(TypedDict, total=False):
7272
If omitted, image defaults apply (1920x1080@25). Only specific viewport
7373
configurations are supported. The server will reject unsupported combinations.
7474
Supported resolutions are: 2560x1440@10, 1920x1080@25, 1920x1200@25,
75-
1440x900@25, 1024x768@60, 1200x800@60 If refresh_rate is not provided, it will
76-
be automatically determined from the width and height if they match a supported
77-
configuration exactly. Note: Higher resolutions may affect the responsiveness of
78-
live view browser
75+
1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60 If refresh_rate is not
76+
provided, it will be automatically determined from the width and height if they
77+
match a supported configuration exactly. Note: Higher resolutions may affect the
78+
responsiveness of live view browser
7979
"""

src/kernel/types/browser_pool_update_params.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ class BrowserPoolUpdateParams(TypedDict, total=False):
7878
If omitted, image defaults apply (1920x1080@25). Only specific viewport
7979
configurations are supported. The server will reject unsupported combinations.
8080
Supported resolutions are: 2560x1440@10, 1920x1080@25, 1920x1200@25,
81-
1440x900@25, 1024x768@60, 1200x800@60 If refresh_rate is not provided, it will
82-
be automatically determined from the width and height if they match a supported
83-
configuration exactly. Note: Higher resolutions may affect the responsiveness of
84-
live view browser
81+
1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60 If refresh_rate is not
82+
provided, it will be automatically determined from the width and height if they
83+
match a supported configuration exactly. Note: Higher resolutions may affect the
84+
responsiveness of live view browser
8585
"""

0 commit comments

Comments
 (0)