Skip to content

Set up Cursor Cloud dev environment#75

Merged
veillette merged 1 commit into
mainfrom
cursor/setup-dev-environment-df1f
Jul 23, 2026
Merged

Set up Cursor Cloud dev environment#75
veillette merged 1 commit into
mainfrom
cursor/setup-dev-environment-df1f

Conversation

@veillette

Copy link
Copy Markdown
Collaborator

Summary

Sets up the development environment for OpticsLab (client-only SceneryStack geometric optics simulation) for Cursor Cloud agents, and verifies it works end-to-end.

  • Adds AGENTS.md with a ## Cursor Cloud specific instructions section capturing durable, non-obvious startup/run caveats (dev server usage, slow Vitest suite, git hooks, optional icon generation).
  • Update script configured as npm ci (minimal dependency refresh on VM startup).

Verification

All standard commands were run successfully in the cloud VM:

Step Command Result
Install npm ci 494 packages, OK
Lint npm run lint Checked 168 files, no issues
Type check npm run check Passed (3 tsconfig targets)
Tests npm test 413 passed (4 files)
Build npm run build Built dist/ OK
Dev server npm start Vite on http://localhost:5173, HTTP 200

Hello-world task

Built a scene on the Lab screen: added a light beam, then a spherical lens in its path. The ray-tracing engine responded in real time — parallel rays converge through the lens to a focal point.

opticslab_lab_ray_tracing_demo.mp4

Rays converging through a spherical lens

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@veillette veillette left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good

@veillette
veillette marked this pull request as ready for review July 23, 2026 18:19
@cursor

cursor Bot commented Jul 23, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@veillette
veillette merged commit 4819b16 into main Jul 23, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants