tree-sitter-analyzer 1.9.3__tar.gz → 1.9.4__tar.gz

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 (290) hide show
  1. tree_sitter_analyzer-1.9.4/.roo/rules/search-best-practices.md +250 -0
  2. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/CHANGELOG.md +204 -4
  3. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/PKG-INFO +19 -17
  4. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/README.md +18 -16
  5. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/README_ja.md +18 -16
  6. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/README_zh.md +34 -21
  7. tree_sitter_analyzer-1.9.4/examples/TestAnnotationIssue.java +22 -0
  8. tree_sitter_analyzer-1.9.4/openspec/changes/apply-v1-6-1-x-fixes/ARCHITECTURE_COMPATIBILITY.md +271 -0
  9. tree_sitter_analyzer-1.9.4/openspec/changes/apply-v1-6-1-x-fixes/README.md +228 -0
  10. tree_sitter_analyzer-1.9.4/openspec/changes/apply-v1-6-1-x-fixes/SUMMARY_ja.md +521 -0
  11. tree_sitter_analyzer-1.9.4/openspec/changes/apply-v1-6-1-x-fixes/analysis.md +468 -0
  12. tree_sitter_analyzer-1.9.4/openspec/changes/apply-v1-6-1-x-fixes/proposal.md +312 -0
  13. tree_sitter_analyzer-1.9.4/openspec/changes/apply-v1-6-1-x-fixes/tasks.md +918 -0
  14. tree_sitter_analyzer-1.9.4/openspec/changes/fix-java-annotation-method-query/proposal.md +187 -0
  15. tree_sitter_analyzer-1.9.4/openspec/changes/fix-java-annotation-method-query/specs/java-query-fix/spec.md +323 -0
  16. tree_sitter_analyzer-1.9.4/openspec/changes/fix-java-annotation-method-query/tasks.md +202 -0
  17. tree_sitter_analyzer-1.9.4/openspec/changes/integrate-v1-6-1-x-releases/proposal.md +164 -0
  18. tree_sitter_analyzer-1.9.4/openspec/changes/integrate-v1-6-1-x-releases/tasks.md +183 -0
  19. tree_sitter_analyzer-1.9.4/openspec/project.md +159 -0
  20. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/pyproject.toml +2 -2
  21. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/__init__.py +1 -1
  22. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/api.py +206 -2
  23. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/core/engine.py +33 -9
  24. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/core/query.py +82 -0
  25. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/encoding_utils.py +64 -0
  26. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/file_handler.py +43 -27
  27. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/languages/java_plugin.py +23 -0
  28. tree_sitter_analyzer-1.9.4/tree_sitter_analyzer/mcp/tools/output_format_validator.py +148 -0
  29. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mcp/tools/search_content_tool.py +30 -6
  30. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/queries/java.py +8 -2
  31. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/uv.lock +1 -1
  32. tree_sitter_analyzer-1.9.3/.specify/async-query-service-fix/checklists/requirements.md +0 -75
  33. tree_sitter_analyzer-1.9.3/.specify/async-query-service-fix/completion-report-template.md +0 -272
  34. tree_sitter_analyzer-1.9.3/.specify/async-query-service-fix/completion-report.md +0 -278
  35. tree_sitter_analyzer-1.9.3/.specify/async-query-service-fix/contracts/query-service-api.md +0 -414
  36. tree_sitter_analyzer-1.9.3/.specify/async-query-service-fix/data-model.md +0 -447
  37. tree_sitter_analyzer-1.9.3/.specify/async-query-service-fix/implementation-guidelines-part2.md +0 -616
  38. tree_sitter_analyzer-1.9.3/.specify/async-query-service-fix/implementation-guidelines.md +0 -900
  39. tree_sitter_analyzer-1.9.3/.specify/async-query-service-fix/plan.md +0 -296
  40. tree_sitter_analyzer-1.9.3/.specify/async-query-service-fix/progress-management-final.md +0 -191
  41. tree_sitter_analyzer-1.9.3/.specify/async-query-service-fix/progress-management.md +0 -276
  42. tree_sitter_analyzer-1.9.3/.specify/async-query-service-fix/project-overview.md +0 -243
  43. tree_sitter_analyzer-1.9.3/.specify/async-query-service-fix/quickstart.md +0 -527
  44. tree_sitter_analyzer-1.9.3/.specify/async-query-service-fix/research.md +0 -460
  45. tree_sitter_analyzer-1.9.3/.specify/async-query-service-fix/spec.md +0 -203
  46. tree_sitter_analyzer-1.9.3/.specify/async-query-service-fix/tasks.md +0 -390
  47. tree_sitter_analyzer-1.9.3/.specify/memory/constitution.md +0 -80
  48. tree_sitter_analyzer-1.9.3/.specify/scripts/powershell/check-prerequisites.ps1 +0 -148
  49. tree_sitter_analyzer-1.9.3/.specify/scripts/powershell/common.ps1 +0 -136
  50. tree_sitter_analyzer-1.9.3/.specify/scripts/powershell/create-new-feature.ps1 +0 -117
  51. tree_sitter_analyzer-1.9.3/.specify/scripts/powershell/setup-plan.ps1 +0 -61
  52. tree_sitter_analyzer-1.9.3/.specify/scripts/powershell/update-agent-context.ps1 +0 -436
  53. tree_sitter_analyzer-1.9.3/.specify/templates/agent-file-template.md +0 -23
  54. tree_sitter_analyzer-1.9.3/.specify/templates/checklist-template.md +0 -40
  55. tree_sitter_analyzer-1.9.3/.specify/templates/plan-template.md +0 -123
  56. tree_sitter_analyzer-1.9.3/.specify/templates/spec-template.md +0 -115
  57. tree_sitter_analyzer-1.9.3/.specify/templates/tasks-template.md +0 -250
  58. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.gitattributes +0 -0
  59. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.gitignore +0 -0
  60. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.kiro/steering/product.md +0 -0
  61. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.kiro/steering/structure.md +0 -0
  62. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.kiro/steering/tech.md +0 -0
  63. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.pre-commit-config.yaml +0 -0
  64. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.pre-commit-hooks.yaml +0 -0
  65. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/AGENTS.md +0 -0
  66. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/commands/openspec-apply.md +0 -0
  67. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/commands/openspec-archive.md +0 -0
  68. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/commands/openspec-proposal.md +0 -0
  69. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/commands/release.md +0 -0
  70. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/commands/speckit.analyze.md +0 -0
  71. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/commands/speckit.checklist.md +0 -0
  72. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/commands/speckit.clarify.md +0 -0
  73. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/commands/speckit.constitution.md +0 -0
  74. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/commands/speckit.implement.md +0 -0
  75. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/commands/speckit.plan.md +0 -0
  76. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/commands/speckit.specify.md +0 -0
  77. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/commands/speckit.tasks.md +0 -0
  78. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/docs/release.md +0 -0
  79. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/docs/speckit.analyze.md +0 -0
  80. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/docs/speckit.checklist.md +0 -0
  81. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/docs/speckit.clarify.md +0 -0
  82. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/docs/speckit.constitution.md +0 -0
  83. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/docs/speckit.implement.md +0 -0
  84. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/docs/speckit.plan.md +0 -0
  85. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/docs/speckit.specify.md +0 -0
  86. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/docs/speckit.tasks.md +0 -0
  87. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/mcp.json +0 -0
  88. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/rules/code-quality-standards.md +0 -0
  89. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/rules/coding-checklist.md +0 -0
  90. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/rules/project-best-practices.md +0 -0
  91. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/rules/roo-feedback-system.md +0 -0
  92. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/.roo/rules/specify-rules.md +0 -0
  93. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/CHANGE_MANAGEMENT_GUIDE.md +0 -0
  94. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/GITFLOW.md +0 -0
  95. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/GITFLOW_ja.md +0 -0
  96. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/GITFLOW_zh.md +0 -0
  97. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/build_standalone.py +0 -0
  98. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/check_quality.py +0 -0
  99. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/collect_project_metrics.py +0 -0
  100. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/compatibility_test/MCP_DIRECT_EXECUTION_TECHNICAL_BACKGROUND.md +0 -0
  101. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/compatibility_test/README.md +0 -0
  102. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/compatibility_test/config/comparison_config.json +0 -0
  103. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/compatibility_test/manual_test_guide.md +0 -0
  104. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/compatibility_test/mcp_compatibility_test.py +0 -0
  105. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/compatibility_test/reports/.gitkeep +0 -0
  106. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/compatibility_test/results/.gitkeep +0 -0
  107. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/compatibility_test/scripts/analyze_differences.py +0 -0
  108. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/compatibility_test/scripts/run_compatibility_test.py +0 -0
  109. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/compatibility_test/templates/comparison_report_template.md +0 -0
  110. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/compatibility_test/templates/mcp_settings.json.template +0 -0
  111. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/compatibility_test/test_cases.json +0 -0
  112. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/compatibility_test/troubleshooting_guide.md +0 -0
  113. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/compatibility_test/utils/__init__.py +0 -0
  114. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/compatibility_test/utils/cache_manager.py +0 -0
  115. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/compatibility_test/utils/cache_reporter.py +0 -0
  116. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/compatibility_test/utils/smart_json_comparator.py +0 -0
  117. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/compatibility_test/v1.6.1.1_test_cases.md +0 -0
  118. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/coverage.json +0 -0
  119. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/debug_async_test.py +0 -0
  120. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/CONTRIBUTING.md +0 -0
  121. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/SMART_JSON_COMPARISON_SYSTEM.md +0 -0
  122. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/api/data_models.md +0 -0
  123. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/api/formatter_registry.md +0 -0
  124. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/api/mcp_tools_specification.md +0 -0
  125. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/debugging_guide.md +0 -0
  126. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/developer_guide.md +0 -0
  127. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/file_output_manager_factory_implementation.md +0 -0
  128. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/ja/README.md +0 -0
  129. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/ja/project-management/00_/343/203/227/343/203/255/343/202/270/343/202/247/343/202/257/343/203/210/346/206/262/347/253/240.md" +0 -0
  130. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/ja/project-management/01_/343/202/271/343/202/263/343/203/274/343/203/227/345/256/232/347/276/251/346/233/270.md" +0 -0
  131. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/ja/project-management/02_WBS.md +0 -0
  132. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/ja/project-management/03_/345/223/201/350/263/252/347/256/241/347/220/206/350/250/210/347/224/273.md" +0 -0
  133. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/ja/project-management/05_/345/244/211/346/233/264/347/256/241/347/220/206/346/226/271/351/207/235.md" +0 -0
  134. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/ja/specifications/01_/343/202/267/343/202/271/343/203/206/343/203/240/346/246/202/350/246/201.md" +0 -0
  135. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/ja/specifications/02_/343/202/242/343/203/274/343/202/255/343/203/206/343/202/257/343/203/201/343/203/243/350/250/255/350/250/210.md" +0 -0
  136. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/ja/specifications/03_MCP/347/265/261/345/220/210/344/273/225/346/247/230.md" +0 -0
  137. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/ja/specifications/04_CLI/344/273/225/346/247/230.md" +0 -0
  138. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/ja/specifications/05_/343/202/263/343/202/242/350/247/243/346/236/220/343/202/250/343/203/263/343/202/270/343/203/263/344/273/225/346/247/230.md" +0 -0
  139. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/ja/specifications/06_/350/250/200/350/252/236/343/203/227/343/203/251/343/202/260/343/202/244/343/203/263/344/273/225/346/247/230.md" +0 -0
  140. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/ja/specifications/07_/343/202/273/343/202/255/343/203/245/343/203/252/343/203/206/343/202/243/344/273/225/346/247/230.md" +0 -0
  141. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/ja/test-management/00_/343/203/206/343/202/271/343/203/210/346/210/246/347/225/245.md" +0 -0
  142. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/ja/test-management/01_/343/203/206/343/202/271/343/203/210/343/202/261/343/203/274/343/202/271/344/270/200/350/246/247.md" +0 -0
  143. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/ja/test-management/03_/343/203/206/343/202/271/343/203/210/345/256/237/346/226/275/350/250/230/351/214/262.md" +0 -0
  144. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/ja/test-management/04_/345/223/201/350/263/252/343/203/241/343/203/210/343/203/252/343/202/257/343/202/271.md" +0 -0
  145. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/ja/user-guides/00_/343/202/257/343/202/244/343/203/203/343/202/257/343/202/271/343/202/277/343/203/274/343/203/210/343/202/254/343/202/244/343/203/211.md" +0 -0
  146. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/mcp_compatibility_test_standard.md +0 -0
  147. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/pre-commit-setup.md +0 -0
  148. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/docs/troubleshooting_guide.md +0 -0
  149. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/BigService.java +0 -0
  150. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/BigService.json +0 -0
  151. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/BigService.summary.json +0 -0
  152. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/ComprehensiveTypeScript.ts +0 -0
  153. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/JavaDocTest.java +0 -0
  154. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/ModernJavaScript.js +0 -0
  155. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/MultiClass.java +0 -0
  156. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/ReactComponent.jsx +0 -0
  157. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/ReactTypeScriptComponent.tsx +0 -0
  158. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/Sample.java +0 -0
  159. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/TypeScriptDeclarations.d.ts +0 -0
  160. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/cache_demo.py +0 -0
  161. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/calculate_token_comparison.py +0 -0
  162. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/comprehensive_sample.css +0 -0
  163. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/comprehensive_sample.html +0 -0
  164. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/css_analysis_demo.py +0 -0
  165. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/file_output_demo.py +0 -0
  166. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/file_output_factory_demo.py +0 -0
  167. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/html_analysis_demo.py +0 -0
  168. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/javascript_analysis_demo.py +0 -0
  169. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/project_root_demo.py +0 -0
  170. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/sample.py +0 -0
  171. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/security_demo.py +0 -0
  172. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/security_integration_demo.py +0 -0
  173. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/smart_cache_demo.py +0 -0
  174. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/suppress_output_demo.py +0 -0
  175. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/test_markdown.md +0 -0
  176. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/examples/total_only_optimization_demo.py +0 -0
  177. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/llm_code_checker.py +0 -0
  178. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/pypirc_example.txt +0 -0
  179. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/pytest.ini +0 -0
  180. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/run_regression_tests.py +0 -0
  181. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/scripts/README.md +0 -0
  182. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/scripts/gitflow_helper.py +0 -0
  183. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/scripts/gitflow_release_automation.py +0 -0
  184. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/scripts/run_phase7_integration_tests.py +0 -0
  185. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/scripts/sync_version.py +0 -0
  186. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/scripts/sync_version_minimal.py +0 -0
  187. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/scripts/update_readme_stats.py +0 -0
  188. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/start_mcp_server.py +0 -0
  189. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/test_emergency_fix.py +0 -0
  190. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/test_fixes.py +0 -0
  191. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/test_output.txt +0 -0
  192. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/__main__.py +0 -0
  193. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/cli/__init__.py +0 -0
  194. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/cli/__main__.py +0 -0
  195. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/cli/argument_validator.py +0 -0
  196. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/cli/commands/__init__.py +0 -0
  197. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/cli/commands/advanced_command.py +0 -0
  198. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/cli/commands/base_command.py +0 -0
  199. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/cli/commands/default_command.py +0 -0
  200. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/cli/commands/find_and_grep_cli.py +0 -0
  201. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/cli/commands/list_files_cli.py +0 -0
  202. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/cli/commands/partial_read_command.py +0 -0
  203. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/cli/commands/query_command.py +0 -0
  204. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/cli/commands/search_content_cli.py +0 -0
  205. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/cli/commands/structure_command.py +0 -0
  206. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/cli/commands/summary_command.py +0 -0
  207. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/cli/commands/table_command.py +0 -0
  208. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/cli/info_commands.py +0 -0
  209. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/cli_main.py +0 -0
  210. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/constants.py +0 -0
  211. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/core/__init__.py +0 -0
  212. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/core/analysis_engine.py +0 -0
  213. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/core/cache_service.py +0 -0
  214. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/core/parser.py +0 -0
  215. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/core/query_filter.py +0 -0
  216. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/core/query_service.py +0 -0
  217. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/exceptions.py +0 -0
  218. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/formatters/__init__.py +0 -0
  219. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/formatters/base_formatter.py +0 -0
  220. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/formatters/formatter_factory.py +0 -0
  221. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/formatters/formatter_registry.py +0 -0
  222. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/formatters/html_formatter.py +0 -0
  223. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/formatters/java_formatter.py +0 -0
  224. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/formatters/javascript_formatter.py +0 -0
  225. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/formatters/language_formatter_factory.py +0 -0
  226. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/formatters/markdown_formatter.py +0 -0
  227. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/formatters/python_formatter.py +0 -0
  228. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/formatters/typescript_formatter.py +0 -0
  229. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/interfaces/__init__.py +0 -0
  230. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/interfaces/cli.py +0 -0
  231. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/interfaces/cli_adapter.py +0 -0
  232. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/interfaces/mcp_adapter.py +0 -0
  233. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/interfaces/mcp_server.py +0 -0
  234. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/language_detector.py +0 -0
  235. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/language_loader.py +0 -0
  236. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/languages/__init__.py +0 -0
  237. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/languages/css_plugin.py +0 -0
  238. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/languages/html_plugin.py +0 -0
  239. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/languages/javascript_plugin.py +0 -0
  240. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/languages/markdown_plugin.py +0 -0
  241. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/languages/python_plugin.py +0 -0
  242. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/languages/typescript_plugin.py +0 -0
  243. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mcp/__init__.py +0 -0
  244. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mcp/resources/__init__.py +0 -0
  245. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mcp/resources/code_file_resource.py +0 -0
  246. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mcp/resources/project_stats_resource.py +0 -0
  247. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mcp/server.py +0 -0
  248. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mcp/tools/__init__.py +0 -0
  249. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mcp/tools/analyze_scale_tool.py +0 -0
  250. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mcp/tools/analyze_scale_tool_cli_compatible.py +0 -0
  251. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mcp/tools/base_tool.py +0 -0
  252. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mcp/tools/fd_rg_utils.py +0 -0
  253. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mcp/tools/find_and_grep_tool.py +0 -0
  254. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mcp/tools/list_files_tool.py +0 -0
  255. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mcp/tools/query_tool.py +0 -0
  256. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mcp/tools/read_partial_tool.py +0 -0
  257. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mcp/tools/table_format_tool.py +0 -0
  258. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mcp/tools/universal_analyze_tool.py +0 -0
  259. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mcp/utils/__init__.py +0 -0
  260. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mcp/utils/error_handler.py +0 -0
  261. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mcp/utils/file_output_factory.py +0 -0
  262. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mcp/utils/file_output_manager.py +0 -0
  263. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mcp/utils/gitignore_detector.py +0 -0
  264. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mcp/utils/path_resolver.py +0 -0
  265. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mcp/utils/search_cache.py +0 -0
  266. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/models.py +0 -0
  267. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/mypy_current_errors.txt +0 -0
  268. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/output_manager.py +0 -0
  269. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/plugins/__init__.py +0 -0
  270. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/plugins/base.py +0 -0
  271. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/plugins/manager.py +0 -0
  272. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/project_detector.py +0 -0
  273. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/queries/__init__.py +0 -0
  274. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/queries/css.py +0 -0
  275. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/queries/html.py +0 -0
  276. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/queries/javascript.py +0 -0
  277. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/queries/markdown.py +0 -0
  278. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/queries/python.py +0 -0
  279. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/queries/typescript.py +0 -0
  280. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/query_loader.py +0 -0
  281. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/security/__init__.py +0 -0
  282. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/security/boundary_manager.py +0 -0
  283. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/security/regex_checker.py +0 -0
  284. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/security/validator.py +0 -0
  285. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/table_formatter.py +0 -0
  286. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/utils/__init__.py +0 -0
  287. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/utils/logging.py +0 -0
  288. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/tree_sitter_analyzer/utils/tree_sitter_compat.py +0 -0
  289. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/upload_interactive.py +0 -0
  290. {tree_sitter_analyzer-1.9.3 → tree_sitter_analyzer-1.9.4}/upload_to_pypi.py +0 -0
