Jeff Gu
|
7b3a916c86
|
feat(auth): 根据安全级别调整管理员会话有效期
|
2026-04-17 17:15:30 +08:00 |
|
Jeff Gu
|
3dc1fed1c1
|
feat(auth): 增加管理员登录的速率限制和错误处理
|
2026-04-14 17:01:07 +08:00 |
|
Jeff Gu
|
8336649477
|
refactor(auth): 系统安全性增强
- 移除管理员凭证存储逻辑,改用 Cookie 管理会话
- 清理 admin-auth 中的存储函数,使用 Cookie 进行会话管理
- 更新 apiClient 请求逻辑,支持管理员 Cookie
- 修改 auth store,调整登录和验证逻辑
- 添加 Cookie 处理函数,确保安全性和兼容性
- 更新测试脚本,验证 Cookie 功能
|
2026-04-14 16:32:07 +08:00 |
|
Jeff Gu
|
1ef5502083
|
feat: 更新项目名称为 One API on Workers
|
2026-04-09 10:03:02 +08:00 |
|
 dreamhunter2333andClaude Opus 4.6
|
6f99358fb5
|
refactor: 统一 providers 层,提取共享模块消除重复代码
- 提取 shared/auth.ts、channel-resolver.ts、route-policy.ts、provider-registry.ts
- 提取 shared/openai-stream-utils.ts 和 responses-stream-utils.ts
- 统一 index.ts 为 UnifiedProxyEndpoint(303→55行)
- 各 provider 文件精简约55%,只保留 buildProxyRequest
- 修复 claude-to-openai-proxy.ts 类型错误
- 添加 E2E mock 测试基础设施(mock-upstream + setup + run-e2e)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-03-12 18:24:30 +08:00 |
|