Repository navigation
docs(setup): acquire packages outside a REA source checkout #9695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 4 commits
1443610
6a60523
ef9bc15
32b9952
4b53aa2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -88,7 +88,9 @@ REA's MCP server and matching workflow instructions, with backups of existing | |
| configuration. Restart your agent afterward. Setup records the selected runtime and REA | ||
| entry script directly. If acquired through a package runner, keep its cache entry | ||
| available. Run package acquisition from a trusted directory outside the target | ||
| project. Installation and recovery details are in the setup guide below. | ||
| project and outside a REA source checkout: inside that checkout npm resolves | ||
| `rea-agents` to the local (unbuilt) package instead of the published one, so the | ||
| launcher fails before REA starts. Installation and recovery details are in the setup guide below. | ||
|
Comment on lines
94
to
+97
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When a contributor starts from the prominent README command at line 27 or the website command at AGENTS.md reference: AGENTS.md:L31-L33 Useful? React with 👍 / 👎.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed in Leaving the in-checkout shadowing pinned by request version (not an unconditional failure) is intentional — it is what Verified locally: |
||
|
|
||
| Setup supports Claude Code, Codex, Cursor, Gemini CLI, Grok Build and | ||
| [other agents](docs/getting-started/installation.md#supported-agents). See | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When an MCP registration uses a semver range satisfied by the checkout's
6.8.0version (for examplerea-agents@^6.8.0), npm still selects the local checkout, but this newonlyqualifier tells the agent to rule that cause out. npm 11.4.2's implementation explicitly handles a “package requested by version range” by returning the local node whensemver.satisfies(...); with the installed npm 11.4.2, an offline run here likewise ended inrea: not foundfor@^6.8.0while@latestattempted the registry. This range branch/runtime result is fresh evidence beyond the earlier exact-version thread; include satisfying ranges here and in the matching recovery reference so these closed connections are not misdiagnosed.AGENTS.md reference: AGENTS.md:L31-L33
Useful? React with 👍 / 👎.