Skip to content

CLI: Update SDK to v0.44.0 and add new commands#136

Merged
masnwilliams merged 2 commits intomainfrom
cli-coverage-update
Mar 20, 2026
Merged

CLI: Update SDK to v0.44.0 and add new commands#136
masnwilliams merged 2 commits intomainfrom
cli-coverage-update

Conversation

@kernel-internal
Copy link
Contributor

@kernel-internal kernel-internal bot commented Mar 20, 2026

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


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).

Written by Cursor Bugbot for commit a083746. This will update automatically on new commits. Configure here.

- 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
@kernel-internal
Copy link
Contributor Author

🔧 CI Fix Available

I've pushed a fix for the CI failure. The FakeComputerService was missing ReadClipboard and WriteClipboard methods required by the BrowserComputerService interface.

👉 Click here to create a PR with the fix

Add missing ReadClipboard and WriteClipboard methods to the test fake.

Made-with: Cursor
@masnwilliams masnwilliams merged commit a439418 into main Mar 20, 2026
2 checks passed
@masnwilliams masnwilliams deleted the cli-coverage-update branch March 20, 2026 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant