feat: chat api

This commit is contained in:
Acbox
2026-01-28 15:15:57 +08:00
parent 0711b1f086
commit 39215309da
26 changed files with 673 additions and 1873 deletions
+7
View File
@@ -33,6 +33,13 @@ type ContainerVersion struct {
CreatedAt pgtype.Timestamptz `json:"created_at"`
}
type History struct {
ID pgtype.UUID `json:"id"`
Messages []byte `json:"messages"`
Timestamp pgtype.Timestamptz `json:"timestamp"`
User pgtype.UUID `json:"user"`
}
type LifecycleEvent struct {
ID string `json:"id"`
ContainerID string `json:"container_id"`