Skip to content

OPGate v0.1.1

Choose a tag to compare

@github-actions github-actions released this 05 Sep 22:22
· 1 commit to main since this release

OPGate v0.1.1

OpenCode Session Gateway —— 为不支持 x-opencode-session 的
OpenAI-compatible 客户端提供会话亲和的轻量反向代理。

📦 下载

平台 文件
Linux x86_64(Debian/Ubuntu/Fedora/Arch 通用) ocgate_v0.1.1_linux-amd64.tar.gz
Linux arm64 / armv7 / 386 ocgate_v0.1.1_linux-arm64.tar.gz 等
Alpine(静态二进制,同 Linux 包) ocgate_v0.1.1_linux-*.tar.gz
macOS Intel / Apple Silicon ocgate_v0.1.1_macos-*.tar.gz
Windows amd64 / arm64 ocgate_v0.1.1_windows-*.zip
Android(Termux) ocgate_v0.1.1_android-arm64.tar.gz
Docker 多架构镜像 ghcr.io/ccbkkb/opgate:v0.1.1

🐳 Docker

docker pull ghcr.io/ccbkkb/opgate:v0.1.1
docker run -d --name ocgate -p 8080:8080 \
  -v $PWD/config.yml:/etc/ocgate/config.yml:ro \
  ghcr.io/ccbkkb/opgate:v0.1.1

支持架构:linux/amd64、linux/arm64、linux/arm/v7。

✅ 校验

sha256sum -c SHA256SUMS.txt --ignore-missing

🚀 快速开始

tar -xzf ocgate_v0.1.1_linux-amd64.tar.gz
cp config.example.yml config.yml   # 修改 upstream.base_url
./ocgate -config config.yml

📝 变更

自 v0.1.0 以来的提交:

  • e5e237a fix(proxy): streams closed right after [DONE] must still map the session
  • cd7c46a docs: refresh README for production-ready state
  • 168ec8b test: guard log/redis sanitization against regressions
  • a3b0a94 fix(release): keep the raw v-prefixed docker tag
  • 53b703e docs(deploy): clarify required Redis; add compose config sample