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
1 change: 1 addition & 0 deletions .eslintcache

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ jobs:
bash ./bin/check-release-environment
env:
NPM_TOKEN: ${{ secrets.KERNEL_NPM_TOKEN || secrets.NPM_TOKEN }}

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.4"
".": "0.11.5"
}
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-8b5a722e4964d2d1dcdc34afccb6d742e1c927cbbd622264c8734f132e31a0f5.yml
openapi_spec_hash: ed101ff177c2e962653ca65acf939336
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-bfdb7e3d38870a8ba1628f4f83a3a719d470bf4f7fbecb67a6fad110447c9b6a.yml
openapi_spec_hash: fed29c80f9c25f8a7216b8c6de2051ab
config_hash: 49c2ff978aaa5ccb4ce324a72f116010
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

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

### Features

* Fix my incorrect grammer ([535963a](https://github.com/onkernel/kernel-node-sdk/commit/535963a0ba0ab69a07af7f9903836e869d7baf8f))


### Performance Improvements

* faster formatting ([d55b4d5](https://github.com/onkernel/kernel-node-sdk/commit/d55b4d53e7c2db501dcfbc344695716e2ebee9be))


### Chores

* **internal:** codegen related update ([dde7c0a](https://github.com/onkernel/kernel-node-sdk/commit/dde7c0a13e1f20bc95f6a6ab5cea66d6907b30f6))
* **internal:** fix incremental formatting in some cases ([cf995a4](https://github.com/onkernel/kernel-node-sdk/commit/cf995a47eadf146da7486f59c60e8c245ec64419))
* **internal:** remove deprecated `compilerOptions.baseUrl` from tsconfig.json ([00ea517](https://github.com/onkernel/kernel-node-sdk/commit/00ea517c0e23bb0e2fc4459d212d4445ed16c1e2))

## 0.11.4 (2025-09-25)

Full Changelog: [v0.11.3...v0.11.4](https://github.com/onkernel/kernel-node-sdk/compare/v0.11.3...v0.11.4)
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.4",
"version": "0.11.5",
"description": "The official TypeScript library for the Kernel API",
"author": "Kernel <>",
"types": "dist/index.d.ts",
Expand Down
40 changes: 40 additions & 0 deletions scripts/fast-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#!/usr/bin/env bash

set -euo pipefail

echo "Script started with $# arguments"
echo "Arguments: $*"
echo "Script location: $(dirname "$0")"

cd "$(dirname "$0")/.."
echo "Changed to directory: $(pwd)"

if [ $# -eq 0 ]; then
echo "Usage: $0 <file-with-paths> [additional-formatter-args...]"
echo "The file should contain one file path per line"
exit 1
fi

FILE_LIST="$1"

echo "Looking for file: $FILE_LIST"

if [ ! -f "$FILE_LIST" ]; then
echo "Error: File '$FILE_LIST' not found"
exit 1
fi

echo "==> Running eslint --fix"
ESLINT_FILES="$(grep '\.ts$' "$FILE_LIST" || true)"
if ! [ -z "$ESLINT_FILES" ]; then
echo "$ESLINT_FILES" | xargs ./node_modules/.bin/eslint --cache --fix
fi

echo "==> Running prettier --write"
# format things eslint didn't
PRETTIER_FILES="$(grep '\.\(js\|json\)$' "$FILE_LIST" || true)"
if ! [ -z "$PRETTIER_FILES" ]; then
echo "$PRETTIER_FILES" | xargs ./node_modules/.bin/prettier \
--write --cache --cache-strategy metadata --no-error-on-unmatched-pattern \
'!**/dist' '!**/*.ts' '!**/*.mts' '!**/*.cts' '!**/*.js' '!**/*.mjs' '!**/*.cjs'
fi
4 changes: 2 additions & 2 deletions src/resources/invocations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ export class Invocations extends APIResource {
}

/**
* Update an invocation's status or output. This can used to cancel an invocation
* by setting the status to "failed".
* Update an invocation's status or output. This can be used to cancel an
* invocation by setting the status to "failed".
*
* @example
* ```ts
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.4'; // x-release-please-version
export const VERSION = '0.11.5'; // x-release-please-version
4 changes: 2 additions & 2 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"compilerOptions": {
"rootDir": "./dist/src",
"paths": {
"@onkernel/sdk/*": ["dist/src/*"],
"@onkernel/sdk": ["dist/src/index.ts"]
"@onkernel/sdk/*": ["./dist/src/*"],
"@onkernel/sdk": ["./dist/src/index.ts"]
},
"noEmit": false,
"declaration": true,
Expand Down
5 changes: 2 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@
"module": "commonjs",
"moduleResolution": "node",
"esModuleInterop": true,
"baseUrl": "./",
"paths": {
"@onkernel/sdk/*": ["src/*"],
"@onkernel/sdk": ["src/index.ts"]
"@onkernel/sdk/*": ["./src/*"],
"@onkernel/sdk": ["./src/index.ts"]
},
"noEmit": true,

Expand Down