fix(setup): refresh stale local npx bootstrap

This commit is contained in:
morluto
2026-07-26 06:39:28 +00:00
parent 1a0931b630
commit 90bb1610f5
9 changed files with 303 additions and 1 deletions
+14
View File
@@ -92,5 +92,19 @@ describe("localized README product facts", () => {
expect(content).toContain("--install-hopper");
expect(content).toContain("docs/installation.md");
expect(content).toContain("You do not need both");
expect(content).toContain(
"npx -y rea-agents@latest setup` once to repair registrations",
);
});
it("documents stale bootstrap recovery and explicit rollback", async () => {
const content = await readFile(resolve("docs/installation.md"), "utf8");
expect(content).toContain("before REA plans or writes configuration");
expect(content).toContain(
"npm exec --yes --package=rea-agents@2.4.0 -- rea setup",
);
expect(content).toContain(
"pin persistent MCP registrations to the exact version",
);
});
});