diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 6b7b74c..da59f99 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.3.0" + ".": "0.4.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 1eb1c77..e97e7e3 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ -configured_endpoints: 19 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fhypeman-5e2239ba23ac3dbbc95b8993a491e99e9fd23fed2e6ea9cecb81b83bf34a00ff.yml -openapi_spec_hash: 4708504f9119289926b3341d083a1814 -config_hash: 45d3d945ce8eea7a52c8ead4c03fcf3c +configured_endpoints: 18 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fhypeman-5058541cc0e298a6fc3e9cda1af0e32586d1f39c5666946e15f546c1aedc18ea.yml +openapi_spec_hash: 7f572ac0c7f9dc4f5fc7d9883a53d6c7 +config_hash: 35db4c99791f175865381f13a8ad6075 diff --git a/CHANGELOG.md b/CHANGELOG.md index 23c8747..7886e3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.4.0 (2025-11-26) + +Full Changelog: [v0.3.0...v0.4.0](https://github.com/onkernel/hypeman-cli/compare/v0.3.0...v0.4.0) + +### Features + +* Remove exec from openapi spec ([6bde031](https://github.com/onkernel/hypeman-cli/commit/6bde031264de6cd6b17afe32f73a70bf14c2f36d)) + ## 0.3.0 (2025-11-26) Full Changelog: [v0.2.0...v0.3.0](https://github.com/onkernel/hypeman-cli/compare/v0.2.0...v0.3.0) diff --git a/pkg/cmd/instance.go b/pkg/cmd/instance.go index 59128ac..3e099af 100644 --- a/pkg/cmd/instance.go +++ b/pkg/cmd/instance.go @@ -81,18 +81,6 @@ var instancesDelete = cli.Command{ HideHelpCommand: true, } -var instancesExecuteCommand = cli.Command{ - Name: "execute-command", - Usage: "Upgrades to WebSocket for bidirectional streaming for shell access.", - Flags: []cli.Flag{ - &cli.StringFlag{ - Name: "id", - }, - }, - Action: handleInstancesExecuteCommand, - HideHelpCommand: true, -} - var instancesPutInStandby = cli.Command{ Name: "put-in-standby", Usage: "Put instance in standby (pause, snapshot, delete VMM)", @@ -238,23 +226,6 @@ func handleInstancesDelete(ctx context.Context, cmd *cli.Command) error { ) } -func handleInstancesExecuteCommand(ctx context.Context, cmd *cli.Command) error { - client := hypeman.NewClient(getDefaultRequestOptions(cmd)...) - unusedArgs := cmd.Args().Slice() - if !cmd.IsSet("id") && len(unusedArgs) > 0 { - cmd.Set("id", unusedArgs[0]) - unusedArgs = unusedArgs[1:] - } - if len(unusedArgs) > 0 { - return fmt.Errorf("Unexpected extra arguments: %v", unusedArgs) - } - return client.Instances.ExecuteCommand( - ctx, - cmd.Value("id").(string), - option.WithMiddleware(debugMiddleware(cmd.Bool("debug"))), - ) -} - func handleInstancesPutInStandby(ctx context.Context, cmd *cli.Command) error { client := hypeman.NewClient(getDefaultRequestOptions(cmd)...) unusedArgs := cmd.Args().Slice() diff --git a/pkg/cmd/version.go b/pkg/cmd/version.go index 5266c84..b113456 100644 --- a/pkg/cmd/version.go +++ b/pkg/cmd/version.go @@ -2,4 +2,4 @@ package cmd -const Version = "0.3.0" // x-release-please-version +const Version = "0.4.0" // x-release-please-version