278 Commits
Author SHA1 Message Date
illusia eddc098d29 merge: sync console self-update and fixes from master into dev 2026-11-25 14:06:32 +08:00
illusia 6273185afa fix(updater): guard supervised installs and recover interrupted updates 2026-11-25 13:22:39 +08:00
illusia 34cee80302 feat: experiment with native lock-screen voice calls 2026-11-24 08:11:45 +08:00
OddTurtleHead 82b58dbd61 fix(updater): recover interrupted swaps reliably across deployments
- Ship one POSIX launcher that repairs an interrupted code swap before Node
  starts, install it atomically before the swap, and keep it out of
  CODE_ENTRIES so it always survives at the install root.
- Restore from the in-progress task backup (state.json task.id ->
  backups/<id>) first, then the newest complete backup, so a leftover older
  backup never resurrects an obsolete build.
- Add exact-window SIGKILL recovery tests, including the stale-backup case.
- Gate Linux arm64 apply behind a capability check; add five-language copy
  and i18n labels for arm64, lock and unavailable errors.
- Harden the L2 runner handshake and recheck runner health before exit.
2026-11-24 03:13:32 +08:00
OddTurtleHead 699e606da5 fix: harden console self-update for real release packages
- Copy the restart runner with every runtime import (restart-runner.js,
  code-swap.js, version.js, update-state.js) and fail the apply when the
  runner exits during the startup grace window instead of reporting a task
  that never restarted.
- Accept official tar/zip relative symlinks that stay inside the extraction
  root while still refusing absolute, drive-qualified, escaping and hard-link
  entries.
- Have the restart runner take over the update lock for the same task, keep
  live or unreadable locks, and copy EXDEV entries into a temporary name
  before renaming so a partial copy cannot replace the previous tree.
- Disable console apply for Windows release packages with
  WINDOWS_APPLY_UNVERIFIED while still reporting available versions.
- Clarify in zh/en docs and five-language console copy that SHA256SUMS.txt is
  an integrity checksum, not a signature, and that verification targets the
  official Linux x64 build-release.yml package.
- Add tests for the failing EXDEV copy, live/unreadable/dead locks, same-task
  lock takeover, a real spawned runner compiled from source, and
  initialization leaving another live process's task untouched.
2026-11-24 02:40:08 +08:00
OddTurtleHead 2de2e23fd3 feat: add verified console self-update for release packages
Check official GitHub Releases, require SHA256SUMS, safely extract and swap release-package code, roll back on failed health checks, and persist task state across restarts. Docker and source deployments stay check-only. Add updater tests, route security tests and five-language admin copy.
2026-11-24 01:44:24 +08:00
OddTurtleHead cc36bc4c64 fix: return floating host controls home only after a screen change
Live re-test of a1c8329 on open-voice-surface desktop: toasts no longer pull
the application-library launcher back, but opening the audio-settings modal
did. Its backdrop hid "Share accompaniment", the default bottom-right corner
looked free, the launcher went home, and right after Esc it still covered the
button.

854a488's return-home rule is meant for a stale spot picked for the previous
screen, so apply it only within the screen-change window (home <-> voice page,
skin switch); on the same screen a free-looking default corner may just be
hidden for a moment. The ts3-classic home-return case still passes (it goes
through screenChanged()).

Browser fixture: modal dialog over the corner (fails on a1c8329 and 854a488).
2026-11-16 00:37:46 +08:00
OddTurtleHead 8ca33fd77d fix: look through toasts when placing floating host controls
A toast passing over a skin control hid it from the hit test, so its corner
looked free: with 854a488's return-home rule the application-library launcher
jumped back to its default bottom-right corner on open-voice-surface desktop,
flapped as toasts came and went, and the flap freeze then parked it on
"Share accompaniment" for 10 s.

- Obstacle hit tests look through transient overlays (app.toast) and the other
  host floating control (elementsFromPoint); a modal backdrop or skin layer
  still hides a control.
- While frozen by the anti-flap guard, a control parked on a skin control may
  step off it once per freeze (confirm delay and 1 s interval still apply),
  then holds still.
