Files
ccg-workflow/codeagent-wrapper/build-all.sh
T
li 67fc4c9f53 chore: bump version to 1.7.36
🐛 Bug 修复:
- 修复 Codex 默认需要手动同意文件操作的问题
- 默认添加 --dangerously-bypass-approvals-and-sandbox 参数(与 Gemini 一致)
- 添加 CODEX_REQUIRE_APPROVAL 环境变量控制(可选退出)

✨ 新功能:
- Web UI 自动滚动修复(显示任务内容后立即滚动)
- 任务完成后自动关闭页面(3秒倒计时)
- 添加 build-all.sh 脚本用于编译所有平台二进制文件

📦 版本更新:
- ccg-workflow: 1.7.35 → 1.7.36
- codeagent-wrapper: 5.6.0 → 5.7.0
2026-01-16 15:22:27 +08:00

29 lines
880 B
Bash
Executable File

#!/bin/bash
set -e
echo "Building codeagent-wrapper for all platforms..."
# macOS
echo "Building for macOS (amd64)..."
GOOS=darwin GOARCH=amd64 go build -o ../bin/codeagent-wrapper-darwin-amd64 .
echo "Building for macOS (arm64)..."
GOOS=darwin GOARCH=arm64 go build -o ../bin/codeagent-wrapper-darwin-arm64 .
# Linux
echo "Building for Linux (amd64)..."
GOOS=linux GOARCH=amd64 go build -o ../bin/codeagent-wrapper-linux-amd64 .
echo "Building for Linux (arm64)..."
GOOS=linux GOARCH=arm64 go build -o ../bin/codeagent-wrapper-linux-arm64 .
# Windows
echo "Building for Windows (amd64)..."
GOOS=windows GOARCH=amd64 go build -o ../bin/codeagent-wrapper-windows-amd64.exe .
echo "Building for Windows (arm64)..."
GOOS=windows GOARCH=arm64 go build -o ../bin/codeagent-wrapper-windows-arm64.exe .
echo "All builds completed successfully!"
ls -lh ../bin/codeagent-wrapper-*