跳到主要内容
RAGRAF

repo_map

版本: community ragraf_repo_map

仓库地图:模块 → 文件 → 关键符号,受 token 预算约束

参数

名称 类型 默认值
scopestr | NoneNone
budget_tokensint2000
detailstr'normal'

调用示例

ragraf -p config/ragraf.yaml query repo_map

尖括号表示必填参数;默认值可以不传。

返回什么

budget_chars, budget_note, budget_tokens, chars_used, files, files_included, files_total, ranking, ranking_note, scope

何时拒绝

空结果是退出码 0 且 found=false,不是错误。只有当前无法执行时才返回码 3:例如 capability 不是 full 时的 slice。原因总写在 note 字段里。