Restructure config for per-mode style/sound and fix pulse dismiss
Major changes: - Add StyleConfig dataclass with independent color, width, opacity, duration, pulse_speed, sound, and volume per mode (running/completed) - Replace flat flash_*/sound_*/play_on config with running: and completed: YAML sections - Replace CGEventTap (silently fails in forked daemon) with CGEventSourceSecondsSinceLastEventType polling for reliable input-based pulse dismissal when Cursor is already frontmost - Update overlay, sound, and daemon to pass StyleConfig per call - Rewrite tests for new config shape and dismiss mechanism Made-with: Cursor
This commit is contained in:
@@ -4,8 +4,8 @@ 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"
|
||||
version = "0.2.0"
|
||||
description = "Flash Cursor's window when the AI agent needs attention"
|
||||
requires-python = ">=3.10"
|
||||
dependencies = [
|
||||
"pyobjc-framework-applicationservices>=12.1",
|
||||
|
||||
Reference in New Issue
Block a user