Commit Graph

2 Commits

Author SHA1 Message Date
ywkj 39ef2f59b6 fix: go.mod 降级到 1.22,CI 加 GOTOOLCHAIN=local
Build and Release auth-rt / release (push) Successful in 1m42s Details
避免 CI 里 Go 1.22 尝试下载 1.25.7 toolchain。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 21:24:22 +08:00
ywkj dabcddb05e feat: Go 重写 auth-rt CLI,真正的零依赖二进制
Build and Release auth-rt / build (amd64, darwin) (push) Failing after 2m53s Details
Build and Release auth-rt / build (amd64, linux) (push) Failing after 1m16s Details
Build and Release auth-rt / build (arm64, darwin) (push) Failing after 1m9s Details
Build and Release auth-rt / build (arm64, linux) (push) Failing after 1m15s Details
Build and Release auth-rt / release (push) Has been skipped Details
- cli/ 目录:完整的 Go 实现(env/cache/auth/http/retry)
- install.sh:支持本地编译和 --download 从 release 下载
- .forgejo/workflows/release.yml:CI 交叉编译 darwin/linux × amd64/arm64
- auth-cli.ts:改为调用 auth-rt 二进制(不再需要 bun/node)
- 分发策略:skill install.sh 优先从 release 下载,失败则 clone + go build

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 20:51:45 +08:00