- Tests: reachableThrough unit test; browser fixture replaying the toast
  sequence and the freeze escape (both fail on 854a488).
2026-11-16 00:24:20 +08:00
OddTurtleHead 99d7b86d09 fix: re-place floating host controls promptly on screen changes
Return to the default corner once it and the current spot are free, and
skip the move confirmation/minimum interval for ~1.5 s after the home <->
voice page switch or a skin switch, so a spot picked for the previous
screen no longer covers controls on the next one (e.g. Export identity).
2026-11-15 23:04:31 +08:00
OddTurtleHead 2b019d82ff fix: harden floating host-control avoidance after review
Independent review of 16e25ea (DeepSeek v4.1 Flash, Qwen4 Max) found the
runtime avoidance could flap, park on protected controls and drift from the
CSS on notched phones. Runtime only; still no skin.css restriction.

- Anti-flap: a move needs the collision to persist ~250 ms, moves are at least
  1 s apart, and more than 6 moves in 10 s park the control at its default
  corner for 10 s (an animated/hostile skin can no longer keep it moving).
- Protected parts now outweigh dialogs and the other host control; ordinary
  buttons inside the protected `app` root (or `home.footer`) are no longer
  weighted as protected.
- Never move onto the last pointer position or the focused control.
- Fold to the compact mark only when that frees at least one control (a
  full-screen click-away layer no longer hides the recovery buttons).
- Score with the live expanded size (language switch) and reset on resize;
  model margins include env(safe-area-inset-*) like the CSS.
- Skip invisible (opacity 0) controls; also count [tabindex], option/switch/
  checkbox/radio roles, iframes and media controls; count the other host
  control once; prefilter by candidate rects (cheap on 3 000-control skins);
  re-check after scrolls; ignore sticky :hover on touch; bind idempotently.
- Tests: weights, fold threshold, pointer, safe area, protected-vs-dialog,
  stability over repeated ticks, two host controls, anti-flap.
2026-11-15 21:38:39 +08:00
OddTurtleHead e46d7a0eb7 fix: move floating host controls off skin controls at runtime
The recovery capsule and the fallback application-library launcher float in
fixed viewport corners. In v0.3.2 that already covered the microphone in the
Persona/host-chrome skins, the whole Harbor audio dock, the Cancel/Create
buttons of mobile bottom sheets and a Send button behind the launcher.

Add host-floating-placement: every 400 ms (and shortly after each click) the
host samples the skin's visible, topmost interactive controls and moves the
floating control to the least-covering corner/edge position, weighting
protected parts and open dialogs higher, avoiding the other host floating
control, and folding the capsule to its mark when every position collides.
It never moves under the pointer or focus and leaves a docked (slotted)
capsule to the slot binding. Runtime only: no new skin.css restriction.
2026-11-15 20:59:48 +08:00
OddTurtleHead 0df25e4892 fix: close review gaps in host-control fonts, on-accent contrast and protected filter values
- Host-owned controls refuse font tokens naming the compiler's scoped skin
  font prefix (ws-), so a skin @font-face gated behind a non-matching @media
  (absent from document.fonts) cannot blank labels after a resize; the theme
  binding also re-reads tokens on viewport resize for @media-scoped tokens.
- A token palette is accepted only if black or white text reaches 4.5:1 on its
  accent; mid-tone accents (~4.23:1) now fall back as a group.
- Protected app-DOM controls reject var()/attr() for filter, clip and
  content-visibility, which could smuggle opacity(0)/rect(0,0,0,0)/hidden past
  the literal hide checks; literal filters and other parts are unchanged.
- Docs and tests updated (unit + headless-Chrome fixture).
2026-11-15 18:04:25 +08:00
OddTurtleHead a353c32892 fix: refresh host-control tokens on late skin CSS, resolve modern colours and refuse skin fonts
- bindHostControlTheme re-applies when <head> stylesheets or root attributes
  change, so a stored skin id themes the floating recovery capsule, skin-load
  banner and authorization dialog once its CSS actually arrives; the recovery
  root pass stands down while a slot binding owns the capsule tokens.
- The shadow-root probe converts oklch()/color-mix() results to sRGB via a
  1x1 canvas instead of silently dropping them to the default palette.
