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.52.0"
".": "0.53.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%2Fkernel-4ce09d1a7546ab36f578cb27d819187eeb90c580b11834c7ff7a375aa22f9a20.yml
openapi_spec_hash: 1043ab2d699f6c828680c3352cd4cece
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-b51c72a040c8dfea9c0693de6631feabfffe42922d5feb60b4ac0ee5c83bb8f4.yml
openapi_spec_hash: 8b671cfe4debe8d9ad7c39ba5b0eaf6d
config_hash: 08d55086449943a8fec212b870061a3f
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 0.53.0 (2026-05-05)

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

### Features

* Add 'switch' MFA option type for generic method-switcher links ([399a3d2](https://github.com/kernel/kernel-node-sdk/commit/399a3d2a2e80dc0f6330d8cd5b64b28c8c859839))
* **api:** server-side search on GET /projects ([289a15f](https://github.com/kernel/kernel-node-sdk/commit/289a15f7c4f4ba72b9b6ab72d63408ba146de0a3))
* Scope name uniqueness to project for profiles, session_pools, extensions, credentials ([d1d7378](https://github.com/kernel/kernel-node-sdk/commit/d1d7378d9102dd4571f0b7be6675c2a98d6faf59))

## 0.52.0 (2026-04-29)

Full Changelog: [v0.51.0...v0.52.0](https://github.com/kernel/kernel-node-sdk/compare/v0.51.0...v0.52.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.

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.52.0",
"version": "0.53.0",
"description": "The official TypeScript library for the Kernel API",
"author": "Kernel <>",
"types": "dist/index.d.ts",
Expand Down
16 changes: 10 additions & 6 deletions src/resources/auth/connections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ export namespace ManagedAuth {
* If this field is associated with an MFA option, the type of that option (e.g.,
* password field linked to "Enter password" option)
*/
linked_mfa_type?: 'sms' | 'call' | 'email' | 'totp' | 'push' | 'password' | null;
linked_mfa_type?: 'sms' | 'call' | 'email' | 'totp' | 'push' | 'password' | 'switch' | null;

/**
* Field placeholder
Expand All @@ -487,9 +487,11 @@ export namespace ManagedAuth {
label: string;

/**
* The MFA delivery method type (includes password for auth method selection pages)
* The MFA delivery method type. Includes 'password' for auth method selection
* pages and 'switch' for generic method-switcher links like "Use another method"
* that do not name a specific method.
*/
type: 'sms' | 'call' | 'email' | 'totp' | 'push' | 'password';
type: 'sms' | 'call' | 'email' | 'totp' | 'push' | 'password' | 'switch';

/**
* Additional instructions from the site
Expand Down Expand Up @@ -927,7 +929,7 @@ export namespace ConnectionFollowResponse {
* If this field is associated with an MFA option, the type of that option (e.g.,
* password field linked to "Enter password" option)
*/
linked_mfa_type?: 'sms' | 'call' | 'email' | 'totp' | 'push' | 'password' | null;
linked_mfa_type?: 'sms' | 'call' | 'email' | 'totp' | 'push' | 'password' | 'switch' | null;

/**
* Field placeholder
Expand All @@ -950,9 +952,11 @@ export namespace ConnectionFollowResponse {
label: string;

/**
* The MFA delivery method type (includes password for auth method selection pages)
* The MFA delivery method type. Includes 'password' for auth method selection
* pages and 'switch' for generic method-switcher links like "Use another method"
* that do not name a specific method.
*/
type: 'sms' | 'call' | 'email' | 'totp' | 'push' | 'password';
type: 'sms' | 'call' | 'email' | 'totp' | 'push' | 'password' | 'switch';

/**
* Additional instructions from the site
Expand Down
6 changes: 3 additions & 3 deletions src/resources/browser-pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export namespace BrowserPool {
kiosk_mode?: boolean;

/**
* Optional name for the browser pool. Must be unique within the organization.
* Optional name for the browser pool. Must be unique within the project.
*/
name?: string;

Expand Down Expand Up @@ -413,7 +413,7 @@ export interface BrowserPoolCreateParams {
kiosk_mode?: boolean;

/**
* Optional name for the browser pool. Must be unique within the organization.
* Optional name for the browser pool. Must be unique within the project.
*/
name?: string;

Expand Down Expand Up @@ -503,7 +503,7 @@ export interface BrowserPoolUpdateParams {
kiosk_mode?: boolean;

/**
* Optional name for the browser pool. Must be unique within the organization.
* Optional name for the browser pool. Must be unique within the project.
*/
name?: string;

Expand Down
6 changes: 3 additions & 3 deletions src/resources/credentials.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export interface CreateCredentialRequest {
domain: string;

/**
* Unique name for the credential within the organization
* Unique name for the credential within the project
*/
name: string;

Expand Down Expand Up @@ -166,7 +166,7 @@ export interface Credential {
domain: string;

/**
* Unique name for the credential within the organization
* Unique name for the credential within the project
*/
name: string;

Expand Down Expand Up @@ -252,7 +252,7 @@ export interface CredentialCreateParams {
domain: string;

/**
* Unique name for the credential within the organization
* Unique name for the credential within the project
*/
name: string;

Expand Down
6 changes: 3 additions & 3 deletions src/resources/extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export namespace ExtensionListResponse {

/**
* Optional, easier-to-reference name for the extension. Must be unique within the
* organization.
* project.
*/
name?: string | null;
}
Expand Down Expand Up @@ -164,7 +164,7 @@ export interface ExtensionUploadResponse {

/**
* Optional, easier-to-reference name for the extension. Must be unique within the
* organization.
* project.
*/
name?: string | null;
}
Expand All @@ -188,7 +188,7 @@ export interface ExtensionUploadParams {
file: Uploadable;

/**
* Optional unique name within the organization to reference this extension.
* Optional unique name within the project to reference this extension.
*/
name?: string;
}
Expand Down
2 changes: 1 addition & 1 deletion src/resources/profiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class Profiles extends APIResource {

export interface ProfileCreateParams {
/**
* Optional name of the profile. Must be unique within the organization.
* Optional name of the profile. Must be unique within the project.
*/
name?: string;
}
Expand Down
7 changes: 6 additions & 1 deletion src/resources/projects/projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,12 @@ export interface ProjectUpdateParams {
status?: 'active' | 'archived';
}

export interface ProjectListParams extends OffsetPaginationParams {}
export interface ProjectListParams extends OffsetPaginationParams {
/**
* Case-insensitive substring match against project name
*/
query?: string;
}

Projects.Limits = Limits;

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.52.0'; // x-release-please-version
export const VERSION = '0.53.0'; // x-release-please-version
9 changes: 8 additions & 1 deletion tests/api-resources/projects/projects.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,14 @@ describe('resource projects', () => {
test.skip('list: request options and params are passed correctly', async () => {
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
await expect(
client.projects.list({ limit: 100, offset: 0 }, { path: '/_stainless_unknown_path' }),
client.projects.list(
{
limit: 100,
offset: 0,
query: 'query',
},
{ path: '/_stainless_unknown_path' },
),
).rejects.toThrow(Kernel.NotFoundError);
});

Expand Down
Loading