github akitaonrails/ai-jail v3.7.1

one hour ago

v3.7.1

Patch release fixing managed Antigravity executable discovery, -- forwarding
after a bare command, and UTF-8 C1 filtering in the PTY primary-screen filter.

Backward compatible: no config schema, default capability, or flag behavior is
weakened.

Fixed

  • PTY TerminalFilter UTF-8 C1 lead-byte handling (GHSA-x757-f885-jf96, PR
    #266).
    Hold 0xc2 lead bytes consistently when returning to Ground from
    a truncated 0xc2 lead or a lone ESC, so encoded C1 control pairs are
    dropped while legitimate non-C1 continuations pass through unchanged. Thanks
    @eolobinhooooooooooooooohhoooooo for reporting privately.

  • Forward -- after a bare command to the child (#264, PR #265). A --
    before the command continues to terminate ai-jail's own options, while a
    -- after a bare command (for example ai-jail grep -- -v pattern or
    ai-jail git checkout -- src/main.rs) is now forwarded verbatim to the child
    instead of being stripped. Thanks @eolobinhooooooooooooooohhoooooo.

  • Resolve managed Antigravity executable as agy (PR #263). Map canonical
    antigravity to agy in ManagedHarness::executable() when --executable
    is not passed, so ai-memory run --jail agy locates the host binary and
    exempts its directory under private home. Thanks @leonardovrezende.

See the security model for what each grant exposes.

Checksums (SHA256)

04942eac4fd5449c1f6a184ca5c53dec0ce88de5e030704f9dcaa03b4cf206c0  ai-jail-linux-aarch64.tar.gz
acb38f314bb067d18844ce2d3d2f172e67bfe014b7b8a457e38c9a26e020d0ef  ai-jail-linux-x86_64.tar.gz
b021add2f989d18e64d80c4ddf79aba1cdde8167994f40bad9c91587eb184b7f  ai-jail-macos-aarch64.tar.gz
3b9d6c96cf51ac31b09a8603a95134afca9a4d9a2c87d880cdaa89b6a5639bf4  ai-jail_3.7.1_amd64.deb

Install

brew tap akitaonrails/tap && brew install ai-jail
yay -S ai-jail-bin
cargo install --locked ai-jail
# Debian/Ubuntu: download the .deb below, then
sudo apt install ./ai-jail_*_amd64.deb

Don't miss a new ai-jail release

NewReleases is sending notifications on new releases.