From 9145d064670b4eb38fea6f4bf0f5c9f3b46653d2 Mon Sep 17 00:00:00 2001 From: "kernel-internal[bot]" <260533166+kernel-internal[bot]@users.noreply.github.com> Date: Fri, 14 Aug 2026 15:23:19 +0000 Subject: [PATCH 1/2] feat: Point at pending stlc seal-tracking PRs Stainless-Generated-From: 3b844df3156f6877d15d8eb40b30f5d76b62e959 --- src/resources/images.ts | 9 +++++++++ src/resources/pushes.ts | 18 ++++++++++++------ tests/api-resources/images.test.ts | 5 +++++ 3 files changed, 26 insertions(+), 6 deletions(-) diff --git a/src/resources/images.ts b/src/resources/images.ts index 7ea89f4..1422968 100644 --- a/src/resources/images.ts +++ b/src/resources/images.ts @@ -1,6 +1,7 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. import { APIResource } from '../core/resource'; +import * as PushesAPI from './pushes'; import { APIPromise } from '../core/api-promise'; import { buildHeaders } from '../internal/headers'; import { RequestOptions } from '../internal/request-options'; @@ -139,6 +140,14 @@ export interface ImageCreateParams { */ name: string; + /** + * Docker-style registry credentials borrowed for one image pull or push request. + * They remain in memory and are never persisted or logged. When omitted or empty, + * the server's own registry credentials are used. An interrupted credentialed + * operation must be retried with fresh credentials. + */ + credentials?: PushesAPI.PushCredentials; + /** * Target platform as os/arch[/variant] (e.g. "linux/amd64"), matching Docker * --platform. Omit for the host platform. Not a fixed enum: the os/arch[/variant] diff --git a/src/resources/pushes.ts b/src/resources/pushes.ts index 38a4488..76b03a7 100644 --- a/src/resources/pushes.ts +++ b/src/resources/pushes.ts @@ -61,8 +61,10 @@ export interface CreatePushRequest { target: string; /** - * Registry credentials borrowed for this push only. When omitted, the server's own - * registry credentials are used. + * Docker-style registry credentials borrowed for one image pull or push request. + * They remain in memory and are never persisted or logged. When omitted or empty, + * the server's own registry credentials are used. An interrupted credentialed + * operation must be retried with fresh credentials. */ credentials?: PushCredentials; @@ -121,8 +123,10 @@ export interface Push { } /** - * Registry credentials borrowed for this push only. When omitted, the server's own - * registry credentials are used. + * Docker-style registry credentials borrowed for one image pull or push request. + * They remain in memory and are never persisted or logged. When omitted or empty, + * the server's own registry credentials are used. An interrupted credentialed + * operation must be retried with fresh credentials. */ export interface PushCredentials { /** @@ -157,8 +161,10 @@ export interface PushCreateParams { target: string; /** - * Registry credentials borrowed for this push only. When omitted, the server's own - * registry credentials are used. + * Docker-style registry credentials borrowed for one image pull or push request. + * They remain in memory and are never persisted or logged. When omitted or empty, + * the server's own registry credentials are used. An interrupted credentialed + * operation must be retried with fresh credentials. */ credentials?: PushCredentials; diff --git a/tests/api-resources/images.test.ts b/tests/api-resources/images.test.ts index 2e2514d..9d279e2 100644 --- a/tests/api-resources/images.test.ts +++ b/tests/api-resources/images.test.ts @@ -24,6 +24,11 @@ describe('resource images', () => { test.skip('create: required and optional params', async () => { const response = await client.images.create({ name: 'docker.io/library/nginx:latest', + credentials: { + password: 'password', + registry_token: 'registry_token', + username: 'username', + }, platform: 'linux/amd64', tags: { team: 'backend', env: 'staging' }, }); From 9703e6f29b2676989ecb816746cadf2e889fcd4a Mon Sep 17 00:00:00 2001 From: "kernel-internal[bot]" <260533166+kernel-internal[bot]@users.noreply.github.com> Date: Fri, 14 Aug 2026 15:25:26 +0000 Subject: [PATCH 2/2] release: 0.7.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- src/version.ts | 2 +- 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index bcd0522..e7ca613 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.6.0" + ".": "0.7.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b98d52..b5ca173 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.7.0](https://github.com/kernel/hypeman-ts/compare/v0.6.0...v0.7.0) (2026-08-14) + + +### Features + +* Point at pending stlc seal-tracking PRs ([9145d06](https://github.com/kernel/hypeman-ts/commit/9145d064670b4eb38fea6f4bf0f5c9f3b46653d2)) + ## [0.6.0](https://github.com/kernel/hypeman-ts/compare/v0.5.1...v0.6.0) (2026-08-12) diff --git a/package-lock.json b/package-lock.json index f8ffb73..1126dc1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@onkernel/hypeman", - "version": "0.6.0", + "version": "0.7.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@onkernel/hypeman", - "version": "0.6.0", + "version": "0.7.0", "license": "Apache-2.0", "dependencies": { "dockerode": "^4.0.10", diff --git a/package.json b/package.json index 971dfb4..98efff1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@onkernel/hypeman", - "version": "0.6.0", + "version": "0.7.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 30c2817..d9da9f7 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.6.0'; // x-release-please-version +export const VERSION = '0.7.0'; // x-release-please-version