pi-remote-control/extensions/remote-control
jay 568931901d refactor(T-1.0): carve server.ts into server/ sub-modules
Create the modular server/ layout from PHASE-1-sidecar.md §Architecture Sketch:

  server/types.ts    — shared WsClient/WsServer/RemoteServer interfaces
  server/upgrade.ts  — WS upgrade routing per path (LEGACY /ws)
  server/server.ts   — HTTP bootstrap, middleware, LEGACY HTML routes
  server/routes/     — empty dir, placeholder for T-1.5/T-1.6/T-1.7

The original extensions/remote-control/server.ts is replaced with a
thin re-export shim so that index.ts continues to resolve
'./server.js' without changes.

All LEGACY code paths (manifest.json, icon.svg, /, /ws) are tagged
with // LEGACY: … comments. No behaviour changes. No new endpoints.

Pre-existing biome errors in auth.ts, config.ts, index.ts are
unchanged — NOT introduced by this commit.
2026-05-15 10:57:52 +02:00
..
server refactor(T-1.0): carve server.ts into server/ sub-modules 2026-05-15 10:57:52 +02:00
auth.ts feat: persist auth token across server restarts 2026-05-14 19:00:31 +02:00
config.ts feat: bindAddress from config + PWA support 2026-05-14 18:51:54 +02:00
html.ts fix: reconnect immediately on tab visibility (iOS) 2026-05-14 19:22:46 +02:00
index.ts feat: bindAddress from config + PWA support 2026-05-14 18:51:54 +02:00
messages.ts chore: migrate @mariozechner pi packages to @earendil-works namespace 2026-05-08 18:18:04 +08:00
server.ts refactor(T-1.0): carve server.ts into server/ sub-modules 2026-05-15 10:57:52 +02:00