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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '20'
node-version: '24'

- name: Bootstrap
run: ./scripts/bootstrap
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '20'
node-version: '24'

- name: Bootstrap
run: ./scripts/bootstrap
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '20'
node-version: '24'

- name: Bootstrap
run: ./scripts/bootstrap
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
with:
node-version: '20'
node-version: '24'

- name: Install dependencies
run: |
Expand Down
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.76.0"
".": "0.78.0"
}
8 changes: 4 additions & 4 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-ba32039d3975da7aa6d28e5184f0a44c9fbfe36ab7dbc71985d14e2ecc0867b9.yml
openapi_spec_hash: a9f32fc90c2add2ae85af828c298e35b
config_hash: 06186eb40e0058a2a87ac251fc07415d
configured_endpoints: 127
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-1413d61d06059008b4c1e204c783d8b2e7dca9af23f6e3b6d2552493ea2d9853.yml
openapi_spec_hash: 80aca500caddd300cb03a6daf568fddb
config_hash: 77ee715aa17061166f9a02b264a21b8d
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# Changelog

## 0.78.0 (2026-07-13)

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

### Features

* Add exact-match name filter to list endpoints ([dd94a68](https://github.com/kernel/kernel-node-sdk/commit/dd94a6824da367c28f29a41a50ff220a7bbd0015))
* Add name-only rename for profiles and proxies ([2fe4124](https://github.com/kernel/kernel-node-sdk/commit/2fe41244b7e184914c6858a9533132d65b4380ba))
* Auto-default refresh_on_profile_update when browser pool profile changes ([adaf037](https://github.com/kernel/kernel-node-sdk/commit/adaf0372de1e2eaf1450a93d510c51f9b843957c))
* Document name uniqueness and query match semantics ([670f7c3](https://github.com/kernel/kernel-node-sdk/commit/670f7c32c4c63064198a53bab24117354a26832d))
* Expose telemetry exception message in API/SDK ([ddf0a65](https://github.com/kernel/kernel-node-sdk/commit/ddf0a65dc7fb1a64e299173462266a09af0d2605))
* Make the browser pool OpenAPI contract truthful ([cfc4539](https://github.com/kernel/kernel-node-sdk/commit/cfc45396ab79ee020ffd927ea2cd40291b5496bb))
* Persist and echo deployment source identity ([f8605df](https://github.com/kernel/kernel-node-sdk/commit/f8605df3e781a05a2beddb933273b0eb4fb0d24b))
* Support multiple audit log method exclusions ([a3b8713](https://github.com/kernel/kernel-node-sdk/commit/a3b871374783991780c24b16fee40945c4e383fd))


### Bug Fixes

* **ci:** bump @arethetypeswrong/cli to ^0.18.0 and run CI workflows on Node 24 ([6fca519](https://github.com/kernel/kernel-node-sdk/commit/6fca5191da0d3c4512a74e3246df0591459b6d29))


### Documentation

* **openapi:** describe unified concurrency limit, deprecate max_pooled_sessions (CUS-275) ([37d3e27](https://github.com/kernel/kernel-node-sdk/commit/37d3e277f98b068f23c5fc85e7b26269c254827c))
Comment thread
cursor[bot] marked this conversation as resolved.

## 0.76.0 (2026-07-09)

Full Changelog: [v0.75.0...v0.76.0](https://github.com/kernel/kernel-node-sdk/compare/v0.75.0...v0.76.0)
Expand Down
3 changes: 3 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ Methods:

- <code title="post /profiles">client.profiles.<a href="./src/resources/profiles.ts">create</a>({ ...params }) -> Profile</code>
- <code title="get /profiles/{id_or_name}">client.profiles.<a href="./src/resources/profiles.ts">retrieve</a>(idOrName) -> Profile</code>
- <code title="patch /profiles/{id_or_name}">client.profiles.<a href="./src/resources/profiles.ts">update</a>(idOrName, { ...params }) -> Profile</code>
- <code title="get /profiles">client.profiles.<a href="./src/resources/profiles.ts">list</a>({ ...params }) -> ProfilesOffsetPagination</code>
- <code title="delete /profiles/{id_or_name}">client.profiles.<a href="./src/resources/profiles.ts">delete</a>(idOrName) -> void</code>
- <code title="get /profiles/{id_or_name}/download">client.profiles.<a href="./src/resources/profiles.ts">download</a>(idOrName) -> Response</code>
Expand Down Expand Up @@ -289,13 +290,15 @@ Types:

- <code><a href="./src/resources/proxies.ts">ProxyCreateResponse</a></code>
- <code><a href="./src/resources/proxies.ts">ProxyRetrieveResponse</a></code>
- <code><a href="./src/resources/proxies.ts">ProxyUpdateResponse</a></code>
- <code><a href="./src/resources/proxies.ts">ProxyListResponse</a></code>
- <code><a href="./src/resources/proxies.ts">ProxyCheckResponse</a></code>

Methods:

- <code title="post /proxies">client.proxies.<a href="./src/resources/proxies.ts">create</a>({ ...params }) -> ProxyCreateResponse</code>
- <code title="get /proxies/{id}">client.proxies.<a href="./src/resources/proxies.ts">retrieve</a>(id) -> ProxyRetrieveResponse</code>
- <code title="patch /proxies/{id}">client.proxies.<a href="./src/resources/proxies.ts">update</a>(id, { ...params }) -> ProxyUpdateResponse</code>
- <code title="get /proxies">client.proxies.<a href="./src/resources/proxies.ts">list</a>({ ...params }) -> ProxyListResponsesOffsetPagination</code>
- <code title="delete /proxies/{id}">client.proxies.<a href="./src/resources/proxies.ts">delete</a>(id) -> void</code>
- <code title="post /proxies/{id}/check">client.proxies.<a href="./src/resources/proxies.ts">check</a>(id, { ...params }) -> ProxyCheckResponse</code>
Expand Down
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.76.0",
"version": "0.78.0",
"description": "The official TypeScript library for the Kernel API",
"author": "Kernel <>",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -28,7 +28,7 @@
"fix": "./scripts/format"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.0",
"@arethetypeswrong/cli": "^0.18.0",
"@swc/core": "^1.3.102",
"@swc/jest": "^0.2.29",
"@types/busboy": "^1.5.4",
Expand Down
7 changes: 6 additions & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ import {
InvocationUpdateResponse,
Invocations,
} from './resources/invocations';
import { ProfileCreateParams, ProfileListParams, Profiles } from './resources/profiles';
import { ProfileCreateParams, ProfileListParams, ProfileUpdateParams, Profiles } from './resources/profiles';
import {
Proxies,
ProxyCheckParams,
Expand All @@ -134,6 +134,8 @@ import {
ProxyListResponse,
ProxyListResponsesOffsetPagination,
ProxyRetrieveResponse,
ProxyUpdateParams,
ProxyUpdateResponse,
} from './resources/proxies';
import { Auth } from './resources/auth/auth';
import {
Expand Down Expand Up @@ -1122,6 +1124,7 @@ export declare namespace Kernel {
export {
Profiles as Profiles,
type ProfileCreateParams as ProfileCreateParams,
type ProfileUpdateParams as ProfileUpdateParams,
type ProfileListParams as ProfileListParams,
};

Expand All @@ -1131,10 +1134,12 @@ export declare namespace Kernel {
Proxies as Proxies,
type ProxyCreateResponse as ProxyCreateResponse,
type ProxyRetrieveResponse as ProxyRetrieveResponse,
type ProxyUpdateResponse as ProxyUpdateResponse,
type ProxyListResponse as ProxyListResponse,
type ProxyCheckResponse as ProxyCheckResponse,
type ProxyListResponsesOffsetPagination as ProxyListResponsesOffsetPagination,
type ProxyCreateParams as ProxyCreateParams,
type ProxyUpdateParams as ProxyUpdateParams,
type ProxyListParams as ProxyListParams,
type ProxyCheckParams as ProxyCheckParams,
};
Expand Down
13 changes: 11 additions & 2 deletions src/resources/api-keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ export interface APIKey {
masked_key: string;

/**
* API key name
* Label for the API key. API keys are not addressable by name; use the ID or key
* identifier for stable references.
*/
name: string;

Expand Down Expand Up @@ -188,7 +189,7 @@ export interface CreatedAPIKey extends APIKey {

export interface APIKeyCreateParams {
/**
* API key name (1-255 characters)
* Label for the API key (1-255 characters). API keys are not addressable by name.
*/
name: string;

Expand Down Expand Up @@ -225,6 +226,14 @@ export interface APIKeyListParams extends OffsetPaginationParams {
*/
include_deleted?: boolean;

/**
* Exact-match filter on API key name using the database collation. In production,
* matching is case- and accent-insensitive. Names are not required to be unique,
* so multiple keys may match. When status=all or include_deleted=true is set,
* soft-deleted keys with the same name may also match.
*/
name?: string;

/**
* Case-insensitive substring match against API key name, creator, and project. API
* key identifiers and masked keys match by exact value or prefix.
Expand Down
4 changes: 2 additions & 2 deletions src/resources/audit-logs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export interface AuditLogListParams extends PageTokenPaginationParams {
/**
* Filter out results by HTTP method.
*/
exclude_method?: string;
exclude_method?: Array<string>;

/**
* Filter by HTTP method.
Expand Down Expand Up @@ -166,7 +166,7 @@ export interface AuditLogExportChunkParams {
/**
* Filter out results by HTTP method.
*/
exclude_method?: string;
exclude_method?: Array<string>;

/**
* Encoding for the returned chunk.
Expand Down
40 changes: 30 additions & 10 deletions src/resources/auth/connections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,9 @@ export interface ManagedAuthCreateRequest {

/**
* Proxy selection. Provide either id or name. The proxy must be in the same
* project as the resource referencing it.
* project as the resource referencing it. When selecting by name, the name must
* match exactly one active proxy in the project. Ambiguous names return a 400; use
* id for stable references.
*/
proxy?: ManagedAuthCreateRequest.Proxy;

Expand Down Expand Up @@ -778,7 +780,9 @@ export namespace ManagedAuthCreateRequest {

/**
* Proxy selection. Provide either id or name. The proxy must be in the same
* project as the resource referencing it.
* project as the resource referencing it. When selecting by name, the name must
* match exactly one active proxy in the project. Ambiguous names return a 400; use
* id for stable references.
*/
export interface Proxy {
/**
Expand Down Expand Up @@ -917,7 +921,9 @@ export interface ManagedAuthUpdateRequest {

/**
* Proxy selection. Provide either id or name. The proxy must be in the same
* project as the resource referencing it.
* project as the resource referencing it. When selecting by name, the name must
* match exactly one active proxy in the project. Ambiguous names return a 400; use
* id for stable references.
*/
proxy?: ManagedAuthUpdateRequest.Proxy;

Expand Down Expand Up @@ -964,7 +970,9 @@ export namespace ManagedAuthUpdateRequest {

/**
* Proxy selection. Provide either id or name. The proxy must be in the same
* project as the resource referencing it.
* project as the resource referencing it. When selecting by name, the name must
* match exactly one active proxy in the project. Ambiguous names return a 400; use
* id for stable references.
*/
export interface Proxy {
/**
Expand Down Expand Up @@ -1320,7 +1328,9 @@ export interface ConnectionCreateParams {

/**
* Proxy selection. Provide either id or name. The proxy must be in the same
* project as the resource referencing it.
* project as the resource referencing it. When selecting by name, the name must
* match exactly one active proxy in the project. Ambiguous names return a 400; use
* id for stable references.
*/
proxy?: ConnectionCreateParams.Proxy;

Expand Down Expand Up @@ -1369,7 +1379,9 @@ export namespace ConnectionCreateParams {

/**
* Proxy selection. Provide either id or name. The proxy must be in the same
* project as the resource referencing it.
* project as the resource referencing it. When selecting by name, the name must
* match exactly one active proxy in the project. Ambiguous names return a 400; use
* id for stable references.
*/
export interface Proxy {
/**
Expand Down Expand Up @@ -1430,7 +1442,9 @@ export interface ConnectionUpdateParams {

/**
* Proxy selection. Provide either id or name. The proxy must be in the same
* project as the resource referencing it.
* project as the resource referencing it. When selecting by name, the name must
* match exactly one active proxy in the project. Ambiguous names return a 400; use
* id for stable references.
*/
proxy?: ConnectionUpdateParams.Proxy;

Expand Down Expand Up @@ -1477,7 +1491,9 @@ export namespace ConnectionUpdateParams {

/**
* Proxy selection. Provide either id or name. The proxy must be in the same
* project as the resource referencing it.
* project as the resource referencing it. When selecting by name, the name must
* match exactly one active proxy in the project. Ambiguous names return a 400; use
* id for stable references.
*/
export interface Proxy {
/**
Expand Down Expand Up @@ -1512,7 +1528,9 @@ export interface ConnectionListParams extends OffsetPaginationParams {
export interface ConnectionLoginParams {
/**
* Proxy selection. Provide either id or name. The proxy must be in the same
* project as the resource referencing it.
* project as the resource referencing it. When selecting by name, the name must
* match exactly one active proxy in the project. Ambiguous names return a 400; use
* id for stable references.
*/
proxy?: ConnectionLoginParams.Proxy;

Expand All @@ -1526,7 +1544,9 @@ export interface ConnectionLoginParams {
export namespace ConnectionLoginParams {
/**
* Proxy selection. Provide either id or name. The proxy must be in the same
* project as the resource referencing it.
* project as the resource referencing it. When selecting by name, the name must
* match exactly one active proxy in the project. Ambiguous names return a 400; use
* id for stable references.
*/
export interface Proxy {
/**
Expand Down
Loading
Loading