Commit Graph
6 Commits
Author SHA1 Message Date
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 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 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 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 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 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