Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
131 changes: 1 addition & 130 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -406,126 +406,6 @@ jobs:
release/**/*.yml
if-no-files-found: error

package-lite:
name: Package Lite ${{ matrix.name }}
needs:
- release-preflight
- prepare-tts-assets
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- name: macOS
os: macos-latest
command: pnpm dist:lite:mac
- name: Windows
os: windows-latest
command: pnpm dist:lite:win

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.30.3

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm

- name: Setup Python for Kokoro zh G2P
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Install Kokoro zh G2P Python dependencies
run: python -m pip install -r scripts/requirements-tts.txt

- name: Typecheck
run: pnpm typecheck

- name: Download Kokoro TTS assets
uses: actions/download-artifact@v4
with:
name: GoAgent-Kokoro-zh-CN
path: data/tts/kokoro/zh-CN

- name: Validate Kokoro TTS assets
shell: bash
env:
GOAGENT_TTS_ASSETS_STRICT: "1"
GOAGENT_TTS_SMOKE_STRICT: "1"
GOAGENT_TTS_PYTHON: python
run: |
pnpm check:tts-assets
pnpm smoke:tts

- name: Package Lite desktop app
shell: bash
env:
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
WIN_CSC_LINK: ${{ secrets.WIN_CSC_LINK }}
WIN_CSC_KEY_PASSWORD: ${{ secrets.WIN_CSC_KEY_PASSWORD }}
CSC_IDENTITY_AUTO_DISCOVERY: ${{ secrets.CSC_LINK != '' && 'true' || 'false' }}
APPLE_API_KEY: ${{ secrets.APPLE_API_KEY }}
APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }}
APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
APPLE_KEYCHAIN: ${{ secrets.APPLE_KEYCHAIN }}
APPLE_KEYCHAIN_PROFILE: ${{ secrets.APPLE_KEYCHAIN_PROFILE }}
run: |
for name in \
CSC_LINK \
CSC_KEY_PASSWORD \
WIN_CSC_LINK \
WIN_CSC_KEY_PASSWORD \
APPLE_API_KEY \
APPLE_API_KEY_ID \
APPLE_API_ISSUER \
APPLE_ID \
APPLE_APP_SPECIFIC_PASSWORD \
APPLE_TEAM_ID \
APPLE_KEYCHAIN \
APPLE_KEYCHAIN_PROFILE
do
if [[ -z "${!name:-}" ]]; then
unset "${name}"
fi
done
if [[ "${RUNNER_OS}" == "macOS" && -z "${CSC_LINK:-}" ]]; then
export CSC_IDENTITY_AUTO_DISCOVERY=false
fi
${{ matrix.command }}

- name: Smoke Lite packaged Windows app
if: runner.os == 'Windows'
run: node scripts/smoke_windows_packaged_app.mjs --mode=lite --allow-missing-katago

- name: Upload Lite packaged artifacts
uses: actions/upload-artifact@v4
with:
name: GoAgent-Lite-${{ matrix.name }}
path: |
release/**/*-lite.AppImage
release/**/*-lite.deb
release/**/*-lite.dmg
release/**/*-lite.exe
release/**/*-lite-portable.zip
release/**/*-lite.tar.gz
release/**/*.yml
if-no-files-found: error

package-nvidia-windows:
name: Package Windows NVIDIA
needs:
Expand Down Expand Up @@ -721,10 +601,9 @@ jobs:
needs:
- release-preflight
- package
- package-lite
- package-nvidia-windows
runs-on: ubuntu-latest
if: always() && needs.release-preflight.outputs.can-package == 'true' && needs.release-preflight.outputs.can-package-nvidia == 'true' && needs.package.result == 'success' && needs.package-lite.result == 'success' && needs.package-nvidia-windows.result == 'success' && startsWith(github.ref, 'refs/tags/')
if: always() && needs.release-preflight.outputs.can-package == 'true' && needs.release-preflight.outputs.can-package-nvidia == 'true' && needs.package.result == 'success' && needs.package-nvidia-windows.result == 'success' && startsWith(github.ref, 'refs/tags/')

