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.1.0-alpha.1"
".": "0.1.0-alpha.2"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
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.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",
Expand Down
13 changes: 12 additions & 1 deletion src/resources/apps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -123,6 +129,11 @@ export interface AppDeployParams {
}

export interface AppInvokeParams {
/**
* Name of the action to invoke
*/
actionName: string;

/**
* Name of the application
*/
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.1.0-alpha.1'; // x-release-please-version
export const VERSION = '0.1.0-alpha.2'; // x-release-please-version
2 changes: 2 additions & 0 deletions tests/api-resources/apps.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand Down