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

+19 -14
View File
@@ -7,17 +7,19 @@ session; items marked *inferred* come from the brief alone).
## Platform
web
native
(An Electron desktop application whose interface is HTML/CSS; target systems: Linux ARM64 on Apple M1 Pro
under Asahi Linux first, plus Linux x86-64 and Windows x86-64.)
(A Rust/Slint application targeting Linux ARM64 on Apple M1 Pro under Asahi Linux first,
plus Linux x86-64 and Windows x86-64. Other desktop/mobile targets are acceptance targets,
not a claim of tested platform support.)
## Stack
Delegated: Electron with plain JavaScript modules and HTML/CSS for the interface; a Rust native core
(ReSpeak tsclientlib) for the TeamSpeak protocol, spoken to over newline-JSON stdio. Chosen because the
screenshare viewer needs a real libwebrtc-compatible WebRTC stack (Chromium's) and the owner had no stack
preference.
Rust workspace: Slint UI in `native/`, ReSpeak tsclientlib protocol library in `core/`,
native DSP in `dsp/`, and source-built libwebrtc with Skia presentation. The application
uses typed in-process services and bounded media channels; the standalone core JSON adapter
remains a diagnostic interface, not the desktop transport. There is no browser or JavaScript
runtime. Cargo `xtask` owns dependency provisioning, builds, packaging and isolated smoke entry points.
## Users
@@ -40,17 +42,19 @@ a claim of complete interoperability; the evidence matrix records the demonstrat
## Operating Context
Long voice sessions with the app in the background; push-to-talk or an open microphone; occasional stream
viewing and explicitly started publishing in a channel; the client now offers target-bound moderation
and explicit group/client permission changes, while the server remains authoritative.
viewing and explicitly started publishing in a channel; target-bound moderation and explicit group/client
permission changes remain required, while the server remains authoritative. Historical implementation
evidence is separated from native acceptance in FEATURE_COMPATIBILITY.md.
## Capabilities and Constraints
- No myTeamSpeak account, registration or global services; identity is a local P-256 key with a public UID.
- Server-provided content (names, chat, descriptions, banners, icons) is untrusted input.
- Screenshare viewing uses the P2P path only; SFU-routed streams are reported as unsupported.
- The renderer may not choose files, paths or commands; native dialogs live in the main process.
- Later goal: broader parity with server features; out of scope: global myTeamSpeak features.
- Undecided: sending one's own screen share; global push-to-talk on Wayland; license of TeamsPeach's code.
- UI intents cannot choose arbitrary host paths or commands; native services own chooser grants and validation.
- Broader local/server parity remains required; global myTeamSpeak services are outside scope.
- Publishing, global shortcuts and platform integration require real native backends and separately scoped evidence.
- Product cutover does not establish full acceptance; no historical browser-client pass becomes a native pass.
## Brand Commitments
@@ -60,8 +64,9 @@ installed official TeamSpeak 6 client's design, not an interpretation: the Liqui
peach accent are retired. Colours, typography (bundled Noto Sans, SIL OFL), spacing, row heights,
the three-slot window (sidebar, server tree, detail pane), menus, settings and chat geometry come from
the installed client's own source values, with extraction offsets in `docs/evidence/official-parity/`.
The TeamSpeak application logo and name are not shipped. Non-brand SVG artwork is copied from the
installed client for the owner's requested local reproduction; no redistribution licence is claimed.
The TeamSpeak application logo and name are not shipped. Historical non-brand SVG artwork and retained
notification sounds have provenance records in `LICENSES/`; no redistribution licence is claimed.
Removing the old interface does not remove the legal obligations of retained assets.
Account-bound surfaces (notification bell, cloud contacts, myTeamSpeak presence, Setup Chat) remain omitted.
Local UID contacts use connected-server presence only and are not a substitute for cloud synchronization.
Remaining visual and functional deviations are listed in DESIGN.md and FEATURE_COMPATIBILITY.md; visual