pi-remote-control/extensions/remote-control/server
jay df735aa279 fix(sidecar): POST /sessions response now matches GET shape (id+name+state+lastOutputAt)
Previously POST returned only { id, name }, while GET returns
{ id, name, state, lastOutputAt }. iOS clients that share a Decodable
for both endpoints (e.g. SessionItem in pi-remote-ios) failed to decode
the POST response with 'data couldn't be read because it is missing'.

The new session always starts in 'idle' state with empty lastOutputAt.
Documented the new shape in the route header comment.
2026-05-16 22:07:54 +02:00
..
routes fix(sidecar): POST /sessions response now matches GET shape (id+name+state+lastOutputAt) 2026-05-16 22:07:54 +02:00
server.ts fix: WS upgrade auth — multi-token bearer not validated 2026-05-16 03:12:43 +02:00
types.ts refactor(T-1.0): carve server.ts into server/ sub-modules 2026-05-15 10:57:52 +02:00
upgrade.ts feat(T-1.5/1.6/1.7): stream+input+snapshot routes, sessions CRUD, commands, side-channel, health endpoint 2026-05-15 11:35:55 +02:00
util.ts feat(T-1.5/1.6/1.7): stream+input+snapshot routes, sessions CRUD, commands, side-channel, health endpoint 2026-05-15 11:35:55 +02:00