Commit Graph
56 Commits
Author SHA1 Message Date
QihuAI Design 771c8456b8 chore: normalize line endings to LF via .gitattributes
Root-cause fix for mixed CRLF/LF in the repo (no .gitattributes previously).
Adds '* text=auto eol=lf' and explicit binary rules so all future checkouts
are LF. Renormalizes all tracked text files (no logical content change).
Backup tags: image qihuaiflow:backup-lineend-20260725-121632, git backup-lineend-pre-20260725-121632.
2026-07-25 12:16:39 +08:00
QihuAI Design 97125d7b65 T4: AnySearch 改为全局固定配置 + 修复外部服务弹窗 UI 2026-07-21 19:27:27 +08:00
QihuAI Design d55a496ff4 Phase 4.3 ACA: MCP.tsx protocol selector panel + api ACA methods (v2026.07.19.12)
CI / gate (push) Has been cancelled
2026-07-20 14:45:21 +08:00
QihuAI Design 72d6f9ab66 Phase 4.1+: mermaid diagrams + YAML workflow buttons + agents API (v2026.07.19.11)
CI / gate (push) Has been cancelled
2026-07-20 09:24:40 +08:00
QihuAI Design 669c16b0a0 Phase 4.1: 技能市场安检引擎 + 版本化 + 绿标 (v2026.07.19.9)
CI / gate (push) Has been cancelled
2026-07-19 19:15:35 +08:00
QihuAI Design 71fc502a92 Phase 3.3 前端: 后台 Agent 编排图 JSON 编辑器(载入/校验/保存/清除/示例)
CI / gate (push) Has been cancelled
2026-07-19 16:55:20 +08:00
QihuAI Design 0600c37b9e feat(agents): Phase3.1 工具/MCP权限沙箱(tool_policy) 白名单+预算熔断+每轮上限+后台管理UI [v2026.07.19.6]
CI / gate (push) Has been cancelled
2026-07-19 12:34:40 +08:00
QihuAI Design 2969544d54 feat(observability): Phase2.3 媒体/LLM 可观测面板(后端归因聚合+前端页) 并修复 token_usage_logs trace_id 写入(chat_service/im_llm) [v2026.07.19.5]
CI / gate (push) Has been cancelled
2026-07-19 10:18:14 +08:00
QihuAI Design f8d1c18927 fix(admin): 后台未登录访问 Skills/MCP/Agent 报 Not authenticated\n\n- AdminLayout 增加登录+管理员守卫,无 token 或非 admin 跳 /login\n- api request() 处理 403 Not authenticated/需要管理员权限,清 token 跳登录\n- 根因:FastAPI HTTPBearer 无 token 返回 403 而非 401,前端未处理 403 跳转 2026-07-17 20:46:05 +08:00
QihuAI Design 6f3fb400a4 feat(market): skills/mcp 能力分类 + AI验证期自动识别 + 导入自动入座 2026-07-17 12:09:42 +08:00
QihuAI Design d374d464e8 feat: 智能Agent接入前连通性/鉴权校验
- 前端技能市场「接入单个Agent」新增「测试连接」按钮,接入前必须校验通过

- 后端 POST /market/apps/verify-agent:dify 走 chat-messages 鉴权探测(trust_env=False 直连),n8n/coze 走 HEAD 可达性探测

- upload_app 对 agent 类型做服务端守卫,密钥无效/不可达直接 400 拒绝

