CLI: Update SDK to v0.44.0 and add new commands#136
Merged
masnwilliams merged 2 commits intomainfrom Mar 20, 2026
Merged
Conversation
- Updated kernel-go-sdk to v0.44.0 (b03de99) - Added `browsers computer read-clipboard <id>` command - Added `browsers computer write-clipboard <id> --text <text>` command Tested: - browsers computer write-clipboard <id> --text "test" - browsers computer read-clipboard <id> - browsers computer read-clipboard <id> -o json Made-with: Cursor
Contributor
Author
|
🔧 CI Fix Available I've pushed a fix for the CI failure. The |
Add missing ReadClipboard and WriteClipboard methods to the test fake. Made-with: Cursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates the Go SDK to b03de99eccb5ff43c6b75f7e6e93423c728b1d78 and adds CLI commands 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
kernel browsers computer read-clipboard <id>- Read text from the browser clipboardkernel browsers computer write-clipboard <id> --text <text>- Write text to the browser clipboardTesting
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
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 computerCLI by exposing newread-clipboard(optionally-o json) andwrite-clipboard --textcommands backed by the SDK’sReadClipboard/WriteClipboardmethods.Updates the
BrowserComputerServiceinterface and test fakes to include the new clipboard methods, and bumpsgithub.com/kernel/kernel-go-sdkfromv0.43.0tov0.44.0(with correspondinggo.sumupdates).Written by Cursor Bugbot for commit a083746. This will update automatically on new commits. Configure here.