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

## [0.138.0](https://github.com/kernel/kernel-node-sdk/compare/v0.137.0...v0.138.0) (2026-10-30)


### Features

* Pause managed auth logins for human verification on unsolvable captchas ([963393f](https://github.com/kernel/kernel-node-sdk/commit/963393ff0db25e9f547ec870ba8df57b6ee21a4c))

## [0.137.0](https://github.com/kernel/kernel-node-sdk/compare/v0.136.0...v0.137.0) (2026-10-29)


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.137.0",
"version": "0.138.0",
"description": "The official TypeScript library for the Kernel API",
"author": "Kernel <>",
"types": "dist/index.d.ts",
Expand Down
53 changes: 50 additions & 3 deletions src/resources/auth/connections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,12 @@ export interface ManagedAuth {
*/
domain: string;

/**
* Whether a login blocked by a CAPTCHA the browser cannot solve pauses at
* AWAITING_HUMAN_INTERVENTION so a person can complete it in the live view.
*/
hitl: boolean;

/**
* Name of the profile associated with this auth connection
*/
Expand Down Expand Up @@ -445,6 +451,7 @@ export interface ManagedAuth {
| 'DISCOVERING'
| 'AWAITING_INPUT'
| 'AWAITING_EXTERNAL_ACTION'
| 'AWAITING_HUMAN_INTERVENTION'
| 'SUBMITTING'
| 'COMPLETED'
| null;
Expand Down Expand Up @@ -680,7 +687,8 @@ export namespace ManagedAuth {
label: string;

/**
* Choice type.
* Choice type. A `human_intervention` choice confirms the person finished the
* challenge in the live view.
*/
type:
| 'mfa_method'
Expand All @@ -689,6 +697,7 @@ export namespace ManagedAuth {
| 'auth_method'
| 'identifier_method'
| 'account'
| 'human_intervention'
| 'other';

/**
Expand Down Expand Up @@ -1155,6 +1164,15 @@ export interface ManagedAuthCreateRequest {
*/
health_checks?: boolean;

/**
* Whether a login blocked by a CAPTCHA the browser cannot solve pauses for a
* person instead of failing. The flow moves to AWAITING_HUMAN_INTERVENTION with a
* `human_intervention` choice; the person completes the challenge in
* `live_view_url`, then submits that choice to resume. Reauthentication never
* pauses. Defaults to false.
*/
hitl?: boolean;

/**
* Optional login page URL to skip discovery
*/
Expand Down Expand Up @@ -1480,6 +1498,12 @@ export interface ManagedAuthUpdateRequest {
*/
health_checks?: boolean;

/**
* Whether a login blocked by a CAPTCHA the browser cannot solve pauses for a
* person instead of failing
*/
hitl?: boolean;

/**
* Login page URL. Set to empty string to clear.
*/
Expand Down Expand Up @@ -1742,7 +1766,13 @@ export namespace ConnectionFollowResponse {
/**
* Current step in the flow.
*/
flow_step: 'DISCOVERING' | 'AWAITING_INPUT' | 'AWAITING_EXTERNAL_ACTION' | 'SUBMITTING' | 'COMPLETED';
flow_step:
| 'DISCOVERING'
| 'AWAITING_INPUT'
| 'AWAITING_EXTERNAL_ACTION'
| 'AWAITING_HUMAN_INTERVENTION'
| 'SUBMITTING'
| 'COMPLETED';

/**
* Time the state was reported.
Expand Down Expand Up @@ -1851,7 +1881,8 @@ export namespace ConnectionFollowResponse {
label: string;

/**
* Choice type.
* Choice type. A `human_intervention` choice confirms the person finished the
* challenge in the live view.
*/
type:
| 'mfa_method'
Expand All @@ -1860,6 +1891,7 @@ export namespace ConnectionFollowResponse {
| 'auth_method'
| 'identifier_method'
| 'account'
| 'human_intervention'
| 'other';

/**
Expand Down Expand Up @@ -2157,6 +2189,15 @@ export interface ConnectionCreateParams {
*/
health_checks?: boolean;

/**
* Whether a login blocked by a CAPTCHA the browser cannot solve pauses for a
* person instead of failing. The flow moves to AWAITING_HUMAN_INTERVENTION with a
* `human_intervention` choice; the person completes the challenge in
* `live_view_url`, then submits that choice to resume. Reauthentication never
* pauses. Defaults to false.
*/
hitl?: boolean;

/**
* Optional login page URL to skip discovery
*/
Expand Down Expand Up @@ -2387,6 +2428,12 @@ export interface ConnectionUpdateParams {
*/
health_checks?: boolean;

/**
* Whether a login blocked by a CAPTCHA the browser cannot solve pauses for a
* person instead of failing
*/
hitl?: boolean;

/**
* Login page URL. Set to empty string to clear.
*/
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.137.0'; // x-release-please-version
export const VERSION = '0.138.0'; // x-release-please-version
1 change: 1 addition & 0 deletions tests/api-resources/auth/connections.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ describe('resource connections', () => {
},
health_check_interval: 3600,
health_checks: true,
hitl: false,
login_url: 'https://netflix.com/login',
proxy: { id: 'id', name: 'name' },
record_session: false,
Expand Down
Loading