Files
open-design/apps/web/package.json
pftomandClaude Opus 4.7 409064809f feat: refactor to Next.js 16 App Router with cloud + local daemon split
Restructures the project into a pnpm workspace mirroring multica-ai/multica
on a unified TypeScript stack so the product can run as a hosted cloud app
that pairs with a local `od` daemon CLI for executing code-agents on the
user's machine.

Adds:
- apps/web — Next.js 16 App Router (auth, projects, daemon endpoints, SSE)
- apps/cli — `od` daemon CLI (login via local-listener OAuth, register, claim,
  spawn agents, stream task messages)
- packages/db — Drizzle schema with Postgres + SQLite dialects, runtime-
  selected by DATABASE_URL prefix
- packages/shared — zod request schemas, JWT helpers, token mint/hash

Sharing primitives: multica-style workspace_invitation (email → membership)
plus a per-project share link (`/share/<token>` with view/comment/edit role)
so a single project can be sent as a public URL without granting workspace
access.

Legacy Vite + Express stack (src/, daemon/) preserved alongside under
`legacy:*` npm scripts. Components, S3 file storage, and skill route
handlers are out of scope for this scaffold and tracked in HANDOFF.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-29 17:45:59 +08:00

36 lines
853 B
JSON

{
"name": "@open-design/web",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "next dev --turbopack -p 3000",
"build": "next build",
"start": "next start -p 3000",
"lint": "next lint",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@open-design/db": "workspace:*",
"@open-design/shared": "workspace:*",
"drizzle-orm": "^0.36.4",
"jose": "^5.9.6",
"nanoid": "^5.0.7",
"next": "16.0.0-canary.50",
"react": "19.0.0",
"react-dom": "19.0.0",
"ws": "^8.18.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/node": "^22.7.4",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@types/ws": "^8.5.13",
"tailwindcss": "^4.0.0",
"@tailwindcss/postcss": "^4.0.0",
"postcss": "^8.4.47",
"typescript": "^5.6.3"
}
}