Files
reverse-engineering-anything/tests/boundary/cli
morluto 308e7aba30 fix(setup): name the next step after setup and preselect detected agents (#17237)
* fix(setup): name the next step after setup and preselect detected agents

A first-time user could press Enter in the agent picker without selecting
anything, finish with no agent connected, and see only "REA is ready for
local app analysis." with no next step.

- Start the interactive picker from detected agents REA can connect, in
  addition to existing registrations, and confirm before continuing with
  no agent selected.
- Decide the next step once in setup (restart changed agents, open a
  connected agent, or run setup again to choose one) and return it as
  `nextStep` in the setup result, so agents running `setup --json` can
  relay it. The terminal ending renders the same decision.
- Show one line per finished step and drop developer-only wording.
- Get started: plain `npx rea-agents setup`, a sample of a finished setup,
  a pre-selection note, and an onboarding prompt that asks the agent to
  explain what it can now do. Update sections keep `@latest`.

Fixes #17236

* fix(setup): decide the next step from the final status and skip foreign agents

- A detected agent whose "rea" entry launches another program was
  classified as needs_configuration, so the picker preselected it and
  setup's ownership check then refused the plan. Classify it as foreign,
  leave it unselected, and say why in the picker.
- Decide nextStep after skill settlement and cleanup, so a setup that
  ends needing attention or is cancelled carries no next step.
- Tell people to make sure their agent is selected before pressing Enter,
  since pressing Space on a preselected agent clears it.
- Remove a repeated sentence from the installation guide.
2026-12-05 21:33:22 +00:00
..