From 568c549d9952f4bce669077fb095bd0e9964865c Mon Sep 17 00:00:00 2001 From: Ed_ Date: Tue, 5 May 2026 18:35:23 -0400 Subject: [PATCH] feat(deps): Add tree-sitter C and C++ grammars --- conductor/tech-stack.md | 2 +- pyproject.toml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/conductor/tech-stack.md b/conductor/tech-stack.md index bf5e255..af0c747 100644 --- a/conductor/tech-stack.md +++ b/conductor/tech-stack.md @@ -50,7 +50,7 @@ - **src/history.py:** Implements the core `HistoryManager` and `UISnapshot` logic for the non-provider undo/redo system. Manages state stacks with a fixed capacity and provides jumping capabilities. - **src/paths.py:** Centralized module for path resolution. -- **tree-sitter / AST Parsing:** For deterministic AST parsing and automated generation of curated "Skeleton Views" and "Targeted Views" (extracting specific functions and their dependencies). Features an integrated AST cache with mtime-based invalidation to minimize re-parsing overhead. Supplemented by `SummaryCache` which provides persistent, hash-based (SHA256) caching with LRU eviction for AI-generated file summaries. +- **tree-sitter / AST Parsing:** For deterministic AST parsing and automated generation of curated "Skeleton Views" and "Targeted Views" (extracting specific functions and their dependencies). Supports Python, C, and C++. Features an integrated AST cache with mtime-based invalidation to minimize re-parsing overhead. Supplemented by `SummaryCache` which provides persistent, hash-based (SHA256) caching with LRU eviction for AI-generated file summaries. - **pydantic / dataclasses:** For defining strict state schemas (Tracks, Tickets) used in linear orchestration. - **tomli-w:** For writing TOML configuration files. - **tomllib:** For native TOML parsing (Python 3.11+). diff --git a/pyproject.toml b/pyproject.toml index 5c483db..b0e4739 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,6 +15,8 @@ dependencies = [ "uvicorn", "tree-sitter>=0.25.2", "tree-sitter-python>=0.25.0", + "tree-sitter-c>=0.23.2", + "tree-sitter-cpp>=0.23.2", "mcp>=1.0.0", "pytest-timeout>=2.4.0", "pyopengl>=3.1.10",