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.55.0"
".": "0.56.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: 112
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-b7a19ff1fbd93322c8cffcd0b397ce2536ca8bff91594e0081bd030d4bec879f.yml
openapi_spec_hash: 9dd204b37a357b19032aea9eb4496645
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-e564e74a7aae1744d4aa070a63c387f456c4719a48747dc6229b58a986255b65.yml
openapi_spec_hash: 62beb1f20708652aaee31bbffb6cfbe9
config_hash: 08d55086449943a8fec212b870061a3f
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Changelog

## 0.56.0 (2026-05-19)

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

### Features

* browsers: accept chrome_policy on POST /browsers (KERNEL-1216) ([e3b32bb](https://github.com/kernel/kernel-node-sdk/commit/e3b32bb8178e98e4ea15fb358a3e370dd96d0315))
* Expose POST /projects in public API ([e251459](https://github.com/kernel/kernel-node-sdk/commit/e251459afc038f2e15eef5ab77b91b398a75eae1))


### Bug Fixes

* **typescript:** upgrade tsc-multi so that it works with Node 26 ([46e3fb5](https://github.com/kernel/kernel-node-sdk/commit/46e3fb57502dcf44dd4c972fc42fb09c30eab6eb))


### Chores

* **tests:** remove redundant File import ([1677dc1](https://github.com/kernel/kernel-node-sdk/commit/1677dc13811672b22ec12102bda30755fa4d1f6f))

## 0.55.0 (2026-05-15)

Full Changelog: [v0.54.0...v0.55.0](https://github.com/kernel/kernel-node-sdk/compare/v0.54.0...v0.55.0)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onkernel/sdk",
"version": "0.55.0",
"version": "0.56.0",
"description": "The official TypeScript library for the Kernel API",
"author": "Kernel <>",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -45,7 +45,7 @@
"publint": "^0.2.12",
"ts-jest": "^29.1.0",
"ts-node": "^10.5.0",
"tsc-multi": "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz",
"tsc-multi": "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.11/tsc-multi.tgz",
"tsconfig-paths": "^4.0.0",
"tslib": "^2.8.1",
"typescript": "5.8.3",
Expand Down
7 changes: 7 additions & 0 deletions src/resources/browser-pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,13 @@ export interface BrowserPoolAcquireResponse {
*/
browser_live_view_url?: string;

/**
* Custom Chrome enterprise policy overrides that were applied to this browser
* session, if any. Echoed back for verification. Keys are Chrome enterprise policy
* names.
*/
chrome_policy?: { [key: string]: unknown };

/**
* When the browser session was soft-deleted. Only present for deleted sessions.
*/
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 @@ -355,6 +355,13 @@ export interface BrowserCreateResponse {
*/
browser_live_view_url?: string;

/**
* Custom Chrome enterprise policy overrides that were applied to this browser
* session, if any. Echoed back for verification. Keys are Chrome enterprise policy
* names.
*/
chrome_policy?: { [key: string]: unknown };

/**
* When the browser session was soft-deleted. Only present for deleted sessions.
*/
Expand Down Expand Up @@ -466,6 +473,13 @@ export interface BrowserRetrieveResponse {
*/
browser_live_view_url?: string;

/**
* Custom Chrome enterprise policy overrides that were applied to this browser
* session, if any. Echoed back for verification. Keys are Chrome enterprise policy
* names.
*/
chrome_policy?: { [key: string]: unknown };

/**
* When the browser session was soft-deleted. Only present for deleted sessions.
*/
Expand Down Expand Up @@ -577,6 +591,13 @@ export interface BrowserUpdateResponse {
*/
browser_live_view_url?: string;

/**
* Custom Chrome enterprise policy overrides that were applied to this browser
* session, if any. Echoed back for verification. Keys are Chrome enterprise policy
* names.
*/
chrome_policy?: { [key: string]: unknown };

/**
* When the browser session was soft-deleted. Only present for deleted sessions.
*/
Expand Down Expand Up @@ -688,6 +709,13 @@ export interface BrowserListResponse {
*/
browser_live_view_url?: string;

/**
* Custom Chrome enterprise policy overrides that were applied to this browser
* session, if any. Echoed back for verification. Keys are Chrome enterprise policy
* names.
*/
chrome_policy?: { [key: string]: unknown };

/**
* When the browser session was soft-deleted. Only present for deleted sessions.
*/
Expand Down Expand Up @@ -778,6 +806,15 @@ export interface BrowserCurlResponse {
}

export interface BrowserCreateParams {
/**
* Custom Chrome enterprise policy overrides applied to this browser session. Keys
* are Chrome enterprise policy names; values must match their expected types.
* Blocked: kernel-managed policies (extensions, proxy, CDP/automation). Ignored
* when reusing an existing persistent session. See
* https://chromeenterprise.google/policies/
*/
chrome_policy?: { [key: string]: unknown };

/**
* List of browser extensions to load into the session. Provide each by id or name.
*/
Expand Down
7 changes: 7 additions & 0 deletions src/resources/invocations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,13 @@ export namespace InvocationListBrowsersResponse {
*/
browser_live_view_url?: string;

/**
* Custom Chrome enterprise policy overrides that were applied to this browser
* session, if any. Echoed back for verification. Keys are Chrome enterprise policy
* names.
*/
chrome_policy?: { [key: string]: unknown };

/**
* When the browser session was soft-deleted. Only present for deleted sessions.
*/
Expand Down
3 changes: 1 addition & 2 deletions src/resources/projects/projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ export class Projects extends APIResource {
limits: LimitsAPI.Limits = new LimitsAPI.Limits(this._client);

/**
* Create a new project within the authenticated organization. Requires the
* projects feature flag.
* Create a new project within the authenticated organization.
*
* @example
* ```ts
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.55.0'; // x-release-please-version
export const VERSION = '0.56.0'; // x-release-please-version
1 change: 1 addition & 0 deletions tests/api-resources/browsers/browsers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ describe('resource browsers', () => {
await expect(
client.browsers.create(
{
chrome_policy: { foo: 'bar' },
extensions: [{ id: 'id', name: 'name' }],
gpu: false,
headless: false,
Expand Down
1 change: 0 additions & 1 deletion tests/uploads.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import fs from 'fs';
import type { ResponseLike } from '@onkernel/sdk/internal/to-file';
import { toFile } from '@onkernel/sdk/core/uploads';
import { File } from 'node:buffer';

class MyClass {
name: string = 'foo';
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3192,9 +3192,9 @@ ts-node@^10.5.0:
v8-compile-cache-lib "^3.0.0"
yn "3.1.1"

"tsc-multi@https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz":
version "1.1.9"
resolved "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz#777f6f5d9e26bf0e94e5170990dd3a841d6707cd"
"tsc-multi@https://github.com/stainless-api/tsc-multi/releases/download/v1.1.11/tsc-multi.tgz":
version "1.1.11"
resolved "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.11/tsc-multi.tgz#010247051be13b55abdc98f787c017285149f4f2"
dependencies:
debug "^4.3.7"
fast-glob "^3.3.2"
Expand Down
Loading