Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions go/api/database/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"time"

a2a "github.com/a2aproject/a2a-go/v2/a2a"
"github.com/google/uuid"
"github.com/kagent-dev/kagent/go/api/adk"
"github.com/kagent-dev/kagent/go/api/v1alpha3"
"github.com/pgvector/pgvector-go"
Expand Down Expand Up @@ -271,9 +272,9 @@ type RuntimeRevision struct {
}

type AgentInstanceShare struct {
ID string
ID uuid.UUID
Namespace string
InstanceID string
InstanceID uuid.UUID
Creator string
Permission string
TokenHash []byte
Expand All @@ -290,10 +291,10 @@ type AgentInstanceTaskSnapshot struct {
}

type AgentInstanceCheckpoint struct {
ID string
ID uuid.UUID
Namespace string
SourceInstanceID string
SourceContextID string
SourceInstanceID uuid.UUID
SourceContextID uuid.UUID
UserID string
RequestID string
HeadTaskID string
Expand Down
141 changes: 73 additions & 68 deletions go/core/internal/database/client_agent_instance_test.go

Large diffs are not rendered by default.

113 changes: 62 additions & 51 deletions go/core/internal/database/client_postgres.go

Large diffs are not rendered by default.

28 changes: 15 additions & 13 deletions go/core/internal/database/gen/agent_instance_checkpoints.sql.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 14 additions & 12 deletions go/core/internal/database/gen/agent_instance_tasks.sql.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading