Add native self-hosted instance connection to fluxer_desktop

Trimmed monorepo checkout (fluxer_desktop + packages/voice_engine_v2 +
tools/ci) with a "Connect to a Different Server" menu item and popout
that lets the desktop app switch to any self-hosted Fluxer instance,
plus fixes for well-known discovery on single-domain self-hosted
deployments and a false-positive ERR_ABORTED on same-origin client
redirects during the switch. Defaults to chat.fluxr.chat and uses an
isolated userData directory from the official build.
This commit is contained in:
2026-07-01 18:22:43 -04:00
commit 682afacd30
1763 changed files with 613720 additions and 0 deletions
@@ -0,0 +1,73 @@
{
"measured_at": "85e057a273fd",
"host": "darwin-arm64-apple-silicon",
"regression_budget_percent": 5.0,
"note": "Vitest bench medians captured as `mean_ms` (mean over samples). check-regression.sh treats `mean_ms` like `median_ns` after scaling. p75 captured as a secondary stability hint.",
"benches": {
"src/runtime/VoiceEngineV2Runtime.bench.ts > dispatch inboundVideo.frameReceived": {
"mean_ms": 0.3517,
"p75_ms": 0.4266,
"hz": 2843.2
},
"src/runtime/VoiceEngineV2Runtime.bench.ts > dispatch microphone.publishRequested": {
"mean_ms": 0.4786,
"p75_ms": 0.534,
"hz": 2089.33
},
"src/runtime/VoiceEngineV2Runtime.bench.ts > dispatch screen.publishRequested": {
"mean_ms": 0.474,
"p75_ms": 0.5327,
"hz": 2109.75
},
"src/runtime/VoiceEngineV2Runtime.bench.ts > dispatch room.participantJoined": {
"mean_ms": 0.344,
"p75_ms": 0.4121,
"hz": 2906.83
},
"src/runtime/VoiceEngineV2Runtime.bench.ts > dispatch stats.collected": {
"mean_ms": 0.3451,
"p75_ms": 0.4295,
"hz": 2897.74
},
"src/core/reducer.bench.ts > inboundVideo.frameReceived": {
"mean_ms": 0.0001,
"p75_ms": 0.0001,
"hz": 7877275.4
},
"src/core/reducer.bench.ts > microphone.publishRequested": {
"mean_ms": 0.0002,
"p75_ms": 0.0002,
"hz": 5768974.56
},
"src/core/reducer.bench.ts > screen.publishRequested": {
"mean_ms": 0.0002,
"p75_ms": 0.0002,
"hz": 6149233.82
},
"src/core/reducer.bench.ts > room.participantJoined": {
"mean_ms": 0.0001,
"p75_ms": 0.0001,
"hz": 11101158.62
},
"src/core/reducer.bench.ts > stats.collected": {
"mean_ms": 0.0,
"p75_ms": 0.0,
"hz": 28019021.94
},
"src/runtime/snapshot.bench.ts > JSON.stringify snapshot (8 participants × 4 tracks)": {
"mean_ms": 0.0174,
"p75_ms": 0.018,
"hz": 57366.32
},
"src/runtime/snapshot.bench.ts > JSON.parse snapshot (8 participants × 4 tracks)": {
"mean_ms": 0.0168,
"p75_ms": 0.0167,
"hz": 59607.57
},
"src/runtime/snapshot.bench.ts > JSON.stringify + JSON.parse round-trip": {
"mean_ms": 0.0358,
"p75_ms": 0.0356,
"hz": 27897.14
}
}
}