-
v0.9.0
Stablereleased this
2026-11-16 10:37:43 +00:00 | 25 commits to main since this releaseAdded
- An agent sends a file of its working directory to its room with the tool
attachof the MCP serverroom, which the session host gives every agent that takes http MCP servers (Claude Code through claudeacp, goose): an image is shown in the conversation, any other file is a file the owner can download, and the agent is told why when the room refuses one (outside the working directory, too large, a kind the room does not take). The host answers the agent's request for leave to use the room's own tools itself, so that the owner is not asked.[chat] max_file(default 10 MiB) andfile_kinds(defaultimage/*,text/*,application/pdf,application/json) bound what the room takes. HostService.Sendreaches the room: a file a session's agent sends goes throughAttachof the chat side, and the chat side's refusals (ErrFileTooLarge,ErrFileKind,ErrNoRoom,ErrChatDown) reach the agent asInvalidArgument,FailedPreconditionandUnavailablewith the text that names the bound.[chat] max_fileis the one size for the server's own bound and the limit on the network listener, so a city that raises it is no longer refused at 10 MiB. A server with no[matrix]answersUnavailable.chat.Driver.SendFileand(*chat.Service).Attach, the room's end of an agent'sattach: a file is uploaded to the homeserver's media repository as the agent's user and sent as anm.image(a PNG, JPEG or GIF whose size is read, with its width and height) or anm.file; an SVG is a file until a client is seen to draw one. The caption is the body and the name thefilename; with no caption the name is the body.Attachrefuses a file whose bytes are of another kind than it is called (a zip callednotes.txt, an HTML page called a picture: the bytes are looked at, since the kind is the caller's word), a file over[chat] max_file(a size such as"10MiB", default 10 MiB) or of a media type that[chat] file_kindsdoes not list (defaultimage/*,text/*,application/pdf,application/json) with an error that says what the room takes:chat.ErrFileTooLarge,chat.ErrFileKind,chat.ErrNoRoom,chat.ErrChatDown. A binary kind that the sniffer does not know cannot be sent whateverfile_kindslists, since its bytes read as something else: a.docxis refused as "its bytes are application/zip".
Changed
- The database is of schema version 4: a session's stream may hold a
Fileevent, a file the session sent to its room, which the transcript page and the raw stream show. A server of version 3 refuses a database of version 4 rather than fail on a transcript that holds one. The step from 3 changes only the version. - A permission request that the host answered itself, as it does for the agent's leave to use the room's own tools (
_meta.roomcity.answeredByis"host"in the call), is not posted to the room as a question with reactions. The tool call it was for shows as any other.
Downloads
-
Source code (ZIP)
1 download
-
Source code (TAR.GZ)
1 download
- An agent sends a file of its working directory to its room with the tool