Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion reagraph/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def build_parser() -> argparse.ArgumentParser:
pl.add_argument("--rea-cli-cmd", default=None,
help="analyze via the REA CLI (JSON) instead of MCP -- for large apps that "
"overflow REA's MCP stdio budget. Value is the REA CLI base, e.g. "
"'npx -y rea-agents@latest'")
"'npx -y rea-agents@6.7.0'")
pl.add_argument("--graph", default=DEFAULT_GRAPH)
pl.add_argument("--no-cache", action="store_true", help="always call REA, do not use the cache")
pl.add_argument("--refresh", action="store_true", help="re-analyze and overwrite cached results")
Expand Down
4 changes: 3 additions & 1 deletion reagraph/rea_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@
# prints help and exits, so without it the handshake closes on connect. Verified
# against rea-agents (its ``--help`` lists ``--mcp`` as "Start as MCP stdio
# server"). Override the whole command via the constructor or REAGRAPH_REA_CMD.
DEFAULT_SERVER_CMD = ["npx", "-y", "rea-agents@latest", "--mcp"]
# Pin the version, matching REA_PIN in cli.py (the Docker setup-rea path).
# An unpinned @latest would execute whatever npm serves that day.
DEFAULT_SERVER_CMD = ["npx", "-y", "rea-agents@6.7.0", "--mcp"]

# Default to REA's static JavaScript/Electron analysis tool (needs no Ghidra or
# native disassembly) -- the one the adapter is grounded on (rea_adapter
Expand Down