• Run a full cache impact analysis on a session JSONL file.

    Parameters

    • jsonlPath: string

      Path to the session JSONL

    • model: "haiku" | "sonnet" | "opus" | "opus-4" = 'sonnet'

      Pricing model (default: sonnet)

    • cacheHitRate: number = 0.90

      Fraction of tokens served from cache in steady state (default: 0.90)

    Returns Promise<CacheImpactReport>