analyze_repository
Analyzes git-tracked TS/JS files to produce a structural summary: counts of classes, methods, functions, exports, top files by declarations, and call-resolution stats (exact vs ambiguous).
Instructions
Parses the git-tracked TypeScript and JavaScript files in the current repository via ts-morph and returns a structural summary: file, class, method, function and exported-function counts, a per-file breakdown (capped at 100 files, ranked by declaration count), and call-resolution statistics showing how many call sites the TypeScript checker resolved exactly versus left ambiguous. Untracked and ignored files are excluded. Results are cached until a source file changes on disk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||