1. 31 Dec, 2025 4 commits
    • shaw's avatar
      style: fix gofmt formatting in claude_types.go · 8e55ee0e
      shaw authored
      8e55ee0e
    • IanShaw027's avatar
      fix(upstream): 完善边界检查和 thinking block 处理 · c1e25b7e
      IanShaw027 authored
      基于 Gemini + Codex 审查结果的修复:
      
      1. thinking block dummy signature 填充
         - Gemini 模型现在会填充 dummyThoughtSignature
         - 与 tool_use 处理逻辑保持一致
      
      2. 边界检查增强
         - buildTools: 跳过空工具名称
         - buildTools: 为 nil schema 提供默认值
         - convertClaudeToolsToGeminiTools: 为 nil params 提供默认值
      
      3. 防止下游 API 验证错误
         - 确保所有工具都有有效的 parameters
         - 默认 schema: {type: 'object', properties: {}}
      
      审查报告:Gemini 评分 95%, Codex 评分 8.2/10
      c1e25b7e
    • IanShaw027's avatar
      fix(upstream): 跳过 Claude 模型无 signature 的 thinking block · 35b768b7
      IanShaw027 authored
      - buildParts 函数检测 thinking block 的 signature
      - Claude 模型 (allowDummyThought=false) 时跳过无 signature 的 block
      - 记录警告日志以便调试
      - Gemini 模型继续使用 dummy signature 兼容方案
      
      修复 Issue 0.1: Claude thinking block signature 缺失错误
      35b768b7
    • IanShaw027's avatar
      fix(upstream): 支持 Claude custom 类型工具 (MCP) 格式 · 15e676e9
      IanShaw027 authored
      - ClaudeTool 结构体增加 Type 和 Custom 字段
      - buildTools 函数支持从 custom 字段读取 input_schema
      - convertClaudeToolsToGeminiTools 函数支持 MCP 工具格式
      - 修复 Antigravity upstream error 400: JSON schema invalid
      
      修复 Issue 0.2: tools.X.custom.input_schema 验证错误
      15e676e9
  2. 30 Dec, 2025 3 commits
  3. 29 Dec, 2025 4 commits
  4. 28 Dec, 2025 7 commits