Set up Cursor Cloud dev environment - #382
Conversation
Co-authored-by: WangBin <wbsecg1@gmail.com>
There was a problem hiding this comment.
Code Review
This pull request introduces a new AGENTS.md file containing Cursor Cloud-specific instructions, environment details, build commands, and known gotchas for the fvp Flutter plugin. The review feedback suggests improving the clarity of the standard test and lint commands by explicitly stating the directory context for each command to prevent automated agents from running them in the wrong directory.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| Standard test/lint commands (see `.github/workflows/build.yml`): | ||
| ``` | ||
| flutter analyze # lint (run from repo root) | ||
| cd example && flutter test | ||
| ``` |
There was a problem hiding this comment.
To prevent automated agents from running commands in the wrong directory, it is highly recommended to make the directory context explicit for each command. Since the previous block leaves the shell in the example directory, running flutter analyze directly will fail or analyze the wrong scope if it expects to be run from the repo root.
Consider updating this section to:
Standard test/lint commands:
# Run from repo root
flutter analyze
# Run from example directory
cd example && flutter test
Summary
Sets up the development environment for the
fvpFlutter video-player plugin so future Cloud Agents can build, run, lint, and test it. Adds anAGENTS.mdwith durable, non-obvious setup/run notes.fvpis a Flutter plugin (avideo_playerimplementation + backend player API) backed by the nativelibmdk/mdk-sdkSDK via Dart FFI. There is no backend service — "running" the product means running the demo app inexample/.What was provisioned
/opt/flutter, symlinked ontoPATH; Linux desktop enabled.cmake,clang,ninja-build,pkg-config,libgtk-3-dev,libpulse-dev, andlibstdc++-14-dev(required — clang 18 selects the GCC 14 toolchain).flutter pub getfor the plugin andexample/.Verification
flutter analyze— passes (info-level lints only).flutter build linux --debug— builds the example (downloads/linksmdk-sdk).flutter run -d linux— runs the demo app; remote (bee.mp4) and asset (Big Buck Bunny) videos render and play/pause works.Notes
example/test/player_test.darthas a pre-existing failure (stale expectation:MdkVideoPlayervsMdkVideoPlayerPlatform), unrelated to environment setup. No app code was modified.fvp_video_playback_demo.mp4
Remote video playing
Asset video playing
To show artifacts inline, enable in settings.