dsh-plugin-rea 2.0.0 → 2.0.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/CHANGELOG.md +15 -0
- package/README.md +22 -6
- package/README.zh-CN.md +21 -5
- package/docs/bundle-design.md +6 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
本插件遵循语义化版本。版本号变化说明「配置组合」这层的变化,与 REA 自身的版本无关。
|
|
4
4
|
|
|
5
|
+
## 2.0.2 — 2026-10-15
|
|
6
|
+
|
|
7
|
+
**仅文档,无行为变更。**
|
|
8
|
+
|
|
9
|
+
- 两份 README 的**末尾**(许可证之前)新增一节,说明**什么时候该用 1.x 线**以及它的安装方式
|
|
10
|
+
(`dsh-plugin-rea@1.0.6` 或 `github:czcdr/dsh-plugin-rea#v1.0.6`)—— 此前 1.x 只出现在开头的版本说明与升级章节里。
|
|
11
|
+
## 2.0.1 — 2026-10-15
|
|
12
|
+
|
|
13
|
+
**仅文档与版式,无行为变更。**
|
|
14
|
+
|
|
15
|
+
- 两份 README 的**语言行正下方**现在先说明「这是哪个版本、1.x 与 2.x 各做什么」——此前版本说明排在
|
|
16
|
+
首屏那张大截图之后,npm 页面首屏看不到,容易被误判成「README 没改」;对比表与升级章节位置不变。
|
|
17
|
+
- `docs/bundle-design.md` 的措辞跟上「`main` 已经是一体包线」这一事实(原先写的是「本分支新增、
|
|
18
|
+
`main` 不变」)。
|
|
19
|
+
- 为什么纯文档也发一个补丁版:npm 的包页渲染的是**发布进 tarball 的 README**,不重新发布就更新不了首屏。
|
|
5
20
|
## 2.0.0 — 2026-10-15
|
|
6
21
|
|
|
7
22
|
**一体包线的首个正式版**(此前的 `2.0.0-bundle.1` / `2.0.0-bundle.2` 是它的两个预发布)。
|
package/README.md
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
**English** · [简体中文](README.zh-CN.md)
|
|
6
6
|
|
|
7
|
+
> **Which version is this? 2.x — and `main` is it.** 2.x provisions the runtime itself (Node, the REA CLI, a
|
|
8
|
+
> JDK, Ghidra) and then wires the row: install the plugin, run `scripts/setup.mjs` once, restart dsh.
|
|
9
|
+
> **1.x** is the older configuration-only adapter — it expects `rea` on PATH and Ghidra installed by you —
|
|
10
|
+
> kept on the [`v1` branch](https://github.com/czcdr/dsh-plugin-rea/tree/v1) and on npm as `dsh-plugin-rea@1.0.6`.
|
|
11
|
+
> Full comparison: [Two lines: 1.x and 2.x](#two-lines-1x-and-2x) · upgrading: [Upgrading from 1.x](#upgrading-from-1x).
|
|
12
|
+
|
|
7
13
|
Brings the upstream **[REA — Reverse Engineer Anything](https://github.com/morluto/rea)** MCP server into
|
|
8
14
|
**DeepSeek Harness** (dsh), so its tools show up in a session as `mcp__rea__*`.
|
|
9
15
|
|
|
10
16
|

|
|
11
17
|
|
|
12
|
-
> **This is the 2.x line, and `main` is it.** The all-in-one variant: it provisions the runtime (Node, the REA
|
|
13
|
-
> CLI, a JDK, Ghidra) and then wires the row itself. The original configuration-only adapter — 1.x, which
|
|
14
|
-
> assumed you had installed Node, `rea-agents` and Ghidra yourself — is preserved on the
|
|
15
|
-
> [`v1` branch](https://github.com/czcdr/dsh-plugin-rea/tree/v1) and on npm as `dsh-plugin-rea@1.0.6`.
|
|
16
|
-
> The two lines are compared in [Two lines: 1.x and 2.x](#two-lines-1x-and-2x).
|
|
17
|
-
|
|
18
18
|
## What this is
|
|
19
19
|
|
|
20
20
|
A **Cordis bundle with a provisioning layer**. `package.json` declares `dsh.bundle.patch`, and that patch
|
|
@@ -248,6 +248,22 @@ back on the next start.
|
|
|
248
248
|
|
|
249
249
|
`check-updates.ps1` (Windows PowerShell) reports the state of all of these at once.
|
|
250
250
|
|
|
251
|
+
## Still prefer the configuration-only 1.x line?
|
|
252
|
+
|
|
253
|
+
1.x is the adapter **without** provisioning: one row that launches `rea mcp` from PATH and expects Ghidra to be
|
|
254
|
+
installed by you. It is the right choice when you already manage REA and Ghidra yourself, when you do not want
|
|
255
|
+
the plugin fetching anything, or when you want the row to keep pointing at your own `rea` binary:
|
|
256
|
+
|
|
257
|
+
```
|
|
258
|
+
dsh plugin --profile <profile> add dsh-plugin-rea@1.0.6
|
|
259
|
+
# or pin the branch instead of the version:
|
|
260
|
+
dsh plugin --profile <profile> add github:czcdr/dsh-plugin-rea#v1.0.6
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
Both lines publish the same patch shape and the same `mcp__rea__*` surface. 1.x is maintained on the
|
|
264
|
+
[`v1` branch](https://github.com/czcdr/dsh-plugin-rea/tree/v1), where its own install notes live (Node on REA's
|
|
265
|
+
engines, `npm i -g rea-agents`, Ghidra 12.1.x for native analysis).
|
|
266
|
+
|
|
251
267
|
## License
|
|
252
268
|
|
|
253
269
|
MIT (this adapter). REA is MIT and owned by its authors; Ghidra is Apache-2.0 and owned by the NSA; Temurin
|
package/README.zh-CN.md
CHANGED
|
@@ -4,16 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
[English](README.md) · **简体中文**
|
|
6
6
|
|
|
7
|
+
> **这是哪个版本?2.x —— 而 `main` 就是它。** 2.x 自己准备运行时(Node、REA CLI、JDK、Ghidra)再把那一行接好:
|
|
8
|
+
> 装插件 → 跑一次 `scripts/setup.mjs` → 重启 dsh。
|
|
9
|
+
> **1.x** 是更早的纯配置适配器 —— 它假设 `rea` 在 PATH 上、Ghidra 由你自己装好 —— 保留在
|
|
10
|
+
> [`v1` 分支](https://github.com/czcdr/dsh-plugin-rea/tree/v1),npm 上仍是 `dsh-plugin-rea@1.0.6`。
|
|
11
|
+
> 完整对比:[两条线:1.x 与 2.x](#两条线1x-与-2x) · 升级:[从 1.x 升级](#从-1x-升级)。
|
|
12
|
+
|
|
7
13
|
把上游 **[REA — Reverse Engineer Anything](https://github.com/morluto/rea)** 的 MCP 服务接入
|
|
8
14
|
**DeepSeek Harness**(dsh),让它的工具在会话里以 `mcp__rea__*` 出现。
|
|
9
15
|
|
|
10
16
|

|
|
11
17
|
|
|
12
|
-
> **这是 2.x 线,而 `main` 就是它。** 一体包版本:它会自己准备运行时(Node、REA CLI、JDK、Ghidra),
|
|
13
|
-
> 再把那一行接好。原本的纯配置适配器(1.x —— 假设 Node、`rea-agents`、Ghidra 都是你自己装好的)保留在
|
|
14
|
-
> [`v1` 分支](https://github.com/czcdr/dsh-plugin-rea/tree/v1),npm 上仍是 `dsh-plugin-rea@1.0.6`。
|
|
15
|
-
> 两条线的对比见[两条线:1.x 与 2.x](#两条线1x-与-2x)。
|
|
16
|
-
|
|
17
18
|
## 这是什么
|
|
18
19
|
|
|
19
20
|
一个**带供给层的 Cordis bundle**。`package.json` 声明 `dsh.bundle.patch`,该 patch 插入一行官方 MCP 客户端
|
|
@@ -232,6 +233,21 @@ node scripts/setup.mjs # 或:powershell -File scripts\rea-bundle-boot
|
|
|
232
233
|
|
|
233
234
|
`check-updates.ps1`(Windows PowerShell)会一次性报告以上各项的状态。
|
|
234
235
|
|
|
236
|
+
## 还想用纯配置的 1.x 线?
|
|
237
|
+
|
|
238
|
+
1.x 是**不带供给**的适配器:一行配置,从 PATH 上启动 `rea mcp`,并假设 Ghidra 由你自己装好。这些情况它是更合适的选择 ——
|
|
239
|
+
你已经自己管理 REA 与 Ghidra、不希望插件去下载任何东西、或者想让那一行继续指向你自己的 `rea`:
|
|
240
|
+
|
|
241
|
+
```
|
|
242
|
+
dsh plugin --profile <profile> add dsh-plugin-rea@1.0.6
|
|
243
|
+
# 或钉住分支而不是版本号:
|
|
244
|
+
dsh plugin --profile <profile> add github:czcdr/dsh-plugin-rea#v1.0.6
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
两条线发布的 patch 形态与 `mcp__rea__*` 工具面完全相同。1.x 维护在
|
|
248
|
+
[`v1` 分支](https://github.com/czcdr/dsh-plugin-rea/tree/v1),它自己的安装说明也在那里(Node 满足 REA engines、
|
|
249
|
+
`npm i -g rea-agents`、原生分析需要 Ghidra 12.1.x)。
|
|
250
|
+
|
|
235
251
|
## 许可证
|
|
236
252
|
|
|
237
253
|
MIT(本适配器)。REA 是 MIT、归其作者;Ghidra 是 Apache-2.0、归 NSA;Temurin 是 GPLv2+CE;Node.js 是
|
package/docs/bundle-design.md
CHANGED
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
Goal: a fresh machine installs **one DSH plugin** and gets a working `mcp__rea__*`
|
|
4
4
|
tool surface, without first installing Node, REA, a JDK, or Ghidra by hand.
|
|
5
5
|
|
|
6
|
-
`main`
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
`main` **is** this variant: the self-provisioning one-plugin bundle. The earlier
|
|
7
|
+
**config-only adapter** (a single MCP row pointing at a `rea` the user installed
|
|
8
|
+
themselves) is preserved on the [`v1` branch](https://github.com/czcdr/dsh-plugin-rea/tree/v1)
|
|
9
|
+
and on npm as `dsh-plugin-rea@1.0.6`; nothing here changes that line.
|
|
9
10
|
|
|
10
11
|
---
|
|
11
12
|
|
|
@@ -52,7 +53,7 @@ Three responsibilities, kept strictly apart:
|
|
|
52
53
|
the component manifest, downloads what is missing into a cache, verifies
|
|
53
54
|
checksums, unpacks, runs the readiness probe, and writes `bundle.json`.
|
|
54
55
|
Idempotent and re-runnable; `--reuse` adopts pre-existing installs.
|
|
55
|
-
3. **Patch (wiring, published).** `cordis.patch.yml`
|
|
56
|
+
3. **Patch (wiring, published).** `cordis.patch.yml` on `main`, carrying
|
|
56
57
|
**no machine path**: the row points at `<plugin>/bin/rea-shim.mjs` and the
|
|
57
58
|
shim is responsible for the rest.
|
|
58
59
|
|
|
@@ -173,7 +174,7 @@ Ghidra itself is **not** redistributed inside the plugin package: the release is
|
|
|
173
174
|
~570 MB, which no npm package can carry. It is fetched from the official release
|
|
174
175
|
and checksum-verified, or adopted from an existing install with `--reuse`.
|
|
175
176
|
|
|
176
|
-
## 8. Honest limits of this
|
|
177
|
+
## 8. Honest limits of this approach
|
|
177
178
|
|
|
178
179
|
- npm's per-package limits (unpacked/compressed size) rule out shipping the JDK
|
|
179
180
|
and Ghidra inside the tarball. "One plugin install" therefore means *one
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-rea",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "One-plugin bundle: provisions Node/REA/JDK/Ghidra for you, then registers the upstream REA MCP server as mcp__rea__* tools. · 一体包:自动准备 Node/REA/JDK/Ghidra,并把上游 REA 的 MCP 服务接入 DeepSeek Harness。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|