feat(user): add user data management system with global state

- Implement user store with Zustand for global state management
- Create UserDataProvider component to initialize user data on app load
- Add useUserData hook for accessing and managing user data
- Refactor knowledge base list page to use new hooks
This commit is contained in:
2025-10-11 17:18:40 +08:00
parent 6f0332c1ff
commit 836ee763e3
16 changed files with 1256 additions and 243 deletions

View File

@@ -1,5 +1,5 @@
import { Edge, Node } from '@xyflow/react';
import { IReference, Message } from './chat';
import type { IReference, Message } from './chat';
export type DSLComponents = Record<string, IOperator>;