Repository navigation
Releases: itsnyxdev/sudo-fun
Releases · itsnyxdev/sudo-fun
Release list
v1.1.0: Core Reliability, Portability & CLI Management
Release Highlights in v1.1.0
- Administrative CLI Controls:
--status: Interactive Rich table displaying tracked command identities, failure counts, remaining lock timers, and active background audio PIDs.--unlock <cmd|all>: Administratively clear a lockout, reset failure counts, and terminate associated background audio daemons without opening SQLite.--kill-audio: Stop any active background failure audio playback processes immediately.
- Throttled ONNX Inference with Silence Gating:
- Reduced YAMNet inference from ~30 FPS down to 4 Hz.
- Added RMS audio energy thresholding to skip inference during silence, cutting CPU usage by ~90% and eliminating frame stutter.
- Comprehensive Sudo Argument Parser:
- Full support for attached options (
-uuser,-gwheel), GNU long options (--user=admin,--chdir=/var), and option terminators (--).
- Full support for attached options (
- POSIX Process Liveness:
- Fixed
_is_pid_aliveto correctly handlePermissionError(EPERM) as confirmation of process existence.
- Fixed
- Camera Probe Caching:
- Added cached webcam detection to prevent device contention and eliminate redundant hardware open/close cycles on startup.
- Expanded Test Suite:
- Test suite expanded to 35 unit and integration tests (100% passing).
v1.0.2: Critical Stability, Security & Model Pipeline Fixes
Release Highlights in v1.0.2
- Incremental Audio Streaming: Implemented incremental sample consumption in
AudioServiceand continuous stream feeding to Vosk ASR, eliminating the ~33x audio duplication issue. - Hardware & Model Availability Gatekeeper: Enhanced
ChallengeRegistryto verify offline ML models exist on disk before selecting ML challenges, falling back cleanly totiming.reaction. - Unified Asset & Model Resolution: Added
sudo_fun.core.assetswith prioritized discovery across environment variables, user share, and repo directories. - Environment Variable Isolation: Added
restore_pristine_environment()to prevent Wayland and Qt environment mutations from leaking into privileged commands executed undersudo. - Portability: Added dynamic
sudobinary resolution inexecutor.pysupporting NixOS setuid wrappers (/run/wrappers/bin/sudo), PATH,/usr/bin/sudo, and/bin/sudo. - Security: Switched all asset downloads in
install.shandrelease.ymlto HTTPS. - Installer Enhancements:
install.shnow automatically downloads and verifies offline ML models. - Expanded Test Suite: Added unit tests for assets, audio streaming, environment hygiene, and model fallback (29 tests passing).
v1.0.1
What's Changed
- fix: recover from missing MediaPipe face model by @itsnyxdev in #1
Full Changelog: v1.0.0...v1.0.1