Commit Graph
32 Commits
Author SHA1 Message Date
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
HomerandClaude Opus 5.5 9abff4f170 Files: the person's tree, read-only, opened in the file viewer
CI / check (push) Canceled after 0s
A Files screen (the folder button beside Settings) lists GET /api/v2/files: folders and mounts
open as the next listing, back goes up one directory before it leaves, and a refusal keeps the
directory already shown with the server's sentence above it. A file opens in the existing viewer
through GET /api/v2/files/content, under the viewer's rules: Markdown through Markwon, code and
text as numbered lines, HTML as its source. A withheld file (not text, over 1 MB) says why in
the server's words and offers the web UI's /files/view.

The viewer is now one private Viewer with two doors: FileViewer(chatId, show) for a show card,
TreeFileViewer(path) for the tree. A 415 from the show route is the server's "not a text file".

Four strings, all already in the server's catalogues, so translated in all eight languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 14:48:10 +00:00
HomerandClaude Opus 5.5 0c5aa4d45f Pin the server contract, tokens and strings to server dev a25db24; app API 2
The contract moves from f5b3dbb to the server's dev at a25db24971a0: version.json says
{"app_api": 2}, and the server now writes its own show cards (tool_show.json: one from the tree,
one from a device) and the files routes (files_listing.json, file_content.json,
file_content_withheld.json). Tokens from the same commit change only in the header; the strings
regenerate unchanged.

- APP_API is 2, and it is now the floor as well as the ceiling: a protocol-3 server that still
  says app API 1 is a 2.0 build from before the show route and the files, and is refused as too
  old, as 1.x is.
- The files routes are modelled (FileEntry, FileListing, FileContent, Withheld) and ApiClient
  reads them: files(path), fileContent(path), and webFile(path) for the web UI's /files/view.
- shownText is documented against the server's real route, GET /api/v2/chats/{chat}/show with
  ?node=&version= or ?shown=, plain text up to 1 MB, 413 / 415 / 404; ClientTest pins the paths.
- The hand-written show cards leave ShowAndServerTest; ContractTest reads the server's.

Nothing in the app reads /api/v2/devices for its own token (devices() has no caller), so apps no
longer being listed there changes nothing here.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 14:48:03 +00:00
HomerandClaude Opus 5.5 ac0c1c58e0 network_security_config.xml: no '--' inside an XML comment
CI / check (push) Canceled after 0s
Every XML file under app/src now parses with a strict parser.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 14:09:16 +00:00
HomerandClaude Opus 5.5 c6438f60db colors.xml: no '--' inside an XML comment (the first build failed on it)
CI / check (push) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 14:07:12 +00:00
HomerandClaude Opus 5.5 fd1af60dbb Android 1.0 for server 2.0: the file viewer, and older servers refused
CI / check (push) Canceled after 0s
The show card. A tool call may now carry `show` (event["show"], harness spec 3.0.0): a file's
name, path, kind, line and which copy -- node and version in the chat's tree, or the copy a linked
device sent (shown_id). The transcript draws it as a card with Open; the viewer is a full-screen,
read-only dialog that fetches the text and opens at the named line. Markdown goes through the same
Markwon setup as a reply (rule 4); code, text and Markdown over 200 000 characters are numbered
lines in a lazy list, the number column measured from the file's longest number. HTML is never
rendered: no WebView exists in the app, so it is shown as source, and "Open in the browser" opens
the web UI's viewer, which renders it in its sealed frame. Copy takes the whole file.

The text comes from GET /api/v2/chats/{chat}/show?node=&version= (or ?shown=), plain text, at most
1 MB. That route is the app's half of a contract the server does not have yet: /api/v2 neither
publishes `show` on a tool call nor serves the file to a token. Until it does, the card does not
appear, and a viewer that meets a missing route says so and offers the browser.

Older servers are refused: the discovery document's device-link protocol must be 3 (LLeMbas 2.0),
at sign-in and, for an instance signed in to before, when the chat list opens. The protocol and
not the version string, because the server's dev still says 1.7.x before its first beta.

Also: gen-strings.py takes a server ref like the other two generators, so the strings come from
the same commit as the contract and the tokens rather than from a shared working tree; the
Reports notification channel goes (2.0 has no reports) and is deleted on first start.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 04:31:07 +00:00
HomerandClaude Opus 5.5 052d0a3894 Pin the server contract and tokens to LLeMbas 2.0 (server dev f5b3dbb)
The contract moves from v1.7.0 to the server's dev at f5b3dbb965823ade: event_canvas.json is
gone (2.0 has no canvas) and the chat detail no longer carries knowledge_bases. The app modelled
neither, so no model changes; ContractTest now says the canvas fixture is absent and that a
canvas frame from an older stream is ignored.

Tokens from the same commit: only --selection is new among the colours, and it is now in the
palette and used for selected text, as on the web UI. CI also runs on pushes to dev, where 2.0
is built.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 04:30:38 +00:00
HomerandClaude Opus 5.5 560427ef48 Pin the server contract and tokens to v1.7.0 (released)
CI / check (push) Canceled after 0s
The fixtures and tokens are unchanged since 2124ba9 / v1.6.0; only the ref
they are pinned to moves, to a tag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 17:04:18 +00:00
HomerandClaude Opus 5.5 4f09bc41bb LLeMbas for Android 0.1.0 (alpha, unreleased): the first commit
CI / check (push) Canceled after 0s
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>
2026-10-21 13:44:30 +00:00