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.63.0"
".": "0.64.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 117
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-8f84f4214a8024d8ea62ee639eeaf2fa26900fabe23c8b87accb41d529a0bf4f.yml
openapi_spec_hash: db14f415438b3d338d9376bddc83a5cf
config_hash: 590bf8cb85948cf1e63b7b5ef60686c8
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-9d489e3e43edfa64a754d4281241718e01c85d9a82ef3687df12bbd3c4ff5b42.yml
openapi_spec_hash: a953cafb7f40ec8495dbd7df8bab8bad
config_hash: bb7acce8576a50dd449b0c8f58ef0f1d
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.64.0 (2026-06-05)

Full Changelog: [v0.63.0...v0.64.0](https://github.com/kernel/kernel-node-sdk/compare/v0.63.0...v0.64.0)

### Features

* Telemetry: expose opt-in categories + full event taxonomy (public API) ([6694395](https://github.com/kernel/kernel-node-sdk/commit/66943955bff80f219199e13961315750075acc52))

## 0.63.0 (2026-06-05)

Full Changelog: [v0.62.0...v0.63.0](https://github.com/kernel/kernel-node-sdk/compare/v0.62.0...v0.63.0)
Expand Down
8 changes: 8 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,11 @@ Methods:

Types:

- <code><a href="./src/resources/browsers/telemetry.ts">BrowserAPICallEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserCallStack</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserCaptchaSolveResultEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserCdpConnectEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserCdpDisconnectEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserConsoleErrorEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserConsoleLogEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserEventContext</a></code>
Expand All @@ -99,6 +103,8 @@ Types:
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserInteractionClickEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserInteractionKeyEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserInteractionScrollSettledEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserLiveViewConnectEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserLiveViewDisconnectEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserMonitorDisconnectedEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserMonitorInitFailedEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserMonitorReconnectFailedEvent</a></code>
Expand All @@ -116,6 +122,8 @@ Types:
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserPageNavigationEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserPageNavigationSettledEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserPageTabOpenedEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserServiceCrashedEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserSystemOomKillEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserTelemetryCategoriesConfig</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserTelemetryCategoryConfig</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserTelemetryConfig</a></code>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onkernel/sdk",
"version": "0.63.0",
"version": "0.64.0",
"description": "The official TypeScript library for the Kernel API",
"author": "Kernel <>",
"types": "dist/index.d.ts",
Expand Down
46 changes: 32 additions & 14 deletions src/resources/browsers/browsers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ import {
} from './replays';
import * as TelemetryAPI from './telemetry';
import {
BrowserAPICallEvent,
BrowserCallStack,
BrowserCaptchaSolveResultEvent,
BrowserCdpConnectEvent,
BrowserCdpDisconnectEvent,
BrowserConsoleErrorEvent,
BrowserConsoleLogEvent,
BrowserEventContext,
Expand All @@ -62,6 +66,8 @@ import {
BrowserInteractionClickEvent,
BrowserInteractionKeyEvent,
BrowserInteractionScrollSettledEvent,
BrowserLiveViewConnectEvent,
BrowserLiveViewDisconnectEvent,
BrowserMonitorDisconnectedEvent,
BrowserMonitorInitFailedEvent,
BrowserMonitorReconnectFailedEvent,
Expand All @@ -79,6 +85,8 @@ import {
BrowserPageNavigationEvent,
BrowserPageNavigationSettledEvent,
BrowserPageTabOpenedEvent,
BrowserServiceCrashedEvent,
BrowserSystemOomKillEvent,
BrowserTelemetryCategoriesConfig,
BrowserTelemetryCategoryConfig,
BrowserTelemetryConfig,
Expand Down Expand Up @@ -998,17 +1006,18 @@ export namespace BrowserCreateParams {
*/
export interface Telemetry {
/**
* Per-category enable/disable flags. If enabled is true and browser is omitted or
* empty, the VM default category set is used. Explicitly disabling all four
* categories stops capture on update and starts no capture on create.
* Per-category capture flags. Selection is opt-in: only the categories set to
* enabled=true are captured; anything omitted is off. If enabled is true and
* browser is omitted or empty, the default category set is used. A browser config
* that enables nothing stops capture on update and starts no capture on create.
*/
browser?: TelemetryAPI.BrowserTelemetryCategoriesConfig;

/**
* Request shortcut for browser telemetry capture. True enables capture using VM
* defaults unless browser category settings are provided. False stops capture on
* update and starts no capture on create. enabled=false cannot be combined with
* browser category settings.
* Request shortcut for browser telemetry capture. True enables capture using the
* default category set unless browser category settings are provided. False stops
* capture on update and starts no capture on create. enabled=false cannot be
* combined with browser category settings.
*/
enabled?: boolean;
}
Expand Down Expand Up @@ -1065,17 +1074,18 @@ export namespace BrowserUpdateParams {
*/
export interface Telemetry {
/**
* Per-category enable/disable flags. If enabled is true and browser is omitted or
* empty, the VM default category set is used. Explicitly disabling all four
* categories stops capture on update and starts no capture on create.
* Per-category capture flags. Selection is opt-in: only the categories set to
* enabled=true are captured; anything omitted is off. If enabled is true and
* browser is omitted or empty, the default category set is used. A browser config
* that enables nothing stops capture on update and starts no capture on create.
*/
browser?: TelemetryAPI.BrowserTelemetryCategoriesConfig;

/**
* Request shortcut for browser telemetry capture. True enables capture using VM
* defaults unless browser category settings are provided. False stops capture on
* update and starts no capture on create. enabled=false cannot be combined with
* browser category settings.
* Request shortcut for browser telemetry capture. True enables capture using the
* default category set unless browser category settings are provided. False stops
* capture on update and starts no capture on create. enabled=false cannot be
* combined with browser category settings.
*/
enabled?: boolean;
}
Expand Down Expand Up @@ -1204,7 +1214,11 @@ export declare namespace Browsers {

export {
TelemetryAPITelemetry as Telemetry,
type BrowserAPICallEvent as BrowserAPICallEvent,
type BrowserCallStack as BrowserCallStack,
type BrowserCaptchaSolveResultEvent as BrowserCaptchaSolveResultEvent,
type BrowserCdpConnectEvent as BrowserCdpConnectEvent,
type BrowserCdpDisconnectEvent as BrowserCdpDisconnectEvent,
type BrowserConsoleErrorEvent as BrowserConsoleErrorEvent,
type BrowserConsoleLogEvent as BrowserConsoleLogEvent,
type BrowserEventContext as BrowserEventContext,
Expand All @@ -1213,6 +1227,8 @@ export declare namespace Browsers {
type BrowserInteractionClickEvent as BrowserInteractionClickEvent,
type BrowserInteractionKeyEvent as BrowserInteractionKeyEvent,
type BrowserInteractionScrollSettledEvent as BrowserInteractionScrollSettledEvent,
type BrowserLiveViewConnectEvent as BrowserLiveViewConnectEvent,
type BrowserLiveViewDisconnectEvent as BrowserLiveViewDisconnectEvent,
type BrowserMonitorDisconnectedEvent as BrowserMonitorDisconnectedEvent,
type BrowserMonitorInitFailedEvent as BrowserMonitorInitFailedEvent,
type BrowserMonitorReconnectFailedEvent as BrowserMonitorReconnectFailedEvent,
Expand All @@ -1230,6 +1246,8 @@ export declare namespace Browsers {
type BrowserPageNavigationEvent as BrowserPageNavigationEvent,
type BrowserPageNavigationSettledEvent as BrowserPageNavigationSettledEvent,
type BrowserPageTabOpenedEvent as BrowserPageTabOpenedEvent,
type BrowserServiceCrashedEvent as BrowserServiceCrashedEvent,
type BrowserSystemOomKillEvent as BrowserSystemOomKillEvent,
type BrowserTelemetryCategoriesConfig as BrowserTelemetryCategoriesConfig,
type BrowserTelemetryCategoryConfig as BrowserTelemetryCategoryConfig,
type BrowserTelemetryConfig as BrowserTelemetryConfig,
Expand Down
8 changes: 8 additions & 0 deletions src/resources/browsers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@ export {
} from './replays';
export {
Telemetry,
type BrowserAPICallEvent,
type BrowserCallStack,
type BrowserCaptchaSolveResultEvent,
type BrowserCdpConnectEvent,
type BrowserCdpDisconnectEvent,
type BrowserConsoleErrorEvent,
type BrowserConsoleLogEvent,
type BrowserEventContext,
Expand All @@ -91,6 +95,8 @@ export {
type BrowserInteractionClickEvent,
type BrowserInteractionKeyEvent,
type BrowserInteractionScrollSettledEvent,
type BrowserLiveViewConnectEvent,
type BrowserLiveViewDisconnectEvent,
type BrowserMonitorDisconnectedEvent,
type BrowserMonitorInitFailedEvent,
type BrowserMonitorReconnectFailedEvent,
Expand All @@ -108,6 +114,8 @@ export {
type BrowserPageNavigationEvent,
type BrowserPageNavigationSettledEvent,
type BrowserPageTabOpenedEvent,
type BrowserServiceCrashedEvent,
type BrowserSystemOomKillEvent,
type BrowserTelemetryCategoriesConfig,
type BrowserTelemetryCategoryConfig,
type BrowserTelemetryConfig,
Expand Down
Loading
Loading