Skip to content
Open
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
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:
runs-on: ${{ github.repository == 'stainless-sdks/hypeman-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Node
uses: actions/setup-node@v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '20'

- name: Set up pnpm
uses: pnpm/action-setup@v4
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.3.0
with:
version: '10.30.1'

Expand All @@ -48,15 +48,15 @@ jobs:
contents: read
id-token: write
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Node
uses: actions/setup-node@v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '20'

- name: Set up pnpm
uses: pnpm/action-setup@v4
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.3.0
with:
version: '10.30.1'

Expand All @@ -71,7 +71,7 @@ jobs:
github.repository == 'stainless-sdks/hypeman-typescript' &&
!startsWith(github.ref, 'refs/heads/stl/')
id: github-oidc
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
script: core.setOutput('github_token', await core.getIDToken());

Expand All @@ -90,15 +90,15 @@ jobs:
runs-on: ${{ github.repository == 'stainless-sdks/hypeman-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Node
uses: actions/setup-node@v4
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: '20'

- name: Set up pnpm
uses: pnpm/action-setup@v4
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.3.0
with:
version: '10.30.1'

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
id-token: write

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1
with:
node-version: '20'

- name: Set up pnpm
uses: pnpm/action-setup@v4
uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4.3.0

- name: Install dependencies
run: |
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ jobs:
if: github.repository == 'kernel/hypeman-ts' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Check release environment
run: |
bash ./bin/check-release-environment

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.4.0"
".": "0.5.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 52
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fhypeman-c6da5deb317c83b7a10434593eb22ec7cb27009aba0b92efaefbbe21884054ad.yml
openapi_spec_hash: ff73a0e1f7a8bd5a5d1ae38d994bb9cd
config_hash: ed668fae8826ff533f38df16c9664f44
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/hypeman-f9fed11ca56bb499302232ce70b65d8fa6c0f88c5274dbf16670283303449c63.yml
openapi_spec_hash: 24530949a7f53ab57694443c45088190
config_hash: 99e93e381d8384de5a44c6eeed4bd4b1
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# Changelog

## 0.5.0 (2026-05-19)

Full Changelog: [v0.4.0...v0.5.0](https://github.com/kernel/hypeman-ts/compare/v0.4.0...v0.5.0)

### Features

* Add instance health checks ([a14bf8c](https://github.com/kernel/hypeman-ts/commit/a14bf8c33cbb1da1b31985ae07287741dd03fd7c))
* Add instance restart policy ([adb5d8c](https://github.com/kernel/hypeman-ts/commit/adb5d8c01a4fc8a651846220783a2d18cfab155b))
* Model template as an instance state instead of a separate registry ([09a28d5](https://github.com/kernel/hypeman-ts/commit/09a28d5ec8879ae327779f36731634f21a9d2f23))
* Revert template state model ([549ddec](https://github.com/kernel/hypeman-ts/commit/549ddec949eaba175f8e4c7815cc746c7df07d0d))
* support setting headers via env ([8c41637](https://github.com/kernel/hypeman-ts/commit/8c41637dbd676b249430413051bdadfe92201a60))
* Track per-phase duration on each instance ([8da2e87](https://github.com/kernel/hypeman-ts/commit/8da2e876d19cd768aa959b86fcbfd052e926acd4))


### Bug Fixes

* remove incorrect setup-bun input — project uses pnpm ([2c9abc9](https://github.com/kernel/hypeman-ts/commit/2c9abc9e051679ae26fbac542a517ac850478f55))
* **typescript:** upgrade tsc-multi so that it works with Node 26 ([c543e44](https://github.com/kernel/hypeman-ts/commit/c543e4487ce62b3f2f8d2d7efe1b3f11d9b4908d))


### Chores

* **format:** run eslint and prettier separately ([035aa83](https://github.com/kernel/hypeman-ts/commit/035aa836b91de2a9cecadd9fafa1e4e23da3332d))
* **internal:** codegen related update ([c8083ea](https://github.com/kernel/hypeman-ts/commit/c8083eae34e271fdb6f3d50e75d4a2069d26565b))
* **internal:** more robust bootstrap script ([a369af6](https://github.com/kernel/hypeman-ts/commit/a369af6d536e7ba7baf93220e94e4d3183a48899))
* redact api-key headers in debug logs ([a985151](https://github.com/kernel/hypeman-ts/commit/a985151f67754cc519c31a24382c299a373d193b))
* **tests:** remove redundant File import ([85aa1c8](https://github.com/kernel/hypeman-ts/commit/85aa1c842515acb545294eda5626538aee5c27d4))

## 0.4.0 (2026-04-17)

Full Changelog: [v0.3.0...v0.4.0](https://github.com/kernel/hypeman-ts/compare/v0.3.0...v0.4.0)
Expand Down
7 changes: 7 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,17 @@ Types:

- <code><a href="./src/resources/instances/instances.ts">AutoStandbyPolicy</a></code>
- <code><a href="./src/resources/instances/instances.ts">AutoStandbyStatus</a></code>
- <code><a href="./src/resources/instances/instances.ts">HealthCheck</a></code>
- <code><a href="./src/resources/instances/instances.ts">HealthCheckExec</a></code>
- <code><a href="./src/resources/instances/instances.ts">HealthCheckHTTP</a></code>
- <code><a href="./src/resources/instances/instances.ts">HealthCheckTcp</a></code>
- <code><a href="./src/resources/instances/instances.ts">Instance</a></code>
- <code><a href="./src/resources/instances/instances.ts">InstanceHealthStatus</a></code>
- <code><a href="./src/resources/instances/instances.ts">InstanceStats</a></code>
- <code><a href="./src/resources/instances/instances.ts">PathInfo</a></code>
- <code><a href="./src/resources/instances/instances.ts">PortMapping</a></code>
- <code><a href="./src/resources/instances/instances.ts">RestartPolicy</a></code>
- <code><a href="./src/resources/instances/instances.ts">RestartStatus</a></code>
- <code><a href="./src/resources/instances/instances.ts">SetSnapshotScheduleRequest</a></code>
- <code><a href="./src/resources/instances/instances.ts">SnapshotPolicy</a></code>
- <code><a href="./src/resources/instances/instances.ts">SnapshotSchedule</a></code>
Expand Down
3 changes: 0 additions & 3 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// @ts-check
import tseslint from 'typescript-eslint';
import unusedImports from 'eslint-plugin-unused-imports';
import prettier from 'eslint-plugin-prettier';

export default tseslint.config(
{
Expand All @@ -14,11 +13,9 @@ export default tseslint.config(
plugins: {
'@typescript-eslint': tseslint.plugin,
'unused-imports': unusedImports,
prettier,
},
rules: {
'no-unused-vars': 'off',
'prettier/prettier': 'error',
'unused-imports/no-unused-imports': 'error',
'no-restricted-imports': [
'error',
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onkernel/hypeman",
"version": "0.4.0",
"version": "0.5.0",
"description": "The official TypeScript library for the Hypeman API",
"author": "Hypeman <>",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -43,15 +43,14 @@
"@typescript-eslint/eslint-plugin": "8.31.1",
"@typescript-eslint/parser": "8.31.1",
"eslint": "^9.39.1",
"eslint-plugin-prettier": "^5.4.1",
"eslint-plugin-unused-imports": "^4.1.4",
"iconv-lite": "^0.6.3",
"jest": "^29.4.0",
"prettier": "^3.0.0",
"publint": "^0.2.12",
"ts-jest": "^29.1.0",
"ts-node": "^10.5.0",
"tsc-multi": "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz",
"tsc-multi": "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.11/tsc-multi.tgz",
"tsconfig-paths": "^4.0.0",
"tslib": "^2.8.1",
"typescript": "5.8.3",
Expand Down
Loading
Loading