- MarketApp 新增 platform 列(dify/n8n/coze),009 迁移幂等加列
2026-07-15 13:01:19 +08:00
QihuAI Design bc2899ed09 前台8项体验修复: 知识库上传自动刷新; 资产PDF归类; Token驾驶舱媒体统计; AI模糊意图澄清选择; ChatPage增加MCP/附件上传/语音; 技能市场安装态修复+清理演示数据; MCP协议应用改名MCP应用; Agent单应用接入(名称/介绍/API Key) 2026-07-15 10:33:43 +08:00
QihuAI Design 463824480b fix: 知识库文档上传(尾斜杠+FormData+真文件接收); AI回复强制Markdown; 平台全功能知识库注入系统提示 2026-07-14 23:04:30 +08:00
QihuAI Design d179cc2f02 Round6: 前台图片缩略图+下载/视频修复; 后台连接测试单次+自动消失; 导航重组; 存储中文化; 自动化去掉创建按钮; 短信验证码(注册/重置/充值通知) 2026-07-14 18:49:27 +08:00
QihuAI Design fcc84d98df 增强后台数据驾驶舱:6张指标卡(近7天活跃/订阅成功/文档数等)+30天Token趋势+操作/审计日志分页与CSV下载 2026-07-14 12:00:19 +08:00
QihuAI Design 6525b4d994 feat: 补齐缺失页 Phase1 - 多平台IM Bot(企业微信/飞书/QQ/悟空IM)+应用服务页+路由导航 2026-07-14 11:38:08 +08:00
QihuAI Design ab54d7344c refactor: 移除通用频道管理(LangBot)模块,IM Bot 改为直接对接;迁移 _call_real_llm 至 im_llm 2026-07-14 08:21:56 +08:00
QihuAI Design 945eeb8ba0 feat: 模型库能力默认模型UI + 前台Auto默认模型 + AGNES直连修复 + 意图识别增强 2026-07-14 05:47:57 +08:00
QihuAI Design e38e18fbe7 feat(admin): 短信配置独立页+短信宝支持;后台顶部面包屑导航优化 2026-07-13 19:24:13 +08:00
QihuAI Design d404aa4e29 feat(frontend): HashRouter->BrowserRouter 干净URL可独立索引 + 静态预渲染(SSR注入#root/robots/sitemap) + logo回顶 2026-07-13 15:01:53 +08:00
qyyfw 6d5e215a9f fix: api/index.ts 补回 imUserAPI 导出(1346fbb 有, 工作树遗漏), 供 WechatBot 等恢复页面使用 2026-07-11 16:13:52 +08:00
qyyfw 223485848c fix: api/index.ts 恢复导出 request 基础 HTTP 助手(1346fbb 有 export, 工作树遗漏), 供 UserPortal 等恢复页面使用 2026-07-11 16:10:50 +08:00
qyyfw 77952fd63e fix: keep working-tree api (chatAPI knowledge_ids compat) but swap adminAPI to full 1346fbb version (+4 post-1346fbb methods) so restored admin pages build without breaking ChatPage 2026-07-11 15:53:50 +08:00
qyyfw 36e369044a fix: restore complete frontend api client (adminAPI) from 1346fbb + keep 4 post-1346fbb methods (toggleAd/getAdminApps/updateApp/assignCoupon) to fix restored admin pages build 2026-07-11 15:47:01 +08:00
qyyfw 5d7f32db0a refactor: sync running-container source back to repo for reproducible docker compose build; remove dead code (orphan pipeline.py + 104 stale files from iterative dev) and drop unused app/ mirror dir 2026-07-11 06:29:32 +08:00
qyyfw 4c372746d5 feat: 补全模型能力选项(11种) + 按能力指定默认模型 + Auto自动模式 2026-07-10 20:04:38 +08:00
WorkBuddy 62f3986e04 feat: 个人微信-对话历史持久化+平台内查阅页; 修复第二轮不回复(过滤/字段/重试); 多轮上下文 2026-07-10 07:01:39 +08:00
WorkBuddy 75a708a14d feat: 个人微信改为前台每用户独立绑定(按 user_id 隔离),后台仅保留全局 Bot 2026-07-09 20:53:25 +08:00
qyyfw 9ed9961b50 feat(portal): User Portal - frontend portal page + backend API + full integration
- Frontend: UserPortal.tsx with 5 tabs (Overview, API Keys, Recharge, Tenants, Analytics)
- Backend: user_portal.py with 10 endpoints (user profile, API keys, billing, tenants, analytics)
- Main.py: register portal router at /app/api/portal
- api/index.ts: fix corrupted line, add 29 missing adminAPI methods, export request function
- Billing.tsx: fix Package type missing description field
- App.tsx: add portal route
- All 7 portal API endpoints verified passing (7/7)
- API Key creation verified working
- Frontend build: 476 modules, 0 errors
2026-07-07 21:16:01 +08:00
qyyfw 66e8b633ea Fix: User Portal deployment - add put function, portal backend, frontend build fix 2026-07-07 20:50:21 +08:00
qyyfw aec63eaf56 Feature: Multi-tenant + Billing + Analytics - 3 new modules with 40+ API endpoints 2026-07-07 18:53:40 +08:00
qyyfw 839be8f97f feat: membership benefits refinement - permissions and quotas linked to plans 2026-07-07 15:39:01 +08:00
qyyfw 0886c26157 Phase4剩余: 推广+成就系统前后端完成 (promotion + achievement)
- 新增: Achievement.tsx 成就系统前端页面 (644行)
- 新增: achievement_admin.py 成就系统后端API (9个端点)
- 新增: migration SQL (achievements, user_achievements, achievement_progress_log)
- 更新: api/index.ts 添加推广+成就API方法 (23个方法)
- 更新: App.tsx 添加 /admin/promotion 和 /admin/achievement 路由
- 更新: AdminLayout.tsx 添加成就系统导航项和图标
- 修复: Promotion.tsx 导入路径 (@/utils/api → @/api)
- 前端构建: 472 modules, 11.23s, 成功
- API测试: 全部6个端点返回 code=0
2026-07-07 14:51:42 +08:00
qyyfw 7daeae6fc7 Phase 4: IM Bot Integration - admin module, frontend, LangBot gateway, routing rules, quick setup wizard 2026-07-06 19:59:05 +08:00
qyyfw 891d1ce527 Phase G5: Local Agent / Privacy Mode — 4 tables, 19 API endpoints, platform_bridge MCP, PrivacySettings.tsx (740 lines). 25/25 tests pass. 2026-07-06 17:18:05 +08:00
qyyfw 0486210133 Phase G4: Distribution Builder - SaaS product line mgmt, license keys, config export, frontend UI 2026-07-06 16:36:26 +08:00
qyyfw 9b3e15ace6 Phase G2-1~G2-6: Code Execution Worker - Docker sandbox deployment, backend API (code_exec_admin.py), frontend CodeExecTab, security hardening (read-only FS, non-root, capability dropping, RLIMIT_AS) 2026-07-06 14:10:41 +08:00
qyyfw 909c013e2d Phase G1-1~G1-6: MCP Marketplace Fusion - DB migration, mcp_market_admin.py, Deep Link generator, basic security scanner, McpMarketTab.tsx frontend, Market.tsx integration 2026-07-06 11:48:21 +08:00
qyyfw 065d2f05f6 Phase 3.8: Asset Center Enhancement - fix list endpoint with raw SQL, admin asset management deployed 2026-07-06 10:02:19 +08:00
qyyfw 63741b3f0f Phase 3.7: Market Expansion - analytics dashboard, featured apps, category system, real API integration (replaces mock data) 2026-07-06 09:46:53 +08:00
qyyfw b675e9fd20 Phase 3.6: Agent Visual Orchestration - DAG Workflow Editor (8 node types, drag-drop canvas, execution engine) 2026-07-06 09:27:30 +08:00
qyyfw 4b49333f9d Phase C5: Storage Quota - user/membership tier quota management 2026-07-06 08:13:51 +08:00
qyyfw 6ccf6d6867 Phase C4: 模型连接测试增强 - 多模态测试+批量测试+暗色主题修复 2026-07-05 21:44:18 +08:00
qyyfw 5828728f00 Phase C3: Site Settings Refactoring with horizontal sub-tabs and Logo upload
- Replaced vertical card layout with 5 horizontal tabs: 基础设置/Logo设置/邮件配置/短信配置/注册设置
- Added Logo upload tab with drag-drop preview and file upload
- Added Registration Settings tab (allow_register, email/phone verify, default role, welcome message)
- Added logo upload backend endpoint (POST /admin/settings/logo/upload)
- Added modal sub-component CSS classes for dark theme
- Fixed all hardcoded white backgrounds for dark theme
- Added uploadLogo method to adminAPI
2026-07-05 19:28:49 +08:00
qyyfw 6583bd2a62 feat: Phase 3.5 AI App Management - lifecycle, templates, versioning, analytics 2026-07-03 19:41:17 +08:00
qyyfw e7d1c39c18 feat: Phase 3.4 Developer API Management - API Keys, OpenAPI Clients, Call Stats, Slow Logs 2026-07-03 19:04:49 +08:00
qyyfw 5a7c717b25 Phase 3.3: MCP Protocol Support Module 2026-07-03 15:21:34 +08:00
qyyfw aa8d689039 Phase 2026-07-03 15:06:25 +08:00
qyyfw b2ba75a666 Phase 3.1: OSS storage config management (MinIO/AliyunOSS/AWS S3)
Backend:
- Add OSSStorageConfig model (models.py)
- Create storage_admin.py API (9 endpoints): stats, CRUD, toggle, set-default, test connection
- Register route /app/api/admin/storage in main.py
- Create oss_storage_configs table in MySQL

Frontend:
- Add Storage.tsx admin page (713 lines) with stats, table, create/edit modal
- Register /admin/storage route in App.tsx
- Add nav item and icon in AdminLayout.tsx
- Add 9 API methods in api/index.ts
2026-07-03 14:45:10 +08:00
qyyfw 8ec808b515 fix: 6 bug fixes - timezone CST, knowledge_ids mismatch, skill uninstall, dashboard stats, chat knowledge retrieval, skill selection 2026-07-03 09:18:04 +08:00