Skip to content

Add Shortcuts service#132

Merged
mattt merged 4 commits intomainfrom
mattt/shortcuts
Jan 30, 2026
Merged

Add Shortcuts service#132
mattt merged 4 commits intomainfrom
mattt/shortcuts

Conversation

@mattt
Copy link
Owner

@mattt mattt commented Jan 30, 2026

Screenshot 2026-01-30 at 05 30 59

@mattt mattt linked an issue Jan 30, 2026 that may be closed by this pull request
@mattt mattt requested a review from Copilot January 30, 2026 13:33
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a new Shortcuts service that integrates macOS Shortcuts automation into the application, allowing users to list and run shortcuts via MCP tools. The service provides two tools: one to list available shortcuts and another to run a shortcut with optional text input.

Changes:

  • New ShortcutsService with two tools: shortcuts_list and shortcuts_run
  • Integration into ServerController with service registration and configuration
  • Process-based execution with timeout handling and file-based input/output

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
App/Services/Shortcuts.swift New service implementation that wraps the macOS /usr/bin/shortcuts command-line tool with process execution, timeout handling, and result processing
App/Controllers/ServerController.swift Registers the ShortcutsService and adds configuration UI with AppStorage binding, icon, and color settings

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mattt mattt merged commit 6d0df25 into main Jan 30, 2026
1 check passed
@mattt mattt deleted the mattt/shortcuts branch January 30, 2026 13:50
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.

Add service for interacting with Shortcuts

2 participants