Commit Graph

54 Commits

Author SHA1 Message Date
29f24222fd fix(ssf): 修复 Verification 状态迁移
为已执行旧版 0062 的环境补充不可变修复迁移,恢复 Stream 状态字段和 Verification challenge 表;同时为 timestamptz 参数增加显式类型,避免 pgx 在真实 PostgreSQL 中推断冲突。\n\n验证:pnpm test;pnpm lint;pnpm build;真实 PostgreSQL 集成测试通过。
2026-07-16 11:54:01 +08:00
9efeb16fd1 feat(ssf): 实现安全事件一键连接与凭据托管
新增数据库驱动的 SecurityEventConnectionManager,复用 RFC 7662 机器 Client,自动完成 Discovery、Push Bearer 生成、Stream 创建、Verification、首次启用、零停机轮换和安全退役。

增加文件与 Kubernetes SecretStore、最小权限 RBAC、动态 Receiver/撤销水位/内省降级,以及系统设置管理页面。已通过全量 Go 测试、go vet、关键包竞态测试、27 个 Web 测试、类型检查、生产构建、Compose 和 Kubernetes dry-run。
2026-07-15 17:25:00 +08:00
f30aaeb2d4 feat: 接入 SSF 实时会话撤销 2026-07-14 17:06:41 +08:00
d345c070ae feat: 实现 OIDC 服务端会话与请求刷新
使用 AES-256-GCM 保存认证中心令牌,并以随机 Cookie 哈希关联 PostgreSQL 会话。加入闲置与绝对期限、Refresh Token 轮换以及多实例刷新锁。
2026-07-13 19:09:10 +08:00
a81a7b5200 fix: 修复 OIDC 用户预配与跨标签页登录态
增加受控 JIT 本地用户投影,并使用 HttpOnly Cookie 在新标签页恢复认证中心登录态。补充错误语义、安全校验、自动化测试与回滚配置。
2026-07-13 17:07:52 +08:00
17b1f77e1d Merge remote-tracking branch 'origin/main' 2026-07-13 13:28:19 +08:00
8847d973a8 feat: add Responses API compatibility 2026-07-10 23:33:15 +08:00
b7351f3b9b feat(runtime): 适配推理模式开关 2026-07-06 02:03:03 +08:00
0dc9df759b
feat(system): 完成客户端自定义与系统设置
新增管理端客户端自定义标签页、公开与管理端系统设置接口、文件存储设置持久化、数据库迁移、契约类型和 OpenAPI 文档。
2026-06-30 14:53:29 +08:00
24eb68cc09 feat: use message LCP cache affinity keys 2026-06-29 15:47:57 +08:00
229ed6a669 Merge remote-tracking branch 'origin/main' 2026-06-28 20:50:27 +08:00
0e675e259c feat: add runner failover rules and cache affinity 2026-06-28 20:50:23 +08:00
chengcheng
f4e1db1279 feat(task): 暴露任务取消控制状态 2026-06-25 17:01:32 +08:00
7f32446466 feat: support cached input token billing 2026-06-23 17:17:57 +08:00
6089aa6085 feat: support cloned voice deletion 2026-06-17 12:03:13 +08:00
c4341335d7 feat: 支持 MiniMax 音色克隆和 2.8 语音模型 2026-06-17 02:13:21 +08:00
02ba5d3cdd 修复模型引用与账单展示 2026-06-15 00:17:20 +08:00
b860ef37e8 增加单一源保护全局策略 2026-06-15 00:14:40 +08:00
chengcheng
e8df26da9b feat(api): 支持取消本地排队任务 2026-06-09 19:09:20 +08:00
f47132a653 完善 API Key 能力范围可视化和维护 2026-06-07 19:01:32 +08:00
dc14866210 迁移音频生成与语音合成到 gateway 并补充 simulation 测试 2026-06-07 10:26:57 +08:00
d41d9482c7 Add runtime restore and temp asset cleanup 2026-06-05 20:28:26 +08:00
644a6f9d17 完善文档页文本向量与重排序调用支持 2026-05-31 21:18:41 +08:00
2aeb47d6a5 fix(gateway): normalize model alias billing identity 2026-05-28 01:19:28 +08:00
b6c4105a94
fix(api): 补全模型能力继承与响应推导
- 合并 base model 默认能力与平台覆盖项
- 在模型响应中补齐 text_generate 的上下文与推理能力字段
- 为相关逻辑补充测试和迁移脚本
2026-05-25 20:36:32 +08:00
71950d2b4f fix(rate-limits): treat empty policies as unlimited 2026-05-24 22:28:25 +08:00
8ad5b06c18 feat(api): 添加多媒体内容支持并优化钱包计费系统
- 在 API 接口定义中为 video_url 和 audio_url 类型添加 mime_type 字段
- 实现 Google Gemini 客户端对视频和音频内容的支持,包括媒体类型检测和数据传输
- 添加 Gemini 客户端测试用例验证多媒体内容转换功能
- 重构 Playground 页面的媒体上传逻辑以支持 MIME 类型传递
- 实现钱包计费预留机制,确保任务执行前余额充足
- 添加钱包冻结余额管理,防止并发操作导致的超扣问题
- 实现计费预留释放逻辑,处理任务失败或取消情况下的资金返还
- 优化数据库事务处理,确保计费操作的原子性和一致性
- 添加数据库集成测试验证迁移脚本执行流程
- 统一 Google Gemini 相关模型提供商标识符映射
2026-05-22 23:46:08 +08:00
73c6d43e4b feat: filter candidates by request resolution 2026-05-18 15:50:08 +08:00
37d0f919e5 feat: add gateway billing estimate and rate limit details 2026-05-15 01:53:52 +08:00
fc5dfd6bc5 feat: add file storage settings and uploads 2026-05-13 20:23:45 +08:00
2685450f3e Restrict priority demotion to same-model peers 2026-05-13 08:37:39 +08:00
a76ab941bc Add platform status switch 2026-05-12 21:49:08 +08:00
682a491d27 Decouple stream cancellation and clarify failover rules 2026-05-12 21:32:23 +08:00
98abd247d6 feat: add priority demotion controls 2026-05-12 18:43:20 +08:00
3917b84b5d fix(ui): 修复媒体网格滚动和空状态显示问题
- 移除媒体网格的最大高度限制和自动垂直滚动
- 将媒体空状态占位符从网格布局改为弹性布局
- 添加媒体空状态占位符的文字居中和行高设置
- 修复API中任务ID类型转换问题
2026-05-12 17:01:06 +08:00
c2696e7bbe feat(api): add load-aware client fallback 2026-05-12 16:59:51 +08:00
b9c9f457e9 feat: add parameter preprocessing audit trail 2026-05-12 13:54:51 +08:00
9ea83be718 Fix realtime queued task counts 2026-05-12 10:41:07 +08:00
2a91b31d12 fix: treat local rate limit queueing separately 2026-05-12 10:34:06 +08:00
7e220b7477 feat: add river-backed async task queue 2026-05-12 10:11:54 +08:00
ba850a06c6 feat: improve model rate limit tracking 2026-05-12 03:22:29 +08:00
05632172d0 feat: add runner failover policies and traces 2026-05-12 02:16:42 +08:00
c992f1de60 feat: add wallet settlement audit flow 2026-05-11 22:59:26 +08:00
0049b246c1 feat: record task attempt chains 2026-05-11 22:39:45 +08:00
0431cb8157 feat: improve model catalog aggregation 2026-05-11 17:44:57 +08:00
ca7e76e815 fix gateway loopback validation chains 2026-05-11 08:48:02 +08:00
d86651ff55 feat: refine api key permissions and admin routes 2026-05-10 23:22:26 +08:00
0fc23d7eb8 feat(api): migrate volces client to gateway 2026-05-10 23:14:10 +08:00
d59756a27c chore: commit pending gateway changes 2026-05-10 22:34:15 +08:00
53f8edfb67 feat: enrich task record details 2026-05-10 22:33:58 +08:00