Files
t3code/apps/server/package.json
Julius MarmingeandClaude Opus 4.5 4ce3c3bf8a Add event-sourced CoreEngine for server-side state management
Introduces a new event-sourced architecture with SQLite persistence:
- CoreEngine handles command dispatch and read model generation
- SqliteEventStore provides durable event storage
- CommandHandlers process domain commands (CreateProject, CreateThread, etc.)
- ReadModels derive current state from event history

Simplifies client-side state management by moving persistence to the server.
Removes redundant client-side persistence schema and session logic tests.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
2026-02-21 17:02:13 -08:00

37 lines
877 B
JSON

{
"name": "t3",
"version": "0.1.0",
"bin": {
"t3": "./dist/index.mjs"
},
"files": [
"dist"
],
"type": "module",
"main": "./dist/index.mjs",
"scripts": {
"dev": "VITE_DEV_SERVER_URL=${VITE_DEV_SERVER_URL:-http://localhost:5173} bun run src/index.ts",
"build": "tsdown && node scripts/bundle-client.mjs",
"start": "node dist/index.mjs",
"typecheck": "tsc --noEmit",
"test": "vitest run"
},
"dependencies": {
"@effect/schema": "^0.75.5",
"@effect/sql": "^0.49.0",
"@effect/sql-sqlite-node": "^0.50.1",
"effect": "^3.19.19",
"node-pty": "^1.1.0",
"open": "^10.1.0",
"ws": "^8.18.0"
},
"devDependencies": {
"@t3tools/contracts": "workspace:*",
"@t3tools/web": "workspace:*",
"@types/node": "^22.10.2",
"@types/ws": "^8.5.13",
"tsdown": "^0.20.3",
"typescript": "^5.7.3"
}
}