upstream-radar 0.43.1 → 0.43.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.zh-CN.md → README-zh-CN.md} +1 -1
- package/README.md +2 -2
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.js +1 -1
- package/docs/README.zh-CN.md +19 -19
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<p align="center"><strong>Know which DeepSeek Harness plugins break after every release—before users do.</strong></p>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
|
-
English · <a href="README
|
|
6
|
+
English · <a href="README-zh-CN.md">简体中文</a>
|
|
7
7
|
</p>
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
@@ -88,7 +88,7 @@ Four newer reports are still open and being watched:
|
|
|
88
88
|
## Run one check
|
|
89
89
|
|
|
90
90
|
```bash
|
|
91
|
-
npx --yes upstream-radar@0.43.
|
|
91
|
+
npx --yes upstream-radar@0.43.2 review dsh-plugin \
|
|
92
92
|
<package>@<version> \
|
|
93
93
|
--dsh-version <dsh-version>
|
|
94
94
|
```
|
package/dist/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const TOOL_VERSION = "0.43.
|
|
1
|
+
export declare const TOOL_VERSION = "0.43.2";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/src/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const TOOL_VERSION = '0.43.
|
|
1
|
+
export const TOOL_VERSION = '0.43.2';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/docs/README.zh-CN.md
CHANGED
|
@@ -98,7 +98,7 @@ FIRST EPSS estimated exploitation probability: 97.2% (percentile 100.0%)
|
|
|
98
98
|
想立即检查一个真实发布的 DSH 插件,可以在空目录直接运行:
|
|
99
99
|
|
|
100
100
|
```bash
|
|
101
|
-
npx --yes upstream-radar@0.43.
|
|
101
|
+
npx --yes upstream-radar@0.43.2 inspect dsh-feishu-bot@0.15.8 --deep
|
|
102
102
|
```
|
|
103
103
|
|
|
104
104
|
它会直接输出简短的准入结论、覆盖情况、依赖数量、漏洞数量和下一步,不需要先
|
|
@@ -111,7 +111,7 @@ npx --yes upstream-radar@0.43.1 inspect dsh-feishu-bot@0.15.8 --deep
|
|
|
111
111
|
npm 解析环境中目前无法建立完整依赖图:
|
|
112
112
|
|
|
113
113
|
```bash
|
|
114
|
-
npx --yes upstream-radar@0.43.
|
|
114
|
+
npx --yes upstream-radar@0.43.2 inspect \
|
|
115
115
|
@sanqi-normal/dsh-webui-market-plugin@0.5.4 \
|
|
116
116
|
--deep --fail-on never
|
|
117
117
|
```
|
|
@@ -337,9 +337,9 @@ npm: dsh-feishu-bot@0.15.8
|
|
|
337
337
|
会继续显示为 `incomplete`,不会被当成已经确认的故障。
|
|
338
338
|
|
|
339
339
|
```bash
|
|
340
|
-
npx --yes upstream-radar@0.43.
|
|
340
|
+
npx --yes upstream-radar@0.43.2 graph reverse ./plugin-reports \
|
|
341
341
|
--output ./reverse-dependency-index.json
|
|
342
|
-
npx --yes upstream-radar@0.43.
|
|
342
|
+
npx --yes upstream-radar@0.43.2 observe ./targets.yml \
|
|
343
343
|
--reverse-index ./reverse-dependency-index.json \
|
|
344
344
|
--state ./observations.json --report ./upstream-radar-observer.md
|
|
345
345
|
```
|
|
@@ -377,7 +377,7 @@ Radar 会在三层目录内自动找到它;npm 名称和源码 manifest 不一
|
|
|
377
377
|
想明确选择锁文件时再加 `--lockfile`:
|
|
378
378
|
|
|
379
379
|
```bash
|
|
380
|
-
npx --yes upstream-radar@0.43.
|
|
380
|
+
npx --yes upstream-radar@0.43.2 observe \
|
|
381
381
|
https://github.com/PlutoKeating/dsh-lark-bot \
|
|
382
382
|
--state ./observations.json --report ./upstream-radar-observer.md
|
|
383
383
|
```
|
|
@@ -400,7 +400,7 @@ workspace 边保留为未解析证据;不会安装或启动 DSH。
|
|
|
400
400
|
会额外指定 `--package`:
|
|
401
401
|
|
|
402
402
|
```bash
|
|
403
|
-
npx --yes upstream-radar@0.43.
|
|
403
|
+
npx --yes upstream-radar@0.43.2 observe \
|
|
404
404
|
https://github.com/PlutoKeating/dsh-lark-bot \
|
|
405
405
|
--package dsh-feishu-bot \
|
|
406
406
|
--lockfile pnpm-lock.yaml --lockfile-type pnpm \
|
|
@@ -679,7 +679,7 @@ cd my-dsh-plugin
|
|
|
679
679
|
pnpm install --ignore-scripts
|
|
680
680
|
|
|
681
681
|
# 把插件放进 DSH profile 前,先读取精确依赖图。
|
|
682
|
-
pnpm dlx --package=upstream-radar@0.43.
|
|
682
|
+
pnpm dlx --package=upstream-radar@0.43.2 upstream-radar graph pnpm-lock pnpm-lock.yaml --json
|
|
683
683
|
```
|
|
684
684
|
|
|
685
685
|
这棵图会保留精确的 DSH 包版本,也会把未解析的可选 peer 明确显示出来;它不会加载生成的插件,也不会运行 lifecycle script。审查后,把下面这个完整 workflow 复制到 `.github/workflows/upstream-radar.yml`:
|
|
@@ -701,7 +701,7 @@ jobs:
|
|
|
701
701
|
runs-on: ubuntu-latest
|
|
702
702
|
steps:
|
|
703
703
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
704
|
-
- uses: MicroMilo/upstream-radar@v0.43.
|
|
704
|
+
- uses: MicroMilo/upstream-radar@v0.43.2
|
|
705
705
|
with:
|
|
706
706
|
fail-on: high
|
|
707
707
|
fail-on-compatibility: breaking
|
|
@@ -712,7 +712,7 @@ Action 会自动识别唯一的 `pnpm-lock.yaml`,检查同一棵精确依赖
|
|
|
712
712
|
也可以直接检查一个真实发布的 DSH 包:
|
|
713
713
|
|
|
714
714
|
```bash
|
|
715
|
-
npx --yes upstream-radar@0.43.
|
|
715
|
+
npx --yes upstream-radar@0.43.2 inspect dsh-feishu-bot@0.15.8 --deep
|
|
716
716
|
```
|
|
717
717
|
|
|
718
718
|
这次检查的结论是 `REVIEW`:registry 完整性、签名、provenance 和 89 个已解析包都
|
|
@@ -725,7 +725,7 @@ npx --yes upstream-radar@0.43.1 inspect dsh-feishu-bot@0.15.8 --deep
|
|
|
725
725
|
如果不想分别执行 `inspect`、打包和 `probe`,可以用一个命令完成一次 DSH 插件审查:
|
|
726
726
|
|
|
727
727
|
```bash
|
|
728
|
-
pnpm dlx --package=upstream-radar@0.43.
|
|
728
|
+
pnpm dlx --package=upstream-radar@0.43.2 upstream-radar review dsh-plugin \
|
|
729
729
|
dsh-cloudflare-browser-run@0.1.1 \
|
|
730
730
|
--dsh-version 0.1.0-rc.6,0.1.0-rc.7
|
|
731
731
|
```
|
|
@@ -891,7 +891,7 @@ pnpm run try:dsh
|
|
|
891
891
|
在把项目接入兼容性门禁前,可以先运行离线规则 benchmark:
|
|
892
892
|
|
|
893
893
|
```bash
|
|
894
|
-
pnpm dlx --package=upstream-radar@0.43.
|
|
894
|
+
pnpm dlx --package=upstream-radar@0.43.2 upstream-radar benchmark compatibility
|
|
895
895
|
```
|
|
896
896
|
|
|
897
897
|
它覆盖六类契约:安全补丁、只需要项目分析的变化、不兼容的 DSH peer、发布者明确声明 breaking、候选传递依赖漏洞,以及候选依赖图不完整。这个命令不会联网、安装包、加载插件或启动 DSH;它验证的是 Radar 的确定性规则以及 `breaking`/`any` 门禁行为,不是运行时兼容性证明。
|
|
@@ -904,7 +904,7 @@ pnpm dlx --package=upstream-radar@0.43.1 upstream-radar benchmark compatibility
|
|
|
904
904
|
# 打包精确版本,并明确不运行它的 lifecycle script。
|
|
905
905
|
npm pack --ignore-scripts dsh-plugin@1.2.3
|
|
906
906
|
|
|
907
|
-
pnpm dlx --package=upstream-radar@0.43.
|
|
907
|
+
pnpm dlx --package=upstream-radar@0.43.2 upstream-radar probe dsh-load \
|
|
908
908
|
./dsh-plugin-1.2.3.tgz \
|
|
909
909
|
--dsh-version 0.1.0-rc.6
|
|
910
910
|
```
|
|
@@ -930,7 +930,7 @@ pnpm run showcase:dsh-probe
|
|
|
930
930
|
如果要比较多个 DSH 版本,可以使用矩阵入口:
|
|
931
931
|
|
|
932
932
|
```bash
|
|
933
|
-
pnpm dlx --package=upstream-radar@0.43.
|
|
933
|
+
pnpm dlx --package=upstream-radar@0.43.2 upstream-radar probe dsh-matrix \
|
|
934
934
|
./dsh-plugin-1.2.3.tgz \
|
|
935
935
|
--dsh-version 0.1.0-rc.3 \
|
|
936
936
|
--dsh-version 0.1.0-rc.6 \
|
|
@@ -948,7 +948,7 @@ JSON 结果结构见[矩阵结果 schema](../schemas/dsh-load-matrix.schema.json
|
|
|
948
948
|
```yaml
|
|
949
949
|
steps:
|
|
950
950
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
951
|
-
- uses: MicroMilo/upstream-radar@v0.43.
|
|
951
|
+
- uses: MicroMilo/upstream-radar@v0.43.2
|
|
952
952
|
with:
|
|
953
953
|
fail-on: high
|
|
954
954
|
# 可选:把确定性的 DSH/插件兼容性破坏也作为 CI 失败条件
|
|
@@ -962,7 +962,7 @@ steps:
|
|
|
962
962
|
如果仓库还没有提交 Radar 配置,最短接入方式是省略 `config`、`pnpm-lock` 和 `npm-lock`。checkout 之后,Action 会自动使用唯一存在的 `pnpm-lock.yaml` 或 `package-lock.json`,生成临时的审查清单,再执行同一个 frozen 检查:
|
|
963
963
|
|
|
964
964
|
```yaml
|
|
965
|
-
- uses: MicroMilo/upstream-radar@v0.43.
|
|
965
|
+
- uses: MicroMilo/upstream-radar@v0.43.2
|
|
966
966
|
with:
|
|
967
967
|
fail-on: high
|
|
968
968
|
```
|
|
@@ -972,7 +972,7 @@ steps:
|
|
|
972
972
|
如果要在插件进入 DSH 前审查精确发布物,可以增加 `inspect-package`:
|
|
973
973
|
|
|
974
974
|
```yaml
|
|
975
|
-
- uses: MicroMilo/upstream-radar@v0.43.
|
|
975
|
+
- uses: MicroMilo/upstream-radar@v0.43.2
|
|
976
976
|
with:
|
|
977
977
|
inspect-package: dsh-cloudflare-browser-run@0.1.1
|
|
978
978
|
# review 是安全默认值;只有允许覆盖不完整时才使用 block
|
|
@@ -984,7 +984,7 @@ steps:
|
|
|
984
984
|
如果仓库只有 pnpm 锁文件,还没有提交 Radar 配置,可以让 Action 在同一个 job 中生成配置;可直接复制[pnpm workflow 示例](../examples/github-actions/upstream-radar-pnpm.yml):
|
|
985
985
|
|
|
986
986
|
```yaml
|
|
987
|
-
- uses: MicroMilo/upstream-radar@v0.43.
|
|
987
|
+
- uses: MicroMilo/upstream-radar@v0.43.2
|
|
988
988
|
with:
|
|
989
989
|
pnpm-lock: pnpm-lock.yaml
|
|
990
990
|
fail-on: high
|
|
@@ -998,7 +998,7 @@ npm 项目可以改用 `npm-lock: package-lock.json`;`pnpm-lock` 和 `npm-lock
|
|
|
998
998
|
调用方需要先 checkout 仓库。这个 Action 不会安装项目依赖,也不会执行项目的 lifecycle script;它只读取提交到仓库的依赖图并查询配置中的上游漏洞源。如果需要完全显式的底层命令,等价写法是:
|
|
999
999
|
|
|
1000
1000
|
```bash
|
|
1001
|
-
pnpm dlx --package=upstream-radar@0.43.
|
|
1001
|
+
pnpm dlx --package=upstream-radar@0.43.2 upstream-radar radar check \
|
|
1002
1002
|
./upstream-radar.config.json --frozen --state :memory: --fail-on high \
|
|
1003
1003
|
--fail-on-compatibility breaking --json
|
|
1004
1004
|
```
|
|
@@ -1006,7 +1006,7 @@ pnpm dlx --package=upstream-radar@0.43.1 upstream-radar radar check \
|
|
|
1006
1006
|
如果还要检查一个已发布插件能否跨多个 DSH 版本加载,可以增加三个 input:
|
|
1007
1007
|
|
|
1008
1008
|
```yaml
|
|
1009
|
-
- uses: MicroMilo/upstream-radar@v0.43.
|
|
1009
|
+
- uses: MicroMilo/upstream-radar@v0.43.2
|
|
1010
1010
|
id: radar
|
|
1011
1011
|
with:
|
|
1012
1012
|
config: upstream-radar.config.json
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "upstream-radar",
|
|
3
|
-
"version": "0.43.
|
|
3
|
+
"version": "0.43.2",
|
|
4
4
|
"description": "Always-on dependency and compatibility monitoring for DeepSeek Harness plugins, including exact paths, upstream changes, and isolated install/load evidence.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"docs/assets/upstream-radar-hero.jpg",
|
|
64
64
|
"docs/assets/upstream-radar-hero-mobile.jpg",
|
|
65
65
|
"README.md",
|
|
66
|
-
"README
|
|
66
|
+
"README-zh-CN.md",
|
|
67
67
|
"docs/README.zh-CN.md",
|
|
68
68
|
"examples/cases/dsh-web-ui-issue-71",
|
|
69
69
|
"LICENSE"
|