Tags: kernel/cli
Tags
CLI: Update SDK to 5e56fc5d99a6a64596f09f85c1530fa51f9d7a7a and add n… …ew commands/flags (#139) This PR updates the Go SDK to 5e56fc5d99a6a64596f09f85c1530fa51f9d7a7a and adds CLI commands/flags for new SDK methods. ## SDK Update - Updated kernel-go-sdk to 5e56fc5d99a6a64596f09f85c1530fa51f9d7a7a ## Coverage Analysis This PR was generated by performing a full enumeration of SDK methods and CLI commands. ## New Commands - `kernel deploy get` for `client.Deployments.Get()` - `kernel invoke get`, `kernel invoke update`, and `kernel invoke delete-browsers` for the corresponding invocation SDK methods - `kernel auth connections update` for `client.AuthConnections.Update()` ## New Flags - `--region` for `kernel deploy` and `kernel deploy github` - `--app-version` for `kernel deploy history` - `--since` for async `kernel invoke`, plus `--action`, `--deployment-id`, `--offset`, `--since`, and `--status` for `kernel invoke history` - `--query` for `kernel app list` - `--invocation-id` for `kernel browsers create` and `--include-deleted` for `kernel browsers get` - `--name` for `kernel credential-providers create` and `kernel credential-providers update` - `--sign-in-option-id` and `--sso-provider` for `kernel auth connections submit`, plus the new update flags for `kernel auth connections update` Triggered by: kernel/kernel-go-sdk@5e56fc5 Reviewer: @masnwilliams Made with [Cursor](https://cursor.com) <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > Moderate risk: expands CLI surface area and request parameter mapping across deployments/invocations/auth connections, which could break workflows if flags or validation are incorrect, but changes are mostly additive and covered by new unit tests. > > **Overview** > Updates `kernel-go-sdk` to a newer commit and wires newly-available API methods into the CLI. > > Adds new CLI capabilities: `kernel deploy get`, `kernel invoke get|update|delete-browsers`, and `kernel auth connections update`, plus richer filtering/options across existing commands (e.g., `app list --query`, `deploy --region` + `deploy history --app-version`, `invoke --since` and `invoke history --action/--deployment-id/--offset/--since/--status`). > > Extends browser and credential-provider flows with new flags (`browsers create --invocation-id`, `browsers get --include-deleted`, and required/provider `--name` support), tightens/clarifies auth submit modes (now *exactly one* of field/MFA/sign-in/SSO selector/provider), and improves “Next:” pagination hints by quoting values and using consistent `pterm` output; includes accompanying tests for new param mappings. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 7bc97e1. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: kernel-internal[bot] <260533166+kernel-internal[bot]@users.noreply.github.com> Co-authored-by: Mason Williams <43387599+masnwilliams@users.noreply.github.com>
CLI: Update SDK to v0.44.0 and add new commands (#136) This PR updates the Go SDK to b03de99eccb5ff43c6b75f7e6e93423c728b1d78 and adds CLI commands for new SDK methods. ## SDK Update - Updated kernel-go-sdk to v0.44.0 (b03de99eccb5ff43c6b75f7e6e93423c728b1d78) ## Coverage Analysis This PR was generated by performing a full enumeration of SDK methods and CLI commands. ## New Commands - `kernel browsers computer read-clipboard <id>` - Read text from the browser clipboard - `kernel browsers computer write-clipboard <id> --text <text>` - Write text to the browser clipboard ## Testing Tested against the real API: - `browsers computer write-clipboard <id> --text "test"` ✓ - `browsers computer read-clipboard <id>` ✓ - `browsers computer read-clipboard <id> -o json` ✓ Triggered by: kernel/kernel-go-sdk@b03de99 Reviewer: @masnwilliams Made with [Cursor](https://cursor.com) <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > Bumps the Kernel Go SDK version and wires new clipboard APIs into the CLI; the main risk is unintended behavior changes from the dependency upgrade and new command plumbing. > > **Overview** > Adds clipboard support to the `browsers computer` CLI by exposing new `read-clipboard` (optionally `-o json`) and `write-clipboard --text` commands backed by the SDK’s `ReadClipboard`/`WriteClipboard` methods. > > Updates the `BrowserComputerService` interface and test fakes to include the new clipboard methods, and bumps `github.com/kernel/kernel-go-sdk` from `v0.43.0` to `v0.44.0` (with corresponding `go.sum` updates). > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit a083746. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Co-authored-by: kernel-internal[bot] <260533166+kernel-internal[bot]@users.noreply.github.com> Co-authored-by: Mason Williams <mason@onkernel.com>
PreviousNext