diff --git a/.agents/plugins/marketplace.json b/.agents/plugins/marketplace.json new file mode 100644 index 000000000..0017c933c --- /dev/null +++ b/.agents/plugins/marketplace.json @@ -0,0 +1,20 @@ +{ + "name": "rea", + "interface": { + "displayName": "REA" + }, + "plugins": [ + { + "name": "rea", + "source": { + "source": "local", + "path": "./" + }, + "policy": { + "installation": "AVAILABLE", + "authentication": "ON_INSTALL" + }, + "category": "Developer Tools" + } + ] +} diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json new file mode 100644 index 000000000..b059b686c --- /dev/null +++ b/.claude-plugin/marketplace.json @@ -0,0 +1,17 @@ +{ + "$schema": "https://anthropic.com/claude-code/marketplace.schema.json", + "name": "rea", + "description": "Reverse engineer anything with agents, from app behavior down to native binaries.", + "owner": { + "name": "morluto", + "url": "https://github.com/morluto" + }, + "plugins": [ + { + "name": "rea", + "description": "Reverse engineer anything from your terminal or agent with one CLI and MCP server.", + "source": "./", + "category": "development" + } + ] +} diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json new file mode 100644 index 000000000..3ae3310a7 --- /dev/null +++ b/.codex-plugin/plugin.json @@ -0,0 +1,38 @@ +{ + "name": "rea", + "version": "6.4.0", + "description": "Reverse engineer anything from your terminal or agent with one CLI and MCP server.", + "author": { + "name": "morluto", + "url": "https://github.com/morluto" + }, + "homepage": "https://rea.tools/", + "repository": "https://github.com/morluto/rea", + "license": "MIT", + "keywords": [ + "reverse-engineering", + "binary-analysis", + "decompiler", + "mcp-server" + ], + "skills": ["./.agents/skills/reverse-engineer-anything"], + "mcpServers": { + "rea": { + "command": "npx", + "args": ["-y", "rea-agents@latest", "mcp"] + } + }, + "interface": { + "displayName": "REA", + "shortDescription": "Reverse engineer anything with agents", + "longDescription": "Use REA to explain shipped behavior from native binaries, managed assemblies, Electron and JavaScript bundles, packages, firmware, and browser targets, with evidence that separates observations from inferences.", + "developerName": "morluto", + "category": "Developer Tools", + "websiteURL": "https://rea.tools/", + "defaultPrompt": [ + "Use REA to explain how this binary implements a feature.", + "Use REA to compare two versions of this application.", + "Use REA to recover the sources from this JavaScript bundle." + ] + } +} diff --git a/docs/installation.md b/docs/installation.md index 3d7704192..36f307c31 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -928,22 +928,35 @@ symbolic link is retained and reported rather than followed. Uninstall checks REA's managed shared and Claude Code personal skill locations. See the [CLI guide](cli.md#output-and-exit-status) for exit statuses. -## Claude Code plugin +## Agent plugins and marketplaces -The repository root is a Claude Code plugin. Its manifest, -`.claude-plugin/plugin.json`, bundles the `reverse-engineer-anything` skill -from `.agents/skills/` and registers the stdio server as -`npx -y rea-agents@latest mcp`, so plugin directories and marketplaces can -list REA without a second distribution artifact. To load it from a checkout: +The repository root is both a Claude Code plugin +(`.claude-plugin/plugin.json`) and a Codex plugin +(`.codex-plugin/plugin.json`). Each manifest bundles the +`reverse-engineer-anything` skill from `.agents/skills/` and registers the +stdio server as `npx -y rea-agents@latest mcp`, without a second distribution +artifact. -```bash -claude --plugin-dir /absolute/path/to/rea +The repository is also its own single-plugin marketplace, through +`.claude-plugin/marketplace.json` and `.agents/plugins/marketplace.json`. + +In Claude Code: + +```text +/plugin marketplace add morluto/rea +/plugin install rea@rea ``` -Each release updates the manifest version, which is when installed copies -refresh the bundled skill. The plugin does not run `rea setup`: provider +In Codex, add the marketplace and then install REA from the plugin list: + +```bash +codex plugin marketplace add morluto/rea +``` + +Each release updates both manifest versions, which is when installed copies +refresh the bundled skill. A plugin does not run `rea setup`: provider configuration and readiness checks still follow the sections above. Use the -plugin or a `rea setup` registration for Claude Code, not both, to avoid two +plugin or a `rea setup` registration for a client, not both, to avoid two `rea` servers. ## MCP Registry diff --git a/release-please-config.json b/release-please-config.json index 9e91a4fa1..85434caed 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -36,6 +36,11 @@ "type": "json", "path": ".claude-plugin/plugin.json", "jsonpath": "$.version" + }, + { + "type": "json", + "path": ".codex-plugin/plugin.json", + "jsonpath": "$.version" } ] }