Skip to content

docs: add Cursor Cloud environment setup notes to AGENTS.md - #2

Draft
Dmatut7 wants to merge 2 commits into
cursor/second-window-create-timeout-8f7efrom
cursor/cloud-env-setup-0d9b
Draft

docs: add Cursor Cloud environment setup notes to AGENTS.md#2
Dmatut7 wants to merge 2 commits into
cursor/second-window-create-timeout-8f7efrom
cursor/cloud-env-setup-0d9b

Conversation

@Dmatut7

@Dmatut7 Dmatut7 commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Context

Set up the Cloud Agent development environment for this repository and record the non-obvious startup/run caveats so future cloud agents can start fast.

Changes

  • Added a ## Cursor Cloud specific instructions section to AGENTS.md documenting:
    • The startup update script (npm ci) and which prerequisites are baked into the VM snapshot (canvas native build deps, ripgrep, fd, zstd, uv).
    • The non-obvious gotcha that running ./prime-agent.sh from source requires the workspace library packages (ai, agent, tui) to be built to dist/ first (otherwise ERR_MODULE_NOT_FOUND).
    • Kernel bootstrap via uv, provider-credential requirement to run the agent end-to-end, and where lint/test commands live.

No source code changes.

Validation

  • npm ci (workspace install)
  • npm run check (biome + tsgo + installer render + browser smoke) — pass
  • packages/tui npm test — 777 pass
  • packages/agent npm test — 70 pass
  • packages/ai and packages/coding-agent focused vitest files — pass
  • Kernel runtime bootstrap via uv — ready
  • ./prime-agent.sh boots to the Prime Intellect login TUI
Open in Web Open in Cursor 

Fence identity/locale env when spawning workers, force C locale for ps
start ids, and log specific ownership mismatches so a second terminal
create no longer times out on supervisor_generation_stale.
@cursor
cursor Bot force-pushed the cursor/second-window-create-timeout-8f7e branch from 6cde750 to 564abfc Compare August 26, 2026 03:51
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