markstar 1.1.2 → 1.1.3
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 +15 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,7 +15,21 @@ npx markstar
|
|
|
15
15
|
| 技能 | 命令 | 说明 |
|
|
16
16
|
|------|------|------|
|
|
17
17
|
| **data-to-chart** | `/data-to-chart` | 智能图表生成,自动选择 ECharts 图表类型并生成可交互 HTML。支持大屏/仪表盘模式。 |
|
|
18
|
-
| **maven-pilot** | `/maven-pilot` | Maven
|
|
18
|
+
| **maven-pilot** | `/maven-pilot` | Maven 依赖冲突检测与自动修复。检测 → AI 分析 → diff 预览 → 用户确认 → 修改 pom.xml → 编译验证。零第三方依赖。 |
|
|
19
|
+
|
|
20
|
+
## maven-pilot 使用示例
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
/maven-pilot check # 只检测,不修复
|
|
24
|
+
/maven-pilot fix # 检测 + 修复全量冲突
|
|
25
|
+
/maven-pilot 帮我看看有没有冲突 # 自然语言
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
**特点:**
|
|
29
|
+
- 基于 Maven 内置 `dependency:tree`,不需要额外插件
|
|
30
|
+
- 修复方式:`<dependencyManagement>` 锁定版本或 `<exclusion>` 排除传递依赖
|
|
31
|
+
- 安全约束:不升级大版本、不改源代码、diff 预览 + 用户确认、修复后编译验证
|
|
32
|
+
- 编译失败自动回滚
|
|
19
33
|
|
|
20
34
|
## 卸载
|
|
21
35
|
|