• v0.9.1 b2af447b5a

    tylerstyle released this 2026-11-17 22:19:27 +01:00 | 1006 commits to main since this release

    The first fixes for the agent channel, after a day of real use.

    Fixed

    • matrix-rat serve ends with exit code 78 when the profile has no session it can use (it needs a login, or the session could not be read, for example while a keyring is locked), and with 1 for any other failure. A service can now start again after a real failure without looping on something only you can mend:

      Restart=on-failure
      RestartPreventExitStatus=78
      RestartSec=30
      

      The README's unit is updated. If you copied the old one (Restart=on-abnormal), change these lines.

    • A wait_for_message that is already waiting finds an answer that was loaded late (it arrived while the connection was down and came in afterwards). Until now only the next call handed it over. A long wait looks at the room anew once a minute.

    • With after_event_id, an answer loaded before that point is no longer dropped: a later wait that names no point hands it over.

    • A read_messages as the very first look at a room no longer keeps older messages that name you but could not be verified, to hand them over later as news.

    • A wait is not ended with an error when the connection to Matrix is started again while it waits.

    Good to know

    • 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.
    • SQLite in the release archives: unchanged from 0.9.0 (RUSTSEC-2026-0459, see the 0.9.0 notes). The Nix package links the system's SQLite.

    Checked with 1113 unit tests and 45 tests against a homeserver; reviewed in three rounds by an independent reviewer.

    Downloads