- Python FastAPI 引擎:世界状态模拟、全局能量条、世界事件系统 - Node.js WebSocket 服务器:实时通信、事件队列批处理 - 前端仪表盘:世界状态可视化、行动日志、事件展示 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
23 lines
476 B
JSON
23 lines
476 B
JSON
{
|
|
"name": "ai-town-server",
|
|
"version": "1.0.0",
|
|
"description": "AI Town WebSocket server",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"dev": "tsx watch src/index.ts",
|
|
"build": "tsc",
|
|
"start": "node dist/index.js"
|
|
},
|
|
"dependencies": {
|
|
"express": "^4.18.2",
|
|
"ws": "^8.14.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^4.17.21",
|
|
"@types/node": "^20.10.0",
|
|
"@types/ws": "^8.5.10",
|
|
"tsx": "^4.6.2",
|
|
"typescript": "^5.3.2"
|
|
}
|
|
}
|