@lorrylurui/code-intelligence-mcp 2.0.1 → 2.0.2
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.
- package/README.md +4 -3
- package/dist/config/env.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
- Tool: `get_symbol_detail`
|
|
6
6
|
- Tool: `search_by_structure`
|
|
7
7
|
- Tool: `reindex`
|
|
8
|
-
- Tool: `recommend_component`
|
|
9
8
|
- Tool: `incUsage`
|
|
10
9
|
- Prompt: `reusable-code-advisor`
|
|
11
10
|
- Cursor Skill:`reusable-code-advisor`(`.cursor/skills/reusable-code-advisor/`,
|
|
@@ -25,8 +24,10 @@
|
|
|
25
24
|
|
|
26
25
|
## 2)配置流水线
|
|
27
26
|
|
|
28
|
-
```
|
|
29
|
-
- uses:
|
|
27
|
+
```yml
|
|
28
|
+
- uses: LorryIsLuRui/code-intelligence-ci-index@v1
|
|
29
|
+
with:
|
|
30
|
+
symbols-table: ${{ inputs.symbols-table }}
|
|
30
31
|
```
|
|
31
32
|
|
|
32
33
|
## 3) 项目根目录环境变量
|
package/dist/config/env.js
CHANGED
|
@@ -53,7 +53,8 @@ export const env = {
|
|
|
53
53
|
/** PostgreSQL 连接字符串,如 postgresql://user:pass@host:5432/db */
|
|
54
54
|
get pgUrl() {
|
|
55
55
|
return (process.env.PG_URL ??
|
|
56
|
-
'postgresql://postgres:devpassword@127.0.0.1:5432/code_intelligence'
|
|
56
|
+
'postgresql://postgres:devpassword@127.0.0.1:5432/code_intelligence' // TODO: 替换为公网实例地址
|
|
57
|
+
);
|
|
57
58
|
},
|
|
58
59
|
/** symbols 表名,可通过 SYMBOLS_TABLE 环境变量配置 */
|
|
59
60
|
get symbolsTable() {
|