feat: migrate Mac mini services into Reyna CLI

This commit is contained in:
Adolfo Reyna
2026-08-16 08:24:45 -04:00
parent 9fd04b0ce4
commit 032bc3a580
26 changed files with 4216 additions and 315 deletions
+8 -5
View File
@@ -13,17 +13,20 @@ The host remains owner-only AF_UNIX IPC. It does not expose TCP or a LAN service
## Direct local-service ownership (no MacMiniMCP)
- Speech / Kokoro / Voicebox / image / Apple-LLM wrappers are configuration and offline-status paths only. They do not change service lifecycle, synthesize audio, perform network work, or disclose configuration-sensitive values merely for status.
- Deco retains its direct client path.
- Speech / unified voice generation (Kokoro, Kyutai Pocket JV, and Qwen3-TTS JV), Voicebox, image, and Apple-LLM execution are available through direct Reyna CLI paths. These remain outside the signed privacy host: they use local subprocesses, loopback media daemons, or explicitly configured external APIs.
- Speech file transcription uses a Reyna CLI-owned cached SpeechAnalyzer helper.
- Speech live transcription uses a Reyna CLI-owned persistent pipe session and warmed helper process.
- Kokoro uses the existing warm `ksay` daemon; Pocket uses the local Kyutai runtime with the verified `jv_pocket.pt` state; Qwen3-TTS uses the local MLX JV clone; Voicebox uses its local generation API; Codex/Gemini image generation runs directly from Reyna CLI.
- The privacy host remains limited to owner-only macOS privacy operations.
## Deliberately deferred
| Integration | Status | Boundary |
|---|---|---|
| **Apple Notes** | **Deferred — legacy untouched** | Reyna CLI has no Apple Notes capability, no Apple Events usage declaration, no AppKit Automation helper, and will not request Notes permission. Legacy MacMiniMCP Notes/JXA handling remains unchanged and is not part of this consolidation. |
| **Apple Notes** | **Direct mutable Reyna CLI** | `reyna-cli notes` (and compatibility alias `macmini notes`) uses fixed JXA scripts through `/usr/bin/osascript`; note fields are JSON arguments, never script interpolation. This does not modify the stable Swift host, plist, entitlements, or signed bundle. It uses the existing Apple Events approval for the executing automation client; no native-host Notes socket operation exists. |
| Apple Mail | Deferred / out of scope | Legacy Apple Mail automation remains unchanged; separate Thunderbird-local support is not a privacy-host migration. |
| SpeechTranscriber live/file flows | Separate local service | Not part of the native privacy host. |
| Codex/Gemini image generation | Out of scope | Creative/external-service work, not privacy-host scope. |
| SpeechTranscriber live/file flows | Direct Reyna CLI execution | Migrated outside the native privacy host; live sessions remain local to the process/service hosting the CLI. |
| Codex/Gemini image generation | Direct Reyna CLI execution | Migrated outside the native privacy host; external API/Codex credentials stay on the executing host. |
## Cutover rule