Native input rewrite, multi-display/Retina fixes, companion app - #1
Merged
Conversation
…istry and app launcher - Replace cliclick with CGEvent-based tap/swipe (no external deps) - Use alpha-channel detection for precise iOS content bounds - Add open-app, registry scan/lookup, home/spotlight/app-switcher tools - Add status check and scan_apps MCP tools - Fix P3 display alpha bug, sips error handling, SCALE=0 guard - Fix RCE: write user input to temp files instead of bash string embedding - Fix concurrent screenshot collision (Date.now -> randomUUID) - Fix JSON control char escaping in OCR output - Add window_id to cache key to survive app restarts
Panel app that docks next to the iPhone Mirroring window and drives it via native CGEvent/AXUIElement calls instead of shelling out, avoiding per-call TCC permission overhead.
…rget The workflow never installed shellcheck, so the lint step always failed with 'command not found' before reaching any real check. Once installed, linting helpers/common.sh standalone flags every constant as unused since it is a sourced-only library with no consumers in that single-file view; -x already surfaces real usage through the scripts that source it. Also fixes a genuine SC2034 in map-apps.sh (ph field read but never used).
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
open-applauncher.Changes
helpers/get-window-id.swift,find-window.sh,helpers/common.sh: measured capture scale, top-left alpha scan, strict bounds parsingscreenshot.sh,map-apps.sh,registry.sh: point-normalized screenshots, registry v2 with stale-version rejectionmcp-server/src/index.ts: tool descriptions declare screenshot/tap coordinate paritycompanion/: new SwiftUI companion app (native input controller, window manager, tool executor)tests/,.github/workflows/test.yml,Makefile: expanded test coverage and CIREADME.md,SKILL.md: refreshed to match actual commands and MCP toolsTest plan
bats tests/*.bats(113/113 passing)cd mcp-server && npx vitest run(31/31 passing)xcodebuildfor the companion app target (builds clean)