get_repo_map
Generate a compressed, role-aware map of a code repository, ranking files within a token budget to help LLM agents understand project structure.
Instructions
레포의 압축 맵을 반환 / return a compressed map of the repo.
repo_path: 대상 레포 절대경로 / absolute path to the target repo. token_budget: 출력 토큰 예산(기본 4000) / output token budget (default 4000). focus_files / role / changed_files: Phase 3 역할별 personalization 입력 / Phase 3 inputs for role-based personalization. role="planner": 진입점 가중 / entry-point boost. role="implementer": focus_files 에 텔레포트 질량 집중 / teleport mass on focus_files. role="reviewer": changed_files + 의존자(predecessors) 가중 / changed_files + their dependents (predecessors).
반환 / returns: {repo_map, stats:{files, files_parsed_now, files_from_cache, cache_hit_ratio, moved, deleted, symbols_total, symbols_included, est_tokens, elapsed_ms}, warnings}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | planner | |
| repo_path | Yes | ||
| focus_files | No | ||
| token_budget | No | ||
| changed_files | No |