1. 01 Mar, 2026 2 commits
    • QTom's avatar
      fix(ci): 修复 golangci-lint 和 API 合约测试失败 · b2141a96
      QTom authored
      - 修复 errcheck: singleflight 返回值类型断言添加 ok 检查
      - 修复 gofmt: 格式化 setting_service.go 和 claude_code_validator_test.go
      - 修复 TestAPIContracts: 在 GET /admin/settings 期望中添加 min_claude_code_version 字段
      b2141a96
    • QTom's avatar
      feat(gateway): 添加 Claude Code 客户端最低版本检查功能 · 4280aca8
      QTom authored
      - 通过 User-Agent 识别 Claude Code 客户端并提取版本号
      - 在网关层验证客户端版本是否满足管理员配置的最低要求
      - 在管理后台提供版本要求配置选项(英文/中文双语)
      - 实现原子缓存 + singleflight 防止并发问题和 thundering herd
      - 使用 context.WithoutCancel 隔离 DB 查询,避免客户端断连影响缓存
      - 双 TTL 策略:60s 正常、5s 错误恢复,保证性能与可用性
      - 仅检查 Claude Code 客户端,其他客户端不受影响
      - 添加完整单元测试覆盖版本提取、比对、上下文操作
      4280aca8
  2. 28 Feb, 2026 22 commits
  3. 27 Feb, 2026 4 commits
    • erio's avatar
      fix: add 2K image default pricing at 1.5x base price · d1b684b7
      erio authored
      Previously 2K images used the same base price as 1K ($0.134).
      Now 2K uses 1.5x multiplier ($0.201), consistent with 4K using 2x ($0.268).
      
      - Backend: add 2K size branch in getDefaultImagePrice
      - Frontend: update 2K placeholder from 0.134 to 0.201
      - Tests: update assertions for new 2K default price
      d1b684b7
    • erio's avatar
      fix: update antigravity user-agent version to 1.19.6 · afec747d
      erio authored
      Update the default user-agent version from 1.18.4 to 1.19.6
      to match the latest official antigravity client.
      afec747d
    • erio's avatar
      fix: gofmt alignment in constants.go · 7388fcce
      erio authored
      7388fcce
    • erio's avatar
      feat: replace gemini-3-pro-image with gemini-3.1-flash-image · a6f9f9f9
      erio authored
      - Add migration 060 to update model_mapping for all antigravity accounts
      - Remove gemini-3-pro-image and gemini-3-pro-image-preview mappings
      - Add gemini-3.1-flash-image and gemini-3.1-flash-image-preview mappings
      - Update frontend usage window to show GImage for new model
      - Update isImageGenerationModel to support new model
      a6f9f9f9
  4. 26 Feb, 2026 7 commits
  5. 25 Feb, 2026 5 commits