Skip to content

Commit 964f2c9

Browse files
Merge pull request #168 from kernel/release-please--branches--main--changes--next--components--sdk
release: 0.91.0
2 parents c662ac0 + 97b0d06 commit 964f2c9

20 files changed

Lines changed: 429 additions & 9 deletions

‎.release-please-manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.90.0"
2+
".": "0.91.0"
33
}

‎.stats.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
configured_endpoints: 134
1+
configured_endpoints: 139

‎CHANGELOG.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## [0.91.0](https://github.com/kernel/kernel-node-sdk/compare/v0.90.0...v0.91.0) (2026-08-14)
4+
5+
6+
### Features
7+
8+
* Add customer-facing OTLP destination CRUD API ([9c5a7b1](https://github.com/kernel/kernel-node-sdk/commit/9c5a7b1e52fc4d4c42627bb6fe8248aee8022704))
9+
* Expose configurable browser memory ([aee68a1](https://github.com/kernel/kernel-node-sdk/commit/aee68a1ddd6b270b55ee14fc05c6313752f44e60))
10+
* Require a name on credential providers and backfill unnamed rows ([3a6b96e](https://github.com/kernel/kernel-node-sdk/commit/3a6b96e70770ac373a5252acc4dd34beae5b4906))
11+
312
## [0.90.0](https://github.com/kernel/kernel-node-sdk/compare/v0.89.0...v0.90.0) (2026-08-12)
413

514

‎api.md‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ Methods:
6666

6767
Types:
6868

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

306+
# Telemetry
307+
308+
## Destinations
309+
310+
Types:
311+
312+
- <code><a href="./src/resources/telemetry/destinations.ts">OtlpDestination</a></code>
313+
314+
Methods:
315+
316+
- <code title="post /telemetry/destinations">client.telemetry.destinations.<a href="./src/resources/telemetry/destinations.ts">create</a>({ ...params }) -> OtlpDestination</code>
317+
- <code title="get /telemetry/destinations/{id_or_name}">client.telemetry.destinations.<a href="./src/resources/telemetry/destinations.ts">retrieve</a>(idOrName) -> OtlpDestination</code>
318+
- <code title="patch /telemetry/destinations/{id_or_name}">client.telemetry.destinations.<a href="./src/resources/telemetry/destinations.ts">update</a>(idOrName, { ...params }) -> OtlpDestination</code>
319+
- <code title="get /telemetry/destinations">client.telemetry.destinations.<a href="./src/resources/telemetry/destinations.ts">list</a>({ ...params }) -> OtlpDestinationsOffsetPagination</code>
320+
- <code title="delete /telemetry/destinations/{id_or_name}">client.telemetry.destinations.<a href="./src/resources/telemetry/destinations.ts">delete</a>(idOrName) -> void</code>
321+
304322
# Proxies
305323

306324
Types:

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@onkernel/sdk",
3-
"version": "0.90.0",
3+
"version": "0.91.0",
44
"description": "The official TypeScript library for the Kernel API",
55
"author": "Kernel <>",
66
"types": "dist/index.d.ts",

‎src/client.ts‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ import {
153153
BrowserListResponse,
154154
BrowserListResponsesOffsetPagination,
155155
BrowserLoadExtensionsParams,
156+
BrowserMemory,
157+
BrowserMemoryRequest,
156158
BrowserNetworkConfig,
157159
BrowserPoolRef,
158160
BrowserProxy,
@@ -178,6 +180,7 @@ import {
178180
ProjectsOffsetPagination,
179181
UpdateProjectRequest,
180182
} from './resources/projects/projects';
183+
import { Telemetry } from './resources/telemetry/telemetry';
181184
import { type Fetch } from './internal/builtin-types';
182185
import { HeadersLike, NullableHeaders, buildHeaders } from './internal/headers';
183186
import { FinalRequestOptions, RequestOptions } from './internal/request-options';
@@ -1018,6 +1021,7 @@ export class Kernel {
10181021
*/
10191022
profiles: API.Profiles = new API.Profiles(this);
10201023
auth: API.Auth = new API.Auth(this);
1024+
telemetry: API.Telemetry = new API.Telemetry(this);
10211025
/**
10221026
* Create and manage proxy configurations for routing browser traffic.
10231027
*/
@@ -1062,6 +1066,7 @@ Kernel.Invocations = Invocations;
10621066
Kernel.Browsers = Browsers;
10631067
Kernel.Profiles = Profiles;
10641068
Kernel.Auth = Auth;
1069+
Kernel.Telemetry = Telemetry;
10651070
Kernel.Proxies = Proxies;
10661071
Kernel.Extensions = Extensions;
10671072
Kernel.BrowserPools = BrowserPools;
@@ -1125,6 +1130,8 @@ export declare namespace Kernel {
11251130

11261131
export {
11271132
Browsers as Browsers,
1133+
type BrowserMemory as BrowserMemory,
1134+
type BrowserMemoryRequest as BrowserMemoryRequest,
11281135
type BrowserNetworkConfig as BrowserNetworkConfig,
11291136
type BrowserPoolRef as BrowserPoolRef,
11301137
type BrowserProxy as BrowserProxy,
@@ -1157,6 +1164,8 @@ export declare namespace Kernel {
11571164

11581165
export { Auth as Auth };
11591166

1167+
export { Telemetry as Telemetry };
1168+
11601169
export {
11611170
Proxies as Proxies,
11621171
type ProxyCreateResponse as ProxyCreateResponse,

‎src/resources/browser-pools.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,11 @@ export interface BrowserPoolAcquireResponse {
374374
*/
375375
headless: boolean;
376376

377+
/**
378+
* Memory allocated to the browser session.
379+
*/
380+
memory: BrowsersAPI.BrowserMemory;
381+
377382
/**
378383
* Geographic region of the browser session. Fixed once the session is created.
379384
*/

‎src/resources/browsers/browsers.ts‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,16 @@ export type BrowserListResponsesOffsetPagination = OffsetPagination<BrowserListR
281281

282282
export type ProfilesOffsetPagination = OffsetPagination<Profile>;
283283

284+
/**
285+
* Memory allocated to the browser session.
286+
*/
287+
export type BrowserMemory = '1GiB' | '2GiB' | '6GiB' | '8GiB' | '16GiB';
288+
289+
/**
290+
* Memory requested for a headful, non-GPU browser session.
291+
*/
292+
export type BrowserMemoryRequest = '8GiB' | '16GiB';
293+
284294
/**
285295
* Network configuration for a browser session or browser pool.
286296
*/
@@ -454,6 +464,11 @@ export interface BrowserCreateResponse {
454464
*/
455465
headless: boolean;
456466

467+
/**
468+
* Memory allocated to the browser session.
469+
*/
470+
memory: BrowserMemory;
471+
457472
/**
458473
* Geographic region of the browser session. Fixed once the session is created.
459474
*/
@@ -609,6 +624,11 @@ export interface BrowserRetrieveResponse {
609624
*/
610625
headless: boolean;
611626

627+
/**
628+
* Memory allocated to the browser session.
629+
*/
630+
memory: BrowserMemory;
631+
612632
/**
613633
* Geographic region of the browser session. Fixed once the session is created.
614634
*/
@@ -764,6 +784,11 @@ export interface BrowserUpdateResponse {
764784
*/
765785
headless: boolean;
766786

787+
/**
788+
* Memory allocated to the browser session.
789+
*/
790+
memory: BrowserMemory;
791+
767792
/**
768793
* Geographic region of the browser session. Fixed once the session is created.
769794
*/
@@ -919,6 +944,11 @@ export interface BrowserListResponse {
919944
*/
920945
headless: boolean;
921946

947+
/**
948+
* Memory allocated to the browser session.
949+
*/
950+
memory: BrowserMemory;
951+
922952
/**
923953
* Geographic region of the browser session. Fixed once the session is created.
924954
*/
@@ -1120,6 +1150,11 @@ export interface BrowserCreateParams {
11201150
*/
11211151
kiosk_mode?: boolean;
11221152

1153+
/**
1154+
* Memory for a headful, non-GPU browser session. Defaults to 8GiB.
1155+
*/
1156+
memory?: BrowserMemoryRequest;
1157+
11231158
/**
11241159
* Optional human-readable name for the browser session, used to find it later in
11251160
* the dashboard. Must be unique among active sessions within the project. Can be
@@ -1580,6 +1615,8 @@ Browsers.Playwright = Playwright;
15801615

15811616
export declare namespace Browsers {
15821617
export {
1618+
type BrowserMemory as BrowserMemory,
1619+
type BrowserMemoryRequest as BrowserMemoryRequest,
15831620
type BrowserNetworkConfig as BrowserNetworkConfig,
15841621
type BrowserPoolRef as BrowserPoolRef,
15851622
type BrowserProxy as BrowserProxy,

‎src/resources/browsers/index.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
export {
44
Browsers,
5+
type BrowserMemory,
6+
type BrowserMemoryRequest,
57
type BrowserNetworkConfig,
68
type BrowserPoolRef,
79
type BrowserProxy,

‎src/resources/browsers/telemetry.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { RequestOptions } from '../../internal/request-options';
1010
import { path } from '../../internal/utils/path';
1111

1212
/**
13-
* Stream live telemetry events from a browser session.
13+
* Stream live telemetry events from a browser session, and manage the destinations sessions export them to.
1414
*/
1515
export class Telemetry extends APIResource {
1616
/**

0 commit comments

Comments
 (0)