Add pi-tool-display (compact tool rendering, adaptive diffs) + pi-lsp-extension (LSP diagnostics/hover/definitions) — vendored from npm 0.5.0 / 1.3.0

This commit is contained in:
2026-08-05 07:07:51 +10:00
parent b13022a6fd
commit 41cc33d141
92 changed files with 27025 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
/**
* Shared constants — directories to skip, file size limits, etc.
*
* Used across code-overview, workspace-index, and search-engine.
*/
/** Directories to always skip when walking the project tree */
export const SKIP_DIRS = new Set([
"node_modules", ".git", "build", "dist", "target", "out", ".next",
"__pycache__", ".tox", ".venv", "venv", ".mypy_cache", ".pytest_cache",
"vendor", ".gradle", ".idea", ".vscode", ".bemol", "env",
"coverage", ".nyc_output", ".cache",
]);
/** Max file size to parse (500KB) */
export const MAX_FILE_SIZE = 500 * 1024;
/** Max files to index in the initial pass */
export const MAX_INDEX_FILES = 5000;