Tags: kernel/hypeman-cli
Tags
CLI: Update hypeman SDK to dbfca4d314b8de6004c75da801e233752d9d798b a… …nd add new commands/flags (#60) * CLI: add builder commands and `build --builder` for the Builders API The staging SDK (kernel/hypeman-go@3d2b0a55) adds a Builders resource (POST/GET /builders, GET/DELETE /builders/{id}, POST /builders/{id}/prune) and BuildNewParams.BuilderID, so builds can reuse a persistent cache disk. That commit lives only in the private kernel/hypeman-go-staging repo and is not resolvable as github.com/kernel/hypeman-go, so go.mod stays on b0c2df62be94 (already the newest published revision). To ship the coverage now, these commands call /builders through the client's generic request methods and pass builder_id as a multipart extra field. Both are marked to move to client.Builders.* and params.BuilderID once the SDK publishes. A full enumeration of api.md against pkg/cmd/ found no other gaps. Co-authored-by: Cursor <cursoragent@cursor.com> * CLI: update hypeman SDK to 3d2b0a5 and use typed Builders service The SDK now generates a BuilderService and a builder_id field on BuildNewParams, so the builder commands no longer need to reach the /builders endpoints through the client's generic request methods and `build --builder` no longer needs to smuggle builder_id through extra fields. Requesting the raw response body leaves the typed result nil, so the handlers that read fields off the response only ask for it in the formats that render the response verbatim. Co-authored-by: Cursor <cursoragent@cursor.com> * CLI: update hypeman SDK to v0.23.0 Bumps github.com/kernel/hypeman-go to v0.23.0 (dbfca4d). A full enumeration of api.md methods and their param structs against the CLI command tree found no coverage gaps, so no command or flag changes are needed. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: kernel-internal[bot] <260533166+kernel-internal[bot]@users.noreply.github.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Add compose Dockerfile builds (#52) * Add compose Dockerfile builds * Use build outputs for compose Dockerfile services * Render compose interpolation recursively * Wait for built compose images * Include dockerignore in compose build hashes * Honor dockerignore in compose builds --------- Co-authored-by: sjmiller609 <7516283+sjmiller609@users.noreply.github.com>
CLI: Update hypeman SDK to 458c6a08c9db195425776427cc42690d987f8e5c a… …nd add new commands/flags (#46) * CLI: Update hypeman SDK to 458c6a08c9db195425776427cc42690d987f8e5c and 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 * Match output format conventions for new commands 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> * Match output format conventions for update auto-standby command Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: kernel-internal[bot] <260533166+kernel-internal[bot]@users.noreply.github.com> Co-authored-by: sjmiller609 <7516283+sjmiller609@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
CLI: Update hypeman SDK to 508a8c69feb30aa3e3ce115b4037b564ad9a3cda a… …nd add new commands/flags (#43) * CLI: Update hypeman SDK to 508a8c69feb30aa3e3ce115b4037b564ad9a3cda and add new commands/flags Bump the CLI to the latest hypeman-go revision and expand command/flag coverage for newly exposed SDK methods, including snapshots, instance stats/update, memory reclaim, and tag/compression options. Made-with: Cursor * Fix ps tag parsing test * Normalize compression algorithm parsing * Rename update command for egress credentials * Default egress enabled when mode is set --------- Co-authored-by: kernel-internal[bot] <260533166+kernel-internal[bot]@users.noreply.github.com> Co-authored-by: Steven Miller <sjmiller609@gmail.com>
CLI: Update Hypeman Go SDK to 9cd8f5ca0926682c2f1c1148adf3f5d1e289b7f6 ( #41) * CLI: Update Hypeman Go SDK to fae578c6868a3ad232e67a8bd323b9fb307451d3 Update hypeman-go dependency from v0.11.0 to v0.11.1. A full enumeration of SDK methods and CLI commands was performed. No coverage gaps were found - all SDK methods have corresponding CLI commands and all param fields have corresponding flags. Co-authored-by: Cursor <cursoragent@cursor.com> * CLI: Update hypeman SDK to 40bbd485e7 and add --state/--metadata flags to ps - Updated hypeman-go to v0.12.0 (40bbd485e7a89cd21ae08554502e9dedf4999efc) - Added --state flag to `hypeman ps` for server-side state filtering - Added --metadata flag to `hypeman ps` for metadata key-value filtering - Updated Instances.List calls to pass InstanceListParams (new required param) Made-with: Cursor * CLI: Update hypeman SDK to 1f34cf2541 and add --cpus/--memory flags to build Update hypeman-go SDK from v0.12.0 to v0.13.0 (1f34cf2541337d9ec4a39f74581bba9cdcb1ec1b). Add missing CLI flags for BuildNewParams fields: - --cpus: Number of vCPUs for builder VM - --memory: Memory limit for builder VM in MB Made-with: Cursor * CLI: Update Hypeman Go SDK to 9cd8f5ca0926682c2f1c1148adf3f5d1e289b7f6 Update hypeman-go dependency from v0.13.0 to v0.14.0. Full coverage analysis performed: all SDK methods have corresponding CLI commands and all param fields have corresponding CLI flags. No coverage gaps found. Made-with: Cursor * fix ps filtering and metadata handling * add inspect and fork commands with sdk-based calls * Hide envs by default on output * show id of forked vm --------- Co-authored-by: kernel-internal[bot] <260533166+kernel-internal[bot]@users.noreply.github.com> Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Steven Miller <sjmiller609@gmail.com>
feat: add YAML config file support via koanf (#40) * feat: add YAML config file support via koanf Add ~/.config/hypeman/cli.yaml support so the CLI can read base_url and api_key from a config file instead of requiring environment variables. Config precedence: CLI flags > env vars > config file. This pairs with the server-side config migration in kernel/hypeman to enable a zero-config local experience after running install.sh. * fix: unify credential resolution across all commands - Add resolveBaseURL() and resolveAPIKey() helpers to config.go - Update exec, cp, and push commands to use shared helpers - All commands now consistently use: flag > env > config file - WebSocket commands no longer bypass cli.yaml configuration * fix: unify auth precedence in SDK and WebSocket paths Update getDefaultRequestOptions to use resolveBaseURL() and resolveAPIKey() so SDK calls and WebSocket calls share the same HYPEMAN_BEARER_TOKEN > HYPEMAN_API_KEY > config file precedence. * fix: give HYPEMAN_API_KEY precedence over HYPEMAN_BEARER_TOKEN HYPEMAN_API_KEY is the documented primary env var. HYPEMAN_BEARER_TOKEN is a legacy fallback and should not override it. * chore: remove internal process comment from cmdutil.go * refactor: use koanf env provider for HYPEMAN_ env vars Load HYPEMAN_BASE_URL and HYPEMAN_API_KEY via koanf's env provider in loadCLIConfig() instead of manual os.Getenv checks. This gives consistent precedence (env > config file) in one place. HYPEMAN_BEARER_TOKEN remains as a legacy fallback checked separately. * refactor: remove legacy HYPEMAN_BEARER_TOKEN support
PreviousNext