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
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.6.0"
".": "0.7.0"
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)


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.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
9 changes: 9 additions & 0 deletions src/resources/images.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -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]
Expand Down
18 changes: 12 additions & 6 deletions src/resources/pushes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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 {
/**
Expand Down Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.6.0'; // x-release-please-version
export const VERSION = '0.7.0'; // x-release-please-version
5 changes: 5 additions & 0 deletions tests/api-resources/images.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
});
Expand Down
Loading