wiki: passage confirmation scope and relay maps, crossing-line editor, desktop WS hello fix, cameras push to the dev machine

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RZgP5oMncSaVmKRKk1UvN4
This commit is contained in:
2026-11-19 12:38:53 +01:00
parent b69faec547
commit d3649669ee
5 changed files with 101 additions and 5 deletions
+15
View File
@@ -183,6 +183,21 @@ Per the user's choices — the operator **keeps OS access** (no fullscreen lockd
together; a `resources.toml` change still needs a Komodo sync + Stack redeploy to take effect on
a live booth, it isn't automatic from a git push alone — and see [[fleet-deployment-komodo]] for
a real ResourceSync-branch gotcha this exact fix ran into.
- **Gotcha: the first frame could be lost (found and fixed 2026-11-19, uncommitted).** The
plugin's Rust side starts its read loop at the handshake, before `connect()` resolves
(`tauri-plugin-websocket` 2.4.3 `src/lib.rs` spawns the reader, then returns the id). Its JS
wrapper only accepts a listener on the object `connect()` returns. The server sends `hello`
(the full device list, lanes, radar, active cameras) at once, so it could reach an empty
listener set and be dropped.
- **Symptom:** the desktop footer showed only the devices that pushed later (one camera chip;
no relay), while the browser was complete. The footer trusts a non-empty live list over its
REST seed.
- **Fix:** `platform-ws.ts` calls `plugin:websocket|connect` / `|send` itself through
`@tauri-apps/api/core`, with its own `Channel` listening from the start. Frames that arrive
before the open are held and delivered right after `onopen`.
- The same fix covers the camera live socket's first `status` message.
- Still to be checked in the desktop app; an installed build keeps the bug until it is
re-bundled.
- **No way to see the installed app's own version (found + fixed 2026-09-03).** `VersionBadge` in
`router.tsx` shows the *server's* `<branch>-<sha>` (from `/api/version`, gated `site:read`) — but
nothing showed the *desktop client's* own version. An operator debugging a stuck update had no way