Commit Graph
93 Commits
Author SHA1 Message Date
HomerandClaude Fable 5.2 dcd5adf491 A report's push: its words are in the payload's notification
CI / check (push) Canceled after 0s
The payload's top says only the app's name and "New report"; the title,
the summary and the importance are read from its notification, and from
the top only where there is none.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 09:56:15 +00:00
HomerandClaude Fable 5.2 adc1c4fe3e Reports, "notify when", report notifications, and a page as a card (spec 3.8.0)
CI / check (push) Canceled after 0s
Built against the provisional /api/v2 shapes of the round's brief; the
server's fixtures are pinned when its reports routes are on its dev.

- Reports in the drawer with an unread badge; routes reports and
  report/{id}. The list: unread first, title, the schedule's name, when,
  importance marked; pull to refresh; swipe to mark read or to delete (asks
  once). A report reads as a page (Markdown as the chat draws it) and is
  marked read on open; Share hands over its text; Reply asks the server for
  the report's chat and opens the ordinary chat screen entered from the
  report: "Report: <title>" in the bar, Back to the report, never added to
  the chats list.
- Scheduled: "Notify when" on the form -- Every run / When... (the default
  prefilled) / Never, each with its line; sent as notify and notify_when. A
  run shows its note and a row to its report; the run's chat stays openable.
- Push kind `report`: a Reports channel; unlocked the title and summary,
  on the lock screen only the app's name and "New report"; tap and Open go
  to the report, Mark read needs the phone unlocked. `schedule` and
  `schedule_failed` from an older server are handled as before.
- A page in an answer (an html-view fence, the server's "[page: Title]"
  line, or a `page` step) is one quiet card; no web view, never the source,
  in a chat and in a report. Copy and Share take the one-line projection.
- An id that may come as a string or as an object (a report's chat, a run's
  report) is read either way.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-13 09:38:58 +00:00
HomerandClaude Fable 5.2 118b2aa764 LLeMbas for Android 1.0.0-beta.8: pinned to LLeMbas 2.0.0-beta.11
Release / release (push) Canceled after 0s
CI / check (push) Canceled after 0s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
v1.0.0-beta.8
2026-11-12 13:56:05 +00:00
HomerandClaude Fable 5.2 694e7f46d7 Contract at server dev 9ab0818: spec 3.7.0 from the server -- end, ms, always, the builds
CI / check (push) Canceled after 0s
- Pinned: 75 files, with the spec's display.json (DisplayTest runs its
  duration and end cases) and progress.json's budget stop.
- Not additive: a call's chips no longer carry "exit 0", and an edit's are
  one "+N -M" (the app draws chips only, so nothing is said twice);
  block.title follows the spec's key order.
- A message's `end {phase, reason, text}` is what a stopped or failed reply
  is drawn from, so a reloaded one says "Stopped: by you" too; the app
  writes the line in its own language from the phase and the reason.
- A call's time is block.duration (the server's), else made from `ms`;
  its state is block.state; a call without a title shows block.label.
- "Always allow" only when every item of the approval has `always`.
- The notifications build's updater takes its file from latest.json, else
  from GET /apps' `notifications {url, sha256}` of the same version.
- ApiClient.mentions and attachFrom with their models and fixtures; the
  composer does not use them yet.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 12:33:47 +00:00
HomerandClaude Fable 5.2 d30b74e1a4 Wake word: Stop's start id counts too, so the service still ends after it
CI / check (push) Canceled after 0s
The service stops itself by the newest start id it was given; without
Stop's own id that call would have been ignored after a tap on Stop.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 10:40:22 +00:00
HomerandClaude Fable 5.2 5fcc158763 Wake word, from the review: a heard word always shows, holds end, stop and retry
CI / check (push) Canceled after 0s
1. Heard, but not the assistant and not on screen: Android blocks the
   activity start silently and runCatching called it a success, so nothing
   opened and nothing was posted. The opening is decided from what Android
   allows (wakeOpening: session, activity while an activity of the app is
   started, else a notification); "Heard you. Tap to ask." goes on a channel
   of its own (high importance, fixed words, times out after a minute) and
   the sheet cancels it. Settings says that only the digital assistant app
   opens by voice over other apps, with a row to that system setting.
