github akitaonrails/ai-jail v1.20.3

4 hours ago

Fixed

  • The Claude Code banner renders on macOS again. The primary-screen filter
    treated any raw 0x90/0x9b/0x9c/0x9d/0x9e/0x9f byte as an 8-bit C1
    control, including when it appeared inside a UTF-8 character. Claude Code
    draws its logo with U+2590..U+259F, which encode as E2 96 90..9F, so every
    glyph opened or closed a phantom control string and the banner arrived as a
    single overlapping line with the rest of the screen missing. The title OSC
    contains (E2 9C B3), whose 0x9c byte closed the string early and let
    the tail leak through as text. The filter now tracks UTF-8 boundaries and
    treats lead and continuation bytes as character data in every state. A
    standalone C1 byte is still an introducer or terminator. Reported and fixed
    by @maracunha (#129).

  • No more ai-jail-mise: ~/.bash_profile: Operation not permitted at every
    launch on macOS.
    The mise wrapper ran bash -lc, and a login shell sources
    ~/.bash_profile; under private home on macOS the seatbelt profile denies
    that read rather than hiding the file, the way Linux does with an empty tmpfs
    home. Private home on macOS now uses bash -c. Linux and
    --no-private-home keep the login shell. Thanks to @maracunha (#129).

  • Character-set designations no longer reach the terminal. Passing UTF-8
    continuation bytes through as text is only sound while the terminal stays in
    UTF-8 mode, and nothing kept it there: ESC %@ returns the terminal to
    ISO 8859-1, where 0x80..=0x9f are C1 controls again. An agent could send
    that and then smuggle a C1 CSI through as the third byte of a UTF-8
    sequence, where the same byte on its own is filtered. ESC % sequences are
    now dropped whole, including the three-byte ESC % / F form; ai-jail always
    speaks UTF-8 to the terminal, so there is nothing to forward.

Checksums (SHA256)

63d89da2f8c982d110217d105d7a1b0510fe9e4244ae17fbdb05f2e5250e3425  ai-jail-linux-x86_64.tar.gz
cd5f7cf7092d1ae5c6245bfeea392a71c688dcd14cdb335fbc1e9cb8eff84741  ai-jail-macos-aarch64.tar.gz

Install

brew tap akitaonrails/tap && brew install ai-jail
yay -S ai-jail-bin
cargo install --locked ai-jail

Don't miss a new ai-jail release

NewReleases is sending notifications on new releases.