Skip to content

chore: cloud agent environment install script - #83

Closed
OnlineChef wants to merge 1 commit into
mainfrom
cursor/cloud-env-setup-7cb9
Closed

chore: cloud agent environment install script#83
OnlineChef wants to merge 1 commit into
mainfrom
cursor/cloud-env-setup-7cb9

Conversation

@OnlineChef

Copy link
Copy Markdown
Contributor

Summary

Configures the Cursor Cloud Agent environment for herdr while keeping the existing CI-only Rust/Zig validation policy.

Changes

  • Add .cursor/environment.json pointing at the current team snapshot with an idempotent install update script
  • Add .cursor/scripts/cloud-install.sh which:
    • Downloads the latest green ci-smoke-herdr-linux-x86_64 artifact into durable /opt/herdr/
    • Symlinks it to /usr/local/bin/herdr
    • Runs npm ci for website/
    • Does not install Zig / just / cargo-nextest / bun or run local Cargo builds
  • Update AGENTS.md Cursor Cloud section to document the durable binary path and install script

Verified on this VM

  • bash .cursor/scripts/cloud-install.sh succeeds
  • Headless herdr server + workspace create + pane run/read works
  • website Node tests pass (20 tests)
  • VNC/xfce desktop already running on :1

Snapshot note

After reviewing, save a new Cloud Agents snapshot from this machine so /opt/herdr and website tooling are baked into the base image. The committed snapshot ID can then be updated if a new snapshot is created.

Open in Web Open in Cursor 

Wire .cursor/environment.json to an idempotent update script that
refreshes the durable CI smoke herdr binary and website npm deps
without enabling local Rust/Zig builds.

Co-authored-by: OnlineChef <OnlineChef@users.noreply.github.com>
@cursor

cursor Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Superseded by #87 — cloud-install is folded into the reconciled .cursor/environment.json / .cursor/scripts/cloud-install.sh there. Closing this draft.

WaySoul (SoulWayy) pushed a commit that referenced this pull request Aug 1, 2026
Reconcile PR #83 with the #80/#82 ops merge: durable /opt/herdr binary
install, website npm ci, and Cursor catalog refresh share one
environment.json install script.

refs #83

Co-authored-by: navarrocorbi-prog <navarrocorbi-prog@users.noreply.github.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.

3 participants