Skip to content

Commit 1518369

Browse files
Merge branch 'main' into security/vuln-remediation
2 parents 006f144 + 61f4d3a commit 1518369

14 files changed

Lines changed: 186 additions & 10 deletions

File tree

.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.65.0"
2+
".": "0.66.0"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 117
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-08c2d6a44f4cdcbfb6803a3043fdc1a3e33911dec4652cb3a870f01bc584421f.yml
3-
openapi_spec_hash: c816491451347eb93b793cddf6a78648
4-
config_hash: 9e45c27425021d49b5391f5cc980b046
1+
configured_endpoints: 119
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-e66c3f8aedccc39104386a3ec619f3fdcef7e8b00d9e5aa82e414a1b387351c2.yml
3+
openapi_spec_hash: afeddf18ebc3da1521b3e6f6739411fa
4+
config_hash: 80eef1b592110714ea55cd26c470fabb

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.66.0 (2026-06-10)
4+
5+
Full Changelog: [v0.65.0...v0.66.0](https://github.com/kernel/kernel-node-sdk/compare/v0.65.0...v0.66.0)
6+
7+
### Features
8+
9+
* Add org-level default per-project concurrency cap ([b5aa208](https://github.com/kernel/kernel-node-sdk/commit/b5aa208786bf91940ba8e9efec4eaa34c2e9f547))
10+
* Support updating browser session name and tags via PATCH ([608cb36](https://github.com/kernel/kernel-node-sdk/commit/608cb360a226f5968f253ea3ab928231f649c12e))
11+
312
## 0.65.0 (2026-06-08)
413

514
Full Changelog: [v0.64.0...v0.65.0](https://github.com/kernel/kernel-node-sdk/compare/v0.64.0...v0.65.0)

api.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,20 @@ Methods:
375375
- <code title="get /org/projects/{id}/limits">client.projects.limits.<a href="./src/resources/projects/limits.ts">retrieve</a>(id) -> ProjectLimits</code>
376376
- <code title="patch /org/projects/{id}/limits">client.projects.limits.<a href="./src/resources/projects/limits.ts">update</a>(id, { ...params }) -> ProjectLimits</code>
377377

378+
# Organization
379+
380+
## Limits
381+
382+
Types:
383+
384+
- <code><a href="./src/resources/organization/limits.ts">OrgLimits</a></code>
385+
- <code><a href="./src/resources/organization/limits.ts">UpdateOrgLimitsRequest</a></code>
386+
387+
Methods:
388+
389+
- <code title="get /org/limits">client.organization.limits.<a href="./src/resources/organization/limits.ts">retrieve</a>() -> OrgLimits</code>
390+
- <code title="patch /org/limits">client.organization.limits.<a href="./src/resources/organization/limits.ts">update</a>({ ...params }) -> OrgLimits</code>
391+
378392
# APIKeys
379393

380394
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.65.0",
3+
"version": "0.66.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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ import {
139139
Profile,
140140
Tags,
141141
} from './resources/browsers/browsers';
142+
import { Organization } from './resources/organization/organization';
142143
import {
143144
CreateProjectRequest,
144145
Project,
@@ -983,6 +984,7 @@ export class Kernel {
983984
* Create and manage projects for resource isolation within an organization.
984985
*/
985986
projects: API.Projects = new API.Projects(this);
987+
organization: API.Organization = new API.Organization(this);
986988
/**
987989
* Create and manage API keys for organization and project-scoped access.
988990
*/
@@ -1004,6 +1006,7 @@ Kernel.Extensions = Extensions;
10041006
Kernel.BrowserPools = BrowserPools;
10051007
Kernel.Credentials = Credentials;
10061008
Kernel.Projects = Projects;
1009+
Kernel.Organization = Organization;
10071010
Kernel.APIKeys = APIKeys;
10081011
Kernel.CredentialProviders = CredentialProviders;
10091012

@@ -1138,6 +1141,8 @@ export declare namespace Kernel {
11381141
type ProjectListParams as ProjectListParams,
11391142
};
11401143

1144+
export { Organization as Organization };
1145+
11411146
export {
11421147
APIKeys as APIKeys,
11431148
type APIKey as APIKey,

src/resources/browsers/browsers.ts

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -928,8 +928,8 @@ export interface BrowserCreateParams {
928928

929929
/**
930930
* Optional human-readable name for the browser session, used to find it later in
931-
* the dashboard. Must be unique among active sessions within the project. Set at
932-
* creation time only.
931+
* the dashboard. Must be unique among active sessions within the project. Can be
932+
* changed later via PATCH /browsers/{id_or_name}.
933933
*/
934934
name?: string;
935935

@@ -961,7 +961,8 @@ export interface BrowserCreateParams {
961961

962962
/**
963963
* Optional user-defined key-value tags for the browser session, used to find and
964-
* group sessions later. Set at creation time only. Up to 50 pairs.
964+
* group sessions later. Can be changed later via PATCH /browsers/{id_or_name}. Up
965+
* to 50 pairs.
965966
*/
966967
tags?: Tags;
967968

@@ -1041,6 +1042,13 @@ export interface BrowserUpdateParams {
10411042
*/
10421043
disable_default_proxy?: boolean;
10431044

1045+
/**
1046+
* Human-readable name for the browser session. Omit to leave unchanged, set to an
1047+
* empty string to clear the name. When set, must be unique among active sessions
1048+
* within the project.
1049+
*/
1050+
name?: string | null;
1051+
10441052
/**
10451053
* Profile to load into the browser session. Only allowed if the session does not
10461054
* already have a profile loaded.
@@ -1053,6 +1061,13 @@ export interface BrowserUpdateParams {
10531061
*/
10541062
proxy_id?: string | null;
10551063

1064+
/**
1065+
* User-defined key-value tags for the browser session. Omit to leave unchanged.
1066+
* Provide a map to replace the entire tag set (full replace, not a merge). Set to
1067+
* an empty object ({}) to clear all tags. Up to 50 pairs.
1068+
*/
1069+
tags?: Tags | null;
1070+
10561071
/**
10571072
* Telemetry configuration. Omit, set to null, or set to an empty object ({}) to
10581073
* leave the existing configuration unchanged. Set enabled to true to enable

src/resources/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ export {
109109
type InvocationFollowParams,
110110
type InvocationListResponsesOffsetPagination,
111111
} from './invocations';
112+
export { Organization } from './organization/organization';
112113
export { Profiles, type ProfileCreateParams, type ProfileListParams } from './profiles';
113114
export {
114115
Projects,

src/resources/organization.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2+
3+
export * from './organization/index';
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2+
3+
export { Limits, type OrgLimits, type UpdateOrgLimitsRequest, type LimitUpdateParams } from './limits';
4+
export { Organization } from './organization';

0 commit comments

Comments
 (0)