tes
d01b78b225
Relay: log upstream events + forward error envelopes to device for diagnostics
...
Plan 3 smoke surfaced 'session_ended reason=error' on every wake with no
context. The relay now logs every upstream event type at INFO and forwards
any upstream 'error' event to the device as 'error code=upstream_<code>'
so it appears in the Pi's journal alongside the wake/session_ended pair.
Also extends the client's wakeword.predict with per-frame RMS + score
diagnostics and the bridge loop with a 5 s heartbeat for triage.
2026-06-12 06:28:58 +00:00
tes
ba709d15d5
DeviceHub: wake → session lifecycle + uplink relay + tool_result routing
2026-06-11 22:00:33 +00:00
tes
9023509b01
DeviceHub: /device WS with bearer auth + hello/hello_ack + ping/pong
2026-06-11 21:55:33 +00:00
tes
4dc48bd9fd
Add ActiveDevice + DeviceRegistry + HubEnvelopes + IDeviceClient/Channel implementations
2026-06-11 21:51:25 +00:00
tes
78373b0912
Add OpenAIRealtimeUpstream + RealtimeSessionFactory + DI registrations
2026-06-11 21:48:21 +00:00
tes
8f53f9daa9
RealtimeSession: idle-timeout watchdog (resets on speech_started)
2026-06-11 21:46:16 +00:00
tes
7dada5fdb9
RealtimeSession: execute server-side tools at response.done
2026-06-11 21:38:31 +00:00
tes
b078f9aa78
RealtimeSession: persist user/assistant transcripts; emit assistant_done
2026-06-11 21:35:40 +00:00
tes
24b8acdf60
RealtimeSession: uplink pump + downlink audio.delta forwarding
2026-06-11 21:33:37 +00:00
tes
a202725c39
Add RealtimeSession lifecycle (open + session.update + session_started/ended)
2026-06-11 21:30:40 +00:00
tes
35a6e8febb
Add IRealtimeUpstream + RealtimeEvents helpers for upstream JSON
2026-06-11 21:25:46 +00:00
tes
d3e101eb29
Add OpenAIKeyProvider + RealtimeSettings record
2026-06-11 21:23:54 +00:00
tes
212ce06f07
Add SetVolumeTool (validates 0..100, delegates to Pi via IDeviceChannel)
2026-06-11 21:22:45 +00:00
tes
ebbe23c639
Add EndSessionTool (no params, returns ok; relay closes on this tool name)
2026-06-11 21:21:13 +00:00
tes
9325d21f9e
Add ITool + ToolRegistry + GetCurrentTimeTool
2026-06-11 21:19:23 +00:00
tes
13d8773704
Add ConversationLog (start/append/end with monotonic per-convo index)
2026-06-11 21:13:50 +00:00
tes
99cfe60a2c
Add Conversation + Turn entities and migration
2026-06-11 21:09:52 +00:00
tes
a83e9f93de
Add UseForwardedHeaders so /install.sh + backend_ws use https/wss behind Traefik
2026-06-11 20:17:46 +00:00
tes
645a7e3722
Persist data-protection keys to /keys when present (Coolify volume)
2026-06-11 19:05:41 +00:00
tes
751030dcef
Add InstallScriptBuilder + GET /install.sh + GET /client.tar.gz
2026-06-11 19:03:33 +00:00
tes
e5ae228738
Add /api/devices CRUD (list, get, rename, revoke) with owner scoping
2026-06-11 19:00:42 +00:00
tes
b5be4c6914
Add /api/pair-code (auth) + /api/pair (public) endpoints
2026-06-11 18:56:41 +00:00
tes
db5c4e59a4
Add PairingService with safe alphabet and 10-min TTL
2026-06-11 18:53:32 +00:00
tes
720583de0a
Add PairingCode entity + migration
2026-06-11 18:51:18 +00:00
tes
b862bf6f0f
Add DeviceTokenService (random token, SHA-256 hash, fixed-time verify)
2026-06-11 18:48:39 +00:00
tes
3e9c245bb3
Fix Task 6: Device FK to AspNetUsers + SystemSettings singleton Id pin
2026-06-11 18:46:42 +00:00
tes
68e7e81312
Add Device, DeviceConfig, SystemSettings entities and seed defaults
2026-06-11 18:41:27 +00:00
tes
a1aa5023a2
Fix Task 5 review issues: per-test ApiFactory, drop dead RoleManager param + EF Core using
2026-06-11 18:38:37 +00:00
tes
2a208e81b2
Add /api/auth/{register,login,logout,me} with first-user-is-admin rule
2026-06-11 18:34:07 +00:00
tes
8a7d01ac9e
Add ASP.NET Identity (cookie auth) and role seeding
2026-06-11 18:26:34 +00:00
tes
2c16a9485b
Add EF Core + SQLite with empty AppDbContext
2026-06-11 18:12:04 +00:00
tes
1eb0383834
Scaffold backend + backend.tests projects
2026-06-11 18:04:42 +00:00