Skip to content
Open
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.93.0"
".": "0.94.0"
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.94.0](https://github.com/kernel/kernel-python-sdk/compare/v0.93.0...v0.94.0) (2026-08-21)


### Features

* Mirror the control/platform telemetry split into the public API ([17c38fa](https://github.com/kernel/kernel-python-sdk/commit/17c38fa6c7668a7e2bb1f058d57053d83238263a))

## [0.93.0](https://github.com/kernel/kernel-python-sdk/compare/v0.92.0...v0.93.0) (2026-08-19)


Expand Down
6 changes: 6 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ from kernel.types.browsers import (
BrowserAPICallEvent,
BrowserCallStack,
BrowserCaptchaSolveResultEvent,
BrowserCdpCommandEvent,
BrowserCdpCommandMethod,
BrowserCdpConnectEvent,
BrowserCdpDisconnectEvent,
BrowserConsoleErrorEvent,
Expand All @@ -138,6 +140,7 @@ from kernel.types.browsers import (
BrowserNetworkLoadingFailedEvent,
BrowserNetworkRequestEvent,
BrowserNetworkResponseEvent,
BrowserPageCrashedEvent,
BrowserPageDomContentLoadedEvent,
BrowserPageLayoutSettledEvent,
BrowserPageLayoutShiftEvent,
Expand All @@ -146,12 +149,15 @@ from kernel.types.browsers import (
BrowserPageNavigationEvent,
BrowserPageNavigationSettledEvent,
BrowserPageTabOpenedEvent,
BrowserPlatformAPICallEvent,
BrowserProxyErrorEvent,
BrowserServiceCrashedEvent,
BrowserSystemOomKillEvent,
BrowserTelemetryCategoriesConfig,
BrowserTelemetryCategoryConfig,
BrowserTelemetryCdpControlConfig,
BrowserTelemetryConfig,
BrowserTelemetryControlConfig,
BrowserTelemetryEvent,
BrowserTelemetryExportConfig,
BrowserTelemetryOtlpExportConfig,
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.93.0"
version = "0.94.0"
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.93.0" # x-release-please-version
__version__ = "0.94.0" # x-release-please-version
4 changes: 2 additions & 2 deletions src/kernel/resources/browsers/browsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def create(
extensions: List of browser extensions to load into the session. Provide each by id or name.

gpu: If true, enables GPU acceleration for the browser session. Requires Start-Up or
Enterprise plan and headless=false.
Enterprise plan, headless=false, and region=us-east.

headless: If true, launches the browser using a headless image (no VNC/GUI). Defaults to
false.
Expand Down Expand Up @@ -828,7 +828,7 @@ async def create(
extensions: List of browser extensions to load into the session. Provide each by id or name.

gpu: If true, enables GPU acceleration for the browser session. Requires Start-Up or
Enterprise plan and headless=false.
Enterprise plan, headless=false, and region=us-east.

headless: If true, launches the browser using a headless image (no VNC/GUI). Defaults to
false.
Expand Down
2 changes: 2 additions & 0 deletions src/kernel/resources/browsers/telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def events(
"page",
"interaction",
"control",
"platform",
"connection",
"system",
"screenshot",
Expand Down Expand Up @@ -238,6 +239,7 @@ def events(
"page",
"interaction",
"control",
"platform",
"connection",
"system",
"screenshot",
Expand Down
10 changes: 8 additions & 2 deletions src/kernel/resources/proxies.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,10 @@ def delete(
) -> None:
"""Soft delete a proxy.

Sessions referencing it are not modified.
Session records referencing it are not modified. If egress
binding polling is enabled, existing tunnels for active sessions using the proxy
are terminated within one polling interval; subsequent connections through the
deleted proxy are rejected.

Args:
extra_headers: Send extra headers
Expand Down Expand Up @@ -553,7 +556,10 @@ async def delete(
) -> None:
"""Soft delete a proxy.

Sessions referencing it are not modified.
Session records referencing it are not modified. If egress
binding polling is enabled, existing tunnels for active sessions using the proxy
are terminated within one polling interval; subsequent connections through the
deleted proxy are rejected.

Args:
extra_headers: Send extra headers
Expand Down
14 changes: 7 additions & 7 deletions src/kernel/types/auth/connection_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,13 @@ class BrowserTelemetry(TypedDict, total=False):

The operational categories (control, connection, system, captcha) are captured
whenever telemetry is enabled; set one to enabled=false to opt out. The CDP
categories (console, network, page, interaction) and screenshot are off by
default; set enabled=true to opt in. On create, provided categories layer onto
the default set. On update, provided categories merge onto the session's current
config; when no telemetry is active this falls back to the default set (matching
create). If browser is omitted or empty, the default set is used. A browser
config that disables every category stops capture on update and starts no
capture on create.
categories (console, network, page, interaction), screenshot and platform are
off by default; set enabled=true to opt in. On create, provided categories layer
onto the default set. On update, provided categories merge onto the session's
current config; when no telemetry is active this falls back to the default set
(matching create). If browser is omitted or empty, the default set is used. A
browser config that disables every category stops capture on update and starts
no capture on create.
"""

enabled: bool
Expand Down
14 changes: 7 additions & 7 deletions src/kernel/types/auth/connection_login_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ class BrowserTelemetry(TypedDict, total=False):

The operational categories (control, connection, system, captcha) are captured
whenever telemetry is enabled; set one to enabled=false to opt out. The CDP
categories (console, network, page, interaction) and screenshot are off by
default; set enabled=true to opt in. On create, provided categories layer onto
the default set. On update, provided categories merge onto the session's current
config; when no telemetry is active this falls back to the default set (matching
create). If browser is omitted or empty, the default set is used. A browser
config that disables every category stops capture on update and starts no
capture on create.
categories (console, network, page, interaction), screenshot and platform are
off by default; set enabled=true to opt in. On create, provided categories layer
onto the default set. On update, provided categories merge onto the session's
current config; when no telemetry is active this falls back to the default set
(matching create). If browser is omitted or empty, the default set is used. A
browser config that disables every category stops capture on update and starts
no capture on create.
"""

enabled: bool
Expand Down
14 changes: 7 additions & 7 deletions src/kernel/types/auth/connection_update_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,13 @@ class BrowserTelemetry(TypedDict, total=False):

The operational categories (control, connection, system, captcha) are captured
whenever telemetry is enabled; set one to enabled=false to opt out. The CDP
categories (console, network, page, interaction) and screenshot are off by
default; set enabled=true to opt in. On create, provided categories layer onto
the default set. On update, provided categories merge onto the session's current
config; when no telemetry is active this falls back to the default set (matching
create). If browser is omitted or empty, the default set is used. A browser
config that disables every category stops capture on update and starts no
capture on create.
categories (console, network, page, interaction), screenshot and platform are
off by default; set enabled=true to opt in. On create, provided categories layer
onto the default set. On update, provided categories merge onto the session's
current config; when no telemetry is active this falls back to the default set
(matching create). If browser is omitted or empty, the default set is used. A
browser config that disables every category stops capture on update and starts
no capture on create.
"""

enabled: bool
Expand Down
14 changes: 7 additions & 7 deletions src/kernel/types/auth/managed_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,13 @@ class BrowserTelemetry(BaseModel):

The operational categories (control, connection, system, captcha) are captured
whenever telemetry is enabled; set one to enabled=false to opt out. The CDP
categories (console, network, page, interaction) and screenshot are off by
default; set enabled=true to opt in. On create, provided categories layer onto
the default set. On update, provided categories merge onto the session's current
config; when no telemetry is active this falls back to the default set (matching
create). If browser is omitted or empty, the default set is used. A browser
config that disables every category stops capture on update and starts no
capture on create.
categories (console, network, page, interaction), screenshot and platform are
off by default; set enabled=true to opt in. On create, provided categories layer
onto the default set. On update, provided categories merge onto the session's
current config; when no telemetry is active this falls back to the default set
(matching create). If browser is omitted or empty, the default set is used. A
browser config that disables every category stops capture on update and starts
no capture on create.
"""

enabled: Optional[bool] = None
Expand Down
14 changes: 7 additions & 7 deletions src/kernel/types/auth/managed_auth_browser_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ class Telemetry(BaseModel):

The operational categories (control, connection, system, captcha) are captured
whenever telemetry is enabled; set one to enabled=false to opt out. The CDP
categories (console, network, page, interaction) and screenshot are off by
default; set enabled=true to opt in. On create, provided categories layer onto
the default set. On update, provided categories merge onto the session's current
config; when no telemetry is active this falls back to the default set (matching
create). If browser is omitted or empty, the default set is used. A browser
config that disables every category stops capture on update and starts no
capture on create.
categories (console, network, page, interaction), screenshot and platform are
off by default; set enabled=true to opt in. On create, provided categories layer
onto the default set. On update, provided categories merge onto the session's
current config; when no telemetry is active this falls back to the default set
(matching create). If browser is omitted or empty, the default set is used. A
browser config that disables every category stops capture on update and starts
no capture on create.
"""

enabled: Optional[bool] = None
Expand Down
14 changes: 7 additions & 7 deletions src/kernel/types/auth/managed_auth_browser_config_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ class Telemetry(TypedDict, total=False):

The operational categories (control, connection, system, captcha) are captured
whenever telemetry is enabled; set one to enabled=false to opt out. The CDP
categories (console, network, page, interaction) and screenshot are off by
default; set enabled=true to opt in. On create, provided categories layer onto
the default set. On update, provided categories merge onto the session's current
config; when no telemetry is active this falls back to the default set (matching
create). If browser is omitted or empty, the default set is used. A browser
config that disables every category stops capture on update and starts no
capture on create.
categories (console, network, page, interaction), screenshot and platform are
off by default; set enabled=true to opt in. On create, provided categories layer
onto the default set. On update, provided categories merge onto the session's
current config; when no telemetry is active this falls back to the default set
(matching create). If browser is omitted or empty, the default set is used. A
browser config that disables every category stops capture on update and starts
no capture on create.
"""

enabled: bool
Expand Down
16 changes: 8 additions & 8 deletions src/kernel/types/browser_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class BrowserCreateParams(TypedDict, total=False):
gpu: bool
"""If true, enables GPU acceleration for the browser session.

Requires Start-Up or Enterprise plan and headless=false.
Requires Start-Up or Enterprise plan, headless=false, and region=us-east.
"""

headless: bool
Expand Down Expand Up @@ -221,13 +221,13 @@ class Telemetry(TypedDict, total=False):

The operational categories (control, connection, system, captcha) are captured
whenever telemetry is enabled; set one to enabled=false to opt out. The CDP
categories (console, network, page, interaction) and screenshot are off by
default; set enabled=true to opt in. On create, provided categories layer onto
the default set. On update, provided categories merge onto the session's current
config; when no telemetry is active this falls back to the default set (matching
create). If browser is omitted or empty, the default set is used. A browser
config that disables every category stops capture on update and starts no
capture on create.
categories (console, network, page, interaction), screenshot and platform are
off by default; set enabled=true to opt in. On create, provided categories layer
onto the default set. On update, provided categories merge onto the session's
current config; when no telemetry is active this falls back to the default set
(matching create). If browser is omitted or empty, the default set is used. A
browser config that disables every category stops capture on update and starts
no capture on create.
"""

enabled: bool
Expand Down
14 changes: 7 additions & 7 deletions src/kernel/types/browser_pool_acquire_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,13 @@ class Telemetry(TypedDict, total=False):

The operational categories (control, connection, system, captcha) are captured
whenever telemetry is enabled; set one to enabled=false to opt out. The CDP
categories (console, network, page, interaction) and screenshot are off by
default; set enabled=true to opt in. On create, provided categories layer onto
the default set. On update, provided categories merge onto the session's current
config; when no telemetry is active this falls back to the default set (matching
create). If browser is omitted or empty, the default set is used. A browser
config that disables every category stops capture on update and starts no
capture on create.
categories (console, network, page, interaction), screenshot and platform are
off by default; set enabled=true to opt in. On create, provided categories layer
onto the default set. On update, provided categories merge onto the session's
current config; when no telemetry is active this falls back to the default set
(matching create). If browser is omitted or empty, the default set is used. A
browser config that disables every category stops capture on update and starts
no capture on create.
"""

enabled: bool
Expand Down
14 changes: 7 additions & 7 deletions src/kernel/types/browser_pool_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,13 +216,13 @@ class Telemetry(TypedDict, total=False):

The operational categories (control, connection, system, captcha) are captured
whenever telemetry is enabled; set one to enabled=false to opt out. The CDP
categories (console, network, page, interaction) and screenshot are off by
default; set enabled=true to opt in. On create, provided categories layer onto
the default set. On update, provided categories merge onto the session's current
config; when no telemetry is active this falls back to the default set (matching
create). If browser is omitted or empty, the default set is used. A browser
config that disables every category stops capture on update and starts no
capture on create.
categories (console, network, page, interaction), screenshot and platform are
off by default; set enabled=true to opt in. On create, provided categories layer
onto the default set. On update, provided categories merge onto the session's
current config; when no telemetry is active this falls back to the default set
(matching create). If browser is omitted or empty, the default set is used. A
browser config that disables every category stops capture on update and starts
no capture on create.
"""

enabled: bool
Expand Down
14 changes: 7 additions & 7 deletions src/kernel/types/browser_pool_update_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,13 +226,13 @@ class Telemetry(TypedDict, total=False):

The operational categories (control, connection, system, captcha) are captured
whenever telemetry is enabled; set one to enabled=false to opt out. The CDP
categories (console, network, page, interaction) and screenshot are off by
default; set enabled=true to opt in. On create, provided categories layer onto
the default set. On update, provided categories merge onto the session's current
config; when no telemetry is active this falls back to the default set (matching
create). If browser is omitted or empty, the default set is used. A browser
config that disables every category stops capture on update and starts no
capture on create.
categories (console, network, page, interaction), screenshot and platform are
off by default; set enabled=true to opt in. On create, provided categories layer
onto the default set. On update, provided categories merge onto the session's
current config; when no telemetry is active this falls back to the default set
(matching create). If browser is omitted or empty, the default set is used. A
browser config that disables every category stops capture on update and starts
no capture on create.
"""

enabled: bool
Expand Down
14 changes: 7 additions & 7 deletions src/kernel/types/browser_update_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,13 @@ class Telemetry(TypedDict, total=False):

The operational categories (control, connection, system, captcha) are captured
whenever telemetry is enabled; set one to enabled=false to opt out. The CDP
categories (console, network, page, interaction) and screenshot are off by
default; set enabled=true to opt in. On create, provided categories layer onto
the default set. On update, provided categories merge onto the session's current
config; when no telemetry is active this falls back to the default set (matching
create). If browser is omitted or empty, the default set is used. A browser
config that disables every category stops capture on update and starts no
capture on create.
categories (console, network, page, interaction), screenshot and platform are
off by default; set enabled=true to opt in. On create, provided categories layer
onto the default set. On update, provided categories merge onto the session's
current config; when no telemetry is active this falls back to the default set
(matching create). If browser is omitted or empty, the default set is used. A
browser config that disables every category stops capture on update and starts
no capture on create.
"""

enabled: bool
Expand Down
Loading
Loading