tree-sitter-analyzer 0.1.3__py3-none-any.whl โ†’ 0.3.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of tree-sitter-analyzer might be problematic. Click here for more details.

Files changed (79) hide show
  1. tree_sitter_analyzer/__init__.py +133 -121
  2. tree_sitter_analyzer/__main__.py +11 -12
  3. tree_sitter_analyzer/api.py +531 -539
  4. tree_sitter_analyzer/cli/__init__.py +39 -39
  5. tree_sitter_analyzer/cli/__main__.py +12 -13
  6. tree_sitter_analyzer/cli/commands/__init__.py +26 -27
  7. tree_sitter_analyzer/cli/commands/advanced_command.py +88 -88
  8. tree_sitter_analyzer/cli/commands/base_command.py +160 -155
  9. tree_sitter_analyzer/cli/commands/default_command.py +18 -19
  10. tree_sitter_analyzer/cli/commands/partial_read_command.py +141 -133
  11. tree_sitter_analyzer/cli/commands/query_command.py +81 -82
  12. tree_sitter_analyzer/cli/commands/structure_command.py +138 -121
  13. tree_sitter_analyzer/cli/commands/summary_command.py +101 -93
  14. tree_sitter_analyzer/cli/commands/table_command.py +232 -233
  15. tree_sitter_analyzer/cli/info_commands.py +120 -121
  16. tree_sitter_analyzer/cli_main.py +277 -276
  17. tree_sitter_analyzer/core/__init__.py +15 -20
  18. tree_sitter_analyzer/core/analysis_engine.py +591 -574
  19. tree_sitter_analyzer/core/cache_service.py +320 -330
  20. tree_sitter_analyzer/core/engine.py +557 -560
  21. tree_sitter_analyzer/core/parser.py +293 -288
  22. tree_sitter_analyzer/core/query.py +494 -502
  23. tree_sitter_analyzer/encoding_utils.py +458 -460
  24. tree_sitter_analyzer/exceptions.py +337 -340
  25. tree_sitter_analyzer/file_handler.py +217 -222
  26. tree_sitter_analyzer/formatters/__init__.py +1 -1
  27. tree_sitter_analyzer/formatters/base_formatter.py +167 -168
  28. tree_sitter_analyzer/formatters/formatter_factory.py +78 -74
  29. tree_sitter_analyzer/formatters/java_formatter.py +287 -270
  30. tree_sitter_analyzer/formatters/python_formatter.py +255 -235
  31. tree_sitter_analyzer/interfaces/__init__.py +9 -10
  32. tree_sitter_analyzer/interfaces/cli.py +528 -557
  33. tree_sitter_analyzer/interfaces/cli_adapter.py +322 -319
  34. tree_sitter_analyzer/interfaces/mcp_adapter.py +180 -170
  35. tree_sitter_analyzer/interfaces/mcp_server.py +405 -416
  36. tree_sitter_analyzer/java_analyzer.py +218 -219
  37. tree_sitter_analyzer/language_detector.py +398 -400
  38. tree_sitter_analyzer/language_loader.py +224 -228
  39. tree_sitter_analyzer/languages/__init__.py +10 -11
  40. tree_sitter_analyzer/languages/java_plugin.py +1129 -1113
  41. tree_sitter_analyzer/languages/python_plugin.py +737 -712
  42. tree_sitter_analyzer/mcp/__init__.py +31 -32
  43. tree_sitter_analyzer/mcp/resources/__init__.py +44 -47
  44. tree_sitter_analyzer/mcp/resources/code_file_resource.py +212 -213
  45. tree_sitter_analyzer/mcp/resources/project_stats_resource.py +560 -550
  46. tree_sitter_analyzer/mcp/server.py +333 -345
  47. tree_sitter_analyzer/mcp/tools/__init__.py +30 -31
  48. tree_sitter_analyzer/mcp/tools/analyze_scale_tool.py +621 -557
  49. tree_sitter_analyzer/mcp/tools/analyze_scale_tool_cli_compatible.py +242 -245
  50. tree_sitter_analyzer/mcp/tools/base_tool.py +54 -55
  51. tree_sitter_analyzer/mcp/tools/read_partial_tool.py +300 -302
  52. tree_sitter_analyzer/mcp/tools/table_format_tool.py +362 -359
  53. tree_sitter_analyzer/mcp/tools/universal_analyze_tool.py +543 -476
  54. tree_sitter_analyzer/mcp/utils/__init__.py +105 -106
  55. tree_sitter_analyzer/mcp/utils/error_handler.py +549 -549
  56. tree_sitter_analyzer/models.py +470 -481
  57. tree_sitter_analyzer/output_manager.py +261 -264
  58. tree_sitter_analyzer/plugins/__init__.py +333 -334
  59. tree_sitter_analyzer/plugins/base.py +477 -446
  60. tree_sitter_analyzer/plugins/java_plugin.py +608 -625
  61. tree_sitter_analyzer/plugins/javascript_plugin.py +446 -439
  62. tree_sitter_analyzer/plugins/manager.py +362 -355
  63. tree_sitter_analyzer/plugins/plugin_loader.py +85 -83
  64. tree_sitter_analyzer/plugins/python_plugin.py +606 -598
  65. tree_sitter_analyzer/plugins/registry.py +374 -366
  66. tree_sitter_analyzer/queries/__init__.py +26 -27
  67. tree_sitter_analyzer/queries/java.py +391 -394
  68. tree_sitter_analyzer/queries/javascript.py +148 -149
  69. tree_sitter_analyzer/queries/python.py +285 -286
  70. tree_sitter_analyzer/queries/typescript.py +229 -230
  71. tree_sitter_analyzer/query_loader.py +254 -260
  72. tree_sitter_analyzer/table_formatter.py +468 -448
  73. tree_sitter_analyzer/utils.py +277 -277
  74. tree_sitter_analyzer-0.3.0.dist-info/METADATA +346 -0
  75. tree_sitter_analyzer-0.3.0.dist-info/RECORD +77 -0
  76. tree_sitter_analyzer-0.1.3.dist-info/METADATA +0 -444
  77. tree_sitter_analyzer-0.1.3.dist-info/RECORD +0 -77
  78. {tree_sitter_analyzer-0.1.3.dist-info โ†’ tree_sitter_analyzer-0.3.0.dist-info}/WHEEL +0 -0
  79. {tree_sitter_analyzer-0.1.3.dist-info โ†’ tree_sitter_analyzer-0.3.0.dist-info}/entry_points.txt +0 -0
