- Engine: sherpa-onnx 2.0.1 keyword spotter (Apache-2.0) with the English
zipformer-gigaspeech-3.3M KWS model (Apache-2.0, int8), fetched hash-pinned by
scripts/fetch-wakeword.py into app/libs and src/full/assets (gitignored); CI and release run it.
`full` flavour only (abiFilters arm64-v8a, armeabi-v7a, x86_64); `fdroid` has a stub engine
and Settings says why. ProGuard keeps com.k2fsa.sherpa.onnx (JNI reads fields by name).
- WakeWordService (foregroundServiceType microphone): persistent notification with Stop; audio
only to the engine in memory; pauses while the sheet is up (AssistPresence), in battery saver,
and with the screen off unless Settings says otherwise. On the word: the sheet opens listening
through LembasAssistService.showSession when LLeMbas is the assistant, else the activity,
else a "tap to ask" notification.
- No microphone service at boot: WakeBootReceiver posts "tap to listen again"; MainActivity
restarts a service the phone stopped.
- Settings › Assistant › Wake word: switch (off), four built-in English phrases (BPE-tokenized
with the model's bpe.model), screen-on only, battery-optimisation page; privacy and cost text.
- The sheet's "no wake word" line now points at the setting.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A native client for a LLeMbas instance on the server's /api/v2, and the
phone's digital assistant.
- Sign in by device code; the token sealed in the Android Keystore; several
instances.
- Chats and agent chats: the list, a chat with its reply streaming as JSON
server-sent events (reconnecting, whole blocks), thinking, tool calls,
steered messages, the plan, jobs, stop, edit, regenerate, continue, the
model, effort and Plan mode, attachments and dictation.
- Cards in a sheet, answered as the page's form says it; first answer wins.
- Notifications through UnifiedPush, no Google services; an approval can be
answered from its notification.
- The digital assistant: a VoiceInteractionService with its session (a sheet
over the current app, "Include screen" off by default), a recognition
service through the instance's speech-to-text, the lock-screen path that
asks to unlock before sending, a Quick Settings tile and an Ask shortcut.
- Share to LLeMbas; Moria and Shire from the server's tokens; nine
languages; a self-updater in the `full` flavour, none in `fdroid`.
Generated and pinned from the server, each checked in CI: the theme
(tokens.lock.json), the contract (contract/lock.json, server 2124ba9), the
strings and the icons. Built and tested only on GitHub Actions.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>