OptionalpreloadedArtifact: MJArtifactEntityOptionalpreloadedVersion: MJArtifactVersionEntityReadonlyartifactReadonlyartifactReadonlyartifactReadonlyartifactReadonlyartifactReadonlyconversationReadonlydirectionReadonlyversionReadonlyversionReadonlyversionReadonlyversionReadonlyvisibilityChecks if the artifact entities can be accessed without triggering a load. True if the engine has them or fallbacks are populated.
Checks if a fallback load is currently in progress.
Gets the full Artifact entity. Checks ArtifactMetadataEngine first (always fresh), falls back to direct load.
Gets the full ArtifactVersion entity including Content field. Checks ArtifactMetadataEngine first (always fresh), falls back to direct load.
Represents artifact information with lazy-loading capabilities. Stores minimal display data initially (from query) and loads full entities on-demand.
For full entity access, this first checks ArtifactMetadataEngine's on-demand caches (populated when an artifact's versions were loaded earlier this session) and otherwise loads the single artifact/version directly from the database. Artifacts and versions are no longer bulk-loaded at boot — a version's
Contentcan be arbitrarily large — so a direct load is the normal path here, not just a fallback.The direct load is coalesced via a shared promise so concurrent callers issue a single query.