From 3d555d700e9854a2ec1d095d484d916abea4541e Mon Sep 17 00:00:00 2001 From: "kernel-internal[bot]" <260533166+kernel-internal[bot]@users.noreply.github.com> Date: Tue, 22 Sep 2026 19:10:48 +0000 Subject: [PATCH 1/6] feat: Publish iframe and worker browser target types Stainless-Generated-From: 84c2ba1598b099a044f45d52e07c3ca1cabcee9c --- src/resources/browsers/telemetry.ts | 36 +++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) diff --git a/src/resources/browsers/telemetry.ts b/src/resources/browsers/telemetry.ts index 100f182e..aec75bdf 100644 --- a/src/resources/browsers/telemetry.ts +++ b/src/resources/browsers/telemetry.ts @@ -2979,7 +2979,14 @@ export interface BrowserEventContext { /** * CDP target type of the page that produced the event. */ - target_type?: 'page' | 'background_page' | 'service_worker' | 'shared_worker' | 'other'; + target_type?: + | 'page' + | 'iframe' + | 'worker' + | 'background_page' + | 'service_worker' + | 'shared_worker' + | 'other'; /** * URL relevant to this event — page URL for navigation and page events, request @@ -3769,7 +3776,14 @@ export namespace BrowserPageCrashedEvent { /** * CDP target type of the page that produced the event. */ - target_type: 'page' | 'background_page' | 'service_worker' | 'shared_worker' | 'other'; + target_type: + | 'page' + | 'iframe' + | 'worker' + | 'background_page' + | 'service_worker' + | 'shared_worker' + | 'other'; /** * URL the page was on when its renderer process crashed. @@ -4135,7 +4149,14 @@ export namespace BrowserPageNavigationEvent { /** * CDP target type of the page that produced the event. */ - target_type?: 'page' | 'background_page' | 'service_worker' | 'shared_worker' | 'other'; + target_type?: + | 'page' + | 'iframe' + | 'worker' + | 'background_page' + | 'service_worker' + | 'shared_worker' + | 'other'; /** * URL navigated to. @@ -4222,7 +4243,14 @@ export namespace BrowserPageTabOpenedEvent { /** * CDP target type of the page that produced the event. */ - target_type?: 'page' | 'background_page' | 'service_worker' | 'shared_worker' | 'other'; + target_type?: + | 'page' + | 'iframe' + | 'worker' + | 'background_page' + | 'service_worker' + | 'shared_worker' + | 'other'; /** * Initial page title of the new tab. From 809b9c8be2eb8919389bc5369e8a8a3cc5590182 Mon Sep 17 00:00:00 2001 From: "kernel-internal[bot]" <260533166+kernel-internal[bot]@users.noreply.github.com> Date: Tue, 22 Sep 2026 23:06:04 +0000 Subject: [PATCH 2/6] feat: Correct monitor_disconnected description on computed state Stainless-Generated-From: 292847796a6ae9d3913a3c78aa61b84d488b1bd9 --- src/resources/browsers/telemetry.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/resources/browsers/telemetry.ts b/src/resources/browsers/telemetry.ts index aec75bdf..5988ad92 100644 --- a/src/resources/browsers/telemetry.ts +++ b/src/resources/browsers/telemetry.ts @@ -3290,8 +3290,12 @@ export namespace BrowserLiveViewDisconnectEvent { /** * The CDP connection to Chrome was lost. Telemetry events may be dropped until - * monitor_reconnected arrives. Treat any in-progress computed state (network_idle, - * page_layout_settled) as unreliable until then. + * monitor_reconnected arrives. In-progress computed state is discarded rather than + * paused, so computed events still pending for the current navigation + * (network_idle, page_layout_settled, page_navigation_settled) never fire. + * monitor_reconnected does not restore them. After reattachment a fresh state + * machine starts, so computed events can resume before the next navigation and + * carry empty navigation context until one occurs. */ export interface BrowserMonitorDisconnectedEvent { category: 'monitor'; From dc46ab213c0333cd16510c789a3fc10cb4bc0383 Mon Sep 17 00:00:00 2001 From: "kernel-internal[bot]" <260533166+kernel-internal[bot]@users.noreply.github.com> Date: Wed, 23 Sep 2026 19:10:47 +0000 Subject: [PATCH 3/6] feat: Filter archived telemetry events by type Stainless-Generated-From: bffdddcb6c7e050cf71c47c97ad694cfd807a313 --- src/resources/browsers/telemetry.ts | 16 +++++++++++----- tests/api-resources/browsers/telemetry.test.ts | 1 + 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/resources/browsers/telemetry.ts b/src/resources/browsers/telemetry.ts index 5988ad92..675d17fe 100644 --- a/src/resources/browsers/telemetry.ts +++ b/src/resources/browsers/telemetry.ts @@ -16,8 +16,9 @@ export class Telemetry extends APIResource { /** * Reads a page of telemetry events for the browser session. To page through * results, pass the X-Next-Offset value from the previous response as offset and - * repeat while X-Has-More is true. Returns an empty list when telemetry data is - * unavailable. + * repeat while X-Has-More is true. The category and type filters apply within each + * page, so a filtered page may be empty while X-Has-More is true. Returns an empty + * list when telemetry data is unavailable. * * @example * ```ts @@ -4862,9 +4863,7 @@ export interface TelemetryEventsParams extends OffsetPaginationParams { * Read direction. asc (default) reads oldest first, starting from since or the * offset cursor. desc reads newest first: each request returns one page of up to * limit records ending at the offset cursor (or until, or the newest archived - * event); combining desc with since is rejected with a 400. In either direction - * the category filter applies within the page, so a filtered page may be empty - * while X-Has-More is true. + * event); combining desc with since is rejected with a 400. */ order?: string; @@ -4874,6 +4873,13 @@ export interface TelemetryEventsParams extends OffsetPaginationParams { */ since?: string; + /** + * Restrict results to these event types, such as page_crashed or + * captcha_challenge_result. Repeat the parameter for multiple values. Combines + * with category: when both are set an event must match both. + */ + type?: Array; + /** * End of the window (exclusive): an RFC-3339 timestamp, or a duration like 5m * meaning that long ago. diff --git a/tests/api-resources/browsers/telemetry.test.ts b/tests/api-resources/browsers/telemetry.test.ts index 797d2539..1485ed1b 100644 --- a/tests/api-resources/browsers/telemetry.test.ts +++ b/tests/api-resources/browsers/telemetry.test.ts @@ -32,6 +32,7 @@ describe('resource telemetry', () => { offset: 0, order: 'order', since: 'since', + type: ['string'], until: 'until', }, { path: '/_stainless_unknown_path' }, From 0b0f348c33f9e9c372b31dbcfd19b505a26057ef Mon Sep 17 00:00:00 2001 From: "kernel-internal[bot]" <260533166+kernel-internal[bot]@users.noreply.github.com> Date: Wed, 23 Sep 2026 22:25:25 +0000 Subject: [PATCH 4/6] feat: Add profiles to browser pool acquire Stainless-Generated-From: c39d272cb7cd201ac01a26c116d52222989d4556 --- src/resources/browser-pools.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/resources/browser-pools.ts b/src/resources/browser-pools.ts index 7444b45a..2f71c1ba 100644 --- a/src/resources/browser-pools.ts +++ b/src/resources/browser-pools.ts @@ -1066,6 +1066,13 @@ export interface BrowserPoolAcquireParams { */ name?: string; + /** + * Profile selection for the browser session. Provide either id or name. If + * specified, the matching profile will be loaded into the browser session. + * Profiles must be created beforehand. + */ + profile?: Shared.BrowserProfile; + /** * Optional URL to navigate the acquired browser to. Overrides the pool's start_url * for this acquire only. Best-effort: failures to navigate do not fail the @@ -1200,7 +1207,8 @@ export interface BrowserPoolReleaseParams { * Defaults to true. A reused browser keeps the configuration it was created with, * so it does not pick up pool configuration changes made while it was in use. * Release with `reuse: false`, or flush the pool afterward, to rebuild it with the - * current configuration. + * current configuration. Browsers loaded with an acquire-time profile are always + * destroyed and replaced, even when reuse is true. */ reuse?: boolean; } From 68ff158188ce06e5f7526a324217d945e1970cc3 Mon Sep 17 00:00:00 2001 From: "kernel-internal[bot]" <260533166+kernel-internal[bot]@users.noreply.github.com> Date: Thu, 24 Sep 2026 15:13:16 +0000 Subject: [PATCH 5/6] feat: Expose Search rollout access in org entitlements Stainless-Generated-From: 80d2d6eb34035a69b825f2bae03d2fae06aa2003 --- src/resources/organization/entitlements.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/resources/organization/entitlements.ts b/src/resources/organization/entitlements.ts index 3c29cf59..ee0ad2c8 100644 --- a/src/resources/organization/entitlements.ts +++ b/src/resources/organization/entitlements.ts @@ -58,6 +58,12 @@ export namespace OrgEntitlements { proxy_bypass_hosts: Features.ProxyBypassHosts; + /** + * Whether the Search API is enabled for the organization by its rollout feature + * flag. + */ + search: Features.Search; + /** * Whether the organization can access vaults, using the same access check as vault * API routes. @@ -183,6 +189,17 @@ export namespace OrgEntitlements { enabled: boolean; } + /** + * Whether the Search API is enabled for the organization by its rollout feature + * flag. + */ + export interface Search { + /** + * Whether the organization is entitled to use this feature. + */ + enabled: boolean; + } + /** * Whether the organization can access vaults, using the same access check as vault * API routes. From 14f1f152075d0e3a8a1e29ec548cf25d549db3dd Mon Sep 17 00:00:00 2001 From: "kernel-internal[bot]" <260533166+kernel-internal[bot]@users.noreply.github.com> Date: Thu, 24 Sep 2026 15:18:10 +0000 Subject: [PATCH 6/6] release: 0.112.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 11 +++++++++++ package.json | 2 +- src/version.ts | 2 +- 4 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 6d4c016b..333e70a1 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.111.0" + ".": "0.112.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d1c8026..85d5863c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## [0.112.0](https://github.com/kernel/kernel-node-sdk/compare/v0.111.0...v0.112.0) (2026-09-24) + + +### Features + +* Add profiles to browser pool acquire ([0b0f348](https://github.com/kernel/kernel-node-sdk/commit/0b0f348c33f9e9c372b31dbcfd19b505a26057ef)) +* Correct monitor_disconnected description on computed state ([809b9c8](https://github.com/kernel/kernel-node-sdk/commit/809b9c8be2eb8919389bc5369e8a8a3cc5590182)) +* Expose Search rollout access in org entitlements ([68ff158](https://github.com/kernel/kernel-node-sdk/commit/68ff158188ce06e5f7526a324217d945e1970cc3)) +* Filter archived telemetry events by type ([dc46ab2](https://github.com/kernel/kernel-node-sdk/commit/dc46ab213c0333cd16510c789a3fc10cb4bc0383)) +* Publish iframe and worker browser target types ([3d555d7](https://github.com/kernel/kernel-node-sdk/commit/3d555d700e9854a2ec1d095d484d916abea4541e)) + ## [0.111.0](https://github.com/kernel/kernel-node-sdk/compare/v0.110.0...v0.111.0) (2026-09-22) diff --git a/package.json b/package.json index 0930d37e..539bd6d5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@onkernel/sdk", - "version": "0.111.0", + "version": "0.112.0", "description": "The official TypeScript library for the Kernel API", "author": "Kernel <>", "types": "dist/index.d.ts", diff --git a/src/version.ts b/src/version.ts index 36c76795..142b029c 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.111.0'; // x-release-please-version +export const VERSION = '0.112.0'; // x-release-please-version