Normalize the topology so web/desktop/mobile clients communicate only with Convex. Convex admits durable commands, dispatches private Flue turns through FLUE_URL, and stores the product-facing result before clients observe it. - Normalized relational schema: organizations, projects, conversations/turns/ messages/attachments, signals/sources/constraints, works/events/attachments. - Conversation turns queued in Convex; the agent runAction dispatches to Flue and persists assistant response, signals, and proposed work back into Convex. - Browser chat moved off the Flue transport: use-chat-agent now reads reactive Convex rows and sends through conversationMessages.send. - Fixed signed-in blank screen: gate all product queries on useConvexAuth (isAuthenticated && !isRefreshing) plus personal-org bootstrap. - Pinned react/react-dom to 19.2.8 via catalog to fix SSR dual-React crash. - Removed ~16.6k net lines: daemon, AgentOS/Orb, project issues/runs/artifacts, todos, browser Flue transport, mobile execution views, smoke scripts. Verified end-to-end on cheaptricks: connect repo, send actionable message, Flue turn completes, Signal + proposed Work created with exact provenance, persists across refresh.
38 lines
917 B
JSON
38 lines
917 B
JSON
{
|
|
"name": "@code/auth",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"exports": {
|
|
"./native": "./src/native/index.ts",
|
|
"./web": "./src/web/index.ts"
|
|
},
|
|
"scripts": {
|
|
"check-types": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@better-auth/expo": "catalog:",
|
|
"@code/backend": "workspace:*",
|
|
"@code/env": "workspace:*",
|
|
"@code/ui": "workspace:*",
|
|
"@convex-dev/better-auth": "catalog:",
|
|
"@tanstack/react-form": "catalog:",
|
|
"better-auth": "catalog:",
|
|
"convex": "catalog:",
|
|
"expo-constants": "~57.0.2",
|
|
"expo-secure-store": "~57.0.0",
|
|
"heroui-native": "catalog:",
|
|
"react": "catalog:",
|
|
"react-native": "0.86.0",
|
|
"sonner": "catalog:",
|
|
"zod": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@code/config": "workspace:*",
|
|
"@types/react": "~19.2.17",
|
|
"typescript": "catalog:",
|
|
"vite": "catalog:",
|
|
"vitest": "catalog:"
|
|
}
|
|
}
|