diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 36bfddcbe..8ea318e19 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,7 +8,6 @@ REA development requires Node.js 24.18.x and npm 11.16.x. Real-Hopper verificati ```bash npm ci -npm run rebuild:native # only when the packaged PTY binary is incompatible npm test ``` @@ -78,8 +77,8 @@ npm publish --access public After npm registry propagation, verify the published CLI and connect the client SDK version pinned in `package.json` to the published server to confirm the canonical tool catalog: ```bash -npx -y rea-agents --help -npx -y rea-agents doctor -npx -y rea-agents setup --yes -npx -y rea-agents mcp +npx -y rea-agents@latest --help +npx -y rea-agents@latest doctor +npx -y rea-agents@latest setup --yes +npx -y rea-agents@latest mcp ``` diff --git a/README.md b/README.md index 092c45cf6..a9c6ea9be 100644 --- a/README.md +++ b/README.md @@ -117,9 +117,9 @@ Review the setup plan, approve it if appropriate, then describe the app or featu ### From Terminal — no installation ```bash -npx -y rea-agents setup -npx -y rea-agents doctor -npx -y rea-agents analyze /Applications/Notes.app +npx -y rea-agents@latest setup +npx -y rea-agents@latest doctor +npx -y rea-agents@latest analyze /Applications/Notes.app ``` Review the setup plan before confirming it. Restart a configured agent so it loads REA. @@ -146,6 +146,11 @@ an unrelated global package. Choose either the no-install commands or the global installation. You do not need both. +`npm install rea-agents` without `--global` installs `rea` only into the +current project's `node_modules/.bin`; it does not add `rea` to your shell +`PATH`. Use the `npx` commands above for one-off runs or `--global` when you +want a shell-visible `rea` command. + ### Requirements - macOS 12 or newer @@ -159,7 +164,7 @@ Deep binary operations use [Hopper](https://www.hopperapp.com/), a separate desk If something is not working, run: ```bash -npx -y rea-agents doctor +npx -y rea-agents@latest doctor ``` `rea doctor --json` is read-only and distinguishes unsupported hosts, missing dependencies, a missing local analysis engine, configuration drift, and healthy checks. Paid-license activation is optional: on Linux, REA runs the supported Hopper demo build on a private Xvfb display and selects Hopper's offered demo mode for each analysis session. @@ -432,7 +437,7 @@ Setup detects Claude Code, Claude Desktop, Codex, Cursor, Gemini CLI, Windsurf, "mcpServers": { "rea": { "command": "npx", - "args": ["-y", "rea-agents", "mcp"] + "args": ["-y", "rea-agents@latest", "mcp"] } } } @@ -473,20 +478,20 @@ The CLI and MCP server use the same application workflows and evidence contracts The agent workflow above is the easiest way to use REA. For a one-off overview from the Terminal: ```bash -npx -y rea-agents analyze /Applications/Notes.app -npx -y rea-agents inspect /Applications/Notes.app -npx -y rea-agents inspect /Applications/Notes.app --detail detailed --limit 20 -npx -y rea-agents search /Applications/Notes.app "offline" -npx -y rea-agents function /Applications/Notes.app 0x1000 -npx -y rea-agents xrefs /Applications/Notes.app 0x1000 -npx -y rea-agents trace /Applications/Notes.app "offline" -npx -y rea-agents compare /absolute/path/to/left-evidence.json /absolute/path/to/right-evidence.json -npx -y rea-agents investigate-versions /path/to/v1 /path/to/v2 /absolute/path/to/evidence/releases.json --yes -npx -y rea-agents capabilities -npx -y rea-agents providers +npx -y rea-agents@latest analyze /Applications/Notes.app +npx -y rea-agents@latest inspect /Applications/Notes.app +npx -y rea-agents@latest inspect /Applications/Notes.app --detail detailed --limit 20 +npx -y rea-agents@latest search /Applications/Notes.app "offline" +npx -y rea-agents@latest function /Applications/Notes.app 0x1000 +npx -y rea-agents@latest xrefs /Applications/Notes.app 0x1000 +npx -y rea-agents@latest trace /Applications/Notes.app "offline" +npx -y rea-agents@latest compare /absolute/path/to/left-evidence.json /absolute/path/to/right-evidence.json +npx -y rea-agents@latest investigate-versions /path/to/v1 /path/to/v2 /absolute/path/to/evidence/releases.json --yes +npx -y rea-agents@latest capabilities +npx -y rea-agents@latest providers ``` -Run `npx -y rea-agents --help` for direct decompilation, bounded search and +Run `npx -y rea-agents@latest --help` for direct decompilation, bounded search and other options. `analyze` and `inspect` share the same overview workflow; `function`, `xrefs`, and `trace` return the same Evidence v2 envelopes as MCP. @@ -588,9 +593,9 @@ first terminal, interaction, exit, filesystem, protocol, process, or shim divergence. See [Process Capture v4](docs/process-capture.md) for scenario fields, command-shim replay, checkpoint triggers, limits, and safety behavior. -If the native PTY backend is unavailable, install Xcode command-line tools and -run `npm run rebuild:native`. Linux source builds require Python, `make`, and a -C++ toolchain. Compatible packaged binaries do not require this rebuild. +REA installs a prebuilt PTY backend for supported macOS, Linux, and Windows +architectures. If the capability check reports that the backend is unavailable, +reinstall REA for the current platform and architecture. ASAR inventory verifies Electron integrity metadata for both archive entries and `.asar.unpacked` companion files. Integrity failures identify the logical diff --git a/README_ar.md b/README_ar.md index b70b45afc..7da1b5f8e 100644 --- a/README_ar.md +++ b/README_ar.md @@ -90,7 +90,7 @@ npx skills add morluto/rea ```bash curl -fsSL https://raw.githubusercontent.com/morluto/rea/main/install.sh | bash -npx -y rea-agents setup +npx -y rea-agents@latest setup ``` إذا طلب macOS أو برنامج التثبيت تأكيدًا، فأكمل الخطوة ثم شغّل الأمر نفسه مرة أخرى. @@ -111,7 +111,7 @@ npx -y rea-agents setup إذا واجهت مشكلة، فشغّل: ```bash -npx -y rea-agents doctor +npx -y rea-agents@latest doctor rea uninstall rea uninstall --purge-data ``` @@ -180,7 +180,7 @@ rea uninstall --purge-data "mcpServers": { "rea": { "command": "npx", - "args": ["-y", "rea-agents", "mcp"] + "args": ["-y", "rea-agents@latest", "mcp"] } } } @@ -206,11 +206,11 @@ flowchart LR سير عمل الوكيل أعلاه هو أسهل طريقة لاستخدام REA. للحصول على نظرة سريعة على تطبيق من الطرفية: ```bash -npx -y rea-agents analyze /Applications/Notes.app -npx -y rea-agents compare /absolute/path/to/left-evidence.json /absolute/path/to/right-evidence.json +npx -y rea-agents@latest analyze /Applications/Notes.app +npx -y rea-agents@latest compare /absolute/path/to/left-evidence.json /absolute/path/to/right-evidence.json ``` -شغّل `npx -y rea-agents --help` لمعرفة خيارات فك الترجمة المباشر والخيارات الأخرى. +شغّل `npx -y rea-agents@latest --help` لمعرفة خيارات فك الترجمة المباشر والخيارات الأخرى. يمكن لـ REA فتح مجلد `.app` على Mac مباشرة. إذا لم يعثر الوكيل على التطبيق، فأخبره بمكان تثبيته. diff --git a/README_ja.md b/README_ja.md index 2c5222eed..ef7ea6772 100644 --- a/README_ja.md +++ b/README_ja.md @@ -91,7 +91,7 @@ Ubuntu 24.04+、Fedora 41+、64 ビット Arch Linux では、REA が公式の D ```bash # 1. REA をセットアップ curl -fsSL https://raw.githubusercontent.com/morluto/rea/main/install.sh | bash -npx -y rea-agents setup +npx -y rea-agents@latest setup ``` macOS やインストーラーから確認を求められた場合は、その操作を完了してから同じコマンドをもう一度実行してください。 @@ -112,7 +112,7 @@ REA でメモアプリをリバースエンジニアリングしてください 問題がある場合は次を実行します: ```bash -npx -y rea-agents doctor +npx -y rea-agents@latest doctor rea uninstall rea uninstall --purge-data ``` @@ -170,7 +170,7 @@ Setup は Claude Code、Claude Desktop、Codex、Cursor、Gemini CLI、Windsurf "mcpServers": { "rea": { "command": "npx", - "args": ["-y", "rea-agents", "mcp"] + "args": ["-y", "rea-agents@latest", "mcp"] } } } @@ -195,10 +195,10 @@ CLI と MCP サーバーは同じ解析エンジンを使います。ターミ 上のエージェントワークフローが、REA を使う最も簡単な方法です。ターミナルから一度だけアプリの概要を調べる場合は、次を実行します。 ```bash -npx -y rea-agents analyze /Applications/Notes.app +npx -y rea-agents@latest analyze /Applications/Notes.app ``` -直接デコンパイルする方法やその他のオプションは、`npx -y rea-agents --help` で確認できます。 +直接デコンパイルする方法やその他のオプションは、`npx -y rea-agents@latest --help` で確認できます。 グローバルな `rea` コマンドとしてもインストールできます。 diff --git a/README_ko.md b/README_ko.md index eae66b08a..94f0fe530 100644 --- a/README_ko.md +++ b/README_ko.md @@ -91,7 +91,7 @@ Ubuntu 24.04+, Fedora 41+, 64비트 Arch Linux에서 REA는 공식 DEB, RPM 또 ```bash # 1. REA 설정 curl -fsSL https://raw.githubusercontent.com/morluto/rea/main/install.sh | bash -npx -y rea-agents setup +npx -y rea-agents@latest setup ``` macOS나 설치 프로그램이 확인을 요청하면 해당 절차를 완료하고 같은 명령을 다시 실행하세요. @@ -112,7 +112,7 @@ SQLite를 사용해 제 프로젝트에 비슷한 기능을 구현해 주세요. 문제가 있으면 다음을 실행하세요. ```bash -npx -y rea-agents doctor +npx -y rea-agents@latest doctor rea uninstall rea uninstall --purge-data ``` @@ -170,7 +170,7 @@ Setup은 Claude Code, Claude Desktop, Codex, Cursor, Gemini CLI, Windsurf, Devin "mcpServers": { "rea": { "command": "npx", - "args": ["-y", "rea-agents", "mcp"] + "args": ["-y", "rea-agents@latest", "mcp"] } } } @@ -195,10 +195,10 @@ CLI와 MCP 서버는 같은 분석 엔진을 사용합니다. 터미널 명령 위의 에이전트 워크플로가 REA를 사용하는 가장 쉬운 방법입니다. 터미널에서 앱을 한 번 빠르게 살펴보려면 다음을 실행하세요. ```bash -npx -y rea-agents analyze /Applications/Notes.app +npx -y rea-agents@latest analyze /Applications/Notes.app ``` -직접 디컴파일하는 방법과 기타 옵션은 `npx -y rea-agents --help`에서 확인할 수 있습니다. +직접 디컴파일하는 방법과 기타 옵션은 `npx -y rea-agents@latest --help`에서 확인할 수 있습니다. 전역 `rea` 명령으로 설치할 수도 있습니다. diff --git a/README_zh.md b/README_zh.md index bd37626c8..f7dfe1544 100644 --- a/README_zh.md +++ b/README_zh.md @@ -91,7 +91,7 @@ npx skills add morluto/rea ```bash # 1. 安装和配置 REA curl -fsSL https://raw.githubusercontent.com/morluto/rea/main/install.sh | bash -npx -y rea-agents setup +npx -y rea-agents@latest setup ``` 如果 macOS 或安装程序要求确认,请完成提示,然后再次运行同一命令。 @@ -112,7 +112,7 @@ Setup 会检测 Claude Code、Claude Desktop、Codex、Cursor、Gemini CLI、Win 如果遇到问题,请运行: ```bash -npx -y rea-agents doctor +npx -y rea-agents@latest doctor rea uninstall rea uninstall --purge-data ``` @@ -170,7 +170,7 @@ Setup 会检测 Claude Code、Claude Desktop、Codex、Cursor、Gemini CLI、Win "mcpServers": { "rea": { "command": "npx", - "args": ["-y", "rea-agents", "mcp"] + "args": ["-y", "rea-agents@latest", "mcp"] } } } @@ -195,10 +195,10 @@ CLI 与 MCP 服务器使用相同的分析引擎。终端命令完成后会关 上面的智能体工作流是使用 REA 最简单的方式。如果只想在终端中快速了解一个应用: ```bash -npx -y rea-agents analyze /Applications/Notes.app +npx -y rea-agents@latest analyze /Applications/Notes.app ``` -运行 `npx -y rea-agents --help` 查看直接反编译和其他选项。 +运行 `npx -y rea-agents@latest --help` 查看直接反编译和其他选项。 也可以全局安装 `rea` 命令: diff --git a/docs/api/functions/application_ProcessCaptureCapability.probeProcessCaptureCapability.html b/docs/api/functions/application_ProcessCaptureCapability.probeProcessCaptureCapability.html index 1c67a8bdc..0f9e44efe 100644 --- a/docs/api/functions/application_ProcessCaptureCapability.probeProcessCaptureCapability.html +++ b/docs/api/functions/application_ProcessCaptureCapability.probeProcessCaptureCapability.html @@ -20,7 +20,7 @@