feat: 导入聊天记录支持生成会话索引

This commit is contained in:
digua
2026-01-11 15:00:35 +08:00
committed by digua
parent 8d524bdd8b
commit de3aef8f57
15 changed files with 1084 additions and 8 deletions

View File

@@ -53,3 +53,15 @@ export type { MessageResult, PaginatedMessages, MessagesWithTotal } from './mess
// SQL 实验室
export { executeRawSQL, getSchema } from './sql'
export type { SQLResult, TableSchema } from './sql'
// 会话索引
export {
generateSessions,
clearSessions,
hasSessionIndex,
getSessionStats,
updateSessionGapThreshold,
getSessions,
DEFAULT_SESSION_GAP_THRESHOLD,
} from './session'
export type { ChatSessionItem } from './session'