- Host-owned controls ignore font tokens naming a document @font-face, which
  could ship blank glyphs and erase the recovery/consent labels.
- Authorization body text uses the full sanitized foreground (the 76% mix
  could fall under the 4.5 contrast floor); theme refreshes before showModal.
- Browser fixture covers late CSS, oklch and font refusal; docs updated.
2026-11-15 17:14:42 +08:00
OddTurtleHead c1187d12d2 feat: let skins theme every protected control through skin.css and shared host tokens
App-DOM protected parts keep only hide/off-screen/disable guards; host-owned recovery capsule, skin-load banner and authorization dialog read one sanitized --skin-host-* token set with per-part overrides (--skin-recovery-*, --skin-load-recovery-*, --skin-permission-*) via the new host-control-tokens module.
2026-11-15 17:03:07 +08:00
OddTurtleHead 93d221c3ef fix: keep docked recovery capsule off protected controls and address slot review
- Fall back to the default corner when the docked capsule's footprint
  (largest observed size) overlaps a visible protected control; runtime
  check only, no new chrome.json or skin.css restriction.
- Demo skin docks at align:start, away from the audio dock buttons.
- Compact mode: tap/click pins it open (touch), shortcut expansion clears
  when focus leaves; the 5 s full-display hold starts on first dock.
- Built-in button border uses the skin accent only when visible on #fff7ed.
- probeColor no longer misreads a token equal to its sentinel.
- Periodic re-check survives an exception and fails safe to floating.
- Browser fixture exercises bindHostSlot: dock, fallback, anti-flap,
  protected cover, offscreen, unreadable tokens, dispose.
2026-11-15 15:43:08 +08:00
OddTurtleHead aefa0bc163 feat: let skins dock the recovery capsule into their layout with runtime fallback
- chrome.json#slots names an existing skin data-ws-part as anchor for host.recovery
  (align start/center/end, optional compact); host/trusted parts rejected as anchors
- reusable host-slot-placement module: positions the closed-shadow top-layer
  capsule over the anchor, re-checks visibility/size/on-screen/elementFromPoint,
  snaps back to the default corner on any failure with anti-flap re-slotting
- --skin-recovery-* tokens (accent/background/foreground/radius/font/size tier)
  sanitized with 28px minimum hit target and WCAG contrast fallback
- compact mode only after 5s full display post-activation; shortcut always full
- no new skin CSS compile-time restrictions; docs and host-chrome-demo updated
2026-11-15 15:00:24 +08:00
OddTurtleHead fa720bf260 fix: allow protected-part entrance animations and close remaining hide bypasses
Only inspect keyframe frames an animation can rest on, parse animation names correctly, and close remaining hide-selector and value bypasses while still allowing large layout restyles.
2026-11-15 12:13:18 +08:00
OddTurtleHead a4ae4de82f fix: close keyframe bypasses on protected controls without policing skin layout
Hold @keyframes to the same hide/yeet checks as regular declarations,
including escaped and namespaced animation names. Loosen decorative
host-chrome layout locks so open skins can restyle layout freely.
Listen for the recovery shortcut in the capture phase, move the
load-failure banner into the host-owned layer, and fix recovery
aria-labels.
2026-11-15 01:09:42 +08:00
illusia a84f66b47d release: prepare v0.3.2 2026-11-14 23:49:15 +08:00
illusia 2cb8b8d161 Match KAAK plugin launcher icon sizing to rail controls 2026-11-14 23:33:01 +08:00
illusia 12a37fc26f Place KAAK application launcher in the server rail 2026-11-14 23:26:06 +08:00
illusia f20a372f4b docs: update WebSpeak development skills for 0.3.2 2026-11-14 21:48:25 +08:00
illusia 15ca32b7a8 Dock plugin launchers in skins and expose example app settings 2026-11-14 21:35:22 +08:00
illusia 274bd81dc3 Fix workshop installs and make plugin configuration editable 2026-11-14 19:53:26 +08:00
illusia 6a35d9be3d Merge PR #57: integrate host chrome theming and skin recovery 2026-11-14 18:59:15 +08:00
illusia ed752a5a6f docs: show skins in a live TeamSpeak room [skip ci] 2026-11-13 20:31:59 +08:00
illusia 9012448544 release: prepare v0.3.1 2026-11-13 19:52:40 +08:00
illusia a5cf3eeb0c docs: publish November 13 demo notes and skin screenshots 2026-11-13 19:49:31 +08:00
illusia e82116239a fix: improve voice playback, diagnostics and workspace controls 2026-11-13 19:49:31 +08:00
OddTurtleHead f8d61d22ef feat: add host chrome theming and a skin-proof recovery layer
Allow skins to theme host chrome through a second scope and explicit
visibleParts. Official and built-in skins stay decoration-free by
default.

