tree-sitter-analyzer 0.9.9__py3-none-any.whl → 1.0.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.
- tree_sitter_analyzer/__init__.py +132 -132
- tree_sitter_analyzer/api.py +542 -533
- tree_sitter_analyzer/cli/commands/base_command.py +181 -181
- tree_sitter_analyzer/cli/commands/partial_read_command.py +139 -139
- tree_sitter_analyzer/cli/info_commands.py +124 -121
- tree_sitter_analyzer/cli_main.py +327 -328
- tree_sitter_analyzer/core/analysis_engine.py +584 -584
- tree_sitter_analyzer/file_handler.py +212 -210
- tree_sitter_analyzer/formatters/base_formatter.py +169 -167
- tree_sitter_analyzer/interfaces/cli.py +535 -535
- tree_sitter_analyzer/mcp/server.py +655 -650
- tree_sitter_analyzer/mcp/tools/__init__.py +30 -30
- tree_sitter_analyzer/mcp/utils/path_resolver.py +414 -194
- tree_sitter_analyzer/output_manager.py +257 -253
- tree_sitter_analyzer/project_detector.py +330 -330
- tree_sitter_analyzer/security/boundary_manager.py +260 -251
- tree_sitter_analyzer/security/validator.py +257 -246
- tree_sitter_analyzer/table_formatter.py +710 -708
- tree_sitter_analyzer/utils.py +335 -336
- {tree_sitter_analyzer-0.9.9.dist-info → tree_sitter_analyzer-1.0.0.dist-info}/METADATA +30 -4
- {tree_sitter_analyzer-0.9.9.dist-info → tree_sitter_analyzer-1.0.0.dist-info}/RECORD +23 -23
- {tree_sitter_analyzer-0.9.9.dist-info → tree_sitter_analyzer-1.0.0.dist-info}/WHEEL +0 -0
- {tree_sitter_analyzer-0.9.9.dist-info → tree_sitter_analyzer-1.0.0.dist-info}/entry_points.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tree-sitter-analyzer
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 1.0.0
|
|
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
|
|
@@ -39,6 +39,32 @@ Requires-Dist: tree-sitter-java>=0.23.5
|
|
|
39
39
|
Requires-Dist: tree-sitter-javascript>=0.23.1
|
|
40
40
|
Requires-Dist: tree-sitter-python>=0.23.6
|
|
41
41
|
Requires-Dist: tree-sitter==0.24.0
|
|
42
|
+
Provides-Extra: all
|
|
43
|
+
Requires-Dist: anyio>=4.0.0; extra == 'all'
|
|
44
|
+
Requires-Dist: black>=24.0.0; extra == 'all'
|
|
45
|
+
Requires-Dist: httpx<1.0.0,>=0.27.0; extra == 'all'
|
|
46
|
+
Requires-Dist: isort>=5.13.0; extra == 'all'
|
|
47
|
+
Requires-Dist: mcp>=1.12.2; extra == 'all'
|
|
48
|
+
Requires-Dist: memory-profiler>=0.61.0; extra == 'all'
|
|
49
|
+
Requires-Dist: mypy>=1.17.0; extra == 'all'
|
|
50
|
+
Requires-Dist: pre-commit>=3.0.0; extra == 'all'
|
|
51
|
+
Requires-Dist: psutil<6,>=5.9.6; extra == 'all'
|
|
52
|
+
Requires-Dist: pydantic-settings>=2.2.1; extra == 'all'
|
|
53
|
+
Requires-Dist: pydantic>=2.5.0; extra == 'all'
|
|
54
|
+
Requires-Dist: pytest-asyncio>=1.1.0; extra == 'all'
|
|
55
|
+
Requires-Dist: pytest-cov>=4.0.0; extra == 'all'
|
|
56
|
+
Requires-Dist: pytest-mock>=3.14.1; extra == 'all'
|
|
57
|
+
Requires-Dist: pytest>=8.4.1; extra == 'all'
|
|
58
|
+
Requires-Dist: ruff>=0.5.0; extra == 'all'
|
|
59
|
+
Requires-Dist: tree-sitter-c>=0.20.0; extra == 'all'
|
|
60
|
+
Requires-Dist: tree-sitter-cpp>=0.23.4; extra == 'all'
|
|
61
|
+
Requires-Dist: tree-sitter-go>=0.20.0; extra == 'all'
|
|
62
|
+
Requires-Dist: tree-sitter-java>=0.23.5; extra == 'all'
|
|
63
|
+
Requires-Dist: tree-sitter-javascript>=0.23.1; extra == 'all'
|
|
64
|
+
Requires-Dist: tree-sitter-python>=0.23.0; extra == 'all'
|
|
65
|
+
Requires-Dist: tree-sitter-rust>=0.20.0; extra == 'all'
|
|
66
|
+
Requires-Dist: tree-sitter-typescript>=0.20.0; extra == 'all'
|
|
67
|
+
Requires-Dist: types-psutil>=5.9.0; extra == 'all'
|
|
42
68
|
Provides-Extra: all-languages
|
|
43
69
|
Requires-Dist: tree-sitter-c>=0.20.0; extra == 'all-languages'
|
|
44
70
|
Requires-Dist: tree-sitter-cpp>=0.23.4; extra == 'all-languages'
|
|
@@ -137,11 +163,11 @@ Description-Content-Type: text/markdown
|
|
|
137
163
|
|
|
138
164
|
[](https://python.org)
|
|
139
165
|
[](LICENSE)
|
|
140
|
-
[](#quality-assurance)
|
|
167
|
+
[](#quality-assurance)
|
|
142
168
|
[](#quality-assurance)
|
|
143
169
|
[](https://pypi.org/project/tree-sitter-analyzer/)
|
|
144
|
-
[](https://github.com/aimasteracc/tree-sitter-analyzer/releases)
|
|
145
171
|
[](https://github.com/aimasteracc/tree-sitter-analyzer)
|
|
146
172
|
|
|
147
173
|
## 🚀 Break Through LLM Token Limits, Let AI Understand Code Files of Any Size
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
tree_sitter_analyzer/__init__.py,sha256=
|
|
1
|
+
tree_sitter_analyzer/__init__.py,sha256=_azijitz-DuymfAkOnHJ69GvQeGOTyYBWZkEURuG-pc,3199
|
|
2
2
|
tree_sitter_analyzer/__main__.py,sha256=Zl79tpe4UaMu-7yeztc06tgP0CVMRnvGgas4ZQP5SCs,228
|
|
3
|
-
tree_sitter_analyzer/api.py,sha256=
|
|
4
|
-
tree_sitter_analyzer/cli_main.py,sha256=
|
|
3
|
+
tree_sitter_analyzer/api.py,sha256=oLNXx1coYGD6sNwU1Rg3T_HDghgUn-9pDAeBLwEVHkY,17941
|
|
4
|
+
tree_sitter_analyzer/cli_main.py,sha256=_S00yXVaE02dAm114b4ygNh9yB8PMHE_ZZC-U7ulMQs,10676
|
|
5
5
|
tree_sitter_analyzer/encoding_utils.py,sha256=NHkqOt7GdrxgMsd3k0rVxSO0mWJZXODw3uwl2Qk9ufc,14803
|
|
6
6
|
tree_sitter_analyzer/exceptions.py,sha256=AZryCQyKXekAg8lQZd3zqULnjhCKovBNNpnUlNGDhcI,11615
|
|
7
|
-
tree_sitter_analyzer/file_handler.py,sha256=
|
|
7
|
+
tree_sitter_analyzer/file_handler.py,sha256=3yRdGK--rU4hkCJMmRdaoLxcp18R_SBryHNzumlbYKw,6901
|
|
8
8
|
tree_sitter_analyzer/language_detector.py,sha256=pn3nQClo8b_Ar8dS5X3hq9_t5IIlIcizIC0twMaowU4,11693
|
|
9
9
|
tree_sitter_analyzer/language_loader.py,sha256=P1vOa9NR_iVCpawpjziP1uQTX1uL6bgzTb6F9tw4pAc,7900
|
|
10
10
|
tree_sitter_analyzer/models.py,sha256=SrPxiRvlcH0uyOao47tzK-rVqK82JkmmxdU6yJlucSc,16014
|
|
11
|
-
tree_sitter_analyzer/output_manager.py,sha256=
|
|
12
|
-
tree_sitter_analyzer/project_detector.py,sha256=
|
|
11
|
+
tree_sitter_analyzer/output_manager.py,sha256=CzRboubq8hbFbRftTxgLaDBjv1I2CvU6xvYBScr1L5U,8520
|
|
12
|
+
tree_sitter_analyzer/project_detector.py,sha256=9objvup9ECWdkopfh2YdygISTX2f_tn09LizZiG2o_Y,9793
|
|
13
13
|
tree_sitter_analyzer/query_loader.py,sha256=jcJc6_kIMeZINfTVGuiEmDii9LViP_pbJfg4A9phJY4,9863
|
|
14
|
-
tree_sitter_analyzer/table_formatter.py,sha256=
|
|
15
|
-
tree_sitter_analyzer/utils.py,sha256=
|
|
14
|
+
tree_sitter_analyzer/table_formatter.py,sha256=jvtsGDGo4YaxqkaUPyQ6gEtilNIgDhJ2wgzFOprbC0k,28399
|
|
15
|
+
tree_sitter_analyzer/utils.py,sha256=LNo66HTUU19rPp94QwFf4yDB9NVRvFRRY19iLkq2UDE,11083
|
|
16
16
|
tree_sitter_analyzer/cli/__init__.py,sha256=O_3URpbdu5Ilb2-r48LjbZuWtOWQu_BhL3pa6C0G3Bk,871
|
|
17
17
|
tree_sitter_analyzer/cli/__main__.py,sha256=Xq8o8-0dPnMDU9WZqmqhzr98rx8rvoffTUHAkAwl-L8,218
|
|
18
|
-
tree_sitter_analyzer/cli/info_commands.py,sha256=
|
|
18
|
+
tree_sitter_analyzer/cli/info_commands.py,sha256=gKwop89ooRc0uPPIg2RjDrcm5NMKRZrwopJzHXAsaVU,4556
|
|
19
19
|
tree_sitter_analyzer/cli/commands/__init__.py,sha256=jpcpM1ptLuxLMBDUv1y_a87k8RAw1otFzeYpWtXvz3Y,671
|
|
20
20
|
tree_sitter_analyzer/cli/commands/advanced_command.py,sha256=xDZI4zKTMHNdf7fc_QN0eAQ8a5MnRb5DJ29ERLBDUQs,3424
|
|
21
|
-
tree_sitter_analyzer/cli/commands/base_command.py,sha256=
|
|
21
|
+
tree_sitter_analyzer/cli/commands/base_command.py,sha256=rxCZQ2WEAIKRsRhrNXW2a7bXBW7rpogQqltHOaAHRQg,6792
|
|
22
22
|
tree_sitter_analyzer/cli/commands/default_command.py,sha256=RAR_eaOK3EndIqU7QL5UAn44mwyhItTN7aUaKL1WmSc,524
|
|
23
|
-
tree_sitter_analyzer/cli/commands/partial_read_command.py,sha256=
|
|
23
|
+
tree_sitter_analyzer/cli/commands/partial_read_command.py,sha256=i3iAzlzceyvyVX5Ey-onBBbGEmGnwoRzM_YPVBeBGPI,4758
|
|
24
24
|
tree_sitter_analyzer/cli/commands/query_command.py,sha256=VFuCFJxffjSUrMa7NB_KJmMexUnJmnazpTDbw-i9Ulw,4003
|
|
25
25
|
tree_sitter_analyzer/cli/commands/structure_command.py,sha256=0iJwjOgtW838hXleXogWhbu6eQFfrLR1QgKe5PFBqvU,5220
|
|
26
26
|
tree_sitter_analyzer/cli/commands/summary_command.py,sha256=02WA3sOzfT83FVT6sW7nK04zVcZ9Qj_1S0WloqlTnFk,3602
|
|
27
27
|
tree_sitter_analyzer/cli/commands/table_command.py,sha256=GvGpLZ_YwE5syufNMfvjPrzwt-bXUtAF7EoOQ0Dr_O0,9441
|
|
28
28
|
tree_sitter_analyzer/core/__init__.py,sha256=VlYOy1epW16vjaVd__knESewnU0sfXF9a4hjrFxiSEE,440
|
|
29
|
-
tree_sitter_analyzer/core/analysis_engine.py,sha256=
|
|
29
|
+
tree_sitter_analyzer/core/analysis_engine.py,sha256=39mnUuve2qDM32B-pRQX0NMnCspo5UaH57ZddoaHdEA,19488
|
|
30
30
|
tree_sitter_analyzer/core/cache_service.py,sha256=0oZGuTpeHBKYNdnqAOVi6VlQukYMIHncz2pbVfNpSqE,9762
|
|
31
31
|
tree_sitter_analyzer/core/engine.py,sha256=VFXGowDj6EfjFSh2MQDkQIc-4ISXaOg38n4lUhVY5Os,18721
|
|
32
32
|
tree_sitter_analyzer/core/parser.py,sha256=qT3yIlTRdod4tf_2o1hU_B-GYGukyM2BtaFxzSoxois,9293
|
|
@@ -34,12 +34,12 @@ tree_sitter_analyzer/core/query.py,sha256=UhQxUmQitFobe2YM7Ifhi3X2WdHVb02KzeBunu
|
|
|
34
34
|
tree_sitter_analyzer/core/query_filter.py,sha256=PvGztAZFooFNZe6iHNmbg6RUNtMvq6f6hBZFzllig6Y,6591
|
|
35
35
|
tree_sitter_analyzer/core/query_service.py,sha256=lHlvtu7LoG-IEAOqQ-RwF-a5puEI9wqaGez4cnJZiO4,5704
|
|
36
36
|
tree_sitter_analyzer/formatters/__init__.py,sha256=yVb4HF_4EEPRwTf3y3-vM2NllrhykG3zlvQhN-6dB4c,31
|
|
37
|
-
tree_sitter_analyzer/formatters/base_formatter.py,sha256=
|
|
37
|
+
tree_sitter_analyzer/formatters/base_formatter.py,sha256=3WGDkUsVcCgj5GUxQgFhEprWh3mDOlKmSgu5OdfnfxA,6070
|
|
38
38
|
tree_sitter_analyzer/formatters/formatter_factory.py,sha256=mCnAbEHycoSttSuF4dU78hzcxyg-h57bo0_bj00zw58,2069
|
|
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=6QsJlN7qhyk72azN6hbdktWwzmMImoI5yeZ63-Ha6NQ,17635
|
|
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
|
|
@@ -48,11 +48,11 @@ tree_sitter_analyzer/languages/java_plugin.py,sha256=ZTtDgyUdv-b9fFvCMEL3xS-yr0r
|
|
|
48
48
|
tree_sitter_analyzer/languages/javascript_plugin.py,sha256=k14kHfi5II9MRTsVuy0NQq5l2KZYncCnM1Q6T1c5q_U,15844
|
|
49
49
|
tree_sitter_analyzer/languages/python_plugin.py,sha256=MJ03F_Nv-nmInIkEFmPyEXYhyGbLHyr5kCbj2taEDYk,29144
|
|
50
50
|
tree_sitter_analyzer/mcp/__init__.py,sha256=Dj4aqt_6inDKQ1xmA6DNMNDQBHzToqBjSWazdAWZgCY,944
|
|
51
|
-
tree_sitter_analyzer/mcp/server.py,sha256=
|
|
51
|
+
tree_sitter_analyzer/mcp/server.py,sha256=3YufEwsUaclrD8Eje48MV4tEiyiniMgge9ERM5hSGzM,25877
|
|
52
52
|
tree_sitter_analyzer/mcp/resources/__init__.py,sha256=SWnK8liTQkuQXlVgyRP9mf5HzpqmqohShrC98xlNnDc,1389
|
|
53
53
|
tree_sitter_analyzer/mcp/resources/code_file_resource.py,sha256=ZX5ZYSJfylBedpL80kTDlco2YZqgRMb5f3OW0VvOVRM,6166
|
|
54
54
|
tree_sitter_analyzer/mcp/resources/project_stats_resource.py,sha256=V5-daZ99SU4rOt7qLk9GmhkzdXJpEINBobNlT14ojYY,19441
|
|
55
|
-
tree_sitter_analyzer/mcp/tools/__init__.py,sha256=
|
|
55
|
+
tree_sitter_analyzer/mcp/tools/__init__.py,sha256=RMvJOzfZMVe24WUNWJJ-pdygc1RbEVrhW5NZwpykDoQ,792
|
|
56
56
|
tree_sitter_analyzer/mcp/tools/analyze_scale_tool.py,sha256=ZiwIzVbzSMoUXpuC94-N9_xLrlSCWEFlHv2nB_ibOgU,27856
|
|
57
57
|
tree_sitter_analyzer/mcp/tools/analyze_scale_tool_cli_compatible.py,sha256=mssed7bEfGeGxW4mOf7dg8BDS1oqHLolIBNX9DaZ3DM,8997
|
|
58
58
|
tree_sitter_analyzer/mcp/tools/base_tool.py,sha256=FVSMgKIliQ5EBVQEfjYwWeqzWt9OqOFDr3dyACIDxig,1210
|
|
@@ -62,7 +62,7 @@ tree_sitter_analyzer/mcp/tools/table_format_tool.py,sha256=YeZs5tL8hjWOCR-v6VekN
|
|
|
62
62
|
tree_sitter_analyzer/mcp/tools/universal_analyze_tool.py,sha256=cdc1K-NZomQK7PD1viVR1kBaNWwDeo1FrU0nn5sb1YA,22141
|
|
63
63
|
tree_sitter_analyzer/mcp/utils/__init__.py,sha256=6f4xTAfA7kCdk3e8r_ee-j7h84OLBEFSNvA3o-TOMqM,3148
|
|
64
64
|
tree_sitter_analyzer/mcp/utils/error_handler.py,sha256=_XeGjfF331EEeHUnJ5cGvJB7WP0lHkD8RXtBayQElr4,18973
|
|
65
|
-
tree_sitter_analyzer/mcp/utils/path_resolver.py,sha256=
|
|
65
|
+
tree_sitter_analyzer/mcp/utils/path_resolver.py,sha256=0vOy9TqPpF6FNCOQgBwwyJpbono6B8fHRtd95MMD5Uc,15390
|
|
66
66
|
tree_sitter_analyzer/plugins/__init__.py,sha256=ITE9bTz7NO4axnn8g5Z-1_ydhSLT0RnY6Y1J9OhUP3E,10326
|
|
67
67
|
tree_sitter_analyzer/plugins/base.py,sha256=FMRAOtjtDutNV8RnB6cmFgdvcjxKRAbrrzqldBBT1yk,17167
|
|
68
68
|
tree_sitter_analyzer/plugins/manager.py,sha256=PyEY3jeuCBpDVqguWhaAu7nzUZM17_pI6wml2e0Hamo,12535
|
|
@@ -72,10 +72,10 @@ tree_sitter_analyzer/queries/javascript.py,sha256=pnXrgISwDE5GhPHDbUKEGI3thyLmeb
|
|
|
72
72
|
tree_sitter_analyzer/queries/python.py,sha256=L33KRUyV3sAvA3_HFkPyGgtiq0ygSpNY_n2YojodPlc,7570
|
|
73
73
|
tree_sitter_analyzer/queries/typescript.py,sha256=eersyAF7TladuCWa8WE_-cO9YTF1LUSjLIl-tk2fZDo,6708
|
|
74
74
|
tree_sitter_analyzer/security/__init__.py,sha256=ZTqTt24hsljCpTXAZpJC57L7MU5lJLTf_XnlvEzXwEE,623
|
|
75
|
-
tree_sitter_analyzer/security/boundary_manager.py,sha256=
|
|
75
|
+
tree_sitter_analyzer/security/boundary_manager.py,sha256=gRs7AXH5kkxHl5Brfyi05vWyd53UdTySNKZQRBih7_o,8904
|
|
76
76
|
tree_sitter_analyzer/security/regex_checker.py,sha256=jWK6H8PTPgzbwRPfK_RZ8bBTS6rtEbgjY5vr3YWjQ_U,9616
|
|
77
|
-
tree_sitter_analyzer/security/validator.py,sha256=
|
|
78
|
-
tree_sitter_analyzer-0.
|
|
79
|
-
tree_sitter_analyzer-0.
|
|
80
|
-
tree_sitter_analyzer-0.
|
|
81
|
-
tree_sitter_analyzer-0.
|
|
77
|
+
tree_sitter_analyzer/security/validator.py,sha256=2aHHwP7XGilHYGl3IUBeJEIOejXtxcpxtwtAR6w5KhA,9519
|
|
78
|
+
tree_sitter_analyzer-1.0.0.dist-info/METADATA,sha256=kt_Lmj47bQzcYlymo9Gofeqz-PGfxgdycaXFXM92FXs,24966
|
|
79
|
+
tree_sitter_analyzer-1.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
80
|
+
tree_sitter_analyzer-1.0.0.dist-info/entry_points.txt,sha256=U4tfLGXgCWubKm2PyEb3zxhQ2pm7zVotMyfyS0CodD8,486
|
|
81
|
+
tree_sitter_analyzer-1.0.0.dist-info/RECORD,,
|
|
File without changes
|
{tree_sitter_analyzer-0.9.9.dist-info → tree_sitter_analyzer-1.0.0.dist-info}/entry_points.txt
RENAMED
|
File without changes
|