dsh-plugin-compat-check 0.1.5 → 0.1.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 +4 -2
- package/kernel/lib/version.mjs +1 -1
- package/kernel/rules/README.md +1 -1
- package/package.json +8 -4
- package/skill/SKILL.md +2 -2
package/README.md
CHANGED
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
[简体中文](https://github.com/lcy0121/dsh-plugin-compat-check/blob/main/README.md) | [English](https://github.com/lcy0121/dsh-plugin-compat-check/blob/main/README.en.md) | [한국어](https://github.com/lcy0121/dsh-plugin-compat-check/blob/main/README.ko.md)
|
|
8
8
|
|
|
9
|
-
**0.1.
|
|
9
|
+
**0.1.6** · Node `^22.19.0 || >=24`。提供兼容性标签、插件详情发现/角标、`compat_check` 对话工具和 skill provider。发布与验收记录见 [Plan](https://github.com/lcy0121/dsh-plugin-compat-check/blob/main/docs/Plan.md)。
|
|
10
|
+
|
|
11
|
+
0.1.6 为元数据补丁:补充 DSH `>=0.2.0-rc.2` 宿主要求及包信息,保留0.1.5功能。最低版本声明不认证未来宿主;已审查目录与集成验收范围仍为 DSH **0.2.0-rc.2、0.2.1-rc.2**。
|
|
10
12
|
|
|
11
13
|

|
|
12
14
|
|
|
@@ -18,7 +20,7 @@ dsh plugin --profile <profile> add dsh-plugin-compat-check
|
|
|
18
20
|
|
|
19
21
|
DSH 0.2.1-rc.2:**更多 → 设置 → 内置插件 → 兼容性**。请选择实际 profile,不默认使用 desktop;agent 可调用 `compat_check`。
|
|
20
22
|
|
|
21
|
-
|
|
23
|
+
面板提供搜索/组合筛选、折叠发现、完整报告预览/显式复制、基线新增风险及“下一步核实”。安装/loader 事件和5秒巡检触发后台刷新,保留筛选与旧报告,失败显示原因。报告显示目标、参考目录版本/摘要和验收范围;重复插件身份无法判定且不推进基线。绑定探针超过5分钟的未来时钟偏差会被拒绝,保留静态发现及原因。分享前须预览敏感信息,筛选不会删减完整报告。
|
|
22
24
|
|
|
23
25
|
依赖关系区分host/client、必需/可选/子作用域;提供声明仅为候选,路径/环不证明实际故障。人工复核记录单独保存,身份变化后待重审,不隐藏发现或覆盖判定、基线及豁免。健康面板**只导入历史 JSON**,不运行检查,历史通过不证明当前制品正常。步骤见 [使用指南](https://github.com/lcy0121/dsh-plugin-compat-check/blob/main/docs/guide.md)。
|
|
24
26
|
|
package/kernel/lib/version.mjs
CHANGED
package/kernel/rules/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 严重度规则表与维护
|
|
2
2
|
|
|
3
|
-
适用于0.1.
|
|
3
|
+
适用于0.1.6;公开版本以registry和Plan发布记录为准。当前契约见 [Plan](../docs/Plan.md),验证见 [自动统计](../docs/current-state.json)。后半保留2026-10-11旧提取器的依据,历史表不是当前覆盖率或运行时真值。
|
|
4
4
|
|
|
5
5
|
## 文件与运行时消费者
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-compat-check",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Checks installed DSH plugins
|
|
3
|
+
"version": "0.1.6",
|
|
4
|
+
"description": "Checks installed DSH plugins and previews upgrade risks, with source locations, dependency views, review records and evidence limits. Includes a panel and agent tool.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "index.js",
|
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
"THIRD_PARTY_NOTICES.md"
|
|
34
34
|
],
|
|
35
35
|
"engines": {
|
|
36
|
-
"node": "^22.19.0 || >=24"
|
|
36
|
+
"node": "^22.19.0 || >=24",
|
|
37
|
+
"dsh": ">=0.2.0-rc.2"
|
|
37
38
|
},
|
|
38
39
|
"scripts": {
|
|
39
40
|
"prepack": "node scripts/stage-skill.mjs && node scripts/stage-contract.mjs && node scripts/stage-kernel.mjs",
|
|
@@ -50,7 +51,10 @@
|
|
|
50
51
|
"compatibility",
|
|
51
52
|
"health-check",
|
|
52
53
|
"cordis",
|
|
53
|
-
"agent-skills"
|
|
54
|
+
"agent-skills",
|
|
55
|
+
"static-analysis",
|
|
56
|
+
"dependency-analysis",
|
|
57
|
+
"upgrade"
|
|
54
58
|
],
|
|
55
59
|
"repository": {
|
|
56
60
|
"type": "git",
|
package/skill/SKILL.md
CHANGED
|
@@ -91,7 +91,7 @@ report_status=$?
|
|
|
91
91
|
|
|
92
92
|
## 输出怎么读
|
|
93
93
|
|
|
94
|
-
下面是当前仓库源码对固定合成夹具的可复现输出,运行命令为 `node bin/compat-check.mjs --nm test/fixtures/labels --dsh-version 0.2.1-rc.2 --no-baseline`,预期退出2。它用于解释报告字段,不代表真实插件业务验收;当前版本为0.1.
|
|
94
|
+
下面是当前仓库源码对固定合成夹具的可复现输出,运行命令为 `node bin/compat-check.mjs --nm test/fixtures/labels --dsh-version 0.2.1-rc.2 --no-baseline`,预期退出2。它用于解释报告字段,不代表真实插件业务验收;当前版本为0.1.6,历史输出不追改。
|
|
95
95
|
|
|
96
96
|
```text
|
|
97
97
|
插件数: 4 有运行时面: 否(方法级结论降为「疑似」)
|
|
@@ -99,7 +99,7 @@ report_status=$?
|
|
|
99
99
|
参考目录:0.2.1-rc.2 · SHA-256:90b4ae484ebc6660c53e5c9ad14ba657581534b30e8222c636c759e19587f743
|
|
100
100
|
目录认证范围:0.2.1-rc.2;仅核验内置目录字节及对应精确版本的集成;不代表业务验收或运行时观测。
|
|
101
101
|
|
|
102
|
-
工具版本: 0.1.
|
|
102
|
+
工具版本: 0.1.6 证据覆盖有限: 4 个插件
|
|
103
103
|
结论: 可用 2 部分可用 1 不兼容 1 (其中 2 个「可用」没有已验证调用,不等于业务通过)
|
|
104
104
|
|
|
105
105
|
不兼容 @label/broken-client@1.0.0
|