diff --git a/CHANGELOG.md b/CHANGELOG.md index 8465345..b44729e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,13 +2,13 @@ ## 0.1.2 — unreleased -- Fixed: Settings → Звук listed only "Системное устройство по умолчанию". Electron reports the app origin as +- Fixed: Settings → Audio listed only the system default device. Electron reports the app origin as `app://teamspeach/` and the permission check compared it with `app://teamspeach`, so Chromium withheld device ids and names. The audio-only permission policy now normalises origins (camera stays denied); real inputs and outputs are listed without starting the microphone, and the default entry names the device it points to. -- The default theme is now dark, independent of the OS; light (or «Как в системе») is chosen in - Settings → Внешний вид and persists. A theme already saved by an earlier version is kept as is. +- The default theme is now dark, independent of the OS; Light or System can be chosen in + Settings → Appearance and persists. A theme already saved by an earlier version is kept as is. - Right-click (or Shift+F10 / Menu key) on the microphone and headphones buttons opens an input / output device menu sharing the Settings selection; left click still mutes/deafens. - Voice diagnostics: the local log records the capture device and track state; with @@ -17,6 +17,18 @@ - The push-to-talk hint says when the window is not focused (the key is read only there). - Fixed: ~1/256 newly created or imported identities could not be loaded again (private key with a leading zero byte). Storage format unchanged. +- Replaced the application icon assets with an original peach silhouette on a transparent background, + including PNG assets and a seven-size Windows ICO. The reproducible Electron export now renders the + SVG directly to an alpha-enabled canvas instead of capturing a window, avoiding captured scrollbars. +- Added an English-default interface with selectable Russian, backed by shared catalogs for the renderer + and native identity dialogs. Repository-authored documentation and technical diagnostics are English; + historical captures and server-provided content remain unchanged. +- Added update checks against published public Gitea releases, Preview and Stable channels, verified + downloads for Windows x64 NSIS and Linux x64/ARM64 AppImage installations, and manual-update guidance + for zip/tar.gz distributions. Installation requires confirmation; active sessions defer background + downloads. Version 0.1.1 and older require a first manual installation of an updater-capable version. +- Fixed capture cancellation during pending microphone acquisition and prevented device changes from + being applied when saving the selected device fails. ## 0.1.1 — 2026-10-24 diff --git a/DESIGN.md b/DESIGN.md index d2aee9f..505c110 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -12,13 +12,13 @@ owner-pinned visual reference is the TeamSpeak 6 settings screenshot that the se - Tree rows: channels with `#`/lock glyph, server channel icon at the right, server banner as a row background fading from the sidebar colour; members indented under channels with avatar/status dot, nickname (never truncated before group labels), server-configured group labels, mute/away/recording - flags, group icons and country code, and a pill "Смотреть" button for streamers. + flags, group icons and country code, and a pill-shaped Watch button for streamers. - Settings follow the owner's pinned reference: the sidebar's room area is replaced by category navigation - (Назад к серверу, groups Пользователь / Приложение / Информация, active item with an accent bar and tint), + (Back to server, User / Application / Information groups, active item with an accent bar and tint), the workspace shows the selected category as titled cards (`.card`, 12 px radius) with an expandable - "Подробности" area for advanced video information. The connection, voice footer and any stream keep running. -- Saved servers sit above the tree as a compact list (name, address, action: Подключиться / Переключиться / - Подключено); a bookmark button in the server header shows or hides it. + Details area for advanced video information. The connection, voice footer and any stream keep running. +- Saved servers sit above the tree as a compact list (name, address, action: Connect / Switch / + Connected); a bookmark button in the server header shows or hides it. - Stream viewer: black stage with the video contained, dark control bar (title, codec · resolution · fps, mute, volume 0–100 %, fullscreen, stop). Overlay text explains every non-live state. @@ -39,8 +39,8 @@ Restrained strategy: warm neutrals plus one accent; state colours only where the | `--talk` | `#1f8a5a` | `#4fcf8e` | talking indicator, PTT held | | `--danger` | `#b3261e` | `#f08b82` | mute/deafen active, errors | -Theme follows the choice in Settings → Внешний вид (dark by default for new profiles, independent of the OS; -light and «Как в системе» are selectable; implemented through Electron +Theme follows the choice in Settings → Appearance (dark by default for new profiles, independent of the OS; +Light and System are selectable; implemented through Electron `nativeTheme.themeSource`, applied before the window is created, so `prefers-color-scheme` stays the single switch). The dark palette uses the blue-gray surfaces of the owner's reference (`--bg #1b2029`, `--surface #242b37`, `--sidebar #1e242e`). Selection, caret, scrollbars and focus rings use the palette. @@ -57,6 +57,12 @@ Buttons (primary, default, ghost), 34 px icon buttons with `aria-pressed` states radio/checkbox choices with accent colour, range sliders, chat tabs with unread counters, toasts in a polite live region (errors 10 s, others 5 s). Icons are an inline SVG sprite drawn in one 1.8 stroke style. +The application icon is an original peach silhouette with a small stem and leaf on a transparent +background, without a plate, font or emoji dependency. `build/icon.svg` is the source for the 512 px +build PNG, 256 px runtime PNG and Windows ICO sizes 16, 24, 32, 48, 64, 128 and 256 px. Raster export uses +an alpha-enabled canvas in Electron, not a window screenshot. Asset-level alpha and small-size visual +checks do not establish that a particular packaged release contains or displays these assets. + ## Motion Only colour transitions (120 ms) and the toast entrance (180 ms, exponential ease-out); everything is diff --git a/FEATURE_COMPATIBILITY.md b/FEATURE_COMPATIBILITY.md index 8e46d7d..ae4d341 100644 --- a/FEATURE_COMPATIBILITY.md +++ b/FEATURE_COMPATIBILITY.md @@ -9,11 +9,11 @@ UI, evidence path given; **implemented** = code + unit/loopback tests, no live p | 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` | -| Sectioned settings (Идентичность, Серверы, Внешний вид, Звук, Видео, Клавиши, Информация) without dropping the connection | proven | servers-settings run: all 7 panels visited while connected, keyboard Home/arrows, Escape returns | +| 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 | | Server password on connect | implemented, not exercised | the test server has no password | | Channel tree, join channel, password channels (inline prompt) | proven (join), implemented (password) | probe joined `cs`; no password test performed | -| Voice TX/RX (Opus via core), talking indicators, mute, deafen RX+TX block/restore, PTT, open mic | proven | `docs/evidence/runtime/2026-10-24-voice-chat/` (synthetic capture device, real path after it) | +| Voice TX/RX (Opus via core), talking indicators, mute, deafen RX+TX block/restore, PTT, open mic | proven between two TeamsPeach clients with synthetic capture | `docs/evidence/runtime/2026-10-24-voice-chat/`; the path after capture is real. Live microphone voice with the official TS6 client and Asahi hardware operation are not proven | | Private chat | proven | voice-chat run `15/16-*.png` | | Channel chat | proven error path | server denies guests: TS 2568, permission 224, shown in UI | | Server chat | implemented | not exercised live | @@ -21,9 +21,9 @@ UI, evidence path given; **implemented** = code + unit/loopback tests, no live p | TS6 screenshare viewing (P2P): discovery, join, answer, ICE buffering, stop | proven | `2026-10-24-ts6-stream-view/`: AV1 2560×1440 ~59 fps, 2298 frames, D3D11 decoder | | Realign / reconnect offer renegotiation | implemented | unit tests + loopback (2 offers/2 answers); no realign seen live | | Stream audio | implemented | live stream advertised `audio=0`; loopback 139 inbound audio packets | -| SFU streams | blocked | P2P only; `notifysfuaccessinfo` → "не поддерживается" | +| SFU streams | blocked | P2P only; `notifysfuaccessinfo` is reported as unsupported | | Sending own screenshare | blocked | not implemented | -| Server/channel group labels (`name_mode`), custom group icons, country | proven | `2026-10-24-tree-metadata/`: labels «куколд», «бля ща», 6 custom icons, RU | +| Server/channel group labels (`name_mode`), custom group icons, country | proven | `2026-10-24-tree-metadata/`: two server-supplied group labels retained verbatim in the raw capture, 6 custom icons, RU country code | | Built-in group icons (ids 100, 200, 300, 500, 600) | partial | server has no file (core: `not_found`, `builtin:true`); neutral badge named after the group | | Channel icons and channel banners | proven | tree-metadata run: 11/11 channel icons and 11/11 banners from the server's file transfer | | Host banner | proven | tree-metadata run: server GIF rendered above the tree | diff --git a/PRODUCT.md b/PRODUCT.md index 8ee3700..7391135 100644 --- a/PRODUCT.md +++ b/PRODUCT.md @@ -33,8 +33,9 @@ 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. +An independent, account-free TeamSpeak 6 client targeting interoperability with the official client's voice +and P2P screenshare protocol on platforms the official client does not serve. This is a product goal, not +a claim of complete interoperability; the evidence matrix records the demonstrated scope. ## Operating Context @@ -53,7 +54,8 @@ from this client). ## Brand Commitments -Name "TeamsPeach"; restrained peach accent (*inferred* from the name and brief); Russian interface language. +Name "TeamsPeach"; restrained peach accent (*inferred* from the name and brief); English as the default +interface language, with Russian selectable through the shared translation catalog. 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. @@ -73,5 +75,6 @@ benchmarks exist and none may be invented. ## 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). +Keyboard-operable controls with visible focus, screen-reader names for icon buttons and tree rows, light +and dark themes with an optional System mode, and readable system fonts. New profiles default to dark; +an existing saved theme choice is preserved. diff --git a/README.md b/README.md index ce84744..6c63f69 100644 --- a/README.md +++ b/README.md @@ -1,114 +1,154 @@ # TeamsPeach -Настольный клиент для серверов **TeamSpeak 6** без учётной записи myTeamSpeak: голос, чат, дерево -каналов с группами/иконками/баннерами сервера и **просмотр трансляций экрана TS6**. -Интерфейс — Electron (обычные JS-модули, HTML/CSS), протокол — нативное ядро на Rust -(`core/`, ReSpeak tsclientlib) через приватный stdio (контракт: [`docs/bridge.md`](docs/bridge.md)). +A desktop client for **TeamSpeak 6** servers without a myTeamSpeak account: voice, chat, a channel tree +with server groups, icons and banners, and **TS6 screenshare viewing**. +The interface uses Electron (plain JavaScript modules and HTML/CSS); a native Rust core handles the +protocol (`core/`, ReSpeak tsclientlib) over private stdio. See the [bridge contract](docs/bridge.md). -Подробная карта возможностей и доказательств: [`FEATURE_COMPATIBILITY.md`](FEATURE_COMPATIBILITY.md). +See [`FEATURE_COMPATIBILITY.md`](FEATURE_COMPATIBILITY.md) for feature status and evidence. This is not a +claim of full TeamSpeak 6 parity: official-client voice interoperability and Asahi hardware operation +have not been proven. -## Запуск для разработки (Windows / Linux) +## Development (Windows / Linux) ``` npm ci -cargo build --release --locked --manifest-path core/Cargo.toml # нужен Rust ≥ 1.89, CMake, C-компилятор +cargo build --release --locked --manifest-path core/Cargo.toml # requires Rust ≥ 1.89, CMake and a C compiler npm start ``` -Electron ищет ядро в `core/target/release` и `core/target/debug` (берётся более свежий файл). -На Windows cargo установлен rustup'ом без изменения PATH — запускайте `%USERPROFILE%\.cargo\bin\cargo.exe` -или откройте «Developer PowerShell for VS». При нехватке памяти линковки используйте `-j 2`. +Electron looks for the core in `core/target/release` and `core/target/debug`, choosing the newer binary. +If rustup installed Cargo without adding it to PATH on Windows, run +`%USERPROFILE%\.cargo\bin\cargo.exe` or open Developer PowerShell for VS. Use `-j 2` if linking runs out +of memory. -Отдельный профиль (не трогает основной): `TEAMSPEACH_PROFILE_DIR=<абсолютный путь> npm start`. +Use a separate profile without touching the main one: `TEAMSPEACH_PROFILE_DIR= npm start`. -## Сборка пакетов +## Packaging ``` npm run dist:win-x64 # NSIS + zip npm run dist:linux-x64 # AppImage + tar.gz -npm run dist:linux-arm64 # AppImage + tar.gz (ядро aarch64 собирается отдельно) +npm run dist:linux-arm64 # AppImage + tar.gz (build the aarch64 core separately) ``` -`scripts/dist.mjs` **отказывается** собирать пакет без ядра нужной ОС/архитектуры (проверка -заголовка PE/ELF/Mach-O), кладёт `THIRD_PARTY_NOTICES.md` ядра в `resources/licenses/` и проверяет, -что ядро действительно попало в пакет. Для Asahi (страницы 16 КиБ) есть -`node scripts/elf-pagesize.mjs <файл|папка>` — проверка выравнивания PT_LOAD, glibc и зависимостей. +`scripts/dist.mjs` **refuses** to package without a core for the target OS and architecture (checked via +its PE/ELF/Mach-O header), copies the core's `THIRD_PARTY_NOTICES.md` into `resources/licenses/`, and +checks that the package actually contains the core. For Asahi's 16 KiB pages, use +`node scripts/elf-pagesize.mjs ` to check PT_LOAD alignment, glibc and dependencies. -CI: `.gitea/workflows/ci.yml` (Gitea Actions, контейнеры на Linux x64): тесты, сборка ядра, -офлайн-проверка идентичности через stdio, Electron-смоук под Xvfb, кросс-сборка ядра aarch64 с -проверкой 16 КиБ и запуском под `qemu-aarch64` (эмуляция, не железо Apple). Запускается только на push в -`main` и вручную: автоматического запуска для pull request нет — репозиторий публичный, а раннер стоит -во внутренней сети, поэтому чужие изменения сначала просматривает мейнтейнер. +CI: `.gitea/workflows/ci.yml` (Gitea Actions, Linux x64 containers) runs tests, builds the core, checks +identity invariants offline over stdio, runs Electron smoke checks under Xvfb, and cross-compiles the +aarch64 core with 16 KiB checks and execution under `qemu-aarch64` (emulation, not Apple hardware). +It runs on pushes to `main` and manual dispatch only. Pull requests do not run automatically: this is a +public repository with a runner on a private network, so a maintainer reviews external changes first. -Релизы: `.gitea/workflows/release.yml` по тегу `v*` (тег должен совпадать с версией в `package.json` и -`core/Cargo.toml`) собирает Linux x64 и ARM64, проверяет ELF и публикует релиз (черновик → все файлы → -публикация). Сборка Windows x64 делается на машине разработчика из того же коммита и прикладывается с -пометкой `local` и файлом происхождения `*-build-info.txt`. +Releases: `.gitea/workflows/release.yml` runs for `v*` tags. The tag must match `package.json` and +`core/Cargo.toml`. It builds Linux x64 and ARM64, checks ELF files, and publishes the release only after +uploading all files to a draft. Windows x64 is built on the developer's machine from the same commit and +attached with a `local` designation and a `*-build-info.txt` provenance file. -## Использование +## Usage -1. Первый запуск: один раз ввести никнейм — создаётся криптографическая идентичность (P-256), - публичный UID виден в «Настройки → Идентичность». Никнейм меняется без смены UID. -2. Ввести адрес сервера (и пароль, если нужен) → «Подключиться». Кнопка «Сохранить» добавляет адрес в - сохранённые серверы: они видны слева над деревом (значок закладки в шапке), подключение — в один клик; - если вы уже на другом сервере, кнопка называется «Переключиться» и сначала корректно отключает текущий. - Название, адрес и удаление — в «Настройки → Серверы». Пароли серверов не сохраняются; для всех серверов - используется одна и та же идентичность. -3. Клик по каналу — переход (для каналов с паролем откроется поле ввода). -4. Голос: «Нажми и говори» (по умолчанию F8 или кнопка в шапке) либо «Открытый микрофон»; - кнопки микрофона и звука внизу слева видны серверу. Правый клик (или Shift+F10) по этим кнопкам - открывает выбор устройства ввода/вывода — тот же, что в «Настройки → Звук»; обычный клик по-прежнему - выключает микрофон/звук. Клавиша «нажми и говори» срабатывает, только когда окно TeamsPeach активно — - об этом напоминает подсказка в шапке канала. -5. Трансляции: у стримящего участника появится кнопка «Смотреть». Громкость, отключение звука, - полный экран, «Прекратить просмотр» — на панели под видео. В строке статуса — реально - согласованный кодек, разрешение и частота кадров. +1. On first launch, enter a nickname to create a cryptographic identity (P-256). The public UID is shown + in Settings → Identity. Changing your nickname does not change your UID. +2. Enter a server address and, if required, its password, then select Connect. Save adds the address to + saved servers above the tree; the bookmark button in the header toggles that list. Connect with one + click. If already connected elsewhere, Switch first disconnects from the current server cleanly. + Edit names and addresses or remove entries in Settings → Servers. Server passwords are not saved; + all servers use the same identity. +3. Click a channel to join it. Password-protected channels show a password field. +4. Voice uses push-to-talk (F8 by default, or the button in the channel header) or an open microphone. + The microphone and audio buttons at the bottom left update your server-visible mute state. + Right-click these buttons, or press Shift+F10 while focused, to select an input or output device using + the same selection as Settings → Audio. Left-click still mutes or deafens. The push-to-talk key works + **only while the TeamsPeach window is focused**; the hint in the channel header explains this. +5. A streaming member has a Watch button. Volume, mute, fullscreen and Stop watching are below the video. + The status line shows the negotiated codec, resolution and frame rate. -## Резервная копия идентичности +## Language -«Настройки → Профиль → Экспортировать…» сохраняет файл в формате TeamSpeak (`.ini`) через системный -диалог. **Файл содержит закрытый ключ** — храните как пароль. Восстановление: «Импортировать…» -(после отключения от сервера; текущая идентичность заменяется только после подтверждения) или -кнопка «Восстановить из резервной копии…» на экране первого запуска. Ядро никогда не создаёт новую -идентичность поверх повреждённой. +The interface defaults to English, independently of the operating-system language. Select Russian in +Settings → Appearance; the saved choice applies to the interface and native identity dialogs. Language +changes do not translate server names, chat messages or operating-system device names. -Данные: `%APPDATA%\TeamsPeach` (Windows), `~/.config/TeamsPeach` (Linux): `core/identity.json`, -`core/profile.json`, `prefs.json`, `logs/`. +## Updates -## Ограничения (честно) +Check for updates in Settings → Information. The first updater-capable version must be installed +manually: version 0.1.1 and older cannot update themselves. Updates come only from published releases +of the public [TeamsPeach/client repository](https://git.eeee.moe/TeamsPeach/client), without credentials. -- Трансляции только P2P (как у официального клиента по умолчанию). SFU-трансляции сервер - обозначает уведомлением — TeamsPeach пишет «не поддерживается». TURN нет: нужен прямой путь - до компьютера стримера (STUN `turn.teamspeak.com`, как у официального клиента). -- Показ своего экрана (отправка трансляции) не реализован. -- Клавиша PTT в TeamsPeach работает только пока окно активно: глобальная клавиша с удержанием - (например, через портал GlobalShortcuts на Wayland) не реализована. -- Цвет ника: официальный клиент подсвечивает собственный ник и ники контактов myTeamSpeak (локальные - связи, а не данные сервера). Без учётной записи контактов нет, поэтому TeamsPeach выделяет только свой ник. -- Аватары: показываются серверные и myTeamSpeak-аватары (публичные https-ссылки, байты проверяются по - сигнатуре). Встроенные иконки групп TeamSpeak (id 100, 200, 300, 500, 600) — нейтральный значок с - названием группы: у сервера нет этих файлов. -- Управление «Cisco OpenH264» и выбор аппаратных бэкендов из TS6 в движке Chromium недоступны; - декодирование выбирает Chromium (на Windows подтверждён аппаратный D3D11 для AV1). -- Сборки macOS и Windows ARM64 не выпускаются: нет сборочных машин. Linux ARM64 собирается - кроссом; запуск на Asahi M1 Pro не проверен — машина недоступна по SSH. -- Пакеты не подписаны: Windows SmartScreen и macOS Gatekeeper будут предупреждать. +Windows x64 NSIS installations and Linux x64/ARM64 AppImages can download a verified package and install +it after confirmation. Windows zip and Linux tar.gz distributions notify you and open the release page; +replace those files manually. Development runs and unsupported platforms do not self-update. The +default Preview channel includes prereleases; choose Stable to exclude them. Installation never starts +automatically, and interrupting an active server session requires explicit confirmation. -## Продукт и дизайн +For platform details, release requirements and verification scope, see [Updates](docs/updates.md). +Implementation and service-level tests do not by themselves prove a successful installed upgrade; +published-release end-to-end evidence must identify the source and destination versions. -Рабочий инструмент: привычная раскладка голосового чата (сервер и дерево слева, канал/чат справа), -настройки — разделы слева (Идентичность, Серверы, Внешний вид, Звук, Видео, Клавиши, Информация) и -карточки справа, как на образце владельца. Тема по умолчанию — тёмная (независимо от системы); светлую или -«Как в системе» можно выбрать в «Настройки → Внешний вид», выбор сохраняется. Уже сохранённый выбор при -обновлении не меняется. -Системные шрифты, единственный акцент — персиковый; зелёный — -только «говорит». Всё содержимое сервера выводится как текст (`textContent`), изображения — только -байты, проверенные по сигнатуре. Renderer изолирован (contextIsolation, sandbox, строгая CSP, -список разрешённых команд в main); пути к файлам выбирает только main через системные диалоги. +## Identity backups -## Проверки +Settings → Identity → Export saves a TeamSpeak-format `.ini` file through a native dialog. +**This file contains your private key: protect it like a password.** Restore it with Import after +disconnecting from the server; replacing the current identity requires confirmation. You can also use +Restore from backup on the first-run screen. The core never silently replaces a corrupt identity. -- `npm test` — модульные тесты (валидация IPC, сессия просмотра, каталог трансляций). -- `node scripts/core-smoke.mjs <ядро>` — офлайн-инварианты идентичности. -- `node scripts/smoke-ui.mjs`, `smoke-voice.mjs`, `probe-stream.mjs`, `loopback-stream.mjs`, - `smoke-tree.mjs` — реальный UI; результаты прогонов лежат в `docs/evidence/runtime/`. +Data locations: `%APPDATA%\TeamsPeach` (Windows), `~/.config/TeamsPeach` (Linux). Files include +`core/identity.json`, `core/profile.json`, `prefs.json` and `logs/`. + +## Limitations + +- Screenshares use P2P only, as the official client does by default. SFU notifications are reported as + unsupported. There is no TURN relay: the viewer needs a direct network path to the streaming computer + (STUN uses `turn.teamspeak.com`, as in the official client). +- Sending your own screenshare is not implemented. +- Push-to-talk only works while the window is focused. A global hold-to-talk shortcut, such as one using + the Wayland GlobalShortcuts portal, is not implemented. +- The official client highlights your own nickname and myTeamSpeak contacts using local relationships, + not server data. Without an account there are no contacts, so TeamsPeach highlights only your own name. +- Server and myTeamSpeak avatars are displayed from public HTTPS URLs after image-signature checks. + Built-in TeamSpeak group icons (IDs 100, 200, 300, 500, 600) use a neutral badge with the group name, + because the server does not supply these files. +- Chromium does not expose the official client's Cisco OpenH264 switch or per-codec hardware backend + selection. Chromium chooses the decoder; AV1 hardware decoding with D3D11 was demonstrated on Windows. +- macOS and Windows ARM64 builds are not published because build hosts are unavailable. Linux ARM64 is + cross-compiled; execution on Asahi M1 Pro hardware has not been checked because the target was + unreachable over SSH. +- Packages are unsigned. Windows SmartScreen warns about unsigned builds; macOS Gatekeeper would also + require attention for a future macOS build. +- The recorded two-way voice run used synthetic capture between two TeamsPeach clients. It does not + prove live microphone interoperability with the official TS6 client or operation on Asahi hardware. + +## Product and design + +A familiar voice-chat layout: server and channel tree on the left, channel and chat on the right. +Settings use category navigation (Identity, Servers, Appearance, Audio, Video, Keys, Information) on the +left and cards on the right, following the supplied reference. New profiles default to a dark theme, +independent of the OS. Choose Light or System in Settings → Appearance; the choice persists, and an +existing saved choice is preserved across upgrades. + +System fonts and a restrained peach accent keep the interface readable; green indicates a speaker. +Server text is rendered with `textContent`; image bytes are checked by signature. The renderer uses +context isolation, a sandbox, a strict CSP and allowlisted main-process commands. Only the main process +selects file paths through native dialogs. + +## Repository language and evidence + +Repository-authored documentation, comments, logs, diagnostics, scripts and release notes are in +English. Localized UI text belongs in the shared translation catalog; technical error details stay in +English and may be shown after a localized explanation. Server content, operating-system device names +and user messages are data, not translation resources. + +Historical JSON captures and screenshots in `docs/evidence/runtime/` retain the exact UI text, server +names and device names observed during each run, including Russian text. They are not translated or +rewritten to resemble the current interface. Unicode test fixtures retain their original values. + +## Checks + +- `npm test` runs unit tests for contracts such as IPC validation, viewer sessions and stream discovery. +- `node scripts/core-smoke.mjs ` checks identity invariants offline. +- `node scripts/smoke-ui.mjs`, `smoke-voice.mjs`, `probe-stream.mjs`, `loopback-stream.mjs` and + `smoke-tree.mjs` exercise the real UI. Recorded results are in `docs/evidence/runtime/`; each run's + scope and limitations apply. diff --git a/docs/bridge.md b/docs/bridge.md index 509aee9..1e0e13d 100644 --- a/docs/bridge.md +++ b/docs/bridge.md @@ -73,6 +73,11 @@ error id and tsclientlib's name for it (live example: send_text to a channel wit permission → `{"id":2568,"name":"PermissionsClientInsufficient","missing_permission":224}`). `detail` carries structured extra state where stated (e.g. `rename`). +Repository-authored `message` text and stderr diagnostics are English technical details, not UI +translation keys. The renderer selects a localized explanation by stable `code` and may append the +technical detail. Do not translate protocol tokens, server-supplied text or user content, and do not +branch on human-readable message wording. + | code | meaning | |---|---| | `bad_request` | malformed JSON, missing/unknown/invalid argument, bad `id` | diff --git a/docs/evidence/public-visibility.md b/docs/evidence/public-visibility.md index d1465d5..42f3840 100644 --- a/docs/evidence/public-visibility.md +++ b/docs/evidence/public-visibility.md @@ -1,6 +1,6 @@ # Making TeamsPeach/client public — audit (2026-10-24) -Requested by the owner ("репо пусть публичный будет"). Only counts and categories are recorded here. +The owner requested a public repository. Only counts and categories are recorded here. ## Secret audit (before the visibility change)