From a4683eb2d82321d1868efb187e113a0dc055f76e Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 5 Aug 2026 22:23:37 +0000 Subject: [PATCH] Add AGENTS.md with Cursor Cloud setup instructions for FRAGLINE Co-authored-by: P4ND4907 --- AGENTS.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 AGENTS.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..9368ce3 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,20 @@ +# AGENTS.md + +## Cursor Cloud specific instructions + +This repo is primarily a community-health template repo, but the actual application is **FRAGLINE**, a React + TypeScript + Vite idle esports manager located in the `fragline/` subdirectory. All app commands must be run from `fragline/`, not the repo root. + +### Services + +There is a single service: the Vite dev server for `fragline/`. + +- Run dev server: `cd fragline && npm run dev` (serves at `http://localhost:5173`). +- Lint: `cd fragline && npm run lint` (oxlint). Note: a pre-existing `no-unused-vars` warning in `scripts/stuck-feed.mts` is expected and not an error. +- Build: `cd fragline && npm run build` (runs `tsc -b` then `vite build`). +- Preview production build: `cd fragline && npm run preview`. + +### Notes + +- Node 20.19+ / 22+ is required (Vite 8). The VM's default Node (v22) works; do not force an older nvm-managed version. +- The app has no backend, database, or environment variables. State persists client-side via `localStorage`, so testing a fresh state may require clearing site data / localStorage in the browser. +- Dependencies live only in `fragline/package.json`; there is no root-level `package.json`.