Commit Graph

  • f33812cf7b ci: add GitHub Actions CI/CD pipeline (API-AI-078) wangdl 2026-06-18 13:57:46 +08:00
  • 094f00553a feat: production docker-compose with health checks + resource limits (API-AI-077) wangdl 2026-06-18 13:53:24 +08:00
  • 5c7b8d1855 docs: add API reference with error codes, rate limiting, changelog (API-AI-076) wangdl 2026-06-18 13:49:45 +08:00
  • 4a69d14047 test: add integration tests for snapshot-builder.service (API-AI-068) wangdl 2026-06-18 12:23:52 +08:00
  • 3e43b2b52d test: add unit tests for runtime-internal.controller (API-AI-067) wangdl 2026-06-18 12:19:06 +08:00
  • 5fbd437232 test: add unit tests for credential-encryption.service (API-AI-066) wangdl 2026-06-18 12:16:53 +08:00
  • 4713758344 test: add unit tests for platform-budget.service (API-AI-065) wangdl 2026-06-18 12:15:20 +08:00
  • c433b3dc5d refactor: split shared mockFindUnique into settings/usage mocks in quota tests wangdl 2026-06-18 12:14:33 +08:00
  • 9c7247aa90 test: add unit tests for user-ai-quota.service (API-AI-064) wangdl 2026-06-18 12:12:57 +08:00
  • 1a5e040ed8 test: add unit tests for user-ai.controller (API-AI-063) wangdl 2026-06-18 11:57:38 +08:00
  • e16b970a2c docs: sync internal API protocol with heartbeat & snapshot changes wangdl 2026-06-18 11:54:48 +08:00
  • b0e9796acb fix: use ConfigService for DeepSeek base URL in testCredential wangdl 2026-06-18 11:47:59 +08:00
  • cb24e5fb96 fix: job-reaper batch-loop instead of single take:500 to avoid missing jobs wangdl 2026-06-18 11:45:36 +08:00
  • c0594c518d test: add concurrent resolveSnapshot race test (API-AI-R01) wangdl 2026-06-18 11:41:35 +08:00
  • 7725b3d2ea perf: replace N+1 dedup queries with batch pre-fetch in convertCandidates wangdl 2026-06-18 11:40:41 +08:00
  • c2e5590718 fix: add observability to fire-and-forget persistResult & notifyJobComplete wangdl 2026-06-18 11:38:30 +08:00
  • 7aea03f6e0 fix: clarify quota check is read-only, prevent refactoring pitfalls wangdl 2026-06-18 11:36:01 +08:00
  • c88af39673 feat: AI Runtime 完整业务逻辑实现 wangdl 2026-06-18 11:22:03 +08:00
  • eba9632a4e test: sync runtime-internal.service tests with current implementation (API-AI-062) wangdl 2026-06-18 11:12:02 +08:00
  • 02979e3c24 test: add unit tests for runtime-internal.service (API-AI-062) wangdl 2026-06-18 11:03:23 +08:00
  • 012e26b950 feat: API-Runtime 版本兼容协议 (API-AI-072) wangdl 2026-06-11 21:42:02 +08:00
  • 00ac32a103 feat: 平台 AI 预算、成本熔断与全局限流 (API-AI-071) wangdl 2026-06-11 21:40:47 +08:00
  • cc2ccbad59 fix: audit fixes for Runtime Internal API wangdl 2026-06-11 21:38:44 +08:00
  • 5cbf20046a feat: 用户 AI 消费额度与日限流 (API-AI-070) wangdl 2026-06-11 21:25:18 +08:00
  • 43e6e9029c feat: Runtime Internal API (API-AI-028~034) wangdl 2026-06-11 21:23:52 +08:00
  • 87fe180874 fix: add missing User relation on AiLearningAnalysis model wangdl 2026-06-11 20:52:19 +08:00
  • 4cf2aa99fd feat: 用户 AI 设置与 Key 管理 API (API-AI-011~015) wangdl 2026-06-11 20:39:29 +08:00
  • 6888fe1d12 feat: AI Runtime Prisma Schema (API-AI-004~010 + 070/071/075) wangdl 2026-06-11 20:38:00 +08:00
  • e6cbe16a11 feat: AI 数据权限、隐私授权与用户设置设计 (API-AI-003) wangdl 2026-06-11 20:36:40 +08:00
  • 045e0b2501 feat: AI Job 状态机与任务调度设计 (API-AI-002) wangdl 2026-06-11 20:35:59 +08:00
  • eea9e3e7c6 feat: API-Runtime 内部通信协议与 DTO (API-AI-001) wangdl 2026-06-11 20:35:20 +08:00
  • 804c414901 feat: AI Runtime 总体架构文档 (API-AI-000) wangdl 2026-06-11 20:33:22 +08:00
  • 87cfa2c20d fix: resolve AdminJwtGuard import error in reading-event module wangdl 2026-06-11 20:27:15 +08:00
  • 6eae39a395 fix: register M8 modules in app.module.ts (routes were 404) wangdl 2026-06-09 22:03:42 +08:00
  • 8dfda9f10e fix: #159 getSummary/getTrend optimization + #160 admin auth guard wangdl 2026-06-09 21:50:31 +08:00
  • 1442b9b69e fix: admin controller audit — merge duplicate controllers, add Post import, validate params wangdl 2026-06-09 21:46:37 +08:00
  • 4414f9cc55 feat: M-API-ADMIN-INFO admin backend complete (21/21) wangdl 2026-06-09 21:42:47 +08:00
  • c6f254f864 fix: add completed/interrupted guard in session upsert (out-of-order event defense) wangdl 2026-06-08 21:14:58 +08:00
  • 22ed18404f fix: import paths + dead code cleanup + export ProcessResult wangdl 2026-06-08 21:12:36 +08:00
  • 1f678409b5 fix: add reverse relations for ReadingEvent/MaterialReadingProgress/TemporaryReadingMaterial on User model wangdl 2026-06-08 21:10:49 +08:00
  • 38a8629e42 feat: M8 学习信息收集系统完整实现 wangdl 2026-06-08 21:09:13 +08:00
  • 55e25f347e fix: M-CHAT-A3 createSession 支持 forceCreate 参数 wangdl 2026-06-06 17:58:33 +08:00
  • fe44dec567 feat: M-CHAT ChatScope 会话系统完整实现 wangdl 2026-06-06 17:27:40 +08:00
  • 17f16cea67 feat: #70 ChatSession 新增 knowledgeItemIds 字段,限定 AI 检索范围 wangdl 2026-06-06 16:02:38 +08:00
  • 6d0cc9b6dc fix: GET /sessions @Body → @Query, 修复对话列表获取失败 wangdl 2026-06-06 15:45:03 +08:00
  • dc5948a2cd fix: chat session auto-title + delete + remove double drag indicator wangdl 2026-06-06 15:15:00 +08:00
  • 35f2cd6e59 fix: SSE charset utf-8 + 服务端 charset header wangdl 2026-06-06 15:01:16 +08:00
  • aea071e4c9 fix: rag-chat controller Response 改为 import type 修复 isolatedModules 编译错误 wangdl 2026-06-06 14:56:13 +08:00
  • 6f77162cf8 feat: #71 RAG Chat SSE 流式输出 + DeepSeek V4 Pro 思考过程 wangdl 2026-06-06 14:49:20 +08:00
  • f4de598d96 fix: rag-chat 传入 outputSchema= RagChatOutputSchema,修复 parsed 为空对象 wangdl 2026-06-06 14:30:53 +08:00
  • 69bcd07a0f debug: rag-chat 日志输出 AI parsed 结构 wangdl 2026-06-06 14:28:35 +08:00
  • 3d8246cf6e fix: AI Gateway content safety 空值检查导致所有 AI 输出被误拦 wangdl 2026-06-06 14:23:55 +08:00
  • 55221116b7 debug: rag-chat 日志增加 kbId wangdl 2026-06-06 14:12:44 +08:00
  • 07f2786ab9 fix: 移除 rag-chat 调试日志中的 rawText 引用 (GatewayResponse 无此字段) wangdl 2026-06-06 14:04:17 +08:00
  • ce43256690 debug: rag-chat sendMessage 添加详细日志定位 AI Gateway 调用失败原因 wangdl 2026-06-06 13:56:28 +08:00
  • d8877f926f fix: 注册 rag-chat prompt template,修复 AI 对话始终返回 fallback wangdl 2026-06-06 13:48:17 +08:00
  • 78e21c4c4c fix: RagChatModule 导入 AiModule,修复 AiGatewayService 未注入 wangdl 2026-06-06 13:40:03 +08:00
  • a784ee3bc3 fix: MiniMax 已到期,切换 primary tier 到 DeepSeek V4 Pro wangdl 2026-06-06 12:23:35 +08:00
  • 11a38a68c1 fix: admin-billing 不再硬编码 API key,改为从 ConfigService 读取 wangdl 2026-06-06 12:17:17 +08:00
  • 28c68a8c3b fix: code review — 6 medium issues in KnowledgeItem/LearningActivity wangdl 2026-06-06 12:07:40 +08:00
  • 4b21c98835 fix: code review — 4 critical bugs in KnowledgeItem/KB modules wangdl 2026-06-06 12:04:24 +08:00
  • 4b8653080e feat: #67 GET /activity/trend 新增 dailySeries 时间序列数据 wangdl 2026-06-05 20:12:18 +08:00
  • 9c14bda0c2 feat: Phase 1 & 2 — KnowledgeItem/KB model补齐 + API增强 wangdl 2026-06-05 20:01:43 +08:00
  • d7a7611b36 fix: ChatCitation 字段 + BigInt 类型修复 wangdl 2026-05-30 08:42:07 +08:00
  • b90387dd51 fix: User 补充 Quiz 反向关联 wangdl 2026-05-29 20:04:43 +08:00
  • a1a4b26444 fix: User + KnowledgeBase 补充 Quiz 反向关联 wangdl 2026-05-29 20:04:14 +08:00
  • 6033fbc997 feat: H0-12 Quiz 模型与 API wangdl 2026-05-29 20:03:40 +08:00
  • 6ab54be309 feat: H0-11 RAG Chat 接入真实检索 + AI 生成管道 wangdl 2026-05-29 19:31:33 +08:00
  • 5fe31a8805 feat: H0-10 存储空间统计 + 学习资产计数 wangdl 2026-05-29 19:29:22 +08:00
  • d208fd7876 fix: User 模型补充 KnowledgeBaseSubscription 反向关联 wangdl 2026-05-29 19:25:53 +08:00
  • b9f8334245 feat: H0-08 KnowledgeBase 增加业务字段 + 订阅 + 发现 + 置顶 + 公开 wangdl 2026-05-29 19:24:21 +08:00
  • 4f59569b7c feat: KB 列表返回 coverUrl(coverKey → 预签名下载URL) wangdl 2026-05-28 10:48:34 +08:00
  • 28caf1297f feat: KnowledgeBase 支持封面图 coverKey 字段 wangdl 2026-05-28 10:42:58 +08:00
  • c331d08644 feat: 知识点软删除 + 批量删除接口 wangdl 2026-05-27 22:47:22 +08:00
  • b5de001dbb fix: FileUploadRateLimit 10→200/小时,支持批量上传 wangdl 2026-05-27 22:41:56 +08:00
  • 53a4cc118a fix: 创建知识点时更新知识库 itemCount 计数 wangdl 2026-05-27 22:38:34 +08:00
  • 846ba43f8f fix: COS domain fallback 从 cos.longde.cloud 改为空字符串 wangdl 2026-05-27 21:52:24 +08:00
  • 859156a59b fix: COS 自定义域名空值时回退到原生域名 wangdl 2026-05-27 21:48:33 +08:00
  • b9e6055400 fix: H0-01 彻底阻断生产环境 mock + 结构化错误码 + iOS Auth 合同文档 wangdl 2026-05-27 21:03:15 +08:00
  • c6fd1731d5 fix(auth): OnModuleInit改为warn而非throw,避免生产缺APPLE_BUNDLE_ID时进程崩溃 wangdl 2026-05-27 20:24:23 +08:00
  • 5fcfc87f84 fix(auth): H0-01 Apple登录—nonce验证+启动检查+fullName补写修复 wangdl 2026-05-27 20:22:42 +08:00
  • 6a13edc7fb feat: H0 milestone — iOS integration blocking fixes WangDL 2026-05-25 16:55:04 +08:00
  • 23988a1add fix: add sudo to rsync deploy commands to fix permission errors WangDL 2026-05-24 20:41:57 +08:00
  • ee5ebb5766 fix: add BigInt JSON serialization patch for Prisma BigInt columns WangDL 2026-05-24 20:38:46 +08:00
  • e36f9c9785 fix: project center — Gitea API wraps responses in {ok,data}, extract data field WangDL 2026-05-24 20:36:32 +08:00
  • b81b7fba92 fix: replace prisma migrate deploy with db push in CI pipeline WangDL 2026-05-24 20:31:22 +08:00
  • 75f8dd27e7 fix: project center — fix empty repo list + Gitea tab bug + add repo selector WangDL 2026-05-24 20:03:27 +08:00
  • 7a7561363d perf: add missing createdAt indexes to 7 models for admin query performance WangDL 2026-05-24 20:01:36 +08:00
  • 2c164f46da perf: reduce SSH connection timeout from 5s to 2s for server metrics WangDL 2026-05-24 19:57:55 +08:00
  • f599af1b3c perf: add select clause to admin review query, exclude large TEXT columns WangDL 2026-05-24 19:55:40 +08:00
  • 8a6b103571 fix: add createdAt index to ReviewCard model to fix slow admin page load WangDL 2026-05-24 19:55:01 +08:00
  • d241407424 fix: M4 audit — add DELETE decisions, PATCH user-agreements, regular user list endpoint WangDL 2026-05-24 18:56:54 +08:00
  • c6d01534c8 feat: M4-11 — vendor billing + secret lifecycle management WangDL 2026-05-24 18:25:58 +08:00
  • b3176b8ead feat: M4-10 — admin notification deepening (cost alerts, import failures, key expirations) WangDL 2026-05-24 18:23:35 +08:00
  • c4089129c0 feat: M4-09 — compliance & safety module (policies, agreements, filings, data requests) WangDL 2026-05-24 18:19:32 +08:00
  • cefc4d51c9 feat: M4-08 — release & decision module (changelogs, ADR, checklist) WangDL 2026-05-24 18:14:53 +08:00
  • 5d84769ac0 feat: M4-07 — Hermes Agent task/artifact management with approval workflow WangDL 2026-05-24 18:10:37 +08:00
  • 8abf94872a feat: M4-06 — project center with Gitea API integration WangDL 2026-05-24 18:06:19 +08:00
  • b188988e82 feat: M4-05 — reporting & export module (user/learning/review CSV) WangDL 2026-05-24 18:01:23 +08:00
  • 76c42f437c feat: M4-04 — backup & cleanup module with admin interface WangDL 2026-05-24 17:56:26 +08:00