This pull request significantly enhances the user experience for interactive chat and voice input, while also streamlining the development and build processes.
Highlights
- Enhanced Interactive Chat: Introduced automatic session management for interactive mode, allowing
zop to create and resume unique sessions without explicit naming. It also automatically rolls over to a new session when context limits are reached by the AI provider.
- Improved Voice Input (Whisper): Upgraded the voice activity detection (VAD) system with adaptive noise floor estimation and signal-to-noise ratio (SNR) based speech detection, making it more robust across different microphones. Added options for VAD debug diagnostics and manual recording stop (Ctrl-D).
- Comprehensive Build System: Added a new
Makefile to streamline development workflows, including Go toolchain installation, dependency management, building (with/without Whisper), testing, release binary generation, and Android APK creation. This simplifies the build process significantly.
- Whisper.cpp Integration & Logging: Integrated
whisper.cpp build and management directly into the Makefile. Whisper's native logging is now silenced by default for cleaner output, with an option to enable debug logs via the --debug flag.
This pull request significantly enhances the user experience for interactive chat and voice input, while also streamlining the development and build processes.
### Highlights
* **Enhanced Interactive Chat**: Introduced automatic session management for interactive mode, allowing `zop` to create and resume unique sessions without explicit naming. It also automatically rolls over to a new session when context limits are reached by the AI provider.
* **Improved Voice Input (Whisper)**: Upgraded the voice activity detection (VAD) system with adaptive noise floor estimation and signal-to-noise ratio (SNR) based speech detection, making it more robust across different microphones. Added options for VAD debug diagnostics and manual recording stop (Ctrl-D).
* **Comprehensive Build System**: Added a new `Makefile` to streamline development workflows, including Go toolchain installation, dependency management, building (with/without Whisper), testing, release binary generation, and Android APK creation. This simplifies the build process significantly.
* **Whisper.cpp Integration & Logging**: Integrated `whisper.cpp` build and management directly into the `Makefile`. Whisper's native logging is now silenced by default for cleaner output, with an option to enable debug logs via the `--debug` flag.