feat: 添加个人规则功能

- 新增个人规则管理模块 (personalRulesManager.ts)
   - 支持创建、编辑、删除多条规则
   - 规则存储在用户目录 ~/.iccoder/rules/
   - 对话时自动将规则传递给后端
   - 添加后端对接文档和 webpack 优化指南
This commit is contained in:
Roe-xin
2026-03-07 15:13:54 +08:00
parent 06573e37d7
commit 8751944053
10 changed files with 1139 additions and 100 deletions

View File

@ -48,6 +48,8 @@ export interface DialogRequest {
newMessages?: CompactedMessage[];
/** 知识图谱数据JSON 字符串,用于恢复知识图谱) */
knowledgeData?: string;
/** 个人规则 */
personalRules?: string;
}
// ============== SSE 事件类型 ==============