From c7a7e8cad9e529906a3d351587ec57ae56e864f3 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 1 Oct 2025 21:39:52 +0000 Subject: [PATCH 1/4] chore(internal): remove .eslintcache --- .eslintcache | 1 - 1 file changed, 1 deletion(-) delete mode 100644 .eslintcache diff --git a/.eslintcache b/.eslintcache deleted file mode 100644 index 476b6d4..0000000 --- a/.eslintcache +++ /dev/null @@ -1 +0,0 @@ -[{"/home/tempuser-rxv3c3/run/codegen-output/kernel/kernel-typescript/src/resources/browsers/browsers.ts":"1"},{"size":12035,"mtime":1759276353459}] \ No newline at end of file From 26063c82a096ac63ad9de34597c1a1849ab881f4 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 1 Oct 2025 21:39:50 +0000 Subject: [PATCH 2/4] feat: Update oAPI and data model for proxy status --- .stats.yml | 4 ++-- src/resources/proxies.ts | 30 ++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index a1c1d77..2223539 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 51 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-d0090ff3ef876c554e7a1281d5cbe1666cf68aebfc60e05cb7f4302ee377b372.yml -openapi_spec_hash: 33fef541c420a28125f18cd1efc0d585 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-a880f2209deafc4a011da42eb52f1dac0308d18ae1daa1d7253edc3385c9b1c4.yml +openapi_spec_hash: ae5af3810d28e49a68b12f2bb2d2af0e config_hash: 49c2ff978aaa5ccb4ce324a72f116010 diff --git a/src/resources/proxies.ts b/src/resources/proxies.ts index 20ceea6..f31138e 100644 --- a/src/resources/proxies.ts +++ b/src/resources/proxies.ts @@ -61,10 +61,20 @@ export interface ProxyCreateResponse { | ProxyCreateResponse.MobileProxyConfig | ProxyCreateResponse.CustomProxyConfig; + /** + * Timestamp of the last health check performed on this proxy. + */ + last_checked?: string; + /** * Readable name of the proxy. */ name?: string; + + /** + * Current health status of the proxy. + */ + status?: 'available' | 'unavailable'; } export namespace ProxyCreateResponse { @@ -268,10 +278,20 @@ export interface ProxyRetrieveResponse { | ProxyRetrieveResponse.MobileProxyConfig | ProxyRetrieveResponse.CustomProxyConfig; + /** + * Timestamp of the last health check performed on this proxy. + */ + last_checked?: string; + /** * Readable name of the proxy. */ name?: string; + + /** + * Current health status of the proxy. + */ + status?: 'available' | 'unavailable'; } export namespace ProxyRetrieveResponse { @@ -478,10 +498,20 @@ export namespace ProxyListResponse { | ProxyListResponseItem.MobileProxyConfig | ProxyListResponseItem.CustomProxyConfig; + /** + * Timestamp of the last health check performed on this proxy. + */ + last_checked?: string; + /** * Readable name of the proxy. */ name?: string; + + /** + * Current health status of the proxy. + */ + status?: 'available' | 'unavailable'; } export namespace ProxyListResponseItem { From a178cc39945833b6cf9300c1828df82b726261f9 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 3 Oct 2025 17:27:39 +0000 Subject: [PATCH 3/4] feat: Http proxy --- .stats.yml | 4 ++-- src/resources/proxies.ts | 20 ++++++++++++++++++++ tests/api-resources/proxies.test.ts | 1 + 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 2223539..0af2575 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 51 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-a880f2209deafc4a011da42eb52f1dac0308d18ae1daa1d7253edc3385c9b1c4.yml -openapi_spec_hash: ae5af3810d28e49a68b12f2bb2d2af0e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-8a6175a75caa75c3de5400edf97a34e526ac3f62c63955375437461581deb0c2.yml +openapi_spec_hash: 1a880e4ce337a0e44630e6d87ef5162a config_hash: 49c2ff978aaa5ccb4ce324a72f116010 diff --git a/src/resources/proxies.ts b/src/resources/proxies.ts index f31138e..9aaaf84 100644 --- a/src/resources/proxies.ts +++ b/src/resources/proxies.ts @@ -71,6 +71,11 @@ export interface ProxyCreateResponse { */ name?: string; + /** + * Protocol to use for the proxy connection. + */ + protocol?: 'http' | 'https'; + /** * Current health status of the proxy. */ @@ -288,6 +293,11 @@ export interface ProxyRetrieveResponse { */ name?: string; + /** + * Protocol to use for the proxy connection. + */ + protocol?: 'http' | 'https'; + /** * Current health status of the proxy. */ @@ -508,6 +518,11 @@ export namespace ProxyListResponse { */ name?: string; + /** + * Protocol to use for the proxy connection. + */ + protocol?: 'http' | 'https'; + /** * Current health status of the proxy. */ @@ -715,6 +730,11 @@ export interface ProxyCreateParams { * Readable name of the proxy. */ name?: string; + + /** + * Protocol to use for the proxy connection. + */ + protocol?: 'http' | 'https'; } export namespace ProxyCreateParams { diff --git a/tests/api-resources/proxies.test.ts b/tests/api-resources/proxies.test.ts index 97087a2..ebc101a 100644 --- a/tests/api-resources/proxies.test.ts +++ b/tests/api-resources/proxies.test.ts @@ -26,6 +26,7 @@ describe('resource proxies', () => { type: 'datacenter', config: { country: 'US' }, name: 'name', + protocol: 'http', }); }); From 9c76a3dae94d73ebaafc150084712f64ff7c20a4 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 3 Oct 2025 17:27:57 +0000 Subject: [PATCH 4/4] release: 0.13.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 14 ++++++++++++++ package.json | 2 +- src/version.ts | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 8032c17..ed21d28 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.12.0" + ".": "0.13.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index e982901..4e20e55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 0.13.0 (2025-10-03) + +Full Changelog: [v0.12.0...v0.13.0](https://github.com/onkernel/kernel-node-sdk/compare/v0.12.0...v0.13.0) + +### Features + +* Http proxy ([a178cc3](https://github.com/onkernel/kernel-node-sdk/commit/a178cc39945833b6cf9300c1828df82b726261f9)) +* Update oAPI and data model for proxy status ([26063c8](https://github.com/onkernel/kernel-node-sdk/commit/26063c82a096ac63ad9de34597c1a1849ab881f4)) + + +### Chores + +* **internal:** remove .eslintcache ([c7a7e8c](https://github.com/onkernel/kernel-node-sdk/commit/c7a7e8cad9e529906a3d351587ec57ae56e864f3)) + ## 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) diff --git a/package.json b/package.json index a2c1b60..92fc936 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@onkernel/sdk", - "version": "0.12.0", + "version": "0.13.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 ce6b899..9d013cc 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.12.0'; // x-release-please-version +export const VERSION = '0.13.0'; // x-release-please-version