feat: complete daemon core milestone

Finish Milestone 3 with persisted config, socket IPC, registry CRUD,
periodic discovery, manual add, and app-cache refresh support.
This commit is contained in:
44r0n7
2026-04-14 10:19:14 -04:00
parent 642fa716d1
commit 29e53d16b0
14 changed files with 2176 additions and 46 deletions
+5 -3
View File
@@ -19,7 +19,7 @@ script and control smart TVs through a stable, brand-agnostic API.
## Project Status
**Phase:** Milestone 2 complete. Roku adapter is live-validated; daemon and CLI wiring are next.
**Phase:** Milestone 4 in progress. Daemon core is complete; CLI coverage is expanding beyond daemon/device/app-cache operations.
**Platform v1:** Roku only (via ECP HTTP API)
**Language:** Rust
**Crate type:** Binary (single binary distribution target)
@@ -49,6 +49,8 @@ tvctl/
│ │ └── mod.rs
│ ├── daemon/ ← tvctld daemon core scaffolding
│ │ ├── mod.rs
│ │ ├── config.rs ← Config loading and runtime path helpers
│ │ ├── ipc.rs ← Unix socket request/response protocol
│ │ ├── registry.rs ← Device registry
│ │ ├── discovery.rs ← SSDP discovery service
│ │ ├── cache.rs ← App cache manager
@@ -335,9 +337,9 @@ enabled = true
## What Has NOT Been Started
- Daemon runtime, socket transport, and persistence logic
- HTTP route handlers and request validation
- Real CLI command handling beyond skeleton parsing
- CLI command handling for remote/state/dev/config flows
- Daemon install/uninstall helpers and systemd unit generation
- CI/CD configuration
- Release/packaging