refactor(chat + workspace): chat和workspace重构,子路由、懒加载等

This commit is contained in:
sophie committed 2026-06-10 16:39:05 +08:00
1 parent 0a647a0b79
commit 1f1f7236b0
57 files changed
+4356 -3798

No files matched your search

@@ -2,7 +2,8 @@ import { defineStore } from 'pinia';
import { ref } from 'vue';
/**
* 聊天域共享状态骨架。Phase 2 迁移 ChatView 时会话列表、当前 agent 等迁入此处。
* features/chat/stores/chat.store.ts
* 聊天域共享状态:当前 agent、侧栏折叠等(会话列表逐步迁入)。
*/
export const useChatStore = defineStore('chat', () => {
const currentAgentId = ref<number | null>(null);