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.

@@ -11,7 +11,7 @@ Architecture:
11
11
  - Data Models: Generic and language-specific code element representations
12
12
  """
13
13
 
14
- __version__ = "0.9.7"
14
+ __version__ = "0.9.9"
15
15
  __author__ = "aisheng.yu"
16
16
  __email__ = "aimasteracc@gmail.com"
17
17
 
@@ -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 0.9.3"
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.8
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
  [![Coverage](https://img.shields.io/badge/coverage-74.54%25-green.svg)](#quality-assurance)
142
142
  [![Quality](https://img.shields.io/badge/quality-enterprise%20grade-blue.svg)](#quality-assurance)
143
143
  [![PyPI](https://img.shields.io/pypi/v/tree-sitter-analyzer.svg)](https://pypi.org/project/tree-sitter-analyzer/)
144
- [![Version](https://img.shields.io/badge/version-0.9.8-blue.svg)](https://github.com/aimasteracc/tree-sitter-analyzer/releases)
144
+ [![Version](https://img.shields.io/badge/version-0.9.9-blue.svg)](https://github.com/aimasteracc/tree-sitter-analyzer/releases)
145
145
  [![GitHub Stars](https://img.shields.io/github/stars/aimasteracc/tree-sitter-analyzer.svg?style=social)](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.6)**
565
- - ✅ **Smart Query Filtering System** - 62 new tests all passed
566
- - ✅ **Unified Architecture Design** - QueryService eliminates code duplication
567
- - ✅ **CI Test Fixes** - All platforms test stable
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=lWzOrA7xrd-u8fEv4rQova4X-E4LRPH_pDJiajwNZCw,3067
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=XYqkCbRyf_ygA1_dlCuvyFSZKWvEBjpu7C-9Ssc__Mw,16840
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.8.dist-info/METADATA,sha256=zFg_OCSiYitBph2K6aHC7HRooxgkDN1kbj9WF76FrEU,23557
79
- tree_sitter_analyzer-0.9.8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
80
- tree_sitter_analyzer-0.9.8.dist-info/entry_points.txt,sha256=U4tfLGXgCWubKm2PyEb3zxhQ2pm7zVotMyfyS0CodD8,486
81
- tree_sitter_analyzer-0.9.8.dist-info/RECORD,,
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,,