feat(digital): 接入角色世界书与账号实验服务

- digital: 新增私有会话、DeepSeek流式生成、停止与分支、世界书和预设编排
- experiments: 新增账号稳定分组、人工指定、生命周期、预设快照及实验漏斗审计
- migrations/data: 初始化20位成年角色、4本世界书与3种叙事预设
- tests/docs: 补充11项核心回归、市场参考和部署说明
This commit is contained in:
湛兮
2026-10-27 10:20:49 +08:00
parent 8a28ca4d83
commit 00dd5095bb
20 changed files with 2769 additions and 10 deletions
+4 -1
View File
@@ -21,7 +21,10 @@
"db:migrate:prod": "DOTENV_CONFIG_PATH=.env.production node dist/db/migrate.js",
"db:shell": "docker compose exec mysql mysql -uaccess_user -paccess_pass access_manage",
"mysql:up": "docker compose up -d mysql",
"mysql:down": "docker compose down"
"mysql:down": "docker compose down",
"digital:seed": "DOTENV_CONFIG_PATH=.env.development tsx src/modules/digital/digital.seed.ts",
"digital:seed:prod": "DOTENV_CONFIG_PATH=.env.production node dist/modules/digital/digital.seed.js",
"test:digital": "tsx --test tests/digital.test.ts"
},
"keywords": [
"mysql",