Skip to content

Add Cloud Agent development environment config - #70

Merged
decim92 merged 1 commit into
mainfrom
cursor/setup-dev-environment-550d
Aug 19, 2026
Merged

decim92 merged 1 commit into
mainfrom
cursor/setup-dev-environment-550d

Conversation

@alejouribesanchez

Copy link
Copy Markdown
Collaborator

Summary

Adds a repository-managed Cloud Agent environment configuration (.cursor/environment.json) so veryfi-nodejs is fully usable in Cloud Agents.

The SDK is a Node.js library with no dev server. The complete development experience is: install dependencies with npm ci, then run the Jest suite. Tests use mocked API responses (mock_responses = true in both test/main.test.js and tests/main.test.ts), so no Veryfi credentials or network access are required.

{
  "name": "veryfi-nodejs",
  "install": "npm ci"
}
  • No start/terminals needed — this is a library, not a service.
  • No secrets required for the local development and test flow.

Validation

Check Result
npm ci (install) Success, 0 vulnerabilities
npm ci idempotence Passed twice
npm test -- --coverage 87 passed / 87 total, 2 suites
Fresh Cloud Agent (booted from tested build) Node v22.14.0, node_modules prepopulated, 87/87 tests pass

The environment was snapshotted, a draft build (bld-20260819-90890967-07a3-4f07-b531-695aeb75fdaa) succeeded, and a fresh Cloud Agent booted from that build confirmed dependencies were prepopulated and the full test suite passes offline.

Open in Web Open in Cursor 

Co-authored-by: Alejandro Uribe Sánchez <alejouribesanchez@gmail.com>
@alejouribesanchez
alejouribesanchez marked this pull request as ready for review August 19, 2026 19:44
@decim92
decim92 merged commit e6779b8 into main Aug 19, 2026
2 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.

4 participants