diff --git a/app/TODO.txt b/app/TODO.txt index 307a610..76f6c1a 100644 --- a/app/TODO.txt +++ b/app/TODO.txt @@ -1,4 +1,4 @@ -Native app (replaces tauri-app) +Rune app (replaces tauri-app) Decided - UI framework: rune (github.com/anomalyco/rune, pin a dev rev). gpui is the @@ -23,6 +23,34 @@ Open question before the spike commits to a render path Spike 1 first, fall back to 3. All recordings are H.264 today (jim_nvenc, amd_amf_h264, qsv, x264) so every path can decode them. +Initial plan +Each phase ends with something that runs. Phase 1 doubles as the +rune-vs-gpui decision: if the Settings screen keeps fighting the +framework, stop and switch to gpui before writing anything else. + +1. Skeleton: new app/ crate, rune pinned to one dev rev, window opens + on Windows and renders headlessly to PNG. +2. Pipe client: port daemon_ipc.rs, keep the serde types identical to + record-daemon/src/ipc/protocol.rs. Done when the app reads settings + and status from a running daemon. +3. Settings screen: general, recording and audio source tabs; device + dropdowns from getAudioDevices; volume sliders. Done when changes + save through updateSettings and survive a daemon restart. +4. Game history: port get_game_history, list games from the timeline + JSON in the recordings dir. Done when it matches GameHistory.vue. +5. Video spike: libmpv2 in a standalone example first, software render + to RGBA and upload as a texture. Done when a clip plays and + frame-seeks to a timestamp. Fall back to --wid plus mpvipc if the + software path is not exposed. +6. Game review: timeline scrubber with event markers over the video. + Done when clicking an event seeks the video to that timestamp. +7. OS integration: tray icon, autostart via the registry Run key, + single instance, notifications for recording start and end. +8. Installer: cargo-packager NSIS target with the bundle list below. + Done when the installer works on a clean Windows VM and the app + records a real game end to end. +9. Parity check against tauri-app, then delete it. + Stable contracts - record-daemon does not change. The IPC protocol (IpcCommand serde types over named pipes) is the versioned interface between app and daemon.