Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

Merge remote-tracking branch 'origin/main' into fix/s3-cleanup-on-delete

yushen114d2a3acf11
diff --cc server/pkg/db/generated/models.go
index 63f4996ba5,926a34710d..7c812e5063
--- a/server/pkg/db/generated/models.go
+++ b/server/pkg/db/generated/models.go
@@@ -127,6 -127,33 +127,15 @@@ type DaemonConnection struct
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
}
-type DaemonPairingSession struct {
- ID pgtype.UUID `json:"id"`
- Token string `json:"token"`
- DaemonID string `json:"daemon_id"`
- DeviceName string `json:"device_name"`
- RuntimeName string `json:"runtime_name"`
- RuntimeType string `json:"runtime_type"`
- RuntimeVersion string `json:"runtime_version"`
- WorkspaceID pgtype.UUID `json:"workspace_id"`
- ApprovedBy pgtype.UUID `json:"approved_by"`
- Status string `json:"status"`
- ApprovedAt pgtype.Timestamptz `json:"approved_at"`
- ClaimedAt pgtype.Timestamptz `json:"claimed_at"`
- ExpiresAt pgtype.Timestamptz `json:"expires_at"`
- CreatedAt pgtype.Timestamptz `json:"created_at"`
- UpdatedAt pgtype.Timestamptz `json:"updated_at"`
-}
-
+ type DaemonToken struct {
+ ID pgtype.UUID `json:"id"`
+ TokenHash string `json:"token_hash"`
+ WorkspaceID pgtype.UUID `json:"workspace_id"`
+ DaemonID string `json:"daemon_id"`
+ ExpiresAt pgtype.Timestamptz `json:"expires_at"`
+ CreatedAt pgtype.Timestamptz `json:"created_at"`
+ }
+
type InboxItem struct {
ID pgtype.UUID `json:"id"`
WorkspaceID pgtype.UUID `json:"workspace_id"`