tree-sitter-analyzer 1.7.3__tar.gz → 1.7.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.
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/.roo/rules/ROO_RULES.md +228 -5
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/CHANGELOG.md +17 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/PKG-INFO +19 -18
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/README.md +18 -17
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/README_ja.md +18 -17
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/README_zh.md +18 -17
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/pyproject.toml +2 -2
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/__init__.py +1 -1
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/core/query_service.py +13 -3
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/formatters/markdown_formatter.py +140 -9
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/languages/markdown_plugin.py +126 -22
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/mcp/server.py +5 -74
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/mcp/tools/analyze_scale_tool.py +8 -18
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/mcp/tools/find_and_grep_tool.py +1 -1
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/mcp/tools/list_files_tool.py +1 -1
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/mcp/tools/query_tool.py +86 -3
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/mcp/tools/read_partial_tool.py +91 -23
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/mcp/tools/search_content_tool.py +1 -1
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/mcp/tools/table_format_tool.py +7 -17
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/queries/javascript.py +20 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/queries/typescript.py +22 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/uv.lock +1 -1
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/.gitattributes +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/.gitignore +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/.kiro/steering/product.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/.kiro/steering/structure.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/.kiro/steering/tech.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/.pre-commit-config.yaml +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/.pre-commit-hooks.yaml +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/AI_COLLABORATION_GUIDE.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/CODE_STYLE_GUIDE.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/CONTRIBUTING.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/DEPLOYMENT_GUIDE.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/FILE_OUTPUT_FEATURE_SUMMARY.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/GITFLOW.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/GITFLOW_ja.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/GITFLOW_zh.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/LANGUAGE_GUIDELINES.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/LLM_CODING_GUIDELINES.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/MCP_SETUP_DEVELOPERS.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/MCP_SETUP_USERS.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/PROJECT_ROOT_CONFIG.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/PYPI_RELEASE_GUIDE.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/PYTHON_SUPPORT_SUMMARY.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/REFACTORING_SUMMARY.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/build_standalone.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/check_quality.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/coverage.json +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/docs/GITFLOW_BEST_PRACTICES.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/docs/RELEASE_EXECUTION_GUIDE.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/docs/api.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/docs/mcp_fd_rg_design.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/examples/BigService.java +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/examples/BigService.json +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/examples/BigService.summary.json +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/examples/ComprehensiveTypeScript.ts +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/examples/JavaDocTest.java +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/examples/ModernJavaScript.js +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/examples/MultiClass.java +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/examples/ReactComponent.jsx +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/examples/ReactTypeScriptComponent.tsx +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/examples/Sample.java +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/examples/TypeScriptDeclarations.d.ts +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/examples/cache_demo.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/examples/calculate_token_comparison.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/examples/file_output_demo.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/examples/javascript_analysis_demo.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/examples/project_root_demo.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/examples/sample.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/examples/security_demo.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/examples/security_integration_demo.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/examples/smart_cache_demo.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/examples/suppress_output_demo.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/examples/test_markdown.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/examples/total_only_optimization_demo.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/llm_code_checker.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/pypirc_example.txt +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/pytest.ini +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/scripts/README.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/scripts/gitflow_helper.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/scripts/gitflow_release_automation.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/scripts/sync_version.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/scripts/sync_version_minimal.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/start_mcp_server.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/test_python_support.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/training/01_onboarding.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/training/02_architecture_map.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/training/03_cli_cheatsheet.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/training/04_mcp_cheatsheet.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/training/05_plugin_tutorial.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/training/06_quality_workflow.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/training/07_troubleshooting.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/training/08_prompt_library.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/training/09_tasks.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/training/10_glossary.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/training/11_takeover_plan.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/training/CLI_COMMAND_CORRECTIONS.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/training/IMPROVEMENT_SUMMARY.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/training/README.md +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/__main__.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/api.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/cli/__init__.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/cli/__main__.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/cli/commands/__init__.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/cli/commands/advanced_command.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/cli/commands/base_command.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/cli/commands/default_command.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/cli/commands/find_and_grep_cli.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/cli/commands/list_files_cli.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/cli/commands/partial_read_command.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/cli/commands/query_command.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/cli/commands/search_content_cli.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/cli/commands/structure_command.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/cli/commands/summary_command.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/cli/commands/table_command.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/cli/info_commands.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/cli_main.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/constants.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/core/__init__.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/core/analysis_engine.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/core/cache_service.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/core/engine.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/core/parser.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/core/query.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/core/query_filter.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/encoding_utils.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/exceptions.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/file_handler.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/formatters/__init__.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/formatters/base_formatter.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/formatters/formatter_factory.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/formatters/java_formatter.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/formatters/javascript_formatter.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/formatters/language_formatter_factory.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/formatters/python_formatter.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/formatters/typescript_formatter.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/interfaces/__init__.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/interfaces/cli.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/interfaces/cli_adapter.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/interfaces/mcp_adapter.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/interfaces/mcp_server.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/language_detector.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/language_loader.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/languages/__init__.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/languages/java_plugin.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/languages/javascript_plugin.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/languages/python_plugin.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/languages/typescript_plugin.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/mcp/__init__.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/mcp/resources/__init__.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/mcp/resources/code_file_resource.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/mcp/resources/project_stats_resource.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/mcp/tools/__init__.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/mcp/tools/analyze_scale_tool_cli_compatible.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/mcp/tools/base_tool.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/mcp/tools/fd_rg_utils.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/mcp/tools/universal_analyze_tool.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/mcp/utils/__init__.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/mcp/utils/error_handler.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/mcp/utils/file_output_manager.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/mcp/utils/gitignore_detector.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/mcp/utils/path_resolver.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/mcp/utils/search_cache.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/models.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/output_manager.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/plugins/__init__.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/plugins/base.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/plugins/manager.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/project_detector.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/queries/__init__.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/queries/java.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/queries/markdown.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/queries/python.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/query_loader.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/security/__init__.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/security/boundary_manager.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/security/regex_checker.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/security/validator.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/table_formatter.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/tree_sitter_analyzer/utils.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/upload_interactive.py +0 -0
- {tree_sitter_analyzer-1.7.3 → tree_sitter_analyzer-1.7.4}/upload_to_pypi.py +0 -0
|
@@ -54,8 +54,11 @@ use_mcp_tool:
|
|
|
54
54
|
|
|
55
55
|
##### コード読取用ツール
|
|
56
56
|
- `analyze_code_structure`: 全体構造の把握
|
|
57
|
+
- `suppress_output + output_file`でトークン節約対応
|
|
57
58
|
- `extract_code_section`: 特定行範囲の抽出
|
|
59
|
+
- `suppress_output + output_file`でトークン節約対応
|
|
58
60
|
- `query_code`: 特定要素の検索(関数、クラス等)
|
|
61
|
+
- `suppress_output + output_file`でトークン節約対応
|
|
59
62
|
|
|
60
63
|
##### ファイル検索用ツール
|
|
61
64
|
- `list_files`: ファイル一覧取得(fd使用)
|
|
@@ -730,8 +733,8 @@ use_mcp_tool:
|
|
|
730
733
|
tool_name: find_and_grep
|
|
731
734
|
arguments:
|
|
732
735
|
roots: ["."]
|
|
733
|
-
pattern: "*
|
|
734
|
-
query: "
|
|
736
|
+
pattern: "*XXXX060*"
|
|
737
|
+
query: "项目名|lblKoumokuName"
|
|
735
738
|
# → 大量の出力でトークン消費
|
|
736
739
|
|
|
737
740
|
# 新しい解決策: ファイル出力でトークン節約
|
|
@@ -740,8 +743,8 @@ use_mcp_tool:
|
|
|
740
743
|
tool_name: find_and_grep
|
|
741
744
|
arguments:
|
|
742
745
|
roots: ["."]
|
|
743
|
-
pattern: "*
|
|
744
|
-
query: "
|
|
746
|
+
pattern: "*XXXX060*"
|
|
747
|
+
query: "项目名|lblKoumokuName"
|
|
745
748
|
case: "insensitive"
|
|
746
749
|
group_by_file: true
|
|
747
750
|
suppress_output: true
|
|
@@ -812,6 +815,225 @@ use_mcp_tool:
|
|
|
812
815
|
output_file: "controller_analysis.json" # ファイル保存
|
|
813
816
|
```
|
|
814
817
|
|
|
818
|
+
### 16. 新機能: コード読取ツールでのファイル出力最適化
|
|
819
|
+
|
|
820
|
+
#### 16.1 対応ツール
|
|
821
|
+
- [`extract_code_section`](tree_sitter_analyzer/mcp/tools/read_partial_tool.py): 特定行範囲の抽出
|
|
822
|
+
- [`query_code`](tree_sitter_analyzer/mcp/tools/query_tool.py): tree-sitterクエリによる要素抽出
|
|
823
|
+
|
|
824
|
+
#### 16.2 新パラメータ
|
|
825
|
+
- `output_file`: 結果をファイルに保存(拡張子自動検出)
|
|
826
|
+
- `suppress_output`: `output_file`指定時に詳細出力を抑制してトークン節約
|
|
827
|
+
|
|
828
|
+
#### 16.3 推奨使用パターン
|
|
829
|
+
|
|
830
|
+
##### 16.3.1 大きなコードセクションの抽出
|
|
831
|
+
```markdown
|
|
832
|
+
# 従来の問題: 大きなコードセクションでトークン消費
|
|
833
|
+
use_mcp_tool:
|
|
834
|
+
server_name: tree-sitter-analyzer
|
|
835
|
+
tool_name: extract_code_section
|
|
836
|
+
arguments:
|
|
837
|
+
file_path: "src/large_file.py"
|
|
838
|
+
start_line: 100
|
|
839
|
+
end_line: 500
|
|
840
|
+
# → 大量のコード出力でトークン消費
|
|
841
|
+
|
|
842
|
+
# 新しい解決策: ファイル出力でトークン節約
|
|
843
|
+
use_mcp_tool:
|
|
844
|
+
server_name: tree-sitter-analyzer
|
|
845
|
+
tool_name: extract_code_section
|
|
846
|
+
arguments:
|
|
847
|
+
file_path: "src/large_file.py"
|
|
848
|
+
start_line: 100
|
|
849
|
+
end_line: 500
|
|
850
|
+
suppress_output: true
|
|
851
|
+
output_file: "code_section_extract"
|
|
852
|
+
|
|
853
|
+
# 後で詳細を確認
|
|
854
|
+
read_file:
|
|
855
|
+
path: "code_section_extract.txt"
|
|
856
|
+
```
|
|
857
|
+
|
|
858
|
+
##### 16.3.2 大量のクエリ結果の処理
|
|
859
|
+
```markdown
|
|
860
|
+
# 従来の問題: 大量のクエリ結果でトークン消費
|
|
861
|
+
use_mcp_tool:
|
|
862
|
+
server_name: tree-sitter-analyzer
|
|
863
|
+
tool_name: query_code
|
|
864
|
+
arguments:
|
|
865
|
+
file_path: "src/complex_file.java"
|
|
866
|
+
query_key: "methods"
|
|
867
|
+
output_format: "json"
|
|
868
|
+
# → 大量のメソッド情報でトークン消費
|
|
869
|
+
|
|
870
|
+
# 新しい解決策: ファイル出力でトークン節約
|
|
871
|
+
use_mcp_tool:
|
|
872
|
+
server_name: tree-sitter-analyzer
|
|
873
|
+
tool_name: query_code
|
|
874
|
+
arguments:
|
|
875
|
+
file_path: "src/complex_file.java"
|
|
876
|
+
query_key: "methods"
|
|
877
|
+
output_format: "json"
|
|
878
|
+
suppress_output: true
|
|
879
|
+
output_file: "methods_analysis"
|
|
880
|
+
|
|
881
|
+
# 後で詳細を確認
|
|
882
|
+
read_file:
|
|
883
|
+
path: "methods_analysis.json"
|
|
884
|
+
```
|
|
885
|
+
|
|
886
|
+
##### 16.3.3 段階的コード解析戦略(更新版)
|
|
887
|
+
```markdown
|
|
888
|
+
# ステップ1: 全体構造把握(トークン節約)
|
|
889
|
+
use_mcp_tool:
|
|
890
|
+
server_name: tree-sitter-analyzer
|
|
891
|
+
tool_name: analyze_code_structure
|
|
892
|
+
arguments:
|
|
893
|
+
file_path: "src/target_file.py"
|
|
894
|
+
format_type: "compact"
|
|
895
|
+
suppress_output: true
|
|
896
|
+
output_file: "structure_overview"
|
|
897
|
+
|
|
898
|
+
# ステップ2: 特定要素の詳細抽出(トークン節約)
|
|
899
|
+
use_mcp_tool:
|
|
900
|
+
server_name: tree-sitter-analyzer
|
|
901
|
+
tool_name: query_code
|
|
902
|
+
arguments:
|
|
903
|
+
file_path: "src/target_file.py"
|
|
904
|
+
query_key: "functions"
|
|
905
|
+
output_format: "summary"
|
|
906
|
+
suppress_output: true
|
|
907
|
+
output_file: "functions_summary"
|
|
908
|
+
|
|
909
|
+
# ステップ3: 興味のある部分の詳細取得(トークン節約)
|
|
910
|
+
use_mcp_tool:
|
|
911
|
+
server_name: tree-sitter-analyzer
|
|
912
|
+
tool_name: extract_code_section
|
|
913
|
+
arguments:
|
|
914
|
+
file_path: "src/target_file.py"
|
|
915
|
+
start_line: 45
|
|
916
|
+
end_line: 80
|
|
917
|
+
suppress_output: true
|
|
918
|
+
output_file: "detailed_section"
|
|
919
|
+
|
|
920
|
+
# ステップ4: 結果の段階的確認
|
|
921
|
+
read_file:
|
|
922
|
+
path: "structure_overview.md"
|
|
923
|
+
read_file:
|
|
924
|
+
path: "functions_summary.json"
|
|
925
|
+
read_file:
|
|
926
|
+
path: "detailed_section.txt"
|
|
927
|
+
```
|
|
928
|
+
|
|
929
|
+
#### 16.4 ファイル形式の自動選択
|
|
930
|
+
- **extract_code_section**: テキスト形式(.txt)で保存
|
|
931
|
+
- **query_code**: JSON形式(.json)で保存(output_format="json"の場合)
|
|
932
|
+
- **query_code**: JSON形式(.json)で保存(output_format="summary"の場合)
|
|
933
|
+
- 拡張子は内容に基づいて自動決定
|
|
934
|
+
|
|
935
|
+
#### 16.5 実践的な使用例
|
|
936
|
+
|
|
937
|
+
##### 16.5.1 大規模ファイルの段階的解析
|
|
938
|
+
```markdown
|
|
939
|
+
# ステップ1: ファイルサイズ確認
|
|
940
|
+
use_mcp_tool:
|
|
941
|
+
server_name: tree-sitter-analyzer
|
|
942
|
+
tool_name: check_code_scale
|
|
943
|
+
arguments:
|
|
944
|
+
file_path: "src/huge_service.java"
|
|
945
|
+
|
|
946
|
+
# ステップ2: 構造概要取得(大規模ファイル対応)
|
|
947
|
+
use_mcp_tool:
|
|
948
|
+
server_name: tree-sitter-analyzer
|
|
949
|
+
tool_name: analyze_code_structure
|
|
950
|
+
arguments:
|
|
951
|
+
file_path: "src/huge_service.java"
|
|
952
|
+
format_type: "compact"
|
|
953
|
+
suppress_output: true
|
|
954
|
+
output_file: "huge_service_structure"
|
|
955
|
+
|
|
956
|
+
# ステップ3: 特定メソッドの検索(トークン節約)
|
|
957
|
+
use_mcp_tool:
|
|
958
|
+
server_name: tree-sitter-analyzer
|
|
959
|
+
tool_name: query_code
|
|
960
|
+
arguments:
|
|
961
|
+
file_path: "src/huge_service.java"
|
|
962
|
+
query_key: "methods"
|
|
963
|
+
filter: "name=~process*"
|
|
964
|
+
suppress_output: true
|
|
965
|
+
output_file: "process_methods"
|
|
966
|
+
|
|
967
|
+
# ステップ4: 興味のあるメソッドの詳細抽出
|
|
968
|
+
use_mcp_tool:
|
|
969
|
+
server_name: tree-sitter-analyzer
|
|
970
|
+
tool_name: extract_code_section
|
|
971
|
+
arguments:
|
|
972
|
+
file_path: "src/huge_service.java"
|
|
973
|
+
start_line: 150
|
|
974
|
+
end_line: 200
|
|
975
|
+
suppress_output: true
|
|
976
|
+
output_file: "target_method_detail"
|
|
977
|
+
```
|
|
978
|
+
|
|
979
|
+
##### 16.5.2 複数ファイルの効率的解析
|
|
980
|
+
```markdown
|
|
981
|
+
# 複数ファイルを順次解析(各ファイルでトークン節約)
|
|
982
|
+
files=["controller.py", "service.py", "model.py"]
|
|
983
|
+
|
|
984
|
+
for file in files:
|
|
985
|
+
# 構造解析
|
|
986
|
+
use_mcp_tool:
|
|
987
|
+
server_name: tree-sitter-analyzer
|
|
988
|
+
tool_name: analyze_code_structure
|
|
989
|
+
arguments:
|
|
990
|
+
file_path: f"src/{file}"
|
|
991
|
+
format_type: "compact"
|
|
992
|
+
suppress_output: true
|
|
993
|
+
output_file: f"{file}_structure"
|
|
994
|
+
|
|
995
|
+
# 関数抽出
|
|
996
|
+
use_mcp_tool:
|
|
997
|
+
server_name: tree-sitter-analyzer
|
|
998
|
+
tool_name: query_code
|
|
999
|
+
arguments:
|
|
1000
|
+
file_path: f"src/{file}"
|
|
1001
|
+
query_key: "functions"
|
|
1002
|
+
output_format: "summary"
|
|
1003
|
+
suppress_output: true
|
|
1004
|
+
output_file: f"{file}_functions"
|
|
1005
|
+
|
|
1006
|
+
# 結果の一括確認
|
|
1007
|
+
for file in files:
|
|
1008
|
+
read_file:
|
|
1009
|
+
path: f"{file}_structure.md"
|
|
1010
|
+
read_file:
|
|
1011
|
+
path: f"{file}_functions.json"
|
|
1012
|
+
```
|
|
1013
|
+
|
|
1014
|
+
#### 16.6 トークン最適化のベストプラクティス
|
|
1015
|
+
|
|
1016
|
+
##### 16.6.1 適切なツール選択
|
|
1017
|
+
```markdown
|
|
1018
|
+
# 用途別の最適なツール選択
|
|
1019
|
+
1. 全体構造把握: analyze_code_structure (suppress_output: true)
|
|
1020
|
+
2. 特定要素検索: query_code (suppress_output: true)
|
|
1021
|
+
3. 詳細コード確認: extract_code_section (suppress_output: true)
|
|
1022
|
+
4. 後続処理: read_file で保存されたファイルを読取
|
|
1023
|
+
```
|
|
1024
|
+
|
|
1025
|
+
##### 16.6.2 段階的詳細化戦略
|
|
1026
|
+
```markdown
|
|
1027
|
+
# レベル1: 概要のみ(最小トークン)
|
|
1028
|
+
suppress_output: true + output_file
|
|
1029
|
+
|
|
1030
|
+
# レベル2: 必要に応じて保存ファイル読取
|
|
1031
|
+
read_file: 保存されたファイル
|
|
1032
|
+
|
|
1033
|
+
# レベル3: さらに詳細が必要な場合のみ追加抽出
|
|
1034
|
+
extract_code_section: 特定行範囲
|
|
1035
|
+
```
|
|
1036
|
+
|
|
815
1037
|
## まとめ
|
|
816
1038
|
|
|
817
1039
|
ROOはtree-sitter-analyzer MCPツールを最大限活用し、効率的で安全なコード解析・編集を実現する。標準ツールよりもMCPツールを優先し、トークン効率化と構造化された解析を重視する。
|
|
@@ -823,4 +1045,5 @@ ROOはtree-sitter-analyzer MCPツールを最大限活用し、効率的で安
|
|
|
823
1045
|
4. **適切なツール選択**: 目的に応じた最適なMCPツール使用
|
|
824
1046
|
5. **セキュリティ重視**: プロジェクト境界内での安全な操作
|
|
825
1047
|
6. **日本語検索対策**: 汎用語での無制限検索を避け、段階的アプローチを採用
|
|
826
|
-
7. **NEW: 検索最適化**: `find_and_grep`と`search_content`でのファイル出力機能活用
|
|
1048
|
+
7. **NEW: 検索最適化**: `find_and_grep`と`search_content`でのファイル出力機能活用
|
|
1049
|
+
8. **NEW: コード読取最適化**: `extract_code_section`と`query_code`でのファイル出力機能活用
|
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.7.4] - 2025-10-10
|
|
4
|
+
|
|
5
|
+
### Improved
|
|
6
|
+
- **📊 Quality Metrics**:
|
|
7
|
+
- Test count increased to 2934 (up from 2831)
|
|
8
|
+
- Code coverage improved to 80.08% (up from 79.19%)
|
|
9
|
+
- All tests passing with enhanced system stability
|
|
10
|
+
- **🔧 Development Workflow**: Continued improvements to development and release processes
|
|
11
|
+
- **📚 Documentation**: Maintained comprehensive documentation and examples
|
|
12
|
+
|
|
13
|
+
### Technical Details
|
|
14
|
+
- **Test Coverage**: All 2934 tests passing with 80.08% coverage
|
|
15
|
+
- **Quality Metrics**: Enhanced test suite with improved coverage
|
|
16
|
+
- **Breaking Changes**: None - all improvements are backward compatible
|
|
17
|
+
|
|
18
|
+
This minor release maintains the high quality standards while improving test coverage and system stability.
|
|
19
|
+
|
|
3
20
|
## [1.7.3] - 2025-10-09
|
|
4
21
|
|
|
5
22
|
### Added
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tree-sitter-analyzer
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.4
|
|
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
|
|
@@ -171,11 +171,11 @@ Description-Content-Type: text/markdown
|
|
|
171
171
|
|
|
172
172
|
[](https://python.org)
|
|
173
173
|
[](LICENSE)
|
|
174
|
-
[](#quality-assurance)
|
|
175
|
+
[](#quality-assurance)
|
|
176
176
|
[](#quality-assurance)
|
|
177
177
|
[](https://pypi.org/project/tree-sitter-analyzer/)
|
|
178
|
-
[](https://github.com/aimasteracc/tree-sitter-analyzer/releases)
|
|
179
179
|
[](https://github.com/aimasteracc/tree-sitter-analyzer)
|
|
180
180
|
|
|
181
181
|
## 🚀 Enterprise-Grade Code Analysis Tool for the AI Era
|
|
@@ -225,8 +225,8 @@ Tree-sitter Analyzer is an enterprise-grade code analysis tool designed for the
|
|
|
225
225
|
| **Go** | Basic Support | Basic syntax parsing |
|
|
226
226
|
|
|
227
227
|
### 🏆 Production Ready
|
|
228
|
-
- **2,
|
|
229
|
-
- **
|
|
228
|
+
- **2,934 Tests** - 100% pass rate, enterprise-grade quality assurance
|
|
229
|
+
- **80.09% Coverage** - Comprehensive test coverage
|
|
230
230
|
- **Cross-platform Support** - Compatible with Windows, macOS, Linux
|
|
231
231
|
- **Continuous Maintenance** - Active development and community support
|
|
232
232
|
|
|
@@ -259,13 +259,13 @@ uv --version
|
|
|
259
259
|
|
|
260
260
|
| Operating System | Package Manager | Installation Command | Notes |
|
|
261
261
|
|-----------------|----------------|---------------------|-------|
|
|
262
|
-
| **macOS** | Homebrew | `brew install fd ripgrep` | Recommended |
|
|
263
|
-
| **Windows** | winget | `winget install sharkdp.fd BurntSushi.ripgrep.MSVC` | Recommended |
|
|
264
|
-
| | Chocolatey | `choco install fd ripgrep` | Alternative |
|
|
265
|
-
| | Scoop | `scoop install fd ripgrep` | Alternative |
|
|
266
|
-
| **Ubuntu/Debian** | apt | `sudo apt install fd-find ripgrep
|
|
267
|
-
| **CentOS/RHEL/Fedora** | dnf | `sudo dnf install fd-find ripgrep` | Official repository |
|
|
268
|
-
| **Arch Linux** | pacman | `sudo pacman -S fd ripgrep` | Official repository |
|
|
262
|
+
| **macOS** | Homebrew | `brew install fd@10.3.0 ripgrep@14.1.1` | Recommended |
|
|
263
|
+
| **Windows** | winget | `winget install sharkdp.fd --version 10.3.0` <br> `winget install BurntSushi.ripgrep.MSVC --version 14.1.1` | Recommended |
|
|
264
|
+
| | Chocolatey | `choco install fd --version 10.3.0` <br> `choco install ripgrep --version 14.1.1` | Alternative |
|
|
265
|
+
| | Scoop | `scoop install fd@10.3.0 ripgrep@14.1.1` | Alternative |
|
|
266
|
+
| **Ubuntu/Debian** | apt | `sudo apt install fd-find=10.3.0* ripgrep=14.1.1*` | Official repository |
|
|
267
|
+
| **CentOS/RHEL/Fedora** | dnf | `sudo dnf install fd-find-10.3.0 ripgrep-14.1.1` | Official repository |
|
|
268
|
+
| **Arch Linux** | pacman | `sudo pacman -S fd=10.3.0 ripgrep=14.1.1` | Official repository |
|
|
269
269
|
|
|
270
270
|
**Verify installation:**
|
|
271
271
|
```bash
|
|
@@ -736,18 +736,19 @@ uv run python -m tree_sitter_analyzer --show-query-languages
|
|
|
736
736
|
## 8. 🏆 Quality Assurance
|
|
737
737
|
|
|
738
738
|
### 📊 Quality Metrics
|
|
739
|
-
- **2,
|
|
740
|
-
- **
|
|
739
|
+
- **2,934 tests** - 100% pass rate ✅
|
|
740
|
+
- **80.09% code coverage** - Comprehensive test suite
|
|
741
741
|
- **Zero test failures** - Production ready
|
|
742
742
|
- **Cross-platform support** - Windows, macOS, Linux
|
|
743
743
|
|
|
744
|
-
### ⚡ Latest Quality Achievements (v1.7.
|
|
744
|
+
### ⚡ Latest Quality Achievements (v1.7.4)
|
|
745
|
+
- ✅ **📊 Enhanced Quality Metrics** - Test count increased to 2934 (up from 2831), coverage improved to 80.09%
|
|
746
|
+
- ✅ **🔧 System Stability** - All tests passing with enhanced system stability and reliability
|
|
745
747
|
- ✅ **🆕 Complete Markdown Support** - Added new complete Markdown language plugin supporting all major Markdown elements
|
|
746
748
|
- ✅ **📝 Enhanced Document Analysis** - Support for intelligent extraction of headers, code blocks, links, images, tables, task lists
|
|
747
749
|
- ✅ **🔍 Markdown Query System** - 17 predefined query types with alias and custom query support
|
|
748
750
|
- ✅ **🧪 Comprehensive Test Validation** - Added extensive Markdown test cases ensuring feature stability
|
|
749
751
|
- ✅ **📊 Structured Output** - Convert Markdown documents to structured data for easy AI processing
|
|
750
|
-
- ✅ **🔧 Test Stability Improvement** - Fixed 28 test errors, all 2831 tests now passing 100%
|
|
751
752
|
- ✅ **File output optimization** - MCP search tools now include `suppress_output` and `output_file` parameters for massive token savings
|
|
752
753
|
- ✅ **Intelligent format detection** - Automatic selection of optimal file formats (JSON/Markdown) for storage and reading optimization
|
|
753
754
|
- ✅ **ROO rules documentation** - Added comprehensive tree-sitter-analyzer MCP optimization usage guide
|
|
@@ -796,7 +797,7 @@ uv run pytest tests/test_mcp_server_initialization.py -v
|
|
|
796
797
|
**Verification environment:**
|
|
797
798
|
- Operating systems: Windows 10, macOS, Linux
|
|
798
799
|
- Python version: 3.10+
|
|
799
|
-
- Project version: tree-sitter-analyzer v1.7.
|
|
800
|
+
- Project version: tree-sitter-analyzer v1.7.4
|
|
800
801
|
- Test files: BigService.java (1419 lines), sample.py (256 lines), MultiClass.java (54 lines)
|
|
801
802
|
|
|
802
803
|
---
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://python.org)
|
|
6
6
|
[](LICENSE)
|
|
7
|
-
[](#quality-assurance)
|
|
8
|
+
[](#quality-assurance)
|
|
9
9
|
[](#quality-assurance)
|
|
10
10
|
[](https://pypi.org/project/tree-sitter-analyzer/)
|
|
11
|
-
[](https://github.com/aimasteracc/tree-sitter-analyzer/releases)
|
|
12
12
|
[](https://github.com/aimasteracc/tree-sitter-analyzer)
|
|
13
13
|
|
|
14
14
|
## 🚀 Enterprise-Grade Code Analysis Tool for the AI Era
|
|
@@ -58,8 +58,8 @@ Tree-sitter Analyzer is an enterprise-grade code analysis tool designed for the
|
|
|
58
58
|
| **Go** | Basic Support | Basic syntax parsing |
|
|
59
59
|
|
|
60
60
|
### 🏆 Production Ready
|
|
61
|
-
- **2,
|
|
62
|
-
- **
|
|
61
|
+
- **2,934 Tests** - 100% pass rate, enterprise-grade quality assurance
|
|
62
|
+
- **80.09% Coverage** - Comprehensive test coverage
|
|
63
63
|
- **Cross-platform Support** - Compatible with Windows, macOS, Linux
|
|
64
64
|
- **Continuous Maintenance** - Active development and community support
|
|
65
65
|
|
|
@@ -92,13 +92,13 @@ uv --version
|
|
|
92
92
|
|
|
93
93
|
| Operating System | Package Manager | Installation Command | Notes |
|
|
94
94
|
|-----------------|----------------|---------------------|-------|
|
|
95
|
-
| **macOS** | Homebrew | `brew install fd ripgrep` | Recommended |
|
|
96
|
-
| **Windows** | winget | `winget install sharkdp.fd BurntSushi.ripgrep.MSVC` | Recommended |
|
|
97
|
-
| | Chocolatey | `choco install fd ripgrep` | Alternative |
|
|
98
|
-
| | Scoop | `scoop install fd ripgrep` | Alternative |
|
|
99
|
-
| **Ubuntu/Debian** | apt | `sudo apt install fd-find ripgrep
|
|
100
|
-
| **CentOS/RHEL/Fedora** | dnf | `sudo dnf install fd-find ripgrep` | Official repository |
|
|
101
|
-
| **Arch Linux** | pacman | `sudo pacman -S fd ripgrep` | Official repository |
|
|
95
|
+
| **macOS** | Homebrew | `brew install fd@10.3.0 ripgrep@14.1.1` | Recommended |
|
|
96
|
+
| **Windows** | winget | `winget install sharkdp.fd --version 10.3.0` <br> `winget install BurntSushi.ripgrep.MSVC --version 14.1.1` | Recommended |
|
|
97
|
+
| | Chocolatey | `choco install fd --version 10.3.0` <br> `choco install ripgrep --version 14.1.1` | Alternative |
|
|
98
|
+
| | Scoop | `scoop install fd@10.3.0 ripgrep@14.1.1` | Alternative |
|
|
99
|
+
| **Ubuntu/Debian** | apt | `sudo apt install fd-find=10.3.0* ripgrep=14.1.1*` | Official repository |
|
|
100
|
+
| **CentOS/RHEL/Fedora** | dnf | `sudo dnf install fd-find-10.3.0 ripgrep-14.1.1` | Official repository |
|
|
101
|
+
| **Arch Linux** | pacman | `sudo pacman -S fd=10.3.0 ripgrep=14.1.1` | Official repository |
|
|
102
102
|
|
|
103
103
|
**Verify installation:**
|
|
104
104
|
```bash
|
|
@@ -569,18 +569,19 @@ uv run python -m tree_sitter_analyzer --show-query-languages
|
|
|
569
569
|
## 8. 🏆 Quality Assurance
|
|
570
570
|
|
|
571
571
|
### 📊 Quality Metrics
|
|
572
|
-
- **2,
|
|
573
|
-
- **
|
|
572
|
+
- **2,934 tests** - 100% pass rate ✅
|
|
573
|
+
- **80.09% code coverage** - Comprehensive test suite
|
|
574
574
|
- **Zero test failures** - Production ready
|
|
575
575
|
- **Cross-platform support** - Windows, macOS, Linux
|
|
576
576
|
|
|
577
|
-
### ⚡ Latest Quality Achievements (v1.7.
|
|
577
|
+
### ⚡ Latest Quality Achievements (v1.7.4)
|
|
578
|
+
- ✅ **📊 Enhanced Quality Metrics** - Test count increased to 2934 (up from 2831), coverage improved to 80.09%
|
|
579
|
+
- ✅ **🔧 System Stability** - All tests passing with enhanced system stability and reliability
|
|
578
580
|
- ✅ **🆕 Complete Markdown Support** - Added new complete Markdown language plugin supporting all major Markdown elements
|
|
579
581
|
- ✅ **📝 Enhanced Document Analysis** - Support for intelligent extraction of headers, code blocks, links, images, tables, task lists
|
|
580
582
|
- ✅ **🔍 Markdown Query System** - 17 predefined query types with alias and custom query support
|
|
581
583
|
- ✅ **🧪 Comprehensive Test Validation** - Added extensive Markdown test cases ensuring feature stability
|
|
582
584
|
- ✅ **📊 Structured Output** - Convert Markdown documents to structured data for easy AI processing
|
|
583
|
-
- ✅ **🔧 Test Stability Improvement** - Fixed 28 test errors, all 2831 tests now passing 100%
|
|
584
585
|
- ✅ **File output optimization** - MCP search tools now include `suppress_output` and `output_file` parameters for massive token savings
|
|
585
586
|
- ✅ **Intelligent format detection** - Automatic selection of optimal file formats (JSON/Markdown) for storage and reading optimization
|
|
586
587
|
- ✅ **ROO rules documentation** - Added comprehensive tree-sitter-analyzer MCP optimization usage guide
|
|
@@ -629,7 +630,7 @@ uv run pytest tests/test_mcp_server_initialization.py -v
|
|
|
629
630
|
**Verification environment:**
|
|
630
631
|
- Operating systems: Windows 10, macOS, Linux
|
|
631
632
|
- Python version: 3.10+
|
|
632
|
-
- Project version: tree-sitter-analyzer v1.7.
|
|
633
|
+
- Project version: tree-sitter-analyzer v1.7.4
|
|
633
634
|
- Test files: BigService.java (1419 lines), sample.py (256 lines), MultiClass.java (54 lines)
|
|
634
635
|
|
|
635
636
|
---
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://python.org)
|
|
6
6
|
[](LICENSE)
|
|
7
|
-
[](#8--品質保証)
|
|
8
|
+
[](#8--品質保証)
|
|
9
9
|
[](#8--品質保証)
|
|
10
10
|
[](https://pypi.org/project/tree-sitter-analyzer/)
|
|
11
|
-
[](https://github.com/aimasteracc/tree-sitter-analyzer/releases)
|
|
12
12
|
[](https://github.com/aimasteracc/tree-sitter-analyzer)
|
|
13
13
|
|
|
14
14
|
## 🚀 AI時代のエンタープライズグレードコード解析ツール
|
|
@@ -58,8 +58,8 @@ Tree-sitter Analyzerは、AI時代のために設計されたエンタープラ
|
|
|
58
58
|
| **Go** | 基本サポート | 基本構文解析 |
|
|
59
59
|
|
|
60
60
|
### 🏆 本番環境対応
|
|
61
|
-
- **2,
|
|
62
|
-
- **
|
|
61
|
+
- **2,934のテスト** - 100%合格率、エンタープライズグレードの品質保証
|
|
62
|
+
- **80.09%カバレッジ** - 包括的なテストスイート
|
|
63
63
|
- **クロスプラットフォームサポート** - Windows、macOS、Linuxとの完全な互換性
|
|
64
64
|
- **継続的なメンテナンス** - アクティブな開発とコミュニティサポート
|
|
65
65
|
|
|
@@ -92,13 +92,13 @@ uv --version
|
|
|
92
92
|
|
|
93
93
|
| オペレーティングシステム | パッケージマネージャー | インストールコマンド | 備考 |
|
|
94
94
|
|------------------------|---------------------|-------------------|------|
|
|
95
|
-
| **macOS** | Homebrew | `brew install fd ripgrep` | 推奨方法 |
|
|
96
|
-
| **Windows** | winget | `winget install sharkdp.fd BurntSushi.ripgrep.MSVC` | 推奨方法 |
|
|
97
|
-
| | Chocolatey | `choco install fd ripgrep` | 代替方法 |
|
|
98
|
-
| | Scoop | `scoop install fd ripgrep` | 代替方法 |
|
|
99
|
-
| **Ubuntu/Debian** | apt | `sudo apt install fd-find ripgrep
|
|
100
|
-
| **CentOS/RHEL/Fedora** | dnf | `sudo dnf install fd-find ripgrep` | 公式リポジトリ |
|
|
101
|
-
| **Arch Linux** | pacman | `sudo pacman -S fd ripgrep` | 公式リポジトリ |
|
|
95
|
+
| **macOS** | Homebrew | `brew install fd@10.3.0 ripgrep@14.1.1` | 推奨方法 |
|
|
96
|
+
| **Windows** | winget | `winget install sharkdp.fd --version 10.3.0` <br> `winget install BurntSushi.ripgrep.MSVC --version 14.1.1` | 推奨方法 |
|
|
97
|
+
| | Chocolatey | `choco install fd --version 10.3.0` <br> `choco install ripgrep --version 14.1.1` | 代替方法 |
|
|
98
|
+
| | Scoop | `scoop install fd@10.3.0 ripgrep@14.1.1` | 代替方法 |
|
|
99
|
+
| **Ubuntu/Debian** | apt | `sudo apt install fd-find=10.3.0* ripgrep=14.1.1*` | 公式リポジトリ |
|
|
100
|
+
| **CentOS/RHEL/Fedora** | dnf | `sudo dnf install fd-find-10.3.0 ripgrep-14.1.1` | 公式リポジトリ |
|
|
101
|
+
| **Arch Linux** | pacman | `sudo pacman -S fd=10.3.0 ripgrep=14.1.1` | 公式リポジトリ |
|
|
102
102
|
|
|
103
103
|
**インストールの確認:**
|
|
104
104
|
```bash
|
|
@@ -569,18 +569,19 @@ uv run python -m tree_sitter_analyzer --show-query-languages
|
|
|
569
569
|
## 8. 🏆 品質保証
|
|
570
570
|
|
|
571
571
|
### 📊 品質メトリクス
|
|
572
|
-
- **2,
|
|
573
|
-
- **
|
|
572
|
+
- **2,934のテスト** - 100%合格率 ✅
|
|
573
|
+
- **80.09%コードカバレッジ** - 包括的なテストスイート
|
|
574
574
|
- **ゼロテスト失敗** - 本番環境対応
|
|
575
575
|
- **クロスプラットフォームサポート** - Windows、macOS、Linux
|
|
576
576
|
|
|
577
|
-
### ⚡ 最新の品質成果(v1.7.
|
|
577
|
+
### ⚡ 最新の品質成果(v1.7.4)
|
|
578
|
+
- ✅ **📊 品質メトリクス向上** - テスト数が2934個に増加(2831個から)、カバレッジが80.09%に向上
|
|
579
|
+
- ✅ **🔧 システム安定性** - すべてのテストが合格し、システムの安定性と信頼性が向上
|
|
578
580
|
- ✅ **🆕 Markdown完全サポート** - 新しい完全なMarkdown言語プラグインを追加、すべての主要Markdown要素をサポート
|
|
579
581
|
- ✅ **📝 ドキュメント解析強化** - 見出し、コードブロック、リンク、画像、表、タスクリストなどの要素のインテリジェント抽出をサポート
|
|
580
582
|
- ✅ **🔍 Markdownクエリシステム** - 17種類の事前定義クエリタイプ、エイリアスとカスタムクエリをサポート
|
|
581
583
|
- ✅ **🧪 包括的なテスト検証** - 機能の安定性を確保するための広範なMarkdownテストケースを追加
|
|
582
584
|
- ✅ **📊 構造化出力** - Markdownドキュメントを構造化データに変換し、AI処理を容易に
|
|
583
|
-
- ✅ **🔧 テスト安定性の向上** - 28件のテストエラーを修正、全2831テストが100%合格
|
|
584
585
|
- ✅ **ファイル出力最適化** - MCP検索ツールに`suppress_output`と`output_file`パラメータを新追加、大幅なトークン節約を実現
|
|
585
586
|
- ✅ **インテリジェントフォーマット検出** - 最適なファイル形式(JSON/Markdown)を自動選択、ストレージと読み取りを最適化
|
|
586
587
|
- ✅ **ROO規則ドキュメント** - tree-sitter-analyzer MCP最適化使用ガイドを新追加
|
|
@@ -629,7 +630,7 @@ uv run pytest tests/test_mcp_server_initialization.py -v
|
|
|
629
630
|
**検証環境:**
|
|
630
631
|
- オペレーティングシステム:Windows 10、macOS、Linux
|
|
631
632
|
- Pythonバージョン:3.10+
|
|
632
|
-
- プロジェクトバージョン:tree-sitter-analyzer v1.7.
|
|
633
|
+
- プロジェクトバージョン:tree-sitter-analyzer v1.7.4
|
|
633
634
|
- テストファイル:BigService.java(1419行)、sample.py(256行)、MultiClass.java(54行)
|
|
634
635
|
|
|
635
636
|
---
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://python.org)
|
|
6
6
|
[](LICENSE)
|
|
7
|
-
[](#质量保证)
|
|
8
|
+
[](#质量保证)
|
|
9
9
|
[](#质量保证)
|
|
10
10
|
[](https://pypi.org/project/tree-sitter-analyzer/)
|
|
11
|
-
[](https://github.com/aimasteracc/tree-sitter-analyzer/releases)
|
|
12
12
|
[](https://github.com/aimasteracc/tree-sitter-analyzer)
|
|
13
13
|
|
|
14
14
|
## 🚀 AI时代的企业级代码分析工具
|
|
@@ -58,8 +58,8 @@ Tree-sitter Analyzer 是一个为AI时代设计的企业级代码分析工具,
|
|
|
58
58
|
| **Go** | 基础支持 | 基本语法解析 |
|
|
59
59
|
|
|
60
60
|
### 🏆 生产就绪
|
|
61
|
-
- **2,
|
|
62
|
-
- **
|
|
61
|
+
- **2,934个测试** - 100%通过率,企业级质量保证
|
|
62
|
+
- **80.09%覆盖率** - 全面的测试覆盖
|
|
63
63
|
- **跨平台支持** - Windows、macOS、Linux全平台兼容
|
|
64
64
|
- **持续维护** - 活跃的开发和社区支持
|
|
65
65
|
|
|
@@ -92,13 +92,13 @@ uv --version
|
|
|
92
92
|
|
|
93
93
|
| 操作系统 | 包管理器 | 安装命令 | 备注 |
|
|
94
94
|
|---------|---------|---------|------|
|
|
95
|
-
| **macOS** | Homebrew | `brew install fd ripgrep` | 推荐方式 |
|
|
96
|
-
| **Windows** | winget | `winget install sharkdp.fd BurntSushi.ripgrep.MSVC` | 推荐方式 |
|
|
97
|
-
| | Chocolatey | `choco install fd ripgrep` | 替代方式 |
|
|
98
|
-
| | Scoop | `scoop install fd ripgrep` | 替代方式 |
|
|
99
|
-
| **Ubuntu/Debian** | apt | `sudo apt install fd-find ripgrep
|
|
100
|
-
| **CentOS/RHEL/Fedora** | dnf | `sudo dnf install fd-find ripgrep` | 官方仓库 |
|
|
101
|
-
| **Arch Linux** | pacman | `sudo pacman -S fd ripgrep` | 官方仓库 |
|
|
95
|
+
| **macOS** | Homebrew | `brew install fd@10.3.0 ripgrep@14.1.1` | 推荐方式 |
|
|
96
|
+
| **Windows** | winget | `winget install sharkdp.fd --version 10.3.0` <br> `winget install BurntSushi.ripgrep.MSVC --version 14.1.1` | 推荐方式 |
|
|
97
|
+
| | Chocolatey | `choco install fd --version 10.3.0` <br> `choco install ripgrep --version 14.1.1` | 替代方式 |
|
|
98
|
+
| | Scoop | `scoop install fd@10.3.0 ripgrep@14.1.1` | 替代方式 |
|
|
99
|
+
| **Ubuntu/Debian** | apt | `sudo apt install fd-find=10.3.0* ripgrep=14.1.1*` | 官方仓库 |
|
|
100
|
+
| **CentOS/RHEL/Fedora** | dnf | `sudo dnf install fd-find-10.3.0 ripgrep-14.1.1` | 官方仓库 |
|
|
101
|
+
| **Arch Linux** | pacman | `sudo pacman -S fd=10.3.0 ripgrep=14.1.1` | 官方仓库 |
|
|
102
102
|
|
|
103
103
|
**验证安装:**
|
|
104
104
|
```bash
|
|
@@ -570,18 +570,19 @@ uv run python -m tree_sitter_analyzer --show-query-languages
|
|
|
570
570
|
## 8. 🏆 质量保证
|
|
571
571
|
|
|
572
572
|
### 📊 质量指标
|
|
573
|
-
- **2,
|
|
574
|
-
- **
|
|
573
|
+
- **2,934个测试** - 100%通过率 ✅
|
|
574
|
+
- **80.09%代码覆盖率** - 全面测试套件
|
|
575
575
|
- **零测试失败** - 生产就绪
|
|
576
576
|
- **跨平台支持** - Windows、macOS、Linux
|
|
577
577
|
|
|
578
|
-
### ⚡ 最新质量成就(v1.7.
|
|
578
|
+
### ⚡ 最新质量成就(v1.7.4)
|
|
579
|
+
- ✅ **📊 质量指标提升** - 测试数量增加到2934个(从2831个),覆盖率提升到80.09%
|
|
580
|
+
- ✅ **🔧 系统稳定性** - 所有测试通过,系统稳定性和可靠性增强
|
|
579
581
|
- ✅ **🆕 Markdown完整支持** - 新增完整的Markdown语言插件,支持所有主要Markdown元素
|
|
580
582
|
- ✅ **📝 文档分析增强** - 支持标题、代码块、链接、图片、表格、任务列表等元素的智能提取
|
|
581
583
|
- ✅ **🔍 Markdown查询系统** - 17种预定义查询类型,支持别名和自定义查询
|
|
582
584
|
- ✅ **🧪 全面测试验证** - 新增大量Markdown相关测试用例,确保功能稳定性
|
|
583
585
|
- ✅ **📊 结构化输出** - 将Markdown文档转换为结构化数据,便于AI处理
|
|
584
|
-
- ✅ **🔧 测试稳定性提升** - 修复28个测试错误,所有2831个测试100%通过
|
|
585
586
|
- ✅ **文件输出优化** - MCP搜索工具新增`suppress_output`和`output_file`参数,大幅节省token消耗
|
|
586
587
|
- ✅ **智能格式检测** - 自动选择最适合的文件格式(JSON/Markdown),优化存储和读取
|
|
587
588
|
- ✅ **ROO规则文档** - 新增完整的tree-sitter-analyzer MCP优化使用指南
|
|
@@ -630,7 +631,7 @@ uv run pytest tests/test_mcp_server_initialization.py -v
|
|
|
630
631
|
**验证环境:**
|
|
631
632
|
- 操作系统:Windows 10、macOS、Linux
|
|
632
633
|
- Python版本:3.10+
|
|
633
|
-
- 项目版本:tree-sitter-analyzer v1.7.
|
|
634
|
+
- 项目版本:tree-sitter-analyzer v1.7.4
|
|
634
635
|
- 测试文件:BigService.java (1419行)、sample.py (256行)、MultiClass.java (54行)
|
|
635
636
|
|
|
636
637
|
---
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "tree-sitter-analyzer"
|
|
7
|
-
version = "1.7.
|
|
7
|
+
version = "1.7.4"
|
|
8
8
|
description = "Extensible multi-language code analyzer framework using Tree-sitter with dynamic plugin architecture"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -380,7 +380,7 @@ directory = "htmlcov"
|
|
|
380
380
|
# MCP server configuration
|
|
381
381
|
[tool.mcp]
|
|
382
382
|
server_name = "tree-sitter-analyzer"
|
|
383
|
-
server_version = "1.7.
|
|
383
|
+
server_version = "1.7.4"
|
|
384
384
|
description = "Tree-sitter based code analysis MCP server with multi-language support"
|
|
385
385
|
capabilities = [
|
|
386
386
|
"check_code_scale",
|