Commit Graph

116 Commits

Author SHA1 Message Date
itsrubberduck
3d5a18df6a use 6 digit codes for bridge 2026-02-16 15:47:12 +01:00
itsrubberduck
08808b73b7 Fix bridge telemetry boolean coercion for auto-advance conditions
SimConnect sends boolean fields (on_ground, parking_brake, etc.) as 0/1
numbers. The condition evaluator uses strict equality (===), so
0 === false was returning false even when the condition was semantically
met. Cast boolean telemetry fields with !! to ensure proper type matching.
Also reduce solo-mode telemetry polling from 500ms to 2000ms.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 16:26:50 +01:00
itsrubberduck
dc36a4b63f Connect bridge telemetry to FlightLab with auto-advance triggers
Map raw bridge fields (ias_kt, on_ground, etc.) to FlightLabTelemetryState
format, add direct telemetry polling endpoint for solo mode, and show
sim condition panel in sidebar regardless of auto-advance toggle state.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 16:16:42 +01:00
itsrubberduck
76471c4bd4 Unify bridge auth header and add live telemetry panel 2026-02-15 16:04:07 +01:00
itsrubberduck
df21f4242d Add roadmap sim-control idea and update classroom news date 2026-02-15 15:41:02 +01:00
itsrubberduck
5a25e212d7 fix(classroom): audio speed slider now actually changes playback speed with pitch correction
- Fix client: playbackRate was set to 1 for non-native-speed providers (Speaches/Piper),
  making the speed slider ineffective in the main Pizzicato audio path
- Fix server: pass speed parameter to Speaches TTS API
- Add pitch-preserving playback via MediaElementSourceNode when rate != 1,
  routing through the same Web Audio effects chain (radio filters, distortion, etc.)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 01:01:02 +01:00
itsrubberduck
77ecd49334 feat(flightlab): sidebar, progress bars, skip speech, SimBridge telemetry & auth
- Add collapsible sidebar with phase stepper (jump between phases)
- Add SimBridge conditions panel in sidebar (live values, progress bars, targets)
- Add global progress bar (top edge, glowing) + phase-local TTS progress bar
- Add skip button to skip TTS speech while ATC is speaking
- Add skipSpeech() to audio composable (stops current Pizzicato sound)
- Wire up bridge data.post.ts with user auth (JWT) + example payload
- Add server-side telemetry store with pub/sub for Bridge→WS relay
- Extend WS handler with subscribe-telemetry message + userId tracking
- Extend sync composable with subscribeTelemetry() + onTelemetry() callback
- Add require-auth middleware to all flightlab pages
- Fix instructor station ECONNREFUSED via import.meta.client guard
- Add animations: phase transitions, button lists, fade-scale, check-pop, pulse

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 10:14:33 +01:00
itsrubberduck
a915af4398 dont log users id on transmission 2026-02-13 18:44:34 +01:00
itsrubberduck
fad56ee28d feat(flightlab): add WebSocket handler for instructor-participant session sync
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 14:45:18 +01:00
itsrubberduck
d90b494334 fix pm 2026-02-13 08:50:02 +01:00
Remi
93fed93d41 Add unsubscribe endpoint and email footers 2025-11-20 23:29:44 +01:00
Remi
040783f679 Style feedback drip email like invites 2025-11-20 21:26:55 +01:00
itsrubberduck
6e04501c4d add todo for najan 2025-10-19 21:03:52 +02:00
Remi
3dee67b3a5 Add bidirectional airport geocode and name-aware taxi routing 2025-10-19 19:17:18 +02:00
Remi
cc7e4927e4 Remove explicit type hints from airport geocode lookup 2025-10-19 19:07:23 +02:00
Remi
9d43c69539 Infer airport geocode types from query text 2025-10-19 19:00:32 +02:00
Remi
c8e35a140e Add airport geocode endpoint 2025-10-19 18:56:48 +02:00
Remi
aa50e345a7 Populate user notes from waitlist entry 2025-10-19 17:35:30 +02:00
Remi
77c7325c59 Add button-controlled roadmap item 2025-10-19 08:43:17 +02:00
Remi
e22d5314f7 Refine taxiway collapse and radius default 2025-10-18 21:47:54 +02:00
Remi
6db100b65f Adjust taxi route collapse rules 2025-10-18 21:47:54 +02:00
Remi
0ffbfa7baf Preserve raw taxi route names 2025-10-18 21:47:53 +02:00
Remi
b602a16cef Brighten high-readability profiles and default to level 5 2025-10-18 21:39:23 +02:00
Remi
86727e7749 Normalize taxi routes for clearer speech 2025-10-18 21:29:56 +02:00
Remi
124d76760b Add reply-to support for admin notifications 2025-10-18 16:33:06 +02:00
Remi
faebc91ebb feat: surface pilot intent from llm decisions 2025-10-16 21:07:21 +02:00
Remi
d9de0c1c93 feat: integrate llm-backed routing with fallback 2025-10-16 19:55:13 +02:00
Remi
4480469c4b Allow configuring OpenAI base URL 2025-10-16 11:15:31 +02:00
itsrubberduck
87b2e3b215 merge 2025-10-12 15:42:18 +02:00
Remi
5a4fa7737d Add admin notes and deletion tools for users 2025-10-07 20:59:43 +02:00
Remi
0bcaf85c23 Add waitlist invitation sending from admin 2025-10-07 12:34:02 +02:00
Remi
c699b6026c Improve feedback form submission and capture Discord handle 2025-10-05 14:48:27 +02:00
Remi
92efc5a6c2 Wire feedback form to backend endpoint 2025-10-05 14:37:06 +02:00
Remi
2955e9524c Rename learning references to classroom 2025-10-04 17:02:13 +02:00
Remi
5e519cfd03 Simplify decision routing to avoid unnecessary LLM calls 2025-09-25 23:47:05 +02:00
Remi
648003184e Align regex auto selection trace with LLM decisions 2025-09-25 23:35:23 +02:00
Remi
66121fc4fa Refactor route decision selection 2025-09-25 23:00:31 +02:00
itsrubberduck
42ba69c404 move data post endpoint 2025-09-24 15:54:40 +02:00
Remi
e3c76f452c Point bridge download to GitHub 2025-09-24 00:01:00 +02:00
Remi
d37b8a631c Improve flow activation handling and expose active nodes 2025-09-23 23:12:02 +02:00
Remi
839795f6a3 feat: allow manual unlocks in learn missions 2025-09-22 07:40:15 +02:00
Remi
ba93c494c9 Add session timeline logging and admin sessions view 2025-09-21 23:08:10 +02:00
Remi
10cae457f9 Enable flow-aware decision routing 2025-09-21 21:16:33 +02:00
itsrubberduck
07fac81c5b test 2025-09-21 17:32:56 +02:00
Remi
e7fe62eb7c feat: enhance editor autosave and flow tools 2025-09-20 22:50:22 +02:00
itsrubberduck
536b95d810 add bridge endpoint dummy 2025-09-20 21:36:49 +02:00
Remi
8189e30946 Extend access token lifetime 2025-09-20 20:53:06 +02:00
Remi
cf6748b9bc Build decision flow editor and runtime integration 2025-09-20 18:33:32 +02:00
itsrubberduck
6999235668 stash 2025-09-20 16:36:35 +02:00
itsrubberduck
684ef7b339 improve latency time 2025-09-20 16:21:59 +02:00