Commit Graph

44 Commits

Author SHA1 Message Date
OpenClaw Bot
a3e782d365 Fix EntityAttribute dataclass to include name, type, and options fields 2026-02-20 00:20:14 +08:00
OpenClaw Bot
91b5e4d46a Fix get_entity_attributes query to use LEFT JOIN and sort_order 2026-02-20 00:19:33 +08:00
OpenClaw Bot
1833163a95 Add created_at and updated_at fields to Entity dataclass 2026-02-20 00:18:49 +08:00
OpenClaw Bot
43a86e2ed6 Add embedding field to Entity dataclass 2026-02-20 00:18:12 +08:00
OpenClaw Bot
bd5f497ccb Update entity attribute API to support flexible attribute creation 2026-02-20 00:17:33 +08:00
OpenClaw Bot
f5c859b850 Fix remaining display_order references in main.py 2026-02-20 00:16:14 +08:00
OpenClaw Bot
66ae5091ed Fix main.py: display_order -> sort_order 2026-02-20 00:15:26 +08:00
OpenClaw Bot
4d516f8328 更新 README.md 和 STATUS.md - 标记实体属性扩展完成 2026-02-20 00:14:55 +08:00
OpenClaw Bot
ffbf0df3ce Fix attribute template column name: display_order -> sort_order 2026-02-20 00:14:37 +08:00
OpenClaw Bot
fcb09a4442 Phase 5: 实体属性扩展功能完成
- 新增数据库表: entity_attributes, attribute_templates, attribute_history
- 新增后端 API: 属性模板管理、实体属性 CRUD、属性历史查询、属性筛选搜索
- 支持属性类型: text, number, date, select, multiselect, boolean
- 更新 STATUS.md 和 README.md
2026-02-20 00:13:32 +08:00
OpenClaw Bot
22b235d2e3 Fix db_manager.py duplicate code 2026-02-20 00:12:58 +08:00
OpenClaw Bot
7b67f3756e Phase 5: 实体属性扩展功能
- 数据库层:
  - 新增 entity_attributes 表存储自定义属性
  - 新增 attribute_templates 表管理属性模板
  - 新增 attribute_history 表记录属性变更历史

- 后端 API:
  - GET/POST /api/v1/projects/{id}/attribute-templates - 属性模板管理
  - GET/POST/PUT/DELETE /api/v1/entities/{id}/attributes - 实体属性 CRUD
  - GET /api/v1/entities/{id}/attributes/history - 属性变更历史
  - GET /api/v1/projects/{id}/entities/search-by-attributes - 属性筛选搜索

- 前端 UI:
  - 实体详情面板添加属性展示
  - 属性编辑表单(支持文本、数字、日期、单选、多选)
  - 属性模板管理界面
  - 属性变更历史查看
  - 知识库实体卡片显示属性预览
  - 属性筛选搜索栏
2026-02-20 00:10:49 +08:00
OpenClaw Bot
626fa7e1c0 docs: update Phase 4/5/6 roadmap with completed features and next priorities 2026-02-19 18:18:00 +08:00
OpenClaw Bot
acb1d311ad 更新 STATUS.md: 记录 Phase 5 知识推理功能完成 2026-02-19 18:09:33 +08:00
OpenClaw Bot
9dd54b3a38 Phase 5: 知识推理与问答增强
- 新增 knowledge_reasoner.py 推理引擎
- 支持因果/对比/时序/关联四种推理类型
- 智能项目总结 API (全面/高管/技术/风险)
- 实体关联路径发现功能
- 前端推理面板 UI 和交互
- 更新 API 端点和健康检查

Refs: Phase 5 开发任务
2026-02-19 18:07:00 +08:00
OpenClaw Bot
cfdf37fc31 docs: Update STATUS.md with deployment info 2026-02-19 12:11:33 +08:00
OpenClaw Bot
8404e83a1c fix: Move static files mount to end of file to not override API routes 2026-02-19 12:11:09 +08:00
OpenClaw Bot
1fa94e0ca4 fix: Add backend directory to Python path for proper imports 2026-02-19 12:09:12 +08:00
OpenClaw Bot
bc07aab4bb Phase 5: Add Timeline View feature
- Add backend API endpoints for timeline data:
  - GET /api/v1/projects/{id}/timeline
  - GET /api/v1/projects/{id}/timeline/summary
  - GET /api/v1/entities/{id}/timeline

- Add database methods for timeline queries in db_manager.py

- Add frontend timeline view:
  - New sidebar button for timeline view
  - Timeline panel with date-grouped events
  - Visual distinction between mentions and relations
  - Entity filter dropdown
  - Statistics cards
  - Interactive event cards

