Remove Electron and make Rust Slint the sole native client

This commit is contained in:
bit9992 committed 2026-11-10 17:53:53 +03:00
1 parent eb24965076
commit 220852f8cb
720 files changed
+2535 -130856

No files matched your search

+22 -8
View File
@@ -1,9 +1,17 @@
# TeamsPeach ↔ TeamSpeak 6 server features
## Native migration verification (2026-11-10)
## Native-only cutover and verification (2026-11-10)
The Rust/Slint migration is not a completed product cutover. Historical Electron evidence below
does not establish native or mobile acceptance. The reference client remains available.
The current product source is Rust/Slint with in-process Rust core services, native DSP, Skia and
source-built libwebrtc. The Electron runtime, interface, consumer suites and launch/build tooling have
been removed. This owner-authorized source cutover is **not** completion of all native/mobile acceptance.
`native/compatibility.json` retains 718 pending behavioral requirements; none are promoted to passes.
Historical browser-client evidence below remains useful regression history, never native acceptance.
For historical deleted source, use the revision-pinned
[pre-cutover tree](https://git.eeee.moe/TeamsPeach/client/src/commit/eb24965076599267687c8c4dd6f24f22953b15f6).
It is reference-only, not a development/runtime dependency. Current commands are Cargo/`xtask` interfaces
in README; no historical runtime or harness is needed to build the native client.
Windows x64 WebRTC was built from pinned SDK `88705b15086ecbe2c26ee91ede6203f974a0fc62` and
WebRTC `9c3a1386f07e4348c28cd85c066821cebc3b56e4`; `native/native-deps.lock.json` records the
@@ -27,6 +35,8 @@ preserved byte-for-byte. No physical microphone, speaker, camera, screen capture
was used for these checks.
## Approved original panel composition
Historical browser-client checkpoint: the paragraphs in this section describe that build, not a native pass.
The owner selected the original TS6 composition for Privacy, Video, Notifications and About. Root
sections now retain the source order with explicit unavailable states. Actual decoder controls are in
@@ -41,6 +51,8 @@ decoder-policy restart passed separately. `approved-panel-pairs` still reports 3
that result is not converted into a pixel-parity pass by the approved composition change.
## Current local workflow corrections
Historical browser-client workflow checkpoint; these behaviors remain native requirements unless corrected below.
Identity export and Copy UID are in the identity selector's context menu (also Shift+F10).
Export still requires the private-key warning confirmation. Disconnected nickname changes use
@@ -58,6 +70,8 @@ Navigation intentionally omits Account/Remote Apps; local-contact, privacy, vide
content also differ. Remaining geometry is not automatically an authorized exception.
## Expanded local panels checkpoint (2026-11-01)
Historical browser-client evidence only. “Current” in the retained table means the recorded 2026-11-01 build.
This supersedes the earlier absence of local contacts below. Remote Apps remains explicitly excluded.
The earlier tables remain historical evidence, not a declaration that all current screens match TS6.
@@ -94,7 +108,7 @@ unless stated. No new live-server mutation or physical media capture is part of
|---|---|---|
| First-run nickname, P-256 identity, public UID, restart persistence, rename keeps UID | proven | `docs/evidence/runtime/2026-10-24-identity/` |
| Connect / disconnect by address | proven | identity run `04-connected.png` |
| Saved servers (name + address, no passwords): save, edit, delete, restart persistence, one-click connect, clean switch | proven | `docs/evidence/runtime/2026-10-24-servers-settings/` (connect with same UID, mic muted) + `test/prefs.test.js` |
| Saved servers (name + address, no passwords): save, edit, delete, restart persistence, one-click connect, clean switch | proven | `docs/evidence/runtime/2026-10-24-servers-settings/` (connect with same UID, mic muted); [historical preferences tests](https://git.eeee.moe/TeamsPeach/client/src/commit/eb24965076599267687c8c4dd6f24f22953b15f6/test/prefs.test.js) |
| Sectioned settings (Identity, Servers, Appearance, Audio, Video, Keys, Information) without dropping the connection | proven | servers-settings run: all 7 panels visited while connected, keyboard Home/arrows, Escape returns |
| Theme: system / dark / light | implemented | dark captured in servers-settings screenshots |
| User themes / extensions | Current implementation; format- and `--tsv-*` token-compatible, not official DOM-class compatible | `docs/themes.md`; current consumer unit suite and guarded runtime acceptance below |
@@ -132,7 +146,7 @@ unless stated. No new live-server mutation or physical media capture is part of
| Per-participant local volume/mute/reset | generated native two-codec decode/mix plus real UI transport verified | Whole native suite: 66 unit tests including both codecs, gain/mute/reset and subprocess proof; max sample error 2, target mute retains other speaker exactly. Connection-scoped UID identity and recycled decode queues tested; no new live call claim |
| Channel member collapse and sidebar resize | isolated Electron UI verified | `C:/Users/Admin/tmp/teamspeach-ui9-20261024/dev-tree/result.json`; actual pointer/keyboard, per-server persistence, child headings retained; no active live-call proof |
| Selected-application broadcast audio | Windows native capture proof and synthetic bridge-to-WebRTC proof are separate; Linux runtime unverified; macOS blocked | `docs/evidence/native-app-audio-proof.json` records prior Windows 64.7 dB selection isolation, before later ancestry/lifetime fixes. `smoke-out/appaudio-synthetic/result.json` proves exact-contract PCM through production transport/worklet and decoded WebRTC. Combined native-to-WebRTC verification needs an isolated audio endpoint; prior default-output tone was potentially audible. Linux requires pactl/parec and PulseAudio or PipeWire-Pulse; macOS SDK/CoreAudio/TCC implementation is missing |
| General file browser / file transfer | Implemented in current cutover, not part of this historical baseline | Legacy TCP transfer and app-wide settings; current native and main/renderer tests below |
| General file browser / file transfer | Implemented in the historical browser-client cutover, not part of this baseline | Legacy TCP transfer and app-wide settings; native acceptance remains separate |
| Other features | No blanket parity claim | The current full feature matrix identifies owners, observed tests and exact remaining prerequisites |
## Earlier account-free acceptance checkpoint (2026-11-01)
@@ -143,7 +157,7 @@ exception: its native transport remains unimplemented (see below). No account UI
missing local feature. Tests use disposable state and controlled inputs; protocol fixtures do not establish
real server interoperability, and synthetic renderer IPC is never native transaction success.
Current exercised gates: **318 Node consumer tests passed**, one deliberately skipped live release-list
Historical exercised gates: **318 Node consumer tests passed**, one deliberately skipped live release-list
test; **152 native unit tests passed**, one optional external-PCM audit ignored; **5 native stdio bridge
tests passed** after contract fixes. Full logs are in
`C:/Users/Admin/tmp/teamspeach-official-parity-20261101/qa-final/`. Actual release subprocess checks also
@@ -274,8 +288,8 @@ Windows atomic overwrite failing while the old reader remained open. Windows pub
These results do not establish acoustic AEC, physical capture, official-peer interoperability,
Asahi/mobile execution, OS accessibility, installed updater/relaunch or complete visual parity.
Existing Electron evidence above remains historical reference. The reference production path remains
intentionally present until the approved migration's full acceptance gates pass.
Existing Electron evidence above remains historical reference only. Its production runtime/source has
been removed by the native-only cutover; outstanding acceptance gates remain outstanding, not waived.
Windows test-only packaging produced an unsigned NSIS installer (38,668,543 bytes) and ZIP
(52,858,951 bytes) in `target/evidence/native-package-03/`. Its `x86_64-pc-windows-msvc/verification.json`