Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .cursor/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM node:26-bookworm-slim

RUN apt-get update \
&& apt-get install -y --no-install-recommends git curl \
&& rm -rf /var/lib/apt/lists/* \
&& npm install -g pnpm@11.1.3

RUN mkdir -p /workspace \
&& chown -R node:node /workspace /home/node

USER node
WORKDIR /workspace
8 changes: 8 additions & 0 deletions .cursor/environment.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "Open Watch Party",
"user": "node",
"build": {
"dockerfile": "Dockerfile"
},
"install": "pnpm install --frozen-lockfile"
}
12 changes: 12 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# AGENTS.md

## Cursor Cloud specific instructions

Open Watch Party is a pnpm workspace (pnpm 11, Node 26 via `.cursor/Dockerfile`).
Standard commands are in the root `package.json` and `README.md`.

Services:
- `apps/server`: `pnpm dev:server` → `wrangler dev` on `http://localhost:8787`. No Cloudflare account needed for local dev.
- `apps/extension`: `pnpm dev:extension` → WXT dev server on `http://localhost:3000`. The auto-launched browser has no display in headless VMs.

Non-obvious: `wrangler dev` uses port `8787`, not the `localhost:1999` default in `apps/extension/.env.example` (that's for a deployed host). `apps/server/.wrangler/` is untracked local state, safe to delete.