This commit is contained in:
2026-04-21 18:27:46 +08:00
parent 04bff9617d
commit 4372ab5be1
358 changed files with 30788 additions and 14737 deletions

View File

@@ -139,6 +139,25 @@
4. `questDirector` / `runtimeItemAiDirector` 收缩为前端 SDK。
5. runtime story contract 开始补“随请求提交快照上下文”的后端承接能力,并把 NPC 待接委托 replace / abandon 接到后端。
### 5.1 已完成
1. 鉴权 access/refresh session 已全部转为后端 Cookie 会话。
2. `refreshSessionCookie` 已修复双 `Set-Cookie` 覆盖问题,登录/刷新/微信回调不再丢失 access cookie。
3. 浏览历史已收敛为后端唯一真相,前端不再维护正式本地 browse history 链。
4. runtime story 已支持随请求提交 snapshot由后端内部解释与持久化。
5. NPC 待接委托 `replace / abandon / accept` 已以后端 runtime action 为准。
6. custom world profile 浏览器正式入口已改走后端 route。
7. `questDirector` / `runtimeItemAiDirector` 已收缩为前端 SDK不再承担正式浏览器编排。
8. NPC 招募正式结算已迁到后端:
- 前端只负责招募对白展示与 release 目标选择
- 后端负责 `npcStates / companions / roster / currentEncounter / storyHistory` 正式结算
- 满员换队招募已由后端承接
### 5.2 剩余未完成
1. `src/services/ai.ts` 仍保留 legacy fallback / test 能力,尚未彻底压缩出正式浏览器主链。
2. 仍需继续审视是否存在其他 NPC / 运行时分支,把正式状态裁决留在前端。
---
## 6. 验收标准