Skip to content

Flowchart: Content Resolution Layer

This flowchart details the process of resolving a lightweight ContentSearchResult object into a detailed, installable ContentManifest.

Resolution Strategy Matrix:

Resolver TypeInput SourceProcessing MethodOutput ManifestSourceType
LocalManifest*.manifest.json filesDirect file readingFile pathsCopy
GitHubRelease API endpointsAsset enumerationDownload URLsRemote
ModDBWeb page scrapingHTML parsingArchive URLPackage
GenericCatalogPublisher catalog JSONCatalog parsing + release selectionArtifact URLsRemote
CNCLabsCNCLabs APIAPI query + manifest factoryArchive URLPackage

GenericCatalogResolver Details:

The GenericCatalogResolver is the primary resolver for publisher-created content. It:

  1. Receives a CatalogContentItem reference from the discoverer
  2. Selects the appropriate release version (latest or user-specified)
  3. Extracts artifact metadata (filename, downloadUrl, sha256, sizeBytes)
  4. Resolves dependencies recursively (same-catalog and cross-publisher)
  5. Builds a complete ContentManifest with all files and dependencies

This resolver enables the decentralized publisher model where content creators host their own catalogs and artifacts.

GeneralsHub Docs