Commit Graph
3 Commits
Author SHA1 Message Date
vhaudiquet 2e17e7463c feat: add image attachments for vision models
ci / checks (push) Successful in 56s
ci / test (push) Successful in 1m1s
ci / chart (push) Successful in 6s
ci / web (push) Successful in 29s
ci / docker (push) Successful in 2m37s
ci / publish-edge-image (push) Successful in 11s
ci / publish-edge-chart (push) Successful in 4s
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.
2026-12-01 21:59:53 +01:00
vhaudiquet 2d36790fe1 prompt: ask for shorter, conversational room messages
ci / test (push) Successful in 2m0s
ci / chart (push) Successful in 5s
ci / checks (push) Successful in 1m53s
ci / web (push) Successful in 16s
ci / publish-edge-image (push) Successful in 10s
ci / docker (push) Successful in 1m44s
ci / publish-edge-chart (push) Successful in 4s
Replace the generic "something to say" rule with a length and
conversation-style rule, allow "Ack." or "Done." before the last message,
and drop the request for a file and check summary at the end of a turn.
2026-11-28 16:37:44 +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