Skip to content

refactor(state): 收敛 chat/playground/flow store 的领域边界 #26

Description

@ShuhaoZhangTony

背景:chatStore/playgroundStore/flowStore 并行演进,存在会话与消息模型重复、状态职责重叠。\n\n目标:按领域收敛状态结构,统一类型来源,降低跨组件耦合。\n\n范围:\n- 抽取共享 chat domain types\n- 清理 playground 与 chat 重复能力\n- 引入 selector,减少流式更新导致的全量渲染\n\n验收标准:\n- store 角色边界清晰,无重复生命周期管理\n- 去除 store 内调试日志输出\n- 流式对话路径有基础性能基线\n\n证据:chatStore 内存在调试日志;playgroundStore 与 chat 领域重复建模明显。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions