SmartFox: launcher, Siri Remote driver, Debian image and installer

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Tamas Csikel
2026-10-24 09:06:06 +02:00
commit 79b03cac95
91 changed files with 15874 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
//! Messages between the launcher and the core daemon (newline-delimited JSON
//! over a unix socket). The core daemon itself comes in phase 3.
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(tag = "type", rename_all = "snake_case")]
pub enum LauncherRequest {
Launch { app_id: String },
/// Bring the launcher back to the front (freezes the foreground app).
GoHome,
SetSetting { key: String, value: String },
}
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(tag = "type", rename_all = "snake_case")]
pub enum CoreEvent {
AppStarted { app_id: String },
AppStopped { app_id: String },
/// Something connected over DIAL/AirPlay/Miracast.
CastConnected { app_id: String, device: String },
Toast { text: String },
}