v1.2.1 — Physical Keyboard Support & Host Isolation
What's New
Fcitx5 Input Method Support for Physical Keyboards
- Bootstrap Package Addition: Added
fcitx5andfcitx5-chinese-addonsto the default bootstrapping package list incustomize.shduring module installation. - Environment Integration: Configured standard input method variables (
GTK_IM_MODULE=fcitx,QT_IM_MODULE=fcitx,XMODIFIERS=@im=fcitx) insideancli_env.shto solve the issue where users using external physical keyboards (Bluetooth/USB) on Android tablets/phones cannot input Chinese or non-English characters directly in terminal-based TUI tools (like Aider, MiMo).
Bug Fixes
Host Environment Variable Isolation for Container Binaries
- Root Cause: Containerized binaries (like Go-based
agy) inherit Termux environment variables (likePREFIXandTERMUX_VERSION) from the host shell. Go's runtime or execution hooks detect these and incorrectly attempt to run host-side Termux paths (like/data/data/com.termux/files/usr/bin/bash), which do not exist inside the isolated container. - Fix: Added explicit
unsetcommands inancli_env.shto scrub all Termux-specific variables before entering the container, ensuring containerized binaries run in a clean, standard Linux environment and look up the container's own standard/bin/bashin$PATH.