MCPcopy Create free account
hub / github.com/compozy/agh / profileRequiredWorkerCapabilities

Function profileRequiredWorkerCapabilities

internal/daemon/task_role_runtime.go:640–645  ·  view source on GitHub ↗
(profile *taskpkg.ExecutionProfile)

Source from the content-addressed store, hash-verified

638}
639
640func profileRequiredWorkerCapabilities(profile *taskpkg.ExecutionProfile) []string {
641 if profile == nil {
642 return nil
643 }
644 return append([]string(nil), profile.Worker.RequiredCapabilities...)
645}
646
647func uniqueNonEmptyStrings(values []string) []string {
648 seen := make(map[string]struct{}, len(values))

Callers 1

activationForRunMethod · 0.85

Calls 1

appendFunction · 0.85

Tested by

no test coverage detected