From f2ae62824cf4d657237ff1842835ac51450063cc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 9 Jul 2026 16:07:14 +0000 Subject: [PATCH 1/4] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index f8ffb2d..639bc20 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 125 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-f0486d0b8e34ddf8ba34e36ff97856cf973e0797e021ff621e04e4840970966e.yml -openapi_spec_hash: 12a71ce5ac80fc65f6a8779f0ca29223 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-8af2d28c8540273b1b413f49b8f9bcaa5df25fa2332d187d2693ec01502a2ac2.yml +openapi_spec_hash: ee71b9231754b4682377a514d1a2c249 config_hash: 06186eb40e0058a2a87ac251fc07415d From e0ac5077b0114f4ed5dac88d405de15bd3459dde Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 9 Jul 2026 16:52:29 +0000 Subject: [PATCH 2/4] feat: Layer telemetry request config onto the default set --- .stats.yml | 4 +-- src/resources/browsers/browsers.ts | 50 ++++++++++++++++++++--------- src/resources/browsers/telemetry.ts | 16 ++++----- 3 files changed, 44 insertions(+), 26 deletions(-) diff --git a/.stats.yml b/.stats.yml index 639bc20..adc4cc2 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 125 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-8af2d28c8540273b1b413f49b8f9bcaa5df25fa2332d187d2693ec01502a2ac2.yml -openapi_spec_hash: ee71b9231754b4682377a514d1a2c249 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-61dab8d0d01c2838febaf4319114ae35aa169a813a102e93af6598ca0d445da2.yml +openapi_spec_hash: c9fbe809670384dc5141dccb60e45672 config_hash: 06186eb40e0058a2a87ac251fc07415d diff --git a/src/resources/browsers/browsers.ts b/src/resources/browsers/browsers.ts index 6ae0ca8..3644b97 100644 --- a/src/resources/browsers/browsers.ts +++ b/src/resources/browsers/browsers.ts @@ -1014,18 +1014,27 @@ export namespace BrowserCreateParams { */ export interface Telemetry { /** - * Per-category capture flags. Selection is opt-in: only the categories set to - * enabled=true are captured; anything omitted is off. If enabled is true and - * browser is omitted or empty, the default category set is used. A browser config - * that enables nothing stops capture on update and starts no capture on create. + * Per-category capture flags. The operational categories (control, connection, + * system, captcha) are captured whenever telemetry is enabled; set one to + * enabled=false to opt out. The CDP categories (console, network, page, + * interaction) and screenshot are off by default; set enabled=true to opt in. On + * create, provided categories layer onto the default set. On update, provided + * categories merge onto the session's current config; when no telemetry is active + * this falls back to the default set (matching create). If browser is omitted or + * empty, the default set is used. A browser config that disables every category + * stops capture on update and starts no capture on create. */ browser?: TelemetryAPI.BrowserTelemetryCategoriesConfig; /** - * Request shortcut for browser telemetry capture. True enables capture using the - * default category set unless browser category settings are provided. False stops - * capture on update and starts no capture on create. enabled=false cannot be - * combined with browser category settings. + * Request shortcut for browser telemetry capture. True enables capture; with no + * browser category settings it captures the default set (control, connection, + * system, captcha), and any browser category settings are layered onto that + * default set. On update, enabled=true resolves the config fresh from the default + * set plus any provided categories, replacing the session's current selection + * rather than merging onto it; omit enabled to merge categories onto the current + * selection instead. False stops capture on update and starts no capture on + * create. enabled=false cannot be combined with browser category settings. */ enabled?: boolean; } @@ -1096,18 +1105,27 @@ export namespace BrowserUpdateParams { */ export interface Telemetry { /** - * Per-category capture flags. Selection is opt-in: only the categories set to - * enabled=true are captured; anything omitted is off. If enabled is true and - * browser is omitted or empty, the default category set is used. A browser config - * that enables nothing stops capture on update and starts no capture on create. + * Per-category capture flags. The operational categories (control, connection, + * system, captcha) are captured whenever telemetry is enabled; set one to + * enabled=false to opt out. The CDP categories (console, network, page, + * interaction) and screenshot are off by default; set enabled=true to opt in. On + * create, provided categories layer onto the default set. On update, provided + * categories merge onto the session's current config; when no telemetry is active + * this falls back to the default set (matching create). If browser is omitted or + * empty, the default set is used. A browser config that disables every category + * stops capture on update and starts no capture on create. */ browser?: TelemetryAPI.BrowserTelemetryCategoriesConfig; /** - * Request shortcut for browser telemetry capture. True enables capture using the - * default category set unless browser category settings are provided. False stops - * capture on update and starts no capture on create. enabled=false cannot be - * combined with browser category settings. + * Request shortcut for browser telemetry capture. True enables capture; with no + * browser category settings it captures the default set (control, connection, + * system, captcha), and any browser category settings are layered onto that + * default set. On update, enabled=true resolves the config fresh from the default + * set plus any provided categories, replacing the session's current selection + * rather than merging onto it; omit enabled to merge categories onto the current + * selection instead. False stops capture on update and starts no capture on + * create. enabled=false cannot be combined with browser category settings. */ enabled?: boolean; } diff --git a/src/resources/browsers/telemetry.ts b/src/resources/browsers/telemetry.ts index dcc2894..c11affc 100644 --- a/src/resources/browsers/telemetry.ts +++ b/src/resources/browsers/telemetry.ts @@ -1879,12 +1879,11 @@ export namespace BrowserSystemOomKillEvent { } /** - * Per-category telemetry capture settings. Selection is opt-in: set a category to - * enabled=true to capture it; anything omitted is off. The default set (used by - * enabled=true with no per-category settings) is the lightweight operational - * signals: control, connection, system, captcha. The CDP categories (console, - * network, page, interaction) and screenshot are off by default and must be opted - * into. + * Per-category telemetry capture settings layered onto the default set. The + * operational signals (control, connection, system, captcha) are on by default and + * are opt-out: set one to enabled=false to stop capturing it. The CDP categories + * (console, network, page, interaction) and screenshot are off by default and are + * opt-in: set enabled=true to capture them. */ export interface BrowserTelemetryCategoriesConfig { /** @@ -1948,8 +1947,9 @@ export interface BrowserTelemetryCategoriesConfig { */ export interface BrowserTelemetryCategoryConfig { /** - * Whether this category is captured. Selection is opt-in, so an omitted category - * is not captured. + * Whether this category is captured. Operational categories (control, connection, + * system, captcha) default to true; set false to opt out. CDP categories (console, + * network, page, interaction) and screenshot default to false; set true to opt in. */ enabled?: boolean; } From 050b83af9255031541f9db398cbdca1d53a25d8d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 9 Jul 2026 18:32:39 +0000 Subject: [PATCH 3/4] feat: Return credential value keys and support removing values on update --- .stats.yml | 4 ++-- src/resources/credentials.ts | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index adc4cc2..3f7dec3 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 125 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-61dab8d0d01c2838febaf4319114ae35aa169a813a102e93af6598ca0d445da2.yml -openapi_spec_hash: c9fbe809670384dc5141dccb60e45672 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-ba32039d3975da7aa6d28e5184f0a44c9fbfe36ab7dbc71985d14e2ecc0867b9.yml +openapi_spec_hash: a9f32fc90c2add2ae85af828c298e35b config_hash: 06186eb40e0058a2a87ac251fc07415d diff --git a/src/resources/credentials.ts b/src/resources/credentials.ts index 1984202..09aba3a 100644 --- a/src/resources/credentials.ts +++ b/src/resources/credentials.ts @@ -202,6 +202,13 @@ export interface Credential { * When the totp_code expires. Only included when totp_code is present. */ totp_code_expires_at?: string; + + /** + * The field names stored in this credential's values (e.g., username, password). + * Values themselves are never returned. Included on single-credential responses + * (create, get by id or name, update); omitted from list responses. + */ + value_keys?: Array; } /** @@ -213,6 +220,12 @@ export interface UpdateCredentialRequest { */ name?: string; + /** + * Field names to remove from the credential's stored values. Removals are applied + * before `values` are merged, so a key present in both is kept with its new value. + */ + remove_value_keys?: Array; + /** * If set, indicates this credential should be used with the specified SSO * provider. Set to empty string or null to remove. @@ -281,6 +294,12 @@ export interface CredentialUpdateParams { */ name?: string; + /** + * Field names to remove from the credential's stored values. Removals are applied + * before `values` are merged, so a key present in both is kept with its new value. + */ + remove_value_keys?: Array; + /** * If set, indicates this credential should be used with the specified SSO * provider. Set to empty string or null to remove. From 555c33c5caa243b86c604aa2f36be3628a631edc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 9 Jul 2026 18:33:08 +0000 Subject: [PATCH 4/4] release: 0.76.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 7b0cc97..5f3243d 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.75.0" + ".": "0.76.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 4976d34..a8b606f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 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) + +### Features + +* Layer telemetry request config onto the default set ([e0ac507](https://github.com/kernel/kernel-node-sdk/commit/e0ac5077b0114f4ed5dac88d405de15bd3459dde)) +* Return credential value keys and support removing values on update ([050b83a](https://github.com/kernel/kernel-node-sdk/commit/050b83af9255031541f9db398cbdca1d53a25d8d)) + ## 0.75.0 (2026-07-08) Full Changelog: [v0.74.0...v0.75.0](https://github.com/kernel/kernel-node-sdk/compare/v0.74.0...v0.75.0) diff --git a/package.json b/package.json index d020614..7757d07 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@onkernel/sdk", - "version": "0.75.0", + "version": "0.76.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 766f1ae..2c80dbe 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.75.0'; // x-release-please-version +export const VERSION = '0.76.0'; // x-release-please-version