Versions in this module Expand all Collapse all v0 v0.0.2 Sep 12, 2026 v0.0.1 Sep 11, 2026 Changes in this version + const AuthorizationHeader + const DefaultKnowledgeMaxBytesPerSource + const DefaultKnowledgeMaxSourcesPerService + const DefaultKnowledgeTimeout + const DefaultMCPConnectTimeout + const DefaultSkillMaxBytes + const DefaultSkillTimeout + const ForgetMemoryToolName + const GapReportToolBaseName + const LoadSkillToolName + const MaxInjectedCapabilityKeys + const ProjectHeader + const RememberMemoryToolName + const ToolNamespaceSeparator + const TruncationMarker + func GapReportToolName(serviceRefName string) string + func NamespaceToolName(serverName, toolName string) string + func SanitizeName(v string) string + type Authority struct + MaxTaskDurationSeconds *int + Reads []AuthorityRead + type AuthorityRead struct + GVK GVKRef + type CallerIdentity struct + BearerToken string + func (c CallerIdentity) LogValue() slog.Value + func (c CallerIdentity) String() string + type CapabilityDocument struct + APIVersion string + Kind string + Metadata *Metadata + Spec CapabilitySpec + Status *Status + func ParseDocuments(raw []byte, onSkip func(index int, err error)) ([]CapabilityDocument, error) + func ScopeDocuments(docs []CapabilityDocument, expectedProject string, logger *slog.Logger) []CapabilityDocument + func (d *CapabilityDocument) Validate() error + type CapabilitySpec struct + Authority *Authority + ConfigurationVersion string + Knowledge *Knowledge + ReportingProject string + ServiceAgentRef Ref + ServiceName string + ServiceRef Ref + Skills []Skill + Tools *Tools + type ComposeOptions struct + AllowPrivateNetworks bool + AllowedCIDRs []string + AllowedHosts []string + Caller CallerIdentity + ContextID string + ExpectedProject string + GapReports gapreport.Store + HTTPClient *http.Client + IdentityForwardHosts []string + KnowledgeMaxBytesPerSource int + KnowledgeMaxSourcesPerService int + KnowledgeTimeout time.Duration + Logger *slog.Logger + MCPConnectTimeout time.Duration + Memory memory.Store + Metrics *appmetrics.Metrics + OnToolInvocation func(ProviderToolInvocation) + PlanTokenKey []byte + PlatformAPI *projectapi.Client + SkillMaxBytes int + SkillTimeout time.Duration + type Composed struct + Mutating []string + SystemPromptAddendum string + Tools agentcore.ToolSet + func Compose(ctx context.Context, docs []CapabilityDocument, opts ComposeOptions) (*Composed, error) + func (c *Composed) Close() error + func (c *Composed) IsMutating(name string) bool + type Condition struct + Message string + Reason string + Status string + Type string + type FixtureSource struct + func NewFixtureSource(path string, logger *slog.Logger) *FixtureSource + func (s *FixtureSource) Documents(_ context.Context, _ string) ([]CapabilityDocument, error) + type GVKRef struct + Group string + Kind string + type HTTPSource struct + func NewHTTPSource(baseURL string, client *http.Client, logger *slog.Logger) *HTTPSource + func (s *HTTPSource) Documents(ctx context.Context, projectName string) ([]CapabilityDocument, error) + type Knowledge struct + Concepts []KnowledgeConcept + Sources []KnowledgeSource + type KnowledgeConcept struct + GVK GVKRef + Summary string + type KnowledgeSource struct + Title string + Type KnowledgeSourceType + URL string + type KnowledgeSourceType string + const KnowledgeLLMDocs + const KnowledgeMarkdown + const KnowledgeRunbook + type MCPServer struct + Endpoint string + Mutating []string + Name string + ToolSelector ToolSelector + type Metadata struct + Name string + Namespace string + type ProviderToolInvocation struct + NamespacedToolName string + ServerName string + ServiceName string + ToolName string + type Ref struct + Name string + type ServiceEntitlement struct + ID string + KnowledgeTitles []string + MCPEndpoints []string + ServiceName string + ServiceRef string + SkillDescriptions []string + SkillNames []string + ToolNames []string + func Entitlements(docs []CapabilityDocument) []ServiceEntitlement + type Skill struct + Description string + Name string + Source string + type Source interface + Documents func(ctx context.Context, projectName string) ([]CapabilityDocument, error) + type Status struct + Conditions []Condition + type ToolSelector struct + Include []string + type Tools struct + MCPServers []MCPServer