rea-shim 0.1.0 → 0.1.1

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 CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.1.1] - 2026-10-21
9
+
10
+ ### Fixed
11
+
12
+ - README/npm-page patch.
13
+
8
14
  ## [0.1.0] - 2026-10-18
9
15
 
10
16
  ### Added
package/README.md CHANGED
@@ -1,6 +1,5 @@
1
- # rea-shim
2
-
3
- **Give your coding agent reverse-engineering tools with a one-line install.**
1
+ <h1 align="center">rea-shim</h1>
2
+ <p align="center"><strong>Give your coding agent reverse-engineering tools with a one-line install.</strong></p>
4
3
 
5
4
  Unofficial, personal-use wrapper around [rea](https://github.com/morluto/rea) by its original authors. It ships no upstream code: it resolves your JDK and Ghidra installs, then serves upstream `rea-agents` over stdio at run time.
6
5
 
@@ -72,6 +71,22 @@ When a dependency is missing the shim refuses with exit 2 and the exact fix: poi
72
71
  - Ghidra discovery with the same shape: the override first, then existing installs; `--doctor` prints the dir and the source.
73
72
  - A faithful child environment: `GHIDRA_INSTALL_DIR`, `JAVA_HOME`, the JDK `bin` first on `PATH`, and a 1500000 ms Ghidra startup timeout; the child exit code is forwarded.
74
73
 
74
+ ## Commands
75
+
76
+ You run the shim with no arguments to serve, or with one flag:
77
+
78
+ - `(no args)` — resolve your JDK and Ghidra, then serve upstream over stdio. This is the default run path.
79
+ - `--doctor` — print the JDK home and java major, the Ghidra dir, the upstream version, and the exact child command, then exit 0. Default: off, you pass it per run.
80
+ - `--version` — print the shim version, then exit 0. Default: off, you pass it per run.
81
+ - `--print-config` — print the opencode.jsonc block for this machine, then exit 0. Default: off, you pass it per run.
82
+ - `--help, -h` — print usage, then exit 0. Default: off, you pass it per run.
83
+
84
+ You override discovery with three optional env vars, all unset by default:
85
+
86
+ - `REA_SHIM_JDK_HOME` — pin the JDK home, must be java 21 or newer. Default: unset, the highest discovered JDK 21 or newer wins.
87
+ - `REA_SHIM_GHIDRA_DIR` — pin the Ghidra install dir. Default: unset, the discovered install wins.
88
+ - `REA_SHIM_AGENTS_VERSION` — pin `rea-agents@<v>` instead of `@latest`. Default: unset, `latest` wins.
89
+
75
90
  ## Requirements
76
91
 
77
92
  - Node 22.14 or newer (`engines` in `package.json`; `--doctor` ran on v24.22.0).
@@ -84,7 +99,16 @@ When a dependency is missing the shim refuses with exit 2 and the exact fix: poi
84
99
 
85
100
  - Repo: https://github.com/nathwn12/rea-shim
86
101
  - Issues: https://github.com/nathwn12/rea-shim/issues
102
+ - Releases: https://github.com/nathwn12/rea-shim/releases
87
103
  - Upstream: https://github.com/morluto/rea
88
104
  - Upstream package: https://www.npmjs.com/package/rea-agents
89
- - License: MIT, see [LICENSE](LICENSE)
90
105
  - Docs: [publishing](docs/PUBLISHING.md)
106
+ - License: MIT, see [LICENSE](LICENSE)
107
+
108
+ <!-- nathwn12 house footer: identical in every repo. Do not edit. -->
109
+ <p align="center">
110
+ <a href="https://github.com/nathwn12"><img src="assets/signature.svg" width="96" alt="nathwn12" /></a>
111
+ </p>
112
+ <p align="center">
113
+ <sub>Built by <a href="https://github.com/nathwn12">nathwn12</a> · <a href="https://github.com/nathwn12?tab=repositories">All projects</a></sub>
114
+ </p>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rea-shim",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Unofficial personal-use one-line MCP launcher for rea: resolves a JDK 21+ and Ghidra, then serves upstream rea-agents over stdio at run time. Ships no upstream code. All credit to the original rea authors.",
5
5
  "license": "MIT",
6
6
  "repository": {