• v1.0.0 27800da2f6

    tylerstyle released this 2026-11-21 19:58:24 +01:00 | 750 commits to main since this release

    The 1.0.0 release: ready for daily use, with voice messages, a rooms bar, local transcripts and translations, saved messages and reminders, room archives and unread summaries, a full stability and security pass, and a much leaner footprint over long runs.

    New

    • Record voice messages. Alt-M or the 🎤 button in the composer starts recording (hold the button while you speak and let go to stop, or click once to start and once more to stop; Esc discards while recording; stops by itself at 5 minutes). Nothing is sent on its own: the recording waits above the composer where you can listen before sending (▶ or Alt-L), add a caption, remove it (✕ / Backspace), or send it (Enter) as an Ogg/Opus voice message with its duration and waveform (plays in Element on desktop and iOS as well). Recording uses a capture program (parec, parecord, pw-record, ffmpeg or arecord) and an Opus encoder (opusenc or ffmpeg) already on your system (audio_recorder setting; "auto" offers nothing over SSH unless you configure a command).
    • Rooms bar above the chat. While the room list is out of sight (put away with Ctrl-B, or in a window below 60 columns), a one-line bar above the chat shows ☰ Rooms (click to open the room list) and the rooms with new notifications, newest on the left, with their picture or coloured initial and raised superscript counts ((n)> opens the list when more rooms wait than fit). Alt-N steps through every active room in turn; right-clicking a chip opens the room's menu. Switch it off with rooms_bar = false (Settings → Rooms bar).
    • Transcripts and translations under messages. Nothing is sent to the room and nothing runs until you ask on a message (key, hover button, message menu, or Ctrl-P; again stops, hides, or shows it):
      • W transcribes a voice or audio message locally with whisper-cli (whisper.cpp) once transcribe_model points to a model file (converting via ffmpeg when installed), or with your own transcribe_command.
      • L translates a text message, caption, or voice transcript using your own translate_command and translate_language ({lang} and MATRIX_RAT_TRANSLATE_TO).
      • Edited messages and language changes invalidate stale notes; "Transcribe again" and "Translate again" in the message menu redo them. By default notes last while the app runs; keep_notes = true (Settings → Keep transcripts) saves the 200 newest in notes.json (mode 0600, bound to your account) in the profile's data folder, in plain text outside the encrypted store.
    • Saved messages and reminders. b on a message saves it for later ((saved)); B opens Saved messages across all rooms (Enter or click jumps to the message, Del removes it, r sets or removes a reminder). Remind me… in a message's menu offers presets or a typed time (45m, 2h, 3d, 1w, 17:30, tomorrow 8:00, 2026-12-24 18:00). Due reminders appear in the status line (1 reminder due, clickable) and as desktop notifications (more than three due together become one grouped notification). Stored per account in saved.json (IDs and times only, never message text; removed on logout).
    • Archive a room as Markdown (/archive). Writes a room's messages (what is loaded, the last 7 days, the last 30 days, or as far back as it goes — up to the newest 5,000 messages) into one Markdown file in your download folder. Text only: media and attachments are named, not downloaded. Also available from a room's menu ("Archive as Markdown…") and Ctrl-P.
    • Catch up on unread messages (/catchup). Collects what is unread in a room (up to the newest 300 messages or 24,000 characters), passes it to your own summary_command, and shows the summary in a popup only you see (c copies; nothing is posted or marked read). If where you stopped reading cannot be found, matrix-rat asks before summarising the newest messages instead.
    • Agent name from the environment (matrix-rat mcp). When --name is omitted, matrix-rat mcp reads MATRIX_RAT_AGENT_NAME (using the same character validation as --name), so several agents can share one .mcp.json entry while signing with their own names.
    • Agents can trust each of your accounts. --from may now be given once for each of your Matrix accounts on read, listen and mcp (say one on matrix.org and one on Beeper). Each account is held to the same rule on its own (end-to-end encrypted, from a verified device and a verified identity of that account), and one account never vouches for another. With a single --from nothing changes, so existing agent configurations keep working.
    • Several accounts and doctor. The README now documents multi-profile usage (--profile), locking, and safe profile removal under Several accounts. matrix-rat doctor (and Settings → What the app found) also reports voice recording, transcribing, translating, and summary command status.

    Fixed

    • No duplicate blocks or stuck "Unable to decrypt" duplicates. Worked around a race in matrix-sdk-ui 0.19.1 (TimelineBuilder::build) that could show a batch of messages twice: the room view, /archive, /catchup, and the agent channel now show each event once with its latest content (keeping edits and the read marker in the right place), and when keys arrive later (such as from a key export file) a still-locked duplicate never hides the decrypted copy.
    • Interface, global search and pictures. Global search (Ctrl-G) now highlights and clicks result cards where they are actually drawn; shrinking the terminal while the emoji picker or composer menu is open keeps it on screen without crashing; pictures shown twice on screen are sent once and kept instead of flickering; room avatars are encoded per display size so small tiles are no longer cropped to a quarter and switching between the room list and the rooms bar does not re-encode every picture; hovering a room in the rooms bar highlights its count without fading letter tiles.
    • Jumps, resets, threads and pagination. Jumping to a message within the open room or thread now keeps a pending reply or edit on the same event (or cancels it and restores your unsent draft if that message is not in the slice) instead of targeting an unrelated message, and loads room custom emoji packs and forgets notes of deleted messages. Every timeline now uses its own internal item-ID prefix so IDs never collide across timelines. A sync reset clears the loaded-start marker (and reloaded /context slices reset both bounds), cancelling a jump after the worker switched restores the previous view, stale pagination requests for views you already left are answered immediately while newer requests cancel older ones, and opening a thread with no replies yet loads its first page at once (with decryption retries on an unloaded thread root routed to the room timeline).
    • Ignoring users and room management. Changing the ignore list keeps open and cached timelines intact instead of dropping them out from under room actions, and hides ignored users' thread-reply previews, thread unread indicators, and read receipts in the room view as well. Newly joined rooms load their member list reliably; late member lists for left rooms are discarded; rooms left in the current session are not queried for image packs; pinned-message cache eviction no longer shrinks capacity when a message is unpinned and re-fetched; opening or closing Room info leaves in-flight room commands running on the server.
    • Drafts, formatting, popups and sessions. Early typing and room drafts survive an automatic switch away from a pending invite or knock, and an async clipboard paste or voice recording finishing after switching rooms or threads restores the right conversation's stashed draft. /shrug keeps its backslash and underscores when formatted HTML is sent; <br> inside <pre> preserves line breaks when copying code blocks; mention and link parsing reads href attributes properly; mouse-wheel scrolling is ignored in the room directory while a request is busy; demo redactions with a reason keep reply/edit targets aligned; bound leave_room, invite_user and cancel_compose no longer appear twice in the command palette; editing non-download text settings no longer falls through to the download folder.
    • Privacy, files and shutdown hygiene. Saved attachments are created owner-only (mode 0600), matching key exports and notes; kept transcripts (notes.json) are bound to the logged-in account (surviving soft logout, removed on logout, and never read by another account); verification prompts sanitise device IDs alongside device names; profile startup retries cleanly through a --reload-theme lock/unlink race on the .pid file; background session tasks (including the token saver on a failed start) end with the session, while graceful shutdown waits briefly only for outgoing changes rather than read-only lookups.
    • Agent channel (serve, mcp, CLI). matrix-rat serve now marks updates to already-seen messages with "changed": true on its socket's listen lines while staying compatible both ways between old and new serve and mcp/CLI builds (old clients ignore the extra field; new clients treat its absence as a new message). wait_for_message no longer wakes on edits or late decryptions of old messages beyond its read window or rewinds its anchor; messages found while the anchor was lost survive a cancelled wait, and older messages left out of a long backlog (earlier_messages_not_shown) count as seen instead of replaying out of order on the next wait. A wait whose matched message is deleted during decryption settle keeps listening; a restarted session bases its watch on the new snapshot; a watch emits its final batch before its timeline stream closes; --allow-unverified still rejects identity changes and sender mismatches; oversized text on standard input is refused as too long rather than as invalid UTF-8.
    • Loading older messages never stalls, and no history stays hidden. A request for older messages that came just as the previous page finished was dropped, so "loading older" could spin for good; every request is now answered, in room and thread timelines and in the public room directory. A quirk in matrix-sdk-ui 0.19.1 showed only the newest 20 of the messages that arrived while a timeline was still empty and then reported the start of the room, hiding the rest; matrix-rat now asks once more before taking the start as reached (no server call when nothing is hidden). A view that cannot come back after a jump is told of the reset, so its spinner no longer sticks.
    • People who share a display name are told apart. Two accounts with one name (for example the same person on two servers) were shown as one sender with one colour. The name now carries the account ID wherever one could be mistaken for the other: senders, reply quotes, threads, read receipts, membership lines, ban/delete/report dialogs, pinned and saved lists, search, /catchup and /archive.
    • Compose targets, drafts and slash commands stay intact. A pending reply or edit (including to a still-sending message) and the timeline selection follow their event across timeline updates and resets, with a toast if the target disappears. Early typing before a room opens automatically merges with the room's saved or stored draft instead of replacing or losing it (keeping the cursor in what you typed and mention marks anchored to their own text); typing a /command sets a saved draft and its marks aside until the command finishes or is cancelled (and merges them back if the text stops being a command, while // escapes stay plain messages that Esc will not discard); a stored draft merges into a waiting /upload caption; /join to a room you are already in no longer overwrites its draft; and non-ASCII completion candidates are lowercased once per query.

    Faster and leaner

    • Fewer threads, open files and idle wakeups. Tokio worker and blocking pools are bounded (4/16 in the app, 2/8 in serve), SQLite pools are capped at 4 connections per store, and the SDK stores open in single-process lock mode (the profile lock already prevents two instances on one profile), removing the 50 ms cross-process lease renewal wakeup at rest (measured: 100 → 8 threads, 137 → 33 open files).
    • Bounded memory over long runs. Completion member lists are kept only for the open room; unused cached room timelines are evicted after 20 minutes and reopen from the store; timeline snapshots queued while writing in $EDITOR are coalesced instead of piling up; converted message lists allocate without doubling slack.
    • Much faster timeline updates and drawing. The worker reuses converted messages for unchanged SDK timeline items (measured on a 5,000-message room: 10.5 ms → 2.85 ms per change), and a per-message layout memo reuses laid-out rows for unchanged messages instead of laying out the whole room on every reaction, receipt, or new message (28.6 ms → 1.65 ms per change, 1.75 ms for a new message).
    • Less work across the UI, worker and agent daemon. Mention completion, unfiltered room lists, Room info rows, and in-room search avoid redundant per-keystroke allocations and full rescans; the room list reads stored encryption state without asking the server room by room; own-profile updates refresh only when your name or picture actually changed; Room info compares member lists and power levels without copying on every update; thread unread checks load room-wide receipts once per pass; store/index removal and key export/import disk work run off the worker's async loop; watched agent rooms convert only their newest tail and skip unchanged updates.
    • For developers. #![warn(clippy::wildcard_enum_match_arm)] is enabled across the program so every match on our own enums names all variants, and Dependabot checks dependencies and GitHub Actions weekly.

    Good to know

    • Name colours follow the account ID instead of the display name, so some names change colour once after updating. After someone renames, older reply quotes and thread lines keep the old name (the SDK does not refresh them).
    • External commands and keep_notes. Neither translating (translate_command) nor catching up (summary_command) uses a built-in service; if you point either at an online service, message text — including from encrypted rooms — leaves your machine. keep_notes = true writes transcripts and translations in plain text to notes.json (mode 0600, bound to your account) outside the encrypted store; it is off by default.
    • Still open in the agent channel:
      • listen on the command line does not report an answer that arrived during a gap in the sync, and can in rare cases print loaded history as new once. The MCP tools do neither.
      • If serve goes away during a long wait and stays away, the wait ends with "nothing new"; the next call says what is wrong.
      • Progress notices of a waiting call skip about one beat a minute.
      • In a room with no message at all, what is written between an agent's first wait or read and its next call is not handed over, unless the agent sent something first.
    • Key backup and recovery are used when already set up (and missing ones are flagged), but creating or resetting them is still done in another client such as Element. See docs/PLAN.md §7 for the full list of known limits.
    • SQLite in the release archives: unchanged from 0.9.0 and 0.9.1 (RUSTSEC-2026-0459, bundled SQLite older than 3.54.0 via matrix-sdk 0.19.1; requires write access to the profile's private folder; the fix arrives with the next matrix-sdk). The Nix package links the system's SQLite and is unaffected where that is 3.54.0 or newer.

    Checked with 1589 unit tests and 47 tests against a real homeserver on the release commit, the Nix build, and a run of the built package; every piece reviewed by a second agent or an independent reviewer.

    Downloads