Skip to content

Add AGENTS.md with Cursor Cloud development environment instructions#1

Draft
GUOF629 wants to merge 2 commits into
mainfrom
cursor/development-environment-setup-2eef
Draft

Add AGENTS.md with Cursor Cloud development environment instructions#1
GUOF629 wants to merge 2 commits into
mainfrom
cursor/development-environment-setup-2eef

Conversation

@GUOF629

@GUOF629 GUOF629 commented Mar 19, 2026

Copy link
Copy Markdown
Owner

Summary

Adds AGENTS.md with Cursor Cloud specific development instructions for the opcode codebase.

What's included

  • Overview of the project architecture (Tauri 2 + React + Rust)
  • Key development commands reference table
  • Important caveats for Cloud Agent environments:
    • Frontend must be built before Rust compilation (dist/ dependency)
    • Headless mode instructions using opcode-web binary
    • Bun as primary package manager with PATH setup
    • System dependencies required on Linux
    • SQLite bundled (no external DB needed)
    • Claude Code CLI optional for development
    • Expected clippy warnings explanation

Development environment verified

  • Lint: bunx tsc --noEmit, cargo check, cargo clippy, cargo fmt --check all pass
  • Tests: cargo test - 9/9 tests pass
  • Build: Frontend (vite build) and Rust backend (cargo build --bin opcode-web) both build successfully
  • Run: Web server mode running on port 8080, serving the full React frontend with working API endpoints
Open in Web Open in Cursor 

cursoragent and others added 2 commits March 19, 2026 18:44
Co-authored-by: GUOF629 <649713002@qq.com>
Co-authored-by: GUOF629 <649713002@qq.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