feat(macos): add native desktop controls and hotkey integration

- Introduced MacOsDesktopControlManifest to manage desktop control configurations.
- Implemented MacOsDesktopControlService to handle the lifecycle of the macOS helper process.
- Created MacOsWorkflowRulesEditorWindowService for managing workflow rules through a native window.
- Developed a Swift helper for macOS that integrates with AppKit and Carbon for menu-bar controls and global hotkeys.
- Added support for recording lifecycle actions via HTTP endpoints, maintaining consistency with existing Windows functionality.
- Enhanced user experience by allowing macOS users to start/stop recordings and access settings through a menu-bar interface.
- Documented design decisions, implementation evidence, and verification tasks for the new macOS features.
This commit is contained in:
dh
2026-08-06 08:18:52 +02:00
parent 5f39923c27
commit 9542c05ea4
20 changed files with 981 additions and 11 deletions
@@ -0,0 +1,11 @@
## 1. Runtime Platform Context
- [x] 1.1 Add behavior tests for Windows and macOS interactive-assistant instructions.
- [x] 1.2 Detect the host operating system once at startup and register immutable runtime context.
- [x] 1.3 Append platform-specific command, path, service, and desktop concepts to interactive-assistant instructions.
- [x] 1.4 Preserve a platform-neutral fallback for unsupported hosts.
## 2. Documentation and Validation
- [x] 2.1 Document platform-aware interactive-assistant guidance and its feature-support boundary.
- [x] 2.2 Run focused behavior tests, the full test suite, strict OpenSpec validation, and the required refactoring review; record the known unrelated macOS failures and Windows-host build limitation in implementation evidence.