- Added pyobjc-framework-ApplicationServices to dependencies (was implicitly available via pyenv's system packages but missing in clean venvs) - Added `cursor-flasher check` command that verifies Cursor is running and accessibility permissions are working - Detector now logs a warning when a11y tree reads fail (previously failed silently, making permission issues invisible) - Switched to uv for dependency management: `uv sync` + `uv run` - Updated README with uv-based workflow and accessibility troubleshooting guide Made-with: Cursor
28 lines
629 B
TOML
28 lines
629 B
TOML
[build-system]
|
|
requires = ["setuptools>=68.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "cursor-flasher"
|
|
version = "0.1.0"
|
|
description = "Flash Cursor's window when the AI agent is waiting for input"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"pyobjc-framework-applicationservices>=12.1",
|
|
"pyobjc-framework-Cocoa",
|
|
"pyobjc-framework-Quartz",
|
|
"PyYAML",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["pytest", "pytest-mock"]
|
|
|
|
[project.scripts]
|
|
cursor-flasher = "cursor_flasher.cli:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.uv]
|
|
dev-dependencies = ["pytest", "pytest-mock"]
|