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
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.108.0"
".": "0.109.0"
}
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## [0.109.0](https://github.com/kernel/kernel-node-sdk/compare/v0.108.0...v0.109.0) (2026-09-17)


### Features

* Accept opaque AgentCard vaulted card IDs ([a843408](https://github.com/kernel/kernel-node-sdk/commit/a843408e9d90e180a92a7bf86c5110784e419852))
* Expose organization-wide concurrent browser capacity ([ec6d02f](https://github.com/kernel/kernel-node-sdk/commit/ec6d02f56d09920f0ec0b135fd82480f3ab65be1))
* Preserve credential field order ([319cd7e](https://github.com/kernel/kernel-node-sdk/commit/319cd7ebfd55902a67cb621c0e80bbe695412d42))

## [0.108.0](https://github.com/kernel/kernel-node-sdk/compare/v0.107.0...v0.108.0) (2026-09-17)


Expand Down
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.108.0",
"version": "0.109.0",
"description": "The official TypeScript library for the Kernel API",
"author": "Kernel <>",
"types": "dist/index.d.ts",
Expand Down
16 changes: 15 additions & 1 deletion src/resources/organization/limits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import { RequestOptions } from '../../internal/request-options';
*/
export class Limits extends APIResource {
/**
* Get the organization's effective limits and managed auth and vault usage.
* Get the organization's effective limits and current concurrency, managed auth,
* and vault usage.
*/
retrieve(options?: RequestOptions): APIPromise<OrgLimits> {
return this._client.get('/org/limits', options);
Expand All @@ -33,6 +34,19 @@ export interface OrgLimits {
*/
auth_connections_used: number;

/**
* Number of concurrent browser slots currently available to the organization. This
* is the effective concurrency limit minus active on-demand sessions and browser
* pool reservations, floored at zero. Null when usage cannot be read.
*/
concurrent_sessions_available: number | null;

/**
* Current organization-wide concurrent browser usage, including active on-demand
* sessions and browser pool reservations. Null when usage cannot be read.
*/
concurrent_sessions_used: number | null;

/**
* Maximum managed auth connections the organization's plan allows. Null means
* unlimited. Counted org-wide, so it cannot be multiplied across projects.
Expand Down
38 changes: 31 additions & 7 deletions src/resources/vaults/items.ts
Original file line number Diff line number Diff line change
Expand Up @@ -429,8 +429,9 @@ export namespace CardVaultItemSpec {
wallet: string;

/**
* AgentCard vaulted card to pay with. Omitted, the cardholder picks on the
* approval screen.
* Opaque card ID returned by AgentCard for a card in the connected wallet. Pass it
* through unchanged without assuming a prefix or format. Omitted, the cardholder
* picks on the approval screen.
*/
card_id?: string;
}
Expand Down Expand Up @@ -601,6 +602,11 @@ export interface CredentialCollectionAction {
}

export interface CredentialVaultFieldDefinition {
/**
* Stable field name used to key values, updates, and browser fills.
*/
name: string;

/**
* Whether a nonempty value is required for readiness and form submission.
*/
Expand All @@ -627,6 +633,11 @@ export interface CredentialVaultFieldDefinition {
}

export interface CredentialVaultFieldInput {
/**
* Unique stable field name used to key values, updates, and browser fills.
*/
name: string;

/**
* Text, email, and password have form inputs; totp does not and is omitted from
* both Kernel-hosted and customer React forms. Password and totp must be
Expand Down Expand Up @@ -795,15 +806,20 @@ export interface CredentialVaultItemRequest {
/**
* Credential fields are for login and other non-payment credentials. Do not store,
* collect, or fill credit card data in credential items. Use wallet and card item
* types for credit cards and payment checkout instead.
* types for credit cards and payment checkout instead. Field order is preserved in
* the user-facing collection form, so list fields in the same top-to-bottom order
* as the website.
*/
spec: CredentialVaultItemSpecInput;

type: 'credential';
}

export interface CredentialVaultItemSpec {
fields: { [key: string]: CredentialVaultFieldDefinition };
/**
* Ordered field definitions rendered in this order by credential collection forms.
*/
fields: Array<CredentialVaultFieldDefinition>;

/**
* Recognizable site or service name displayed verbatim as the form title, without
Expand All @@ -816,10 +832,16 @@ export interface CredentialVaultItemSpec {
/**
* Credential fields are for login and other non-payment credentials. Do not store,
* collect, or fill credit card data in credential items. Use wallet and card item
* types for credit cards and payment checkout instead.
* types for credit cards and payment checkout instead. Field order is preserved in
* the user-facing collection form, so list fields in the same top-to-bottom order
* as the website.
*/
export interface CredentialVaultItemSpecInput {
fields: { [key: string]: CredentialVaultFieldInput };
/**
* Ordered field definitions. Use the website's top-to-bottom field order; the
* collection form renders this order unchanged.
*/
fields: Array<CredentialVaultFieldInput>;

/**
* The site's recognizable display name, used verbatim as the user-facing form
Expand Down Expand Up @@ -2005,7 +2027,9 @@ export declare namespace ItemUpsertParams {
/**
* Body param: Credential fields are for login and other non-payment credentials.
* Do not store, collect, or fill credit card data in credential items. Use wallet
* and card item types for credit cards and payment checkout instead.
* and card item types for credit cards and payment checkout instead. Field order
* is preserved in the user-facing collection form, so list fields in the same
* top-to-bottom order as the website.
*/
spec: CredentialVaultItemSpecInput;

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.108.0'; // x-release-please-version
export const VERSION = '0.109.0'; // x-release-please-version
Loading