feat(terra): luna v3 voice, channel marker and rail panel

- TTS defaults to eleven_v3_conversational over the Text to Dialogue
  socket: performs audio tags and gets her German right. Flash still
  works via the TTS socket.
- Every spoken message is prefixed with a [voice] marker so luna's
  profile on mars can tell the channel apart.
- LunaIndicator/LunaCall replaced by a LunaPanel in the bar rail, with
  captions; headless test updated to match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-25 00:52:03 +02:00
co-authored by Claude Opus 5.5
parent 386a46c4fe
commit e4ee637ccd
13 changed files with 675 additions and 467 deletions
@@ -9,7 +9,6 @@ import qs.HyprChrome.Widgets.Polkit
import qs.HyprChrome.Widgets.Launcher
import qs.HyprChrome.Widgets.Askpass
import qs.HyprChrome.Widgets.Notifications
import qs.HyprChrome.Widgets.Luna
// The hyprchrome shell: owns everything the rail's surfaces have to agree on,
// and instantiates them.
@@ -217,25 +216,6 @@ Scope {
screen: shell.targetScreen
}
// luna's voice-mode readout. Beside the notification stack rather than
// among the modals: it never takes the keyboard and raises no scrim, so
// it is deliberately NOT part of `modalOpen`. It does read `targetScreen`,
// which is what makes it belong to the shell at all.
LunaState {
id: lunaState
}
LunaCall {
state: lunaState
targetScreen: shell.targetScreen
// Same source the backdrop uses. The rail's exclusive zone does NOT
// push this surface down on its own — measured: the bar occupies
// y 0..147 and the readout still landed at y=8 — so the offset is
// passed explicitly rather than left to the compositor. That makes
// the bar's height shell state by the usual rule: a second reader.
barHeight: bar.contentHeight
}
// Polkit authentication agent. It registers for this logind session on
// creation, so it replaces hyprpolkitagent rather than coexisting with it —
// only one agent may hold a session (see hosts/terra/home/hyprland.nix).