Skip to content

Releases: vibe-coding-labs/JoyCode2Api

JoyCode2Api v0.6.1

Choose a tag to compare

@CC11001100 CC11001100 released this 27 Jun 14:44

🎉 JoyCode2Api v0.6.1

恢复 macOS (darwin-arm64) 预编译二进制。 v0.6.0 因构建环境限制(Linux 无法交叉编译 CGO 版 sqlite)只发了 linux 版;本版将 sqlite 驱动切换为纯 Go 实现,二进制改为纯 Go 静态链接,可在任意平台交叉编译,双平台发布恢复。

✨ 变更内容(自 v0.6.0)

  • 🔧 sqlite 驱动切换为纯 Gomattn/go-sqlite3(CGO)→ modernc.org/sqlite(纯 Go)。二进制改为 CGO_ENABLED=0 纯 Go 静态链接,不再依赖 C 工具链,Linux 上即可交叉编译 darwin,无需 macOS SDK。
  • 🍎 恢复 darwin-arm64 预编译二进制:上版本缺失的 macOS 包恢复发布。
  • 行为完全兼容:仍走 database/sql 标准接口;proxy.db 的 WAL、只读访问 JoyCode IDE 库、读写三种用法均已通过单元测试与端到端验证。

📦 Downloads

  • JoyCode2Api-darwin-arm64 — macOS (Apple Silicon)
  • JoyCode2Api-linux-amd64 — Linux (x86_64)
  • checksums-sha256.txt — SHA-256 校验和

快速开始

# macOS
chmod +x JoyCode2Api-darwin-arm64
./JoyCode2Api-darwin-arm64 serve

# Linux
chmod +x JoyCode2Api-linux-amd64
./JoyCode2Api-linux-amd64 serve

校验下载完整性

shasum -a 256 -c checksums-sha256.txt

ℹ️ 说明

v0.6.0(仅 linux)仍保留可用。从 v0.6.1 起双平台发布恢复正常,后续版本无需 macOS 构建环境即可同时产出 linux 与 darwin 二进制。

JoyCode2Api v0.6.0

Choose a tag to compare

@CC11001100 CC11001100 released this 27 Jun 14:07

🎉 JoyCode2Api v0.6.0

仓库已从 JoyCodeProxy 改名为 JoyCode2Api。本次发布同步对齐 Go module 路径、目录结构与二进制名,并修复扫码登录失效等问题。

✨ 变更内容(自 v0.5.0)

  • 🐛 修复京东扫码登录失效 (#21, #22):扫码登录的 userInfo 调用此前裸调 v1 端点且写死 2.4.5 版本号,与 JoyCode 2.7 主链路脱节,导致即使拿到有效 pt_key 也换不出用户信息。现已复用与 OAuth 登录相同的颜色网关鉴权(HMAC 签名 + v2 端点 + ClientVersion 2.7.5),统一登录链路。
  • 🐛 修复重置密码失败 (#19):未配置 JWT secret 时自动生成,避免重置密码接口报错。
  • ♻️ module 路径与仓库对齐 (#23):Go module 路径、cmd 目录、二进制名全面从 JoyCodeProxy 改为 JoyCode2Api发布资产名相应变更为 JoyCode2Api-*,已下载的旧版本不受影响。

📦 Downloads

  • JoyCode2Api-linux-amd64 — Linux (x86_64)
  • checksums-sha256.txt — SHA-256 校验和

Linux 快速开始

chmod +x JoyCode2Api-linux-amd64
./JoyCode2Api-linux-amd64 serve

校验下载完整性

shasum -a 256 -c checksums-sha256.txt

⚠️ macOS 用户

本次发布环境为 Linux,暂未提供 darwin-arm64 预编译二进制。macOS 用户请从源码构建(需 Go 1.25+,macOS 原生即可编译 sqlite3):

git clone https://github.com/vibe-coding-labs/JoyCode2Api.git
cd JoyCode2Api
go build -o JoyCode2Api ./cmd/JoyCode2Api/
./JoyCode2Api serve

后续版本将在 macOS 环境补充预编译 darwin 产物。

JoyCodeProxy v0.5.0

Choose a tag to compare

@songzhibin97 songzhibin97 released this 17 Jun 09:08

JoyCode 后端 2.7.x 换代适配 + 视觉支持,外加一批稳定性/体验修复。

✨ Features

  • 适配 JoyCode 2.7 v2 端点 + color gateway 签名,恢复 Claude Code / OpenAI 客户端直连(上游此前对旧协议返回 403 请升级版本)(#15, closes #12/#13)
  • Anthropic 路径图片/视觉支持/v1/messages 不再丢弃图片块,转发为多模态 image_url (#4)

🐛 Fixes

  • 流式响应中途断开不再伪装成正常完成,改为可见错误,便于客户端重试 (#2)
  • Docker / 远程部署登录:OAuth 弹窗即时显示手动粘贴 pt_key 入口,新增登录文档 (#1)
  • 设置接口接受 bool/number 值,修复「启用请求日志」报 unmarshal bool into string (#11)
  • 修正 Dashboard「今日」与「小时」统计的本地时区双重转换 bug(非 UTC 服务器统计偏移)(#17, #18)
  • /api/health 上报真实构建版本,不再硬编码 (#18)
  • 文档:Docker 构建受限网络下可用 --build-arg ALPINE_MIRROR= 切换镜像源 (#8)

Downloads

  • JoyCodeProxy-darwin-arm64 — macOS (Apple Silicon)
  • JoyCodeProxy-linux-amd64 — Linux (x86_64)

校验:shasum -a 256 -c checksums-sha256.txt

JoyCodeProxy v0.4.0

Choose a tag to compare

@CC11001100 CC11001100 released this 10 May 12:45

What's New

Account Drag-and-Drop Sorting

  • Accounts can now be reordered by dragging rows on the accounts page
  • Sort order is persisted to database via display_order column
  • New PUT /api/accounts/reorder endpoint for batch updates

Bug Fixes

  • Account nickname overwrite fixed: Re-importing an existing account no longer overwrites its nickname/remark
  • Drag handle + click navigation: Only the drag handle triggers sorting; clicking row body still navigates to account detail

UI Improvements

  • Sidebar collapse state now persists across page reloads (localStorage)
  • Account table column widths optimized for better readability
  • Account identity migrated from api_key to user_id as primary key

Technical Changes

  • Added display_order column to accounts table (auto-migrated)
  • Added @dnd-kit/core, @dnd-kit/sortable, @dnd-kit/utilities for drag-and-drop
  • AddAccount update path now only updates pt_key, preserving nickname when not empty

Downloads

  • joycode_proxy_darwin_arm64 — macOS Apple Silicon
  • joycode_proxy_darwin_amd64 — macOS Intel
  • joycode_proxy_linux_amd64 — Linux x86_64

Full Changelog: v0.3.0...v0.4.0

JoyCodeProxy v0.3.0

Choose a tag to compare

@CC11001100 CC11001100 released this 02 May 19:29

JoyCodeProxy v0.3.0

Downloads

  • JoyCodeProxy-darwin-arm64 — macOS (Apple Silicon)
  • JoyCodeProxy-linux-amd64 — Linux (x86_64)

Quick Start

# macOS
chmod +x JoyCodeProxy-darwin-arm64
./JoyCodeProxy-darwin-arm64 serve

# Linux
chmod +x JoyCodeProxy-linux-amd64
./JoyCodeProxy-linux-amd64 serve

Verify checksum

shasum -a 256 -c checksums-sha256.txt