refactor: migrate state imports from contexts to stores directory

This commit is contained in:
2026-06-09 18:47:04 +08:00
parent f79755f6ec
commit a5d8214650
29 changed files with 72 additions and 50 deletions
+14
View File
@@ -0,0 +1,14 @@
/**
* @file Chat 公共导出
*
* 状态机重构后:
* - 业务类(Dart 风格 context/reducer/side-effects)已合并到 chat-machine.ts
* - 类型由 chat-types.ts 重新导出
* - React 入口为 chat-context.tsxuseMachine 包装)
*
* 注:chat-side-effects.ts 暂未删除(其中 WebSocket 长生命周期逻辑
* 待下一轮迁移到 fromCallback actor)。
*/
export * from "./chat-context";
export * from "./chat-types";
export { chatMachine } from "./chat-machine";