OpenClaw Bot
1f33d203e8
fix: auto-fix code issues (cron)
...
- 修复重复导入/字段
- 修复异常处理 (将裸 except Exception 改为具体异常类型)
- 修复PEP8格式问题
- 清理未使用导入
- 添加 UUID_LENGTH 常量替代魔法数字
- 添加 DEFAULT_RATE_LIMIT, MASTER_KEY_RATE_LIMIT, IP_RATE_LIMIT 常量
- 添加 MAX_TEXT_LENGTH, DEFAULT_TIMEOUT 常量
涉及文件:
- backend/main.py
- backend/db_manager.py
- backend/llm_client.py
- backend/neo4j_manager.py
- backend/tingwu_client.py
- backend/tenant_manager.py
- backend/growth_manager.py
- backend/workflow_manager.py
- backend/image_processor.py
- backend/multimodal_entity_linker.py
- backend/multimodal_processor.py
- backend/plugin_manager.py
- backend/rate_limiter.py
2026-03-01 03:06:06 +08:00
OpenClaw Bot
ea58b6fe43
fix: auto-fix code issues (cron)
...
- 修复重复导入/字段
- 修复异常处理
- 修复PEP8格式问题
- 添加类型注解
2026-03-01 00:08:06 +08:00
OpenClaw Bot
bfeaf4165e
fix: auto-fix code issues (cron)
...
- 修复PEP8格式问题(行长度超过120字符)
- 修复类型注解(添加__init__和_get_db返回类型)
- 删除__pycache__缓存文件
- 优化长SQL查询语句格式
2026-02-28 12:12:57 +08:00
OpenClaw Bot
1a9b5391f7
fix: auto-fix code issues (cron)
...
- 修复重复导入/字段
- 修复异常处理
- 修复PEP8格式问题
- 添加类型注解
2026-02-28 09:15:51 +08:00
OpenClaw Bot
74c2daa5ef
fix: auto-fix code issues (cron)
...
- 修复重复导入/字段
- 修复异常处理
- 修复PEP8格式问题
- 添加类型注解
2026-02-28 09:11:38 +08:00
OpenClaw Bot
fe3d64a1d2
fix: auto-fix code issues (cron)
...
- 修复重复导入/字段
- 修复异常处理
- 修复PEP8格式问题
- 添加类型注解
- 修复缺失的urllib.parse导入
2026-02-28 06:03:09 +08:00
OpenClaw Bot
33555642db
fix: auto-fix code issues (cron)
...
- 修复重复导入/字段
- 修复异常处理
- 修复PEP8格式问题
- 添加类型注解
2026-02-28 03:03:50 +08:00
OpenClaw Bot
d767f0dddc
fix: auto-fix code issues (cron)
...
- 修复重复导入/字段
- 修复异常处理
- 修复PEP8格式问题
- 添加类型注解
2026-02-27 21:12:04 +08:00
OpenClaw Bot
17bda3dbce
fix: auto-fix code issues (cron)
...
- 修复重复导入/字段
- 修复异常处理
- 修复PEP8格式问题
- 添加类型注解
2026-02-27 18:09:24 +08:00
OpenClaw Bot
be22b763fa
fix: auto-fix code issues (cron)
...
- 修复重复导入/字段
- 修复异常处理
- 修复PEP8格式问题
- 添加类型注解
- 修复重复函数定义 (health_check, create_webhook_endpoint, etc)
- 修复未定义名称 (SearchOperator, TenantTier, Query, Body, logger)
- 修复 workflow_manager.py 的类定义重复问题
- 添加缺失的导入
2026-02-27 09:18:58 +08:00
OpenClaw Bot
797ca58e8e
Phase 7 Task 7: 插件与集成系统
...
- 创建 plugin_manager.py 模块
- PluginManager: 插件管理主类
- ChromeExtensionHandler: Chrome 插件处理
- BotHandler: 飞书/钉钉/Slack 机器人处理
- WebhookIntegration: Zapier/Make Webhook 集成
- WebDAVSync: WebDAV 同步管理
- 创建完整的 Chrome 扩展代码
- manifest.json, background.js, content.js, content.css
- popup.html/js: 弹出窗口界面
- options.html/js: 设置页面
- 支持网页剪藏、选中文本保存、项目选择
- 更新 schema.sql 添加插件相关数据库表
- plugins: 插件配置表
- bot_sessions: 机器人会话表
- webhook_endpoints: Webhook 端点表
- webdav_syncs: WebDAV 同步配置表
- plugin_activity_logs: 插件活动日志表
- 更新 main.py 添加插件相关 API 端点
- GET/POST /api/v1/plugins - 插件管理
- POST /api/v1/plugins/chrome/clip - Chrome 插件保存网页
- POST /api/v1/bots/webhook/{platform} - 接收机器人消息
- GET /api/v1/bots/sessions - 机器人会话列表
- POST /api/v1/webhook-endpoints - 创建 Webhook 端点
- POST /webhook/{type}/{token} - 接收外部 Webhook
- POST /api/v1/webdav-syncs - WebDAV 同步配置
- POST /api/v1/webdav-syncs/{id}/test - 测试 WebDAV 连接
- POST /api/v1/webdav-syncs/{id}/sync - 触发 WebDAV 同步
- 更新 requirements.txt 添加插件依赖
- beautifulsoup4: HTML 解析
- webdavclient3: WebDAV 客户端
- 更新 STATUS.md 和 README.md 开发进度
2026-02-23 12:09:15 +08:00
OpenClaw Bot
98d39228c3
Fix AttributeHistory dataclass to match schema
2026-02-20 00:21:52 +08:00
OpenClaw Bot
d1ab36a543
Fix get_attribute_history query to not use template_id column
2026-02-20 00:21:14 +08:00
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
ffbf0df3ce
Fix attribute template column name: display_order -> sort_order
2026-02-20 00:14:37 +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
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
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
460bc5b052
feat: Phase 3 knowledge growth - multi-file fusion + entity alignment
2026-02-17 13:47:06 +08:00