win
898a65314c
chore: 删除 Antigravity 订制代码,回退至上游 v0.1.118
...
CI / test (push) Failing after 3s
CI / frontend (push) Failing after 4s
CI / golangci-lint (push) Failing after 6s
CI / windsurf-platform (macos-latest) (push) Has been cancelled
CI / windsurf-platform (windows-latest) (push) Has been cancelled
Security Scan / backend-security (push) Failing after 3s
Security Scan / frontend-security (push) Failing after 3s
- 删除自定义文件:gateway_attribution, gateway_claude_runtime_headers,
identity_service_antigravity, language_server_service, lsrpc_handler,
antigravity_http handler/routes, 所有 antigravity 专项测试
- 将 antigravity pkg/service 文件回退至上游版本(移除 IsEnterprise、
claude_code_tool_map、dynamic fingerprint 等定制逻辑)
- 修复 gateway_service.go:移除 NormalizeSystemPromptEnv、
generateSessionIDForAccount、applyClaudeRuntimeOptionalHeaders 调用,
使用上游的 session-id 同步逻辑
- 恢复 language_server_pb gen 文件(Windsurf local_ls.go 依赖)
- 保留全部 Windsurf 集成代码不变
2026-04-25 22:35:48 +08:00
win
cbf696bc82
chore(wip): save windsurf changes before upstream v0.1.118 merge
2026-04-25 21:56:42 +08:00
win
9156585a23
chore: gofmt/goimports 后处理
...
合并上游后统一运行 gofmt/goimports,消除排序差异与空行不一致。
2026-04-24 11:52:53 +08:00
win
002066e700
chore(wip): 保存订制改动以便合并上游
...
- windsurf: client/pool/local_ls/tool_emulation/tool_names/models 调整
- handler: admin account_data / failover_loop / gateway_handler
- repository: scheduler_cache 及测试
- service: windsurf_chat_service / windsurf_gateway_service
- deploy: compose 合并为单文件(含 windsurf-ls profile),Dockerfile.ls
- cmd: 新增 dump_ls_models / dump_preamble / test_windsurf_tools 辅助工具
2026-04-24 11:14:36 +08:00
win
8b446ffef8
fix(windsurf): fix tool call for legacy-enum models + gateway logger
...
Three fixes:
1. Logger: windsurf_gateway_service used zap.L() (nop) instead of
logger.L() — all gateway-level logs were silently dropped.
2. Tool mode routing: when tools are present in the request,
force cascade mode even for legacy-enum models. Legacy mode
ignores toolPreamble entirely, so tool calls were never injected.
3. Model enum hint: pass meta.EnumValue through to
SendUserCascadeMessage/buildCascadeConfig as a fallback when
modelUID-based enum resolution returns 0. Prevents 'neither
PlanModel nor RequestedModel specified' gRPC errors.
Tested: claude-sonnet-4-6 with tool definitions returns proper
tool_use content blocks in both streaming and non-streaming modes.
Tool result round-trip verified.
2026-04-23 23:04:02 +08:00
win
21325afb33
feat(windsurf): 补全ops日志记录与endpoint派生,对齐其他平台
...
CI / test (push) Failing after 10s
CI / frontend (push) Failing after 8s
CI / golangci-lint (push) Failing after 5s
Security Scan / backend-security (push) Failing after 5s
Security Scan / frontend-security (push) Failing after 4s
- windsurf_gateway_service: 添加上游延迟/TTFT/错误上下文记录
- endpoint: DeriveUpstreamEndpoint 添加 PlatformWindsurf 分支
- ops_error_logger: guessPlatformFromPath 添加 /windsurf/ 识别
2026-04-23 20:46:27 +08:00