Commit Graph

4 Commits

Author SHA1 Message Date
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
ywkj ff8e74e0aa fix: 改用 shell wrapper 代替 bun compile(bun 1.x compile 有 bug)
install.sh 生成 shell wrapper 脚本 exec bun run cli.ts,
而非 bun build --compile(生成空文件)。
auth-cli.ts 修复 HOME 环境变量缺失时 homedir() 返回空的问题。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 18:30:56 +08:00
ywkj f079b68559 feat: 编译为独立 auth-rt 二进制,安装到 ~/.openclaw/bin/
- bun build --compile 生成独立可执行文件
- install.sh 编译并安装到 ~/.openclaw/bin/auth-rt
- auth-cli.ts 改为调用 auth-rt 二进制(不再需要 bun run cli.ts)
- skill 不再需要 clone auth-runtime 源码

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 18:26:20 +08:00
ivanberry 70cf86889e feat: initial auth-runtime module 2026-03-12 07:33:43 +08:00