tree-sitter-analyzer 1.0.0__py3-none-any.whl → 1.1.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 (29) hide show
  1. tree_sitter_analyzer/__init__.py +132 -132
  2. tree_sitter_analyzer/api.py +542 -542
  3. tree_sitter_analyzer/cli/commands/base_command.py +181 -181
  4. tree_sitter_analyzer/cli/commands/partial_read_command.py +139 -139
  5. tree_sitter_analyzer/cli/info_commands.py +124 -124
  6. tree_sitter_analyzer/cli_main.py +327 -327
  7. tree_sitter_analyzer/core/analysis_engine.py +584 -584
  8. tree_sitter_analyzer/core/query_service.py +162 -162
  9. tree_sitter_analyzer/file_handler.py +212 -212
  10. tree_sitter_analyzer/formatters/base_formatter.py +169 -169
  11. tree_sitter_analyzer/interfaces/cli.py +535 -535
  12. tree_sitter_analyzer/mcp/__init__.py +1 -1
  13. tree_sitter_analyzer/mcp/resources/__init__.py +1 -1
  14. tree_sitter_analyzer/mcp/resources/project_stats_resource.py +16 -5
  15. tree_sitter_analyzer/mcp/server.py +655 -655
  16. tree_sitter_analyzer/mcp/tools/__init__.py +30 -30
  17. tree_sitter_analyzer/mcp/utils/__init__.py +2 -2
  18. tree_sitter_analyzer/mcp/utils/error_handler.py +569 -569
  19. tree_sitter_analyzer/mcp/utils/path_resolver.py +414 -414
  20. tree_sitter_analyzer/output_manager.py +257 -257
  21. tree_sitter_analyzer/project_detector.py +330 -330
  22. tree_sitter_analyzer/security/boundary_manager.py +260 -260
  23. tree_sitter_analyzer/security/validator.py +257 -257
  24. tree_sitter_analyzer/table_formatter.py +710 -710
  25. tree_sitter_analyzer/utils.py +335 -335
  26. {tree_sitter_analyzer-1.0.0.dist-info → tree_sitter_analyzer-1.1.0.dist-info}/METADATA +11 -11
  27. {tree_sitter_analyzer-1.0.0.dist-info → tree_sitter_analyzer-1.1.0.dist-info}/RECORD +29 -29
  28. {tree_sitter_analyzer-1.0.0.dist-info → tree_sitter_analyzer-1.1.0.dist-info}/WHEEL +0 -0
  29. {tree_sitter_analyzer-1.0.0.dist-info → tree_sitter_analyzer-1.1.0.dist-info}/entry_points.txt +0 -0
@@ -1,30 +1,30 @@
1
- #!/usr/bin/env python3
2
- """
3
- MCP Tools package for Tree-sitter Analyzer
4
-
5
- This package contains all MCP tools that provide specific functionality
6
- through the Model Context Protocol.
7
- """
8
-
9
- from typing import Any
10
-
11
- __version__ = "1.0.0"
12
-
13
- # Tool registry for easy access
14
- AVAILABLE_TOOLS: dict[str, dict[str, Any]] = {
15
- "analyze_code_scale": {
16
- "description": "Analyze code scale, complexity, and structure metrics",
17
- "module": "analyze_scale_tool",
18
- "class": "AnalyzeScaleTool",
19
- },
20
- # Future tools will be added here
21
- # "read_code_partial": {
22
- # "description": "Read partial content from code files",
23
- # "module": "read_partial_tool",
24
- # "class": "ReadPartialTool",
25
- # },
26
- }
27
-
28
- __all__ = [
29
- "AVAILABLE_TOOLS",
30
- ]
1
+ #!/usr/bin/env python3
2
+ """
3
+ MCP Tools package for Tree-sitter Analyzer
4
+
5
+ This package contains all MCP tools that provide specific functionality
6
+ through the Model Context Protocol.
7
+ """
8
+
9
+ from typing import Any
10
+
11
+ __version__ = "1.1.0"
12
+
13
+ # Tool registry for easy access
14
+ AVAILABLE_TOOLS: dict[str, dict[str, Any]] = {
15
+ "analyze_code_scale": {
16
+ "description": "Analyze code scale, complexity, and structure metrics",
17
+ "module": "analyze_scale_tool",
18
+ "class": "AnalyzeScaleTool",
19
+ },
20
+ # Future tools will be added here
21
+ # "read_code_partial": {
22
+ # "description": "Read partial content from code files",
23
+ # "module": "read_partial_tool",
24
+ # "class": "ReadPartialTool",
25
+ # },
26
+ }
27
+
28
+ __all__ = [
29
+ "AVAILABLE_TOOLS",
30
+ ]
@@ -30,12 +30,12 @@ from .error_handler import (
30
30
  from .path_resolver import PathResolver, resolve_path
31
31
 
32
32
  # Module metadata
33
- __version__ = "2.0.0"
33
+ __version__ = "1.1.0"
34
34
  __author__ = "Tree-Sitter Analyzer Team"
35
35
 
36
36
  # MCP Utils capabilities
37
37
  MCP_UTILS_CAPABILITIES = {
38
- "version": "2.0.0",
38
+ "version": "1.1.0",
39
39
  "features": [
40
40
  "Comprehensive Error Handling",
41
41
  "Unified Core Services Integration",