win e4697aa421
Some checks failed
CI / test (push) Failing after 5s
CI / golangci-lint (push) Failing after 5s
Security Scan / backend-security (push) Failing after 6s
Security Scan / frontend-security (push) Failing after 5s
fix: 去掉 runtime.GOOS/GOARCH — 服务器是 Linux,真实用户在桌面
Antigravity:
- UA: 固定 darwin/arm64(不用 runtime),匹配真实 macOS 桌面用户
- x-goog-api-client: 硬编码 go1.27(不用 runtime.Version())
- 环境变量 ANTIGRAVITY_PLATFORM_OS/ARCH 可覆盖

Gemini CLI:
- UA: 固定 darwin/arm64(Node.js process.platform/arch 格式)
- 注意: Node.js 用 x64 不是 amd64,arm64 两者一致
- 环境变量 GEMINI_CLI_PLATFORM_OS/ARCH 可覆盖

删除 runtime 包依赖,所有平台标识改为可配置的硬编码默认值。
2026-03-27 13:13:59 +08:00
..
2026-03-21 01:21:48 +08:00