Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.14.1"
".": "0.14.2"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 57
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-1cd328ccf61f0e888d6df27b091c30b38c392ab9ca8ce7fd0ead8f10aaf71ffa.yml
openapi_spec_hash: af761c48d1955f11822f3b95f9c46750
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-6c765f1c4ce1c4dd4ceb371f56bf047aa79af36031ba43cbd68fa16a5fdb9bb3.yml
openapi_spec_hash: e9086f69281360f4e0895c9274a59531
config_hash: deadfc4d2b0a947673bcf559b5db6e1b
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.14.2 (2025-10-16)

Full Changelog: [v0.14.1...v0.14.2](https://github.com/onkernel/kernel-python-sdk/compare/v0.14.1...v0.14.2)

### Features

* Kiosk mode ([1bd1ed2](https://github.com/onkernel/kernel-python-sdk/commit/1bd1ed23b4bc120653e3fb13a670e8598f97d157))

## 0.14.1 (2025-10-13)

Full Changelog: [v0.14.0...v0.14.1](https://github.com/onkernel/kernel-python-sdk/compare/v0.14.0...v0.14.1)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "kernel"
version = "0.14.1"
version = "0.14.2"
description = "The official Python library for the kernel API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/kernel/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "kernel"
__version__ = "0.14.1" # x-release-please-version
__version__ = "0.14.2" # x-release-please-version
10 changes: 10 additions & 0 deletions src/kernel/resources/browsers/browsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def create(
extensions: Iterable[browser_create_params.Extension] | Omit = omit,
headless: bool | Omit = omit,
invocation_id: str | Omit = omit,
kiosk_mode: bool | Omit = omit,
persistence: BrowserPersistenceParam | Omit = omit,
profile: browser_create_params.Profile | Omit = omit,
proxy_id: str | Omit = omit,
Expand All @@ -124,6 +125,9 @@ def create(

invocation_id: action invocation ID

kiosk_mode: If true, launches the browser in kiosk mode to hide address bar and tabs in live
view.

persistence: Optional persistence configuration for the browser session.

profile: Profile selection for the browser session. Provide either id or name. If
Expand Down Expand Up @@ -167,6 +171,7 @@ def create(
"extensions": extensions,
"headless": headless,
"invocation_id": invocation_id,
"kiosk_mode": kiosk_mode,
"persistence": persistence,
"profile": profile,
"proxy_id": proxy_id,
Expand Down Expand Up @@ -395,6 +400,7 @@ async def create(
extensions: Iterable[browser_create_params.Extension] | Omit = omit,
headless: bool | Omit = omit,
invocation_id: str | Omit = omit,
kiosk_mode: bool | Omit = omit,
persistence: BrowserPersistenceParam | Omit = omit,
profile: browser_create_params.Profile | Omit = omit,
proxy_id: str | Omit = omit,
Expand All @@ -419,6 +425,9 @@ async def create(

invocation_id: action invocation ID

kiosk_mode: If true, launches the browser in kiosk mode to hide address bar and tabs in live
view.

persistence: Optional persistence configuration for the browser session.

profile: Profile selection for the browser session. Provide either id or name. If
Expand Down Expand Up @@ -462,6 +471,7 @@ async def create(
"extensions": extensions,
"headless": headless,
"invocation_id": invocation_id,
"kiosk_mode": kiosk_mode,
"persistence": persistence,
"profile": profile,
"proxy_id": proxy_id,
Expand Down
6 changes: 6 additions & 0 deletions src/kernel/types/browser_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ class BrowserCreateParams(TypedDict, total=False):
invocation_id: str
"""action invocation ID"""

kiosk_mode: bool
"""
If true, launches the browser in kiosk mode to hide address bar and tabs in live
view.
"""

persistence: BrowserPersistenceParam
"""Optional persistence configuration for the browser session."""

Expand Down
3 changes: 3 additions & 0 deletions src/kernel/types/browser_create_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ class BrowserCreateResponse(BaseModel):
Only available for non-headless browsers.
"""

kiosk_mode: Optional[bool] = None
"""Whether the browser session is running in kiosk mode."""

persistence: Optional[BrowserPersistence] = None
"""Optional persistence configuration for the browser session."""

Expand Down
3 changes: 3 additions & 0 deletions src/kernel/types/browser_list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ class BrowserListResponseItem(BaseModel):
Only available for non-headless browsers.
"""

kiosk_mode: Optional[bool] = None
"""Whether the browser session is running in kiosk mode."""

persistence: Optional[BrowserPersistence] = None
"""Optional persistence configuration for the browser session."""

Expand Down
3 changes: 3 additions & 0 deletions src/kernel/types/browser_retrieve_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ class BrowserRetrieveResponse(BaseModel):
Only available for non-headless browsers.
"""

kiosk_mode: Optional[bool] = None
"""Whether the browser session is running in kiosk mode."""

persistence: Optional[BrowserPersistence] = None
"""Optional persistence configuration for the browser session."""

Expand Down
2 changes: 2 additions & 0 deletions tests/api_resources/test_browsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def test_method_create_with_all_params(self, client: Kernel) -> None:
],
headless=False,
invocation_id="rr33xuugxj9h0bkf1rdt2bet",
kiosk_mode=True,
persistence={"id": "my-awesome-browser-for-user-1234"},
profile={
"id": "id",
Expand Down Expand Up @@ -314,6 +315,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncKernel) ->
],
headless=False,
invocation_id="rr33xuugxj9h0bkf1rdt2bet",
kiosk_mode=True,
persistence={"id": "my-awesome-browser-for-user-1234"},
profile={
"id": "id",
Expand Down