diff --git a/.release-please-manifest.json b/.release-please-manifest.json index d7a8735..c5e8a3e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0-alpha.1" + ".": "0.1.0-alpha.2" } diff --git a/.stats.yml b/.stats.yml index b66a1bc..f654ed7 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 4 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-e642528081bcfbb78b52900cb9b8b1407a9c7a8653c57ab021a79d4d52585695.yml -openapi_spec_hash: 8d91d1ac100906977531a93b9f4ae380 -config_hash: 49c38455e0bcb05feb11399f9da1fb4f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-d168b58fcf39dbd0458d132091793d3e2d0930070b7dda2d5f7f1baff20dd31b.yml +openapi_spec_hash: b7e0fd7ee1656d7dbad57209d1584d92 +config_hash: 75c0b894355904e2a91b70445072d4b4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 71fc9fc..31973a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.1.0-alpha.2 (2025-05-09) + +Full Changelog: [v0.1.0-alpha.1...v0.1.0-alpha.2](https://github.com/onkernel/kernel-node-sdk/compare/v0.1.0-alpha.1...v0.1.0-alpha.2) + +### Features + +* **api:** update via SDK Studio ([7d31661](https://github.com/onkernel/kernel-node-sdk/commit/7d316613cf880a22e2a17946089c78eb878bcbc6)) + ## 0.1.0-alpha.1 (2025-05-08) Full Changelog: [v0.0.1-alpha.0...v0.1.0-alpha.1](https://github.com/onkernel/kernel-node-sdk/compare/v0.0.1-alpha.0...v0.1.0-alpha.1) diff --git a/package.json b/package.json index 054352c..fef7497 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@onkernel/sdk", - "version": "0.1.0-alpha.1", + "version": "0.1.0-alpha.2", "description": "The official TypeScript library for the Kernel API", "author": "Kernel <>", "types": "dist/index.d.ts", diff --git a/src/resources/apps.ts b/src/resources/apps.ts index c2e4a95..e8feb85 100644 --- a/src/resources/apps.ts +++ b/src/resources/apps.ts @@ -30,6 +30,7 @@ export class Apps extends APIResource { * @example * ```ts * const response = await client.apps.invoke({ + * actionName: 'analyze', * appName: 'my-awesome-app', * payload: '{ "data": "example input" }', * version: '1.0.0', @@ -81,7 +82,12 @@ export interface AppInvokeResponse { /** * Status of the invocation */ - status: string; + status: 'QUEUED' | 'RUNNING' | 'SUCCEEDED' | 'FAILED'; + + /** + * Output from the invocation (if available) + */ + output?: string; } export interface AppRetrieveInvocationResponse { @@ -123,6 +129,11 @@ export interface AppDeployParams { } export interface AppInvokeParams { + /** + * Name of the action to invoke + */ + actionName: string; + /** * Name of the application */ diff --git a/src/version.ts b/src/version.ts index b0bfd9e..a528f63 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.1.0-alpha.1'; // x-release-please-version +export const VERSION = '0.1.0-alpha.2'; // x-release-please-version diff --git a/tests/api-resources/apps.test.ts b/tests/api-resources/apps.test.ts index 614eb1e..cec0d2b 100644 --- a/tests/api-resources/apps.test.ts +++ b/tests/api-resources/apps.test.ts @@ -37,6 +37,7 @@ describe('resource apps', () => { // skipped: tests are disabled for the time being test.skip('invoke: only required params', async () => { const responsePromise = client.apps.invoke({ + actionName: 'analyze', appName: 'my-awesome-app', payload: '{ "data": "example input" }', version: '1.0.0', @@ -53,6 +54,7 @@ describe('resource apps', () => { // skipped: tests are disabled for the time being test.skip('invoke: required and optional params', async () => { const response = await client.apps.invoke({ + actionName: 'analyze', appName: 'my-awesome-app', payload: '{ "data": "example input" }', version: '1.0.0',