diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 40ff6fe..466df71 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.0.2" + ".": "0.1.0" } diff --git a/.stats.yml b/.stats.yml index 377ee95..4838a30 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 30 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fhypeman-28e78b73c796f9ee866671ed946402b5d569e683c3207d57c9143eb7d6f83fb6.yml -openapi_spec_hash: fce0ac8713369a5f048bac684ed34fc8 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fhypeman-cfdd18a303e2e6c87d671e6ae3ecdcd1d9642b053c2ef6bc507eee3f55cc6aa8.yml +openapi_spec_hash: 0b038c955d95740ace74103a9c18d5a3 config_hash: f65a6a2bcef49a9f623212f9de6d6f6f diff --git a/CHANGELOG.md b/CHANGELOG.md index 9322ccd..96b1ee5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## 0.1.0 (2025-12-23) + +Full Changelog: [v0.0.2...v0.1.0](https://github.com/onkernel/hypeman-ts/compare/v0.0.2...v0.1.0) + +### Features + +* add cpToInstance and cpFromInstance functions ([113b412](https://github.com/onkernel/hypeman-ts/commit/113b4129c3bcca7f2ba8cc1c590542a00ad873a0)) +* add hypeman cp for file copy to/from running VMs ([0ee9f4a](https://github.com/onkernel/hypeman-ts/commit/0ee9f4a86ea8a6a94b896ce66cf7dc90a8d7c296)) +* **api:** add autogenerated stat endpoint from Stainless ([38c9dbd](https://github.com/onkernel/hypeman-ts/commit/38c9dbdf9a129b434b7c9246d321da6b6f9ed2d4)) +* QEMU support ([8f0f4f4](https://github.com/onkernel/hypeman-ts/commit/8f0f4f4b0cf1723af0cd79e549f4aacaa9c6584b)) + + +### Bug Fixes + +* **cp:** address bugbot review comments ([ba6c287](https://github.com/onkernel/hypeman-ts/commit/ba6c2876049bae125951dbe363f5d6deabaaf03f)) + + +### Chores + +* sync repo ([75f4200](https://github.com/onkernel/hypeman-ts/commit/75f4200bb4c22d85be3ab8b065078ee1165cfa22)) + ## 0.0.2 (2025-12-22) Full Changelog: [v0.0.1...v0.0.2](https://github.com/onkernel/hypeman-ts/compare/v0.0.1...v0.0.2) diff --git a/package.json b/package.json index ac37d1e..c9129a2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@onkernel/hypeman", - "version": "0.0.2", + "version": "0.1.0", "description": "The official TypeScript library for the Hypeman API", "author": "Hypeman <>", "types": "dist/index.d.ts", diff --git a/src/resources/instances/instances.ts b/src/resources/instances/instances.ts index 8969430..9efb40e 100644 --- a/src/resources/instances/instances.ts +++ b/src/resources/instances/instances.ts @@ -208,6 +208,11 @@ export interface Instance { */ hotplug_size?: string; + /** + * Hypervisor running this instance + */ + hypervisor?: 'cloud-hypervisor' | 'qemu'; + /** * Network configuration of the instance */ @@ -392,6 +397,11 @@ export interface InstanceCreateParams { */ hotplug_size?: string; + /** + * Hypervisor to use for this instance. Defaults to server configuration. + */ + hypervisor?: 'cloud-hypervisor' | 'qemu'; + /** * Network configuration for the instance */ diff --git a/src/version.ts b/src/version.ts index b04c289..1baa228 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.0.2'; // x-release-please-version +export const VERSION = '0.1.0'; // x-release-please-version diff --git a/tests/api-resources/instances/instances.test.ts b/tests/api-resources/instances/instances.test.ts index e33a824..a5fd658 100644 --- a/tests/api-resources/instances/instances.test.ts +++ b/tests/api-resources/instances/instances.test.ts @@ -31,6 +31,7 @@ describe('resource instances', () => { devices: ['l4-gpu'], env: { PORT: '3000', NODE_ENV: 'production' }, hotplug_size: '2GB', + hypervisor: 'cloud-hypervisor', network: { enabled: true }, overlay_size: '20GB', size: '2GB',