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.93.0"
".": "0.94.0"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
configured_endpoints: 140
configured_endpoints: 145
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [0.94.0](https://github.com/kernel/kernel-node-sdk/compare/v0.93.0...v0.94.0) (2026-08-24)


### Features

* Mirror the control/platform telemetry split into the public API ([3e6a496](https://github.com/kernel/kernel-node-sdk/commit/3e6a49697a76085176a2cc3f9a4cd8967e577813))
* site configs: report proxy-restricted analyses ([d6ad02a](https://github.com/kernel/kernel-node-sdk/commit/d6ad02ad064cda5296b9ef7bf7364be83c92adbc))

## [0.93.0](https://github.com/kernel/kernel-node-sdk/compare/v0.92.0...v0.93.0) (2026-08-19)


Expand Down
33 changes: 33 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,33 @@ Methods:
- <code title="get /invocations/{id}/events">client.invocations.<a href="./src/resources/invocations.ts">follow</a>(id, { ...params }) -> InvocationFollowResponse</code>
- <code title="get /invocations/{id}/browsers">client.invocations.<a href="./src/resources/invocations.ts">listBrowsers</a>(id) -> InvocationListBrowsersResponse</code>

# SiteConfigs

Types:

- <code><a href="./src/resources/site-configs.ts">Analysis</a></code>
- <code><a href="./src/resources/site-configs.ts">AnalysisSummary</a></code>
- <code><a href="./src/resources/site-configs.ts">Browser</a></code>
- <code><a href="./src/resources/site-configs.ts">Evidence</a></code>
- <code><a href="./src/resources/site-configs.ts">LookupRequest</a></code>
- <code><a href="./src/resources/site-configs.ts">LookupResponse</a></code>
- <code><a href="./src/resources/site-configs.ts">NoRecommendation</a></code>
- <code><a href="./src/resources/site-configs.ts">Proxy</a></code>
- <code><a href="./src/resources/site-configs.ts">Recommendation</a></code>
- <code><a href="./src/resources/site-configs.ts">RecommendationResult</a></code>
- <code><a href="./src/resources/site-configs.ts">RecommendationSummary</a></code>
- <code><a href="./src/resources/site-configs.ts">ResolveRequest</a></code>
- <code><a href="./src/resources/site-configs.ts">SiteConfigResponse</a></code>
- <code><a href="./src/resources/site-configs.ts">Target</a></code>

Methods:

- <code title="get /site-configs/{id}">client.siteConfigs.<a href="./src/resources/site-configs.ts">retrieve</a>(id) -> SiteConfigResponse</code>
- <code title="get /site-configs">client.siteConfigs.<a href="./src/resources/site-configs.ts">list</a>({ ...params }) -> AnalysisSummariesOffsetPagination</code>
- <code title="get /site-configs/recommendations">client.siteConfigs.<a href="./src/resources/site-configs.ts">listRecommendations</a>({ ...params }) -> RecommendationSummariesOffsetPagination</code>
- <code title="post /site-configs/lookup">client.siteConfigs.<a href="./src/resources/site-configs.ts">lookup</a>({ ...params }) -> LookupResponse</code>
- <code title="post /site-configs/resolve">client.siteConfigs.<a href="./src/resources/site-configs.ts">resolve</a>({ ...params }) -> SiteConfigResponse</code>

# Browsers

Types:
Expand Down Expand Up @@ -99,6 +126,8 @@ Types:
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserAPICallEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserCallStack</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserCaptchaSolveResultEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserCdpCommandEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserCdpCommandMethod</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserCdpConnectEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserCdpDisconnectEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserConsoleErrorEvent</a></code>
Expand All @@ -120,6 +149,7 @@ Types:
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserNetworkLoadingFailedEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserNetworkRequestEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserNetworkResponseEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserPageCrashedEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserPageDomContentLoadedEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserPageLayoutSettledEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserPageLayoutShiftEvent</a></code>
Expand All @@ -128,12 +158,15 @@ Types:
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserPageNavigationEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserPageNavigationSettledEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserPageTabOpenedEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserPlatformAPICallEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserProxyErrorEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserServiceCrashedEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserSystemOomKillEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserTelemetryCategoriesConfig</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserTelemetryCategoryConfig</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserTelemetryCdpControlConfig</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserTelemetryConfig</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserTelemetryControlConfig</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserTelemetryEvent</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserTelemetryExportConfig</a></code>
- <code><a href="./src/resources/browsers/telemetry.ts">BrowserTelemetryOtlpExportConfig</a></code>
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.93.0",
"version": "0.94.0",
"description": "The official TypeScript library for the Kernel API",
"author": "Kernel <>",
"types": "dist/index.d.ts",
Expand Down
52 changes: 52 additions & 0 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,29 @@ import {
ProxyUpdateParams,
ProxyUpdateResponse,
} from './resources/proxies';
import {
Analysis,
AnalysisSummariesOffsetPagination,
AnalysisSummary,
Browser,
Evidence,
LookupRequest,
LookupResponse,
NoRecommendation,
Proxy,
Recommendation,
RecommendationResult,
RecommendationSummariesOffsetPagination,
RecommendationSummary,
ResolveRequest,
SiteConfigListParams,
SiteConfigListRecommendationsParams,
SiteConfigLookupParams,
SiteConfigResolveParams,
SiteConfigResponse,
SiteConfigs,
Target,
} from './resources/site-configs';
import {
AuditLogEntriesPageTokenPagination,
AuditLogEntry,
Expand Down Expand Up @@ -1012,6 +1035,10 @@ export class Kernel {
* Invoke actions and stream or query invocation status and events.
*/
invocations: API.Invocations = new API.Invocations(this);
/**
* Resolve browser and proxy recommendations for bot-protected sites.
*/
siteConfigs: API.SiteConfigs = new API.SiteConfigs(this);
/**
* Create and manage browser sessions.
*/
Expand Down Expand Up @@ -1063,6 +1090,7 @@ export class Kernel {
Kernel.Deployments = Deployments;
Kernel.Apps = Apps;
Kernel.Invocations = Invocations;
Kernel.SiteConfigs = SiteConfigs;
Kernel.Browsers = Browsers;
Kernel.Profiles = Profiles;
Kernel.Auth = Auth;
Expand Down Expand Up @@ -1128,6 +1156,30 @@ export declare namespace Kernel {
type InvocationFollowParams as InvocationFollowParams,
};

export {
SiteConfigs as SiteConfigs,
type Analysis as Analysis,
type AnalysisSummary as AnalysisSummary,
type Browser as Browser,
type Evidence as Evidence,
type LookupRequest as LookupRequest,
type LookupResponse as LookupResponse,
type NoRecommendation as NoRecommendation,
type Proxy as Proxy,
type Recommendation as Recommendation,
type RecommendationResult as RecommendationResult,
type RecommendationSummary as RecommendationSummary,
type ResolveRequest as ResolveRequest,
type SiteConfigResponse as SiteConfigResponse,
type Target as Target,
type AnalysisSummariesOffsetPagination as AnalysisSummariesOffsetPagination,
type RecommendationSummariesOffsetPagination as RecommendationSummariesOffsetPagination,
type SiteConfigListParams as SiteConfigListParams,
type SiteConfigListRecommendationsParams as SiteConfigListRecommendationsParams,
type SiteConfigLookupParams as SiteConfigLookupParams,
type SiteConfigResolveParams as SiteConfigResolveParams,
};

export {
Browsers as Browsers,
type BrowserMemory as BrowserMemory,
Expand Down
84 changes: 42 additions & 42 deletions src/resources/auth/connections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -549,12 +549,12 @@ export namespace ManagedAuth {
* 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.
* interaction), screenshot and platform 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;

Expand Down Expand Up @@ -920,12 +920,12 @@ export namespace ManagedAuthBrowserConfig {
* 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.
* interaction), screenshot and platform 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;

Expand Down Expand Up @@ -1121,12 +1121,12 @@ export namespace ManagedAuthCreateRequest {
* 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.
* interaction), screenshot and platform 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;

Expand Down Expand Up @@ -1417,12 +1417,12 @@ export namespace ManagedAuthUpdateRequest {
* 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.
* interaction), screenshot and platform 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;

Expand Down Expand Up @@ -2072,12 +2072,12 @@ export namespace ConnectionCreateParams {
* 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.
* interaction), screenshot and platform 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;

Expand Down Expand Up @@ -2280,12 +2280,12 @@ export namespace ConnectionUpdateParams {
* 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.
* interaction), screenshot and platform 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;

Expand Down Expand Up @@ -2458,12 +2458,12 @@ export namespace ConnectionLoginParams {
* 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.
* interaction), screenshot and platform 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;

Expand Down
Loading
Loading