2. The hold after the word is apart from the sheets' count and ends on a
   process scope in a finally; a starting service clears it.
3. A tap on the state in Settings retries now (WakeStatus.retryNow ->
   WakeListener.retryNow) and restarts the back-off; thirty seconds of
   samples taken in also resets the count of failures.
4. State writes carry the instance's token (WakeStatus.begin): an older
   instance's last "off" no longer overwrites a newer one. Engine.create is
   synchronized and writes the keywords to a file of its own.
5. numTrailingBlanks = 1 means more than one blank frame after the phrase
   (about 80 ms): the comment is corrected, and Settings and the test row
   say to pause after the phrase.
6. Stop no longer calls stopService or stopSelf() under a possible pending
   foreground start: the setting goes off and the loop ends the service with
   stopSelf(lastStartId); a start that arrives after the loop ended begins
   it again.
7. The "tap to listen again" notification is cancelled when the service
   starts.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 10:39:34 +00:00
HomerandClaude Fable 5.2 649cb526de Assistant: a new chat's name is fetched after the answer, for a bounded while
The sheet follows the reply's stream to done only, so it never saw the
title frame. When done says the name is pending, the chat's name is asked
for every 4 s for at most 20 s in the background (never delaying speech,
never holding the stream open) and kept as the name the sheet offers the
chat under next time.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 10:38:47 +00:00
HomerandClaude Fable 5.2 3e15900521 A call's duration that rounds to sixty seconds is "1m 00s", never "60.0s"
Tenths, rounded half up, decide the form (59.96 s is a minute).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 10:38:47 +00:00
HomerandClaude Fable 5.2 0437f802a4 Screenshots: the wake word's group and notification summaries on their own
CI / check (push) Canceled after 0s
The settings page is longer than a shot, so its wake-word rows were cut off.
The two groups are drawn alone: listening, failed with its reason, and a
test that heard the phrase in a standard build.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 10:15:15 +00:00
HomerandClaude Fable 5.2 e35bf3004c Contract at server dev 5044168: done is the end of a reply, the chat's name follows
CI / check (push) Canceled after 0s
The server now sends `done` as soon as the reply is saved and names a new
chat afterwards: `done.chat.title_pending`, then one `title` frame before
`close` (up to the naming's time limit).

- The chat screen finishes the reply at `done` (the row replaced, nothing
  live, a queued prompt's reply followed at once) and keeps the stream only
  for the `title` frame, which renames the chat. It used to wait for
  `close`, which with this server would have left a first reply undrawn for
  the seconds the naming takes.
- The assistant's sheet follows the stream to `done` only, so a spoken
  answer is read aloud without waiting for the name.
- Fixtures: event_done (title_pending), event_done_title_pending,
  event_title. Tokens and strings are unchanged at this ref.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 10:06:37 +00:00
HomerandClaude Fable 5.2 a30075c8f3 Display per harness spec 3.7.0: the end line, durations, locale numbers, the cards' actions
CI / check (push) Canceled after 0s
- A reply that was stopped or failed keeps the progress text at its end
  (display.md section 4): "Stopped: by you", "Failed: ...". message.stopped
  was never drawn, and a failure showed the raw error. The reason comes from
  the stream's last status frame and stays with the finished row; a stored
  row gives "Stopped" or "Failed: <first line of its error>".
- A finished tool call shows its duration (0.4s, 1m 05s, 2h 03m) from the
  call's `ms`, where the server sends it; none while running or when denied.
- Counts in the progress line are in the phone's locale format (Locale.ROOT
  is the spec's plain format, which the conformance cases use); a cut `what`
  ends in an ellipsis, counted in code points; the clock is joined with the
  shared progress_line separator.
- Approval card: Allow once / Always allow / Deny / Deny, and say why. Plan
  card: Approve, continue in Edit / in Manual, and Revise.
- fetch-contract.py pins the spec's display.json as harness_display.json
  once the server's copy of the spec has it; DisplayTest then runs its
  duration and end cases.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 10:03:04 +00:00
HomerandClaude Fable 5.2 f2a2acf996 Three APKs: the notification listener leaves the standard builds; releases drop x86_64
CI / check (push) Canceled after 0s
Google Play Protect blocked installing beta.7, most likely for the
notification listener (notification summaries).

- A second flavour dimension, `reading`: `standard` declares no listener and
  no permission of it; `notifications` is the full build plus the listener,
  with the same application id and key. Variants: fullStandard,
  fullNotifications, fdroidStandard (no F-Droid build with the listener).
  The listener class and its manifest entry live in src/notifications only.
- Settings in a standard build says where notification summaries went and
  why. The self-updater installs only its own kind: a notifications build
  takes latest.json's optional `notifications {url, sha256}` or nothing.
- Release builds carry arm64-v8a and armeabi-v7a only; debug keeps x86_64
  for the emulator. The engine's unused C and C++ API libraries are left out.
- scripts/check-apk.sh checks the built files (listener only where it may
  be, model stored, no x86 in a release); CI runs it on the three debug APKs
  and on an unsigned release build, release.yml on what it publishes.
- release.yml publishes llembas-android-<version>.apk, -notifications.apk
  and -fdroid.apk with SHA256SUMS.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 09:58:07 +00:00
HomerandClaude Fable 5.2 6a05f56e7c Tests: the wake-word service as Android starts it
CI / check (push) Canceled after 0s
A start never posts a phrase it is not listening for (the default phrase on
every app open was the bug), and without the microphone permission the
service is not started and the state says why. With the earlier commits'
tests this covers state -> notification text (Robolectric), the engine
missing or failing, the microphone failing, the saved-phrase migration and
the generated table against tokens.txt.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 09:53:01 +00:00
HomerandClaude Fable 5.2 e1d99f3f0a Settings: "Test the wake word" -- ten seconds of live state and "Heard it"
CI / check (push) Canceled after 0s
A heard phrase during the test is counted instead of opening the assistant.
The test is a deadline in WakeStatus, not a switch, so one that nobody ends
cannot leave the wake word deaf. Screenshot tests: the wake word's rows
(listening, failed with its reason, tested) and the greeting, name and
sensitivity sheets.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 09:52:03 +00:00
HomerandClaude Fable 5.2 3046ad154a Wake phrases the model can hear: greeting x name, generated pieces, sensitivity
CI / check (push) Canceled after 0s
"Hey Lembas" could not work well: Lembas is not a word the model knows.

- The phrase is a greeting (Hey, OK, Hello) and a name (Assistant, Computer,
  Google, and ten ordinary names); the default is Hey Assistant and an old
  saved id reads as it.
- Token pieces are generated, not hand-written: fetch-wakeword.py also takes
  the model's bpe.model from the same pinned archive, gen-wake-phrases.py
  encodes every word with it into wake/WakeWords.kt, CI checks the committed
  table against the tokenizer, and WakeWordsTest checks every piece against
  tokens.txt. "OK" is spelled as the model's speech wrote it, OKAY.
  Elizabeth and Benjamin are dropped (four or more single-letter pieces).
- Each keyword line carries a boosting score and a trigger threshold
  (sherpa-onnx's ":boost #threshold"), chosen by a Sensitivity setting:
  Low 1.0/0.35, Normal 1.5/0.25, High 2.0/0.15; short phrases 0.05 stricter.
  numTrailingBlanks is the engine's own 1.
- Settings says the phrase is English whatever the app's language is, and
  that a Google device nearby answers to Google too.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 09:49:47 +00:00
HomerandClaude Fable 5.2 374574b9ce Wake word: the engine loads, and its state is one truth that is shown
CI / check (push) Canceled after 0s
The model was read from the APK with AssetManager.openFd, which throws for a
compressed asset; the assets were compressed, runCatching swallowed it, and
the engine never loaded on any phone.

- The model is copied out by stream, keyed by a version file the fetch
  script writes (a hash of the pinned model); onnx assets are stored.
- WakeState (Off, Starting, Listening, Paused, Failed) in one StateFlow that
  the service, its notification and Settings read. onStartCommand no longer
  posts the default phrase; the notification is written from the state only.
- WakeListener holds the loop apart from Android: an engine that does not
  load and a microphone that does not start or stops are Failed states with
  a reason, logged, retried with back-off; a new phrase cancels and joins the
  old loop before the engine is released.
- A keywords line is checked against tokens.txt before the engine sees it
  (the engine exits the process on an unknown piece).
- The service is not started without the microphone permission, and the app
  looks again each time it comes to the screen.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 09:44:49 +00:00
HomerandClaude Opus 5.5 2d38ccd321 LLeMbas for Android 1.0.0-beta.7: pinned to LLeMbas 2.0.0-beta.10
CI / check (push) Canceled after 0s
Release / release (push) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v1.0.0-beta.7
2026-11-10 17:47:11 +00:00
HomerandClaude Opus 5.5 f816919071 Phone actions: the confirm card and the capability (harness spec 3.6.0, server e463621)
CI / check (push) Canceled after 0s
- Contract and strings pinned at server dev e463621 (event_ask_phone.json); tokens unchanged.
- Every message declares client ["phone_actions"] (POST /chats and /chats/{id}/messages).
- CardItem.phone; a phone_action card (chat card sheet, and inline in the assistant's sheet):
  the model's summary, how it will be done, its facts, the map app to use when Settings leaves
  it open, Google Maps' limits said; Cancel answers declined, Do it runs ActionRunner and
  answers {result: {status, message}} -- done or failed with why. Locked: "unlock first".
- Executor on the spec's fields: alarm time HH:MM/days/label, timer, calendar_event
  (start/end local, notes), sms_draft (numbers only; names left to the person), email_draft
  with cc, dial, open_app by name, open_url, media command, torch on, settings_panel,
  automation_intent (Tasker's ACTION_TASK by name with values as local variables, else
  LLeMbas's own AUTOMATION broadcast), navigate (replace_route -> OsmAnd force), add_stop,
  search_nearby (near), stop_navigation. Tool-result reasons in English, for the model.
- Tests: PhoneActionsTest reads the fixture; shots 35-38 phone cards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 16:51:32 +00:00
HomerandClaude Opus 5.5 9906554d09 Phone actions, groundwork: the executor and its settings, before the server's phone_action
CI / check (push) Canceled after 0s
- actions/PhoneActions: standard intents for alarm, timer, calendar insert, SMS and email
  drafts, dial (the dialler, never a call), open URL (http/https only), open app (package or
  launcher label), settings panels, automation broadcasts (never android.* / com.android.*);
  torch via CameraManager; media keys via AudioManager.
- actions/Navigation: Google Maps (google.navigation:, the dir URL with waypoints, geo:0,0?q=;
  no adding to a running route, no stop) and OsmAnd through its intent API only
  (osmand.api:// navigate, navigate_gpx with route points as GPX data, navigate_search,
  stop_navigation; no OsmAnd code, which is GPLv3). add_stop re-plans here -> stop -> destination.
- Optional OsmAnd get_info (Settings switch, after allowing LLeMbas inside OsmAnd): position and
  the running route's destination, through a see-through ResultActivity.
- Settings › Navigation app: whichever is installed (both: ask), Google Maps, OsmAnd, ask.
- Not wired yet: the confirm card and the capability wait for the server's spec 3.6.0 fixtures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 16:39:11 +00:00
HomerandClaude Opus 5.5 9ca27cee01 Notification summaries on request: NotificationListenerService, off by default
CI / check (push) Canceled after 0s
- LembasNotificationListener keeps nothing; NotificationReader.read takes the notifications up
  now (not ours, not ongoing, not group summaries; newest 40, 600 chars each, 12k in all) and
  returns nothing while the phone is locked.
- The assistant sends them with one question: its "Summarise my notifications" chip, or a
  question naming them (assist_notifications_phrases, per language).
- Settings › Assistant › Notification summaries: the app's switch (off) and, when on, Android's
  notification-access page with whether it is given; a privacy paragraph.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 16:29:14 +00:00
HomerandClaude Opus 5.5 dc642c62b9 Opt-in wake word: on-device keyword spotting in a microphone foreground service
CI / check (push) Canceled after 0s
- 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>
2026-11-10 16:27:51 +00:00
HomerandClaude Opus 5.5 2080f0b67e Share sheet: the last chat is known to the Send row too
CI / check (push) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 16:19:33 +00:00
HomerandClaude Opus 5.5 9592fbeeb4 Syntax highlighting in the file viewer and in a reply's code blocks
CI / check (push) Canceled after 0s
A small scanner of the app's own (ui/Highlight.kt) rather than Prism4j (annotation processor,
unmaintained since 2019): comments, strings, numbers, keywords, types, markup tags/attributes,
YAML/TOML keys and shell/PHP variables for the server's `show` languages plus common fence
aliases. Colours are theme tokens only (accent, success, warning, leaf, ink-faint). The viewer
highlights off the main thread (plain until ready; at once in previews); over 400k chars stays
plain. HighlightTest; shots 33-viewer-{kotlin,python,yaml,typescript}, 34-code-block.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 16:17:39 +00:00
HomerandClaude Opus 5.5 9976186599 Spoken conversation mode: listen again after each spoken answer until stopped
CI / check (push) Canceled after 0s
- A spoken question answered aloud opens a conversation (Settings › Assistant, on by default,
  needs voice replies); after the answer is heard to the end, the sheet listens again.
- Ends on a stop phrase (assist_stop_words, per language; isStopPhrase), End, typing, a stopped
  voice, a card waiting, or nothing said (the existing silence timeout).
- "In conversation" banner with End in the sheet's foot; shot 24-assistant-conversation.
- HeadsetRoute: a Bluetooth headset made the communication device (Android 12+) and its
  microphone preferred by the recorder, so the conversation can stay in the ear.
- Speaker.playToEnd tells a voice heard to the end from one stopped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 16:16:15 +00:00
HomerandClaude Opus 5.5 d46e7aa548 Widget layout: no double hyphen inside an XML comment (aapt refuses it)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 16:16:15 +00:00
HomerandClaude Opus 5.5 77e1539e8f Assistant entry points: share sheet (new or last chat), widget, shortcuts, headset button
CI / check (push) Canceled after 0s
- Share: a sheet over the sharing app shows what came in, takes an optional request, and sends
  to a new chat or the last assistant chat; files uploaded first; a new chat becomes the last.
- Home-screen widget (RemoteViews, nothing from the account): Ask, Speak, last chat.
- Launcher shortcuts published from code (the debug build's package differs): Ask, Speak, Last.
- ACTION_VOICE_COMMAND / VOICE_SEARCH_HANDS_FREE open the sheet listening; locked: unlock first.
- Quick Settings tile: STATE_INACTIVE (never greyed out), TOGGLEABLE_TILE false.
- fetch-tokens.py also writes values{,-night}/tokens.xml for what Compose cannot draw.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 16:05:11 +00:00
HomerandClaude Opus 5.5 9b700ee42c LLeMbas for Android 1.0.0-beta.6: pinned to LLeMbas 2.0.0-beta.9
Release / release (push) Canceled after 0s
CI / check (push) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v1.0.0-beta.6
2026-11-10 15:09:06 +00:00
HomerandClaude Opus 5.5 ec9049f4ae Schedules on a computer: "Waiting for the computer", and a watched command named as one
CI / check (push) Canceled after 0s
Seen in shot 10-schedule-on-computer: a run waiting for its computer said "Waiting for a
model" (cut off), and a watched command was labelled "Only when this page changes". The chip
now says "Waiting for the computer" when waiting_for is device (8 translations) and ends in an
ellipsis when long; a `command` watch uses the server's "Only when this command's output
changes".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 14:23:38 +00:00
HomerandClaude Opus 5.5 d0404f1968 Schedules on a computer: which one, its folder and mode, and "not linked now"
CI / check (push) Canceled after 0s
`runs_on` (server 57d06ee): the schedule page says Computer: name · folder · mode; each run
row names the computer, and a run waiting with error class device_away adds "not linked now"
(server's words). The fixtures carry no "does not accept scheduled work" state on /api/v2, so
that one is the run's own error text only. ScheduleContractTest reads schedule_on_device.json;
shot 10-schedule-on-computer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 14:15:17 +00:00
HomerandClaude Opus 5.5 b5e78d82bd Generate images in a new chat too: force_tool on POST /chats (server e0c2332)
CI / check (push) Canceled after 0s
The + option shows in a new chat as well (never an agent chat); the first message makes the
chat and asks for the picture. /me is read on opening any non-agent chat for services.images.
A send that fails gives the picture request back with the words.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 14:06:16 +00:00
HomerandClaude Opus 5.5 a5c4fdc128 Contract at server dev e0c2332; the update check asks the instance first (GET /api/v2/apps)
CI / check (push) Canceled after 0s
Re-pinned at e0c2332 (after 2a2b24f /apps, 57d06ee schedules on a computer, e0c2332
force_tool on POST /chats): apps.json, apps_stable.json, schedule_on_device.json; `runs_on`
on schedules (parsed by the rest, not drawn yet); the schedules frame's version hash.

ReleaseCheck: the instance's recommendation first (it knows which release speaks its
/api/v2); a beta only with Include betas; a null android means no offer. A server without the
route, none signed in or none reachable falls back to GitHub's list as before. The About line
says so (8 translations). UpdateCheckTest reads both fixtures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 14:05:38 +00:00
HomerandClaude Opus 5.5 9b1bf688a1 Drawer search: the chats whose messages hold the words, under the title matches
CI / check (push) Canceled after 0s
GET /api/v2/search?in=chats (server f7f2ff2), 400 ms after typing pauses and from two
characters; the title filter stays local and instant. Hits under "In the messages" with the
snippet as plain text and the server's marks drawn (markedSnippet clamps ranges that do not
fit). A failed search leaves the title filter alone. ContractTest reads search.json;
ChatGroupsTest the marks; shot 05-drawer-search.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 14:04:17 +00:00
HomerandClaude Opus 5.5 6ed3498bc0 Scheduled-result notifications: the lock screen says nothing from the account
CI / check (push) Canceled after 0s
The public version is the app's name and the fixed sentence ("A scheduled task has a
result." / "failed", translated) again; the server's `public` names the task, so it is read
but not shown (section rule 5 outranks the beta.9 plan). Unlocked: unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 14:02:48 +00:00
HomerandClaude Opus 5.5 d9654dd23c Generate images from the composer; the picture in its own safe composable
CI / check (push) Canceled after 0s
+ › Generate images (when /me services.images) marks the next message, shown as a chip under
the box; it is sent with force_tool image_generate (the server's only forceable tool) on
POST /chats/{id}/messages. The tool event's `image {id, width, height}` is drawn by
GeneratedPicture: fetched only by attachment id from GET /api/v2/attachments/{id} with the
token (no URL is ever followed), at most 24 MB, decoded to a 1600 px edge, its box sized by the
server's width/height before it loads; a tap shows it whole. Markwon stays image-free.

Chosen over /v1/images/generations (models scope, which sign-in already asks): the in-chat tool
keeps the picture in the chat as the web does. A NEW chat cannot force a tool yet (POST /chats
takes no force_tool), so the option shows in an existing chat only -- server follow-up.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 13:54:34 +00:00
HomerandClaude Opus 5.5 87d391c352 Memory screen: list, remember, change and forget over /api/v2/memories
CI / check (push) Canceled after 0s
Drawer › Memory (server f7f2ff2): GET/POST/PATCH/DELETE /memories. Newest first, plain text
(a model may have written it; marked with the Model icon), the data group shown when there is
more than one and offered when remembering a new one. A refusal (the limit, an empty text)
is the server's sentence. Every word from the server's catalogue. ContractTest reads
memories.json and memory.json; shots 28-memory (normal, small phone at 1.5x, empty).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 13:51:37 +00:00
HomerandClaude Opus 5.5 737105add2 Pinned chats and folders in the drawer: pin, move, new, rename, fold, delete
CI / check (push) Canceled after 0s
The web sidebar's order: Pinned chats (wherever filed), the folders as a tree (folderTree:
position order, a folder whose parent is missing goes to the top), then today / earlier /
agent chats unfiled. PATCH /chats/{id} `pinned` and `folder_id` (server 96240be, f7f2ff2);
POST/PATCH/DELETE /folders. A tap folds a folder through PATCH `collapsed`, so the web folds
the same. Long press: Pin chat / Move to folder / Archive; on a folder Rename / Delete (its
chats stay). Strings from the server's catalogue. ChatGroupsTest, ContractTest (folders.json,
folder.json); the drawer shot now has a pinned chat, nested and collapsed folders.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 13:49:03 +00:00
HomerandClaude Opus 5.5 cd88c3e712 Scheduled-result notifications: first lines, a lock-screen version, Open / Run again
CI / check (push) Canceled after 0s
From the push's `notification` (server fd0a386): the task's name and the result's first lines
in BigTextStyle for an unlocked phone, setPublicVersion with the task's name and Finished /
Failed for the lock screen, and the actions with the server's labels in the owner's language.
Run again calls POST /schedules/{id}/run and needs the phone unlocked
(setAuthenticationRequired); Pause stays as it was. An older server's payload (no
`notification`) keeps the app's fixed sentences. ScheduleContractTest reads
push_schedule.json and push_schedule_failed.json.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 13:45:12 +00:00
HomerandClaude Opus 5.5 ad5c6ca12b Contract at server dev 3e6f6da: notifications, monitor mode, pinning, parity routes, queued
CI / check (push) Canceled after 0s
Re-pinned contract/ and the strings at the server's dev 3e6f6da (after f7f2ff2 parity routes,
96240be pinning, 00c209a monitor mode, fd0a386 scheduled-result notifications, a8a3733
progress gaps).

- Message.progress: a queued prompt draws the server's queued line ("2 ahead · 12s").
  loading_model and reading_prompt's tokens were already drawn (Progress.kt).
- Schedule.watch / ScheduleRun.watch: a watching schedule names its address on its page;
  `unchanged` runs are drawn quiet, as Unchanged.
- ScheduleRun.notification parsed (title, body, public, actions, labels) for the push work.
- The schedules frame's version hash moved (ScheduleContractTest).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 13:41:47 +00:00
HomerandClaude Opus 5.5 bd6c8df192 Read aloud on a chat's replies, through the instance's text-to-speech
CI / check (push) Canceled after 0s
ReadAloud (one at a time, stopped when the chat is left) is provided to the
transcript only when /api/v2/me says the instance has text-to-speech; the
reply's foot row gains Read aloud / Stop reading beside Copy. Errors go to the
chat's snackbar through explain().

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 12:15:56 +00:00
HomerandClaude Opus 5.5 cb9ad78ee9 Archived chats: the list, and Restore chat
CI / check (push) Canceled after 0s
GET /api/v2/chats?archived=true a page at a time, from a drawer entry under
Scheduled; a tap opens the chat, Restore chat PATCHes archived=false and
refreshes the drawer. Shots 27-archived (+ small, large type) and -none.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 12:14:25 +00:00
HomerandClaude Opus 5.5 8e47a825c5 An approval's Allow once / Deny from its notification need the phone unlocked
CI / check (push) Canceled after 0s
NotificationCompat.Action.setAuthenticationRequired: Android 12+ asks for the
unlock before the answer is sent. Run on every approval push, so the approvals
a scheduled run on a linked computer sends are covered by the same path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 12:12:36 +00:00
HomerandClaude Opus 5.5 0c77109a73 Update check: the public GitHub releases, daily on start and from Settings › About
CI / check (push) Canceled after 0s
ReleaseCheck reads api.github.com's list of this repository's releases over
plain HTTPS, compares with the installed version (a beta sorts below its
release; -debug is left off), and offers the newest one the person may have:
betas only to a beta install or with Include betas on. On start it runs at
most once a day while Look for new versions is on (default: on in a beta, off
in a release) and announces a version once, in a notification on its own low
channel that opens the release page. Check for an update works in both
builds; the full build's own installer stays for a found release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 12:11:42 +00:00
HomerandClaude Opus 5.5 fac9a3811a The chat's microphone follows Settings › Voice input, as the assistant does
CI / check (push) Canceled after 0s
usePhoneRecognizer() is the one rule for both: the phone's recogniser when it
was chosen and the phone has one (or the instance has no speech-to-text),
otherwise the instance's. With the phone's, the words go into the box as they
are said. The setting's explanation now names both users.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 12:08:26 +00:00
HomerandClaude Opus 5.5 6a07cf3cd4 LLeMbas for Android 1.0.0-beta.5: pinned to LLeMbas 2.0.0-beta.8
CI / check (push) Canceled after 0s
Release / release (push) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v1.0.0-beta.5
2026-11-10 11:47:19 +00:00
HomerandClaude Opus 5.5 14da5ba2b3 ProgressTest: read a string with attributes (progress_line is translatable="false")
CI / check (push) Canceled after 0s
CI run 41 failed: the test's pattern missed the line template once
gen-strings marked it untranslatable, so every line lost its clock.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 10:42:42 +00:00
HomerandClaude Opus 5.5 a4116b11a8 Contract at server dev 5d7b79c: a new agent chat's Subagents setting
CI / check (push) Canceled after 0s
The server answers /models?kind=agent&device= (e888bc2, models_agent.json)
with `agent_subagents {offered, device_runs}`. A new agent chat reads it
for the device chosen (again when another is chosen) and shows the
Subagents setting exactly when it is offered; when the device's CLI does
not run subagents (`device_runs` false) the server's sentence says so
beside it. An older server says nothing and the setting stays hidden.

Strings at the same ref: every translatable string is translated in all
eight languages -- "Open slots" from the server's catalogue, the row's
"% context" from strings_own.json (the server words it as a sentence),
and `progress_line` (text · elapsed, symbols only) is no longer counted
as translatable.

ContractTest (models_agent.json), ChatStateTest, shot 07-tune-new-agent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 10:37:43 +00:00
HomerandClaude Opus 5.5 73e753ab57 Contract at server dev 4a98af3: /api/v2/me pinned (me.json)
CI / check (push) Canceled after 0s
The server added the `me.json` fixture (c51722b), built by the route's own
serialiser. The app's language and the assistant's speech services now
read through `Me`'s named facts -- `accountLanguage` (null when unsaid, so
a kept answer stands), `speechToText` (null when unsaid: the assistant
then still tries the instance), `hasSpeechToText`, `hasTextToSpeech` --
and ContractTest holds them to the fixture.

