Files
waggle-os/packages/team-server
shumeiko.it 5a7f3d24d9 chore: declare MIT and drop personal metadata from manifests (P2.3)
Add "license": "MIT" to the workspace manifests that lacked it (app,
apps/web, server, shared and the postponed team packages) and to the
Tauri crate. Remove the personal author and the maintainer repository,
homepage and bugs URLs; the public repository location is not decided
yet (Q9). package-lock.json is left as is and is regenerated later.
2026-11-01 00:28:07 +01:00
..

@waggle/team-server

The multi-user team server: Fastify with Clerk authentication, PostgreSQL through drizzle, Redis and BullMQ jobs, a WebSocket gateway, cron and the team routes (teams, agents, tasks, messages, knowledge, resources, audit, analytics, capability governance).

Postponed. Team mode stays in the repository but is not built, bundled or shipped in the community edition (ADR-0003). This package is not part of npm run build:packages, and the local sidecar (@waggle/server) does not import or start it. Do not add features here until the owner decides otherwise.

packages/worker and packages/waggle-dance belong to the same postponed team runtime.

Running it anyway

The server needs PostgreSQL and Redis (see docker-compose.yml) and a Clerk secret key.

cd packages/team-server
DATABASE_URL=postgres://waggle:waggle_dev@localhost:5434/waggle npx tsx src/db/migrate.ts
DATABASE_URL=... REDIS_URL=redis://localhost:6381 CLERK_SECRET_KEY=... npx tsx src/index.ts

Most tests in tests/ need the same services and are listed in vitest.infra-suites.ts; npm run test:infra runs them.