Skip to content
Open
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# General
.DS_Store
**/.DS_Store
*.log
*.tmp
*.swp
Expand Down
78 changes: 78 additions & 0 deletions compose.yaml

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

Binary file removed control-plane/.DS_Store
Binary file not shown.
13 changes: 2 additions & 11 deletions control-plane/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -28,26 +28,17 @@ AGENTFIELD_API_CORS_ALLOW_CREDENTIALS=true
# AGENTFIELD_CLOUD_ENABLED=false
# AGENTFIELD_CLOUD_API_KEY=your-api-key-here

# Storage Configuration
# Storage Configuration (supported modes: local, postgres)
AGENTFIELD_STORAGE_MODE=local

# PostgreSQL Storage Configuration (when AGENTFIELD_STORAGE_MODE=postgresql)
# PostgreSQL Storage Configuration (when AGENTFIELD_STORAGE_MODE=postgres)
# AGENTFIELD_STORAGE_POSTGRES_URL=postgresql://user:password@localhost:5432/agentfield?sslmode=disable
# AGENTFIELD_STORAGE_POSTGRES_MAX_CONNECTIONS=25
# AGENTFIELD_STORAGE_POSTGRES_MAX_IDLE_CONNECTIONS=5
# AGENTFIELD_STORAGE_POSTGRES_CONNECTION_TIMEOUT=30s
# AGENTFIELD_STORAGE_POSTGRES_QUERY_TIMEOUT=30s
# AGENTFIELD_STORAGE_POSTGRES_ENABLE_MEMORY_FALLBACK=true
# AGENTFIELD_STORAGE_POSTGRES_ENABLE_DID_FALLBACK=true
# AGENTFIELD_STORAGE_POSTGRES_ENABLE_VC_FALLBACK=true
# AGENTFIELD_STORAGE_POSTGRES_ENABLE_AUTO_MIGRATION=true

# Cloud Storage Configuration (when AGENTFIELD_STORAGE_MODE=cloud)
# AGENTFIELD_STORAGE_CLOUD_POSTGRES_URL=postgresql://user:password@localhost:5432/agentfield
# AGENTFIELD_STORAGE_CLOUD_MAX_CONNECTIONS=50
# AGENTFIELD_STORAGE_CLOUD_CONNECTION_POOL=true
# AGENTFIELD_STORAGE_CLOUD_REPLICATION_MODE=async

# VC Authorization
# Admin token for admin API endpoints (tag approval, policy management)
# AGENTFIELD_AUTHORIZATION_ADMIN_TOKEN=admin-secret
Expand Down
14 changes: 3 additions & 11 deletions control-plane/config/agentfield.yaml

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

108 changes: 0 additions & 108 deletions control-plane/config/docker-perf.yaml

This file was deleted.

Binary file removed control-plane/internal/.DS_Store
Binary file not shown.
15 changes: 14 additions & 1 deletion control-plane/internal/core/domain/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,26 @@ type InstallationRegistry struct {
Installed map[string]InstalledPackage `json:"installed"`
}

// PackageRuntime tracks live process metadata for an installed package.
type PackageRuntime struct {
Port *int `json:"port,omitempty"`
PID *int `json:"pid,omitempty"`
StartedAt *string `json:"started_at,omitempty"`
LogFile string `json:"log_file,omitempty"`
}

// InstalledPackage represents an installed package
type InstalledPackage struct {
Name string `json:"name"`
Version string `json:"version"`
Path string `json:"path"`
Environment map[string]string `json:"environment"`
Description string `json:"description,omitempty"`
Source string `json:"source,omitempty"`
SourcePath string `json:"source_path,omitempty"`
Status string `json:"status,omitempty"`
Environment map[string]string `json:"environment,omitempty"`
InstalledAt time.Time `json:"installed_at"`
Runtime PackageRuntime `json:"runtime,omitempty"`
}

// AgentFieldConfig represents the AgentField configuration
Expand Down
Loading
Loading