Commit Graph
58 Commits
Author SHA1 Message Date
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
HomerandClaude Opus 5.5 44a102a96f Contract at server dev 45c1e0d: the status frame's progress, translated
CI / check (push) Canceled after 0s
The server sends `progress` beside `status` (45c1e0d): event_status.json
carries a running_tool, and the new event_status_person/_stopped/_idle
fixtures are drawn in ProgressTest -- stopped by the person with an empty
status text is "Stopped: by you". A schedule run has `progress` too: the
run row says what a waiting or running run is doing.

Strings regenerated at the same ref: the server's catalogues have the
progress texts in all eight languages, keyed by the spec's English, and
gen-strings numbers their {{fields}} (sk 349/357).

With the tree present, the Tasks section no longer repeats the team's
size line the Subagents list already says. A test that an agent chat
shows the Subagents setting exactly when the server offers it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 09:40:40 +00:00
HomerandClaude Opus 5.5 dff3aa67c0 Subagents (spec 3.4.0): the reduced list, coded to subagents.md §12
CI / check (push) Canceled after 0s
Android's share of the tree (§12): a row per agent -- name (id) and
position, the state word (loop.json team.read.states), the progress text
without the clock, context % (floor(used x 100 / window), as team_read
writes it) -- the main agent first, sub-managers' subagents indented under
them, the ended ones after, dimmed, and the open slots. A subagent's row
opens its conversation read-only through the agent route as a member, by
name; the main agent's is the chat.

The server has the tree (services/team.py tree_info, 98f053a) but no
/api/v2 shape for it yet: the app reads it as `tree` in the activity
(`Activity.tree`, null until the server sends it, and then the Tasks
section leaves the team members to the list). To be re-pinned and wired
to the real field when the server's fixture lands.

TreeTest (the §12 example), screenshot 26-subagents.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 09:32:11 +00:00
HomerandClaude Opus 5.5 8972bcfcce Contract at server dev 98f053a: the spec's progress cases pinned from the server
CI / check (push) Canceled after 0s
The server vendored harness spec 3.4.0 (98f053a, no /api/v2 change), so
ProgressTest reads conformance/progress.json from the pin
(contract/harness_progress.json) and the copy taken from the CLI is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 09:29:43 +00:00
HomerandClaude Opus 5.5 3dbfcd5aca Progress line: the clock stays whole when the text is long
CI / check (push) Canceled after 0s
Run 32's 360 dp shot at 1.5x type ellipsised "Waiting for Qwen 27B: it
serves one r…" and lost the elapsed time with it. ProgressStatus draws
the text (two lines, then an ellipsis) and " · 1m 05s" after it, never
cut; the status text as before when there is no progress.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 09:13:02 +00:00
HomerandClaude Opus 5.5 23e3c5431a Progress (harness spec 3.4.0): one line for what a reply is doing
CI / check (push) Canceled after 0s
The `status` frame carries `progress` {phase, since, ...} beside its
text from spec 3.4.0 (progress.md). The app draws it as
`{{text}} · {{elapsed}}` -- the shared texts as string resources, the
elapsed time ticking each second, `retrying`'s `in` counted down, the
text alone for stopped and failed -- under the reply and in the
assistant's sheet, and falls back to the free `status` text for a server
that does not send it, a phase it does not know, or a required field
missing. Under inspection the clock stands still (65 s), so screenshots
are stable and nothing animates forever.

