scratchAnalyses
Each scratch file's last analysis, as the studio's editor last asked about it (the text, and the codebase as it was): checking it, hovers, completions and going to a definition ask the same one while it stands.
import type { Analysis } from "#codebase/tcmts/core/analyze"; export const scratchAnalyses: Map<string, { key: string; a: Analysis }> = new Map()