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_callersin.codemaprcfor 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_callersnow 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 contextCLI command — compact project overview (health, frameworks, recent usage, hotspots) - New SessionStart hook — auto-shows project context when Claude Code opens a session
- Run
codemap hooksto install the new hook
Full Changelog: v0.6.1...v0.6.2