- Idle check for the automatic update restart also requires no native call
- Test covers the call case
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Conflicts with #48 in call.rs resolved (mic_settings argument, noise stage cleared on hangup)
- Stay-awake inhibitor runs `cat` on a stdin pipe instead of PR_SET_PDEATHSIG: ends with the process, no libc, no unsafe
- A new capture thread waits for stopping ones (max 2 s) instead of the drop blocking, so a quick camera off/on does not hit a busy device
- Descriptive comments removed, em dashes replaced
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Worker drains all queued commands per pass and applies only the latest visible set with all closes
- No GetCapabilities round trip per sync
- A failed send marks the worker gone, so the center falls back to its own toast windows
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Conflicts with #41 in center.rs resolved (desktop client and tray presence side by side)
- Status choices, durations and labels moved from app-state own_status to app-base status_choice; tray and status menu share them, TrayStatusDuration and the duplicate labels removed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- DesktopNotifications::start returns at once; failed() reports an error, a dead worker or 3 s without answer
- The center drops the desktop client then and places its own toast, ring and meeting windows again
- Unused import and descriptive comments removed, close reason as a constant
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Noise gate removed (learned floor, hard zeroing); attenuation limit 30 -> 40 dB instead
- Hook switches itself off for the call after 5 frames over 6 ms; WebRTC noise suppression keeps running, timeline records it
- Dead apply() and test-only accessors removed, comments trimmed
- Tests: frame budget, arming per mode and overload until hangup
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SetMicSettings no longer calls apply() before sync_software_audio, so
Auto cannot briefly double-run DeepFilterNet while MicChain is active.
clear() also resets the learned gate state for the next call.
Wire the unused WebRTC capture post-processor so Auto noise suppression
runs DeepFilterNet plus a speech gate on the device track, matching
Windows quality without leaving Pulse/CoreAudio. Verified in a live call.
On macOS the share picker opened and closed within milliseconds, then
showed "Screen sharing needs a desktop portal on this system". The share
path expected a delegated picker like the Wayland portal, but libwebrtc's
ScreenCaptureKit capturer has none: it opens the system picker in Start
and reports the outcome through frames.
On macOS we now keep the capturer alive and poll frames. The first frame
means a source was picked; a permanent error before that means the
picker was cancelled.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Like Teams, every org that is not open in the window stays live: its
own realtime socket through a tenant session, a toast for each new chat
message from someone else (muted chats and channel posts stay quiet),
and a count of chats with new messages beside the org in the account
menu. The toast names the org and has no quick reply; clicking it
restarts on that org and opens the chat.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The account menu lists the account's orgs like Teams, the open one
checked. Picking another saves it in orgs.json and restarts the app on
it: a guest org opens its own cache-<tenant>.sqlite3 and the backend
syncs through a tenant session, the home org keeps cache.sqlite3.
Deviation from Teams: switching restarts the app instead of swapping in
place (ADR 0015). Calls keep the home tenant's registration.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Same middle-tier call the Teams org switcher makes. The home tenant
comes first; userType tells guest tenants apart.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The token lookup kept only tokens of the account's home tenant, so a
guest org could not be reached at all. Session::in_tenant asks the page
for tokens of one tenant and redeems the account's refresh token at that
tenant's token endpoint, the way Teams reaches a guest org. Each tenant
session holds its own token cache, so home and guest run side by side.
Checked live with one account that is a member in one tenant and a guest
in another: joinedTeams and chatsvc conversations answer per tenant.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>