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.90.0"
".": "0.91.0"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
configured_endpoints: 134
configured_endpoints: 139
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## [0.91.0](https://github.com/kernel/kernel-node-sdk/compare/v0.90.0...v0.91.0) (2026-08-14)


### Features

* Add customer-facing OTLP destination CRUD API ([9c5a7b1](https://github.com/kernel/kernel-node-sdk/commit/9c5a7b1e52fc4d4c42627bb6fe8248aee8022704))
* Expose configurable browser memory ([aee68a1](https://github.com/kernel/kernel-node-sdk/commit/aee68a1ddd6b270b55ee14fc05c6313752f44e60))
* Require a name on credential providers and backfill unnamed rows ([3a6b96e](https://github.com/kernel/kernel-node-sdk/commit/3a6b96e70770ac373a5252acc4dd34beae5b4906))

## [0.90.0](https://github.com/kernel/kernel-node-sdk/compare/v0.89.0...v0.90.0) (2026-08-12)


Expand Down
18 changes: 18 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ Methods:

Types:

- <code><a href="./src/resources/browsers/browsers.ts">BrowserMemory</a></code>
- <code><a href="./src/resources/browsers/browsers.ts">BrowserMemoryRequest</a></code>
- <code><a href="./src/resources/browsers/browsers.ts">BrowserNetworkConfig</a></code>
- <code><a href="./src/resources/browsers/browsers.ts">BrowserPoolRef</a></code>
- <code><a href="./src/resources/browsers/browsers.ts">BrowserProxy</a></code>
Expand Down Expand Up @@ -301,6 +303,22 @@ Methods:
- <code title="post /auth/connections/{id}/submit">client.auth.connections.<a href="./src/resources/auth/connections.ts">submit</a>(id, { ...params }) -> SubmitFieldsResponse</code>
- <code title="get /auth/connections/{id}/timeline">client.auth.connections.<a href="./src/resources/auth/connections.ts">timeline</a>(id, { ...params }) -> ManagedAuthTimelineEventsOffsetPagination</code>

# Telemetry

## Destinations

Types:

- <code><a href="./src/resources/telemetry/destinations.ts">OtlpDestination</a></code>

Methods:

- <code title="post /telemetry/destinations">client.telemetry.destinations.<a href="./src/resources/telemetry/destinations.ts">create</a>({ ...params }) -> OtlpDestination</code>
- <code title="get /telemetry/destinations/{id_or_name}">client.telemetry.destinations.<a href="./src/resources/telemetry/destinations.ts">retrieve</a>(idOrName) -> OtlpDestination</code>
- <code title="patch /telemetry/destinations/{id_or_name}">client.telemetry.destinations.<a href="./src/resources/telemetry/destinations.ts">update</a>(idOrName, { ...params }) -> OtlpDestination</code>
- <code title="get /telemetry/destinations">client.telemetry.destinations.<a href="./src/resources/telemetry/destinations.ts">list</a>({ ...params }) -> OtlpDestinationsOffsetPagination</code>
- <code title="delete /telemetry/destinations/{id_or_name}">client.telemetry.destinations.<a href="./src/resources/telemetry/destinations.ts">delete</a>(idOrName) -> void</code>

# Proxies

Types:
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.90.0",
"version": "0.91.0",
"description": "The official TypeScript library for the Kernel API",
"author": "Kernel <>",
"types": "dist/index.d.ts",
Expand Down
9 changes: 9 additions & 0 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ import {
BrowserListResponse,
BrowserListResponsesOffsetPagination,
BrowserLoadExtensionsParams,
BrowserMemory,
BrowserMemoryRequest,
BrowserNetworkConfig,
BrowserPoolRef,
BrowserProxy,
Expand All @@ -178,6 +180,7 @@ import {
ProjectsOffsetPagination,
UpdateProjectRequest,
} from './resources/projects/projects';
import { Telemetry } from './resources/telemetry/telemetry';
import { type Fetch } from './internal/builtin-types';
import { HeadersLike, NullableHeaders, buildHeaders } from './internal/headers';
import { FinalRequestOptions, RequestOptions } from './internal/request-options';
Expand Down Expand Up @@ -1018,6 +1021,7 @@ export class Kernel {
*/
profiles: API.Profiles = new API.Profiles(this);
auth: API.Auth = new API.Auth(this);
telemetry: API.Telemetry = new API.Telemetry(this);
/**
* Create and manage proxy configurations for routing browser traffic.
*/
Expand Down Expand Up @@ -1062,6 +1066,7 @@ Kernel.Invocations = Invocations;
Kernel.Browsers = Browsers;
Kernel.Profiles = Profiles;
Kernel.Auth = Auth;
Kernel.Telemetry = Telemetry;
Kernel.Proxies = Proxies;
Kernel.Extensions = Extensions;
Kernel.BrowserPools = BrowserPools;
Expand Down Expand Up @@ -1125,6 +1130,8 @@ export declare namespace Kernel {

export {
Browsers as Browsers,
type BrowserMemory as BrowserMemory,
type BrowserMemoryRequest as BrowserMemoryRequest,
type BrowserNetworkConfig as BrowserNetworkConfig,
type BrowserPoolRef as BrowserPoolRef,
type BrowserProxy as BrowserProxy,
Expand Down Expand Up @@ -1157,6 +1164,8 @@ export declare namespace Kernel {

export { Auth as Auth };

export { Telemetry as Telemetry };

export {
Proxies as Proxies,
type ProxyCreateResponse as ProxyCreateResponse,
Expand Down
5 changes: 5 additions & 0 deletions src/resources/browser-pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,11 @@ export interface BrowserPoolAcquireResponse {
*/
headless: boolean;

/**
* Memory allocated to the browser session.
*/
memory: BrowsersAPI.BrowserMemory;

/**
* Geographic region of the browser session. Fixed once the session is created.
*/
Expand Down
37 changes: 37 additions & 0 deletions src/resources/browsers/browsers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,16 @@ export type BrowserListResponsesOffsetPagination = OffsetPagination<BrowserListR

export type ProfilesOffsetPagination = OffsetPagination<Profile>;

/**
* Memory allocated to the browser session.
*/
export type BrowserMemory = '1GiB' | '2GiB' | '6GiB' | '8GiB' | '16GiB';

/**
* Memory requested for a headful, non-GPU browser session.
*/
export type BrowserMemoryRequest = '8GiB' | '16GiB';

/**
* Network configuration for a browser session or browser pool.
*/
Expand Down Expand Up @@ -454,6 +464,11 @@ export interface BrowserCreateResponse {
*/
headless: boolean;

/**
* Memory allocated to the browser session.
*/
memory: BrowserMemory;

/**
* Geographic region of the browser session. Fixed once the session is created.
*/
Expand Down Expand Up @@ -609,6 +624,11 @@ export interface BrowserRetrieveResponse {
*/
headless: boolean;

/**
* Memory allocated to the browser session.
*/
memory: BrowserMemory;

/**
* Geographic region of the browser session. Fixed once the session is created.
*/
Expand Down Expand Up @@ -764,6 +784,11 @@ export interface BrowserUpdateResponse {
*/
headless: boolean;

/**
* Memory allocated to the browser session.
*/
memory: BrowserMemory;

/**
* Geographic region of the browser session. Fixed once the session is created.
*/
Expand Down Expand Up @@ -919,6 +944,11 @@ export interface BrowserListResponse {
*/
headless: boolean;

/**
* Memory allocated to the browser session.
*/
memory: BrowserMemory;

/**
* Geographic region of the browser session. Fixed once the session is created.
*/
Expand Down Expand Up @@ -1120,6 +1150,11 @@ export interface BrowserCreateParams {
*/
kiosk_mode?: boolean;

/**
* Memory for a headful, non-GPU browser session. Defaults to 8GiB.
*/
memory?: BrowserMemoryRequest;

/**
* Optional human-readable name for the browser session, used to find it later in
* the dashboard. Must be unique among active sessions within the project. Can be
Expand Down Expand Up @@ -1580,6 +1615,8 @@ Browsers.Playwright = Playwright;

export declare namespace Browsers {
export {
type BrowserMemory as BrowserMemory,
type BrowserMemoryRequest as BrowserMemoryRequest,
type BrowserNetworkConfig as BrowserNetworkConfig,
type BrowserPoolRef as BrowserPoolRef,
type BrowserProxy as BrowserProxy,
Expand Down
2 changes: 2 additions & 0 deletions src/resources/browsers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

export {
Browsers,
type BrowserMemory,
type BrowserMemoryRequest,
type BrowserNetworkConfig,
type BrowserPoolRef,
type BrowserProxy,
Expand Down
2 changes: 1 addition & 1 deletion src/resources/browsers/telemetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { RequestOptions } from '../../internal/request-options';
import { path } from '../../internal/utils/path';

/**
* Stream live telemetry events from a browser session.
* Stream live telemetry events from a browser session, and manage the destinations sessions export them to.
*/
export class Telemetry extends APIResource {
/**
Expand Down
12 changes: 8 additions & 4 deletions src/resources/credential-providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ export interface CreateCredentialProviderRequest {
token: string;

/**
* Human-readable name for this provider instance (unique per org)
* Human-readable name for this provider instance (unique per org). Surrounding
* whitespace is trimmed and the trimmed value must be non-empty.
*/
name: string;

Expand Down Expand Up @@ -281,7 +282,8 @@ export interface UpdateCredentialProviderRequest {
enabled?: boolean;

/**
* Human-readable name for this provider instance
* Human-readable name for this provider instance. Surrounding whitespace is
* trimmed and the trimmed value must be non-empty.
*/
name?: string;

Expand All @@ -302,7 +304,8 @@ export interface CredentialProviderCreateParams {
token: string;

/**
* Human-readable name for this provider instance (unique per org)
* Human-readable name for this provider instance (unique per org). Surrounding
* whitespace is trimmed and the trimmed value must be non-empty.
*/
name: string;

Expand Down Expand Up @@ -334,7 +337,8 @@ export interface CredentialProviderUpdateParams {
enabled?: boolean;

/**
* Human-readable name for this provider instance
* Human-readable name for this provider instance. Surrounding whitespace is
* trimmed and the trimmed value must be non-empty.
*/
name?: string;

Expand Down
3 changes: 3 additions & 0 deletions src/resources/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ export {
} from './browser-pools';
export {
Browsers,
type BrowserMemory,
type BrowserMemoryRequest,
type BrowserNetworkConfig,
type BrowserPoolRef,
type BrowserProxy,
Expand Down Expand Up @@ -154,3 +156,4 @@ export {
type ProxyCheckParams,
type ProxyListResponsesOffsetPagination,
} from './proxies';
export { Telemetry } from './telemetry/telemetry';
5 changes: 5 additions & 0 deletions src/resources/invocations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,11 @@ export namespace InvocationListBrowsersResponse {
*/
headless: boolean;

/**
* Memory allocated to the browser session.
*/
memory: BrowsersAPI.BrowserMemory;

/**
* Geographic region of the browser session. Fixed once the session is created.
*/
Expand Down
3 changes: 3 additions & 0 deletions src/resources/telemetry.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

export * from './telemetry/index';
Loading
Loading