The openai kind already accepts a base URL, and the registry already
takes an explicit API choice, but the app always passed none. An
OpenAI-compatible server therefore had to answer chat completions.
The add-provider dialog now shows an API type for the openai kind:
automatic, chat completions, or responses. Automatic keeps the old
route rule, Responses at OpenAI itself and chat completions at a base
URL; an explicit choice pins either. A separate provider kind would
store the same fields and need the same adapter wiring.
A chat line can carry up to four images, each capped at 5 MB and
sniffed from its bytes. Uploads go to a room route first, the message
references the ids, and the bytes are served back to members; an
upload no message claims within an hour is swept on the next send.
Images only make sense when the model can look at them, and the
catalog's answer is tri-state, so the gate is a stored fact, not a
guess: the provider listing remembers supports_vision per kind and
model, the upload and send routes refuse when the room's effective
model is not a known vision model, and the composer hides the attach
button on the same fact, which rides the room payload. At turn time
the fact goes to the host agent, which sends the blocks on a vision
model and leaves a note where each image was on the rest.
The invite dialog was reachable only from the invite button, and who was
in the room showed only as avatars in the top bar. Selecting an avatar,
the member count, or the People button now opens one dialog: a
scrollable member list with the invite link below it.
The owner removes a member from the row after a confirmation, and the
top bar drops them without reloading the room. The server already
refuses to remove the owner. Invite link creation is unchanged.
A sandbox behind NAT could not reach the room. A reverse target dials a tunnel-only sshd on the server, forwards localhost:22 to a loopback port, and the worker connects there.
The server assigns the port and writes one authorized_keys line per tunnel target. The key carries permitlisten for that port; the sshd allows remote forwarding only, with no shell or local forwarding. The tunnel private key is shown once and never stored; rotating it rewrites the file. The target list and setup dialog carry the command, and the docs include the sshd config and sidecar requirements.
The auto-resize reset the textarea to auto before measuring, which
collapsed it to one row for a frame. That resized the chat viewport,
the browser clamped its scroll to the old bottom, and the next input
scrolled back.
Measure the content in a hidden copy instead. The composer reports a
height change, and the room keeps the chat at the bottom only when the
reader is already there.
Typing and deleting lines now keeps the chat at the bottom without the
jump.
Three provider kinds have a browser sign-in, but the add-provider
dialog only accepted a pasted key. A per-account login record now runs
the adapter's InteractiveLogin on the server, reports the instruction,
URL, and code to the dialog, and stores the credential before the
browser sees completion. The credential never reaches the client.
The dialog gets a sign-in stage for flow kinds, with a link, a
copyable code, and retry after failure. Closing the dialog cancels the
flow. ChatGPT's callback lands on the server's loopback port, and the
instruction names the port to forward.
The add-provider form asked for a model even though the room owns that choice. It now asks for a name, kind, base URL, and key. New providers store no default, and New room requires a model before it can submit.
Existing providers keep their model as an optional default. The model picker hides the Provider default row when there is none, and a room with no usable model gets a clear error instead of an empty model reaching the provider.
The composer now has one status line for `Rhema is working...` and
typing peers. It replaces the separate typing paragraph.
A running turn no longer adds a transcript card. When it ends, the log
shows a collapsed `rhema finished · N steps` line. Thinking, draft text,
tool calls, and usage live inside it. The event replay starts at the
oldest loaded message so completed turns rebuild after a reload.
The preview tool could only name a port, so a static build needed a
server the terminal had to keep alive. `preview` now accepts a path:
the app reads the file or folder over the room's ssh sandbox and serves
it from a signed host, with `..` and dotfiles refused and a 16 MiB cap.
The target is stored with the room and replayed as a durable event. The
pane shows a static path with a reload control and keeps the port field
as a local fallback.
Drag the divider between the conversation and the workspace, or focus
it and use the arrow keys. The width stays between 380px and enough
room for a 420px conversation, and is stored in localStorage so it
survives reloads.
Below 1100px the workspace remains a fixed overlay, so the divider is
hidden there.
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.
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.