迁移项目共享记忆到 docs/project-memory,保留 .hermes 仅作为工具目录 新增 Agent 本地 RAG 索引与上下文包检索脚本 记录 RAG 依赖只安装到 .rag/runtime 并加入忽略规则 同步文档与检查脚本中的项目记忆路径
47 lines
778 B
JSON
47 lines
778 B
JSON
{
|
|
"runtimeDir": ".rag/runtime",
|
|
"databaseDir": ".rag/lancedb",
|
|
"modelCacheDir": ".rag/models",
|
|
"tableName": "project_docs",
|
|
"model": "Xenova/multilingual-e5-small",
|
|
"chunk": {
|
|
"maxChars": 1600,
|
|
"overlapChars": 220
|
|
},
|
|
"sources": [
|
|
{
|
|
"path": "AGENTS.md",
|
|
"weight": 1.4
|
|
},
|
|
{
|
|
"path": "CONTEXT.md",
|
|
"weight": 1.3,
|
|
"optional": true
|
|
},
|
|
{
|
|
"path": "docs/project-memory",
|
|
"weight": 1.35
|
|
},
|
|
{
|
|
"path": "docs",
|
|
"weight": 1.0
|
|
}
|
|
],
|
|
"exclude": [
|
|
".git/",
|
|
".rag/",
|
|
".hermes/",
|
|
".codegraph/",
|
|
".app/",
|
|
"node_modules/",
|
|
"dist/",
|
|
"build/",
|
|
"coverage/",
|
|
"logs/",
|
|
"output/",
|
|
"server-rs/target/",
|
|
"server-rs/target-",
|
|
"tmp/"
|
|
]
|
|
}
|