From 335e04dd5938e5b26b47a8f55bf7311661a0d9a5 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Thu, 9 Apr 2026 10:20:46 +0000
Subject: [PATCH 1/3] chore(internal): codegen related update
---
src/internal/utils/env.ts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/internal/utils/env.ts b/src/internal/utils/env.ts
index 2d84800..cc5fa0f 100644
--- a/src/internal/utils/env.ts
+++ b/src/internal/utils/env.ts
@@ -9,10 +9,10 @@
*/
export const readEnv = (env: string): string | undefined => {
if (typeof (globalThis as any).process !== 'undefined') {
- return (globalThis as any).process.env?.[env]?.trim() ?? undefined;
+ return (globalThis as any).process.env?.[env]?.trim() || undefined;
}
if (typeof (globalThis as any).Deno !== 'undefined') {
- return (globalThis as any).Deno.env?.get?.(env)?.trim();
+ return (globalThis as any).Deno.env?.get?.(env)?.trim() || undefined;
}
return undefined;
};
From 17ba61619c5c6d8112c06cc371d54f6206d1b650 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Fri, 17 Apr 2026 15:54:02 +0000
Subject: [PATCH 2/3] feat: Add standby compression start delay
---
.stats.yml | 6 +--
api.md | 1 +
src/client.ts | 2 +
src/resources/index.ts | 1 +
src/resources/instances/index.ts | 1 +
src/resources/instances/instances.ts | 37 ++++++++++++++++++-
.../api-resources/instances/instances.test.ts | 2 +
7 files changed, 45 insertions(+), 5 deletions(-)
diff --git a/.stats.yml b/.stats.yml
index ef1f4c6..f729551 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -1,4 +1,4 @@
configured_endpoints: 52
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fhypeman-52bc64e89c8406b774158cdb7fdb239dd4c39e6bace06b32e5224b82462f9ffe.yml
-openapi_spec_hash: 647ddb91aa6aca7034f2015071c30ce6
-config_hash: d81afc6f4fabf65fc9291db9ddd79f87
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fhypeman-c6da5deb317c83b7a10434593eb22ec7cb27009aba0b92efaefbbe21884054ad.yml
+openapi_spec_hash: ff73a0e1f7a8bd5a5d1ae38d994bb9cd
+config_hash: ed668fae8826ff533f38df16c9664f44
diff --git a/api.md b/api.md
index 7cba1f7..9406a44 100644
--- a/api.md
+++ b/api.md
@@ -42,6 +42,7 @@ Types:
- SnapshotPolicy
- SnapshotSchedule
- SnapshotScheduleRetention
+- StandbyInstanceRequest
- VolumeMount
- WaitForStateResponse
- InstanceListResponse
diff --git a/src/client.ts b/src/client.ts
index f92b1b2..46b9403 100644
--- a/src/client.ts
+++ b/src/client.ts
@@ -104,6 +104,7 @@ import {
SnapshotPolicy,
SnapshotSchedule,
SnapshotScheduleRetention,
+ StandbyInstanceRequest,
VolumeMount,
WaitForStateResponse,
} from './resources/instances/instances';
@@ -849,6 +850,7 @@ export declare namespace Hypeman {
type SnapshotPolicy as SnapshotPolicy,
type SnapshotSchedule as SnapshotSchedule,
type SnapshotScheduleRetention as SnapshotScheduleRetention,
+ type StandbyInstanceRequest as StandbyInstanceRequest,
type VolumeMount as VolumeMount,
type WaitForStateResponse as WaitForStateResponse,
type InstanceListResponse as InstanceListResponse,
diff --git a/src/resources/index.ts b/src/resources/index.ts
index 4713806..250ab3c 100644
--- a/src/resources/index.ts
+++ b/src/resources/index.ts
@@ -53,6 +53,7 @@ export {
type SnapshotPolicy,
type SnapshotSchedule,
type SnapshotScheduleRetention,
+ type StandbyInstanceRequest,
type VolumeMount,
type WaitForStateResponse,
type InstanceListResponse,
diff --git a/src/resources/instances/index.ts b/src/resources/instances/index.ts
index 620f42d..8095031 100644
--- a/src/resources/instances/index.ts
+++ b/src/resources/instances/index.ts
@@ -13,6 +13,7 @@ export {
type SnapshotPolicy,
type SnapshotSchedule,
type SnapshotScheduleRetention,
+ type StandbyInstanceRequest,
type VolumeMount,
type WaitForStateResponse,
type InstanceListResponse,
diff --git a/src/resources/instances/instances.ts b/src/resources/instances/instances.ts
index 2106761..b5cf917 100644
--- a/src/resources/instances/instances.ts
+++ b/src/resources/instances/instances.ts
@@ -665,6 +665,13 @@ export interface SetSnapshotScheduleRequest {
export interface SnapshotPolicy {
compression?: Shared.SnapshotCompressionConfig;
+
+ /**
+ * Delay before standby snapshot compression begins, expressed as a Go duration
+ * like "30s" or "5m". Applies only to standby compression and defaults to
+ * immediate start when omitted.
+ */
+ standby_compression_delay?: string;
}
export interface SnapshotSchedule {
@@ -740,6 +747,20 @@ export interface SnapshotScheduleRetention {
max_count?: number;
}
+export interface StandbyInstanceRequest {
+ /**
+ * Compression settings for standby snapshot memory. Overrides instance defaults.
+ */
+ compression?: Shared.SnapshotCompressionConfig;
+
+ /**
+ * Delay before standby snapshot compression begins, expressed as a Go duration
+ * like "30s" or "5m". Overrides the instance default for this standby operation
+ * only.
+ */
+ compression_delay?: string;
+}
+
export interface VolumeMount {
/**
* Path where volume is mounted in the guest
@@ -890,8 +911,9 @@ export interface InstanceCreateParams {
skip_kernel_headers?: boolean;
/**
- * Snapshot compression policy for this instance. Controls compression settings
- * applied when creating snapshots or entering standby.
+ * Snapshot policy for this instance. Controls compression settings applied when
+ * creating snapshots or entering standby, plus any default standby-only
+ * compression delay.
*/
snapshot_policy?: SnapshotPolicy;
@@ -1107,7 +1129,17 @@ export interface InstanceLogsParams {
}
export interface InstanceStandbyParams {
+ /**
+ * Compression settings for standby snapshot memory. Overrides instance defaults.
+ */
compression?: Shared.SnapshotCompressionConfig;
+
+ /**
+ * Delay before standby snapshot compression begins, expressed as a Go duration
+ * like "30s" or "5m". Overrides the instance default for this standby operation
+ * only.
+ */
+ compression_delay?: string;
}
export interface InstanceStartParams {
@@ -1163,6 +1195,7 @@ export declare namespace Instances {
type SnapshotPolicy as SnapshotPolicy,
type SnapshotSchedule as SnapshotSchedule,
type SnapshotScheduleRetention as SnapshotScheduleRetention,
+ type StandbyInstanceRequest as StandbyInstanceRequest,
type VolumeMount as VolumeMount,
type WaitForStateResponse as WaitForStateResponse,
type InstanceListResponse as InstanceListResponse,
diff --git a/tests/api-resources/instances/instances.test.ts b/tests/api-resources/instances/instances.test.ts
index ccfb9e1..026dc88 100644
--- a/tests/api-resources/instances/instances.test.ts
+++ b/tests/api-resources/instances/instances.test.ts
@@ -72,6 +72,7 @@ describe('resource instances', () => {
algorithm: 'zstd',
level: 1,
},
+ standby_compression_delay: '2m',
},
tags: { team: 'backend', env: 'staging' },
vcpus: 2,
@@ -234,6 +235,7 @@ describe('resource instances', () => {
algorithm: 'zstd',
level: 1,
},
+ compression_delay: '45s',
},
{ path: '/_stainless_unknown_path' },
),
From 7697def2c99decab73c9a0e66132659b449f15d4 Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Fri, 17 Apr 2026 15:54:40 +0000
Subject: [PATCH 3/3] release: 0.4.0
---
.release-please-manifest.json | 2 +-
CHANGELOG.md | 13 +++++++++++++
package-lock.json | 4 ++--
package.json | 2 +-
src/version.ts | 2 +-
5 files changed, 18 insertions(+), 5 deletions(-)
diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 0ee8c01..2537c1f 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.3.0"
+ ".": "0.4.0"
}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2ecd74d..ec29b02 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,18 @@
# Changelog
+## 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)
+
+### Features
+
+* Add standby compression start delay ([17ba616](https://github.com/kernel/hypeman-ts/commit/17ba61619c5c6d8112c06cc371d54f6206d1b650))
+
+
+### Chores
+
+* **internal:** codegen related update ([335e04d](https://github.com/kernel/hypeman-ts/commit/335e04dd5938e5b26b47a8f55bf7311661a0d9a5))
+
## 0.3.0 (2026-04-07)
Full Changelog: [v0.2.2...v0.3.0](https://github.com/kernel/hypeman-ts/compare/v0.2.2...v0.3.0)
diff --git a/package-lock.json b/package-lock.json
index 2413669..53ff0a3 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@onkernel/hypeman",
- "version": "0.3.0",
+ "version": "0.4.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@onkernel/hypeman",
- "version": "0.3.0",
+ "version": "0.4.0",
"license": "Apache-2.0",
"dependencies": {
"dockerode": "^4.0.10",
diff --git a/package.json b/package.json
index 67ec96c..f3b4aa3 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@onkernel/hypeman",
- "version": "0.3.0",
+ "version": "0.4.0",
"description": "The official TypeScript library for the Hypeman API",
"author": "Hypeman <>",
"types": "dist/index.d.ts",
diff --git a/src/version.ts b/src/version.ts
index 88f4d40..4e7f788 100644
--- a/src/version.ts
+++ b/src/version.ts
@@ -1 +1 @@
-export const VERSION = '0.3.0'; // x-release-please-version
+export const VERSION = '0.4.0'; // x-release-please-version