Files
ruflo/plugins/ruflo-console/tsconfig.json
T
ruv b531aa9279 perf(console): incremental transcript parsing, kit-seq runner, tsc clean for specs (ADR-473)
A transcript that grew is parsed from where its last parse ended, not from its
first line: checked resume (head + anchor), unfinished last line taken back,
bounded ring and id set, LRU memo, tail windows by unique anchor. Reference
parsers untouched and used as the oracle by a seeded property test plus
mutation checks. Refresh warms the parse memo for the search (400k chars a tick).

scripts/kit-seq.sh runs the 25 kit tests one file at a time in a temp copy;
scripts/typecheck.sh makes tsc find the ambient types in a fresh worktree; the
specs' type errors are fixed (sources of other lanes listed in the report).

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 19:16:55 -04:00

20 lines
1022 B
JSON

{
"//": "Self-contained on purpose: bundlers (vite/esbuild in the root CI vitest) load this file for every module they transform, so it must not extend a file that only exists after Claude Code (>= 2.1.287) has loaded the plugin. Claude Code writes its declarations to .claude-plugin/types/ (gitignored) when it LOADS the plugin (`claude plugin validate` does not); tsc -p . then reads them through typeRoots. A fresh clone or worktree has none and tsc stops at TS2688: scripts/typecheck.sh copies them from the main checkout, then runs tsc.",
"compilerOptions": {
"target": "es2023",
"lib": ["es2023"],
"module": "esnext",
"moduleResolution": "bundler",
"strict": true,
"noUncheckedIndexedAccess": true,
"noEmit": true,
"skipLibCheck": true,
"jsx": "react",
"jsxFactory": "h",
"jsxFragmentFactory": "Fragment",
"typeRoots": ["./.claude-plugin/types"],
"types": ["claude-code", "claude-code-tools", "claude-code-mcp"]
},
"include": ["hooks", "types", "tests"]
}