pi-mac-tools
macOS automation tools for Pi via Accessibility APIs and screenshots
Package details
Install pi-mac-tools from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-mac-tools- Package
pi-mac-tools- Version
0.1.0- Published
- Apr 21, 2026
- Downloads
- 142/mo · 4/wk
- Author
- tuan_son.dinh
- License
- MIT
- Types
- extension
- Size
- 81.2 KB
- Dependencies
- 1 dependency · 1 peer
Pi manifest JSON
{
"extensions": [
"./extensions/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-mac-tools
Native macOS automation tools for Pi.
Tools
mac_check_permissionsmac_list_appsmac_launch_appmac_activate_appmac_quit_appmac_list_windowsmac_screenshotmac_findmac_get_treemac_clickmac_typemac_read
Requirements
- macOS 14+
- Swift 5.9+
- Accessibility permission for UI automation
- Screen Recording permission for screenshots
Install
pi install npm:pi-mac-tools
Local development:
pi install /absolute/path/to/pi-mac-tools
Notes
- builds bundled Swift CLI on first use, then reuses cached binary
- use
mac_check_permissionsfirst if any tool fails with permission errors - use mac tools for native apps, browser tools for web pages