Skip to content

Commit 1ae51b5

Browse files
authored
Merge pull request #4 from onkernel/release-please--branches--main--changes--next--components--sdk
release: 0.1.0-alpha.2
2 parents 155613f + e6ee84f commit 1ae51b5

File tree

7 files changed

+28
-7
lines changed

7 files changed

+28
-7
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.1.0-alpha.1"
2+
".": "0.1.0-alpha.2"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 4
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-e642528081bcfbb78b52900cb9b8b1407a9c7a8653c57ab021a79d4d52585695.yml
3-
openapi_spec_hash: 8d91d1ac100906977531a93b9f4ae380
4-
config_hash: 49c38455e0bcb05feb11399f9da1fb4f
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-d168b58fcf39dbd0458d132091793d3e2d0930070b7dda2d5f7f1baff20dd31b.yml
3+
openapi_spec_hash: b7e0fd7ee1656d7dbad57209d1584d92
4+
config_hash: 75c0b894355904e2a91b70445072d4b4

CHANGELOG.md

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

3+
## 0.1.0-alpha.2 (2025-05-09)
4+
5+
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)
6+
7+
### Features
8+
9+
* **api:** update via SDK Studio ([7d31661](https://github.com/onkernel/kernel-node-sdk/commit/7d316613cf880a22e2a17946089c78eb878bcbc6))
10+
311
## 0.1.0-alpha.1 (2025-05-08)
412

513
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)

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.1.0-alpha.1",
3+
"version": "0.1.0-alpha.2",
44
"description": "The official TypeScript library for the Kernel API",
55
"author": "Kernel <>",
66
"types": "dist/index.d.ts",

src/resources/apps.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export class Apps extends APIResource {
3030
* @example
3131
* ```ts
3232
* const response = await client.apps.invoke({
33+
* actionName: 'analyze',
3334
* appName: 'my-awesome-app',
3435
* payload: '{ "data": "example input" }',
3536
* version: '1.0.0',
@@ -81,7 +82,12 @@ export interface AppInvokeResponse {
8182
/**
8283
* Status of the invocation
8384
*/
84-
status: string;
85+
status: 'QUEUED' | 'RUNNING' | 'SUCCEEDED' | 'FAILED';
86+
87+
/**
88+
* Output from the invocation (if available)
89+
*/
90+
output?: string;
8591
}
8692

8793
export interface AppRetrieveInvocationResponse {
@@ -123,6 +129,11 @@ export interface AppDeployParams {
123129
}
124130

125131
export interface AppInvokeParams {
132+
/**
133+
* Name of the action to invoke
134+
*/
135+
actionName: string;
136+
126137
/**
127138
* Name of the application
128139
*/

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '0.1.0-alpha.1'; // x-release-please-version
1+
export const VERSION = '0.1.0-alpha.2'; // x-release-please-version

tests/api-resources/apps.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ describe('resource apps', () => {
3737
// skipped: tests are disabled for the time being
3838
test.skip('invoke: only required params', async () => {
3939
const responsePromise = client.apps.invoke({
40+
actionName: 'analyze',
4041
appName: 'my-awesome-app',
4142
payload: '{ "data": "example input" }',
4243
version: '1.0.0',
@@ -53,6 +54,7 @@ describe('resource apps', () => {
5354
// skipped: tests are disabled for the time being
5455
test.skip('invoke: required and optional params', async () => {
5556
const response = await client.apps.invoke({
57+
actionName: 'analyze',
5658
appName: 'my-awesome-app',
5759
payload: '{ "data": "example input" }',
5860
version: '1.0.0',

0 commit comments

Comments
 (0)