Coded to the spec while the server's frame is being added. ProgressTest
runs the spec's own conformance cases (conformance/progress.json, copied
from LLeMbas CLI 3.4.0 until the server vendors it) against the English
in res/values; fetch-contract.py pins the server's copy as
contract/harness_progress.json once it is there. gen-strings.py takes
the server's translations of the `{{field}}` texts (its catalogues key
them by the spec's English), numbering the fields and doubling a lone %.
Screenshots: 04-writing with a rate, 04-waiting-for-model at 360 dp and
1.5x type.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 09:05:41 +00:00
HomerandClaude Opus 5.5 afbe90442e SubagentsTest: the agent chat's facts now say the cap (contract at 4b28b36)
CI / check (push) Canceled after 0s
CI run 30 failed here: chat_agent.json carries cap 32 since the server
worked the agent chat's facts out (94e5243).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 08:58:31 +00:00
HomerandClaude Opus 5.5 490568a980 Contract at server dev 4b28b36: a device approval corrects its detail
CI / check (push) Canceled after 0s
The server's contract moved (2198eda, 94e5243): a device's approval has
the heading "Run a command" in `title` and the command in `detail`, which
is what an `editable` item corrects; it offers no free text and names the
asking subagent in `job`. The agent chat carries its real subagent facts,
and the chats list (`chats_listed.json`, new) says `subagents: null` --
read the chat.

The approval card draws the asker, the heading, "It says:" for the
model's purpose, the command in the box and the server's reason, with the
page's own sentences (from the server's catalogue). `approvalTexts` sends
a box only when its text differs from `detail`; an untouched or cleared
box sends nothing. ContractTest covers both fixtures; a screenshot of the
contract's approval and question cards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 08:53:55 +00:00
HomerandClaude Opus 5.5 6a7d129d09 Sheet's busy bar still in previews; new-chat choice and greeting scroll
CI / check (push) Canceled after 0s
- The assistant sheet's indeterminate progress bar is an endless animation,
  which kept the screenshot test for "writing" from ever settling (CI run 28
  sat in the unit tests). In inspection mode it is a still bar, as Writing()
  already does for its dots.
- Run 27's 360x640 at 1.5x type showed the Chat / Agent chat cards pushing the
  greeting off the page. The choice and the greeting now share one scroll; on a
  tall phone the greeting still sits in the middle of what is left.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 08:36:03 +00:00
HomerandClaude Opus 5.5 21e5de2d73 Assistant: a bottom sheet over the app, microphone first
CI / check (push) Canceled after 0s
Long-press power opened a full-screen window. The assistant is now a sheet
over the current app (see-through window, own dim): half height, drag the
handle up to full, down / Back / a tap outside to close (settle() decides,
unit-tested). Both ways in -- the voice-interaction session and AssistActivity
-- draw the same AssistSheetFrame + AssistSheetContent, the latter from state
alone for the screenshot tests.

