Switch to prefixed IDs and tell agents which Mac a message came from

This commit is contained in:
Ian Gulliver
2026-10-20 23:15:19 -07:00
parent f1296ba13d
commit 59bf17189d
42 changed files with 770 additions and 145 deletions
+2 -1
View File
@@ -10,6 +10,7 @@ import (
"time"
"g.fc.run/ai/byre/internal/api"
"g.fc.run/ai/byre/internal/ids"
"g.fc.run/ai/byre/internal/store"
)
@@ -89,7 +90,7 @@ func newResponse(itemID, user string, create api.InboxResponseCreate) api.InboxR
images = *create.Images
}
return api.InboxResponse{
Id: store.NewID(),
Id: ids.New(ids.InboxResponse),
ItemId: itemID,
User: user,
Type: create.Type,