enquire-mcp API reference - v4.0.0-rc.7
    Preparing search index...

    Function assertBoundedBaseJson

    • Iteratively admit one bounded, acyclic plain-JSON value graph.

      YAML aliases preserve object identity, including cycles. Rejecting every repeated container identity before recursive Zod/filter/output code sees it prevents both cycle overflows and alias-amplified output. The byte ledger is the exact compact-JSON size for admitted shapes (keys, punctuation, and each scalar occurrence), without calling recursive JSON.stringify on the graph.

      Parameters

      • value: unknown

        Parsed YAML value to validate in place.

      • label: string = "Bases data"

        Stable diagnostic prefix identifying the source surface.

      Returns void

      Nothing; throws when the graph is outside the admission envelope.