tree-sitter-analyzer 1.2.4__py3-none-any.whl → 1.2.5__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.

@@ -147,16 +147,15 @@ def build_fd_command(
147
147
  if limit is not None:
148
148
  cmd += ["--max-results", str(limit)]
149
149
 
150
- # Pattern goes before roots if present
151
- # If no pattern is specified, use '.' to match all files
150
+ # Add search paths using --search-path option for better reliability
151
+ # This avoids conflicts between pattern and path arguments
152
+ if roots:
153
+ for root in roots:
154
+ cmd += ["--search-path", root]
155
+
156
+ # Pattern goes last if specified
152
157
  if pattern:
153
158
  cmd.append(pattern)
154
- else:
155
- cmd.append(".")
156
-
157
- # Append roots - these are search directories, not patterns
158
- if roots:
159
- cmd += roots
160
159
 
161
160
  return cmd
162
161
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tree-sitter-analyzer
3
- Version: 1.2.4
3
+ Version: 1.2.5
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
@@ -57,7 +57,7 @@ tree_sitter_analyzer/mcp/tools/__init__.py,sha256=9KfetZTaUhvWTeKuZPYzWb7ZomFQ8S
57
57
  tree_sitter_analyzer/mcp/tools/analyze_scale_tool.py,sha256=JyS9gey2oFoWjzsiiLjwcqTgwBYGlbY01vAK3QYUuF4,28470
58
58
  tree_sitter_analyzer/mcp/tools/analyze_scale_tool_cli_compatible.py,sha256=mssed7bEfGeGxW4mOf7dg8BDS1oqHLolIBNX9DaZ3DM,8997
59
59
  tree_sitter_analyzer/mcp/tools/base_tool.py,sha256=qf2My325azlnKOugNVMN_R1jtZcjXVy354sGVKzvZls,3546
60
- tree_sitter_analyzer/mcp/tools/fd_rg_utils.py,sha256=DXfKYHl6gFz9c7sFBn2Yp9ST8XjsOcsii89cFr8Qnmo,16844
60
+ tree_sitter_analyzer/mcp/tools/fd_rg_utils.py,sha256=c7SlopnXO-td5WDiNHhQxKu9YVzAXWp73xuuaKd3LUk,16864
61
61
  tree_sitter_analyzer/mcp/tools/find_and_grep_tool.py,sha256=uYHat0kShQyreK1TXtvBG1e_HAL8ZsRHr49CzP7PLAo,20272
62
62
  tree_sitter_analyzer/mcp/tools/list_files_tool.py,sha256=XWzk4ZHhXvvKOhebWa5tSsW5_mY4TOmCHdHoDYs6Q8Y,11937
63
63
  tree_sitter_analyzer/mcp/tools/query_tool.py,sha256=1xY1ONNY2sIFJxoILlnNzBnwGVgzEF7vVJ2ccqR9auA,10879
@@ -80,7 +80,7 @@ tree_sitter_analyzer/security/__init__.py,sha256=ZTqTt24hsljCpTXAZpJC57L7MU5lJLT
80
80
  tree_sitter_analyzer/security/boundary_manager.py,sha256=3eeENRKWtz2pyZHzd8DiVaq8fdeC6s1eVOuBylSmQPg,9347
81
81
  tree_sitter_analyzer/security/regex_checker.py,sha256=jWK6H8PTPgzbwRPfK_RZ8bBTS6rtEbgjY5vr3YWjQ_U,9616
82
82
  tree_sitter_analyzer/security/validator.py,sha256=yR4qTWEcXpR--bSFwtWvSgY0AzqujOFAqlc1Z7dlTdk,9809
83
- tree_sitter_analyzer-1.2.4.dist-info/METADATA,sha256=3Aho6-du1VHRVg0rPxbzWH9QKDakAQvZByOvemyA6EE,39669
84
- tree_sitter_analyzer-1.2.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
85
- tree_sitter_analyzer-1.2.4.dist-info/entry_points.txt,sha256=U4tfLGXgCWubKm2PyEb3zxhQ2pm7zVotMyfyS0CodD8,486
86
- tree_sitter_analyzer-1.2.4.dist-info/RECORD,,
83
+ tree_sitter_analyzer-1.2.5.dist-info/METADATA,sha256=BQKloyCs0g2WpS9lkaT2Hp1VoP8q1knFy38cCSWH5E8,39669
84
+ tree_sitter_analyzer-1.2.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
85
+ tree_sitter_analyzer-1.2.5.dist-info/entry_points.txt,sha256=U4tfLGXgCWubKm2PyEb3zxhQ2pm7zVotMyfyS0CodD8,486
86
+ tree_sitter_analyzer-1.2.5.dist-info/RECORD,,