Skip to content

Update clean-keyboard extension - #31667

Merged
raycastbot merged 4 commits into
raycast:mainfrom
alexi-build:ext/clean-keyboard
Sep 29, 2026
Merged

raycastbot merged 4 commits into
raycast:mainfrom
alexi-build:ext/clean-keyboard

Conversation

@alexi-build

@alexi-build alexi-build commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

🤖

Description

Adds a lock-keyboard Ask AI tool. Users can ask Clean Keyboard to lock for any whole-number duration from 0 to 2,147,483,647 seconds (0 means forever), or omit the duration to use 30 seconds. The tool confirms the lock, then launches the existing command with that duration. Ctrl+U still unlocks at any time.

AI instructions and evals are in ai.yaml. Validation passed: npx ray evals (4/4), npx ray build, and npm run fix-lint.

Screencast

clean-keyboard.mp4

Checklist

@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: clean-keyboard Issues related to the clean-keyboard extension AI Extension platform: macOS platform: Windows labels Sep 28, 2026
@raycastbot

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! 🎉

🔔 @ike-gg @owain-williams @xilopaint @ridemountainpig @LitoMore @yusifaliyevpro @shivraj-roy you might want to have a look.

You can use this guide to learn how to check out the Pull Request locally in order to test it.

📋 Quick checkout commands
BRANCH="ext/clean-keyboard"
FORK_URL="https://github.com/alexi-build/raycast-extensions.git"
EXTENSION_NAME="clean-keyboard"
REPO_NAME="raycast-extensions"

git clone -n --depth=1 --filter=tree:0 -b $BRANCH $FORK_URL
cd $REPO_NAME
git sparse-checkout set --no-cone "extensions/$EXTENSION_NAME"
git checkout
cd "extensions/$EXTENSION_NAME"
npm install && npm run dev

We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 15 business days.

@alexi-build
alexi-build marked this pull request as ready for review September 28, 2026 00:18
@greptile-apps

greptile-apps Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Medium risk] Adds AI-driven keyboard locking to an existing extension.

The PR appears safe to merge. No new issue was found in the latest fix.

Summary

Clean Keyboard now has an Ask AI tool that locks the keyboard for a chosen duration, using 30 seconds when no duration is given. The tool confirms the request, starts the existing command with that duration, and keeps Ctrl+U available for unlocking.

  • Adds a duration-aware lock-keyboard Ask AI tool.
  • Connects tool launches to the existing keyboard lock command.
  • Documents the tool's defaults, supported durations, and unlock instructions.

Reviews (2) · Last reviewed commit: "Validate AI lock duration before confirm..."

Comment thread extensions/clean-keyboard/src/tools/lock-keyboard.ts Outdated
@alexi-build
alexi-build marked this pull request as draft September 28, 2026 00:30
@pernielsentikaer pernielsentikaer self-assigned this Sep 28, 2026

@pernielsentikaer pernielsentikaer left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @alexi-build 👋

Thanks for adding the Ask AI lock tool 💪

The code and manifest look good — ray lint is clean, the tool wiring matches the documented pattern, and moving validateDuration into confirmation covers the Greptile note.

This PR is currently in draft, so it can't be merged yet. Press Ready for review when you're happy with it and we'll take another look 🙂


I’ll convert this PR into a draft after submitting this review. Please press Ready for review when it’s ready and we’ll have a look 😊

@alexi-build
alexi-build marked this pull request as ready for review September 29, 2026 01:07
@alexi-build

Copy link
Copy Markdown
Contributor Author

Thank you, @pernielsentikaer!
I wanted to update how the Ask AI command works, now it should be ready for review.

@pernielsentikaer pernielsentikaer left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, approved 🔥

@raycastbot
raycastbot merged commit aa847a9 into raycast:main Sep 29, 2026
2 of 3 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Published to the Raycast Store:
https://raycast.com/ike-gg/clean-keyboard

@raycastbot

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Extension extension: clean-keyboard Issues related to the clean-keyboard extension extension fix / improvement Label for PRs with extension's fix improvements platform: macOS platform: Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants