• v0.9.0 a91b2b0791

    v0.9.0
    All checks were successful
    release / plan (push) Successful in 6s
    test / changelog (push) Successful in 4s
    release / image (push) Successful in 32s
    release / release (push) Successful in 1s
    test / go (push) Successful in 47s
    Stable

    mikluko released this 2026-11-16 10:37:43 +00:00 | 25 commits to main since this release

    Added

    • An agent sends a file of its working directory to its room with the tool attach of the MCP server room, 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) and file_kinds (default image/*, text/*, application/pdf, application/json) bound what the room takes.
    • HostService.Send reaches the room: a file a session's agent sends goes through Attach of the chat side, and the chat side's refusals (ErrFileTooLarge, ErrFileKind, ErrNoRoom, ErrChatDown) reach the agent as InvalidArgument, FailedPrecondition and Unavailable with the text that names the bound. [chat] max_file is 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] answers Unavailable.
    • chat.Driver.SendFile and (*chat.Service).Attach, the room's end of an agent's attach: a file is uploaded to the homeserver's media repository as the agent's user and sent as an m.image (a PNG, JPEG or GIF whose size is read, with its width and height) or an m.file; an SVG is a file until a client is seen to draw one. The caption is the body and the name the filename; with no caption the name is the body. Attach refuses a file whose bytes are of another kind than it is called (a zip called notes.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_kinds does not list (default image/*, 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 whatever file_kinds lists, since its bytes read as something else: a .docx is refused as "its bytes are application/zip".

    Changed

    • The database is of schema version 4: a session's stream may hold a File event, 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.answeredBy is "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