Harden the CSS compiler so skins cannot hide the document root, push
protected controls off-screen, or target the host layer with sibling
selectors. Move recovery and authorization UI into a closed Shadow DOM
on the top layer, so a third-party skin cannot block the built-in
skin reset.
2026-11-11 18:06:20 +08:00
illusia 72d7e6e013 feat: add private expiring workspace invites and restore KAAK home 2026-11-04 17:42:34 +08:00
illusia 42d15c6d32 release: prepare v0.3.0 2026-11-03 20:19:28 +08:00
illusia 047a40ac4b merge: retain dev security fixes for the 0.3.0 release 2026-11-03 20:13:15 +08:00
illusia 3430a8a753 feat: add plugin application runtime and unified instance authorization 2026-11-03 20:13:01 +08:00
illusia 275e27c4ac fix(security): address PR 48 findings with bounded concurrent authentication
Classify IPv6 subnets numerically, reserve login capacity before hashing, bind authentication to credential revisions, revoke other sessions on password rotation, reuse trusted proxy client keys and bound PCM encoding by monotonic time. Credit ph1gros for the findings and proposed regression cases.
2026-10-26 10:28:45 +08:00
illusia 8bca848c21 docs: refresh multilingual READMEs and organize project assets 2026-10-25 11:26:53 +08:00
illusia ce681f749d feat(plugins): add GitHub store and scoped collaborative panels 2026-10-25 01:42:41 +08:00
illusia b9fccb8757 feat(channels): render TeamSpeak spacers across skins 2026-10-24 18:16:01 +08:00
illusia 88439181ae fix(skins): sync Discord Voice 1.0.11 layout and controls 2026-10-24 18:16:00 +08:00
illusia 941cff30d7 docs: credit upstream SDK author and skin contributors 2026-10-24 18:15:59 +08:00
illusia 9c4a2c4a51 fix(kaak): identify project links in icon tooltips 2026-10-24 14:11:32 +08:00
illusia bb5905eb39 feat(kaak): add admin and community shortcuts to server rail 2026-10-24 14:03:27 +08:00
illusia 452e6f09ca feat(skins): add persistent voice workspace API and align KAAK 2026-10-24 13:30:50 +08:00
illusia 0af3236c30 feat: add GitHub skin store and organize instance administration
Adopt the pinned published TeamSpeak SDK and direct relay routing.
Add optional TeamSpeak Query administration with encrypted credentials
and separate WebSpeak access, site, operations and skin management.
Distribute Discord Voice through the GitHub skin index, preserve skin
state during updates, and correct KAAK scaling and screen fullscreen.

Validation: 831 tests; backend and frontend builds; five-language UI
checks from narrow screens through 4K and local Query fixture actions.
2026-10-24 12:52:59 +08:00
illusia 180bfeb52f fix: harden TeamSpeak detection and clean up departed speakers 2026-10-17 14:55:25 +08:00
illusia 54e154be1a release: prepare v0.2.8 2026-10-17 09:53:27 +08:00
illusia 4375f01d05 docs: add Shanghai and Hong Kong demo links 2026-10-16 22:55:29 +08:00
illusia 62af82f253 fix(kaak): keep voice dock controls inside panel 2026-10-14 17:06:44 +08:00
illusia 42a0755ad0 feat(skin): expose visitor count widget for skins 2026-10-14 00:43:43 +08:00
illusia 26c638c2a2 docs: fix public demo links 2026-10-13 11:19:12 +08:00