Skip to content

Commit 3edd9cf

Browse files
authored
Merge pull request #63 from kernel/release-please--branches--main--changes--next--components--sdk
release: 0.25.0
2 parents dcc8028 + 23028c1 commit 3edd9cf

27 files changed

+695
-292
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.24.0"
2+
".": "0.25.0"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 89
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-13214b99e392aab631aa1ca99b6a51a58df81e34156d21b8d639bea779566123.yml
3-
openapi_spec_hash: a88d175fc3980de3097ac1411d8dcbff
4-
config_hash: 179f33af31ece83563163d5b3d751d13
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-8d66dbedea5b240936b338809f272568ca84a452fc13dbda835479f2ec068b41.yml
3+
openapi_spec_hash: 7c499bfce2e996f1fff5e7791cea390e
4+
config_hash: fcc2db3ed48ab4e8d1b588d31d394a23

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
## 0.25.0 (2026-01-07)
4+
5+
Full Changelog: [v0.24.0...v0.25.0](https://github.com/onkernel/kernel-node-sdk/compare/v0.24.0...v0.25.0)
6+
7+
### Features
8+
9+
* **api:** add health check endpoint for proxies ([999dfe5](https://github.com/onkernel/kernel-node-sdk/commit/999dfe58dbdfae072207e03d83efea58eb914a32))
10+
* **auth:** add auto_login credential flow ([3f4eb01](https://github.com/onkernel/kernel-node-sdk/commit/3f4eb01bb73f679828e195a74f41214d69c01453))
11+
* Enhance AuthAgentInvocation with step and last activity tracking ([8380eb6](https://github.com/onkernel/kernel-node-sdk/commit/8380eb6cef2c8229bee4e263bcd0637f9fcb1480))
12+
13+
14+
### Chores
15+
16+
* break long lines in snippets into multiline ([c546f46](https://github.com/onkernel/kernel-node-sdk/commit/c546f46485ea1e853347db59c4abc5d8c9389b6c))
17+
* **internal:** codegen related update ([00a9097](https://github.com/onkernel/kernel-node-sdk/commit/00a9097ee42022b917f90fa6dd33938a3f1a9866))
18+
319
## 0.24.0 (2025-12-17)
420

521
Full Changelog: [v0.23.0...v0.24.0](https://github.com/onkernel/kernel-node-sdk/compare/v0.23.0...v0.24.0)

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2025 Kernel
189+
Copyright 2026 Kernel
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,10 @@ You can use the `for await … of` syntax to iterate through items across all pa
163163
async function fetchAllDeploymentListResponses(params) {
164164
const allDeploymentListResponses = [];
165165
// Automatically fetches more pages as needed.
166-
for await (const deploymentListResponse of client.deployments.list({ app_name: 'YOUR_APP', limit: 2 })) {
166+
for await (const deploymentListResponse of client.deployments.list({
167+
app_name: 'YOUR_APP',
168+
limit: 2,
169+
})) {
167170
allDeploymentListResponses.push(deploymentListResponse);
168171
}
169172
return allDeploymentListResponses;
@@ -203,7 +206,9 @@ const response = await client.browsers.create({ stealth: true }).asResponse();
203206
console.log(response.headers.get('X-My-Header'));
204207
console.log(response.statusText); // access the underlying Response object
205208

206-
const { data: browser, response: raw } = await client.browsers.create({ stealth: true }).withResponse();
209+
const { data: browser, response: raw } = await client.browsers
210+
.create({ stealth: true })
211+
.withResponse();
207212
console.log(raw.headers.get('X-My-Header'));
208213
console.log(browser.session_id);
209214
```

api.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -201,13 +201,15 @@ Types:
201201
- <code><a href="./src/resources/proxies.ts">ProxyCreateResponse</a></code>
202202
- <code><a href="./src/resources/proxies.ts">ProxyRetrieveResponse</a></code>
203203
- <code><a href="./src/resources/proxies.ts">ProxyListResponse</a></code>
204+
- <code><a href="./src/resources/proxies.ts">ProxyCheckResponse</a></code>
204205

205206
Methods:
206207

207208
- <code title="post /proxies">client.proxies.<a href="./src/resources/proxies.ts">create</a>({ ...params }) -> ProxyCreateResponse</code>
208209
- <code title="get /proxies/{id}">client.proxies.<a href="./src/resources/proxies.ts">retrieve</a>(id) -> ProxyRetrieveResponse</code>
209210
- <code title="get /proxies">client.proxies.<a href="./src/resources/proxies.ts">list</a>() -> ProxyListResponse</code>
210211
- <code title="delete /proxies/{id}">client.proxies.<a href="./src/resources/proxies.ts">delete</a>(id) -> void</code>
212+
- <code title="post /proxies/{id}/check">client.proxies.<a href="./src/resources/proxies.ts">check</a>(id) -> ProxyCheckResponse</code>
211213

212214
# Extensions
213215

@@ -249,23 +251,20 @@ Methods:
249251

250252
Types:
251253

252-
- <code><a href="./src/resources/agents/auth/auth.ts">AgentAuthDiscoverResponse</a></code>
253254
- <code><a href="./src/resources/agents/auth/auth.ts">AgentAuthInvocationResponse</a></code>
254255
- <code><a href="./src/resources/agents/auth/auth.ts">AgentAuthSubmitResponse</a></code>
255256
- <code><a href="./src/resources/agents/auth/auth.ts">AuthAgent</a></code>
256257
- <code><a href="./src/resources/agents/auth/auth.ts">AuthAgentCreateRequest</a></code>
257258
- <code><a href="./src/resources/agents/auth/auth.ts">AuthAgentInvocationCreateRequest</a></code>
258259
- <code><a href="./src/resources/agents/auth/auth.ts">AuthAgentInvocationCreateResponse</a></code>
259260
- <code><a href="./src/resources/agents/auth/auth.ts">DiscoveredField</a></code>
260-
- <code><a href="./src/resources/agents/auth/auth.ts">ReauthResponse</a></code>
261261

262262
Methods:
263263

264264
- <code title="post /agents/auth">client.agents.auth.<a href="./src/resources/agents/auth/auth.ts">create</a>({ ...params }) -> AuthAgent</code>
265265
- <code title="get /agents/auth/{id}">client.agents.auth.<a href="./src/resources/agents/auth/auth.ts">retrieve</a>(id) -> AuthAgent</code>
266266
- <code title="get /agents/auth">client.agents.auth.<a href="./src/resources/agents/auth/auth.ts">list</a>({ ...params }) -> AuthAgentsOffsetPagination</code>
267267
- <code title="delete /agents/auth/{id}">client.agents.auth.<a href="./src/resources/agents/auth/auth.ts">delete</a>(id) -> void</code>
268-
- <code title="post /agents/auth/{id}/reauth">client.agents.auth.<a href="./src/resources/agents/auth/auth.ts">reauth</a>(id) -> ReauthResponse</code>
269268

270269
### Invocations
271270

@@ -277,7 +276,6 @@ Methods:
277276

278277
- <code title="post /agents/auth/invocations">client.agents.auth.invocations.<a href="./src/resources/agents/auth/invocations.ts">create</a>({ ...params }) -> AuthAgentInvocationCreateResponse</code>
279278
- <code title="get /agents/auth/invocations/{invocation_id}">client.agents.auth.invocations.<a href="./src/resources/agents/auth/invocations.ts">retrieve</a>(invocationID) -> AgentAuthInvocationResponse</code>
280-
- <code title="post /agents/auth/invocations/{invocation_id}/discover">client.agents.auth.invocations.<a href="./src/resources/agents/auth/invocations.ts">discover</a>(invocationID, { ...params }) -> AgentAuthDiscoverResponse</code>
281279
- <code title="post /agents/auth/invocations/{invocation_id}/exchange">client.agents.auth.invocations.<a href="./src/resources/agents/auth/invocations.ts">exchange</a>(invocationID, { ...params }) -> InvocationExchangeResponse</code>
282280
- <code title="post /agents/auth/invocations/{invocation_id}/submit">client.agents.auth.invocations.<a href="./src/resources/agents/auth/invocations.ts">submit</a>(invocationID, { ...params }) -> AgentAuthSubmitResponse</code>
283281

@@ -288,11 +286,13 @@ Types:
288286
- <code><a href="./src/resources/credentials.ts">CreateCredentialRequest</a></code>
289287
- <code><a href="./src/resources/credentials.ts">Credential</a></code>
290288
- <code><a href="./src/resources/credentials.ts">UpdateCredentialRequest</a></code>
289+
- <code><a href="./src/resources/credentials.ts">CredentialTotpCodeResponse</a></code>
291290

292291
Methods:
293292

294293
- <code title="post /credentials">client.credentials.<a href="./src/resources/credentials.ts">create</a>({ ...params }) -> Credential</code>
295-
- <code title="get /credentials/{id}">client.credentials.<a href="./src/resources/credentials.ts">retrieve</a>(id) -> Credential</code>
296-
- <code title="patch /credentials/{id}">client.credentials.<a href="./src/resources/credentials.ts">update</a>(id, { ...params }) -> Credential</code>
294+
- <code title="get /credentials/{id_or_name}">client.credentials.<a href="./src/resources/credentials.ts">retrieve</a>(idOrName) -> Credential</code>
295+
- <code title="patch /credentials/{id_or_name}">client.credentials.<a href="./src/resources/credentials.ts">update</a>(idOrName, { ...params }) -> Credential</code>
297296
- <code title="get /credentials">client.credentials.<a href="./src/resources/credentials.ts">list</a>({ ...params }) -> CredentialsOffsetPagination</code>
298-
- <code title="delete /credentials/{id}">client.credentials.<a href="./src/resources/credentials.ts">delete</a>(id) -> void</code>
297+
- <code title="delete /credentials/{id_or_name}">client.credentials.<a href="./src/resources/credentials.ts">delete</a>(idOrName) -> void</code>
298+
- <code title="get /credentials/{id_or_name}/totp-code">client.credentials.<a href="./src/resources/credentials.ts">totpCode</a>(idOrName) -> CredentialTotpCodeResponse</code>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@onkernel/sdk",
3-
"version": "0.24.0",
3+
"version": "0.25.0",
44
"description": "The official TypeScript library for the Kernel API",
55
"author": "Kernel <>",
66
"types": "dist/index.d.ts",

src/client.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import {
3535
Credential,
3636
CredentialCreateParams,
3737
CredentialListParams,
38+
CredentialTotpCodeResponse,
3839
CredentialUpdateParams,
3940
Credentials,
4041
CredentialsOffsetPagination,
@@ -77,6 +78,7 @@ import {
7778
import { ProfileCreateParams, ProfileListResponse, Profiles } from './resources/profiles';
7879
import {
7980
Proxies,
81+
ProxyCheckResponse,
8082
ProxyCreateParams,
8183
ProxyCreateResponse,
8284
ProxyListResponse,
@@ -950,6 +952,7 @@ export declare namespace Kernel {
950952
type ProxyCreateResponse as ProxyCreateResponse,
951953
type ProxyRetrieveResponse as ProxyRetrieveResponse,
952954
type ProxyListResponse as ProxyListResponse,
955+
type ProxyCheckResponse as ProxyCheckResponse,
953956
type ProxyCreateParams as ProxyCreateParams,
954957
};
955958

@@ -980,6 +983,7 @@ export declare namespace Kernel {
980983
type CreateCredentialRequest as CreateCredentialRequest,
981984
type Credential as Credential,
982985
type UpdateCredentialRequest as UpdateCredentialRequest,
986+
type CredentialTotpCodeResponse as CredentialTotpCodeResponse,
983987
type CredentialsOffsetPagination as CredentialsOffsetPagination,
984988
type CredentialCreateParams as CredentialCreateParams,
985989
type CredentialUpdateParams as CredentialUpdateParams,

src/resources/agents/agents.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import { APIResource } from '../../core/resource';
44
import * as AuthAPI from './auth/auth';
55
import {
6-
AgentAuthDiscoverResponse,
76
AgentAuthInvocationResponse,
87
AgentAuthSubmitResponse,
98
Auth,
@@ -15,7 +14,6 @@ import {
1514
AuthCreateParams,
1615
AuthListParams,
1716
DiscoveredField,
18-
ReauthResponse,
1917
} from './auth/auth';
2018

2119
export class Agents extends APIResource {
@@ -27,15 +25,13 @@ Agents.Auth = Auth;
2725
export declare namespace Agents {
2826
export {
2927
Auth as Auth,
30-
type AgentAuthDiscoverResponse as AgentAuthDiscoverResponse,
3128
type AgentAuthInvocationResponse as AgentAuthInvocationResponse,
3229
type AgentAuthSubmitResponse as AgentAuthSubmitResponse,
3330
type AuthAgent as AuthAgent,
3431
type AuthAgentCreateRequest as AuthAgentCreateRequest,
3532
type AuthAgentInvocationCreateRequest as AuthAgentInvocationCreateRequest,
3633
type AuthAgentInvocationCreateResponse as AuthAgentInvocationCreateResponse,
3734
type DiscoveredField as DiscoveredField,
38-
type ReauthResponse as ReauthResponse,
3935
type AuthAgentsOffsetPagination as AuthAgentsOffsetPagination,
4036
type AuthCreateParams as AuthCreateParams,
4137
type AuthListParams as AuthListParams,

0 commit comments

Comments
 (0)