Skip to content

Chatmon 0.5.1

Choose a tag to compare

@RandyNorthrup RandyNorthrup released this 11 Nov 02:55
· 341 commits to main since this release

Every message heard, on a slow or busy computer (#4)

A hook waits half a second for Chatmon to answer. On a slow or busy computer, Chatmon can take longer, and answering a hook that had stopped waiting could leave the next message unread. It sat in the socket until the app quit. That's why chatmon quit sometimes went unheard on Intel Macs, and an agent's event could be lost the same way.

  • Read from the event loop: Chatmon now reads and answers each connection from its event loop, and only answers a sender that's still there.
    • On an Intel Mac throttled to a fifth of a core, quit was heard in 17 of 26 runs before, and 45 of 45 after.
    • On Linux, of 40 senders that hang up at once, 4 or 5 were lost before, and none after.
  • A full queue isn't "not running": while Chatmon is busy, about fifty new connections can wait for it. Past that, a hook used to report "Chatmon isn't running". It now keeps trying for up to a second. With 60 messages arriving at once, all 60 are heard.

Faster starts on macOS

  • No D-Bus: Chatmon no longer looks for a D-Bus session bus on macOS. On an Intel Mac with Homebrew's dbus, that lookup cost 0.4 s at every start, for a signal macOS never sends.
  • Fewer agent checks: with Claude Code and Muse installed, the first five seconds after starting ran their command lines 14 times. Now it's 6, and only one check runs at a time.

Install or upgrade

Download the installer for your computer below, or:

pipx install --force git+https://github.com/RandyNorthrup/chatmon