fix: v0.5 - JSON support, screenshot reliability, chain robustness#14
Merged
adhikjoshi merged 8 commits intomainfrom Feb 8, 2026
Merged
fix: v0.5 - JSON support, screenshot reliability, chain robustness#14adhikjoshi merged 8 commits intomainfrom
adhikjoshi merged 8 commits intomainfrom
Conversation
…enshot via screencapture, fix chain multiline parsing - AppCommands: --json output for launch and frontmost - ChromeCommand: --json for list-tabs - ScreenshotCommand: use screencapture CLI for reliable capture (fixes #10) - ChainCommand: structured JSON input, prevent no-session hangs (fixes #13) - Minor fixes to keyboard, shell, space commands - Added tests
…lt on), app launch timeout, bump v0.5.0 - KeyboardCommands: rewritten typeText using combinedSessionState + proper unicode on keyDown/keyUp - Alert sound detection enabled by default on all keyboard commands (--no-detect-errors to disable) - App launch: 5s timeout, errors instead of hanging forever (fixes #16) - Version bumped to 0.5.0 - Fixes #15
- New 'macpilot menubar' command launches NSStatusBar item - Shows permission status (✅/❌) for Accessibility, Screen Recording, Full Disk Access, Automation - 'Grant All Permissions' opens System Settings panes sequentially - Individual permission settings shortcuts - SF Symbol icon (command.circle.fill) - Refreshes permissions on menu open
… appearance, OCR, network, process, system info, screen record, dock commands - Activity indicator overlay (screen border glow when MacPilot is active) - Notification send command - Audio volume get/set/mute/unmute - Display brightness get/set - Dark mode / appearance toggle - OCR via Vision framework - Network info (wifi, IP, interfaces) - Process list/kill - System info (CPU, RAM, disk, OS) - Screen recording start/stop - Dock show/hide/autohide - UI find-text and wait-for commands - Enhanced clipboard with image support - Enhanced dialog file interaction
…to-start indicator - Flash indicator BEFORE every operation (mouse, keyboard, app, window, chrome, chain, clipboard, screenshot, UI, dialog, system commands) - New ModalDialogSupport.swift: AX-based modal dialog detection with button discovery - New dialog subcommands: detect, dismiss, auto-dismiss (with smart button priority: Don't Save > OK > Cancel) - Auto-start indicator daemon via IndicatorAutoStarter when any command runs - KeyboardCommands: include modal dialog info in JSON output when alert sounds detected - MacPilot.swift validate(): call ensureIndicatorAutoStartIfNeeded() - Fix kAXSheetsAttribute scope issue (use string literal)
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.
Fixes #10 and #13
Changes
app launch/frontmost: Added--jsonoutput supportchrome list-tabs: Added--jsonoutput supportscreencaptureCLI for reliable capture (no more wallpaper-only screenshots)Testing
Built and binary deployed to
MacPilot.app. Needs end-to-end QA validation.