mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-05 10:28:54 +00:00
* Add a Linux Cursor Cloud Agent environment for PR babysitting. This gives cloud agents Node, GitHub CLI, and the same lint/tsc/Jest install path as PR CI, without Android or iOS native tooling. Co-authored-by: Cursor <cursoragent@cursor.com> * Document Cloud Agent babysitter smoke checks from live validation. Add the Ubuntu CI commands this VM can actually run, note gh/i18n footguns, and ship an optional smoke script for the next environment round. Co-authored-by: nick.misasi <nick.misasi@mattermost.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
498 B
Bash
Executable File
18 lines
498 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Cursor Cloud Agent start script.
|
|
# This environment does not run Docker or app servers — only materialize
|
|
# cloud-only instructions for the agent.
|
|
|
|
set -Eeuo pipefail
|
|
|
|
log() { printf '[cloud-agent-start] %s\n' "$*" >&2; }
|
|
|
|
cd "$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
|
|
|
|
if [ -f .cursor/cursor.md ]; then
|
|
cp .cursor/cursor.md .cursor/AGENTS.md
|
|
log "Materialized Cloud Agent instructions at .cursor/AGENTS.md"
|
|
fi
|
|
|
|
log "Start complete (no long-lived processes)"
|