tree-sitter-analyzer 0.9.8__py3-none-any.whl → 0.9.9__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/interfaces/cli.py +8 -1
- {tree_sitter_analyzer-0.9.8.dist-info → tree_sitter_analyzer-0.9.9.dist-info}/METADATA +7 -6
- {tree_sitter_analyzer-0.9.8.dist-info → tree_sitter_analyzer-0.9.9.dist-info}/RECORD +6 -6
- {tree_sitter_analyzer-0.9.8.dist-info → tree_sitter_analyzer-0.9.9.dist-info}/WHEEL +0 -0
- {tree_sitter_analyzer-0.9.8.dist-info → tree_sitter_analyzer-0.9.9.dist-info}/entry_points.txt +0 -0
tree_sitter_analyzer/__init__.py
CHANGED
|
@@ -7,6 +7,7 @@ Provides a clean separation between CLI concerns and core analysis logic.
|
|
|
7
7
|
"""
|
|
8
8
|
|
|
9
9
|
import argparse
|
|
10
|
+
import importlib.metadata
|
|
10
11
|
import json
|
|
11
12
|
import logging
|
|
12
13
|
import sys
|
|
@@ -53,8 +54,14 @@ For more information, visit: https://github.com/aimasteracc/tree-sitter-analyzer
|
|
|
53
54
|
)
|
|
54
55
|
|
|
55
56
|
# Global options
|
|
57
|
+
# Get version dynamically from package metadata
|
|
58
|
+
try:
|
|
59
|
+
version = importlib.metadata.version("tree-sitter-analyzer")
|
|
60
|
+
except importlib.metadata.PackageNotFoundError:
|
|
61
|
+
version = "0.9.9" # Fallback version
|
|
62
|
+
|
|
56
63
|
parser.add_argument(
|
|
57
|
-
"--version", action="version", version="tree-sitter-analyzer
|
|
64
|
+
"--version", action="version", version=f"tree-sitter-analyzer {version}"
|
|
58
65
|
)
|
|
59
66
|
parser.add_argument(
|
|
60
67
|
"--verbose", "-v", action="store_true", help="Enable verbose output"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tree-sitter-analyzer
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.9
|
|
4
4
|
Summary: Extensible multi-language code analyzer framework using Tree-sitter with dynamic plugin architecture
|
|
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
|
|
@@ -141,7 +141,7 @@ Description-Content-Type: text/markdown
|
|
|
141
141
|
[](#quality-assurance)
|
|
142
142
|
[](#quality-assurance)
|
|
143
143
|
[](https://pypi.org/project/tree-sitter-analyzer/)
|
|
144
|
-
[](https://github.com/aimasteracc/tree-sitter-analyzer/releases)
|
|
145
145
|
[](https://github.com/aimasteracc/tree-sitter-analyzer)
|
|
146
146
|
|
|
147
147
|
## 🚀 Break Through LLM Token Limits, Let AI Understand Code Files of Any Size
|
|
@@ -561,10 +561,11 @@ Tree-sitter Analyzer automatically detects and protects project boundaries:
|
|
|
561
561
|
- **Zero Test Failures** - Complete CI/CD ready
|
|
562
562
|
- **Cross-platform Compatible** - Windows, macOS, Linux
|
|
563
563
|
|
|
564
|
-
### ⚡ **Latest Quality Achievements (v0.9.
|
|
565
|
-
- ✅ **
|
|
566
|
-
- ✅ **
|
|
567
|
-
- ✅ **
|
|
564
|
+
### ⚡ **Latest Quality Achievements (v0.9.9)**
|
|
565
|
+
- ✅ **Unified Path Resolution System** - Centralized PathResolver for all MCP tools
|
|
566
|
+
- ✅ **Cross-platform Compatibility** - Fixed Windows path separator issues
|
|
567
|
+
- ✅ **MCP Tools Enhancement** - Eliminated FileNotFoundError in all tools
|
|
568
|
+
- ✅ **Comprehensive Test Coverage** - 74.54% coverage with 1358 tests
|
|
568
569
|
- ✅ **Multi-language Documentation** - Complete updates in EN/ZH/JA
|
|
569
570
|
|
|
570
571
|
### ⚙️ **Running Tests**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tree_sitter_analyzer/__init__.py,sha256=
|
|
1
|
+
tree_sitter_analyzer/__init__.py,sha256=s3ujsrPqtaOM9-Z0B6L3Nd_TdSTFM2MPF96l0yFoAK8,3067
|
|
2
2
|
tree_sitter_analyzer/__main__.py,sha256=Zl79tpe4UaMu-7yeztc06tgP0CVMRnvGgas4ZQP5SCs,228
|
|
3
3
|
tree_sitter_analyzer/api.py,sha256=naRtGuZ27AIVfn6Rid0zQcHDI71UpO9Nh4NQM9JyD3c,16954
|
|
4
4
|
tree_sitter_analyzer/cli_main.py,sha256=4uIwje6n2qQvTsX4RBgqFgznxJs8RcCnS1GQjrR5IGQ,10354
|
|
@@ -39,7 +39,7 @@ tree_sitter_analyzer/formatters/formatter_factory.py,sha256=mCnAbEHycoSttSuF4dU7
|
|
|
39
39
|
tree_sitter_analyzer/formatters/java_formatter.py,sha256=0jxKfrWtsr_K2VG1zW0LH2E6w6nfpIhcXTfIyWw3Jmc,11163
|
|
40
40
|
tree_sitter_analyzer/formatters/python_formatter.py,sha256=gHP4OtEwvv2ASbmTbyZNvQSP5r4Et4-sAMWr36y0k1Y,9840
|
|
41
41
|
tree_sitter_analyzer/interfaces/__init__.py,sha256=OcT7eNIU0ZXvAeAXbhDqRG3puxn93HeSLqplwj6npTM,271
|
|
42
|
-
tree_sitter_analyzer/interfaces/cli.py,sha256=
|
|
42
|
+
tree_sitter_analyzer/interfaces/cli.py,sha256=c6CGfF6cgOwgpBimHV1myZ5JfNqil5tCVBOfG5-zijU,17100
|
|
43
43
|
tree_sitter_analyzer/interfaces/cli_adapter.py,sha256=LAR5GDwirJSnNB5rP5aVxqcra6diFUwzBzyLU7RUrrQ,10770
|
|
44
44
|
tree_sitter_analyzer/interfaces/mcp_adapter.py,sha256=DJugCRVL-AR6gJRaRrBW5JVXRvfl_iiRjupcnsb0_sE,7111
|
|
45
45
|
tree_sitter_analyzer/interfaces/mcp_server.py,sha256=dUFn1CyO2jLa_y5gGOGE-f0sLGAbjgp738uy5-aAphI,16510
|
|
@@ -75,7 +75,7 @@ tree_sitter_analyzer/security/__init__.py,sha256=ZTqTt24hsljCpTXAZpJC57L7MU5lJLT
|
|
|
75
75
|
tree_sitter_analyzer/security/boundary_manager.py,sha256=CUQWU5j1zdjEbN9UmArcYkq9HbemhttQzk0pVk-vxZs,8153
|
|
76
76
|
tree_sitter_analyzer/security/regex_checker.py,sha256=jWK6H8PTPgzbwRPfK_RZ8bBTS6rtEbgjY5vr3YWjQ_U,9616
|
|
77
77
|
tree_sitter_analyzer/security/validator.py,sha256=UPAPcrnmI2mNzbYOm0MabnJMGllK6HlOQ9KX-2bRfgU,8986
|
|
78
|
-
tree_sitter_analyzer-0.9.
|
|
79
|
-
tree_sitter_analyzer-0.9.
|
|
80
|
-
tree_sitter_analyzer-0.9.
|
|
81
|
-
tree_sitter_analyzer-0.9.
|
|
78
|
+
tree_sitter_analyzer-0.9.9.dist-info/METADATA,sha256=AVFrofFfqm7E8_ssEozsZ8L6eRNEb-DlVn3JqjzcK9M,23670
|
|
79
|
+
tree_sitter_analyzer-0.9.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
80
|
+
tree_sitter_analyzer-0.9.9.dist-info/entry_points.txt,sha256=U4tfLGXgCWubKm2PyEb3zxhQ2pm7zVotMyfyS0CodD8,486
|
|
81
|
+
tree_sitter_analyzer-0.9.9.dist-info/RECORD,,
|
|
File without changes
|
{tree_sitter_analyzer-0.9.8.dist-info → tree_sitter_analyzer-0.9.9.dist-info}/entry_points.txt
RENAMED
|
File without changes
|