bfi-cli 0.1.84 → 0.1.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -111,11 +111,13 @@ function buildServer(remote) {
|
|
|
111
111
|
}, {
|
|
112
112
|
capabilities: { tools: {} },
|
|
113
113
|
instructions: [
|
|
114
|
-
"代码图谱/规则链/跨仓检索通道(bfi cli
|
|
114
|
+
"代码图谱/规则链/跨仓检索通道(bfi cli 登录态鉴权,零配置)。",
|
|
115
|
+
"完整工具清单以远端 listTools 动态下发为准,下列为常用入口:",
|
|
115
116
|
"· 结构化查询:query(BM25+语义混合检索)/ context(符号360度)/ trace(最短调用路径)/ impact(影响面)/ cypher(图谱直查)",
|
|
116
|
-
"·
|
|
117
|
-
"· 内容检索:zoekt_search
|
|
118
|
-
"·
|
|
117
|
+
"· 规则链:rule_chain(单据动作有效规则链)/ rule_impact(规则被哪些链使用)/ rule_search(模糊搜规则/单据)",
|
|
118
|
+
"· 内容检索:zoekt_search(跨 309 仓文本/正则/行级,毫秒级——搜字面量/URL/配置值/报错文案);read_file / grep(单仓工作区文件读取与文本检索——定位到仓后取原文片段用)",
|
|
119
|
+
"· 多仓契约组:group_list(组清单)/ group_sync(契约同步);组内可跨仓 trace(repo 传 \"@组名\")",
|
|
120
|
+
"· 佐证纪律:多候选必须让用户确认;trace 结果校验仓库归属;检索结果不是完整源码,结合行号取源码片段引用;跨仓 trace 仅覆盖契约可提取的调用形态,\"无路径\"不等于\"无调用\""
|
|
119
121
|
].join("\n")
|
|
120
122
|
});
|
|
121
123
|
server.setRequestHandler(ListToolsRequestSchema, async () => {
|