Uh oh!
There was an error while loading. Please reload this page.
CLI: Update hypeman SDK to cf8022d3a0b1dd8cabd16e1b7dde0a7b1b193b51 and add new commands/flags - #64
CLI: Update hypeman SDK to cf8022d3a0b1dd8cabd16e1b7dde0a7b1b193b51 and add new commands/flags#64kernel-internal[bot] wants to merge 5 commits into
Conversation
The SDK now accepts Docker-style registry credentials on ImageNewParams, so a private-registry image can be pulled without the server holding credentials for that registry. Expose them as --username/--password/--registry-token on `hypeman image create` and `hypeman pull`. `hypeman push create` already had the same three flags for the outbound push credentials, so both call sites now share one flag set and one builder. A full enumeration of the 61 SDK methods in api.md and their param struct fields against the CLI command tree found no other coverage gaps. Co-authored-by: Cursor <cursoragent@cursor.com>
Bump github.com/kernel/hypeman-go to 7f21c67d750f6dd66c6b6af04e88c710841f2daf, which adds the GET /capabilities resource. Expose it as `hypeman capabilities` so users can discover which runtimes and features a host actually supports instead of hard-coding hypervisor knowledge. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com> # Conflicts: # pkg/cmd/pushcmd.go
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit b91ebcf. Configure here.
| if format == "auto" || format == "" { | ||
| return showCapabilities(os.Stdout, res) | ||
| } |
There was a problem hiding this comment.
Transform ignored in default format
Medium Severity
handleCapabilities always prints the full showCapabilities table when --format is the default auto, and never applies --transform. The advertised hypeman capabilities --transform runtimes path therefore still dumps the whole summary instead of falling through to ShowJSON.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit b91ebcf. Configure here.
Bumps github.com/kernel/hypeman-go to ea5a7f8d0d069b51e10189a8d0196f6155aaa4a8. A full enumeration of api.md against the pkg/cmd command tree found every SDK method already reachable from the CLI, but the SDK bump adds instance TTL / absolute expiration to InstanceNewParams and InstanceUpdateParams, which had no CLI surface. Expose them as --ttl and --expires-at on `hypeman run` and a new `hypeman update expiration` subcommand, rejecting the mutually exclusive combination and malformed values before the API round trip. Co-authored-by: Cursor <cursoragent@cursor.com>
Pin the CLI to the tagged v0.26.0 release of github.com/kernel/hypeman-go instead of the pseudo-version for the unreleased ea5a7f8d commit. A full enumeration of api.md methods and their param structs against the CLI command tree found no coverage gaps: all 62 SDK methods and every param field already map to an existing command or flag. Co-authored-by: Cursor <cursoragent@cursor.com>


This PR updates the Hypeman Go SDK to cf8022d3a0b1dd8cabd16e1b7dde0a7b1b193b51 (released as
v0.26.0) and carries the CLI commands/flags added for new SDK methods on this evergreen branch.SDK Update
v0.25.1-0.20260821204035-ea5a7f8d0d06->v0.26.0)cf8022dis the release commit forv0.26.0, which tags the already-vendoredea5a7f8dtree. It contains no API surface changes, so this bump moves the CLI off a pseudo-version and onto the tagged release.Coverage Analysis
A full enumeration of SDK methods and CLI commands was performed for this SDK version:
api.md(62 across Health, Capabilities, Images, Instances, Instances.AutoStandby, Instances.Volumes, Instances.Snapshots, Instances.SnapshotSchedule, Snapshots, Volumes, Devices, Ingresses, Resources, Builders, Builds, and Pushes) is invoked by the CLI.*Paramsstruct, including the nestedAutoStandbyPolicyParam,HealthCheckParam,RestartPolicyParam,SnapshotPolicyParam,VolumeMountParam,IngressRuleParam,MemoryReclaimRequestParam,CreatePushRequestParam, andSnapshotCompressionConfigParamshapes, maps to a CLI flag or positional argument.openapi.yamlcontains nox-cli-skipendpoints.No new coverage gaps were found for this SDK version.
Commands and Flags On This Branch
Accumulated from earlier runs against
main:hypeman capabilitiesforclient.Capabilities.Get()--username,--password,--registry-tokenonhypeman image createandhypeman pullforImageNewParams.Credentials--ttland--expires-atonhypeman runforInstanceNewParams.Ttl/InstanceNewParams.ExpiresAthypeman update expiration --ttl/--expires-atforInstanceUpdateParams.Ttl/InstanceUpdateParams.ExpiresAtTriggered by: kernel/hypeman-go@cf8022d
Reviewer: @stainless-app[bot]