diff --git a/apiclient/types/types.go b/apiclient/types/types.go index 8b158939..4f873ec3 100644 --- a/apiclient/types/types.go +++ b/apiclient/types/types.go @@ -13,4 +13,5 @@ type Metadata struct { Deleted *Time `json:"deleted,omitempty"` Links map[string]string `json:"links,omitempty"` Metadata map[string]string `json:"metadata,omitempty"` + Type string `json:"type,omitempty"` } diff --git a/apiclient/types/webhook.go b/apiclient/types/webhook.go index 3e1baafc..59f3ec19 100644 --- a/apiclient/types/webhook.go +++ b/apiclient/types/webhook.go @@ -8,13 +8,12 @@ type Webhook struct { } type WebhookManifest struct { - Description string `json:"description,omitempty"` - RefName string `json:"refName,omitempty"` - WorkflowID string `json:"workflowID,omitempty"` - AfterWorkflowStepName string `json:"afterWorkflowStepName,omitempty"` - Headers []string `json:"headers,omitempty"` - Secret string `json:"secret,omitempty"` - ValidationHeader string `json:"validationHeader,omitempty"` + Description string `json:"description,omitempty"` + RefName string `json:"refName,omitempty"` + WorkflowID string `json:"workflowID,omitempty"` + Headers []string `json:"headers,omitempty"` + Secret string `json:"secret,omitempty"` + ValidationHeader string `json:"validationHeader,omitempty"` } type WebhookExternalStatus struct { diff --git a/pkg/api/handlers/agent.go b/pkg/api/handlers/agent.go index a9357653..c0f7ee51 100644 --- a/pkg/api/handlers/agent.go +++ b/pkg/api/handlers/agent.go @@ -3,6 +3,7 @@ package handlers import ( "fmt" "net/http" + "reflect" "strings" "github.com/gptscript-ai/go-gptscript" @@ -593,6 +594,7 @@ func MetadataFrom(obj kclient.Object, linkKV ...string) types.Metadata { ID: obj.GetName(), Created: *types.NewTime(obj.GetCreationTimestamp().Time), Links: map[string]string{}, + Type: strings.ToLower(reflect.TypeOf(obj).Elem().Name()), } if delTime := obj.GetDeletionTimestamp(); delTime != nil { m.Deleted = types.NewTime(delTime.Time) diff --git a/ui/admin/public/android-chrome-192x192.png b/ui/admin/public/android-chrome-192x192.png new file mode 100644 index 00000000..c233cd3b Binary files /dev/null and b/ui/admin/public/android-chrome-192x192.png differ diff --git a/ui/admin/public/android-chrome-512x512.png b/ui/admin/public/android-chrome-512x512.png new file mode 100644 index 00000000..5ede42a4 Binary files /dev/null and b/ui/admin/public/android-chrome-512x512.png differ diff --git a/ui/admin/public/apple-touch-icon.png b/ui/admin/public/apple-touch-icon.png new file mode 100644 index 00000000..bdfc0577 Binary files /dev/null and b/ui/admin/public/apple-touch-icon.png differ diff --git a/ui/admin/public/favicon-16x16.png b/ui/admin/public/favicon-16x16.png new file mode 100644 index 00000000..d0d5ec18 Binary files /dev/null and b/ui/admin/public/favicon-16x16.png differ diff --git a/ui/admin/public/favicon-32x32.png b/ui/admin/public/favicon-32x32.png new file mode 100644 index 00000000..15ecff71 Binary files /dev/null and b/ui/admin/public/favicon-32x32.png differ diff --git a/ui/admin/public/favicon.ico b/ui/admin/public/favicon.ico index a0c15740..d6344ffb 100644 Binary files a/ui/admin/public/favicon.ico and b/ui/admin/public/favicon.ico differ diff --git a/ui/user/static/android-chrome-192x192.png b/ui/user/static/android-chrome-192x192.png new file mode 100644 index 00000000..c233cd3b Binary files /dev/null and b/ui/user/static/android-chrome-192x192.png differ diff --git a/ui/user/static/android-chrome-512x512.png b/ui/user/static/android-chrome-512x512.png new file mode 100644 index 00000000..5ede42a4 Binary files /dev/null and b/ui/user/static/android-chrome-512x512.png differ diff --git a/ui/user/static/apple-touch-icon.png b/ui/user/static/apple-touch-icon.png new file mode 100644 index 00000000..bdfc0577 Binary files /dev/null and b/ui/user/static/apple-touch-icon.png differ diff --git a/ui/user/static/favicon-16x16.png b/ui/user/static/favicon-16x16.png new file mode 100644 index 00000000..d0d5ec18 Binary files /dev/null and b/ui/user/static/favicon-16x16.png differ diff --git a/ui/user/static/favicon-32x32.png b/ui/user/static/favicon-32x32.png new file mode 100644 index 00000000..15ecff71 Binary files /dev/null and b/ui/user/static/favicon-32x32.png differ diff --git a/ui/user/static/favicon.ico b/ui/user/static/favicon.ico new file mode 100644 index 00000000..d6344ffb Binary files /dev/null and b/ui/user/static/favicon.ico differ