Files
client/PRODUCT.md
T

78 lines
3.6 KiB
Markdown

# Product
<!-- impeccable:product-schema 1 -->
Recorded from the owner's brief relayed by the parent agent (no direct interview was possible in this
session; items marked *inferred* come from the brief alone).
## Platform
web
(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.)
## 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.
## Users
A Russian-speaking owner and the people on their own TeamSpeak 6 server (10.10.10.160), who meet there for
voice chat and watch each other's screen shares, typically while gaming or working. The owner uses Asahi
Linux on an M1 Pro, where no official TeamSpeak 6 client exists.
## Product Purpose
Let a user join a TeamSpeak 6 server without any account, talk and listen with working two-way voice, chat,
and watch real TS6 screen shares — first on Linux ARM64. Success: the owner sits in the server from Asahi with
working voice and can watch a friend's stream.
## Positioning
An independent, account-free TeamSpeak 6 client that interoperates with the official client's voice and P2P
screenshare protocol, built for platforms the official client does not serve.
## Operating Context
Long voice sessions with the app in the background; push-to-talk or an open microphone; occasional stream
viewing in a channel; the server is the owner's own TS6 server, administered elsewhere (no administration
from this client).
## 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.
## Brand Commitments
Name "TeamsPeach"; restrained peach accent (*inferred* from the name and brief); Russian interface language.
The owner pinned a visual reference for settings (TeamSpeak 6 style: category navigation on the left,
titled card sections on the right, dark blue-gray surfaces); settings follow it.
The owner explicitly asked for a straightforward, familiar chat UI rather than a branding exercise.
## Evidence on Hand
Live runs against the owner's server are recorded in `docs/evidence/runtime/`. No testimonials, user counts or
benchmarks exist and none may be invented.
## Product Principles
1. Interoperability first: behaviour is proven against the real server and the official client, not assumed.
2. Truthful state: every control does something real; unsupported features say so plainly.
3. Identity is permanent and private: the UID never changes on rename; the private key never leaves the core
except through an explicit, user-chosen backup file.
4. Server content is shown, never executed.
## Accessibility & Inclusion
Keyboard-operable controls with visible focus, screen-reader names for icon buttons and tree rows, light and
dark themes following the OS, readable system fonts (*inferred* from the brief).