← 返回首页
[kernel-1028] add api clipboard support by archandatta · Pull Request #121 · kernel/cli · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

[kernel-1028] add api clipboard support#121

Open
archandatta wants to merge 1 commit into
mainfrom
archand/kernel-1028/api-for-vm-clipboard
Open

[kernel-1028] add api clipboard support#121
archandatta wants to merge 1 commit into
mainfrom
archand/kernel-1028/api-for-vm-clipboard

Conversation

archandatta commented Feb 25, 2026
edited by cursor Bot
Loading

Copy link
Copy Markdown
Contributor

Note

Medium Risk
Introduces clipboard read/write operations (potentially sensitive data) and changes error propagation behavior for invalid --viewport, which could affect scripts relying on prior exit codes/output.

Overview
Adds clipboard support to the kernel browsers computer CLI by wiring the SDK’s new ReadClipboard/WriteClipboard methods through to two new commands: read-clipboard (optionally --output json) and write-clipboard --text ....

Also changes browser creation viewport parsing failures to return a proper error (invalid viewport format: ...) instead of printing to stderr and returning nil, which will affect exit status and error propagation.

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

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Footer

© 2026 GitHub, Inc.