Skip to content

[kernel-1028] add api clipboard support#121

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

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

Conversation

@archandatta
Copy link
Contributor

@archandatta archandatta commented Feb 25, 2026

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.

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