tree-sitter-analyzer 1.9.0__py3-none-any.whl → 1.9.1__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.
- tree_sitter_analyzer/__init__.py +1 -1
- tree_sitter_analyzer/formatters/html_formatter.py +2 -12
- {tree_sitter_analyzer-1.9.0.dist-info → tree_sitter_analyzer-1.9.1.dist-info}/METADATA +23 -6
- {tree_sitter_analyzer-1.9.0.dist-info → tree_sitter_analyzer-1.9.1.dist-info}/RECORD +6 -6
- {tree_sitter_analyzer-1.9.0.dist-info → tree_sitter_analyzer-1.9.1.dist-info}/WHEEL +0 -0
- {tree_sitter_analyzer-1.9.0.dist-info → tree_sitter_analyzer-1.9.1.dist-info}/entry_points.txt +0 -0
tree_sitter_analyzer/__init__.py
CHANGED
|
@@ -484,15 +484,5 @@ class HtmlCompactFormatter(IFormatter):
|
|
|
484
484
|
return "\n".join(lines)
|
|
485
485
|
|
|
486
486
|
|
|
487
|
-
#
|
|
488
|
-
|
|
489
|
-
"""Register HTML-specific formatters"""
|
|
490
|
-
from .formatter_registry import FormatterRegistry
|
|
491
|
-
|
|
492
|
-
FormatterRegistry.register_formatter(HtmlFormatter)
|
|
493
|
-
FormatterRegistry.register_formatter(HtmlJsonFormatter)
|
|
494
|
-
FormatterRegistry.register_formatter(HtmlCompactFormatter)
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
# Auto-register when module is imported
|
|
498
|
-
register_html_formatters()
|
|
487
|
+
# HTML formatters are registered via formatter_registry.py
|
|
488
|
+
# to avoid duplicate registration warnings
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tree-sitter-analyzer
|
|
3
|
-
Version: 1.9.
|
|
3
|
+
Version: 1.9.1
|
|
4
4
|
Summary: AI-era enterprise-grade code analysis tool with comprehensive HTML/CSS support, dynamic plugin architecture, and MCP integration
|
|
5
5
|
Project-URL: Homepage, https://github.com/aimasteracc/tree-sitter-analyzer
|
|
6
6
|
Project-URL: Documentation, https://github.com/aimasteracc/tree-sitter-analyzer#readme
|
|
@@ -198,11 +198,11 @@ Description-Content-Type: text/markdown
|
|
|
198
198
|
|
|
199
199
|
[](https://python.org)
|
|
200
200
|
[](LICENSE)
|
|
201
|
-
[](#quality-assurance)
|
|
202
202
|
[](https://codecov.io/gh/aimasteracc/tree-sitter-analyzer)
|
|
203
203
|
[](#quality-assurance)
|
|
204
204
|
[](https://pypi.org/project/tree-sitter-analyzer/)
|
|
205
|
-
[](https://github.com/aimasteracc/tree-sitter-analyzer/releases)
|
|
206
206
|
[](https://zread.ai/aimasteracc/tree-sitter-analyzer)
|
|
207
207
|
[](https://github.com/aimasteracc/tree-sitter-analyzer)
|
|
208
208
|
|
|
@@ -255,7 +255,7 @@ Tree-sitter Analyzer is an enterprise-grade code analysis tool designed for the
|
|
|
255
255
|
| **Go** | Basic Support | Basic syntax parsing |
|
|
256
256
|
|
|
257
257
|
### 🏆 Production Ready
|
|
258
|
-
- **3,
|
|
258
|
+
- **3,370 Tests** - 100% pass rate, enterprise-grade quality assurance
|
|
259
259
|
- **High Coverage** - Comprehensive test coverage
|
|
260
260
|
- **Cross-platform Support** - Compatible with Windows, macOS, Linux
|
|
261
261
|
- **Continuous Maintenance** - Active development and community support
|
|
@@ -634,13 +634,30 @@ Tree-sitter Analyzer provides a rich set of MCP tools designed for AI assistants
|
|
|
634
634
|
| | `analyze_code_structure` | Code structure analysis and table generation | 🆕 suppress_output parameter, multiple formats (full/compact/csv/json/html), automatic language detection |
|
|
635
635
|
| | `extract_code_section` | Precise code section extraction | Specified line range extraction, large file efficient processing, original format preservation |
|
|
636
636
|
| **🔍 Intelligent Search** | `list_files` | High-performance file discovery | fd-based, glob patterns, file type filters, time range control |
|
|
637
|
-
| | `search_content` | Regex content search | ripgrep-based, multiple output formats, context control, encoding handling, 🆕 unified `set_project_path` support |
|
|
637
|
+
| | `search_content` | Regex content search | ripgrep-based, multiple output formats, context control, encoding handling, 🆕 parallel processing engine, unified `set_project_path` support |
|
|
638
638
|
| | `find_and_grep` | Two-stage search | File discovery → content search, fd+ripgrep combination, intelligent cache optimization, 🆕 unified `set_project_path` support |
|
|
639
639
|
| **🔧 Advanced Queries** | `query_code` | tree-sitter queries | Predefined query keys, custom query strings, filter expression support |
|
|
640
640
|
| **⚙️ System Management** | `set_project_path` | Project root path setting | Security boundary control, automatic path validation, 🆕 unified across all MCP tools |
|
|
641
641
|
| **📁 Resource Access** | Code file resources | URI code file access | File content access via URI identification |
|
|
642
642
|
| | Project statistics resources | Project statistics data access | Project analysis data and statistical information |
|
|
643
643
|
|
|
644
|
+
### 🆕 v1.9.0 New Feature: Parallel Processing Engine
|
|
645
|
+
|
|
646
|
+
Revolutionary parallel processing capabilities for enhanced search performance:
|
|
647
|
+
|
|
648
|
+
- **🔄 Parallel Processing Engine**: search_content MCP tool now supports parallel processing for multiple directories
|
|
649
|
+
- **⚡ Performance Boost**: Up to 4x faster search speeds for large codebases
|
|
650
|
+
- **🛡️ Type Safety Improvements**: 7% reduction in mypy errors (341→318)
|
|
651
|
+
- **✨ Code Style Unification**: Significant reduction in ruff violations
|
|
652
|
+
- **🏗️ Technical Debt Resolution**: Comprehensive code quality improvements
|
|
653
|
+
- **🚀 Test Execution Time**: Maintained 83% reduction (215s→37s)
|
|
654
|
+
|
|
655
|
+
#### 🔄 Parallel Processing Details
|
|
656
|
+
- **Automatic Parallel Execution**: Multiple roots directories are automatically processed in parallel
|
|
657
|
+
- **Configurable Control**: `enable_parallel` option for control (default: True)
|
|
658
|
+
- **Scalable Performance**: Performance improvements scale with directory count
|
|
659
|
+
- **Memory Efficient**: Semaphore-controlled concurrent execution limits
|
|
660
|
+
|
|
644
661
|
### 🆕 v1.8.4 New Feature: Configurable File Logging
|
|
645
662
|
|
|
646
663
|
Revolutionary environment variable-controlled file logging system:
|
|
@@ -873,7 +890,7 @@ uv run python -m tree_sitter_analyzer --show-query-languages
|
|
|
873
890
|
## 8. 🏆 Quality Assurance
|
|
874
891
|
|
|
875
892
|
### 📊 Quality Metrics
|
|
876
|
-
- **3,
|
|
893
|
+
- **3,370 tests** - 100% pass rate ✅
|
|
877
894
|
- **High code coverage** - Comprehensive test suite
|
|
878
895
|
- **Zero test failures** - Production ready
|
|
879
896
|
- **Cross-platform support** - Windows, macOS, Linux
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tree_sitter_analyzer/__init__.py,sha256=
|
|
1
|
+
tree_sitter_analyzer/__init__.py,sha256=yz1bxuVMf57NLkjSKaimvMe_1h8qwe5JUDLJ3OuewQM,3067
|
|
2
2
|
tree_sitter_analyzer/__main__.py,sha256=Zl79tpe4UaMu-7yeztc06tgP0CVMRnvGgas4ZQP5SCs,228
|
|
3
3
|
tree_sitter_analyzer/api.py,sha256=y12xDnqvdNJdiG6GyqVdZBunmBLwfIjVgsCy0jjGOds,22129
|
|
4
4
|
tree_sitter_analyzer/cli_main.py,sha256=AmKeZIUCSI8Gshbz_e1Niquf4pFbpPgtOTwQdLbQgcw,11093
|
|
@@ -42,7 +42,7 @@ tree_sitter_analyzer/formatters/__init__.py,sha256=yVb4HF_4EEPRwTf3y3-vM2Nllrhyk
|
|
|
42
42
|
tree_sitter_analyzer/formatters/base_formatter.py,sha256=e3LQ9p3_XyaPSx1jevO7eo8r-fHimu4wuC_uUKgSijg,6698
|
|
43
43
|
tree_sitter_analyzer/formatters/formatter_factory.py,sha256=4fsSMxhBmGWFmPjcuwkTvgiIWWFireaOaChYi1UNnSM,2381
|
|
44
44
|
tree_sitter_analyzer/formatters/formatter_registry.py,sha256=_3z1nsiV3eqrAq8NZ53aUUBGBXqjibDvbTXElR2yHf0,11479
|
|
45
|
-
tree_sitter_analyzer/formatters/html_formatter.py,sha256=
|
|
45
|
+
tree_sitter_analyzer/formatters/html_formatter.py,sha256=XNKtnsqmRBrGhbMu_4UkQb4kQo_5ZM-12ntqHxBHkuo,18696
|
|
46
46
|
tree_sitter_analyzer/formatters/java_formatter.py,sha256=0jxKfrWtsr_K2VG1zW0LH2E6w6nfpIhcXTfIyWw3Jmc,11163
|
|
47
47
|
tree_sitter_analyzer/formatters/javascript_formatter.py,sha256=31cbf4UldSdZXxZzcC5faEczkedVHcK9Mlq7lp74tKk,21320
|
|
48
48
|
tree_sitter_analyzer/formatters/language_formatter_factory.py,sha256=dIfeCb82huRBzhl0M111rkihhPp_sr0CKcXUwg76BU8,2288
|
|
@@ -103,7 +103,7 @@ tree_sitter_analyzer/security/regex_checker.py,sha256=jWK6H8PTPgzbwRPfK_RZ8bBTS6
|
|
|
103
103
|
tree_sitter_analyzer/security/validator.py,sha256=OIrlMmIqrfpG7FxrI9_xR6g3sgPpJyWPFfYiWma7Rkk,21708
|
|
104
104
|
tree_sitter_analyzer/utils/__init__.py,sha256=ch_TjuMxxdGF9dDBOP_sYVGVZaMXzgGS1FOFn3sicHA,3863
|
|
105
105
|
tree_sitter_analyzer/utils/tree_sitter_compat.py,sha256=p565DG7r5sHK2GgZFyj7X4eLwpWujaN_M61Z3oDqAxE,10610
|
|
106
|
-
tree_sitter_analyzer-1.9.
|
|
107
|
-
tree_sitter_analyzer-1.9.
|
|
108
|
-
tree_sitter_analyzer-1.9.
|
|
109
|
-
tree_sitter_analyzer-1.9.
|
|
106
|
+
tree_sitter_analyzer-1.9.1.dist-info/METADATA,sha256=jtETjSq1c14B0QHeQxiJR9_HCDJF1MYhPbhhPfx-hDg,50168
|
|
107
|
+
tree_sitter_analyzer-1.9.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
108
|
+
tree_sitter_analyzer-1.9.1.dist-info/entry_points.txt,sha256=TJmEXxAMz3og3VPphTHsuE8tNJxf7GuAPjNHwVhXRnc,972
|
|
109
|
+
tree_sitter_analyzer-1.9.1.dist-info/RECORD,,
|
|
File without changes
|
{tree_sitter_analyzer-1.9.0.dist-info → tree_sitter_analyzer-1.9.1.dist-info}/entry_points.txt
RENAMED
|
File without changes
|