af800b2eb5
fix: TypeScript build errors — RedisService.keys(), eventBus void, Qdrant API
...
Deploy API Server / build-and-deploy (push) Failing after 22s
- Add keys() method to RedisService for WorkerHeartbeat
- Wrap eventBus.publish() calls in try/catch (returns void)
- Fix Qdrant createPayloadIndex API signature (2 args, not 3)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 10:22:56 +08:00
5fd737967f
feat: M1-01~03 — AI Gateway deepening, Vector module, Task Queue deepening
...
Deploy API Server / build-and-deploy (push) Failing after 23s
M1-01 AI Gateway:
- DB-driven ModelRoute/ProviderConfig/FallbackEvent tables
- ModelRouter rewrite with loadFromDb() hot-reload
- Fallback event recording + AIUsageRecorded event publishing
- Admin AAPI: routes CRUD, provider enable/disable, fallback events log
M1-02 Vector & Retrieval:
- VectorService with Qdrant client (upsert/delete/search/rerank)
- Admin AAPI: collection status, vector count, reindex trigger
M1-03 Task Queue:
- 16 task types with default retry/timeout configs
- Task stats dashboard, worker status panel, batch retry endpoint
M0 audit fixes:
- ApiMetric retention policy (30-day cleanup)
- Content Safety integration in Files module
- Queue registration centralized (domain-events)
- SECRET_MASTER_KEY production validation
E2E tests:
- M0: 28 smoke tests covering all 14 M0 issues
- M1: 16 tests covering M1-01/02/03
- Mock infrastructure: prisma, ioredis, jose, bullmq, qdrant
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 10:18:07 +08:00
d32411760f
feat: M0-12 Secret & Vendor Asset — AES-256-GCM encrypted key storage + Admin AAPI
Deploy API Server / build-and-deploy (push) Successful in 38s
2026-05-23 20:36:39 +08:00
2a3f55c58e
fix: simplify dashboard — skip missing tables
Deploy API Server / build-and-deploy (push) Failing after 22s
2026-05-23 20:28:10 +08:00
28ff67c69e
fix: BigInt for sizeBytes
Deploy API Server / build-and-deploy (push) Failing after 1s
2026-05-23 20:26:44 +08:00
6aa24cc5bb
fix: dashboard safe queries for missing tables + workflow prisma generate
Deploy API Server / build-and-deploy (push) Has been cancelled
2026-05-23 20:26:34 +08:00
fd1897d385
feat: M0-11 — QuotaService + Redis deduction + Admin AAPI + CostDailySummary + UserMembership
Deploy API Server / build-and-deploy (push) Failing after 21s
2026-05-23 20:13:49 +08:00
d88233fd5b
feat: M0-10 — audit log for manual task retry
Deploy API Server / build-and-deploy (push) Successful in 39s
2026-05-23 20:08:54 +08:00
7a31bd3702
fix: revert AdminAuditService to PrismaService — queue not available in auth module
Deploy API Server / build-and-deploy (push) Failing after 41s
2026-05-23 19:57:43 +08:00
99d03bb26c
feat: M0-10 — TaskLog table + task events + retry audit
Deploy API Server / build-and-deploy (push) Failing after 32s
2026-05-23 19:29:08 +08:00
2c6d56bcfc
feat: M0-10 — Task types enum + worker heartbeat + Domain Events for tasks
Deploy API Server / build-and-deploy (push) Successful in 40s
2026-05-23 19:27:46 +08:00
9244db05b4
feat: M0-09 — BullMQ cleanup queue + Domain Events + async COS delete
Deploy API Server / build-and-deploy (push) Successful in 35s
2026-05-23 09:47:30 +08:00
7eb7427817
fix: use hard delete
Deploy API Server / build-and-deploy (push) Successful in 40s
2026-05-23 09:44:39 +08:00
8d08b0ed9c
fix: remove deletedAt filter
Deploy API Server / build-and-deploy (push) Has been cancelled
2026-05-23 09:44:32 +08:00
32be0d8831
feat: M0-09 admin files AAPI
Deploy API Server / build-and-deploy (push) Has been cancelled
2026-05-23 09:44:19 +08:00
d3ec1d52d6
fix: move event publish inside retry loop
Deploy API Server / build-and-deploy (push) Successful in 38s
2026-05-23 09:43:01 +08:00
e7cbe6da26
feat: M0-08 — Domain Event publish on AI usage + EventBus injection
Deploy API Server / build-and-deploy (push) Failing after 17s
2026-05-23 09:42:29 +08:00
908ffc7041
fix: add model field to SiliconFlow usage
Deploy API Server / build-and-deploy (push) Successful in 38s
2026-05-23 09:39:27 +08:00
f8a9ae224e
fix: await grouping
Deploy API Server / build-and-deploy (push) Has been cancelled
2026-05-23 09:39:18 +08:00
22f6668077
fix: remove duplicate fields
Deploy API Server / build-and-deploy (push) Has started running
2026-05-23 09:39:10 +08:00
9501231148
fix: optional chaining on safetyCheck
Deploy API Server / build-and-deploy (push) Failing after 1s
2026-05-23 09:38:47 +08:00
d4913a58a9
fix: remove duplicate contentSafety param
Deploy API Server / build-and-deploy (push) Has been cancelled
2026-05-23 09:38:38 +08:00
22132410a2
feat: M0-08 — SiliconFlow provider + Content Safety integration + dynamic config
Deploy API Server / build-and-deploy (push) Failing after 17s
2026-05-23 09:38:09 +08:00
577b2c7abe
fix: rename controller in module
Deploy API Server / build-and-deploy (push) Successful in 38s
2026-05-23 09:35:18 +08:00
8b3f463d34
fix: simplify AI Gateway controller
Deploy API Server / build-and-deploy (push) Has been cancelled
2026-05-23 09:35:10 +08:00
5cd4e1ec5a
feat: M0-08 admin AI Gateway status AAPI
Deploy API Server / build-and-deploy (push) Has been cancelled
2026-05-23 09:34:55 +08:00
2bd416c807
feat: M0-07 Observability — MetricsInterceptor + admin metrics AAPI
Deploy API Server / build-and-deploy (push) Successful in 36s
2026-05-22 23:19:31 +08:00
9e8f3dccd7
feat: M0-06 Content Safety — sensitive word check + admin AAPI
Deploy API Server / build-and-deploy (push) Has been cancelled
2026-05-22 23:12:39 +08:00
28d68675b1
feat: M0-05 Traffic Protection — Redis throttle + timeout
Deploy API Server / build-and-deploy (push) Failing after 18s
2026-05-22 23:09:16 +08:00
b5a983dc6b
feat: M0-04 Audit — async BullMQ writes + riskLevel + reason + SecurityEvent
Deploy API Server / build-and-deploy (push) Successful in 39s
2026-05-22 23:03:32 +08:00
a1ac07bf88
feat: M0-03 feature flag whitelist + more config integration
Deploy API Server / build-and-deploy (push) Successful in 37s
2026-05-22 23:00:47 +08:00
dee0b250b6
fix: HERMES_API_URL reference
Deploy API Server / build-and-deploy (push) Failing after 20s
2026-05-22 22:40:13 +08:00
663d419d91
fix: handle null config values
Deploy API Server / build-and-deploy (push) Failing after 1s
2026-05-22 22:40:02 +08:00
4077150295
feat: integrate dynamic config into AI chat — temperature/max_tokens/URL from DB
Deploy API Server / build-and-deploy (push) Has been cancelled
2026-05-22 22:39:52 +08:00
585cde9431
fix: Logger name typo
Deploy API Server / build-and-deploy (push) Failing after 21s
2026-05-22 22:36:49 +08:00
b7cd0b2588
fix: AppAppAppConfigService typo
Deploy API Server / build-and-deploy (push) Has been cancelled
2026-05-22 22:36:40 +08:00
8d52214dd5
feat: M0-03 Config & Feature Flag — DB-backed config + Redis cache + Admin AAPI
Deploy API Server / build-and-deploy (push) Has been cancelled
2026-05-22 22:36:32 +08:00
4c4d14724a
feat: M0-02 Admin event management AAPI — queues overview + failed + retry
Deploy API Server / build-and-deploy (push) Successful in 37s
2026-05-22 22:27:07 +08:00
25d25b44f0
fix: don't kill stream after approval — only abort on stop
Deploy API Server / build-and-deploy (push) Successful in 37s
2026-05-22 19:18:27 +08:00
e6ecb2c48f
fix: remove break after approval.request — let stream continue
Deploy API Server / build-and-deploy (push) Successful in 37s
2026-05-22 19:15:54 +08:00
2753063b6f
feat: pass through approval.request events + approval endpoint
Deploy API Server / build-and-deploy (push) Successful in 38s
2026-05-22 17:31:55 +08:00
fc2725b5df
feat: forward tool.started/completed events in SSE stream
Deploy API Server / build-and-deploy (push) Successful in 35s
2026-05-22 17:20:28 +08:00
ff56b79659
fix: knowledgeItems → items
Deploy API Server / build-and-deploy (push) Successful in 39s
2026-05-22 15:54:25 +08:00
0e85231712
feat: admin knowledge base list with Prisma
Deploy API Server / build-and-deploy (push) Failing after 17s
2026-05-22 15:54:06 +08:00
997b3c0cdb
feat: admin cost management — CRUD + monthly summary + expiry
Deploy API Server / build-and-deploy (push) Successful in 39s
2026-05-22 15:40:24 +08:00
c6aa4cf88a
feat: admin billing API — DeepSeek + SiliconFlow balances
Deploy API Server / build-and-deploy (push) Successful in 38s
2026-05-22 15:31:51 +08:00
ee6ef23fb2
revert: remove billing module — already exists elsewhere
Deploy API Server / build-and-deploy (push) Failing after 17s
2026-05-22 15:28:02 +08:00
c170f6048b
feat: admin billing API — query DeepSeek + SiliconFlow balances
Deploy API Server / build-and-deploy (push) Successful in 39s
2026-05-22 15:23:25 +08:00
97af7f4cce
fix: skip /data disk when identical to / on remote
Deploy API Server / build-and-deploy (push) Successful in 35s
2026-05-22 14:12:42 +08:00
7c712bc931
fix: add python/main.py process aliases
Deploy API Server / build-and-deploy (push) Successful in 39s
2026-05-22 14:09:15 +08:00