Set up Cursor Cloud dev environment (AGENTS.md) - #1
Draft
DreDre-AI wants to merge 1 commit into
Draft
Conversation
Co-authored-by: DreDre-AI <DreDre-AI@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Sets up the development environment for the Rivet monorepo so Cursor Cloud agents can install, lint, test, build, and run the app. Adds an
AGENTS.mdwith a## Cursor Cloud specific instructionssection capturing the non-obvious setup caveats discovered while getting the environment working.No application code was changed — this only documents the environment. Dependency installation is handled by the startup update script (Node 20 via nvm, Yarn 4.8.1 via corepack,
yarn install,yarn unplug tsx).Key learnings captured in AGENTS.md
node@20.4.0; the VM's defaultnode(Node 22 at/exec-daemon/node) shadows nvm, so Node 20 must be prepended toPATH.NPM_TOKENmust be defined (even empty) —.yarnrc.ymlreferences${NPM_TOKEN}and every yarn command errors if it is unset.yarn unplug tsxfor PnP ESM compatibility.yarn workspace @alpic80/rivet-app run start→http://localhost:5173) runs the full node-editor IDE with no Rust/Tauri, ideal for headless cloud. Tauri desktop mode needs Rust + GTK/WebKit libs + a display.Verification
yarn test→ 62 passedyarn lint→ 0 errors (pre-existing warnings only)rivet_hello_world_demo.mp4
Text node output after running the graph
To show artifacts inline, enable in settings.