- 27 May, 2026 7 commits
-
-
- 新增 `app/infrastructure/time.py` 封装中国时区当前时间工具函数,替换全项目手动处理UTC时区的代码 - 新增数据库迁移脚本将 `official_site_agent_display` 表的 `display_status` 默认值设为 `disable` - 更新对应模型、Schema、业务服务的默认展示状态配置 - 调整第三方库日志级别至WARNING,减少apscheduler、httpx等库的冗余日志输出 - 优化企业微信同步模块的日志格式和消息过滤逻辑,统一时区处理
imwangxiaozhou committed -
sunqi02 committed
-
孙奇 committed
-
http://192.168.3.233:8090/ai/ai-workflow孙奇 committed
-
孙奇 committed
-
- 归档两个渠道活码相关的openspec变更集,将相关文件移动至archive目录并清理原临时目录 - 重构web/vite.config.ts配置文件,使用loadEnv加载环境变量,优化代理配置与整体配置结构 - 更新single-page官网H5首页的openspec规范,补充方法论模块的步骤图标、预览交互、滚动锁定等细节 - 优化single-page的MethodologySection组件,匹配新的openspec规范: - 添加预览层背景滚动锁定与恢复逻辑 - 实现轮播与预览层的首尾循环滑动效果 - 修复步骤图标样式,让图标完全填满圆形容器 - 调整预览层交互逻辑,点击蒙层关闭预览、点击图片本身不关闭,支持预览层内滑动切换图片
胡悦 committed -
- 修复官网Agent编辑弹窗的图标上传校验逻辑,新增大小限制(最大2MB)与格式校验,限制仅支持静态图片,移除GIF支持并更新辅助文案 - 调整岗位能力区组件样式,将素材展示改为object-contain完整显示比例,为视频添加背景色,移除图片的hover缩放动画 - 修复管家Agent的岗位展示逻辑,固定其所属岗位为系统调度,修正列表、编辑页与详情抽屉的展示行为 - 对齐官网素材上传的API端点,修复multipart文件上传的路由问题 - 补充大量OpenSpec规范、文档计划与相关测试用例 - 更新测试断言,修正测试用例的匹配逻辑 - 调整PositionTabs组件的顶部内边距,优化移动端展示样式 - 归档相关的OpenSpec变更文档,完善项目文档体系
胡悦 committed
-
- 26 May, 2026 33 commits
-
-
增加内容展示长度至25字符以提供更多上下文,同时将"下载"替换为"点击"优化表述
jimchenqj committed -
imwangxiaozhou committed
-
imwangxiaozhou committed
-
sunqi02 committed
-
sunqi02 committed
-
sunqi02 committed
-
sunqi02 committed
-
sunqi02 committed
-
sunqi02 committed
-
sunqi02 committed
-
imwangxiaozhou committed
-
- 完成项目从SQLite到MySQL的全面迁移,移除所有SQLite相关的默认配置与连接逻辑,强制要求通过`DATABASE_URL`配置合法的mysql+pymysql://格式连接字符串 - 更新docker-compose配置、env示例文件,移除本地dev.db挂载与默认SQLite兜底连接 - 新增SQLite数据一键迁移脚本`scripts/import_sqlite_to_mysql.py`,支持将本地SQLite数据导入MySQL - 重构统一日志配置模块,替换原有零散的logging初始化代码,支持按服务名生成日志文件 - 优化官网首页展示逻辑:从Agent表实时获取agent名称与运行状态,不再依赖展示配置中的缓存旧数据 - 新增agent增改操作后自动失效首页缓存的逻辑,确保页面数据实时性 - 将官网标签页默认的agent展示状态修改为禁用 - 重构企微同步服务,优化增量同步逻辑,新增检查点手动管理API接口 - 优化企微调试接口,将客户群重置逻辑改为标记禁用而非直接删除数据 - 新增大量单元测试,调整测试配置要求使用`TEST_DATABASE_URL`环境变量 - 补全项目中缺失的模型导入,优化本地依赖路径加载逻辑
imwangxiaozhou committed -
database.py now reads DB_HOST/DB_PORT/DB_NAME/DB_USER/DB_PASSWORD from .env file (via python-dotenv) to build mysql+pymysql:// URL. Falls back to DATABASE_URL (SQLite) when DB_HOST is not set. conftest.py now uses the same MySQL engine as production instead of SQLite in-memory, ensuring tests validate against real MySQL. 42/42 core tests pass against MySQL. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
胡悦 committed
-
- C1: Move user message add before agent.reply() in try/finally to prevent message loss on agent errors - C2: Add try/except with rollback around DB commit in save_to_db() - I3: Move json and Session imports to top level - M3: Add index on updated_at column per design spec Reviewed-by: Claude Opus 4.7
sunqi02 committed -
Reconnects automatically when MySQL server drops idle connections. No effect on SQLite. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
- 统一管家Agent在列表、详情抽屉、编辑页的所属岗位展示为「系统调度」,兼容`is_steward`字段与旧版判断逻辑 - 优化渠道活码管理:移除新增/编辑页的状态编辑控件,默认启用状态提交,删除列表页启停操作按钮 - 移除官网Agent配置列表的「展示素材」列,保留编辑弹窗的素材配置能力 - 新增Agent描述输入框最多500字的校验限制 - 调整PositionTabs与Banner组件的UI样式、移动端适配,修复Banner资源路径适配站点base的问题 - 新增静态资源banner2.png,补充相关测试与OpenSpec文档,更新任务清单并完成对应验收
胡悦 committed -
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
Adds ai_sessions table with session_id, room_id, channel, conversation_history, created_at, and updated_at columns. Registers model in main.py for auto-creation on startup. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
sunqi02 committed -
sunqi02 committed
-
sunqi02 committed
-
sunqi02 committed
-
jimchenqj committed
-
重构企业微信群名生成逻辑,将原有的基于客户名称+`-service`的格式改为基于职位名称+「服务群」的格式;新增消息发送状态自动推断方法,替代直接从参数获取bot_send的方式,优化业务判断准确性;新增无效群组状态过滤逻辑,解析客户联系ID时排除异常状态的群组;更新测试用例适配新的群名生成规则。
imwangxiaozhou committed -
注释掉 .gitignore 中的数据库文件忽略规则,更新并提交 dev.db 文件
imwangxiaozhou committed -
payload字段可能包含损坏的历史业务数据,调试概览接口无需展示该字段,显式排除后可避免单条脏消息导致整个接口异常。同时新增测试用例验证该容错逻辑。
imwangxiaozhou committed -
修改数据库操作逻辑,从标记群记录失效改为直接删除一客一群和建群请求记录;更新请求描述与返回字段,拆分删除计数字段。
imwangxiaozhou committed