Commit Graph
8 Commits
Author SHA1 Message Date
vhaudiquet be04a6cf90 fix: accept terminal sockets from the page host
The origin check compared the browser's Origin with the configured
public_url. Reaching the app through localhost or another LAN address
then rejected the terminal and presence sockets even though the page
and the socket were on the same origin.

Compare the Origin authority with the request's Host header instead.
That is the address the browser actually used, so the check still
refuses another site while working behind a proxy and on every local
address.
2026-11-28 02:18:22 +01:00
vhaudiquet d7aa268ae0 feat: fold the sidebar to a rail
A toggle at the top of the sidebar collapses it from 232px to a 64px
rail with the logo, room initials, and the bottom actions. Opening it
again restores the room names. The choice is stored in localStorage and
restored on the next visit.

The toggle is hidden on the horizontal mobile bar, where the sidebar
already runs as a single row.
2026-11-28 02:12:10 +01:00
vhaudiquet 3b82719d56 feat: add account avatars and a deployable image
Accounts get a profile page with an uploaded picture, shown in the
sidebar, the room bar, and every human message. Pictures live in the
SQLite database and are served through an authenticated route.

Hardening from the security audit: preview hosts expire after 24 hours
and carry no-referrer; removing a member or archiving a room ends their
event feed, presence socket, and terminal within seconds; previews and
the terminal pin the SSH host key; invites are claimed atomically;
missing accounts spend the same argon2 time as wrong passwords;
registration is closed by default; WebSockets check the origin; and the
master key is created with mode 0600.

The Dockerfile builds one image with the static client and the server.
The Helm chart runs a single replica with a SQLite volume, a wildcard
preview ingress, and the proxy settings the event feed and uploads
need. It refuses more than one replica because state is in process.
2026-11-28 02:07:26 +01:00
vhaudiquet 7e7a1d2bb6 feat: use the Rhema logo and capitalize the brand 2026-11-28 01:36:29 +01:00
vhaudiquet 5237a477d7 feat: open provider and sandbox forms in dialogs 2026-11-28 01:36:29 +01:00
vhaudiquet bd3aed67b4 docs: describe a local-network run 2026-11-28 01:17:12 +01:00
vhaudiquet 0035f4e031 feat: add the multiplayer room server and client
A room is one conversation, one ssh sandbox, and one agent. Accounts
create rooms; friends join through a single-use invite link and a
display name; the agent speaks only through the message tool.

The server is Axum and SQLite. It serves the built Nuxt client, streams
room events over SSE, and runs one serialized turn loop per room with
turn-level steering copied from rhema-code. The client has the chat,
preview iframe, read-only file pane, xterm terminal, and presence.

Preview URLs are signed wildcard hosts, and the proxy tunnels HTTP over
ssh direct-tcpip. HostAgent::step remains deferred in the framework.
2026-11-28 01:09:37 +01:00
vhaudiquet 04dd63c4ca docs: add the rhema-together spec 2026-11-28 00:36:45 +01:00