@@ -0,0 +1,250 @@
1
+ # Tree-Sitter Analyzer: Search Content Best Practices
2
+
3
+ ## Token-Efficient Search Strategies
4
+
5
+ ### 📋 Overview
6
+ The `search_content` tool offers multiple output formats optimized for different token usage scenarios. Understanding the efficiency hierarchy is crucial for effective LLM usage.
7
+
8
+ ### 🎯 Recommended Workflow (Most Efficient Approach)
9
+
10
+ #### Stage 1: Count Validation (~10 tokens)
11
+ ```json
12
+ {
13
+ "query": "function",
14
+ "roots": ["src/"],
15
+ "total_only": true
16
+ }
17
+ ```
18
+ **Use when:** You need to quickly check if matches exist or validate query effectiveness.
19
+ **Result:** Single integer (e.g., `42`)
20
+
21
+ #### Stage 2: File Distribution Analysis (~50-200 tokens)
22
+ ```json
23
+ {
24
+ "query": "function",
25
+ "roots": ["src/"],
26
+ "count_only_matches": true
27
+ }
28
+ ```
29
+ **Use when:** You need to understand match distribution across files.
30
+ **Result:** Object with file-level counts
31
+
32
+ #### Stage 3: Initial Investigation (~500-2000 tokens)
33
+ ```json
34
+ {
35
+ "query": "function",
36
+ "roots": ["src/"],
37
+ "summary_only": true
38
+ }
39
+ ```
40
+ **Use when:** You need sample matches and overview for pattern validation.
41
+ **Result:** Condensed summary with top files and sample matches
42
+
43
+ #### Stage 4: Context-Aware Review (~2000-10000 tokens)
44
+ ```json
45
+ {
46
+ "query": "function",
47
+ "roots": ["src/"],
48
+ "group_by_file": true
49
+ }
50
+ ```
51
+ **Use when:** You need organized results for detailed analysis.
52
+ **Result:** Matches grouped by file, eliminating path duplication
53
+
54
+ #### Stage 5: Full Detail Analysis (~2000-50000+ tokens)
55
+ ```json
56
+ {
57
+ "query": "function",
58
+ "roots": ["src/"]
59
+ }
60
+ ```
61
+ **Use when:** You need complete match details for specific content review.
62
+ **Result:** Full match results with all context
63
+
64
+ ### 💡 Token Efficiency Comparison
65
+
66
+ | Format | Token Range | Best Use Case | Priority |
67
+ |--------|------------|---------------|----------|
68
+ | `total_only` | ~10 tokens | Count validation, existence checks | 🥇 Highest |
69
+ | `count_only_matches` | ~50-200 tokens | File distribution analysis | 🥈 High |
70
+ | `summary_only` | ~500-2000 tokens | Initial investigation, scope confirmation | 🥉 Medium |
71
+ | `group_by_file` | ~2000-10000 tokens | Context-aware detailed review | 🔸 Low |
72
+ | `optimize_paths` | 10-30% reduction | Path compression for deep structures | 🔹 Enhancement |
73
+ | Full results | ~2000-50000+ tokens | Complete content analysis | 🔻 Last resort |
74
+
75
+ ### ⚠️ Output Format Selection Guidelines
76
+
77
+ #### Mutually Exclusive Parameters
78
+ Only ONE of these can be `true` at a time:
79
+ - `total_only`
80
+ - `count_only_matches`
81
+ - `summary_only`
82
+ - `group_by_file`
83
+ - `optimize_paths`
84
+
85
+ #### Common Combinations That Cause Errors
86
+ ```json
87
+ // ❌ WRONG: Multiple output formats
88
+ {
89
+ "query": "test",
90
+ "roots": ["src/"],
91
+ "total_only": true,
92
+ "summary_only": true
93
+ }
94
+
95
+ // ✅ CORRECT: Single output format
96
+ {
97
+ "query": "test",
98
+ "roots": ["src/"],
99
+ "total_only": true
100
+ }
101
+ ```
102
+
103
+ ### 🚨 Common Mistakes and Solutions
104
+
105
+ #### Mistake 1: Starting with Full Results
106
+ **Problem:** Requesting full results without understanding scope
107
+ ```json
108
+ // ❌ Inefficient - could return 50000+ tokens
109
+ {
110
+ "query": "function",
111
+ "roots": ["."]
112
+ }
113
+ ```
114
+
115
+ **Solution:** Start with count validation
116
+ ```json
117
+ // ✅ Efficient - 10 tokens to check scope
118
+ {
119
+ "query": "function",
120
+ "roots": ["."],
121
+ "total_only": true
122
+ }
123
+ ```
124
+
125
+ #### Mistake 2: Combining Incompatible Parameters
126
+ **Problem:** Using multiple output format parameters
127
+ ```json
128
+ // ❌ Will cause validation error
129
+ {
130
+ "query": "test",
131
+ "roots": ["src/"],
132
+ "count_only_matches": true,
133
+ "group_by_file": true
134
+ }
135
+ ```
136
+
137
+ **Solution:** Choose the most appropriate single format
138
+ ```json
139
+ // ✅ For file distribution analysis
140
+ {
141
+ "query": "test",
142
+ "roots": ["src/"],
143
+ "count_only_matches": true
144
+ }
145
+
146
+ // ✅ For detailed grouped results
147
+ {
148
+ "query": "test",
149
+ "roots": ["src/"],
150
+ "group_by_file": true
151
+ }
152
+ ```
153
+
154
+ #### Mistake 3: Ignoring Token Limits
155
+ **Problem:** Requesting detailed results in large codebases without bounds
156
+ **Solution:** Use progressive disclosure:
157
+ 1. `total_only` to check if results are manageable
158
+ 2. `summary_only` if count is reasonable (< 1000 matches)
159
+ 3. `group_by_file` if summary looks useful
160
+ 4. Full results only for specific, targeted analysis
161
+
162
+ ### 📊 Advanced Optimization Strategies
163
+
164
+ #### Path Optimization for Deep Directories
165
+ ```json
166
+ {
167
+ "query": "component",
168
+ "roots": ["frontend/src/components/"],
169
+ "optimize_paths": true
170
+ }
171
+ ```
172
+ **Use when:** Working with deeply nested directory structures to reduce path token overhead.
173
+
174
+ #### Context-Aware Searching
175
+ ```json
176
+ {
177
+ "query": "TODO",
178
+ "roots": ["src/"],
179
+ "context_before": 2,
180
+ "context_after": 1,
181
+ "summary_only": true
182
+ }
183
+ ```
184
+ **Use when:** You need surrounding context but want to limit token usage.
185
+
186
+ #### Targeted File Type Searches
187
+ ```json
188
+ {
189
+ "query": "class.*Component",
190
+ "roots": ["src/"],
191
+ "include_globs": ["*.tsx", "*.jsx"],
192
+ "count_only_matches": true
193
+ }
194
+ ```
195
+ **Use when:** Searching specific file types to reduce noise and improve efficiency.
196
+
197
+ ### 🔄 Progressive Disclosure Pattern
198
+
199
+ For unknown codebases or queries, follow this pattern:
200
+
201
+ 1. **Discovery:** `total_only=true` (10 tokens)
202
+ 2. **Distribution:** `count_only_matches=true` (50-200 tokens)
203
+ 3. **Sampling:** `summary_only=true` (500-2000 tokens)
204
+ 4. **Detailed Review:** `group_by_file=true` (2000-10000 tokens)
205
+ 5. **Full Analysis:** Default format (2000-50000+ tokens)
206
+
207
+ This approach ensures you never accidentally consume excessive tokens while still getting the information you need.
208
+
209
+ ### 🎲 Example Scenarios
210
+
211
+ #### Scenario 1: Bug Investigation
212
+ ```bash
213
+ # Step 1: Check if error pattern exists
214
+ total_only=true → 15 matches found
215
+
216
+ # Step 2: See which files are affected
217
+ count_only_matches=true → errors in 3 files
218
+
219
+ # Step 3: Get sample of error patterns
220
+ summary_only=true → shows typical error patterns
221
+
222
+ # Step 4: Detailed review of specific files
223
+ group_by_file=true → organized view of all errors
224
+ ```
225
+
226
+ #### Scenario 2: Code Review
227
+ ```bash
228
+ # Step 1: Count TODO comments
229
+ total_only=true → 47 TODOs found
230
+
231
+ # Step 2: Distribution across files
232
+ count_only_matches=true → TODOs spread across 12 files
233
+
234
+ # Step 3: Sample of TODO types
235
+ summary_only=true → shows priority levels and types
236
+ ```
237
+
238
+ #### Scenario 3: Refactoring Planning
239
+ ```bash
240
+ # Step 1: Find usage of deprecated function
241
+ total_only=true → 156 usages found
242
+
243
+ # Step 2: Check file distribution
244
+ count_only_matches=true → used in 23 files
245
+
246
+ # Step 3: See usage patterns
247
+ summary_only=true → shows common usage patterns
248
+
249
+ # Step 4: Full analysis for refactoring
250
+ group_by_file=true → detailed view for systematic refactoring
@@ -1,20 +1,70 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.9.4] - 2025-11-05
4
+
5
+ ### 🚀 機能改善
6
+ - **GitFlowリリースプロセス自動化**: v1.9.3からv1.9.4への自動バージョンアップデート
7
+ - **カスタムクエリAPI対応**: `analyze_file()`および`execute_query()`でカスタムクエリ実行をサポート
8
+ - `AnalysisEngine.analyze_file()`に`queries`パラメータを追加
9
+ - `QueryExecutor`に`execute_query_with_language_name()`メソッドを追加し、明示的な言語名指定をサポート
10
+ - クエリ結果のグループ化機能(`_group_captures_by_main_node()`)を追加
11
+ - メソッド・クラス・関数など主要ノードごとにキャプチャを自動グループ化
12
+ - 影響: ユーザー定義クエリがAPIを通じて実行可能に、より柔軟なコード解析が実現
13
+
14
+ ### 🔧 修正
15
+ - **Javaアノテーションクエリ修正**: `method_with_annotations`クエリがアノテーション付きメソッドを正しくマッチするように修正
16
+ - 問題: クエリパターン `(modifiers (annotation) @annotation)*` が複数の`modifiers`ノードを探していた
17
+ - 修正: `(modifiers [(annotation) (marker_annotation)]+ @annotation)` に変更し、単一の`modifiers`ノード内の複数アノテーションをマッチ
18
+ - 影響: `@Override`、`@Test`、`@SuppressWarnings`などのアノテーション付きメソッドが正しく抽出可能に
19
+ - テスト: 5つのユニットテストが全て合格、手動検証でも動作確認済み
20
+
21
+ ### 📚 ドキュメント
22
+ - **バージョン同期**: README.md、README_zh.md、README_ja.mdのバージョン情報を統一
23
+ - **多言語サポート**: 全言語版ドキュメントでv1.9.4バージョン情報を更新
24
+
25
+ ### 🧪 品質保証
26
+ - **アノテーションクエリテストスイート**: Javaアノテーションクエリの包括的テストを実装
27
+ - 単一マーカーアノテーション(`@Override`)のテスト
28
+ - パラメータ付きアノテーション(`@SuppressWarnings("unchecked")`)のテスト
29
+ - 複数アノテーションのテスト
30
+ - アノテーション付き/なしメソッドの混在テスト
31
+ - キャプチャタイプ構造の検証テスト
32
+ - 全5テストが合格、既存APIテスト(9テスト)も全て合格
33
+ - **テストスイート**: 3,396個のテストが全て合格
34
+ - **継続的品質**: 既存機能への影響なしを確認済み
35
+ - **クロスプラットフォーム**: Windows、macOS、Linuxでの完全な互換性
36
+
3
37
  ## [1.9.3] - 2025-11-03
4
38
 
5
39
  ### 🚀 機能改善
6
40
  - **GitFlowリリースプロセス自動化**: v1.9.2からv1.9.3への自動バージョンアップデート
7
- - **文書同期**: 全READMEファイルのバージョンバッジを1.9.3に更新
8
- - **品質保証**: 3370個のテストによる包括的な品質検証
41
+ - **プロジェクト管理フレームワーク**: 包括的なプロジェクト管理システムの確立
42
+ - **コード品質基準**: Rooルールシステムとコーディングチェックリストの実装
43
+ - **多言語ドキュメントシステム**: 日本語プロジェクト文書の大幅拡充
44
+
45
+ ### 🔧 修正
46
+ - **HTMLエレメント重複問題**: HTML要素の重複検出とJava正規表現パターンの修正
47
+ - **JavaScriptクエリ互換性**: class_expression互換性問題の解決
48
+ - **テスト環境対応**: Javaプラグインのテスト環境適応性向上
49
+ - **エンコーディング処理**: 自動エンコーディング検出機能の実装
9
50
 
10
51
  ### 📚 ドキュメント
52
+ - **日本語文書システム**: プロジェクト管理とテスト管理文書の実装との整合
53
+ - **多言語サポート**: 日本語ドキュメントシステムの大幅拡張
54
+ - **品質基準文書**: 包括的なコード品質基準とベストプラクティスの策定
11
55
  - **バージョン同期**: README.md、README_zh.md、README_ja.mdのバージョン情報を統一
12
- - **リリースプロセス**: GitFlow自動化による安全なリリース管理
13
56
 
14
57
  ### 🧪 品質保証
15
58
  - **テストスイート**: 3370個のテストが全て合格
59
+ - **型安全性**: mypyエラー317個から0個への100%削減達成
16
60
  - **継続的品質**: 既存機能への影響なしを確認済み
17
- - **PyPI準備**: 自動発布プロセスの準備完了
61
+ - **クロスプラットフォーム**: Windows、macOS、Linuxでの完全な互換性
62
+
63
+ ### 🛠️ 技術改善
64
+ - **ファイル読み取り最適化**: パフォーマンスとメモリ効率の向上
65
+ - **エンコーディングサポート**: UTF-8エンコーディング処理の包括的強化
66
+ - **セキュリティ強化**: ファイルパス検証とセキュリティバリデーションの改善
67
+ - **開発環境最適化**: pre-commitフック最適化とRuffエラー修正
18
68
 
19
69
  ## [1.9.2] - 2025-10-16
20
70
 
@@ -667,6 +717,156 @@ This minor release introduces the game-changing suppress_output feature that sol
667
717
 
668
718
  This minor release introduces complete TypeScript support, providing developers with powerful TypeScript code analysis capabilities while maintaining full backward compatibility.
669
719
 
720
+ ## [1.6.1.4] - 2025-10-29
721
+
722
+ ### Added
723
+ - **🚀 Streaming File Reading Performance Enhancement**: Revolutionary file reading optimization for large files
724
+ - **Streaming Approach**: Implemented streaming approach in `read_file_partial` to handle large files without loading entire content into memory
725
+ - **Performance Improvement**: Dramatically reduced read times from 30 seconds to under 200ms for large files
726
+ - **Memory Efficiency**: Significantly reduced memory usage through line-by-line reading approach
727
+ - **Context Manager**: Introduced `read_file_safe_streaming` context manager for efficient file operations
728
+ - **Automatic Encoding Detection**: Enhanced encoding detection with streaming support
729
+
730
+ ### Enhanced
731
+ - **📊 MCP Tools Performance**: Enhanced `extract_code_section` tool performance through optimized file reading
732
+ - **🔧 File Handler Optimization**: Refactored file handling with improved streaming capabilities
733
+ - **🧪 Comprehensive Testing**: Added extensive test coverage for performance improvements and memory usage validation
734
+ - **Performance Tests**: `test_streaming_read_performance.py` with 163 comprehensive tests
735
+ - **Extended Tests**: `test_streaming_read_performance_extended.py` with 232 additional tests
736
+ - **📚 Documentation**: Added comprehensive design documentation and specifications for streaming performance
737
+
738
+ ### Technical Details
739
+ - **Files Enhanced**:
740
+ - `tree_sitter_analyzer/file_handler.py` - Refactored with streaming capabilities
741
+ - `tree_sitter_analyzer/encoding_utils.py` - Enhanced with streaming support
742
+ - **New Test Files**:
743
+ - `tests/test_streaming_read_performance.py` - Core performance validation
744
+ - `tests/test_streaming_read_performance_extended.py` - Extended performance testing
745
+ - **Documentation Added**:
746
+ - Design specifications and proposals for streaming performance optimization
747
+ - MCP tools specifications with performance considerations
748
+ - **Quality Metrics**: All 1980 tests passing with comprehensive validation
749
+ - **Backward Compatibility**: 100% backward compatibility maintained with existing function signatures and behavior
750
+
751
+ ### Impact
752
+ This release delivers significant performance improvements for large file handling while maintaining full backward compatibility. The streaming approach makes the tool more suitable for enterprise-scale codebases and improves user experience when working with large files.
753
+
754
+ **Key Benefits:**
755
+ - 🚀 **150x Performance Improvement**: Large file reading optimized from 30s to <200ms
756
+ - 💾 **Memory Efficiency**: Reduced memory footprint through streaming approach
757
+ - ✅ **Zero Breaking Changes**: Full backward compatibility maintained
758
+ - 🏢 **Enterprise Ready**: Enhanced scalability for large codebases
759
+ - 🧪 **Quality Assurance**: Comprehensive test coverage with 395 new performance tests
760
+
761
+ ---
762
+
763
+ ## [1.6.1.3] - 2025-10-27
764
+
765
+ ### Added
766
+ - **🎯 LLM Guidance Enhancement**: Revolutionary token-efficient search guidance for search_content MCP tool
767
+ - **Token Efficiency Guide**: Comprehensive guidance in tool description with visual markers (📊・📉・⚡・🎯)
768
+ - **Progressive Workflow**: Step-by-step efficiency guidance (total_only → summary_only → detailed)
769
+ - **Token Cost Comparison**: Clear token estimates and efficiency rankings for each output format
770
+ - **Parameter Optimization**: Enhanced parameter descriptions with efficiency markers and recommendations
771
+ - **Mutually Exclusive Warning**: Clear guidance on parameter combinations to prevent conflicts
772
+
773
+ - **🌐 Multilingual Error Messages**: Enhanced error handling with automatic language detection
774
+ - **Language Detection**: Automatic English/Japanese error message selection
775
+ - **Efficiency Guidance**: Error messages include token efficiency recommendations
776
+ - **Usage Examples**: Comprehensive usage examples in error messages
777
+ - **Visual Formatting**: Emoji-based formatting for enhanced readability
778
+
779
+ - **🧪 Comprehensive Testing**: Enhanced test coverage for LLM guidance features
780
+ - **LLM Guidance Tests**: 10 new tests validating tool definition structure and guidance completeness
781
+ - **Description Quality Tests**: 11 new tests ensuring description quality and actionability
782
+ - **Multilingual Tests**: 9 new tests for multilingual error message functionality
783
+ - **Integration Tests**: Enhanced existing tests with multilingual error validation
784
+
785
+ - **📚 Documentation & Best Practices**: Comprehensive guidance documentation
786
+ - **Token-Efficient Strategies**: New README section with progressive disclosure patterns
787
+ - **Best Practices Guide**: Created `.roo/rules/search-best-practices.md` with comprehensive usage patterns
788
+ - **MCP Design Updates**: Enhanced MCP tools design documentation with LLM guidance considerations
789
+ - **User Setup Guides**: Updated MCP setup documentation with efficiency recommendations
790
+
791
+ ### Enhanced
792
+ - **🔧 Tool Definition Quality**:
793
+ - Description size optimized to ~252 tokens (efficient yet comprehensive)
794
+ - Visual formatting with Unicode markers for enhanced LLM comprehension
795
+ - Structured sections with clear hierarchy and actionable guidance
796
+ - Comprehensive parameter descriptions with usage scenarios
797
+
798
+ - **🧪 Quality Assurance**:
799
+ - OpenSpec validation successful with strict compliance
800
+ - All 44 tests passing with comprehensive coverage
801
+ - Backward compatibility maintained for all existing functionality
802
+ - Performance impact negligible (<5ms overhead)
803
+
804
+ ### Technical Details
805
+ - **Files Enhanced**: `search_content_tool.py`, `output_format_validator.py`
806
+ - **New Test Files**: `test_llm_guidance_compliance.py`, `test_search_content_description.py`
807
+ - **Documentation Updates**: README.md, MCP design docs, user setup guides
808
+ - **Quality Metrics**: Zero breaking changes, full backward compatibility
809
+ - **OpenSpec Compliance**: Strict validation passed for change specification
810
+
811
+ ### Impact
812
+ This release transforms the search_content tool into a **self-teaching, token-efficient interface** that automatically guides LLMs toward optimal usage patterns. Users no longer need extensive Roo rules to achieve efficient search workflows - the tool itself provides comprehensive guidance for token optimization and proper usage patterns.
813
+
814
+ **Key Benefits:**
815
+ - 🎯 **Automatic LLM Guidance**: Tools teach proper usage without external documentation
816
+ - 🎯 **Token Efficiency**: Progressive disclosure reduces token consumption by up to 99%
817
+ - 🌐 **International Support**: Multilingual error messages enhance global accessibility
818
+ - 🏢 **Quality Assurance**: Enterprise-grade testing and validation
819
+ - ✅ **Zero Breaking Changes**: Full backward compatibility maintained
820
+
821
+ This implementation serves as a model for future MCP tool enhancements, demonstrating how tools can be self-documenting and LLM-optimized while maintaining professional quality standards.
822
+
823
+ ---
824
+
825
+ ## [1.6.1.2] - 2025-10-19
826
+
827
+ ### Fixed
828
+ - **🔧 Minor Release Update**: Incremental release based on v1.6.1.1 with updated version information
829
+ - **Version Synchronization**: Updated all version references from 1.6.1.1 to 1.6.1.2
830
+ - **Documentation Update**: Refreshed README badges and version information
831
+ - **Quality Metrics**: Maintained 1893 comprehensive tests with enterprise-grade quality assurance
832
+ - **Backward Compatibility**: Full compatibility maintained with all existing functionality
833
+
834
+ ### Technical Details
835
+ - **Files Modified**: Updated `pyproject.toml`, `tree_sitter_analyzer/__init__.py`, and documentation
836
+ - **Test Coverage**: All 1893 tests passing with comprehensive validation
837
+ - **Quality Metrics**: Maintained high code quality standards
838
+ - **Breaking Changes**: None - all improvements are backward compatible
839
+
840
+ This release provides an incremental update to v1.6.1.1 with refreshed version information while maintaining full backward compatibility and enterprise-grade quality standards.
841
+
842
+ ---
843
+
844
+ ## [1.6.1.1] - 2025-10-18
845
+
846
+ ### Fixed
847
+ - **🔧 Logging Control Enhancement**: Enhanced logging control functionality for better debugging and monitoring
848
+ - **Comprehensive Test Framework**: Added extensive test cases for logging control across all levels (DEBUG, INFO, WARNING, ERROR)
849
+ - **Backward Compatibility**: Maintained full compatibility with CLI and MCP interfaces
850
+ - **Integration Testing**: Added comprehensive integration tests for logging variables and performance impact
851
+ - **Test Automation**: Implemented robust test automation scripts and result templates
852
+
853
+ ### Added
854
+ - **🧪 Test Infrastructure**: Complete test framework for v1.6.1.1 validation
855
+ - **68 Test Files**: Comprehensive test coverage across all functionality
856
+ - **Logging Control Tests**: Full coverage of logging level controls and file output
857
+ - **Performance Testing**: Added performance impact validation for logging operations
858
+ - **Automation Scripts**: Test execution and result analysis automation
859
+
860
+ ### Technical Details
861
+ - **Files Modified**: Enhanced `utils.py` with improved logging functionality
862
+ - **Test Coverage**: 68 test files ensuring comprehensive validation
863
+ - **Quality Metrics**: Maintained high code quality standards
864
+ - **Breaking Changes**: None - all improvements are backward compatible
865
+
866
+ This hotfix release addresses logging control requirements identified in v1.6.1 and establishes a robust testing framework for future development while maintaining full backward compatibility.
867
+
868
+ ---
869
+
670
870
  ## [1.6.0] - 2025-10-06
671
871
 
672
872
  ### Added
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tree-sitter-analyzer
3
- Version: 1.9.3
3
+ Version: 1.9.4
4
4
  Summary: AI-era enterprise-grade code analysis tool with comprehensive HTML/CSS support, dynamic plugin architecture, and MCP integration
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
@@ -199,11 +199,11 @@ Description-Content-Type: text/markdown
199
199
 
200
200
  [![Python Version](https://img.shields.io/badge/python-3.10%2B-blue.svg)](https://python.org)
201
201
  [![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
202
- [![Tests](https://img.shields.io/badge/tests-3370%20passed-brightgreen.svg)](#quality-assurance)
202
+ [![Tests](https://img.shields.io/badge/tests-3396%20passed-brightgreen.svg)](#quality-assurance)
203
203
  [![Coverage](https://codecov.io/gh/aimasteracc/tree-sitter-analyzer/branch/main/graph/badge.svg)](https://codecov.io/gh/aimasteracc/tree-sitter-analyzer)
204
204
  [![Quality](https://img.shields.io/badge/quality-enterprise%20grade-blue.svg)](#quality-assurance)
205
205
  [![PyPI](https://img.shields.io/pypi/v/tree-sitter-analyzer.svg)](https://pypi.org/project/tree-sitter-analyzer/)
206
- [![Version](https://img.shields.io/badge/version-1.9.3-blue.svg)](https://github.com/aimasteracc/tree-sitter-analyzer/releases)
206
+ [![Version](https://img.shields.io/badge/version-1.9.4-blue.svg)](https://github.com/aimasteracc/tree-sitter-analyzer/releases)
207
207
  [![zread](https://img.shields.io/badge/Ask_Zread-_.svg?style=flat&color=00b0aa&labelColor=000000&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuOTYxNTYgMS42MDAxSDIuMjQxNTZDMS44ODgxIDEuNjAwMSAxLjYwMTU2IDEuODg2NjQgMS42MDE1NiAyLjI0MDFWNC45NjAxQzEuNjAxNTYgNS4zMTM1NiAxLjg4ODEgNS42MDAxIDIuMjQxNTYgNS42MDAxSDQuOTYxNTZDNS4zMTUwMiA1LjYwMDEgNS42MDE1NiA1LjMxMzU2IDUuNjAxNTYgNC45NjAxVjIuMjQwMUM1LjYwMTU2IDEuODg2NjQgNS4zMTUwMiAxLjYwMDEgNC45NjE1NiAxLjYwMDFaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00Ljk2MTU2IDEwLjM5OTlIMi4yNDE1NkMxLjg4ODEgMTAuMzk5OSAxLjYwMTU2IDEwLjY4NjQgMS42MDE1NiAxMS4wMzk5VjEzLjc1OTlDMS42MDE1NiAxNC4xMTM0IDEuODg4MSAxNC4zOTk5IDIuMjQxNTYgMTQuMzk5OUg0Ljk2MTU2QzUuMzE1MDIgMTQuMzk5OSA1LjYwMTU2IDE0LjExMzQgNS42MDE1NiAxMy43NTk5VjExLjAzOTlDNS42MDE1NiAxMC42ODY0IDUuMzE1MDIgMTAuMzk5OSA0Ljk2MTU2IDEwLjM5OTlaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik0xMy43NTg0IDEuNjAwMUgxMS4wMzg0QzEwLjY4NSAxLjYwMDEgMTAuMzk4NCAxLjg4NjY0IDEwLjM5ODQgMi4yNDAxVjQuOTYwMUMxMC4zOTg0IDUuMzEzNTYgMTAuNjg1IDUuNjAwMSAxMS4wMzg0IDUuNjAwMUgxMy43NTg0QzE0LjExMTkgNS42MDAxIDE0LjM5ODQgNS4zMTM1NiAxNC4zOTg0IDQuOTYwMVYyLjI0MDFDMTQuMzk4NCAxLjg4NjY0IDE0LjExMTkgMS42MDAxIDEzLjc1ODQgMS42MDAxWiIgZmlsbD0iI2ZmZiIvPgo8cGF0aCBkPSJNNCAxMkwxMiA0TDQgMTJaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00IDEyTDEyIDQiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K&logoColor=ffffff)](https://zread.ai/aimasteracc/tree-sitter-analyzer)
208
208
  [![GitHub Stars](https://img.shields.io/github/stars/aimasteracc/tree-sitter-analyzer.svg?style=social)](https://github.com/aimasteracc/tree-sitter-analyzer)
209
209
 
@@ -255,7 +255,7 @@ Tree-sitter Analyzer is an enterprise-grade code analysis tool designed for the
255
255
  **Note:** Currently, only the above 7 languages have complete plugin implementations. Languages such as C/C++, Rust, Go, JSON are defined in `LanguageDetector` but do not have functional plugin implementations at this time.
256
256
 
257
257
  ### 🏆 Production Ready
258
- - **3,370 Tests** - 100% pass rate, enterprise-grade quality assurance
258
+ - **3,396 Tests** - 100% pass rate, enterprise-grade quality assurance
259
259
  - **High Coverage** - Comprehensive test coverage
260
260
  - **Cross-platform Support** - Compatible with Windows, macOS, Linux
261
261
  - **Continuous Maintenance** - Active development and community support
@@ -336,7 +336,10 @@ rg --version
336
336
  "args": [
337
337
  "run", "--with", "tree-sitter-analyzer[mcp]",
338
338
  "python", "-m", "tree_sitter_analyzer.mcp.server"
339
- ]
339
+ ],
340
+ "env": {
341
+ "TREE_SITTER_OUTPUT_PATH": "/absolute/path/to/output/directory"
342
+ }
340
343
  }
341
344
  }
342
345
  }
@@ -890,20 +893,19 @@ uv run python -m tree_sitter_analyzer --show-query-languages
890
893
  ## 8. 🏆 Quality Assurance
891
894
 
892
895
  ### 📊 Quality Metrics
893
- - **3,370 tests** - 100% pass rate ✅
896
+ - **3,396 tests** - 100% pass rate ✅
894
897
  - **High code coverage** - Comprehensive test suite
895
898
  - **Zero test failures** - Production ready
896
899
  - **Cross-platform support** - Windows, macOS, Linux
897
900
 
898
- ### ⚡ Latest Quality Achievements (v1.8.3)
899
- - ✅ **🔒 CLI Security Enhancement** - Fixed CLI mode security boundary errors, ensuring file access security
900
- - ✅ **✅ Argument Validation Improvement** - Implemented complete CLI argument validation system, preventing invalid parameter combinations
901
- - ✅ **🚫 Exclusive Parameter Control** - `--table` and `--query-key` parameters properly implement exclusive control
902
- - ✅ **🔍 Enhanced Filter Functionality** - `--query-key` with `--filter` combination usage fully supported
903
- - ✅ **⚠️ Error Message Optimization** - Provides clear and detailed error information, improving user experience
904
- - ✅ **🛡️ Project Boundary Protection** - Automatically detects and respects project boundaries, preventing access to sensitive files
905
- - ✅ **🧪 Test Environment Support** - Temporary directory access permission in test environments
906
- - ✅ **📋 User Experience Improvement** - More intuitive command-line interface and error handling mechanisms
901
+ ### ⚡ Latest Quality Achievements (v1.9.3)
902
+ - ✅ **🎯 Complete Type Safety Achievement** - Reduced mypy errors from 317 to 0, achieving 100% type safety
903
+ - ✅ **🔧 HTML Element Duplication Fix** - Resolved HTML element duplicate detection and Java regex pattern issues
904
+ - ✅ **🧪 Complete Test Suite Success** - All 3,370 tests passing with zero failure rate
905
+ - ✅ **📚 Multilingual Documentation System** - Significant expansion and refinement of Japanese project documentation
906
+ - ✅ **🔄 Parallel Processing Engine Maintained** - search_content supports multi-directory parallel search with up to 4x performance boost
907
+ - ✅ **�️ Enhanced Encoding Processing** - Implementation of automatic encoding detection and UTF-8 processing optimization
908
+ - ✅ **🏗️ Project Management Framework** - Comprehensive project management system including Roo rules and coding checklist
907
909
 
908
910
 
909
911
  ### ⚙️ Running Tests
@@ -941,9 +943,9 @@ The project maintains high-quality test coverage. For detailed module coverage i
941
943
  **Verification environment:**
942
944
  - Operating systems: Windows 10, macOS, Linux
943
945
  - Python version: 3.10+
944
- - Project version: tree-sitter-analyzer v1.8.2
946
+ - Project version: tree-sitter-analyzer v1.9.3
945
947
  - Test files: BigService.java (1419 lines), sample.py (256 lines), MultiClass.java (54 lines)
946
- - New verification: CLI argument validation, security boundary protection, exclusive parameter control
948
+ - Latest verification: Parallel processing engine, type safety improvements, code style unification
947
949
 
948
950
  ---
949
951
 
@@ -4,11 +4,11 @@
4
4
 
5
5
  [![Python Version](https://img.shields.io/badge/python-3.10%2B-blue.svg)](https://python.org)
6
6
  [![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
7
- [![Tests](https://img.shields.io/badge/tests-3370%20passed-brightgreen.svg)](#quality-assurance)
7
+ [![Tests](https://img.shields.io/badge/tests-3396%20passed-brightgreen.svg)](#quality-assurance)
8
8
  [![Coverage](https://codecov.io/gh/aimasteracc/tree-sitter-analyzer/branch/main/graph/badge.svg)](https://codecov.io/gh/aimasteracc/tree-sitter-analyzer)
9
9
  [![Quality](https://img.shields.io/badge/quality-enterprise%20grade-blue.svg)](#quality-assurance)
10
10
  [![PyPI](https://img.shields.io/pypi/v/tree-sitter-analyzer.svg)](https://pypi.org/project/tree-sitter-analyzer/)
11
- [![Version](https://img.shields.io/badge/version-1.9.3-blue.svg)](https://github.com/aimasteracc/tree-sitter-analyzer/releases)
11
+ [![Version](https://img.shields.io/badge/version-1.9.4-blue.svg)](https://github.com/aimasteracc/tree-sitter-analyzer/releases)
12
12
  [![zread](https://img.shields.io/badge/Ask_Zread-_.svg?style=flat&color=00b0aa&labelColor=000000&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuOTYxNTYgMS42MDAxSDIuMjQxNTZDMS44ODgxIDEuNjAwMSAxLjYwMTU2IDEuODg2NjQgMS42MDE1NiAyLjI0MDFWNC45NjAxQzEuNjAxNTYgNS4zMTM1NiAxLjg4ODEgNS42MDAxIDIuMjQxNTYgNS42MDAxSDQuOTYxNTZDNS4zMTUwMiA1LjYwMDEgNS42MDE1NiA1LjMxMzU2IDUuNjAxNTYgNC45NjAxVjIuMjQwMUM1LjYwMTU2IDEuODg2NjQgNS4zMTUwMiAxLjYwMDEgNC45NjE1NiAxLjYwMDFaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00Ljk2MTU2IDEwLjM5OTlIMi4yNDE1NkMxLjg4ODEgMTAuMzk5OSAxLjYwMTU2IDEwLjY4NjQgMS42MDE1NiAxMS4wMzk5VjEzLjc1OTlDMS42MDE1NiAxNC4xMTM0IDEuODg4MSAxNC4zOTk5IDIuMjQxNTYgMTQuMzk5OUg0Ljk2MTU2QzUuMzE1MDIgMTQuMzk5OSA1LjYwMTU2IDE0LjExMzQgNS42MDE1NiAxMy43NTk5VjExLjAzOTlDNS42MDE1NiAxMC42ODY0IDUuMzE1MDIgMTAuMzk5OSA0Ljk2MTU2IDEwLjM5OTlaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik0xMy43NTg0IDEuNjAwMUgxMS4wMzg0QzEwLjY4NSAxLjYwMDEgMTAuMzk4NCAxLjg4NjY0IDEwLjM5ODQgMi4yNDAxVjQuOTYwMUMxMC4zOTg0IDUuMzEzNTYgMTAuNjg1IDUuNjAwMSAxMS4wMzg0IDUuNjAwMUgxMy43NTg0QzE0LjExMTkgNS42MDAxIDE0LjM5ODQgNS4zMTM1NiAxNC4zOTg0IDQuOTYwMVYyLjI0MDFDMTQuMzk4NCAxLjg4NjY0IDE0LjExMTkgMS42MDAxIDEzLjc1ODQgMS42MDAxWiIgZmlsbD0iI2ZmZiIvPgo8cGF0aCBkPSJNNCAxMkwxMiA0TDQgMTJaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00IDEyTDEyIDQiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K&logoColor=ffffff)](https://zread.ai/aimasteracc/tree-sitter-analyzer)
13
13
  [![GitHub Stars](https://img.shields.io/github/stars/aimasteracc/tree-sitter-analyzer.svg?style=social)](https://github.com/aimasteracc/tree-sitter-analyzer)
14
14
 
@@ -60,7 +60,7 @@ Tree-sitter Analyzer is an enterprise-grade code analysis tool designed for the
60
60
  **Note:** Currently, only the above 7 languages have complete plugin implementations. Languages such as C/C++, Rust, Go, JSON are defined in `LanguageDetector` but do not have functional plugin implementations at this time.
61
61
 
62
62
  ### 🏆 Production Ready
63
- - **3,370 Tests** - 100% pass rate, enterprise-grade quality assurance
63
+ - **3,396 Tests** - 100% pass rate, enterprise-grade quality assurance
64
64
  - **High Coverage** - Comprehensive test coverage
65
65
  - **Cross-platform Support** - Compatible with Windows, macOS, Linux
66
66
  - **Continuous Maintenance** - Active development and community support
@@ -141,7 +141,10 @@ rg --version
141
141
  "args": [
142
142
  "run", "--with", "tree-sitter-analyzer[mcp]",
143
143
  "python", "-m", "tree_sitter_analyzer.mcp.server"
144
- ]
144
+ ],
145
+ "env": {
146
+ "TREE_SITTER_OUTPUT_PATH": "/absolute/path/to/output/directory"
147
+ }
145
148
  }
146
149
  }
147
150
  }
@@ -695,20 +698,19 @@ uv run python -m tree_sitter_analyzer --show-query-languages
695
698
  ## 8. 🏆 Quality Assurance
696
699
 
697
700
  ### 📊 Quality Metrics
698
- - **3,370 tests** - 100% pass rate ✅
701
+ - **3,396 tests** - 100% pass rate ✅
699
702
  - **High code coverage** - Comprehensive test suite
700
703
  - **Zero test failures** - Production ready
701
704
  - **Cross-platform support** - Windows, macOS, Linux
702
705
 
703
- ### ⚡ Latest Quality Achievements (v1.8.3)
704
- - ✅ **🔒 CLI Security Enhancement** - Fixed CLI mode security boundary errors, ensuring file access security
705
- - ✅ **✅ Argument Validation Improvement** - Implemented complete CLI argument validation system, preventing invalid parameter combinations
706
- - ✅ **🚫 Exclusive Parameter Control** - `--table` and `--query-key` parameters properly implement exclusive control
707
- - ✅ **🔍 Enhanced Filter Functionality** - `--query-key` with `--filter` combination usage fully supported
708
- - ✅ **⚠️ Error Message Optimization** - Provides clear and detailed error information, improving user experience
709
- - ✅ **🛡️ Project Boundary Protection** - Automatically detects and respects project boundaries, preventing access to sensitive files
710
- - ✅ **🧪 Test Environment Support** - Temporary directory access permission in test environments
711
- - ✅ **📋 User Experience Improvement** - More intuitive command-line interface and error handling mechanisms
706
+ ### ⚡ Latest Quality Achievements (v1.9.3)
707
+ - ✅ **🎯 Complete Type Safety Achievement** - Reduced mypy errors from 317 to 0, achieving 100% type safety
708
+ - ✅ **🔧 HTML Element Duplication Fix** - Resolved HTML element duplicate detection and Java regex pattern issues
709
+ - ✅ **🧪 Complete Test Suite Success** - All 3,370 tests passing with zero failure rate
710
+ - ✅ **📚 Multilingual Documentation System** - Significant expansion and refinement of Japanese project documentation
711
+ - ✅ **🔄 Parallel Processing Engine Maintained** - search_content supports multi-directory parallel search with up to 4x performance boost
712
+ - ✅ **�️ Enhanced Encoding Processing** - Implementation of automatic encoding detection and UTF-8 processing optimization
713
+ - ✅ **🏗️ Project Management Framework** - Comprehensive project management system including Roo rules and coding checklist
712
714
 
713
715
 
714
716
  ### ⚙️ Running Tests
@@ -746,9 +748,9 @@ The project maintains high-quality test coverage. For detailed module coverage i
746
748
  **Verification environment:**
747
749
  - Operating systems: Windows 10, macOS, Linux
748
750
  - Python version: 3.10+
749
- - Project version: tree-sitter-analyzer v1.8.2
751
+ - Project version: tree-sitter-analyzer v1.9.3
750
752
  - Test files: BigService.java (1419 lines), sample.py (256 lines), MultiClass.java (54 lines)
751
- - New verification: CLI argument validation, security boundary protection, exclusive parameter control
753
+ - Latest verification: Parallel processing engine, type safety improvements, code style unification
752
754
 
753
755
  ---
754
756