Skip to content

Release v0.13.0: Code Analysis, Profiling, Static Analysis & Git Tools

Choose a tag to compare

@jwesleye jwesleye released this 14 Oct 18:39
· 82 commits to main since this release

🚀 Release v0.13.0

Major expansion with 4 new development-focused modules and 39 new functions!

🆕 New Modules

🔍 Code Analysis Module (15 functions)

  • AST parsing: parse_python_ast, extract_functions, extract_classes, extract_imports
  • Complexity analysis: calculate_complexity, calculate_function_complexity, get_code_metrics, identify_complex_functions
  • Import management: find_unused_imports, organize_imports, validate_import_order
  • Secret detection: scan_for_secrets, scan_directory_for_secrets, validate_secret_patterns

⚡ Profiling Module (8 functions)

  • Performance profiling: profile_function, profile_script, get_hotspots
  • Memory analysis: measure_memory_usage, detect_memory_leaks, get_memory_snapshot
  • Benchmarking: benchmark_execution, compare_implementations

📊 Static Analysis Module (7 functions)

  • Tool output parsing: parse_ruff_json, parse_mypy_json, parse_pytest_json, summarize_static_analysis
  • Issue analysis: filter_issues_by_severity, group_issues_by_file, prioritize_issues

🔀 Git Tools Module (9 functions)

  • Status operations: get_git_status, get_current_branch, get_git_diff
  • History operations: get_git_log, get_git_blame, get_file_history, get_file_at_commit
  • Branch operations: list_branches, get_branch_info

📈 Improvements

  • Function Count: 150+ → 190+ total agent tools
  • Module Count: 11 → 15 modules
  • Test Coverage: 87% average across new modules (148 new tests)

🐛 Bug Fixes

  • Fixed archive compression test compatibility with skip_confirm parameter
  • Fixed crypto encoding functions to validate types before logging

📦 Installation

```bash
pip install basic-open-agent-tools==0.13.0
```

See CHANGELOG.md for full details.