dsh-plugin-rea 2.0.2 → 2.0.4
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 +121 -0
- package/README.md +50 -7
- package/README.zh-CN.md +45 -6
- package/assets/make-screenshots.ps1 +2 -2
- package/assets/screenshot-1.png +0 -0
- package/bin/rea-shim.mjs +169 -17
- package/check-updates.ps1 +90 -15
- package/docs/bundle-design.md +6 -5
- package/manifest/bundle.manifest.json +48 -41
- package/package.json +2 -3
- package/scripts/audit-manifest.mjs +98 -0
- package/scripts/rea-bundle-bootstrap.ps1 +37 -10
- package/scripts/setup.mjs +352 -87
- package/scripts/setup.test.mjs +756 -4
- package/examples/cordis.patch.posix.yml +0 -18
- package/examples/cordis.patch.with-env.yml +0 -42
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# macOS / Linux variant of the row.
|
|
2
|
-
#
|
|
3
|
-
# `npm i -g rea-agents` installs a `rea` executable on PATH, so no shell wrapper
|
|
4
|
-
# is needed here (on Windows the shim is a .cmd/.ps1 file, which is why the
|
|
5
|
-
# default cordis.patch.yml goes through cmd.exe).
|
|
6
|
-
#
|
|
7
|
-
# Copy the block below into cordis.patch.yml, replacing the Windows row.
|
|
8
|
-
|
|
9
|
-
- insert:
|
|
10
|
-
- id: mcp-rea
|
|
11
|
-
name: '@deepseek-ai/dsh-mcp-client'
|
|
12
|
-
config:
|
|
13
|
-
serverName: rea
|
|
14
|
-
transport: stdio
|
|
15
|
-
command: 'rea'
|
|
16
|
-
args:
|
|
17
|
-
- 'mcp'
|
|
18
|
-
failOnStartupError: false
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
# Windows variant that also pins the analysis-engine environment for the MCP child.
|
|
2
|
-
#
|
|
3
|
-
# Use this when GHIDRA_INSTALL_DIR is NOT set as an OS-level environment variable
|
|
4
|
-
# the harness can inherit — for example after setting it up just now, without
|
|
5
|
-
# restarting the harness.
|
|
6
|
-
#
|
|
7
|
-
# The value below is a placeholder in angle brackets, not a real directory:
|
|
8
|
-
# replace it with your own, or use the `!!js` form to read the variable the
|
|
9
|
-
# harness already has. REA reads only GHIDRA_INSTALL_DIR; `java` comes from PATH
|
|
10
|
-
# or JAVA_HOME.
|
|
11
|
-
#
|
|
12
|
-
# Copy the block into cordis.patch.yml, or — better — keep it out of the plugin
|
|
13
|
-
# entirely and override the row from your profile's own cordis.patch.yml:
|
|
14
|
-
#
|
|
15
|
-
# - id: mcp-rea
|
|
16
|
-
# config:
|
|
17
|
-
# env:
|
|
18
|
-
# GHIDRA_INSTALL_DIR: '<your Ghidra directory>'
|
|
19
|
-
#
|
|
20
|
-
# A profile-level override is machine-local and is never published.
|
|
21
|
-
|
|
22
|
-
- insert:
|
|
23
|
-
- id: mcp-rea
|
|
24
|
-
name: '@deepseek-ai/dsh-mcp-client'
|
|
25
|
-
config:
|
|
26
|
-
serverName: rea
|
|
27
|
-
transport: stdio
|
|
28
|
-
command: 'cmd.exe'
|
|
29
|
-
args:
|
|
30
|
-
- '/c'
|
|
31
|
-
- 'rea'
|
|
32
|
-
- 'mcp'
|
|
33
|
-
env:
|
|
34
|
-
# Replace with your own Ghidra 12.1.x extraction directory.
|
|
35
|
-
# Leaving the placeholder in place is harmless: REA then reports the
|
|
36
|
-
# native engine as unavailable, exactly as when the variable is unset.
|
|
37
|
-
GHIDRA_INSTALL_DIR: '<your Ghidra 12.1.x extraction directory>'
|
|
38
|
-
# Or read it from the environment the harness already has — the
|
|
39
|
-
# entry-list dialect evaluates `!!js` expressions at activation:
|
|
40
|
-
# GHIDRA_INSTALL_DIR: !!js process.env.GHIDRA_INSTALL_DIR
|
|
41
|
-
# JAVA_HOME: '<your JDK 21 or newer home>' # only when java is not on PATH
|
|
42
|
-
failOnStartupError: false
|