Skip to content

Set up Cursor Cloud dev environment (AGENTS.md) - #16

Draft
shehrii9 wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-883f
Draft

shehrii9 wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-883f

Conversation

@shehrii9

Copy link
Copy Markdown
Owner

Summary

Sets up and verifies the Cursor Cloud development environment for Browser Execution Runtime (BER) and captures durable, non-obvious startup notes in AGENTS.md.

No application/source code was modified. The only change is the new AGENTS.md.

Environment setup

Update script (runs on VM startup):

npm ci
npx playwright install chromium

Verification (all green)

Check Command Result
Typecheck npm run typecheck pass
Unit tests npm test 48 passed (19 files)
Browser smoke npx vitest run --config <tmp include-only cfg> 4 passed
Build npm run build pass
Pack check npm run pack:check pass
Rust test cargo test -p ber-core 3 passed
Rust build cargo build -p ber-core --release pass
Daemon npm run daemon + GET /health { ok: true }

Hello-world (core functionality)

Started the daemon, attached a real Chromium to https://example.com, and ran examples/sample-plan.json via POST /run. The plan navigated, dismissed overlays, and extracted the heading:

{ "ok": true, "extracted": { "heading": "Example Domain" } }

Notes captured in AGENTS.md

  • npm run test:browser finds no files because vitest.config.ts excludes the smoke test and the CLI positional filter doesn't override it; documented how to run it via an include-only config.
  • Daemon runs headless on 127.0.0.1:8787; ber.config.json and data/ are gitignored.
  • Rust core is a separate workspace.
Open in Web Open in Cursor 

Co-authored-by: Shaharyar Ahmad <shehrii9@users.noreply.github.com>
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