@dependfix/engine 0.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 CaoMeiYouRen <https://github.com/CaoMeiYouRen>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,27 @@
1
+ # @dependfix/engine
2
+
3
+ > dependfix 执行引擎包:编排、采集、修复与研判核心。由 CLI(dependfix)、MCP Server(@dependfix/mcp)与平台(apps/platform)共同依赖,应用层不再互相依赖。
4
+
5
+ ## 内容
6
+
7
+ | 模块 | 说明 |
8
+ |:-----|:-----|
9
+ | `src/github/` | GitHub 客户端、Dependabot / Code Scanning 告警采集、PR 创建、仓库发现与名单策略 |
10
+ | `src/code-scanning/` | Code Scanning 规则分类(A/B/C)与模板化修复 |
11
+ | `src/fixers/` | 依赖升级修复器(直接/间接/版本化 overrides)与 pnpm lockfile 修复 |
12
+ | `src/config/` | 运行时配置(RUNTIME_MODES / DEFAULT_RUNTIME_CONFIG / resolveRuntimeConfig) |
13
+ | `src/report/` | 报告归档与历史查询(queryRepoHistory / writeArchive) |
14
+ | `src/app/` | 编排核心 `DependfixApp` 与分支清理 |
15
+ | `src/helpers/` | 共享工具(验证链 / 快照回滚 / 分区) |
16
+ | `src/ai/` | AI breaking change 研判(provider / schema / safety-gate / patch-applier) |
17
+ | `src/runners/` | 验证执行器与门禁 |
18
+ | `src/alerts/` | pnpm-audit 本地回退数据源 |
19
+ | `src/multirepo/` | 多仓库并发调度 |
20
+ | `src/grouping/` | 依赖升级分组 |
21
+
22
+ ## 本地开发
23
+
24
+ ```bash
25
+ pnpm --filter @dependfix/engine build # 构建 dist
26
+ pnpm --filter @dependfix/engine test # 测试
27
+ ```