AAI SDK
    Preparing search index...

    Module utils

    Shared utility functions (the @alexkroman1/aai/utils subpath).

    For user tool code: errorMessage, errorDetail, safeJsonParse, and toolError. The remaining exports are framework plumbing shared with the sibling packages. The module stays free of zod and other runtime dependencies so the CLI can import it on every invocation without a startup cost.

    errorDetail
    errorMessage
    safeJsonParse
    toolError
    MAX_SLUG_LENGTH → MAX_SLUG_LENGTH
    PREVIEW_SLUG_SUFFIX → PREVIEW_SLUG_SUFFIX
    RESERVED_SLUGS → RESERVED_SLUGS
    VALID_SLUG_RE → VALID_SLUG_RE