@@ -0,0 +1,346 @@
1
+ Metadata-Version: 2.4
2
+ Name: tree-sitter-analyzer
3
+ Version: 0.3.0
4
+ Summary: Extensible multi-language code analyzer framework using Tree-sitter with dynamic plugin architecture
5
+ Project-URL: Homepage, https://github.com/aimasteracc/tree-sitter-analyzer
6
+ Project-URL: Documentation, https://github.com/aimasteracc/tree-sitter-analyzer#readme
7
+ Project-URL: Repository, https://github.com/aimasteracc/tree-sitter-analyzer.git
8
+ Project-URL: Issues, https://github.com/aimasteracc/tree-sitter-analyzer/issues
9
+ Project-URL: Changelog, https://github.com/aimasteracc/tree-sitter-analyzer/blob/main/CHANGELOG.md
10
+ Project-URL: Bug Reports, https://github.com/aimasteracc/tree-sitter-analyzer/issues
11
+ Project-URL: Source Code, https://github.com/aimasteracc/tree-sitter-analyzer
12
+ Author-email: "aisheng.yu" <aimasteracc@gmail.com>
13
+ Maintainer-email: "aisheng.yu" <aimasteracc@gmail.com>
14
+ License: MIT
15
+ Keywords: ai-tools,ast,code-analysis,mcp,mcp-server,model-context-protocol,multi-language,parsing,static-analysis,tree-sitter
16
+ Classifier: Development Status :: 4 - Beta
17
+ Classifier: Framework :: AsyncIO
18
+ Classifier: Intended Audience :: Developers
19
+ Classifier: License :: OSI Approved :: MIT License
20
+ Classifier: Operating System :: OS Independent
21
+ Classifier: Programming Language :: Python :: 3
22
+ Classifier: Programming Language :: Python :: 3.10
23
+ Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Programming Language :: Python :: 3.12
25
+ Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Topic :: Communications
27
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
28
+ Classifier: Topic :: Software Development :: Code Generators
29
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
+ Classifier: Topic :: Software Development :: Quality Assurance
31
+ Classifier: Topic :: Text Processing :: Linguistic
32
+ Classifier: Typing :: Typed
33
+ Requires-Python: >=3.10
34
+ Requires-Dist: cachetools>=5.0.0
35
+ Requires-Dist: chardet>=5.0.0
36
+ Requires-Dist: tree-sitter-cpp>=0.23.4
37
+ Requires-Dist: tree-sitter-java>=0.23.5
38
+ Requires-Dist: tree-sitter>=0.20.0
39
+ Provides-Extra: all-languages
40
+ Requires-Dist: tree-sitter-c>=0.20.0; extra == 'all-languages'
41
+ Requires-Dist: tree-sitter-cpp>=0.23.4; extra == 'all-languages'
42
+ Requires-Dist: tree-sitter-go>=0.20.0; extra == 'all-languages'
43
+ Requires-Dist: tree-sitter-java>=0.23.5; extra == 'all-languages'
44
+ Requires-Dist: tree-sitter-javascript>=0.23.1; extra == 'all-languages'
45
+ Requires-Dist: tree-sitter-python>=0.23.0; extra == 'all-languages'
46
+ Requires-Dist: tree-sitter-rust>=0.20.0; extra == 'all-languages'
47
+ Requires-Dist: tree-sitter-typescript>=0.20.0; extra == 'all-languages'
48
+ Provides-Extra: c
49
+ Requires-Dist: tree-sitter-c>=0.20.0; extra == 'c'
50
+ Provides-Extra: cpp
51
+ Requires-Dist: tree-sitter-cpp>=0.23.4; extra == 'cpp'
52
+ Provides-Extra: dev
53
+ Requires-Dist: black>=24.0.0; extra == 'dev'
54
+ Requires-Dist: isort>=5.13.0; extra == 'dev'
55
+ Requires-Dist: memory-profiler>=0.61.0; extra == 'dev'
56
+ Requires-Dist: mypy>=1.17.0; extra == 'dev'
57
+ Requires-Dist: pre-commit>=3.0.0; extra == 'dev'
58
+ Requires-Dist: psutil>=7.0.0; extra == 'dev'
59
+ Requires-Dist: pytest-asyncio>=1.1.0; extra == 'dev'
60
+ Requires-Dist: pytest-cov>=4.0.0; extra == 'dev'
61
+ Requires-Dist: pytest-mock>=3.14.1; extra == 'dev'
62
+ Requires-Dist: pytest>=8.4.1; extra == 'dev'
63
+ Requires-Dist: ruff>=0.1.0; extra == 'dev'
64
+ Requires-Dist: types-psutil>=5.9.0; extra == 'dev'
65
+ Provides-Extra: full
66
+ Requires-Dist: anyio>=4.9.0; extra == 'full'
67
+ Requires-Dist: black>=24.0.0; extra == 'full'
68
+ Requires-Dist: httpx>=0.28.1; extra == 'full'
69
+ Requires-Dist: isort>=5.13.0; extra == 'full'
70
+ Requires-Dist: mcp>=1.12.2; extra == 'full'
71
+ Requires-Dist: memory-profiler>=0.61.0; extra == 'full'
72
+ Requires-Dist: mypy>=1.17.0; extra == 'full'
73
+ Requires-Dist: pre-commit>=3.0.0; extra == 'full'
74
+ Requires-Dist: psutil>=7.0.0; extra == 'full'
75
+ Requires-Dist: pydantic-settings>=2.10.1; extra == 'full'
76
+ Requires-Dist: pydantic>=2.11.7; extra == 'full'
77
+ Requires-Dist: pytest-asyncio>=1.1.0; extra == 'full'
78
+ Requires-Dist: pytest-cov>=4.0.0; extra == 'full'
79
+ Requires-Dist: pytest-mock>=3.14.1; extra == 'full'
80
+ Requires-Dist: pytest>=8.4.1; extra == 'full'
81
+ Requires-Dist: ruff>=0.1.0; extra == 'full'
82
+ Requires-Dist: tree-sitter-c>=0.20.0; extra == 'full'
83
+ Requires-Dist: tree-sitter-cpp>=0.23.4; extra == 'full'
84
+ Requires-Dist: tree-sitter-go>=0.20.0; extra == 'full'
85
+ Requires-Dist: tree-sitter-java>=0.23.5; extra == 'full'
86
+ Requires-Dist: tree-sitter-javascript>=0.23.1; extra == 'full'
87
+ Requires-Dist: tree-sitter-python>=0.23.0; extra == 'full'
88
+ Requires-Dist: tree-sitter-rust>=0.20.0; extra == 'full'
89
+ Requires-Dist: tree-sitter-typescript>=0.20.0; extra == 'full'
90
+ Requires-Dist: types-psutil>=5.9.0; extra == 'full'
91
+ Provides-Extra: go
92
+ Requires-Dist: tree-sitter-go>=0.20.0; extra == 'go'
93
+ Provides-Extra: java
94
+ Requires-Dist: tree-sitter-java>=0.23.5; extra == 'java'
95
+ Provides-Extra: javascript
96
+ Requires-Dist: tree-sitter-javascript>=0.23.1; extra == 'javascript'
97
+ Provides-Extra: mcp
98
+ Requires-Dist: anyio>=4.9.0; extra == 'mcp'
99
+ Requires-Dist: httpx>=0.28.1; extra == 'mcp'
100
+ Requires-Dist: mcp>=1.12.2; extra == 'mcp'
101
+ Requires-Dist: pydantic-settings>=2.10.1; extra == 'mcp'
102
+ Requires-Dist: pydantic>=2.11.7; extra == 'mcp'
103
+ Provides-Extra: popular
104
+ Requires-Dist: tree-sitter-java>=0.23.5; extra == 'popular'
105
+ Requires-Dist: tree-sitter-javascript>=0.23.1; extra == 'popular'
106
+ Requires-Dist: tree-sitter-python>=0.23.0; extra == 'popular'
107
+ Requires-Dist: tree-sitter-typescript>=0.20.0; extra == 'popular'
108
+ Provides-Extra: python
109
+ Requires-Dist: tree-sitter-python>=0.23.0; extra == 'python'
110
+ Provides-Extra: rust
111
+ Requires-Dist: tree-sitter-rust>=0.20.0; extra == 'rust'
112
+ Provides-Extra: systems
113
+ Requires-Dist: tree-sitter-c>=0.20.0; extra == 'systems'
114
+ Requires-Dist: tree-sitter-cpp>=0.23.4; extra == 'systems'
115
+ Requires-Dist: tree-sitter-go>=0.20.0; extra == 'systems'
116
+ Requires-Dist: tree-sitter-rust>=0.20.0; extra == 'systems'
117
+ Provides-Extra: test
118
+ Requires-Dist: pytest-asyncio>=1.1.0; extra == 'test'
119
+ Requires-Dist: pytest-cov>=4.0.0; extra == 'test'
120
+ Requires-Dist: pytest-mock>=3.14.1; extra == 'test'
121
+ Requires-Dist: pytest>=8.4.1; extra == 'test'
122
+ Requires-Dist: tree-sitter-cpp>=0.23.4; extra == 'test'
123
+ Requires-Dist: tree-sitter-java>=0.23.5; extra == 'test'
124
+ Requires-Dist: tree-sitter-javascript>=0.23.1; extra == 'test'
125
+ Requires-Dist: tree-sitter-python>=0.23.0; extra == 'test'
126
+ Provides-Extra: typescript
127
+ Requires-Dist: tree-sitter-typescript>=0.20.0; extra == 'typescript'
128
+ Provides-Extra: web
129
+ Requires-Dist: tree-sitter-javascript>=0.23.1; extra == 'web'
130
+ Requires-Dist: tree-sitter-typescript>=0.20.0; extra == 'web'
131
+ Description-Content-Type: text/markdown
132
+
133
+ # Tree-sitter Analyzer
134
+
135
+ [![Python Version](https://img.shields.io/badge/python-3.10%2B-blue.svg)](https://python.org)
136
+ [![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
137
+ [![Tests](https://img.shields.io/badge/tests-1283%20passed-brightgreen.svg)](#testing)
138
+
139
+ **Solve the LLM token limit problem for large code files.**
140
+
141
+ An extensible multi-language code analyzer that helps AI assistants understand code structure without reading entire files. Get code overview, extract specific sections, and analyze complexity - all optimized for LLM workflows.
142
+
143
+ ## โœจ Why Tree-sitter Analyzer?
144
+
145
+ **The Problem:** Large code files exceed LLM token limits, making code analysis inefficient or impossible.
146
+
147
+ **The Solution:** Smart code analysis that provides:
148
+ - ๐Ÿ“Š **Code overview** without reading complete files
149
+ - ๐ŸŽฏ **Targeted extraction** of specific line ranges
150
+ - ๐Ÿ“ **Precise positioning** for accurate code operations
151
+ - ๐Ÿค– **AI assistant integration** via MCP protocol
152
+
153
+ ## ๐Ÿš€ Quick Start (5 minutes)
154
+
155
+ ### For AI Assistant Users (Claude Desktop)
156
+
157
+ 1. **Install the package:**
158
+ ```bash
159
+ # Install uv (fast Python package manager)
160
+ curl -LsSf https://astral.sh/uv/install.sh | sh # macOS/Linux
161
+ # or: powershell -c "irm https://astral.sh/uv/install.ps1 | iex" # Windows
162
+
163
+ # No need to install the package separately - uv handles it
164
+ ```
165
+
166
+ 2. **Configure Claude Desktop:**
167
+
168
+ Add to your Claude Desktop config file:
169
+
170
+ **Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
171
+ **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
172
+ **Linux:** `~/.config/claude/claude_desktop_config.json`
173
+
174
+ ```json
175
+ {
176
+ "mcpServers": {
177
+ "tree-sitter-analyzer": {
178
+ "command": "uv",
179
+ "args": [
180
+ "run",
181
+ "--with",
182
+ "tree-sitter-analyzer[mcp]",
183
+ "python",
184
+ "-m",
185
+ "tree_sitter_analyzer.mcp.server"
186
+ ]
187
+ }
188
+ }
189
+ }
190
+ ```
191
+
192
+ 3. **Restart Claude Desktop** and start analyzing code!
193
+
194
+ ### For CLI Users
195
+
196
+ ```bash
197
+ # Install with uv (recommended)
198
+ uv add "tree-sitter-analyzer[popular]"
199
+
200
+ # Step 1: Check file scale
201
+ uv run python -m tree_sitter_analyzer examples/Sample.java --advanced --output-format=text
202
+
203
+ # Step 2: Analyze structure (for large files)
204
+ uv run python -m tree_sitter_analyzer examples/Sample.java --table=full
205
+
206
+ # Step 3: Extract specific lines
207
+ uv run python -m tree_sitter_analyzer examples/Sample.java --partial-read --start-line 84 --end-line 86
208
+ ```
209
+
210
+ ## ๐Ÿ› ๏ธ Core Features
211
+
212
+ ### 1. Code Structure Analysis
213
+ Get comprehensive overview without reading entire files:
214
+ - Classes, methods, fields count
215
+ - Package information
216
+ - Import dependencies
217
+ - Complexity metrics
218
+
219
+ ### 2. Targeted Code Extraction
220
+ Extract specific code sections efficiently:
221
+ - Line range extraction
222
+ - Precise positioning data
223
+ - Content length information
224
+
225
+ ### 3. AI Assistant Integration
226
+ Four powerful MCP tools for AI assistants:
227
+ - `analyze_code_scale` - Get code metrics and complexity
228
+ - `analyze_code_structure` - Generate detailed structure tables
229
+ - `read_code_partial` - Extract specific line ranges
230
+ - `analyze_code_universal` - Universal analysis with auto-detection
231
+
232
+ ### 4. Multi-Language Support
233
+ - **Java** - Full support with advanced analysis
234
+ - **Python** - Complete support
235
+ - **JavaScript/TypeScript** - Full support
236
+ - **C/C++, Rust, Go** - Basic support
237
+
238
+ ## ๐Ÿ“– Usage Examples
239
+
240
+ ### AI Assistant Usage (via Claude Desktop)
241
+
242
+ **Step 1: Get code overview:**
243
+ > "What's the overall complexity and size of this Java file examples/Sample.java?"
244
+
245
+ **Step 2: Analyze code structure (for large files):**
246
+ > "Please analyze the structure of examples/Sample.java and show me a detailed table"
247
+
248
+ **Step 3: Extract specific code:**
249
+ > "Show me lines 84-86 from examples/Sample.java"
250
+
251
+ ### CLI Usage
252
+
253
+ **Step 1: Basic analysis (Check file scale):**
254
+ ```bash
255
+ uv run python -m tree_sitter_analyzer examples/Sample.java --advanced --output-format=text
256
+ ```
257
+
258
+ **Step 2: Structure analysis (For large files that exceed LLM limits):**
259
+ ```bash
260
+ uv run python -m tree_sitter_analyzer examples/Sample.java --table=full
261
+ ```
262
+
263
+ **Step 3: Targeted extraction (Read specific code sections):**
264
+ ```bash
265
+ uv run python -m tree_sitter_analyzer examples/Sample.java --partial-read --start-line 84 --end-line 86
266
+ ```
267
+
268
+ **Additional Options:**
269
+ ```bash
270
+ # Quiet mode (suppress INFO messages, show only errors)
271
+ uv run python -m tree_sitter_analyzer examples/Sample.java --advanced --output-format=text --quiet
272
+
273
+ # Table output with quiet mode
274
+ uv run python -m tree_sitter_analyzer examples/Sample.java --table=full --quiet
275
+ ```
276
+
277
+ ## ๐Ÿ”ง Installation Options
278
+
279
+ ### For End Users
280
+ ```bash
281
+ # Basic installation
282
+ uv add tree-sitter-analyzer
283
+
284
+ # With popular languages (Java, Python, JS, TS)
285
+ uv add "tree-sitter-analyzer[popular]"
286
+
287
+ # With MCP server support
288
+ uv add "tree-sitter-analyzer[mcp]"
289
+
290
+ # Full installation
291
+ uv add "tree-sitter-analyzer[all,mcp]"
292
+ ```
293
+
294
+ ### For Developers
295
+ ```bash
296
+ # Clone and install for development
297
+ git clone https://github.com/aimasteracc/tree-sitter-analyzer.git
298
+ cd tree-sitter-analyzer
299
+ uv sync --extra all --extra mcp
300
+ ```
301
+
302
+ ## ๐Ÿ“š Documentation
303
+
304
+ - **[MCP Setup Guide for Users](MCP_SETUP_USERS.md)** - Simple setup for AI assistant users
305
+ - **[MCP Setup Guide for Developers](MCP_SETUP_DEVELOPERS.md)** - Local development configuration
306
+ - **[API Documentation](docs/api.md)** - Detailed API reference
307
+ - **[Contributing Guide](CONTRIBUTING.md)** - How to contribute
308
+
309
+ ## ๐Ÿงช Testing
310
+
311
+ This project maintains high code quality with **1283 passing tests**.
312
+
313
+ ```bash
314
+ # Run tests
315
+ pytest tests/ -v
316
+
317
+ # Run with coverage
318
+ pytest tests/ --cov=tree_sitter_analyzer
319
+ ```
320
+
321
+ ## ๐Ÿ“„ License
322
+
323
+ MIT License - see [LICENSE](LICENSE) file for details.
324
+
325
+ ## ๐Ÿค Contributing
326
+
327
+ We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.
328
+
329
+ ### ๐Ÿค– AI/LLM Collaboration
330
+
331
+ This project supports AI-assisted development with specialized quality controls:
332
+
333
+ ```bash
334
+ # For AI systems - run before generating code
335
+ python check_quality.py --new-code-only
336
+ python llm_code_checker.py --check-all
337
+
338
+ # For AI-generated code review
339
+ python llm_code_checker.py path/to/new_file.py
340
+ ```
341
+
342
+ ๐Ÿ“– **See our [AI Collaboration Guide](AI_COLLABORATION_GUIDE.md) and [LLM Coding Guidelines](LLM_CODING_GUIDELINES.md) for detailed instructions on working with AI systems.**
343
+
344
+ ---
345
+
346
+ **Made with โค๏ธ for developers who work with large codebases and AI assistants.**
@@ -0,0 +1,77 @@
1
+ tree_sitter_analyzer/__init__.py,sha256=f_9AqMgRs7bCqlbAr_qI5s2GBCxSUNOjJzTxaCKdz2o,3113
2
+ tree_sitter_analyzer/__main__.py,sha256=zlzSTDNKSOs7koUVJc_yCNilrOpF80yS01Tvny6UBi8,281
3
+ tree_sitter_analyzer/api.py,sha256=2YcvoCocKrhQJ5syqVUzy5lnDtVdx5UMzj0WN_9tRsA,16850
4
+ tree_sitter_analyzer/cli_main.py,sha256=jXHJx7LnY7WfiAL_KBzIhrrREDtvDj5NvU3902JMQgg,9320
5
+ tree_sitter_analyzer/encoding_utils.py,sha256=fly2xf0Aet9lRu83pvCWrA9cphLFABlVC_HgEUHUvQ0,14430
6
+ tree_sitter_analyzer/exceptions.py,sha256=yAMNcwva4c_cwjH3IeRB67CMq8r9RPHYQawkl3SbykI,9568
7
+ tree_sitter_analyzer/file_handler.py,sha256=ne4W0AfZVTB0EOp_cA9XBYuDH5dUyf1esYYr2U3KzPo,7184
8
+ tree_sitter_analyzer/java_analyzer.py,sha256=jyyWyzPXVYoDHJ98Plgi826WqJUn_eGonS3Uu-Z3z98,8401
9
+ tree_sitter_analyzer/language_detector.py,sha256=EOwuraMtv9hW8xUU2hoD2-zlyhOStAadAXJ4EStiH6I,12142
10
+ tree_sitter_analyzer/language_loader.py,sha256=YQ_3AkWCPPEv8OBg0Bpyc0ABftqRBQfTbnCzcqhk-ZY,7902
11
+ tree_sitter_analyzer/models.py,sha256=zyaSGD7s9O4gWjz49LjTBnqRjXEDSVc7bEql_7l-wxs,16070
12
+ tree_sitter_analyzer/output_manager.py,sha256=29egMs1w0bejTm8M-YR0DZI4Kth0Pr0xrx63c5rkI-Q,8420
13
+ tree_sitter_analyzer/query_loader.py,sha256=HZzTJ7HfuTsmOaPOcv8-opVjco2u4gqKez8o6fZEIGI,9707
14
+ tree_sitter_analyzer/table_formatter.py,sha256=LS3b8XxSVqpsg8g9eyHvYn6kyyxaGf8Mc3MpZ6LvVeQ,17728
15
+ tree_sitter_analyzer/utils.py,sha256=1oryYZxks6JYjVO3opdCf4mAxe6l1bDR2qvf1QH9GkI,7981
16
+ tree_sitter_analyzer/cli/__init__.py,sha256=ChltfvS65GblR7k_mSgcPPnOdFsK-85-xr3Y1Hc1eko,823
17
+ tree_sitter_analyzer/cli/__main__.py,sha256=Xq8o8-0dPnMDU9WZqmqhzr98rx8rvoffTUHAkAwl-L8,218
18
+ tree_sitter_analyzer/cli/info_commands.py,sha256=fTW_rcEZuNB1iWSFPAp8CyhD_YUgvhAGtkvx64kYfvQ,4376
19
+ tree_sitter_analyzer/cli/commands/__init__.py,sha256=jpcpM1ptLuxLMBDUv1y_a87k8RAw1otFzeYpWtXvz3Y,671
20
+ tree_sitter_analyzer/cli/commands/advanced_command.py,sha256=MagDYt8c-clbpkBPRXUyxwOGdph5emAIJO6RUWPQsv8,3408
21
+ tree_sitter_analyzer/cli/commands/base_command.py,sha256=lVQOUeF0_9JKdhS9O41RacsLn0eG_ZaCzu9JF1HYnk4,5753
22
+ tree_sitter_analyzer/cli/commands/default_command.py,sha256=41zPRy2ClcJVFGATx2KCDiMSRKa7vQvJi6R6LccjRrc,558
23
+ tree_sitter_analyzer/cli/commands/partial_read_command.py,sha256=r2Im3kw-D6ACTcXi2JTd1JOqsBopuViD6uqjcY-moNo,4666
24
+ tree_sitter_analyzer/cli/commands/query_command.py,sha256=v-DCDF4lGPhQO4X4QplGXFZEjXP9wbytH4shM1mhMj8,3187
25
+ tree_sitter_analyzer/cli/commands/structure_command.py,sha256=0iJwjOgtW838hXleXogWhbu6eQFfrLR1QgKe5PFBqvU,5220
26
+ tree_sitter_analyzer/cli/commands/summary_command.py,sha256=h__km0dftQyn0Td6d2sdDuFCll5-eJ_A1NLZTfMXrqE,3581
27
+ tree_sitter_analyzer/cli/commands/table_command.py,sha256=UBGU1zlolq9mRbKuAoIwOFlvGVP3mR2U4mzZSelCb9M,9347
28
+ tree_sitter_analyzer/core/__init__.py,sha256=VlYOy1epW16vjaVd__knESewnU0sfXF9a4hjrFxiSEE,440
29
+ tree_sitter_analyzer/core/analysis_engine.py,sha256=qzmVC4Z0Ez0ExLVXMSVZ0DPPg3we3UZJz2LJbCyCkZc,20119
30
+ tree_sitter_analyzer/core/cache_service.py,sha256=WeNawH6JyJKKBA-0rlJIRPmdErxkLQTQsbghHVkqmPo,9924
31
+ tree_sitter_analyzer/core/engine.py,sha256=uTTSNs1bZLqsQ5l5919WF_K4U3VsSWiY8gHBzgdWGkk,18244
32
+ tree_sitter_analyzer/core/parser.py,sha256=zGA_SEZFZmT9XYZylWYRL6vsO5pk5pTNpTWi3B_wQb8,9264
33
+ tree_sitter_analyzer/core/query.py,sha256=jwSNtvTk0HHYaG1r_4WQ-jGX6P_5cZOF6EGqCZsoG3M,16008
34
+ tree_sitter_analyzer/formatters/__init__.py,sha256=yVb4HF_4EEPRwTf3y3-vM2NllrhykG3zlvQhN-6dB4c,31
35
+ tree_sitter_analyzer/formatters/base_formatter.py,sha256=L5OD0KbK9udMJ03Iy1gUtbit0iUdL2zduf5-zVUaV4A,5930
36
+ tree_sitter_analyzer/formatters/formatter_factory.py,sha256=riwl62urKwMka8CqPhkFy7CgZP2YM3lckLQ4-boSA6s,2319
37
+ tree_sitter_analyzer/formatters/java_formatter.py,sha256=3gNcRpoXh2_qvtRt9Fodbct9azvyYXfjBs-aKWuHT34,11199
38
+ tree_sitter_analyzer/formatters/python_formatter.py,sha256=RoUY3t0m6MIQ_hGupSaCPtStwrhm7wwon57yA5wVKwM,9888
39
+ tree_sitter_analyzer/interfaces/__init__.py,sha256=OcT7eNIU0ZXvAeAXbhDqRG3puxn93HeSLqplwj6npTM,271
40
+ tree_sitter_analyzer/interfaces/cli.py,sha256=F1J-KeHrZdRAjK2Ozztgu9MWk1WYjxd3kPp4RsQW2Yo,16824
41
+ tree_sitter_analyzer/interfaces/cli_adapter.py,sha256=3Z02rXJIH6gtxIP-3ENps1FYkmZSTLS6okdTXhaie4Y,10757
42
+ tree_sitter_analyzer/interfaces/mcp_adapter.py,sha256=FUUxkrOIkCwFZDvh9XBatkO08axs49RiUSsEfteW7fE,6229
43
+ tree_sitter_analyzer/interfaces/mcp_server.py,sha256=FQ59ANBa-4Dpv9RO_u3GDCWvJcvksQcdL3UZGFBOIFs,16067
44
+ tree_sitter_analyzer/languages/__init__.py,sha256=VTXxJgVjHJAciLhX0zzXOS4EygZMtebeYUbi_0z6fGw,340
45
+ tree_sitter_analyzer/languages/java_plugin.py,sha256=5L7j9LCFYLWaD7HA6Y6JpDyeKXb9RkJoqe7LsmmlwLI,44659
46
+ tree_sitter_analyzer/languages/python_plugin.py,sha256=aKEg93KeYE6-9J0tulCKCb04Y1zgluFjTCv7TBViFfI,28427
47
+ tree_sitter_analyzer/mcp/__init__.py,sha256=76ZKgWbsXZWB8mNER2D0fNHdULPZhqqBJHi8R0uHDPE,721
48
+ tree_sitter_analyzer/mcp/server.py,sha256=kC0eh3vLisdEPDea0ZluWUxgutBC6ZD9F0JbxMKDVoA,12362
49
+ tree_sitter_analyzer/mcp/resources/__init__.py,sha256=SWnK8liTQkuQXlVgyRP9mf5HzpqmqohShrC98xlNnDc,1389
50
+ tree_sitter_analyzer/mcp/resources/code_file_resource.py,sha256=cFzu-NpUrdXicFzlxoNC-dE9wn0zll3lRCHwTJlMVdc,6316
51
+ tree_sitter_analyzer/mcp/resources/project_stats_resource.py,sha256=0NYEOK7Zxm3yanx0rS2F7luvIAJvR9fw3mtK0f4La2Q,19402
52
+ tree_sitter_analyzer/mcp/tools/__init__.py,sha256=u7JrSLwE95y50mfjSus6HRdtdhkNbVrW8jP4AooawEU,762
53
+ tree_sitter_analyzer/mcp/tools/analyze_scale_tool.py,sha256=ARxOvBUrTmYAfMEU7eGFZD2Mi9D3o-ED_A81G3KedKQ,24485
54
+ tree_sitter_analyzer/mcp/tools/analyze_scale_tool_cli_compatible.py,sha256=AHjgWy5wCfCi2yF_Imlc3Mzjn8aj8WLhpW-XuB1oRJI,8683
55
+ tree_sitter_analyzer/mcp/tools/base_tool.py,sha256=FVSMgKIliQ5EBVQEfjYwWeqzWt9OqOFDr3dyACIDxig,1210
56
+ tree_sitter_analyzer/mcp/tools/read_partial_tool.py,sha256=0Rb-jI2CfzN1PVeJZnkERaowm9Y8iFSZl8W-VIQQ8cI,10735
57
+ tree_sitter_analyzer/mcp/tools/table_format_tool.py,sha256=s7b-u4OYBCq_QxVG3LC7Td0YyxAIcy4CrOE0LFNYGKQ,14246
58
+ tree_sitter_analyzer/mcp/tools/universal_analyze_tool.py,sha256=Wl4wZWHYbvcYKnFmdkEn7FTNSel_jlnpQCjfSuzYkEg,20785
59
+ tree_sitter_analyzer/mcp/utils/__init__.py,sha256=DFahy90M5lpNSMmCgQJHCHl_0gX9sn6lhCRsxlyaLgo,2858
60
+ tree_sitter_analyzer/mcp/utils/error_handler.py,sha256=QgKqjUhe0QTCRrtoiuTxDMUt-eDRNclf1ToJtaCNoq8,17423
61
+ tree_sitter_analyzer/plugins/__init__.py,sha256=J-QzhobLv9pAoGSW5IUNjlWow4fsDxYKkVoEvxz6eqE,12362
62
+ tree_sitter_analyzer/plugins/base.py,sha256=Nw8kIaUBJVdMXW2ITKyQZ32mASpCjmqzrVRm0MHsfks,15557
63
+ tree_sitter_analyzer/plugins/java_plugin.py,sha256=6RQGlv6_-BF2iwHcoBFazr3MbAjhjhXM-Pmy-jlyUmI,23430
64
+ tree_sitter_analyzer/plugins/javascript_plugin.py,sha256=rARje63z9vrn5EfOMHugrnQYKeHsv9KDWA-EGFDC1eE,15799
65
+ tree_sitter_analyzer/plugins/manager.py,sha256=cMs2fVlGBjTeYAVhpMe-O6G5RkNxVOWtzMMuu2IbcL4,11593
66
+ tree_sitter_analyzer/plugins/plugin_loader.py,sha256=ujWH1OORLp7xhrZsnTzIdS2qUepG1EbTp8HICc26dCU,2490
67
+ tree_sitter_analyzer/plugins/python_plugin.py,sha256=FeRVSdLnOQvCjIqm7xZ9zmKNnLhhPgJVVVnDvqPfuLo,23759
68
+ tree_sitter_analyzer/plugins/registry.py,sha256=WU2OcyX_iT837aLg0i_nX4jOOBk4Ufbh9FZTLt1j2p0,11174
69
+ tree_sitter_analyzer/queries/__init__.py,sha256=dwDDc7PCw_UWruxSeJ8uEBjY0O5uLDBI5YqyvBhbnN0,696
70
+ tree_sitter_analyzer/queries/java.py,sha256=eGbeu6UfTWsQ2oC5dvYMsQTH6GlT7mvhf9Mq2y52f2A,12536
71
+ tree_sitter_analyzer/queries/javascript.py,sha256=MFZgGGUTcujsG4fIMjQjaZoKezmpHsDGHBG2ZLBH1nQ,4010
72
+ tree_sitter_analyzer/queries/python.py,sha256=7-uOr8ZR7WC7iwbx8yeFfswYoNg6FwtdGXrnt6rGtm8,7708
73
+ tree_sitter_analyzer/queries/typescript.py,sha256=LJCfyntKFz7fHx1YG21DtdMC1nqRrrj3LkjydD2yDnk,6884
74
+ tree_sitter_analyzer-0.3.0.dist-info/METADATA,sha256=iwy2M2TTCACE8LcbTqvVJSK5zrNU0W-TTtlU5mov0PU,12976
75
+ tree_sitter_analyzer-0.3.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
76
+ tree_sitter_analyzer-0.3.0.dist-info/entry_points.txt,sha256=-XEh1racqnCT30mhKWMv5-bgX0iqd_J6b08lZS9J4eg,336
77
+ tree_sitter_analyzer-0.3.0.dist-info/RECORD,,