AutoMovie API
    Preparing search index...

    Interface IAutoMovieArtifactStore

    Durable storage for stage artifacts addressed by composeAutoMovieArtifactKey.

    The engine resolver owns reuse and repair semantics while the host owns storage access: createAutoMovieHttpArtifactStore uses HTTP and tests can use an in-memory adapter. Each entry is the artifact's bytes plus the content digest recorded when it was written, so a reader can detect a truncated, replaced or corrupted entry instead of trusting that a file exists. Storage promise rejections propagate through the resolver; missing entries are represented by undefined rather than a rejection.

    interface IAutoMovieArtifactStore {
        digest(bytes: Uint8Array): Promise<string>;
        read(key: string): Promise<IAutoMovieArtifactStore.IEntry | undefined>;
        remove(key: string): Promise<void>;
        write(key: string, entry: IAutoMovieArtifactStore.IEntry): Promise<void>;
    }
    Index
    • The sha256: content digest of bytes, the same value every store computes. Read bytes without mutation; the caller keeps them stable until settlement. The result is lowercase hexadecimal after the prefix and hashes every byte.

      Parameters

      • bytes: Uint8Array

      Returns Promise<string>