- Update STATUS.md with Phase 5 progress
- Add view switching functions (switchView, switchKBTab)
- Add knowledge base loading functions
2026-02-19 12:06:14 +08:00
OpenClaw Bot
1f4fe5a33e Phase 4: Agent Assistant + Provenance + Entity Cards + Confidence Indicators
- Add llm_client.py for Kimi API integration with RAG and streaming support
- Add Agent API endpoints: query, command, suggest
- Add Provenance API for relation source tracking
- Add Entity details API with mentions and relations
- Add Entity evolution analysis API
- Update workbench.html with Agent panel, entity cards, provenance modal
- Update app.js with Agent chat, entity hover cards, relation provenance
- Add low-confidence entity highlighting
- Update STATUS.md with Phase 4 progress
2026-02-19 09:58:39 +08:00
OpenClaw Bot
087a8d9c4d docs: add Phase 4/5 development roadmap and checklist 2026-02-19 09:53:12 +08:00
OpenClaw Bot
cbd6eefaae docs: update deployment timestamp for Phase 3 2026-02-19 06:00:47 +08:00
OpenClaw Bot
4d4a6c0345 fix: use forward reference for Entity type hint 2026-02-18 18:03:01 +08:00
OpenClaw Bot
69cc0a74b4 fix: remove invalid aliyun-python-sdk-oss package, use oss2 only 2026-02-18 18:01:33 +08:00
OpenClaw Bot
7e192a9f0a Add Phase 3 feature documentation 2026-02-18 12:13:51 +08:00
OpenClaw Bot
5005a2df52 Add deployment script for Phase 3 2026-02-18 12:13:22 +08:00
OpenClaw Bot
da8a4db985 Phase 3: Memory & Growth - Multi-file fusion, Entity alignment with embedding, Document import, Knowledge base panel 2026-02-18 12:12:39 +08:00
OpenClaw Bot
643fe46780 feat: Phase 2 交互与纠错工作台完成
- 新增实体编辑 API (名称、类型、定义、别名)
- 新增实体删除和合并功能
- 新增关系管理 (创建、删除)
- 新增转录文本编辑功能
- 新增划词创建实体功能
- 前端新增实体编辑器模态框
- 前端新增右键菜单和工具栏
- 文本与图谱双向联动优化
2026-02-18 06:03:51 +08:00
OpenClaw Bot
2a3081c151 feat: Phase 1 MVP 完成
- 实现实体和关系同时提取(LLM)
- 添加 transcripts/mentions/relations 数据持久化
- 新增 API: 关系列表、转录列表、实体提及位置
- 前端实体高亮显示和图谱联动
- 添加 STATUS.md 跟踪开发进度
2026-02-18 00:03:08 +08:00
OpenClaw Bot
77d14e673f fix: expose modal functions to window object 2026-02-17 18:36:30 +08:00
OpenClaw Bot
6ccab612a9 fix: modal html syntax error 2026-02-17 18:34:09 +08:00
OpenClaw Bot
b82cbf9194 feat: add project management page 2026-02-17 18:32:20 +08:00
OpenClaw Bot
61f9998ca6 refactor: use uv sync with lock file 2026-02-17 18:19:52 +08:00
OpenClaw Bot
68655b58f4 refactor: use uv for dependency management 2026-02-17 18:17:26 +08:00
OpenClaw Bot
96f4ffe7c1 feat: frontend connects to real backend API 2026-02-17 18:16:23 +08:00
OpenClaw Bot
2750fb102a docs: add PRD v2.0 2026-02-17 18:13:29 +08:00
OpenClaw Bot
3b1fe83018 feat: production-ready backend with real Tingwu ASR 2026-02-17 18:12:11 +08:00
OpenClaw Bot
460bc5b052 feat: Phase 3 knowledge growth - multi-file fusion + entity alignment 2026-02-17 13:47:06 +08:00
OpenClaw Bot
b28af9a611 feat: Phase 2 workbench - dual-view editor with D3 graph 2026-02-17 13:38:03 +08:00
OpenClaw Bot
c1deccbea8 feat: complete Tingwu ASR integration with OSS upload 2026-02-17 12:53:29 +08:00
OpenClaw Bot
887ba811e5 feat: add OSS uploader for Tingwu ASR 2026-02-17 12:26:47 +08:00
OpenClaw Bot
32df5d3303 feat: integrate Aliyun Tingwu ASR (WIP: needs OSS upload) 2026-02-17 12:23:31 +08:00
OpenClaw Bot
e85038a1fb feat: replace Whisper with Deepgram ASR + speaker diarization 2026-02-17 12:14:25 +08:00
ff72dd0c56 Initial commit 2026-02-17 11:40:37 +08:00