Wire the media archive into the daemon: command, service, and API

This commit is contained in:
Fisto
2026-09-16 08:08:12 +02:00
parent 91782f0b80
commit 8b7b5b675d
13 changed files with 421 additions and 18 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ The media archive is designed for agent access. The daemon exposes one service,
are thin wrappers around it. The same service backs the Web UI routes, so the two clients cannot
drift.
Status: hooks designed, implementation at checkpoint C7 in [CURRENT.md](../CURRENT.md).
Status: hooks designed, implementation at checkpoint C8 in [CURRENT.md](../CURRENT.md).
## Service interface
@@ -54,7 +54,7 @@ the action log apply.
- Media bytes are never returned inline. Tools return metadata, the original URL, and the local
path; an agent that wants the bytes reads the file through the daemon host.
## Hooks to leave in place before C7
## Hooks to leave in place before C8
1. `MediaService` is constructed once in the daemon and passed to both the Web UI routes and the
MCP registration. No globals.