[PR #307] [MERGED] feat(cli): add explicit package-runner setup wizard #1943

Closed
opened 2026-10-16 21:12:43 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/morluto/rea/pull/307
Author: @morluto
Created: 7/18/2026
Status: ✅ Merged
Merged: 7/18/2026
Merged by: @morluto

Base: main ← Head: codex/package-name-setup-wizard


📝 Commits (3)

  • 1b90e7f feat(cli): support package-name setup wizard
  • 992ec50 fix(cli): require explicit setup selections
  • 40e2f94 test(cli): cover package-name binary alias

📊 Changes

13 files changed (+330 additions, -167 deletions)

View changed files

📝 README.md (+20 -17)
📝 README_ar.md (+1 -1)
📝 README_ja.md (+1 -1)
📝 README_ko.md (+1 -1)
📝 README_zh.md (+1 -1)
📝 docs/installation.md (+28 -24)
📝 package-lock.json (+2 -1)
📝 package.json (+2 -1)
📝 scripts/verify-package.mjs (+61 -0)
📝 src/cliSetup.ts (+106 -93)
📝 tests/cliSetup.test.ts (+102 -25)
📝 tests/identity.test.ts (+4 -1)
📝 tests/readmeConsistency.test.ts (+1 -1)

📄 Description

Summary

  • expose a matching rea-agents executable so npx rea-agents setup opens the packaged setup wizard without requiring @latest
  • replace the all-detected recommended default with an empty, capability-first picker for MCP access, the shared skill, and the optional Hopper provider
  • ask which detected agents should receive MCP registration only after MCP access is selected; detection never preselects or authorizes a write
  • keep discovery compact, preserve the complete MCP catalog, and send only explicitly selected actions to the exact default-No preflight
  • cover cancellation, empty selection, agent targeting, independent skill selection, accessible prompts, and the packaged PTY path

Verification

  • npm run build
  • npx vitest run tests/cliSetup.test.ts tests/readmeConsistency.test.ts --coverage.enabled=false
  • npm run verify:package
  • npm run typecheck
  • npm run lint (passes with pre-existing warnings)
  • npm run format:check
  • git diff --check

Real Hopper and Ghidra verification was not run because this change is limited to npm entrypoint packaging, setup interaction, documentation, and packaged PTY coverage.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/morluto/rea/pull/307 **Author:** [@morluto](https://github.com/morluto) **Created:** 7/18/2026 **Status:** ✅ Merged **Merged:** 7/18/2026 **Merged by:** [@morluto](https://github.com/morluto) **Base:** `main` ← **Head:** `codex/package-name-setup-wizard` --- ### 📝 Commits (3) - [`1b90e7f`](https://github.com/morluto/rea/commit/1b90e7f992276e4e05644823583f77c27ccac702) feat(cli): support package-name setup wizard - [`992ec50`](https://github.com/morluto/rea/commit/992ec505b279114dcb13230fcd008db8668578af) fix(cli): require explicit setup selections - [`40e2f94`](https://github.com/morluto/rea/commit/40e2f943a52cbf957db2ae898c3624e5ac5faec6) test(cli): cover package-name binary alias ### 📊 Changes **13 files changed** (+330 additions, -167 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+20 -17) 📝 `README_ar.md` (+1 -1) 📝 `README_ja.md` (+1 -1) 📝 `README_ko.md` (+1 -1) 📝 `README_zh.md` (+1 -1) 📝 `docs/installation.md` (+28 -24) 📝 `package-lock.json` (+2 -1) 📝 `package.json` (+2 -1) 📝 `scripts/verify-package.mjs` (+61 -0) 📝 `src/cliSetup.ts` (+106 -93) 📝 `tests/cliSetup.test.ts` (+102 -25) 📝 `tests/identity.test.ts` (+4 -1) 📝 `tests/readmeConsistency.test.ts` (+1 -1) </details> ### 📄 Description ## Summary - expose a matching `rea-agents` executable so `npx rea-agents setup` opens the packaged setup wizard without requiring `@latest` - replace the all-detected recommended default with an empty, capability-first picker for MCP access, the shared skill, and the optional Hopper provider - ask which detected agents should receive MCP registration only after MCP access is selected; detection never preselects or authorizes a write - keep discovery compact, preserve the complete MCP catalog, and send only explicitly selected actions to the exact default-No preflight - cover cancellation, empty selection, agent targeting, independent skill selection, accessible prompts, and the packaged PTY path ## Verification - `npm run build` - `npx vitest run tests/cliSetup.test.ts tests/readmeConsistency.test.ts --coverage.enabled=false` - `npm run verify:package` - `npm run typecheck` - `npm run lint` (passes with pre-existing warnings) - `npm run format:check` - `git diff --check` Real Hopper and Ghidra verification was not run because this change is limited to npm entrypoint packaging, setup interaction, documentation, and packaged PTY coverage. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-16 21:12:43 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#1943
No description provided.