Skip to content

v0.6.2

Latest

Choose a tag to compare

@EdmundHee EdmundHee released this 15 Apr 05:07

What's New

Synthetic Framework Callers for Dead Code Detection

Reduces dead code false positives by injecting synthetic call graph edges for framework-managed functions. Instead of exemption lists, the call graph now reflects how frameworks invoke functions (e.g., __celery__ -> process_data).

  • 16 built-in rules covering Celery, FastAPI, pytest, Django, Flask, NestJS, React, Vue, Nuxt, Next.js, LangGraph, Express
  • Configurable via dead_code.synthetic_callers in .codemaprc for custom frameworks
  • Decorator extraction for standalone Python functions (@celery.task, @app.get, @pytest.fixture)
  • Simplified dead-code analyzer — removed hardcoded lifecycle hooks and decorator patterns; zero callers = dead
  • codemap_callers now shows the framework as a caller (e.g., __fastapi__)

Improved Framework Detection

  • Added celery, pytest, and langgraph to auto-detection
  • Monorepo support — scans immediate subdirectories for package.json / requirements.txt

Daily Usage Breakdown

  • Usage stats now show a daily summary table before the 5-hour drill-down
  • Groups existing interval data by date with top tools per day

Session Context Command + Hook

  • New codemap context CLI command — compact project overview (health, frameworks, recent usage, hotspots)
  • New SessionStart hook — auto-shows project context when Claude Code opens a session
  • Run codemap hooks to install the new hook

Full Changelog: v0.6.1...v0.6.2