feat(storage): confirm the reclaim count the admin was shown, name a running backup as a skip, bound a trip cover

The confirm request now carries the unreferenced count the admin saw, so the
server can refuse a count its last report no longer holds. A pass that found
objects due while a backup read the uploads reports backup_running for them.
A trip cover is bounded to 2048 characters on REST, RPC and the MCP tool, as a
place image already is, since a replaced cover is queued for release by every
upload path it spells out.
This commit is contained in:
Maurice
2026-11-01 18:11:25 +01:00
parent 59a6d92cea
commit 0a25de2c6d
5 changed files with 40 additions and 8 deletions
+1
View File
@@ -225,6 +225,7 @@ export class TripsMcp {
is_archived: z.boolean().optional().describe('Archive (true) or unarchive (false) the trip'),
cover_image: z
.string()
.max(2048)
.nullable()
.optional()
.describe('Cover image path, e.g. /uploads/covers/abc.jpg; null removes the cover'),