Versions in this module Expand all Collapse all v0 v0.2.22 Sep 12, 2026 v0.2.21 Sep 9, 2026 Changes in this version + type API struct + func New(sources compositionapi.SourceAPI, collections compositionapi.CollectionAPI, ...) (*API, error) + func (a *API) AdoptSkill(ctx context.Context, request *AdoptSkillRequest) (*AdoptSkillResponse, error) + func (a *API) AttachSkillBundleSource(ctx context.Context, request *AttachSkillBundleSourceRequest) (*AttachSkillBundleSourceResponse, error) + func (a *API) AttachSource(ctx context.Context, bundle collection.CollectionRef, ...) (skillDomain.SkillBundle, error) + func (a *API) CreateBundle(ctx context.Context, request CreateSkillBundleBody) (skillDomain.SkillBundle, error) + func (a *API) CreateManagedSkill(ctx context.Context, request *CreateManagedSkillRequest) (*CreateManagedSkillStoreResponse, error) + func (a *API) CreateSkillBundle(ctx context.Context, request *CreateSkillBundleRequest) (*CreateSkillBundleResponse, error) + func (a *API) EnsureBuiltInBundleCurrent(ctx context.Context, ref collection.CollectionRef) error + func (a *API) EnsureBuiltInBundleTopology(ctx context.Context, request skillDomain.BuiltInBundleTopology) (skillDomain.SkillBundle, error) + func (a *API) GetBundle(ctx context.Context, ref collection.CollectionRef) (skillDomain.SkillBundle, error) + func (a *API) GetManagedSkillDocument(ctx context.Context, request *GetManagedSkillDocumentRequest) (*GetManagedSkillDocumentResponse, error) + func (a *API) GetSkill(ctx context.Context, request *GetSkillRequest) (*GetSkillResponse, error) + func (a *API) GetSkillBundle(ctx context.Context, request *GetSkillBundleRequest) (*GetSkillBundleResponse, error) + func (a *API) InstallBuiltInCollection(ctx context.Context, request BuiltInCollectionInstallRequest) ([]CreateManagedSkillResponse, error) + func (a *API) ListBundleSkills(ctx context.Context, request *ListBundleSkillsRequest) (*ListBundleSkillsResponse, error) + func (a *API) ListBundles(ctx context.Context, rootID root.RootID) ([]skillDomain.SkillBundle, error) + func (a *API) ListSkillBundles(ctx context.Context, request *ListSkillBundlesRequest) (*ListSkillBundlesResponse, error) + func (a *API) ListSkills(ctx context.Context, bundle collection.CollectionRef) ([]artifact.Artifact, error) + func (a *API) PinSkill(ctx context.Context, request *PinSkillRequest) (*PinSkillResponse, error) + func (a *API) PurgeBundle(ctx context.Context, ref collection.CollectionRef, expectedRevision uint64) error + func (a *API) PurgeSkill(ctx context.Context, request *PurgeSkillRequest) (*PurgeSkillResponse, error) + func (a *API) PurgeSkillBundle(ctx context.Context, request *PurgeSkillBundleRequest) (*PurgeSkillBundleResponse, error) + func (a *API) RefreshBundle(ctx context.Context, ref collection.CollectionRef) (catalog.RefreshCollectionResult, error) + func (a *API) RefreshSkillBundle(ctx context.Context, request *RefreshSkillBundleRequest) (*RefreshSkillBundleResponse, error) + func (a *API) RegisterBundleDirectory(ctx context.Context, bundle collection.CollectionRef, ...) (skillDomain.SkillBundle, error) + func (a *API) RegisterSkillBundleDirectory(ctx context.Context, request *RegisterSkillBundleDirectoryRequest) (*RegisterSkillBundleDirectoryResponse, error) + func (a *API) RetireBundle(ctx context.Context, ref collection.CollectionRef, expectedRevision uint64) (collection.Collection, error) + func (a *API) RetireSkillBundle(ctx context.Context, request *RetireSkillBundleRequest) (*RetireSkillBundleResponse, error) + func (a *API) SetSkillEnabled(ctx context.Context, request *SetSkillEnabledRequest) (*SetSkillEnabledResponse, error) + func (a *API) UnadoptSkill(ctx context.Context, request *UnadoptSkillRequest) (*UnadoptSkillResponse, error) + func (a *API) UpdateBundle(ctx context.Context, request UpdateSkillBundleBody) (skillDomain.SkillBundle, error) + func (a *API) UpdateSkillBundle(ctx context.Context, request *UpdateSkillBundleRequest) (*UpdateSkillBundleResponse, error) + type AdoptSkillBody struct + ArtifactID artifact.ArtifactID + Bundle collection.CollectionRef + Enabled bool + ExpectedCatalogRevision uint64 + Name string + Occurrence catalog.OccurrenceKey + type AdoptSkillRequest struct + Body *AdoptSkillBody + type AdoptSkillResponse struct + Body *artifact.Artifact + type AttachSkillBundleSourceBody struct + Attachment skillDomain.AttachmentDraft + Bundle collection.CollectionRef + ExpectedCollectionRevision uint64 + type AttachSkillBundleSourceRequest struct + Body *AttachSkillBundleSourceBody + type AttachSkillBundleSourceResponse struct + Body *skillDomain.SkillBundle + type BuiltInCollectionInstallRequest struct + Bundle collection.CollectionRef + ExpectedCollectionRevision uint64 + PackageAddress source.ManagedPackageAddress + PackageFiles []source.ManagedPackageFile + Skills []skillDomain.BuiltInCollectionSkill + type BuiltinStore interface + EnsureBuiltInBundleCurrent func(ctx context.Context, ref collection.CollectionRef) error + EnsureBuiltInBundleTopology func(ctx context.Context, request skillDomain.BuiltInBundleTopology) (skillDomain.SkillBundle, error) + InstallBuiltInCollection func(ctx context.Context, request BuiltInCollectionInstallRequest) ([]CreateManagedSkillResponse, error) + ListBundles func(ctx context.Context, rootID root.RootID) ([]skillDomain.SkillBundle, error) + ListSkills func(ctx context.Context, ref collection.CollectionRef) ([]artifact.Artifact, error) + type BundleReader interface + GetBundle func(ctx context.Context, ref collection.CollectionRef) (skillDomain.SkillBundle, error) + type CreateManagedSkillBody struct + ArtifactID artifact.ArtifactID + Bundle collection.CollectionRef + Document *document.SkillDocument + Enabled bool + ExpectedArtifactRevision uint64 + ExpectedCollectionRevision uint64 + Files []source.ManagedPackageFile + SKILLMD []byte + SkillName string + type CreateManagedSkillRequest struct + Body *CreateManagedSkillBody + type CreateManagedSkillResponse struct + Address artifact.ArtifactAddress + Artifact artifact.Artifact + type CreateManagedSkillStoreResponse struct + Body *CreateManagedSkillResponse + type CreateSkillBundleBody struct + Attachments []skillDomain.AttachmentDraft + CollectionID collection.CollectionID + Description string + DisplayName string + Enabled bool + Labels map[string]string + LogicalName basespec.LogicalName + LogicalVersion basespec.LogicalVersion + ManagedSourceID source.SourceID + ManagedSourceStorageKey basespec.StorageKey + RootID root.RootID + type CreateSkillBundleRequest struct + Body *CreateSkillBundleBody + type CreateSkillBundleResponse struct + Body *skillDomain.SkillBundle + type GetManagedSkillDocumentRequest struct + Artifact artifact.ArtifactRef + type GetManagedSkillDocumentResponse struct + Body *skillDomain.ManagedSkillDocument + type GetSkillBundleRequest struct + Bundle collection.CollectionRef + type GetSkillBundleResponse struct + Body *skillDomain.SkillBundle + type GetSkillRequest struct + Artifact artifact.ArtifactRef + type GetSkillResponse struct + Body *artifact.Artifact + type ListBundleSkillsRequest struct + Bundle collection.CollectionRef + type ListBundleSkillsResponse struct + Body *ListBundleSkillsResponseBody + type ListBundleSkillsResponseBody struct + Skills []artifact.Artifact + type ListSkillBundlesRequest struct + RootID root.RootID + type ListSkillBundlesResponse struct + Body *ListSkillBundlesResponseBody + type ListSkillBundlesResponseBody struct + Bundles []skillDomain.SkillBundle + type PinSkillBody struct + ArtifactID artifact.ArtifactID + Binding artifact.SourceBinding + Bundle collection.CollectionRef + Enabled bool + ExpectedCollectionRevision uint64 + Name string + type PinSkillRequest struct + Body *PinSkillBody + type PinSkillResponse struct + Body *artifact.Artifact + type PurgeSkillBundleRequest struct + Bundle collection.CollectionRef + ExpectedRevision uint64 + type PurgeSkillBundleResponse struct + Bundle collection.CollectionRef + type PurgeSkillRequest struct + Artifact artifact.ArtifactRef + ExpectedRevision uint64 + type PurgeSkillResponse struct + Artifact artifact.ArtifactRef + type RefreshSkillBundleRequest struct + Bundle collection.CollectionRef + type RefreshSkillBundleResponse struct + Body *catalog.RefreshCollectionResult + type RegisterSkillBundleDirectoryRequest struct + Bundle collection.CollectionRef + ExpectedCollectionRevision uint64 + RootPath string + SourceDisplayName string + type RegisterSkillBundleDirectoryResponse struct + Body *skillDomain.SkillBundle + type RetireSkillBundleRequest struct + Bundle collection.CollectionRef + ExpectedRevision uint64 + type RetireSkillBundleResponse struct + Body *collection.Collection + type SetSkillEnabledBody struct + Artifact artifact.ArtifactRef + Enabled bool + ExpectedRevision uint64 + type SetSkillEnabledRequest struct + Body *SetSkillEnabledBody + type SetSkillEnabledResponse struct + Body *artifact.Artifact + type UnadoptSkillRequest struct + Artifact artifact.ArtifactRef + ExpectedRevision uint64 + Suppress bool + type UnadoptSkillResponse struct + Artifact artifact.ArtifactRef + type UpdateSkillBundleBody struct + Bundle collection.CollectionRef + Description string + DisplayName string + Enabled bool + ExpectedRevision uint64 + type UpdateSkillBundleRequest struct + Body *UpdateSkillBundleBody + type UpdateSkillBundleResponse struct + Body *skillDomain.SkillBundle