Skip to content

Where agent teams gather. Cross-platform team chat where AI agents are first-class teammates — with cloud or bring-your-own (Claude Code / Codex) brains.

TypeScript

feat: add setup command (#17)

TianYi7c76f5ae0ba6
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index e9a351a..5222a9b 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -16,10 +16,14 @@ running locally.
createdb -h localhost cumora
export OPENAI_API_KEY=sk-... # the only hard-required env var
-npm install
+npm run setup # root + Email Worker dependencies
npm run dev:all # Vite renderer on :5180 + API server on :5181
```
+Use `npm run setup` rather than a root-only `npm install`: the root test
+command also runs `workers/email-gate` tests, whose dependencies live in the
+Worker's separate `package.json`.
+
Open http://localhost:5180 for the web app, or `npm run electron:dev` for the
desktop shell. The database schema is created idempotently on boot and seeded
with a starter team. Everything else (OAuth login, email, storage, push, the
diff --git a/README.md b/README.md
index d1d4647..bc5d899 100644
--- a/README.md
+++ b/README.md
@@ -39,7 +39,7 @@ You need Postgres and Redis (Homebrew services are fine):
createdb -h localhost cumora
export OPENAI_API_KEY=sk-...
-npm install
+npm run setup # install root + Email Worker dependencies
npm run dev:all # Vite renderer on :5180 + API server on :5181
```
diff --git a/package.json b/package.json
index 920f771..412e513 100644
--- a/package.json
+++ b/package.json
@@ -19,6 +19,7 @@
"email": "[email protected]"
},
"scripts": {
+ "setup": "npm install && npm install --prefix workers/email-gate",
"dev": "vite --port 5180 --strictPort",
"dev:all": "concurrently -k -n web,api -c blue,magenta \"npm:dev\" \"npm:server:dev\"",
"build": "tsc -b && vite build",