Strings regenerated at the same ref: the subagent states and the tree's
context line are in the server's catalogues now (sk 355/358).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 10:16:30 +00:00
HomerandClaude Opus 5.5 e8d8236530 Contract at server dev 8dd3201: a subagent's conversation by its id
CI / check (push) Canceled after 0s
The server's /api/v2 has the tree routes (8dd3201): GET /chats/{c}/tree
{tree, room, live} and GET /chats/{c}/subagents/{id}/transcript {id,
state, turns}. The activity sheet reads the tree when it opens (an older
server's 404 is ignored), so the list is there without a reply streaming;
a subagent's row opens its conversation from the transcript route, by id,
followed every 3 s while it has not ended -- the provisional member-by-name
route is gone. The conversation dialog is one for both kinds now
(ConversationDialog); a 409 (an agent chat's device away) is said in the
server's words. Findings and stopping are not on Android (the reduced
display, subagents.md §12).

ContractTest reads tree.json and subagent_transcript.json.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 10:08:37 +00:00
HomerandClaude Opus 5.5 415dc653c3 Contract at server dev 2fd3c03: the tree frame, and a subagent asking
CI / check (push) Canceled after 0s
The server's /api/v2 now carries the 3.4.0 subagents (2fd3c03):
- the stream's `tree` frame {tree} (event_tree.json): LiveReply keeps it,
  ChatState keeps the last one after the reply ends (cleared when another
  chat opens), and the activity sheet draws it as the reduced list. The
  provisional `Activity.tree` is gone -- the tree never came that way.
- an ask item's `subagent {id, name, position}` (event_ask.json card4): the
  approval names it with the page's sentence ("Subagent parser (s1),
  reviews the parser, asks:"), translated from the server's catalogue.
- an agent chat's `subagents.offered` is true where the instance allows
  them (chat_agent.json): the Subagents setting shows for an existing agent
  chat by the chat's own word.

ContractTest: the tree frame, the subagent's card; the agent chat offered.
Screenshot 24-approval-subagent; 26-subagents from the tree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 10:01:22 +00:00
HomerandClaude Opus 5.5 3e1c320b00 ScheduleContractTest: the schedules frame's version at 45c1e0d
CI / check (push) Canceled after 0s
The version is a hash of the list, which gained each run's progress. CI
run 36 failed here.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 09:45:31 +00:00