- Microphone first: it opens listening (Settings switch), words shown as they
  come. LLeMbas voice input re-transcribes the recording so far every 1.2 s
  and a pause after speech sends it (RMS level + unchanged words; nothing said
  is discarded, never transcribed); the phone's recogniser gives partials
  itself (PhoneRecognizer: on-device, else another app's -- never the default,
  which is LLeMbas's own while it is the assistant; no Google library).
- Model and connection chip: picture, name, instance, online dot; a tap picks
  another model, kept in Prefs.assistantModel.
- Use screen: the AssistStructure text and/or screenshot, sent only with the
  next question after a tap; quick actions Summarise / Translate / Explain.
- Continue the last assistant chat; follow-ups stay in the same chat until
  New chat. Voice reply through the server's TTS (toggle; Read aloud).
- Open in app continues the same chat. A card waiting for an answer says to
  open it in the app.
- Help line: no wake word for a third-party assistant on stock Android.
- Settings: Voice input (LLeMbas = the instance's speech-to-text via the
  server; Phone = the phone's recogniser) with what each does with the
  recording, and "Start listening when the assistant opens".
- The session makes a fresh controller as it hides, so the next invocation's
  screen lands in the controller that shows it.

Screenshots 18-23 (the sheet over a chat), 08-settings at full length.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 08:19:21 +00:00
HomerandClaude Opus 5.5 6ae5736ffd New chat: Chat or Agent chat, and how to link a computer
CI / check (push) Canceled after 0s
Agent chats were only reachable from the drawer, and with no linked computer a
new agent chat said one line. A new chat's page now starts with two cards on a
shared track, Chat and Agent chat, one line each, switching between the "new"
and "new-agent" routes. With no computer linked, Agent chat stays and shows the
web page's three steps (install the CLI, lembas login <this instance>, allow
remote work and start the service), each command in a code block with Copy,
and Check again (ChatActions.recheckDevices).

Screenshots: 01-new-chat (with the choice, small phone at 1.5x type too),
02-new-agent-chat-unlinked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 08:08:40 +00:00
HomerandClaude Opus 5.5 37cf778c44 Language: the account's by default, Settings › Language, per-app locale
CI / check (push) Canceled after 0s
The app followed the phone's locale, so a Slovak phone showed Slovak while the
instance and the account were English. Now the default is the account's
language from /api/v2/me (read once per instance in use, kept in Prefs), and
Settings › Language offers Same as my account / Phone language / each language
the app has, named in itself.

Android 13+: LocaleManager.setApplicationLocales, and android:localeConfig
(res/xml/locales_config.xml, written by gen-strings.py from LANGS) so the
system's per-app language lists the same set; a choice made there is adopted
as the person's. Older phones: the chosen tag in a small synchronous file,
applied in attachBaseContext of every activity and to the assistant's window.
No AppCompat: the framework API covers it.

LanguageTest holds the offered list, the values-* folders and the locale
config equal. Screenshot 17-language.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 08:06:47 +00:00
HomerandClaude Opus 5.5 6828dbd844 LLeMbas for Android 1.0.0-beta.4: pinned to LLeMbas 2.0.0-beta.7
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.4
2026-11-09 18:40:28 +00:00
HomerandClaude Opus 5.5 d3d78d2540 Subagents: one range slider, Min and Max, counting the chat's own agent
CI / check (push) Canceled after 0s
- The two Fewest/Most sliders become one Material 3 RangeSlider from 1 to the server's cap,
  whole agents with no tick per value, the values above it ("Min 1 · Max 4"), thumbs described
  Min and Max for TalkBack, theme colours only.
- The hint says what the numbers count: 1 is the agent alone, no subagents; Max 4 is the agent
  and up to 3 subagents. The options button says "Subagents: Min 1 · Max 4".
- Strings regenerated at server 90a47ba, all eight languages (pl also picks up the Podagenci
  wording strings_own.json already had).
- Shots: 07-tune at 411x2000, 07-tune-one-at-a-time at 1.5x type, 07-tune-alone (Min 1 · Max 1)
  at 360x2000 and 1.5x type.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 18:05:35 +00:00
HomerandClaude Opus 5.5 90f8980053 Tests: the fixtures' subagent facts replace the guess they asserted
CI / check (push) Canceled after 0s
gpt-oss serves one request at a time and is now offered subagents for a named model;
auto-compact counted by the app is tested without the server's own count.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 17:17:52 +00:00
HomerandClaude Opus 5.5 9257238735 Contract and tokens pinned to server dev 90a47ba: the subagent facts
CI / check (push) Canceled after 0s
- contract/: subagents on models, chats and the activity; subagents_cap; the context's
  auto_compact, until_compact and compactable. SubagentsTest reads them.
- Own translations say the server's word: Podagent (cs, sk, pl), Sottoagente (it);
  compaction as the server's Compact says it (de, pl).
- CHANGELOG: for server 2.0.0-beta.7.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 17:13:23 +00:00
HomerandClaude Opus 5.5 0117c3e238 Subagents offered, named-only and capped by the server's word
CI / check (push) Canceled after 0s
- ModelInfo.subagents, ModelList.subagents_cap, Chat.subagents {offered, named_only, cap},
  Activity.subagents_offered, ContextUse.auto_compact/until_compact/compactable: all
  optional, so an older server still parses and the app falls back to its old guess.
- The Subagents setting: shown by offered, the one-request note when named_only, sliders
  from 1 to the cap (ticks up to 8), none at a cap of 1.
- Compact disabled when the server says there is nothing to compact yet.
- The context's number columns widen with the type (they touched at 1.5x).
- SubagentsTest; shots 07-tune-one-at-a-time and a tall 411x2000 for the activity sheet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 17:04:44 +00:00
HomerandClaude Opus 5.5 0be487bf96 The activity sheet as the reference lays it out; Subagents by name
CI / check (push) Canceled after 0s
- ActivityContent(activity, …, actions): the sheet drawn from its facts, for the shots.
  Context with "N until auto-compact" and Compact; Background tasks as cards (running
  with elapsed and a stop square, nested "N under it", Finished folded); Room; Plan.
- A bottom sheet from a top-bar button on every chat, a new one included.
- The strip above the composer: running · queued · waiting · finished, while anything runs.
- Compact through POST /api/v2/chats/{id}/compact (provisional until the server's route).
- "Subagents" wherever a person reads it; 13 new strings in 8 languages.
- Shots 14-16 (activity, unfolded, new chat); ActivityTest for auto-compact and titles.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 16:53:46 +00:00
HomerandClaude Opus 5.5 f8a4888984 LLeMbas for Android 1.0.0-beta.3: pinned to LLeMbas 2.0.0-beta.6
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.3
2026-11-09 14:12:09 +00:00
HomerandClaude Opus 5.5 0982af8cfb Scheduled on the server's real routes: runs in full, the models, the push
CI / check (push) Canceled after 0s
api/Schedules.kt and ApiClient now follow /api/v2 exactly (src/lembas/api/v2/schedules.py):
the schedule's enabled/description/request/rule, a run's model object, error class and
text, waiting and retry, preview; compile returns ok/reason and the rule in words; a run
in full (GET runs/{run}, Markdown through Markwon); the scheduling models (GET/PUT) with
a tick per model; /events keeps the list current while it is on screen.

Notifications are built from the payload notify.py sends (ids, status, private, actions,
ask): VISIBILITY_PRIVATE with a public version, Open always, Pause when the server offers
it, a tap opens the run (switching to the instance it came from).

ScheduleContractTest reads all eight fixtures and the push payload; shots for the run and
the models screen, fakes shaped like the fixtures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 13:34:18 +00:00
HomerandClaude Opus 5.5 b52b6daaf0 Contract and tokens pinned to server dev 3222c7c: the scheduling fixtures
The server's /api/v2 scheduling routes landed on dev (ec847ed, 3222c7c): schedules,
their runs, compile and preview, the scheduling models, and the person's /events.
fetch-contract adds their eight fixtures; tokens and strings are unchanged at that commit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 13:34:18 +00:00
HomerandClaude Opus 5.5 da61967626 Design pass from the first screenshots
CI / check (push) Canceled after 0s
Material's own purple showed through (selected chips, the tonal button, the
slider's track): every container slot of the scheme is a token now. The team
sliders are continuous (31 tick marks were noise); the Options button names
the team only once its size was chosen; a chat opens at its end; raised
surfaces say their ink; the fake schedules run on weekdays at the time their
rule says.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 13:17:34 +00:00
HomerandClaude Opus 5.5 edff7452cb build.gradle.kts: Duration by import (java. inside android {} is the java extension)
CI / check (push) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 13:09:43 +00:00
HomerandClaude Opus 5.5 f5ee8d75b1 Screenshots as previews: no endless animation, no fetches; tests named as they start
CI / check (push) Canceled after 0s
The first run of the new shots did not finish within ten minutes. In
inspection mode the writing dots stand still and pictures are not fetched;
Gradle now names each test as it starts and gives up after 20 minutes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 13:07:17 +00:00
HomerandClaude Opus 5.5 9f4ae89030 CHANGELOG: the new look, Scheduled, screenshots ([Unreleased])
CI / check (push) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 12:56:07 +00:00
HomerandClaude Opus 5.5 0e8897b7da A chat app's shape: new chat first, chats in a drawer, Scheduled
CI / check (push) Canceled after 0s
The app opens on a new chat (greeting, suggestions, composer) instead of a
list. The model is the top bar's title (picture, name, caret) and opens a
bottom-sheet picker with pictures, what each model can do and its levels.
Chats live in a navigation drawer: search, New chat, New agent chat, Files,
Scheduled, then Today / Earlier / Agent chats, Settings with the account at
the foot.

The transcript: the person's words in a bubble on the right, the model's
full width without one; thinking and each round of tools fold into chips that
open; fenced code becomes its own block with the language and Copy; attached
pictures are thumbnails; a breathing dot while a reply is written; Copy and
Regenerate under a reply, and a long-press menu (Copy, Select text, Edit,
Regenerate). The composer is one rounded field: attach (+), an Options
button that opens the tune sheet (Thinking switch or effort levels, team
size, Plan first or the agent's mode, and a new agent chat's device and
folder: only what the model offers), the microphone, and Send that becomes
Stop. Settings are Material 3 grouped lists.

Scheduled (phone first): the list (next run, last status, pause switch), a
schedule's page (rule, Run now, Pause, next runs, history with model and
Open), and create/edit in words with a preview before saving. Notification
channels Scheduled results and Scheduled failures, private on the lock
screen with a public version, actions Open and Pause. The /api/v2 routes are
provisional (api/Schedules.kt) until the server's contract lands.

Screens take their state as data (ChatContent, DrawerContent, SettingsContent,
Scheduled*Content), so the screenshot tests draw every one with fake data.
60 strings, in all eight languages. Unit tests for the fence splitter, the
drawer's grouping, the chat state the controls read, and schedule times.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 12:55:09 +00:00
HomerandClaude Opus 5.5 6589a14073 Screenshots on the JVM: Robolectric + Roborazzi, uploaded by CI
CI / check (push) Canceled after 0s
Test-only dependencies (nothing in the APK). shoot() renders a composable in the
Shire and Moria themes at a phone's size and writes app/build/screenshots/*.png;
CI uploads them as llembas-android-screenshots-<run>. The first shot is the
transcript's existing blocks, to prove the loop before the redesign.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 12:36:36 +00:00
HomerandClaude Opus 5.5 f3b78be5ab LLeMbas for Android 1.0.0-beta.2: pinned to LLeMbas 2.0.0-beta.5
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.2
2026-11-09 11:02:18 +00:00
HomerandClaude Opus 5.5 665ac44e5c Chats: the activity panel, the model's level control, team size, model pictures
CI / check (push) Canceled after 0s
The activity panel full screen (Context, Outputs, Background tasks with the
team's room, Plan), kept current from the events route, with a summary line
above the composer that opens it; an agent's conversation read-only and a
stop with confirmation. The effort control follows the model (none, a
Thinking switch, the picker); Agents fewest/most where a team is offered;
model pictures in the picker and the chat's title. gen-strings takes the
server's translation of a sentence with named placeholders (SERVER_ENGLISH);
all eight languages complete.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 10:47:17 +00:00
HomerandClaude Opus 5.5 960e9e3c63 API: model levels and pictures, team size, the activity panel's routes
ModelInfo reads levels, the start level, the control, thinking_switch,
parallel and the picture (fetched with the token, only from the instance's
own /api/v2/models/images/). Chat reads agents {min, max} and
device_session_id. The activity, agent, team and stop routes, the events
route followed by StreamClient.watch, and ActivityLogic for the panel's
numbers. ActivityTest parses the new fixtures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 10:47:17 +00:00
HomerandClaude Opus 5.5 9c13d7766d Pin the server contract, tokens and strings to server dev 9a873e8
CI / check (push) Canceled after 0s
The beta.5 /api/v2: model levels, control, thinking switch, parallel and
picture; a chat's agents setting and device_session_id; activity, agent and
team fixtures. Strings unchanged at this ref.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 10:39:15 +00:00
HomerandClaude Opus 5.5 41dd3c893c Chats as a daily driver: agent chats, photos, copy, rename, offline and recovery
CI / check (push) Canceled after 0s
- New agent chat (Agents tab FAB, route new-agent): GET /devices for the devices linked now; a
  device chip, an optional folder (empty = the device's first root, the server's rule) and the
  mode (manual/edit/auto/plan) go into POST /chats as kind/device/directory/mode. No device
  linked: a sentence saying how. An open agent chat's mode is a chip too.
- Attach: Take a photo (TakePicture into a FileProvider cache file, deleted once uploaded; no
  CAMERA permission), Choose photos (PickMultipleVisualMedia), Choose files.
- Copy under every reply (its text steps) and user message; Rename chat in the menu.
- The new chat's effort is held until the first message and sent with it (EffortChip called
  PATCH, which needs a chat, so the choice was dropped).
- Follow the reply while it streams, decided when the person's own scroll comes to rest; the
  first scroll goes to the real last item (the "older" row shifted the index by one).
- ui/Errors.kt explain(): the server's sentence for a refusal, one "cannot be reached" sentence
  for UnknownHost/Connect/SocketTimeout/NoRouteToHost, used everywhere an error was shown raw.
- A failed send hands its text and attachments back to the composer. A replaced follow's
  CancellationException is no longer shown as an error. A refused stream re-reads the chat.
- The chat list reloads on resume (quietly if rows are shown) and offers Try again.
- Strings: 15 new; Rename chat, Copy message, Copied., Save, Try again, Device and Auto from the
  server's catalogue, the rest translated in strings_own.json. "Plan" was the price plan in
  de/fr/hu (Tarif/Forfait/Csomag) and "Manual" untranslated: own entries fix both.
- ClientTest: an agent chat's body, a plain chat's, and what counts as unreachable.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 08:09:53 +00:00
HomerandClaude Opus 5.5 f4891ba402 CI: ktlint from Maven Central, hash-pinned
GitHub's release assets answered 504 twice in a row (run 42583067622, both attempts), and the
lint step failed before the build started. Maven Central's ktlint-cli-1.8.0-all.jar is the same
jar the signed GitHub binary wraps after its 776-byte shell header (sha256 369ad2b7... for
both, checked here), so CI now fetches that, with retries, and runs it with the JDK it already
set up.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 08:09:24 +00:00
HomerandClaude Opus 5.5 a342f23ef9 CI: an installable test APK on every push; a beta tag is a pre-release
CI / check (push) Canceled after 0s
Debug builds are signed with a public test key committed as app/test-debug.keystore (standard
debug passwords, .debug application id only). A runner's own debug key is new each run, so
every test build used to need the one before it uninstalled -- and a sign-in with it. The
version name carries GITHUB_RUN_NUMBER (1.0.0-beta.1-debug.42), and the updater compares only
what is before "-debug".

ci.yml uploads llembas-android-debug-<run> with the full and fdroid debug APKs named by run and
commit, and their SHA256SUMS. release.yml passes --prerelease for a tag with a suffix: beta.1's
GitHub Release had to be marked by hand.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 08:01:54 +00:00
HomerandClaude Opus 5.5 2fd692dd7b Pin the server contract, tokens and strings to LLeMbas v2.0.0-beta.4
The server's dev is the beta.4 tag (7969067). Its /api/v2 fixtures are byte-for-byte those of
beta.1 (only the lock's ref and commit move); tokens.css changes nothing but the header; the
catalogues moved, and the 107 strings regenerate unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 08:01:06 +00:00
HomerandClaude Opus 5.5 3afe01ce52 LLeMbas for Android 1.0.0-beta.1: pinned to LLeMbas 2.0.0-beta.1
CI / check (push) Canceled after 0s
Release / release (push) Canceled after 0s
versionCode is beta-aware: a beta sorts below its release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v1.0.0-beta.1
2026-11-03 16:13:01 +00:00