Tags: kernel/hypeman-cli
Tags
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 <[email protected]>
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 <[email protected]> * Match output format conventions for update auto-standby command Co-Authored-By: Claude Opus 4.6 <[email protected]> --------- Co-authored-by: kernel-internal[bot] <260533166+kernel-internal[bot]@users.noreply.github.com> Co-authored-by: sjmiller609 <[email protected]> Co-authored-by: Claude Opus 4.6 <[email protected]>
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 <[email protected]>
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 <[email protected]> * 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 <[email protected]> Co-authored-by: Steven Miller <[email protected]>
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
CLI: Update hypeman SDK to a63ff054a3 and add --image-name flag (#39) - Updated hypeman-go to v0.11.0 (a63ff054a3ddb27eb3031d0750c86b67047cf0dc) - Added --image-name flag to `hypeman build` for BuildNewParams.ImageName Co-authored-by: kernel-internal[bot] <260533166+kernel-internal[bot]@users.noreply.github.com> Co-authored-by: Cursor <[email protected]>
CLI: Update hypeman SDK to 0adb0e3 and add new flags (#38) Update hypeman-go SDK to v0.10.0 (0adb0e3cc613f8f889d2d600ff06f1158de29b1c). New flags: - --entrypoint on `hypeman run` for InstanceNewParams.Entrypoint - --cmd on `hypeman run` for InstanceNewParams.Cmd - --metadata on `hypeman run` for InstanceNewParams.Metadata - --entrypoint on `hypeman start` for InstanceStartParams.Entrypoint - --cmd on `hypeman start` for InstanceStartParams.Cmd Fix: `hypeman start` now passes InstanceStartParams as required by the updated SDK signature. Co-authored-by: kernel-internal[bot] <260533166+kernel-internal[bot]@users.noreply.github.com> Co-authored-by: Cursor <[email protected]>
PreviousNext