mcp-probe-kit 1.2.4 → 1.2.6
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 +808 -736
- package/build/tools/gencommit.js +19 -9
- package/package.json +1 -1
package/build/tools/gencommit.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
export async function gencommit(args) {
|
|
3
3
|
try {
|
|
4
4
|
const changes = args?.changes || "";
|
|
5
|
-
const type = args?.type || ""; //
|
|
5
|
+
const type = args?.type || ""; // fixed, fix, feat, docs, style, chore, refactor, test
|
|
6
6
|
const message = `请按以下步骤生成规范的 Git commit 消息:
|
|
7
7
|
|
|
8
8
|
**第一步:获取变更信息**
|
|
@@ -31,13 +31,14 @@ ${changes ? `已提供变更内容:\n${changes}` : `
|
|
|
31
31
|
\`\`\`
|
|
32
32
|
|
|
33
33
|
**类型(type)**:
|
|
34
|
-
-
|
|
35
|
-
- fix
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
40
|
-
-
|
|
34
|
+
- fixed 🐛: 线上/测试缺陷修复
|
|
35
|
+
- fix 🐛: 历史中也存在的写法,语义同 fixed,保持兼容
|
|
36
|
+
- feat 🎸: 新增或迭代业务功能
|
|
37
|
+
- docs ✏️: 文档相关更新
|
|
38
|
+
- style 💄: UI/样式调整,无业务逻辑变更
|
|
39
|
+
- chore 🤖: 构建、脚本、依赖等杂项
|
|
40
|
+
- refactor ♻️(可选): 重构、内部结构调整,不改变外部行为
|
|
41
|
+
- test ✅(可选): 测试相关
|
|
41
42
|
|
|
42
43
|
**要求**:
|
|
43
44
|
1. subject 使用中文,简洁明了(不超过 50 字)
|
|
@@ -47,7 +48,7 @@ ${changes ? `已提供变更内容:\n${changes}` : `
|
|
|
47
48
|
|
|
48
49
|
**示例**:
|
|
49
50
|
\`\`\`
|
|
50
|
-
feat(auth): 添加用户登录功能
|
|
51
|
+
feat(auth): 🎸 添加用户登录功能
|
|
51
52
|
|
|
52
53
|
- 实现 JWT 认证机制
|
|
53
54
|
- 添加密码加密存储
|
|
@@ -56,6 +57,15 @@ feat(auth): 添加用户登录功能
|
|
|
56
57
|
Closes #123
|
|
57
58
|
\`\`\`
|
|
58
59
|
|
|
60
|
+
\`\`\`
|
|
61
|
+
fixed(api): 🐛 修复用户数据返回异常
|
|
62
|
+
|
|
63
|
+
- 修复空值判断逻辑
|
|
64
|
+
- 优化错误处理机制
|
|
65
|
+
|
|
66
|
+
Closes #456
|
|
67
|
+
\`\`\`
|
|
68
|
+
|
|
59
69
|
---
|
|
60
70
|
|
|
61
71
|
**第三步:生成并提交**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-probe-kit",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.6",
|
|
4
4
|
"description": "Cursor Development Enhancement Toolkit - MCP Server with 23 practical tools for code quality, development efficiency, and project management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "build/index.js",
|