nexus-agents - v2.80.0
    Preparing search index...

    Class ArtifactStore

    In-memory artifact store with bounded capacity.

    When the store exceeds maxArtifacts, the oldest artifacts are evicted (FIFO). Content size is validated on put().

    Implements

    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    Methods

    • Parameters

      Returns {
          id: string;
          type:
              | "code"
              | "plan"
              | "analysis"
              | "review"
              | "test"
              | "spec"
              | "report"
              | "vote";
      }

    • Parameters

      • ref: {
            id: string;
            type:
                | "code"
                | "plan"
                | "analysis"
                | "review"
                | "test"
                | "spec"
                | "report"
                | "vote";
        }

      Returns Artifact | undefined

    • Parameters

      Returns readonly {
          id: string;
          type:
              | "code"
              | "plan"
              | "analysis"
              | "review"
              | "test"
              | "spec"
              | "report"
              | "vote";
      }[]

    • Parameters

      • ref: {
            id: string;
            type:
                | "code"
                | "plan"
                | "analysis"
                | "review"
                | "test"
                | "spec"
                | "report"
                | "vote";
        }

      Returns readonly ProvenanceEntry[]