From ec6d02f56d09920f0ec0b135fd82480f3ab65be1 Mon Sep 17 00:00:00 2001 From: "kernel-internal[bot]" <260533166+kernel-internal[bot]@users.noreply.github.com> Date: Thu, 17 Sep 2026 19:58:21 +0000 Subject: [PATCH 1/4] feat: Expose organization-wide concurrent browser capacity Stainless-Generated-From: 6a20e3d7f3cddebf49c3f569587deb1fabd29541 --- src/resources/organization/limits.ts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/resources/organization/limits.ts b/src/resources/organization/limits.ts index 98ed542a..ca9a8daa 100644 --- a/src/resources/organization/limits.ts +++ b/src/resources/organization/limits.ts @@ -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 { return this._client.get('/org/limits', options); @@ -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. From 319cd7ebfd55902a67cb621c0e80bbe695412d42 Mon Sep 17 00:00:00 2001 From: "kernel-internal[bot]" <260533166+kernel-internal[bot]@users.noreply.github.com> Date: Thu, 17 Sep 2026 21:07:35 +0000 Subject: [PATCH 2/4] feat: Preserve credential field order Stainless-Generated-From: c5b3821f6a2709e60f33d319561c17434b4c831c --- src/resources/vaults/items.ts | 33 ++++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/src/resources/vaults/items.ts b/src/resources/vaults/items.ts index 297ef418..3cfca669 100644 --- a/src/resources/vaults/items.ts +++ b/src/resources/vaults/items.ts @@ -601,6 +601,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. */ @@ -627,6 +632,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 @@ -795,7 +805,9 @@ 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; @@ -803,7 +815,10 @@ export interface CredentialVaultItemRequest { } export interface CredentialVaultItemSpec { - fields: { [key: string]: CredentialVaultFieldDefinition }; + /** + * Ordered field definitions rendered in this order by credential collection forms. + */ + fields: Array; /** * Recognizable site or service name displayed verbatim as the form title, without @@ -816,10 +831,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; /** * The site's recognizable display name, used verbatim as the user-facing form @@ -2005,7 +2026,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; From a843408e9d90e180a92a7bf86c5110784e419852 Mon Sep 17 00:00:00 2001 From: "kernel-internal[bot]" <260533166+kernel-internal[bot]@users.noreply.github.com> Date: Thu, 17 Sep 2026 21:32:35 +0000 Subject: [PATCH 3/4] feat: Accept opaque AgentCard vaulted card IDs Stainless-Generated-From: ace4769df8e782105aa21e3a01c64d385834d085 --- src/resources/vaults/items.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/resources/vaults/items.ts b/src/resources/vaults/items.ts index 3cfca669..c09b9d19 100644 --- a/src/resources/vaults/items.ts +++ b/src/resources/vaults/items.ts @@ -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; } From 5bfee176f77c40a14273efbfbeb1103f30717cfa Mon Sep 17 00:00:00 2001 From: "kernel-internal[bot]" <260533166+kernel-internal[bot]@users.noreply.github.com> Date: Thu, 17 Sep 2026 21:37:15 +0000 Subject: [PATCH 4/4] release: 0.109.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 9 +++++++++ package.json | 2 +- src/version.ts | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index d0950c80..6c3e52f1 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.108.0" + ".": "0.109.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index afe7b45f..64bfab17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/package.json b/package.json index 188a9a81..06c96d20 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/version.ts b/src/version.ts index dd27ba7d..d80ed29e 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.108.0'; // x-release-please-version +export const VERSION = '0.109.0'; // x-release-please-version