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 .eslintcache

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ dist
dist-deno
/*.tgz
.idea/
.eslintcache
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.11.5"
".": "0.12.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 51
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-bfdb7e3d38870a8ba1628f4f83a3a719d470bf4f7fbecb67a6fad110447c9b6a.yml
openapi_spec_hash: fed29c80f9c25f8a7216b8c6de2051ab
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-d0090ff3ef876c554e7a1281d5cbe1666cf68aebfc60e05cb7f4302ee377b372.yml
openapi_spec_hash: 33fef541c420a28125f18cd1efc0d585
config_hash: 49c2ff978aaa5ccb4ce324a72f116010
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## 0.12.0 (2025-09-30)

Full Changelog: [v0.11.5...v0.12.0](https://github.com/onkernel/kernel-node-sdk/compare/v0.11.5...v0.12.0)

### Features

* Add App Version to Invocation and add filtering on App Version ([b3e109c](https://github.com/onkernel/kernel-node-sdk/commit/b3e109c8117770f911440eddd463672df2be96c4))
* Return proxy ID in browsers response ([4eaa3ae](https://github.com/onkernel/kernel-node-sdk/commit/4eaa3aea0958f94741be4d4dfbe3e58b96550cd8))


### Chores

* **internal:** ignore .eslintcache ([59d069a](https://github.com/onkernel/kernel-node-sdk/commit/59d069a398718d31eb92c2de189257698bdefd2a))
* **internal:** version bump ([2fd4758](https://github.com/onkernel/kernel-node-sdk/commit/2fd4758c4bd417d8eb5674d1396813674fcaf173))

## 0.11.5 (2025-09-29)

Full Changelog: [v0.11.4...v0.11.5](https://github.com/onkernel/kernel-node-sdk/compare/v0.11.4...v0.11.5)
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.11.5",
"version": "0.12.0",
"description": "The official TypeScript library for the Kernel API",
"author": "Kernel <>",
"types": "dist/index.d.ts",
Expand Down
15 changes: 15 additions & 0 deletions src/resources/browsers/browsers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,11 @@ export interface BrowserCreateResponse {
* Browser profile metadata.
*/
profile?: Profile;

/**
* ID of the proxy associated with this browser session, if any.
*/
proxy_id?: string;
}

export interface BrowserRetrieveResponse {
Expand Down Expand Up @@ -270,6 +275,11 @@ export interface BrowserRetrieveResponse {
* Browser profile metadata.
*/
profile?: Profile;

/**
* ID of the proxy associated with this browser session, if any.
*/
proxy_id?: string;
}

export type BrowserListResponse = Array<BrowserListResponse.BrowserListResponseItem>;
Expand Down Expand Up @@ -321,6 +331,11 @@ export namespace BrowserListResponse {
* Browser profile metadata.
*/
profile?: BrowsersAPI.Profile;

/**
* ID of the proxy associated with this browser session, if any.
*/
proxy_id?: string;
}
}

Expand Down
25 changes: 25 additions & 0 deletions src/resources/invocations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,11 @@ export namespace InvocationStateEvent {
*/
status: 'queued' | 'running' | 'succeeded' | 'failed';

/**
* Version label for the application
*/
version: string;

/**
* RFC 3339 Nanoseconds timestamp when the invocation finished (null if still
* running)
Expand Down Expand Up @@ -244,6 +249,11 @@ export interface InvocationRetrieveResponse {
*/
status: 'queued' | 'running' | 'succeeded' | 'failed';

/**
* Version label for the application
*/
version: string;

/**
* RFC 3339 Nanoseconds timestamp when the invocation finished (null if still
* running)
Expand Down Expand Up @@ -293,6 +303,11 @@ export interface InvocationUpdateResponse {
*/
status: 'queued' | 'running' | 'succeeded' | 'failed';

/**
* Version label for the application
*/
version: string;

/**
* RFC 3339 Nanoseconds timestamp when the invocation finished (null if still
* running)
Expand Down Expand Up @@ -342,6 +357,11 @@ export interface InvocationListResponse {
*/
status: 'queued' | 'running' | 'succeeded' | 'failed';

/**
* Version label for the application
*/
version: string;

/**
* RFC 3339 Nanoseconds timestamp when the invocation finished (null if still
* running)
Expand Down Expand Up @@ -440,6 +460,11 @@ export interface InvocationListParams extends OffsetPaginationParams {
* Filter results by invocation status.
*/
status?: 'queued' | 'running' | 'succeeded' | 'failed';

/**
* Filter results by application version.
*/
version?: string;
}

export interface InvocationFollowParams {
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.11.5'; // x-release-please-version
export const VERSION = '0.12.0'; // x-release-please-version
1 change: 1 addition & 0 deletions tests/api-resources/invocations.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ describe('resource invocations', () => {
offset: 0,
since: '2025-06-20T12:00:00Z',
status: 'queued',
version: 'version',
},
{ path: '/_stainless_unknown_path' },
),
Expand Down