CLI: Update hypeman SDK to 458c6a08c9db195425776427cc42690d987f8e5c and add new commands/flags#46
Conversation
…nd add new commands/flags Bump the CLI to the latest hypeman-go release and close the remaining SDK coverage gaps for auto-standby, snapshot schedules, and instance wait operations. Made-with: Cursor
Add human-readable default (auto) output for wait, auto-standby status, and snapshot schedule set/get commands, matching the pattern used by resources and reclaim-memory. JSON output remains available via --format json for scripting. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
| policy.Enabled = hypeman.Opt(cmd.Bool(enabledFlag)) | ||
| } else { | ||
| policy.Enabled = hypeman.Opt(true) | ||
| } |
There was a problem hiding this comment.
Update command implicitly forces auto-standby enabled
Medium Severity
The buildAutoStandbyPolicy function defaults auto-standby to enabled=true if the --enabled flag isn't explicitly set, even when other policy flags are present. While suitable for instance creation, this can silently re-enable auto-standby on instances where it was intentionally disabled if a user updates another policy setting.
Reviewed by Cursor Bugbot for commit de05818. Configure here.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 9b616c5. Configure here.


This PR updates the Hypeman Go SDK to 458c6a08c9db195425776427cc42690d987f8e5c and adds CLI commands/flags for new SDK methods.
SDK Update
Coverage Analysis
This PR was generated by performing a full enumeration of SDK methods and CLI commands.
New Commands
hypeman waitforclient.Instances.Wait()hypeman auto-standby statusforclient.Instances.AutoStandby.Status()hypeman update auto-standbyforclient.Instances.Update()auto-standby fieldshypeman snapshot schedule set|get|deleteforclient.Instances.SnapshotSchedule.Update(),Get(), andDelete()New Flags
--auto-standby-enabled,--auto-standby-idle-timeout,--auto-standby-ignore-destination-port, and--auto-standby-ignore-source-cidronhypeman runforInstanceNewParams.AutoStandby--enabled,--idle-timeout,--ignore-destination-port, and--ignore-source-cidronhypeman update auto-standbyforInstanceUpdateParams.AutoStandby--interval,--max-age,--max-count,--name-prefix, and--metadataonhypeman snapshot schedule setforSetSnapshotScheduleRequestParamTriggered by: kernel/hypeman-go@458c6a0
Reviewer: @stainless-app[bot]
Made with Cursor
Note
Medium Risk
Adds several new CLI flows that call instance update/wait and scheduled snapshot APIs, plus new
runflags that affect instance lifecycle behavior. Risk is moderate because it changes user-facing behavior and request payloads, but is largely additive and gated behind new commands/flags.Overview
Updates
github.com/kernel/hypeman-gotov0.17.0and wires new SDK capabilities into the CLI.Adds new commands:
hypeman wait(poll instance state with optional timeout),hypeman auto-standby status(inspect auto-standby status), andhypeman snapshot schedule set|get|delete(manage per-instance scheduled snapshots with retention and metadata).Extends
hypeman runandhypeman updateto support configuring an instance auto-standby policy (enabled/idle timeout/ignore ports/ignore source CIDRs), including validation helpers and small unit tests for state/port parsing.Reviewed by Cursor Bugbot for commit 9b616c5. Bugbot is set up for automated code reviews on this repo. Configure here.