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.73.0"
".": "0.74.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 125
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-55409ab573762d8bc010fb34c885651ca858a97d4353b4776b7aafeaaa313257.yml
openapi_spec_hash: 0cf678d80f2a2b73fb9ec82d05c8cc0a
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-ebbe079bb2542625826422afd876a3e8b499c579cf45efc5fd50e7982d34df7d.yml
openapi_spec_hash: db850b61a0d71fe9f4b642df8782d7ae
config_hash: 06186eb40e0058a2a87ac251fc07415d
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.74.0 (2026-07-06)

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

### Features

* Add order=desc pagination to telemetry event reads ([9c363b7](https://github.com/kernel/kernel-node-sdk/commit/9c363b7479c66b28f7c09f836b5d5548a1cdd80b))
* Add tablet and mobile viewport presets to pool dashboard ([c1000cb](https://github.com/kernel/kernel-node-sdk/commit/c1000cb259c7bd06b220987fa5c641a963cb45c3))

## 0.73.0 (2026-07-01)

Full Changelog: [v0.72.0...v0.73.0](https://github.com/kernel/kernel-node-sdk/compare/v0.72.0...v0.73.0)
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.73.0",
"version": "0.74.0",
"description": "The official TypeScript library for the Kernel API",
"author": "Kernel <>",
"types": "dist/index.d.ts",
Expand Down
64 changes: 32 additions & 32 deletions src/resources/browser-pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,14 +282,14 @@ export namespace BrowserPool {
* image defaults apply (1920x1080@25). For GPU images, the default is
* 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
* Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For GPU images, recommended
* presets use one of these resolutions with refresh rates 60, 30, 25, or 10:
* 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768,
* 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600.
* Viewports outside this list may exhibit unstable live view or recording
* behavior. If refresh_rate is not provided, it will be automatically determined
* based on the resolution (higher resolutions use lower refresh rates to keep
* bandwidth reasonable).
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
* GPU images, recommended presets use one of these resolutions with refresh rates
* 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
* 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
* 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
* or recording behavior. If refresh_rate is not provided, it will be automatically
* determined based on the resolution (higher resolutions use lower refresh rates
* to keep bandwidth reasonable).
*/
viewport?: Shared.BrowserViewport;
}
Expand Down Expand Up @@ -438,14 +438,14 @@ export interface BrowserPoolAcquireResponse {
* image defaults apply (1920x1080@25). For GPU images, the default is
* 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
* Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For GPU images, recommended
* presets use one of these resolutions with refresh rates 60, 30, 25, or 10:
* 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768,
* 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600.
* Viewports outside this list may exhibit unstable live view or recording
* behavior. If refresh_rate is not provided, it will be automatically determined
* based on the resolution (higher resolutions use lower refresh rates to keep
* bandwidth reasonable).
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
* GPU images, recommended presets use one of these resolutions with refresh rates
* 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
* 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
* 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
* or recording behavior. If refresh_rate is not provided, it will be automatically
* determined based on the resolution (higher resolutions use lower refresh rates
* to keep bandwidth reasonable).
*/
viewport?: Shared.BrowserViewport;
}
Expand Down Expand Up @@ -536,14 +536,14 @@ export interface BrowserPoolCreateParams {
* image defaults apply (1920x1080@25). For GPU images, the default is
* 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
* Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For GPU images, recommended
* presets use one of these resolutions with refresh rates 60, 30, 25, or 10:
* 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768,
* 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600.
* Viewports outside this list may exhibit unstable live view or recording
* behavior. If refresh_rate is not provided, it will be automatically determined
* based on the resolution (higher resolutions use lower refresh rates to keep
* bandwidth reasonable).
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
* GPU images, recommended presets use one of these resolutions with refresh rates
* 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
* 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
* 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
* or recording behavior. If refresh_rate is not provided, it will be automatically
* determined based on the resolution (higher resolutions use lower refresh rates
* to keep bandwidth reasonable).
*/
viewport?: Shared.BrowserViewport;
}
Expand Down Expand Up @@ -663,14 +663,14 @@ export interface BrowserPoolUpdateParams {
* image defaults apply (1920x1080@25). For GPU images, the default is
* 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
* Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For GPU images, recommended
* presets use one of these resolutions with refresh rates 60, 30, 25, or 10:
* 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768,
* 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600.
* Viewports outside this list may exhibit unstable live view or recording
* behavior. If refresh_rate is not provided, it will be automatically determined
* based on the resolution (higher resolutions use lower refresh rates to keep
* bandwidth reasonable).
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
* GPU images, recommended presets use one of these resolutions with refresh rates
* 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
* 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
* 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
* or recording behavior. If refresh_rate is not provided, it will be automatically
* determined based on the resolution (higher resolutions use lower refresh rates
* to keep bandwidth reasonable).
*/
viewport?: Shared.BrowserViewport;
}
Expand Down
80 changes: 40 additions & 40 deletions src/resources/browsers/browsers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -459,14 +459,14 @@ export interface BrowserCreateResponse {
* image defaults apply (1920x1080@25). For GPU images, the default is
* 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
* Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For GPU images, recommended
* presets use one of these resolutions with refresh rates 60, 30, 25, or 10:
* 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768,
* 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600.
* Viewports outside this list may exhibit unstable live view or recording
* behavior. If refresh_rate is not provided, it will be automatically determined
* based on the resolution (higher resolutions use lower refresh rates to keep
* bandwidth reasonable).
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
* GPU images, recommended presets use one of these resolutions with refresh rates
* 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
* 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
* 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
* or recording behavior. If refresh_rate is not provided, it will be automatically
* determined based on the resolution (higher resolutions use lower refresh rates
* to keep bandwidth reasonable).
*/
viewport?: Shared.BrowserViewport;
}
Expand Down Expand Up @@ -591,14 +591,14 @@ export interface BrowserRetrieveResponse {
* image defaults apply (1920x1080@25). For GPU images, the default is
* 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
* Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For GPU images, recommended
* presets use one of these resolutions with refresh rates 60, 30, 25, or 10:
* 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768,
* 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600.
* Viewports outside this list may exhibit unstable live view or recording
* behavior. If refresh_rate is not provided, it will be automatically determined
* based on the resolution (higher resolutions use lower refresh rates to keep
* bandwidth reasonable).
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
* GPU images, recommended presets use one of these resolutions with refresh rates
* 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
* 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
* 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
* or recording behavior. If refresh_rate is not provided, it will be automatically
* determined based on the resolution (higher resolutions use lower refresh rates
* to keep bandwidth reasonable).
*/
viewport?: Shared.BrowserViewport;
}
Expand Down Expand Up @@ -723,14 +723,14 @@ export interface BrowserUpdateResponse {
* image defaults apply (1920x1080@25). For GPU images, the default is
* 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
* Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For GPU images, recommended
* presets use one of these resolutions with refresh rates 60, 30, 25, or 10:
* 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768,
* 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600.
* Viewports outside this list may exhibit unstable live view or recording
* behavior. If refresh_rate is not provided, it will be automatically determined
* based on the resolution (higher resolutions use lower refresh rates to keep
* bandwidth reasonable).
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
* GPU images, recommended presets use one of these resolutions with refresh rates
* 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
* 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
* 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
* or recording behavior. If refresh_rate is not provided, it will be automatically
* determined based on the resolution (higher resolutions use lower refresh rates
* to keep bandwidth reasonable).
*/
viewport?: Shared.BrowserViewport;
}
Expand Down Expand Up @@ -855,14 +855,14 @@ export interface BrowserListResponse {
* image defaults apply (1920x1080@25). For GPU images, the default is
* 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
* Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For GPU images, recommended
* presets use one of these resolutions with refresh rates 60, 30, 25, or 10:
* 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768,
* 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600.
* Viewports outside this list may exhibit unstable live view or recording
* behavior. If refresh_rate is not provided, it will be automatically determined
* based on the resolution (higher resolutions use lower refresh rates to keep
* bandwidth reasonable).
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
* GPU images, recommended presets use one of these resolutions with refresh rates
* 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
* 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
* 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
* or recording behavior. If refresh_rate is not provided, it will be automatically
* determined based on the resolution (higher resolutions use lower refresh rates
* to keep bandwidth reasonable).
*/
viewport?: Shared.BrowserViewport;
}
Expand Down Expand Up @@ -992,14 +992,14 @@ export interface BrowserCreateParams {
* image defaults apply (1920x1080@25). For GPU images, the default is
* 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
* Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For GPU images, recommended
* presets use one of these resolutions with refresh rates 60, 30, 25, or 10:
* 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768,
* 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600.
* Viewports outside this list may exhibit unstable live view or recording
* behavior. If refresh_rate is not provided, it will be automatically determined
* based on the resolution (higher resolutions use lower refresh rates to keep
* bandwidth reasonable).
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
* GPU images, recommended presets use one of these resolutions with refresh rates
* 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
* 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
* 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
* or recording behavior. If refresh_rate is not provided, it will be automatically
* determined based on the resolution (higher resolutions use lower refresh rates
* to keep bandwidth reasonable).
*/
viewport?: Shared.BrowserViewport;
}
Expand Down
18 changes: 14 additions & 4 deletions src/resources/browsers/telemetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import { path } from '../../internal/utils/path';
*/
export class Telemetry extends APIResource {
/**
* Reads a page of telemetry events for the browser session in ascending sequence
* order. 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.
* 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.
*
* @example
* ```ts
Expand Down Expand Up @@ -2076,6 +2076,16 @@ export interface TelemetryEventsParams extends OffsetPaginationParams {
| 'monitor'
>;

/**
* 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.
*/
order?: string;

/**
* Start of the window: an RFC-3339 timestamp, or a duration like 5m meaning that
* long ago. Defaults to 5m. Ignored when offset is set.
Expand Down
16 changes: 8 additions & 8 deletions src/resources/invocations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -538,14 +538,14 @@ export namespace InvocationListBrowsersResponse {
* image defaults apply (1920x1080@25). For GPU images, the default is
* 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
* Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For GPU images, recommended
* presets use one of these resolutions with refresh rates 60, 30, 25, or 10:
* 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768,
* 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600.
* Viewports outside this list may exhibit unstable live view or recording
* behavior. If refresh_rate is not provided, it will be automatically determined
* based on the resolution (higher resolutions use lower refresh rates to keep
* bandwidth reasonable).
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
* GPU images, recommended presets use one of these resolutions with refresh rates
* 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
* 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
* 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
* or recording behavior. If refresh_rate is not provided, it will be automatically
* determined based on the resolution (higher resolutions use lower refresh rates
* to keep bandwidth reasonable).
*/
viewport?: Shared.BrowserViewport;
}
Expand Down
16 changes: 8 additions & 8 deletions src/resources/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@ export interface BrowserProfile {
* image defaults apply (1920x1080@25). For GPU images, the default is
* 1920x1080@60. Arbitrary viewport dimensions and refresh rates are accepted.
* Known-good presets include: 2560x1440@10, 1920x1080@25, 1920x1200@25,
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60. For GPU images, recommended
* presets use one of these resolutions with refresh rates 60, 30, 25, or 10:
* 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800, 1280x720, 1368x768,
* 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250, 768x1024, 800x1600.
* Viewports outside this list may exhibit unstable live view or recording
* behavior. If refresh_rate is not provided, it will be automatically determined
* based on the resolution (higher resolutions use lower refresh rates to keep
* bandwidth reasonable).
* 1440x900@25, 1280x800@60, 1024x768@60, 1200x800@60, 768x1024@60, 390x844@60. For
* GPU images, recommended presets use one of these resolutions with refresh rates
* 60, 30, 25, or 10: 800x600, 960x720, 1024x576, 1024x768, 1152x648, 1200x800,
* 1280x720, 1368x768, 1440x900, 1600x900, 1920x1080, 1920x1200, 390x844, 360x250,
* 768x1024, 800x1600. Viewports outside this list may exhibit unstable live view
* or recording behavior. If refresh_rate is not provided, it will be automatically
* determined based on the resolution (higher resolutions use lower refresh rates
* to keep bandwidth reasonable).
*/
export interface BrowserViewport {
/**
Expand Down
Loading
Loading