steps:
- name: Checkout release notes
Expand All @@ -743,10 +622,6 @@ jobs:
files=(
artifacts/**/GoAgent-*-mac-arm64.dmg
artifacts/**/GoAgent-*-mac-x64.dmg
artifacts/**/GoAgent-*-mac-arm64-lite.dmg
artifacts/**/GoAgent-*-mac-x64-lite.dmg
artifacts/**/GoAgent-*-win-x64-lite-portable.zip
artifacts/**/GoAgent-*-win-x64-lite.exe
artifacts/**/GoAgent-*-win-x64-portable.zip
artifacts/**/GoAgent-*-win-x64.exe
artifacts/**/GoAgent-*-win-x64-nvidia-portable.7z*
Expand All @@ -766,10 +641,6 @@ jobs:
files: |
artifacts/**/GoAgent-*-mac-arm64.dmg
artifacts/**/GoAgent-*-mac-x64.dmg
artifacts/**/GoAgent-*-mac-arm64-lite.dmg
artifacts/**/GoAgent-*-mac-x64-lite.dmg
artifacts/**/GoAgent-*-win-x64-lite-portable.zip
artifacts/**/GoAgent-*-win-x64-lite.exe
artifacts/**/GoAgent-*-win-x64-portable.zip
artifacts/**/GoAgent-*-win-x64.exe
artifacts/**/GoAgent-*-win-x64-nvidia-portable.7z*
Expand Down
37 changes: 0 additions & 37 deletions docs/LITE_RELEASES.md

This file was deleted.

16 changes: 2 additions & 14 deletions docs/PACKAGING.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ The workflow builds on native runners:

- macOS: DMG and ZIP.
- Windows: x64 NSIS installer and x64 portable ZIP.
- Lite: smaller macOS and Windows packages without bundled KataGo binaries or model files.
- Windows NVIDIA: x64 NSIS installer and x64 portable 7z archive with a dedicated NVIDIA KataGo runtime directory.
- Linux: AppImage, DEB, and tar.gz.

GoAgent no longer publishes Lite packages. Public releases should only expose full Standard packages and the Windows NVIDIA edition so users do not accidentally download a package that starts without a bundled KataGo runtime.

Windows ARM64 is not supported in `v0.2.0-beta.1`.

## KataGo Runtime
Expand Down Expand Up @@ -66,19 +67,6 @@ GoAgent-<version>-win-x64-nvidia-portable.7z.003

This keeps the NVIDIA package honest: it is not the standard Windows package with a new filename.

## Lite Packages

The release workflow also builds:

```text
GoAgent-<version>-mac-arm64-lite.dmg
GoAgent-<version>-mac-x64-lite.dmg
GoAgent-<version>-win-x64-lite.exe
GoAgent-<version>-win-x64-lite-portable.zip
```

Lite packages keep the app, local knowledge base, settings UI, and bundled Chinese Kokoro TTS, but intentionally do not bundle `data/katago/bin` or `data/katago/models`. This keeps the first download much smaller. On Windows x64, applying an official model from Settings also installs the OpenCL KataGo runtime if no local engine exists.

## Signing

The public workflow currently disables automatic code-signing discovery. Before distributing widely:
Expand Down
151 changes: 151 additions & 0 deletions docs/RELEASE_NOTES_v0.4.17.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
# GoAgent v0.4.17

GoAgent v0.4.17 is a user-download hardening release. It removes the smaller package family from public releases and keeps only full Standard packages plus the Windows NVIDIA edition, so users are guided toward downloads that already include the required KataGo runtime path.

QQ 群:1030632742,欢迎一起交流、提建议、完善 GoAgent。

## v0.4 系列延续能力

This release keeps the broader v0.4 foundation: grounded shape recognition engine, local pattern matcher, knowledge source-policy gates, optimized move-range review, quality checks and eval gates, Real Eval / engine silver fixture gate, KataGo engine pool telemetry, Release artifact smoke, student level, student age, teacher persona style settings with evidence boundary, teacher sessions, selective PR #6 integration, Tool-first Agent runtime, Kokoro selected-provider TTS with offline synthesis, Windows OpenCL runtime bundle, KataGo OpenCL adjacent runtime files, GPU vendor OpenCL drivers, and the community contribution path from layiku and wimi321.

## 中文

### 下载前先选版本

| 平台 / 场景 | 推荐下载 |
| --- | --- |
| macOS Apple Silicon(M 系列) | GoAgent-0.4.17-mac-arm64.dmg |
| macOS Intel | GoAgent-0.4.17-mac-x64.dmg |
| Windows x64 安装版,普通用户推荐 | GoAgent-0.4.17-win-x64.exe |
| Windows x64 免安装版 | GoAgent-0.4.17-win-x64-portable.zip |
| Windows x64 NVIDIA 专版安装版 | GoAgent-0.4.17-win-x64-nvidia.exe |
| Windows x64 NVIDIA 专版免安装包 | GoAgent-0.4.17-win-x64-nvidia-portable.7z.001 and all following split parts |
| 校验文件 | SHA256SUMS.txt |

### 本版重点

- 公开发布页只保留完整 Standard 包和 Windows NVIDIA 专版,避免用户误下缺少内置 KataGo 的包。
- Release workflow 不再构建或上传较小但不完整的包线。
- 发布前继续启动 Windows Standard 和 Windows NVIDIA 包做 packaged smoke,确认下载包能进入应用并读取 KataGo 资源。
- NVIDIA 免安装包继续保留重复 KataGo 检查、solid 7z 压缩和体积预算。

## 繁體中文

### 下載前先選版本

| 平台 / 使用情境 | 建議下載 |
| --- | --- |
| macOS Apple Silicon | GoAgent-0.4.17-mac-arm64.dmg |
| macOS Intel | GoAgent-0.4.17-mac-x64.dmg |
| Windows x64 安裝版 | GoAgent-0.4.17-win-x64.exe |
| Windows x64 免安裝版 | GoAgent-0.4.17-win-x64-portable.zip |
| Windows x64 NVIDIA 專版 | GoAgent-0.4.17-win-x64-nvidia.exe |
| Windows x64 NVIDIA 免安裝包 | GoAgent-0.4.17-win-x64-nvidia-portable.7z.001 and all following split parts |
| 校驗檔 | SHA256SUMS.txt |

### 本版重點

- 發布頁只保留完整 Standard 包與 Windows NVIDIA 專版,降低使用者選錯下載項的機率。
- Release workflow 不再產生或上傳較小但不完整的包線。
- Windows Standard 與 Windows NVIDIA 包仍會在上傳前 smoke 啟動並檢查 KataGo 資源。

## English

### Pick the right package before downloading

| Platform / use case | Recommended download |
| --- | --- |
| macOS Apple Silicon | GoAgent-0.4.17-mac-arm64.dmg |
| macOS Intel | GoAgent-0.4.17-mac-x64.dmg |
| Windows x64 installer | GoAgent-0.4.17-win-x64.exe |
| Windows x64 portable ZIP | GoAgent-0.4.17-win-x64-portable.zip |
| Windows x64 NVIDIA installer | GoAgent-0.4.17-win-x64-nvidia.exe |
| Windows x64 NVIDIA portable package | GoAgent-0.4.17-win-x64-nvidia-portable.7z.001 and all following split parts |
| Checksums | SHA256SUMS.txt |

### Highlights

- Public releases now expose only complete Standard packages and the Windows NVIDIA edition.
- The release workflow no longer builds or uploads the smaller incomplete package family.
- Windows Standard and Windows NVIDIA packaged-app smoke checks still run before upload.
- NVIDIA portable packages keep duplicate KataGo checks, solid 7z compression, and the release size budget.

## 日本語

### ダウンロード前に選ぶもの

| 環境 | 推奨ファイル |
| --- | --- |
| macOS Apple Silicon | GoAgent-0.4.17-mac-arm64.dmg |
| macOS Intel | GoAgent-0.4.17-mac-x64.dmg |
| Windows x64 インストーラー | GoAgent-0.4.17-win-x64.exe |
| Windows x64 ポータブル ZIP | GoAgent-0.4.17-win-x64-portable.zip |
| Windows x64 NVIDIA 版 | GoAgent-0.4.17-win-x64-nvidia.exe |
| Windows x64 NVIDIA ポータブル | GoAgent-0.4.17-win-x64-nvidia-portable.7z.001 and all following split parts |
| チェックサム | SHA256SUMS.txt |

### 主な変更

- 公開リリースでは、完全な Standard パッケージと Windows NVIDIA 版だけを案内します。
- 小さいが KataGo 実行環境を同梱しないパッケージ系統はビルドおよびアップロードしません。
- Windows Standard / NVIDIA の packaged smoke はアップロード前に継続します。

## 한국어

### 다운로드 전 선택

| 환경 | 권장 다운로드 |
| --- | --- |
| macOS Apple Silicon | GoAgent-0.4.17-mac-arm64.dmg |
| macOS Intel | GoAgent-0.4.17-mac-x64.dmg |
| Windows x64 설치 프로그램 | GoAgent-0.4.17-win-x64.exe |
| Windows x64 포터블 ZIP | GoAgent-0.4.17-win-x64-portable.zip |
| Windows x64 NVIDIA 설치 프로그램 | GoAgent-0.4.17-win-x64-nvidia.exe |
| Windows x64 NVIDIA 포터블 | GoAgent-0.4.17-win-x64-nvidia-portable.7z.001 and all following split parts |
| 체크섬 | SHA256SUMS.txt |

### 이번 버전

- 공개 릴리스에는 완전한 Standard 패키지와 Windows NVIDIA 에디션만 제공합니다.
- 더 작지만 KataGo 실행 환경이 포함되지 않는 패키지 계열은 더 이상 빌드하거나 업로드하지 않습니다.
- Windows Standard / NVIDIA smoke 검사는 계속 실행됩니다.

## ภาษาไทย

### เลือกไฟล์ก่อนดาวน์โหลด

| แพลตฟอร์ม | ไฟล์ที่แนะนำ |
| --- | --- |
| macOS Apple Silicon | GoAgent-0.4.17-mac-arm64.dmg |
| macOS Intel | GoAgent-0.4.17-mac-x64.dmg |
| Windows x64 installer | GoAgent-0.4.17-win-x64.exe |
| Windows x64 portable ZIP | GoAgent-0.4.17-win-x64-portable.zip |
| Windows x64 NVIDIA installer | GoAgent-0.4.17-win-x64-nvidia.exe |
| Windows x64 NVIDIA portable | GoAgent-0.4.17-win-x64-nvidia-portable.7z.001 and all following split parts |
| Checksums | SHA256SUMS.txt |

### จุดสำคัญของรุ่นนี้

- หน้า release แสดงเฉพาะแพ็กเกจ Standard แบบครบถ้วนและ Windows NVIDIA edition
- workflow จะไม่ build หรือ upload ชุดแพ็กเกจขนาดเล็กที่ไม่มี KataGo runtime ในตัว
- Windows Standard / NVIDIA packaged smoke ยังคงทำงานก่อนอัปโหลด

## Tiếng Việt

### Chọn gói tải xuống

| Nền tảng | Gói khuyến nghị |
| --- | --- |
| macOS Apple Silicon | GoAgent-0.4.17-mac-arm64.dmg |
| macOS Intel | GoAgent-0.4.17-mac-x64.dmg |
| Windows x64 installer | GoAgent-0.4.17-win-x64.exe |
| Windows x64 portable ZIP | GoAgent-0.4.17-win-x64-portable.zip |
| Windows x64 NVIDIA installer | GoAgent-0.4.17-win-x64-nvidia.exe |
| Windows x64 NVIDIA portable | GoAgent-0.4.17-win-x64-nvidia-portable.7z.001 and all following split parts |
| Checksums | SHA256SUMS.txt |

### Điểm mới

- Trang release chỉ hiển thị gói Standard đầy đủ và Windows NVIDIA edition.
- Workflow không còn build hoặc upload dòng gói nhỏ không kèm KataGo runtime.
- Windows Standard / NVIDIA packaged smoke vẫn chạy trước khi upload.
Loading
Loading