Set up Cursor Cloud dev environment (web + Android toolchain)#3755
Set up Cursor Cloud dev environment (web + Android toolchain)#3755t3dotgg wants to merge 3 commits into
Conversation
Co-authored-by: Theo Browne <t3dotgg@users.noreply.github.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Co-authored-by: Theo Browne <t3dotgg@users.noreply.github.com>
…oolchain Co-authored-by: Theo Browne <t3dotgg@users.noreply.github.com>
| @@ -0,0 +1,72 @@ | |||
| --- | |||
| description: Cursor Cloud environment setup and run notes for T3 Code (Cursor-specific; not for other editors/CI) | |||
| alwaysApply: true | |||
There was a problem hiding this comment.
🟡 Medium rules/cursor-cloud.mdc:3
alwaysApply: true injects these Cursor Cloud–specific environment assumptions into every chat session for every clone of the repo, not just Cursor Cloud. Local Cursor users/agents will be told that Node 24, the Android SDK/NDK, and an unauthenticated pairing server are pre-provisioned, which is false outside the Cloud VM and causes agents to skip local setup steps. The file description already scopes it to Cursor Cloud, so this should be opt-in — set alwaysApply: false (or use globs/description-based matching) so the rule only attaches when explicitly relevant.
| alwaysApply: true | |
| alwaysApply: false |
🚀 Reply "fix it for me" or copy this AI Prompt for your agent:
In file @.cursor/rules/cursor-cloud.mdc around line 3:
`alwaysApply: true` injects these Cursor Cloud–specific environment assumptions into every chat session for every clone of the repo, not just Cursor Cloud. Local Cursor users/agents will be told that Node 24, the Android SDK/NDK, and an unauthenticated pairing server are pre-provisioned, which is false outside the Cloud VM and causes agents to skip local setup steps. The file description already scopes it to Cursor Cloud, so this should be opt-in — set `alwaysApply: false` (or use `globs`/`description`-based matching) so the rule only attaches when explicitly relevant.
Summary
Sets up the Cursor Cloud development environment for T3 Code and records durable, non-obvious notes for future Cursor agents.
engines.node: ^24.13.1), the globalvp(Vite+) CLI + bundled pnpm, wired into login shells; deps installed viavp i..cursor/rules/cursor-cloud.mdc(not the sharedAGENTS.md), since T3 Code is developed in many editors —AGENTS.mdno longer carries a Cursor Cloud section.apps/mobile: OpenJDK 17, Android SDK (platforms;android-36,build-tools;36.0.0,platform-tools,ndk;27.1.12297006,cmake;3.22.1), env wired into login shells;expo prebuild+ Gradle verified.Repo changes here are docs-only (
AGENTS.md,.cursor/rules/cursor-cloud.mdc). Toolchain installs live in the VM environment; the startup update script stays minimal (vp i).Verification
Web/server:
vp run typecheck— passes (0 errors).vp check— passes (0 errors; formatter clean).vp test— 4473 passed / 2 pre-existing flakes, unrelated to setup.DONE.Android:
expo prebuild --platform androidgenerates the native project successfully../gradlew :react-native-worklets:assembleDebug→BUILD SUCCESSFUL, compiling Kotlin + C++ (NDK/CMake) into an AAR + 18.solibs for arm64-v8a.:app:assembleDebugis blocked by a pre-existing app-level issue (not the environment):patches/react-native-screens@4.25.2.patchadds new codegen props (subtitle,largeSubtitle,navigationItemStyle,headerCenterBarButtonItems,headerToolbarItems) with no Android Kotlin setters, so:react-native-screens:compileDebugKotlinfails. The mobile README documents only iOS for local builds and routes Android through EAS. No emulator is possible in this VM (no/dev/kvm).Hello-world demo (Claude agent creating a file via T3 Code UI)
t3code_claude_agent_hello_world.mp4
Android toolchain evidence
android_toolchain_summary.txt
To show artifacts inline, enable in settings.
Note
Document Cursor Cloud dev environment setup in AGENTS.md
Adds a new 'Cursor Cloud specific instructions' section to AGENTS.md covering the pre-configured toolchain and development workflow.
vpCLI with bundled pnpm, including PATH/node version precedence notes for non-login shellsT3CODE_HOMEANTHROPIC_API_KEY)📊 Macroscope summarized cc99928. 1 file reviewed, 0 issues evaluated, 0 issues filtered, 0 comments posted
🗂️ Filtered Issues
No issues evaluated.