Clarify press key input format - #179
Open
masnwilliams wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
press_key.keysitem accepts one X11 keysym or chordCtrl+minuspunctuation formtype_textfor textRollout
Merge after kernel/kernel-images#364 is deployed so the documented punctuation form is supported by the runtime.
Testing
bunx prettier --check src/lib/mcp/tools/computer-action.tsbun testbun run buildcompiled successfully and passed TypeScript checks, then stopped during page-data collection because required runtime configuration is unavailable locallyNote
Low Risk
Documentation-only change to an MCP tool schema description; no auth, data handling, or runtime behavior in this diff.
Overview
Expands the MCP
computer_actionZod description forpress_key.keysso agents get clearer guidance at the tool boundary—no execution logic changes in this repo.The new text states that each array element is a single X11 keysym or chord (e.g.
Return,Ctrl+t,Ctrl+minus), that sequences belong in separate items (not space- or comma-separated strings), and that literal text should usetype_textinstead ofpress_key.Reviewed by Cursor Bugbot for commit 9d02f79. Bugbot is set up for automated code reviews on this repo. Configure here.