Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
a369af6
chore(internal): more robust bootstrap script
stainless-app[bot] Apr 23, 2026
c8083ea
chore(internal): codegen related update
stainless-app[bot] Apr 28, 2026
8c41637
feat: support setting headers via env
stainless-app[bot] Apr 28, 2026
035aa83
chore(format): run eslint and prettier separately
stainless-app[bot] Apr 29, 2026
26d50bf
codegen metadata
stainless-app[bot] Apr 30, 2026
d235365
codegen metadata
stainless-app[bot] May 1, 2026
a985151
chore: redact api-key headers in debug logs
stainless-app[bot] May 8, 2026
8da2e87
feat: Track per-phase duration on each instance
stainless-app[bot] May 12, 2026
9f2da88
ci: pin GitHub Actions to commit SHAs
stainless-app[bot] May 13, 2026
09a28d5
feat: Model template as an instance state instead of a separate registry
stainless-app[bot] May 14, 2026
549ddec
feat: Revert template state model
stainless-app[bot] May 18, 2026
a14bf8c
feat: Add instance health checks
stainless-app[bot] May 18, 2026
adb5d8c
feat: Add instance restart policy
stainless-app[bot] May 18, 2026
85aa1c8
chore(tests): remove redundant File import
stainless-app[bot] May 19, 2026
c543e44
fix(typescript): upgrade tsc-multi so that it works with Node 26
stainless-app[bot] May 19, 2026
4ed6797
feat: Add design proposal: Rosetta x86-64 emulation for vz Linux guests
stainless-app[bot] Jun 9, 2026
0b1bd07
fix(client): send content-type header for requests with an omitted op…
stainless-app[bot] Jun 17, 2026
4db99ac
fix(ci): bump @arethetypeswrong/cli to ^0.18.0 and run CI workflows o…
stainless-app[bot] Jul 11, 2026
ffbb89c
feat(stlc): configurable CI runner and private-production-repo suppor…
stainless-app[bot] Jul 18, 2026
6fa26f2
release: 0.5.0
stainless-app[bot] Jul 18, 2026
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
32 changes: 16 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ jobs:
lint:
timeout-minutes: 10
name: lint
runs-on: ${{ github.repository == 'stainless-sdks/hypeman-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
runs-on: ${{ startsWith(github.repository, 'stainless-sdks/') && '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'
node-version: '24'

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

Expand All @@ -42,21 +42,21 @@ jobs:
build:
timeout-minutes: 5
name: build
runs-on: ${{ github.repository == 'stainless-sdks/hypeman-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
runs-on: ${{ startsWith(github.repository, 'stainless-sdks/') && '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')
permissions:
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'
node-version: '24'

- 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 @@ -87,18 +87,18 @@ jobs:
test:
timeout-minutes: 10
name: test
runs-on: ${{ github.repository == 'stainless-sdks/hypeman-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
runs-on: ${{ startsWith(github.repository, 'stainless-sdks/') && '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'
node-version: '24'

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

Expand Down
8 changes: 4 additions & 4 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'
node-version: '24'

- 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-6c73c988bf5930a45cafe6d304d97479842354d4181bc77f2aa39838b531d431.yml
openapi_spec_hash: 1bcecb92c1a31dcb09a659272be61633
config_hash: 99e93e381d8384de5a44c6eeed4bd4b1
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# Changelog

## 0.5.0 (2026-07-18)

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

### Features

* Add design proposal: Rosetta x86-64 emulation for vz Linux guests ([4ed6797](https://github.com/kernel/hypeman-ts/commit/4ed67979a2ec71e383a4b57c8c25dab014e3b1fa))
* 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))
* **stlc:** configurable CI runner and private-production-repo support in workflow templates ([ffbb89c](https://github.com/kernel/hypeman-ts/commit/ffbb89c12646f69d6ceaaf30b0cbb5cb76609f10))
* 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

* **ci:** bump @arethetypeswrong/cli to ^0.18.0 and run CI workflows on Node 24 ([4db99ac](https://github.com/kernel/hypeman-ts/commit/4db99acc7c4cf0fa1e8a303d663d89ac060d9de1))
* **client:** send content-type header for requests with an omitted optional body ([0b1bd07](https://github.com/kernel/hypeman-ts/commit/0b1bd07d39c4c8f0b199bb175222e124467ca3ef))
* 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.

7 changes: 3 additions & 4 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 @@ -32,7 +32,7 @@
"ws": "^8.18.3"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.0",
"@arethetypeswrong/cli": "^0.18.0",
"@swc/core": "^1.3.102",
"@swc/jest": "^0.2.29",
"@types/dockerode": "^4.0.1",
Expand All @@ -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