From 50d9d58ad0160e4378fa61e037a8f370c122d3ca Mon Sep 17 00:00:00 2001 From: illusia <64828020+EchoSixHIYA@users.noreply.github.com> Date: Thu, 8 Oct 2026 10:50:42 +0800 Subject: [PATCH] release: prepare v0.2.6 multi-architecture packages --- .github/workflows/build-release.yml | 138 ++++++++++++++++-- .github/workflows/docker-publish.yml | 2 + CHANGELOG.md | 46 +++++- docs/LOCAL_ARTIFACTS.zh-CN.md | 14 +- docs/README.de.md | 9 +- docs/README.en.md | 11 +- docs/README.ja.md | 5 +- docs/README.ru.md | 5 +- docs/README.zh-CN.md | 11 +- docs/SKIN_DEVELOPMENT.md | 2 +- docs/examples/illusia-voice/manifest.json | 2 +- docs/releases/v0.2.6.md | 26 ++++ mobile/README.md | 10 +- package-lock.json | 4 +- package.json | 2 +- src/mobile/index.ts | 2 +- web/android/app/build.gradle | 7 +- .../composables/useWebClientPublicConfig.ts | 2 +- web/src/services/skin-catalog.test.ts | 6 +- web/src/services/skin-catalog.ts | 6 +- web/src/services/skin-runtime.ts | 2 +- web/src/skins/builtin/dark/manifest.json | 2 +- web/src/skins/builtin/light/manifest.json | 2 +- web/test/skin-lifecycle.test.mjs | 8 +- 24 files changed, 264 insertions(+), 60 deletions(-) create mode 100644 docs/releases/v0.2.6.md diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index de17294..3a4ec2c 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -9,7 +9,7 @@ on: version: description: Release version without the v prefix required: true - default: 0.1.3 + default: 0.2.6 type: string permissions: @@ -19,14 +19,23 @@ jobs: verify: uses: ./.github/workflows/ci.yml - windows-x64: + windows: needs: verify - runs-on: windows-latest + strategy: + fail-fast: false + matrix: + include: + - arch: x64 + runner: windows-latest + - arch: arm64 + runner: windows-11-arm + runs-on: ${{ matrix.runner }} steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 22.22.2 + architecture: ${{ matrix.arch == 'arm64' && 'arm64' || 'x64' }} cache: npm cache-dependency-path: | package-lock.json @@ -57,14 +66,15 @@ jobs: if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } npm prune --omit=dev --no-audit --no-fund if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } - - name: Package and smoke-test Windows x64 + - name: Package and smoke-test Windows ${{ matrix.arch }} shell: pwsh env: RELEASE_REF: ${{ inputs.version || github.ref_name }} + PACKAGE_ARCH: ${{ matrix.arch }} run: | $ErrorActionPreference = "Stop" $releaseVersion = $env:RELEASE_REF -replace '^v', '' - $packageName = "webspeak-webclient-v$releaseVersion-windows-x64" + $packageName = "webspeak-webclient-v$releaseVersion-windows-$env:PACKAGE_ARCH" $packageRoot = Join-Path $env:RUNNER_TEMP $packageName $runtimeRoot = Split-Path -Parent (Get-Command node).Source New-Item -ItemType Directory -Path $packageRoot | Out-Null @@ -116,19 +126,28 @@ jobs: Compress-Archive -LiteralPath $packageRoot -DestinationPath (Join-Path $env:GITHUB_WORKSPACE ($packageName + ".zip")) -CompressionLevel Optimal - uses: actions/upload-artifact@v4 with: - name: windows-x64 - path: webspeak-webclient-v*-windows-x64.zip + name: windows-${{ matrix.arch }} + path: webspeak-webclient-v*-windows-${{ matrix.arch }}.zip if-no-files-found: error compression-level: 0 - linux-x64: + linux: needs: verify - runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + include: + - arch: x64 + runner: ubuntu-latest + - arch: arm64 + runner: ubuntu-24.04-arm + runs-on: ${{ matrix.runner }} steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 22.22.2 + architecture: ${{ matrix.arch == 'arm64' && 'arm64' || 'x64' }} cache: npm cache-dependency-path: | package-lock.json @@ -150,13 +169,14 @@ jobs: npm run web:build npm run build npm prune --omit=dev --no-audit --no-fund - - name: Package and smoke-test Linux x64 + - name: Package and smoke-test Linux ${{ matrix.arch }} env: RELEASE_REF: ${{ inputs.version || github.ref_name }} + PACKAGE_ARCH: ${{ matrix.arch }} run: | set -euo pipefail release_version="${RELEASE_REF#v}" - package_name="webspeak-webclient-v${release_version}-linux-x64" + package_name="webspeak-webclient-v${release_version}-linux-${PACKAGE_ARCH}" package_root="$RUNNER_TEMP/$package_name" runtime_root="$(dirname "$(dirname "$(command -v node)")")" mkdir -p "$package_root/web" "$package_root/runtime" @@ -205,28 +225,114 @@ jobs: tar -czf "$GITHUB_WORKSPACE/${package_name}.tar.gz" -C "$RUNNER_TEMP" "$package_name" - uses: actions/upload-artifact@v4 with: - name: linux-x64 - path: webspeak-webclient-v*-linux-x64.tar.gz + name: linux-${{ matrix.arch }} + path: webspeak-webclient-v*-linux-${{ matrix.arch }}.tar.gz + if-no-files-found: error + compression-level: 0 + + android: + needs: verify + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 22.22.2 + cache: npm + cache-dependency-path: | + package-lock.json + web/package-lock.json + mobile/package-lock.json + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: "21" + - uses: android-actions/setup-android@v3 + - name: Build Android APKs + env: + RELEASE_REF: ${{ inputs.version || github.ref_name }} + run: | + set -euo pipefail + release_version="${RELEASE_REF#v}" + version_code="$(node -e 'const [major, minor, patch] = process.argv[1].split(".").map(Number); process.stdout.write(String(major * 10000 + minor * 100 + patch))' "$release_version")" + sdkmanager "platform-tools" "platforms;android-36" "build-tools;36.0.0" + npm ci --ignore-scripts --no-audit --no-fund + current_version="$(node -p "require('./package.json').version")" + if [ "$current_version" != "$release_version" ]; then + npm version --no-git-tag-version "$release_version" + fi + npm run prepare:sdk + npm --prefix web ci --no-audit --no-fund + npm --prefix mobile ci --no-audit --no-fund + npm run android:sync + cd web/android + ./gradlew --no-daemon assembleDebug -PappVersion="$release_version" -PappVersionCode="$version_code" + cd "$GITHUB_WORKSPACE" + mkdir -p release-apks + for apk in web/android/app/build/outputs/apk/debug/app-*-debug.apk; do + abi="${apk##*/app-}" + abi="${abi%-debug.apk}" + cp "$apk" "release-apks/webspeak-android-v${release_version}-${abi}-debug.apk" + done + test "$(find release-apks -maxdepth 1 -name '*.apk' | wc -l)" -eq 3 + - uses: actions/upload-artifact@v4 + with: + name: android-apks + path: release-apks/*.apk if-no-files-found: error compression-level: 0 publish-release: if: startsWith(github.ref, 'refs/tags/v') - needs: [windows-x64, linux-x64] + needs: [windows, linux, android] runs-on: ubuntu-latest permissions: contents: write steps: + - uses: actions/checkout@v4 - name: Download deployment packages uses: actions/download-artifact@v4 with: - pattern: '*-x64' + pattern: '*' path: release-assets merge-multiple: true + - name: Create checksums + run: | + set -euo pipefail + cd release-assets + sha256sum * > SHA256SUMS.txt - name: Publish GitHub release uses: softprops/action-gh-release@v2 with: tag_name: ${{ github.ref_name }} name: WebSpeak ${{ github.ref_name }} - generate_release_notes: true + body_path: docs/releases/${{ github.ref_name }}.md files: release-assets/* + - name: Remove superseded preview release and tag + uses: actions/github-script@v7 + with: + script: | + const tag = 'v0.2.6-preview'; + try { + const release = await github.rest.repos.getReleaseByTag({ + owner: context.repo.owner, + repo: context.repo.repo, + tag, + }); + await github.rest.repos.deleteRelease({ + owner: context.repo.owner, + repo: context.repo.repo, + release_id: release.data.id, + }); + } catch (error) { + if (error.status !== 404) throw error; + } + try { + await github.rest.git.deleteRef({ + owner: context.repo.owner, + repo: context.repo.repo, + ref: `tags/${tag}`, + }); + } catch (error) { + if (error.status !== 404 && error.status !== 422) throw error; + } diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index aaea48c..c98a577 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -22,6 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - uses: docker/setup-qemu-action@v3 - uses: docker/setup-buildx-action@v3 - name: Log in to GHCR uses: docker/login-action@v3 @@ -43,6 +44,7 @@ jobs: with: context: . push: true + platforms: linux/amd64,linux/arm64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha diff --git a/CHANGELOG.md b/CHANGELOG.md index a42c28d..66cdb4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,45 @@ # Changelog -## [0.2.5-preview] — 2026-09-27(相对 0.2.4) +## [0.2.6] — 2026-10-08(相对 0.2.5 正式版) + +### 中文 + +- 修复 [#10](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/10) 中 Docker/Compose 短主机名解析和 HTTPS 健康检查问题;实现 [#9](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/9) 的 TeamSpeak 身份导入、转换与导出;加固 [#6](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/6) 静音状态同步及 [#7](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/7) TS6 屏幕共享清理流程。 +- 实现 [#12](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/12) 所需的公网媒体地址、IPv6 候选和语音 STUN 管理配置;修复 [PR #13](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/pull/13) 所报告的连接后漏掉既有 TS6 原生屏幕共享的问题。媒体直连仍要求 UDP 路径可达,需按部署环境配置并验证。 +- 改善语音与 WebRTC 会话稳定性:隔离连接切换后的音频、目录和统计事件,改进 Opus 协商及连续编码状态,并修复静音麦克风时伴奏被一并静音的问题。 +- 优化移动端语音控制、屏幕常亮和窄屏布局;改进管理后台状态生命周期与语音工作区组件结构。 +- 发布包扩展为 Windows/Linux x64 与 ARM64;Docker 镜像支持 amd64/arm64;增加 Android 客户端 APK,包含 arm64-v8a、armeabi-v7a、x86_64 三种构建。Android APK 使用 debug 签名,供侧载测试,不代表已完成真机 TeamSpeak 语音验收。 + +### English + +- Fixed Docker/Compose short-hostname resolution and HTTPS health checks in [#10](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/10); implemented TeamSpeak identity import, conversion, and export for [#9](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/9); hardened mute-state synchronization for [#6](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/6) and TS6 screen-share cleanup for [#7](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/7). +- Added the public media address, IPv6-candidate, and voice-STUN controls requested by [#12](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/12), and fixed the missed-existing-TS6-share case described in [PR #13](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/pull/13). Direct media still requires a reachable UDP path and deployment-specific configuration and testing. +- Improved voice and WebRTC session stability by isolating audio, directory, and statistics events across reconnects, tightening Opus negotiation and encoder continuity, and keeping accompaniment audible while the microphone is muted. +- Refined mobile voice controls, screen wake behavior, and narrow layouts; improved administration state lifecycles and voice-workspace component boundaries. +- Expanded Windows/Linux packages to x64 and ARM64; Docker images now support amd64/arm64. Android APKs are available for arm64-v8a, armeabi-v7a, and x86_64. They use debug signing for sideload testing; real-device TeamSpeak voice has not been validated. + +### Deutsch + +- Docker-/Compose-Auflösung kurzer Hostnamen und HTTPS-Gesundheitsprüfungen aus [#10](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/10) behoben; Import, Konvertierung und Export von TeamSpeak-Identitäten für [#9](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/9) ergänzt; Stummschaltungssynchronisierung aus [#6](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/6) und TS6-Bildschirmfreigabe-Bereinigung aus [#7](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/7) gehärtet. +- Die in [#12](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/12) gewünschten Einstellungen für öffentliche Medienadresse, IPv6-Kandidaten und Sprach-STUN ergänzt; den Fall verpasst synchronisierter, bereits aktiver TS6-Freigaben aus [PR #13](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/pull/13) behoben. Direkte Medien benötigen weiterhin einen erreichbaren UDP-Pfad und deployment-spezifische Konfiguration und Tests. +- Sprach- und WebRTC-Sitzungen stabilisiert, Opus-Aushandlung verbessert und Begleitton bei stummgeschaltetem Mikrofon erhalten. Mobile Sprachsteuerung, Bildschirm-Wachhalten und schmale Layouts wurden überarbeitet. +- Windows-/Linux-Pakete für x64 und ARM64 sowie Docker-Images für amd64/arm64 ergänzt. Android-APKs gibt es für arm64-v8a, armeabi-v7a und x86_64; sie sind für Seiteneinladungstests debug-signiert. Reale TeamSpeak-Sprachtests auf Geräten sind nicht bestätigt. + +### Русский + +- Исправлены разрешение коротких имён Docker/Compose и HTTPS-проверки работоспособности из [#10](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/10); добавлен импорт, преобразование и экспорт идентификаторов TeamSpeak для [#9](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/9); усилена синхронизация микрофона из [#6](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/6) и очистка трансляции экрана TS6 из [#7](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/7). +- Добавлены настройки публичного адреса медиа, IPv6-кандидатов и голосового STUN по запросу [#12](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/12); исправлен пропуск уже запущенной трансляции TS6 после подключения из [PR #13](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/pull/13). Для прямого медиа по-прежнему нужен доступный UDP-маршрут и настройка конкретного развёртывания. +- Повышена устойчивость голосовых сессий и WebRTC: события аудио, каталога и статистики изолированы при переподключении, улучшены согласование Opus и непрерывность кодирования; музыка сопровождения остаётся слышна при выключенном микрофоне. Улучшены мобильные элементы управления и узкие экраны. +- Пакеты Windows/Linux теперь доступны для x64 и ARM64, Docker-образы — для amd64/arm64. Android APK собраны для arm64-v8a, armeabi-v7a и x86_64 и подписаны отладочным ключом для установки вручную; голос TeamSpeak на реальных устройствах не проверен. + +### 日本語 + +- [#10](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/10) の Docker/Compose 短縮ホスト名解決と HTTPS ヘルスチェックを修正。[#9](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/9) の TeamSpeak ID インポート・変換・エクスポートを実装し、[#6](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/6) のミュート同期と [#7](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/7) の TS6 画面共有終了処理を強化しました。 +- [#12](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/12) の要望に沿って公開メディアアドレス、IPv6 候補、音声 STUN の設定を追加し、[PR #13](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/pull/13) が報告した接続前から存在する TS6 画面共有の見落としを修正しました。直接メディア通信には到達可能な UDP 経路と環境ごとの設定・検証が必要です。 +- 音声/WebRTC セッションの安定性を改善し、再接続後に古い音声・ディレクトリ・統計イベントが混ざらないようにしました。Opus のネゴシエーションと連続エンコードを改善し、マイクをミュートしても伴奏が聞こえるよう修正しました。モバイル操作と狭い画面のレイアウトも改善しました。 +- Windows/Linux サーバーパッケージは x64 と ARM64、Docker イメージは amd64/arm64 に対応。Android APK は arm64-v8a、armeabi-v7a、x86_64 を用意しました。APK はサイドロードテスト向けのデバッグ署名で、実機 TeamSpeak 音声は未検証です。 + +## [0.2.5] — 2026-09-27(相对 0.2.4) ### 中文 @@ -8,6 +47,7 @@ - 管理员可在皮肤库启用/停用自定义皮肤并指定实例默认皮肤;访客手动选择会保留,未手动选择的访客采用实例默认。默认日间、默认夜间和 ILLUSIA 风是受保护内置皮肤,不能删除、停用或替换。 - 将完成度不足的 Aurora Voice 示例移除,以 ILLUSIA 风作为完整皮肤开发样例;细化首页装饰、语音区跨层级立绘、耳机场景、聊天空状态和屏幕播放器表现,并修复深色模式控件可读性、组件溢出和皮肤加载闪烁。 - 新增官方仓库皮肤开发 Agent Skill,配套更新开发规范与多语言功能说明;访客总数在统计暂不可用时也不会低于当前访客序号。 +- 缩小 ILLUSIA 语音活动立绘并固定在容器右下角,避免遮挡成员名单和屏幕共享播放器。 ### English @@ -15,6 +55,7 @@ - Administrators can enable/disable custom skins and set an instance default. Deliberate visitor choices are preserved; visitors without an explicit choice receive the instance default. Default Day, Default Night, and ILLUSIA are protected built-ins that cannot be removed, disabled, or replaced. - Removed the unfinished Aurora Voice sample and made ILLUSIA the complete reference skin. Refined homepage artwork, layered voice-room character art and headphone scene, the empty-chat backdrop, and the screen-share player; fixed dark-mode control contrast, overflow, and skin-load flashes. - Added the repository's official skin-development Agent Skill and synchronized the guide and localized feature notes. The displayed visitor total also remains at least as high as the current visitor ordinal when the counter is unavailable. +- Reduced and anchored the ILLUSIA voice-activity artwork to the lower-right corner so it no longer obscures member cards or the screen-share player. ### Deutsch @@ -22,6 +63,7 @@ - Administratoren können eigene Skins aktivieren/deaktivieren und ein Standarddesign für die Instanz festlegen. Eine bewusst getroffene Besucherauswahl bleibt erhalten; ohne eigene Auswahl gilt der Instanzstandard. Tagesmodus, Nachtmodus und ILLUSIA sind geschützte integrierte Skins und können weder gelöscht noch deaktiviert oder ersetzt werden. - Das unfertige Aurora-Voice-Beispiel wurde entfernt; ILLUSIA ist nun das vollständige Referenzdesign. Startseitenkunst, Ebenenillustration und Kopfhörerszene im Sprachbereich, leerer Chat-Hintergrund und Bildschirmfreigabe-Player wurden verfeinert. Außerdem wurden dunkle Bedienelemente, Überläufe und Skin-Ladeblitze korrigiert. - Der offizielle Skin-Entwicklungs-Agent-Skill des Repositorys wurde ergänzt; Anleitung und lokalisierte Funktionsübersichten wurden aktualisiert. Die Besucher-Gesamtzahl fällt bei nicht verfügbarem Zähler nicht unter die aktuelle Besuchernummer. +- Die ILLUSIA-Illustration bei Sprachaktivität wurde verkleinert und unten rechts verankert, damit sie weder Mitgliederkarten noch den Bildschirmfreigabe-Player verdeckt. ### Русский @@ -29,6 +71,7 @@ - Администраторы могут включать и отключать пользовательские скины и задавать оформление по умолчанию для экземпляра. Явный выбор посетителя сохраняется; без него используется настройка экземпляра. Дневная тема, ночная тема и ILLUSIA — защищённые встроенные скины, которые нельзя удалить, отключить или заменить. - Удалён незавершённый пример Aurora Voice; полной эталонной темой стала ILLUSIA. Улучшены иллюстрации главной страницы, многослойный персонаж и сцена с наушниками в голосовой комнате, фон пустого чата и проигрыватель трансляции экрана. Исправлены контраст элементов в тёмном режиме, переполнение и вспышки при загрузке скина. - В официальный репозиторий добавлен Agent Skill для разработки скинов, обновлены руководство и локализованные описания функций. При недоступности счётчика общее число посетителей не опускается ниже текущего номера посетителя. +- Иллюстрация ILLUSIA при голосовой активности уменьшена и закреплена внизу справа, чтобы не перекрывать список участников и проигрыватель трансляции экрана. ### 日本語 @@ -36,6 +79,7 @@ - 管理者はカスタムスキンの有効/無効と、インスタンスのデフォルトスキンを設定できます。訪問者が明示的に選んだスキンは維持され、未選択の場合はインスタンスのデフォルトを使用します。昼、夜、ILLUSIA の3種類は保護された内蔵スキンで、削除・無効化・置換できません。 - 未完成の Aurora Voice サンプルを削除し、ILLUSIA を完成版のリファレンスにしました。ホームのアート、音声画面の重ね合わせ立ち絵とヘッドホン背景、空のチャット背景、画面共有プレーヤーを調整し、ダークモードの視認性、はみ出し、読み込み時のちらつきを修正しました。 - 公式リポジトリにスキン開発 Agent Skill を追加し、ガイドと各言語の機能説明を更新しました。カウンターを取得できない場合も、訪問者総数が現在の訪問者番号を下回らないようにしました。 +- 音声アクティビティの ILLUSIA 立ち絵を縮小して右下に固定し、メンバー一覧や画面共有プレーヤーを隠さないようにしました。 ## [0.2.4] — 2026-09-22 diff --git a/docs/LOCAL_ARTIFACTS.zh-CN.md b/docs/LOCAL_ARTIFACTS.zh-CN.md index fb20826..1c8ae71 100644 --- a/docs/LOCAL_ARTIFACTS.zh-CN.md +++ b/docs/LOCAL_ARTIFACTS.zh-CN.md @@ -7,7 +7,7 @@ | `src/`、`web/src/`、`mobile/` 中的入口及打包脚本 | 服务端、网页和 Android 实现 | 跟踪源码;各自依赖和锁文件明确保留 | | `web/android/` | Android 原生工程 | 跟踪原生源码、Gradle 配置与 wrapper;忽略缓存、生成资产和本机 SDK 路径;整个目录不进入服务端 Docker 构建上下文 | | 各级 `node_modules/`、`dist/` | 安装依赖和构建输出 | 忽略 Git;Docker 重新安装并构建;Android 资产由 `npm run android:sync` 生成 | -| `release-artifacts/` | 历史 Windows、Linux 发布包及校验和 | 本地保留,忽略 Git 和 Docker;正式发布使用发布工作流的产物 | +| `release-artifacts/` | 本地发布包及校验和,包括 Android APK | 本地保留,忽略 Git 和 Docker;正式发布使用发布工作流的产物 | | 根目录 `webspeak-deploy*.tar.gz`、`webspeak-update*.tar.gz` | 历史部署与更新包 | 本地保留,按项目专用名称忽略,不使用忽略全部压缩包的 Git 规则 | | 根目录 `teamspeak6-server-linux-amd64.tar.xz` | 下载的 TeamSpeak 服务端归档 | 本地保留,忽略 Git 和 Docker | | `界面参考/stitch_teamspeak_web_interface.zip` | 界面参考归档 | 本地保留并忽略 Git;参考素材不进入服务端 Docker 上下文 | @@ -18,6 +18,18 @@ 未来需要清理磁盘时,先核对产物的来源、是否可重新生成及保留位置,再选择具体文件。未跟踪或已忽略状态本身不是删除依据。 +## 2026-10-08 v0.2.6 Android APK 构建 + +在当前 v0.2.6 发布准备工作树中执行 `npm run android:sync` 和 Gradle `assembleDebug`,使用 Android Studio JDK 25.0.2、Gradle 9.5.0、Android SDK 36。134 个 Gradle 任务通过;APK 清单均为 `versionName=0.2.6`、`versionCode=206`、最低 SDK 24、目标 SDK 36。`apksigner` 验证了三包的 v2 签名;这是 debug 签名,仅适合手动侧载测试。没有 Android 模拟器连接,本轮未安装或测试真实 TeamSpeak 语音。 + +文件保存在被 Git 忽略的 `release-artifacts/android/`: + +| APK | 字节数 | 本机复算 SHA-256 | +| --- | ---: | --- | +| `webspeak-android-v0.2.6-arm64-v8a-debug.apk` | 76,341,182 | `e1851ecbff6b7d133b8f3747781be6d79aeae94bb5a6add723a4b6a7cf868b12` | +| `webspeak-android-v0.2.6-armeabi-v7a-debug.apk` | 72,114,332 | `08007e23e384577872f6f9747ec33bcfb59bbef44b819d7ad7fc032a1e923929` | +| `webspeak-android-v0.2.6-x86_64-debug.apk` | 80,953,005 | `69a5a71aa0d78f6a8ca43131107eb308d6df31858fce972a5d3d4852ce95c94c` | + ## 2026-10-01 干净构建记录(09-A) 构建输入为提交 `662dad36fc4d8cf9f35268a99b8221851f6fc52c`,应用版本 `0.2.5-preview`。本轮没有创建版本标签或发布正式 Release。 diff --git a/docs/README.de.md b/docs/README.de.md index bee61d5..b6617ef 100644 --- a/docs/README.de.md +++ b/docs/README.de.md @@ -154,7 +154,8 @@ Relay deaktivieren und speichern, um die Option von der Willkommensseite zu entf | Version | Datum | Zusammenfassung | | --- | --- | --- | -| 0.2.5-preview | 2026-09-27 | `.wskin`-Skins, Aktivierungs-/Standardverwaltung und geschützte Tages-, Nacht- und ILLUSIA-Skins ergänzt; unfertiges Aurora-Voice-Beispiel entfernt, Skin-Ladeblitze, dunkle Bedienelemente und Artwork-Ebenen im Sprachbereich korrigiert sowie offiziellen Skin-Entwicklungs-Agent-Skill hinzugefügt. | +| [v0.2.6](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.6) | 2026-10-08 | Gegenüber 0.2.5 #10 behoben, #9/#12 umgesetzt, #6/#7 abgesichert und den in PR #13 beschriebenen TS6-Freigabefall korrigiert; Sprach- und Mobilinteraktionen verbessert; Windows-/Linux x64/ARM64, Docker amd64/arm64 und Android-APKs für drei ABIs ergänzt. | +| [v0.2.5](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.5) | 2026-09-27 | `.wskin`-Skins, Aktivierungs-/Standardverwaltung und geschützte Tages-, Nacht- und ILLUSIA-Skins ergänzt; unfertiges Aurora-Voice-Beispiel entfernt, Skin-Ladeblitze, dunkle Bedienelemente und Artwork-Ebenen im Sprachbereich korrigiert sowie offiziellen Skin-Entwicklungs-Agent-Skill hinzugefügt. | | [v0.2.4](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.4) | 2026-09-22 | Plattformübergreifendes P2P-Bildschirmteilen zwischen Browsern und nativen TeamSpeak-6-Clients ergänzt; STUN-/externes-TURN-Konfiguration, Live-Player und Zuschauerstatus, Aufnahmeoptionen bis 1080p/60 FPS und WebRTC-Statistiken hinzugefügt; Bildschirmfreigabe-Interaktion verbessert und Besucherzählung ergänzt. | | [v0.2.3](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.3) | 2026-09-19 | Mitgliederplanung und direkte Verschiebung nach Berechtigung ergänzt; Avatar-, Stummschaltstatus- und Identitätsunterstützung hinzugefügt; Screenshots und Dokumentation für alle fünf Sprachen aktualisiert. | | [v0.2.2](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.2) | 2026-09-17 | Browserseitige Mikrofon-Geräuschunterdrückung, russische und japanische Oberfläche sowie sprachabhängige Begrüßungstexte ergänzt; Lautstärkeinteraktion und Fehlertexte/-codes auf Basis von PR #2 verbessert. | @@ -174,7 +175,7 @@ Vollständige Historie: [CHANGELOG.md](../CHANGELOG.md). | Methode | Geeignet für | Umgebung | | --- | --- | --- | | Docker Compose (empfohlen) | Dauerbetrieb, einfache Updates und persistente Daten | Docker Engine + Docker Compose | -| Release-Paket | Betrieb ohne Node.js und Build-Werkzeuge | Windows x64 oder Linux x64 | +| Release-Paket | Betrieb ohne Node.js und Build-Werkzeuge | Windows/Linux x64 oder ARM64 | | Aus dem Quellcode | Entwicklung und Anpassungen | Node.js 22.5+, Git und native Build-Werkzeuge | ### Docker Compose (empfohlen) @@ -205,7 +206,9 @@ docker compose up -d ### Release-Paket -Das passende `windows-x64.zip` oder `linux-x64.tar.gz` aus den [GitHub Releases](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/latest) herunterladen, in ein eigenes Verzeichnis entpacken und `start-webspeak.cmd` bzw. `./start-webspeak.sh` starten. Die Pakete enthalten Node.js und Produktionsabhängigkeiten. +Das passende `windows-x64.zip`, `windows-arm64.zip`, `linux-x64.tar.gz` oder `linux-arm64.tar.gz` aus den [GitHub Releases](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/latest) herunterladen und den enthaltenen Starter ausführen. Die Pakete enthalten Node.js und Produktionsabhängigkeiten. Docker unterstützt amd64/arm64. + +Android-APKs für `arm64-v8a`, `armeabi-v7a` und `x86_64` sind ebenfalls verfügbar. Sie sind für Tests per Sideload debug-signiert, keine Google-Play-Pakete; echte TeamSpeak-Sprachtests auf Geräten stehen noch aus. ### Aus dem Quellcode diff --git a/docs/README.en.md b/docs/README.en.md index e2dd388..df4563b 100644 --- a/docs/README.en.md +++ b/docs/README.en.md @@ -27,7 +27,7 @@ The public demo is hosted in Hong Kong and its network conditions and load may b | Administration | Manage targets, access policy, WebRTC, relays, invites, sessions, logs, diagnostics, and backups. | | Skins | Protected Day, Night, and ILLUSIA skins, plus instance-managed `.wskin` appearances with administrator enable/default controls. | | User experience | Chinese, English, German, Russian, and Japanese UI with responsive desktop/mobile layouts. | -| Self-hosting | Data stays with the operator; Docker, Windows x64, and Linux x64 deployment options are provided. | +| Self-hosting | Data stays with the operator; Docker amd64/arm64, Windows/Linux x64 and ARM64 packages, and an Android client are provided. | ## 🖼️ Screenshots @@ -162,7 +162,8 @@ Disable and save the relay configuration to remove the relay option from the wel | Version | Date | Summary | | --- | --- | --- | -| 0.2.5-preview | 2026-09-27 | Added `.wskin` skins, administrator enable/default controls, and protected Day/Night/ILLUSIA built-ins; removed the unfinished Aurora Voice sample, fixed skin-load flashes, dark-control contrast, and voice-room artwork layering, and added the official skin-development Agent Skill. | +| [v0.2.6](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.6) | 2026-10-08 | Relative to 0.2.5, fixed #10, implemented #9/#12, hardened #6/#7, and fixed the existing-share discovery case reported in PR #13; improved voice and mobile interactions; added x64/ARM64 server and three-ABI Android packages. | +| [v0.2.5](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.5) | 2026-09-27 | Added `.wskin` skins, administrator enable/default controls, and protected Day/Night/ILLUSIA built-ins; removed the unfinished Aurora Voice sample, fixed skin-load flashes, dark-control contrast, and voice-room artwork layering, and added the official skin-development Agent Skill. | | [v0.2.4](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.4) | 2026-09-22 | Added cross-platform P2P screen sharing between browsers and native TeamSpeak 6 clients; added STUN/external-TURN configuration, live player and viewer state, 1080p/60 FPS capture settings, and WebRTC statistics; refined screen-share interactions and added visitor numbering. | | [v0.2.3](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.3) | 2026-09-19 | Added channel member scheduling and permission-aware direct moves; added avatar, mute-state, and remembered-identity support; refreshed feature screenshots and documentation for all five languages. | | [v0.2.2](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.2) | 2026-09-17 | Added browser-side microphone noise suppression, Russian and Japanese UI, and per-language welcome text; refined volume interaction and error messages/codes on top of PR #2. | @@ -182,7 +183,7 @@ See the complete history in [CHANGELOG.md](../CHANGELOG.md). | Method | Best for | Environment | | --- | --- | --- | | Docker Compose (recommended) | Long-running servers, simple upgrades, and persistent data | Docker Engine + Docker Compose | -| Release package | Running without Node.js or build dependencies | Windows x64 or Linux x64 | +| Release package | Running without Node.js or build dependencies | Windows/Linux x64 or ARM64 | | From source | Development, debugging, and customization | Node.js 22.5+, Git, and native build tools | ### Docker Compose (recommended) @@ -213,7 +214,9 @@ Do not run `docker compose down -v`; it removes the database and administrator s ### Release package -Download the matching `windows-x64.zip` or `linux-x64.tar.gz` from [GitHub Releases](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/latest), extract it into a dedicated directory, and run `start-webspeak.cmd` on Windows or `./start-webspeak.sh` on Linux. Packages include the Node.js runtime and production dependencies. +Download the matching `windows-x64.zip`, `windows-arm64.zip`, `linux-x64.tar.gz`, or `linux-arm64.tar.gz` from [GitHub Releases](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/latest). Extract it and run the included launcher. Packages include the Node.js runtime and production dependencies. Docker images support amd64/arm64. + +Android APKs for `arm64-v8a`, `armeabi-v7a`, and `x86_64` are also attached. They use debug signing for sideload testing; they are not Google Play packages, and real-device voice still needs validation. ### From source diff --git a/docs/README.ja.md b/docs/README.ja.md index c196330..c0d8588 100644 --- a/docs/README.ja.md +++ b/docs/README.ja.md @@ -101,7 +101,7 @@ docker compose up -d ### Release パッケージ -[Releases](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/latest) から Windows x64 または Linux x64 のパッケージを取得し、専用フォルダーに展開して `start-webspeak.cmd` または `./start-webspeak.sh` を実行します。 +[Releases](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/latest) から `windows-x64.zip`、`windows-arm64.zip`、`linux-x64.tar.gz`、`linux-arm64.tar.gz` のいずれかを取得し、同梱ランチャーを実行します。Docker は amd64/arm64 に対応します。`arm64-v8a`、`armeabi-v7a`、`x86_64` の Android APK もあります。APK は手動インストールとテスト向けのデバッグ署名で、Google Play 用ではありません。実機 TeamSpeak 音声は未検証です。 ### ソースから @@ -135,7 +135,8 @@ npm start | バージョン | 内容 | | --- | --- | -| 0.2.5-preview | 2026-09-27 | `.wskin` スキン、管理者向けの有効化/デフォルト設定、保護された昼・夜・ILLUSIA 内蔵スキンを追加。未完成の Aurora Voice サンプルを削除し、読み込み時のちらつき、ダークモードの視認性、音声画面のアートレイヤーを修正。公式スキン開発 Agent Skill も追加しました。 | +| [v0.2.6](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.6) | #10 を修正、#9/#12 の設定を実装し、#6/#7 を強化。PR #13 が報告した TS6 共有の見落としも修正しました。Windows/Linux x64・ARM64、Docker amd64/arm64、3 ABI の Android APK を追加しました。 | +| [v0.2.5](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.5) | `.wskin` スキン、管理者向けの有効化/デフォルト設定、保護された昼・夜・ILLUSIA 内蔵スキンを追加。未完成の Aurora Voice サンプルを削除し、読み込み時のちらつき、ダークモードの視認性、音声画面のアートレイヤーを修正。公式スキン開発 Agent Skill も追加しました。 | | [v0.2.4](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.4) | ブラウザと TeamSpeak 6 ネイティブクライアント間のクロスプラットフォーム P2P 画面共有を追加しました。STUN/外部 TURN 設定、プレーヤーと視聴者状態、1080p/60 FPS 取得設定、WebRTC 統計に対応し、共有操作と訪問者番号も改善しました。 | | [v0.2.3](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.3) | チャンネルメンバーの移動操作と権限に応じた直接移動を追加し、アバター表示、ミュート状態の同期、保存 ID の復元に対応しました。5 言語のスクリーンショットとドキュメントも更新しました。 | | [v0.2.2](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.2) | ブラウザ側マイクノイズ抑制、ロシア語・日本語 UI、言語別ウェルカム文を追加。音量操作と PR #2 を基にしたエラー表示・エラーコードを改善しました。 | diff --git a/docs/README.ru.md b/docs/README.ru.md index f26230e..da722a9 100644 --- a/docs/README.ru.md +++ b/docs/README.ru.md @@ -101,7 +101,7 @@ docker compose up -d ### Пакет Release -Скачайте подходящий пакет Windows x64 или Linux x64 из [Releases](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/latest), распакуйте в отдельную папку и запустите `start-webspeak.cmd` или `./start-webspeak.sh`. +Скачайте подходящий пакет `windows-x64.zip`, `windows-arm64.zip`, `linux-x64.tar.gz` или `linux-arm64.tar.gz` из [Releases](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/latest) и запустите приложенный скрипт. Docker поддерживает amd64/arm64. Также доступны Android APK для `arm64-v8a`, `armeabi-v7a` и `x86_64`; они подписаны отладочным ключом для ручной установки и тестирования, а не для Google Play. Голос TeamSpeak на реальных устройствах пока не проверен. ### Из исходников @@ -135,7 +135,8 @@ npm start | Версия | Изменения | | --- | --- | -| 0.2.5-preview | 2026-09-27 | Добавлены скины `.wskin`, управление включением и темой по умолчанию, а также защищённые темы «День», «Ночь» и ILLUSIA; удалён незавершённый пример Aurora Voice, исправлены мерцание при загрузке скина, контраст элементов в тёмном режиме и слои иллюстраций в голосовом пространстве; добавлен официальный Agent Skill для разработки скинов. | +| [v0.2.6](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.6) | Исправлена #10, реализованы настройки #9/#12, усилены исправления #6/#7 и исправлен случай из PR #13; улучшено мобильное управление; добавлены Windows/Linux x64 и ARM64, Docker amd64/arm64 и Android APK для трёх ABI. | +| [v0.2.5](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.5) | Добавлены скины `.wskin`, управление включением и темой по умолчанию, а также защищённые темы «День», «Ночь» и ILLUSIA; удалён незавершённый пример Aurora Voice, исправлены мерцание при загрузке скина, контраст элементов в тёмном режиме и слои иллюстраций в голосовом пространстве; добавлен официальный Agent Skill для разработки скинов. | | [v0.2.4](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.4) | Добавлена кроссплатформенная P2P-трансляция экрана между браузерами и нативными клиентами TeamSpeak 6; добавлены настройка STUN/внешнего TURN, проигрыватель и состояние зрителей, захват до 1080p/60 FPS и статистика WebRTC; улучшено управление трансляцией и добавлен номер посетителя. | | [v0.2.3](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.3) | Добавлены управление перемещением участников и прямое перемещение с учётом прав; поддержаны аватары, синхронизация микрофона и восстановление идентичности; обновлены скриншоты и документация для пяти языков. | | [v0.2.2](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.2) | Добавлены браузерное шумоподавление микрофона, русский и японский интерфейсы и отдельные тексты приветствия; улучшены управление громкостью и сообщения/коды ошибок на основе PR #2. | diff --git a/docs/README.zh-CN.md b/docs/README.zh-CN.md index 2d8e563..57c5390 100644 --- a/docs/README.zh-CN.md +++ b/docs/README.zh-CN.md @@ -27,7 +27,7 @@ WebSpeak 是一个可自行部署的 TeamSpeak 3 / TeamSpeak 6 网页客户端 | 管理控制台 | 管理目标、访问策略、WebRTC、中继、邀请、会话、日志、诊断和备份。 | | 皮肤 | 提供日间、夜间和 ILLUSIA 三款受保护皮肤,并支持实例自定义 `.wskin` 外观与管理员默认/启用管理。 | | 界面体验 | 提供中文、English、Deutsch、Русский、日本語及响应式桌面/移动布局。 | -| 自托管 | 数据由部署者保存,提供 Docker、Windows x64 和 Linux x64 方案。 | +| 自托管 | 数据由部署者保存,支持 Docker amd64/arm64、Windows/Linux x64/arm64 服务端包和 Android 客户端。 | ## 🖼️ 界面截图 @@ -164,7 +164,8 @@ docker run -d --name webspeak-relay --restart unless-stopped --network host \ | 版本 | 日期 | 摘要 | | --- | --- | --- | -| 0.2.5-preview | 2026-09-27 | 新增 `.wskin` 皮肤系统、管理员启用/默认管理和受保护的日间/夜间/ILLUSIA 内置皮肤;移除未完成 Aurora Voice 样例,修复皮肤加载闪烁、暗色控件可读性与语音界面美术层级,并加入官方皮肤开发 Agent Skill。 | +| [v0.2.6](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.6) | 2026-10-08 | 相对 0.2.5 修复 #10、实现 #9/#12,并加固 #6/#7;修复 PR #13 所报告的既有屏幕共享漏同步;改善语音和移动端交互;发布 x64/ARM64 与三种 ABI 构建包。 | +| [v0.2.5](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.5) | 2026-09-27 | 新增 `.wskin` 皮肤系统、管理员启用/默认管理和受保护的日间/夜间/ILLUSIA 内置皮肤;移除未完成 Aurora Voice 样例,修复皮肤加载闪烁、暗色控件可读性与语音界面美术层级,并加入官方皮肤开发 Agent Skill。 | | [v0.2.4](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.4) | 2026-09-22 | 新增浏览器与 TeamSpeak 6 原生客户端之间的跨端 P2P 屏幕共享;提供 STUN/外部 TURN 配置、直播播放器、观众状态、1080p/60 FPS 采集设置和 WebRTC 统计;优化屏幕共享交互并新增访客编号。 | | [v0.2.3](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.3) | 2026-09-19 | 新增频道成员调度与按权限直接移动;支持头像、静音状态同步和身份恢复;更新五种语言的功能截图与文档。 | | [v0.2.2](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.2) | 2026-09-17 | 提供浏览器端麦克风降噪、俄语和日语支持及按语言欢迎词配置;优化音量交互和 PR #2 基础上的错误提示与错误代码。 | @@ -184,7 +185,7 @@ docker run -d --name webspeak-relay --restart unless-stopped --network host \ | 方案 | 适用场景 | 环境 | | --- | --- | --- | | Docker Compose(推荐) | 长期运行、升级简单、数据持久化 | Docker Engine + Docker Compose | -| 发布包 | 不安装 Node.js 和构建依赖 | Windows x64 或 Linux x64 | +| 发布包 | 不安装 Node.js 和构建依赖 | Windows/Linux x64 或 ARM64 | | 源码运行 | 开发、调试和二次开发 | Node.js 22.5+、Git 和本地编译工具 | ### Docker Compose(推荐) @@ -215,7 +216,9 @@ docker compose up -d ### 发布包 -从 [GitHub Releases](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/latest) 下载对应的 `windows-x64.zip` 或 `linux-x64.tar.gz`,解压后运行 Windows 的 `start-webspeak.cmd` 或 Linux 的 `./start-webspeak.sh`。发布包自带 Node.js 运行时和生产依赖。 +从 [GitHub Releases](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/latest) 下载与系统和架构匹配的 `windows-x64.zip`、`windows-arm64.zip`、`linux-x64.tar.gz` 或 `linux-arm64.tar.gz`,解压后运行对应启动脚本。发布包自带 Node.js 运行时和生产依赖。Docker 镜像支持 amd64/arm64。 + +Release 同时提供 Android `arm64-v8a`、`armeabi-v7a` 和 `x86_64` APK。它们使用 debug 签名,可手动侧载测试;不是 Google Play 发布包,Android 真机语音仍需验收。 ### 源码运行 diff --git a/docs/SKIN_DEVELOPMENT.md b/docs/SKIN_DEVELOPMENT.md index 9ec6ce4..45e8a6c 100644 --- a/docs/SKIN_DEVELOPMENT.md +++ b/docs/SKIN_DEVELOPMENT.md @@ -40,7 +40,7 @@ assets/brand.woff2 # 可选:自带字体 "description": "A visual-only art skin using the WebSpeak interface translations.", "entry": "skin.css", "preview": "assets/background-composite.webp", - "minAppVersion": "0.2.5-preview" + "minAppVersion": "0.2.6" } ``` diff --git a/docs/examples/illusia-voice/manifest.json b/docs/examples/illusia-voice/manifest.json index 366d641..23974c2 100644 --- a/docs/examples/illusia-voice/manifest.json +++ b/docs/examples/illusia-voice/manifest.json @@ -8,5 +8,5 @@ "description": "A bright original-character art skin for the home, voice room, and demo pages.", "entry": "skin.css", "preview": "assets/background-composite.webp", - "minAppVersion": "0.2.5-preview" + "minAppVersion": "0.2.6" } diff --git a/docs/releases/v0.2.6.md b/docs/releases/v0.2.6.md new file mode 100644 index 0000000..3c9b103 --- /dev/null +++ b/docs/releases/v0.2.6.md @@ -0,0 +1,26 @@ +# WebSpeak 0.2.6 + +本版本相对于 [0.2.5 正式版](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/releases/tag/v0.2.5) 更新。 + +## 问题修复与功能 + +- **已修复 [#10](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/10)**:Docker/Compose 环境下短主机名的本地 DNS 解析回退;云端昵称发现加入超时和直接连接回退,避免外部发现服务不可用时阻塞连接。HTTPS 部署的健康检查也会根据证书配置选择 HTTPS。 +- **已实现 [#9](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/9)**:导入 TeamSpeak 3 身份 INI 或身份字符串、导出 WebSpeak/TeamSpeak 兼容身份,并在本地校验格式和密钥一致性。 +- **已修复 [#6](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/6)**:静音同步遇到服务端频率限制时有限重试;会话切换或重连后,旧请求不会覆盖当前麦克风状态。 +- **已修复 [#7](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/7)**:TS6 屏幕共享清理等待服务器确认,携带清理原因并对频率限制有限重试,避免本地提前显示清理成功。 +- **已实现 [#12](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/issues/12) 请求的配置入口**:管理员可设置公网媒体地址、IPv6 候选和语音 STUN,以适配反向代理或 TCP 隧道后的 UDP 媒体路径。直接媒体仍要求 UDP 可达,STUN 不提供中继。 +- 修复 [PR #13](https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak/pull/13) 所报告的问题:新 WebSpeak 会话会发现已经开始的 TS6 原生屏幕共享,并将发现过程按服务器协调。PR 本身没有合并。 +- 改善语音稳定性:隔离重连前后的音频帧、播放回调、目录事件和性能统计;保留连续 Opus 编码状态,只协商受支持的音频参数;切换麦克风或伴奏设置时尽量保留正在工作的采集链路。 +- 改善移动端布局和语音控制,增加语音会话期间的屏幕常亮行为;梳理管理后台状态请求和语音工作区组件边界。 + +## 发布包与架构 + +- Windows:`windows-x64.zip`、`windows-arm64.zip`。 +- Linux:`linux-x64.tar.gz`、`linux-arm64.tar.gz`。 +- Docker:同一镜像标签提供 `linux/amd64` 和 `linux/arm64`。 +- Android:分别提供 `arm64-v8a`、`armeabi-v7a`、`x86_64` APK。APK 使用 Android debug 签名,适合手动安装和测试,不是 Google Play 发布包。Android 端的真实 TeamSpeak 连接、双向语音和后台行为仍需真机验收。 +- `SHA256SUMS.txt` 列出本次附件的 SHA-256,可用于下载后校验。 + +## 验证 + +发布流程运行完整自动化测试和前后端构建;各 Windows/Linux 架构的发布包均启动内置健康检查,Android 流程构建三种 ABI 的 APK。自动化构建成功不等于真实 TeamSpeak 服务器或 Android 真机媒体链路已经验收。 diff --git a/mobile/README.md b/mobile/README.md index d1feac5..982a05d 100644 --- a/mobile/README.md +++ b/mobile/README.md @@ -1,6 +1,6 @@ -# Android preview +# Android client -The Android app packages the existing Vue client with a small local gateway. Capacitor starts the embedded Node.js runtime, the gateway listens on `127.0.0.1:3040`, and the WebView opens that local address. The gateway is loopback-only; it does not expose an HTTP listener to the LAN. +The Android app packages the Vue client with a small local gateway. Capacitor starts the embedded Node.js runtime, the gateway listens on `127.0.0.1:3040`, and the WebView opens that local address. The gateway is loopback-only; it does not expose an HTTP listener to the LAN. Release APKs are debug-signed sideload packages, not Google Play builds. ## Build on Windows @@ -26,15 +26,15 @@ Set-Location web\android .\gradlew.bat assembleDebug ``` -Gradle writes one APK per supported CPU architecture under `web/android/app/build/outputs/apk/debug/`. Use `app-arm64-v8a-debug.apk` for most Android phones and `app-x86_64-debug.apk` for the Android emulator. +Gradle writes one APK per supported CPU architecture under `web/android/app/build/outputs/apk/debug/`: `arm64-v8a`, `armeabi-v7a`, and `x86_64`. Use `arm64-v8a` for most modern Android phones and `x86_64` for the Android emulator. GitHub Releases contains all three APKs with versioned filenames. ## Current scope - Platform startup is isolated in `web/src/platform/`. Ordinary browser sessions mount directly; the native shell loads the Node.js plugin only while waiting for its loopback gateway. Startup errors, timeouts and page exit release polling and message listeners. Retry repeats the readiness handshake without restarting the embedded Node.js runtime. - The local gateway serves the join page, public configuration, skin package, join-ticket endpoint, and voice WebSocket bridge. -- The admin console and server-side skin management are not available in this preview. +- The admin console and server-side skin management are not available in the Android package. - Mobile audio encoding uses the JavaScript/WASM Opus codec. The normal server build continues to use the native Opus codec. -- The embedded runtime supplied by the current Capacitor Node.js plugin is Node.js 18.20.4. The selected gateway, identity parsing, and Opus encode/decode paths have been smoke-checked on that runtime. The TeamSpeak SDK declares Node.js 20.19 or newer, so a real connection to a TeamSpeak server still needs device testing before this is treated as a release build. +- The embedded runtime supplied by the current Capacitor Node.js plugin is Node.js 18.20.4. The gateway, identity parsing, and Opus encode/decode paths have been smoke-checked on that runtime. The TeamSpeak SDK declares Node.js 20.19 or newer, so real TeamSpeak connectivity and two-way audio remain unverified on Android; the APKs are for sideload testing. - Android WebView on the tested emulator does not expose `getDisplayMedia`; screen sharing needs a native MediaProjection integration. A persistent Android foreground service and real-device background audio behavior also remain to be implemented and verified. ## Recorded validation diff --git a/package-lock.json b/package-lock.json index 10db584..df58b6a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "webspeak-webclient", - "version": "0.2.6-preview", + "version": "0.2.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "webspeak-webclient", - "version": "0.2.6-preview", + "version": "0.2.6", "license": "AGPL-3.0-only", "dependencies": { "@discordjs/opus": "^0.10.0", diff --git a/package.json b/package.json index 86a489b..3569479 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "webspeak-webclient", - "version": "0.2.6-preview", + "version": "0.2.6", "private": true, "license": "AGPL-3.0-only", "type": "module", diff --git a/src/mobile/index.ts b/src/mobile/index.ts index 066cdc4..cac04f6 100644 --- a/src/mobile/index.ts +++ b/src/mobile/index.ts @@ -31,7 +31,7 @@ app.get("/api/health", (_request, response) => response.json({ status: "ok", eng app.get("/api/public-config", (_request, response) => { response.setHeader("Cache-Control", "no-store"); response.json({ - version: process.env.WEBSPEAK_VERSION ?? "0.2.5-preview", + version: process.env.WEBSPEAK_VERSION ?? "0.2.6", initialized: true, siteName: "WebSpeak", welcomeText: DEFAULT_WELCOME_TEXTS.zh, diff --git a/web/android/app/build.gradle b/web/android/app/build.gradle index 10ced95..5ba7799 100644 --- a/web/android/app/build.gradle +++ b/web/android/app/build.gradle @@ -1,5 +1,8 @@ apply plugin: 'com.android.application' +def appVersion = project.hasProperty('appVersion') ? project.property('appVersion').toString() : '0.2.6' +def appVersionCode = project.hasProperty('appVersionCode') ? project.property('appVersionCode').toString().toInteger() : 206 + android { namespace = "io.webspeak.client" compileSdk = rootProject.ext.compileSdkVersion @@ -15,8 +18,8 @@ android { applicationId "io.webspeak.client" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 25 - versionName "0.2.5-preview" + versionCode appVersionCode + versionName appVersion testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" aaptOptions { // Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps. diff --git a/web/src/composables/useWebClientPublicConfig.ts b/web/src/composables/useWebClientPublicConfig.ts index 7dbb549..6489891 100644 --- a/web/src/composables/useWebClientPublicConfig.ts +++ b/web/src/composables/useWebClientPublicConfig.ts @@ -28,7 +28,7 @@ export function useWebClientPublicConfig({ const initialized = ref(false); const mobileMode = ref(false); const siteName = ref("WebSpeak"); - const appVersion = ref("0.2.5-preview"); + const appVersion = ref("0.2.6"); const visitorNumber = ref(null); const visitorTotal = ref(null); const accelerationRelays = ref([]); diff --git a/web/src/services/skin-catalog.test.ts b/web/src/services/skin-catalog.test.ts index 180f657..293d20f 100644 --- a/web/src/services/skin-catalog.test.ts +++ b/web/src/services/skin-catalog.test.ts @@ -12,8 +12,8 @@ test("skin catalog always includes the three protected built-ins and exposes onl globalThis.fetch = async () => new Response(JSON.stringify({ defaultSkinId: "sample-skin", skins: [ - { id: "sample-skin", name: "Sample", version: "1.0.0", author: "Test", license: "MIT", minAppVersion: "0.2.5-preview", installedAt: 1, enabled: true }, - { id: "disabled-skin", name: "Disabled", version: "1.0.0", author: "Test", license: "MIT", minAppVersion: "0.2.5-preview", installedAt: 2, enabled: false }, + { id: "sample-skin", name: "Sample", version: "1.0.0", author: "Test", license: "MIT", minAppVersion: "0.2.6", installedAt: 1, enabled: true }, + { id: "disabled-skin", name: "Disabled", version: "1.0.0", author: "Test", license: "MIT", minAppVersion: "0.2.6", installedAt: 2, enabled: false }, { id: "community.illusia-voice", name: "Spoofed", version: "9.9.9", author: "Other", license: "MIT", minAppVersion: "0.0.1", installedAt: 3 }, ], }), { status: 200, headers: { "content-type": "application/json" } }); @@ -40,7 +40,7 @@ test("invalid or disabled instance defaults safely fall back to the protected da const originalFetch = globalThis.fetch; globalThis.fetch = async () => new Response(JSON.stringify({ defaultSkinId: "disabled-skin", - skins: [{ id: "disabled-skin", name: "Disabled", version: "1.0.0", author: "Test", license: "MIT", minAppVersion: "0.2.5-preview", installedAt: 2, enabled: false }], + skins: [{ id: "disabled-skin", name: "Disabled", version: "1.0.0", author: "Test", license: "MIT", minAppVersion: "0.2.6", installedAt: 2, enabled: false }], }), { status: 200, headers: { "content-type": "application/json" } }); try { diff --git a/web/src/services/skin-catalog.ts b/web/src/services/skin-catalog.ts index 47e1a34..0bc7810 100644 --- a/web/src/services/skin-catalog.ts +++ b/web/src/services/skin-catalog.ts @@ -12,7 +12,7 @@ export const BUILTIN_SKIN_CATALOG: SkinCatalogEntry[] = [ author: "WebSpeak", license: "AGPL-3.0-only", description: "The default light appearance.", - minAppVersion: "0.2.5-preview", + minAppVersion: "0.2.6", installedAt: 0, builtIn: true, previewKind: "day", @@ -24,7 +24,7 @@ export const BUILTIN_SKIN_CATALOG: SkinCatalogEntry[] = [ author: "WebSpeak", license: "AGPL-3.0-only", description: "The default dark appearance.", - minAppVersion: "0.2.5-preview", + minAppVersion: "0.2.6", installedAt: 0, builtIn: true, previewKind: "night", @@ -36,7 +36,7 @@ export const BUILTIN_SKIN_CATALOG: SkinCatalogEntry[] = [ author: "WebSpeak Project", license: "All rights reserved", description: "A bright original-character art skin for the home, voice room, and demo pages.", - minAppVersion: "0.2.5-preview", + minAppVersion: "0.2.6", previewUrl: "/skins/illusia-voice-preview.webp", installedAt: 0, builtIn: true, diff --git a/web/src/services/skin-runtime.ts b/web/src/services/skin-runtime.ts index 5ae2791..13b1b80 100644 --- a/web/src/services/skin-runtime.ts +++ b/web/src/services/skin-runtime.ts @@ -33,7 +33,7 @@ export async function activateStoredSkin(): Promise { return activateSkin(selectedId); } -export async function activateSkin(id: string, expectedVersion?: string, appVersion = "0.2.5-preview", options: SkinLoadOptions = {}): Promise { +export async function activateSkin(id: string, expectedVersion?: string, appVersion = "0.2.6", options: SkinLoadOptions = {}): Promise { // An already retired page must not cancel a newer page's activation. options.signal?.throwIfAborted(); pendingActivation?.cancel(); diff --git a/web/src/skins/builtin/dark/manifest.json b/web/src/skins/builtin/dark/manifest.json index 08f5992..c02bfa4 100644 --- a/web/src/skins/builtin/dark/manifest.json +++ b/web/src/skins/builtin/dark/manifest.json @@ -7,5 +7,5 @@ "license": "AGPL-3.0-only", "description": "The built-in dark appearance for public WebSpeak pages.", "entry": "skin.css", - "minAppVersion": "0.2.5-preview" + "minAppVersion": "0.2.6" } diff --git a/web/src/skins/builtin/light/manifest.json b/web/src/skins/builtin/light/manifest.json index 1abab75..452aeb0 100644 --- a/web/src/skins/builtin/light/manifest.json +++ b/web/src/skins/builtin/light/manifest.json @@ -7,5 +7,5 @@ "license": "AGPL-3.0-only", "description": "The built-in light appearance for public WebSpeak pages.", "entry": "skin.css", - "minAppVersion": "0.2.5-preview" + "minAppVersion": "0.2.6" } diff --git a/web/test/skin-lifecycle.test.mjs b/web/test/skin-lifecycle.test.mjs index db17fdc..744a75b 100644 --- a/web/test/skin-lifecycle.test.mjs +++ b/web/test/skin-lifecycle.test.mjs @@ -16,7 +16,7 @@ const deferred = () => { const promise = new Promise((yes, no) => { resolve = yes; reject = no; }); return { promise, resolve, reject }; }; -const skin = id => ({ id, name: id, version: "1.0.0", minAppVersion: "0.2.5-preview", +const skin = id => ({ id, name: id, version: "1.0.0", minAppVersion: "0.2.6", css: `[data-ws-skin="${id}"] { --skin-test: blue; }`, assets: {}, installedAt: 1 }); const json = body => new Response(JSON.stringify(body)); class Element { @@ -97,7 +97,7 @@ test("clearing a skin invalidates an outstanding local read", async () => { test("aborting an activation prevents a late read from modifying the next page", async () => { const read = deferred(), owner = new AbortController(); globalThis.skinStorage.get = () => read.promise; - const old = runtime.activateSkin("sample.a", undefined, "0.2.5-preview", { signal: owner.signal }).catch(error => error); + const old = runtime.activateSkin("sample.a", undefined, "0.2.6", { signal: owner.signal }).catch(error => error); owner.abort(); read.resolve(skin("sample.a")); await old; assert.equal(elements.has("webspeak-active-custom-skin"), false); assert.equal(runtime.getStoredSkinId(), null); @@ -119,7 +119,7 @@ function page(options = {}) { } test("a skin load deadline settles a hung local read and rejects its late result", async () => { const read = deferred(); globalThis.skinStorage.get = () => read.promise; - await assert.rejects(runtime.activateSkin("sample.a", undefined, "0.2.5-preview", { timeoutMs: 10 }), { name: "TimeoutError" }); + await assert.rejects(runtime.activateSkin("sample.a", undefined, "0.2.6", { timeoutMs: 10 }), { name: "TimeoutError" }); read.resolve(skin("sample.a")); await nextTurn(); assert.equal(elements.has("webspeak-active-custom-skin"), false); }); @@ -134,7 +134,7 @@ test("the directory deadline includes a hanging JSON body and aborts its request test("the package deadline includes a hanging archive body", async () => { const body = deferred(); let signal; handler = async (_url, init) => { signal = init.signal; return { ok: true, blob: () => body.promise }; }; - await assert.rejects(runtime.activateSkin("sample.a", undefined, "0.2.5-preview", { timeoutMs: 10 }), { name: "TimeoutError" }); + await assert.rejects(runtime.activateSkin("sample.a", undefined, "0.2.6", { timeoutMs: 10 }), { name: "TimeoutError" }); assert.equal(signal.aborted, true); body.resolve(new Blob(["invalid"])); await nextTurn(); assert.equal(runtime.getStoredSkinId(), null);