copyFile (the batch route's copy is the one in use), stopMember (stopAgent
stops a member) and previewRule had no caller in the app or its tests.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- A new sign-in stores the normalised typed address; the instance's own base_url is not stored
and is looked at only to recognise an instance already on the phone (same account, stored
base equal to the typed address or to what the instance says): that entry is refreshed under
its id, no twin is added. Existing entries are not migrated: ids are opaque keys.
- The device-code endpoints of the discovery document are used only on the typed address's
origin; otherwise the sign-in says so.
- min_clients.android in the discovery document, above this app's version (by numbers,
beta-aware, a build's suffix left off), is "update the app" with both versions, at sign-in
and at the drawer's check. Any other shape of the field is read as nothing said.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- One address rule (api/Address.kt): scheme in any case, host lower-cased, path, query and
fragment dropped; an http:// address is answered at the address step (this app needs https).
- User-Agent llembas-android/<version> on every request, and the same string as the device
code's client_id (the server only stores and shows it).
- A 401 of the instance's own (WWW-Authenticate: Bearer realm="lembas") marks the instance
whose token it was as signed out: nothing more is asked with it, its pages stay underneath a
page that offers the sign-in in one step, and nothing else is forgotten. A 403 stays the
server's sentence; a 401 passed on from a provider behind /v1 signs nobody out.
- Streams: 45 s of silence is a broken connection (the server's keepalive is every 15 s on all
three routes); reconnect 1 s doubling to 60 s, jittered ±20 %, short again only after 30 s of
health; a 429 waits for Retry-After.
- A sentence for each failure: unreachable, timeout, certificate not trusted, not LLeMbas,
"the server answered N", too old, too new. Sign-in polls end by their real reason and survive
a dropped network or a restarting server.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The assistant's sheet is a session's window and no activity, so the gate a
reply's picture now waits at never opened for it: the session says when it
shows and hides, and the lock still keeps the gate shut.
An edit's diff is worked out off the main thread, one file after another,
and each text is cut to 2000 lines and 200000 characters before anything is
split or compared; a change that was cut says so. Lines are compared
without the carriage return before their newline, and a change of line
endings is said once. Invisible, direction-changing and line-breaking
characters in a line or a path are written as their code point. The call's
arguments stay on the card when the diffs say nothing.
"Open with" takes the type from the copy's first bytes, else from its
name's extension, and no longer from the instance's word.
Tests: the too-long case now shares lines out of order and can fail; the
device file fixtures are checked by field; the gate with the session; the
bounds, the line endings, the escaping, the arguments and the type.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A tool call's `media` with `shown` is drawn where generated media is: a
picture with its name under it, audio and video with Play, a PDF with Open
(its pages over the chat, by node id), and a 3D model, an archive, a text
file, a binary and any kind the app does not know as a row with the name,
the kind in words and the size. Every card keeps Open in Files, Download,
Share and Open with. `audio` plays as `music` does.
An approval item's `diffs` are worked out on the phone line by line
(api/Diff.kt: shared head and tail, the longest shared run in between up to
a bounded size, three lines of context) and drawn as one plain monospaced
text per file in a sideways scroller of its own, folded past twelve lines
and laid out to four hundred. The diff stands where the call's arguments
did; Allow and Deny are unchanged.
A picture in a chat now waits at the gate before it is fetched. Parsed and
not drawn: a device's files, files_writable and files_that_run_code, and
the editor's two models.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A message of the person's with `queued` true says how it waits under its
bubble -- queued behind a reply, of unknown arrival at the linked computer,
or held by the computer for its next turn (the server's sentences) -- and
has two buttons there: Send now and Discard.
Send now asks `POST …/messages/{id}/send`; the message stops waiting where
it stood, the chat is read once (a linked computer's chat sorts the message
to where it was sent) and the reply the send started is followed as one the
person asked for by typing. A computer that still knew the message does not
run it again and the reply's row is removed: then that reply is not
followed. Discard asks once, then `POST …/discard`, and the row goes.
A 409 or a 404 is said in the instance's words and the chat is read again,
once nothing is being written on the screen. Any other failure is said and
the message stays as it is. While one action is asked the buttons rest.
A waiting message is no longer offered Edit: the instance refuses it.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The end frame is the one this app was built against: `reply` with `live`
false, once per reply (event_reply_end.json, read in SecondReviewTest with
what an end does to the list and to an open chat). Nothing in the handling
changed. Tokens and strings are read at the same commit.
A person's message with origin `unsure` (queued, never sent by itself: it was
handed to the linked computer and nobody heard whether it arrived) carries the
server's sentence in place of the queued line.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
What an independent review of the reply frame's work found, each with its test
(SecondReviewTest):
- The drawer's list, read again, is merged by id. Cutting the old list at the
last row the newest page names dropped every chat between a chat that came
up from a later page and that page's end. A held chat the page should hold
and does not is gone on the server, and goes.
- A reply the person did not start from the screen is followed only while the
app is in front of an unlocked phone (InstanceGate.whileOpen): its stream
is let go when the gate closes, and one read catches up on the return. The
person's own reply keeps its stream; what follows any stream -- a broken
connection opened again, the read after `done` with a `next`, the read after
a close without `done` -- waits at the gate. The events route is opened only
at the gate.
- A transcript left open is held to a size, under a person at its end only.
Kept older pages need no reconciling as the server is (it removes a tail or
a queued prompt, nothing in the middle); a test pins the rewind.
- A scroll under way that the app did not start is the person's: rows that
arrive do not move a list being scrolled by a wheel, a key or a screen
reader, and where it rests decides the following.
- The drawer reads its list by itself only while it is open, not for a reply
its row already shows as running, after a pause with a longest wait, and
never cancels a read under way. A `reply` frame with `live` false clears the
row's running mark and marks it unread without a read; until an instance has
proven it says the ends, a running row is read again at a bounded rate.
- The line for a reply that was not recorded is not drawn for one that holds
a plan, nor for the reply being written whatever its row says.
- News of one thing is one read of the chat (Reads): a burst of frames, the
return to the front and a let-go reply's catch-up.
- Generated media's polls wait at the gate and keep their count across
returns; the Scheduled list cannot start listening after its screen left.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The person's events route says every reply that starts (the reply frame).
For the chat that is open, one that is neither followed already nor drawn
as finished is read and followed as any reply is, once nothing of this
screen's own is being written; a return to the front reads the chat once.
Nothing is asked behind the lock or out of the front. The drawer reads its
newest page again shortly after a frame. The frame is a moment, so the
shared connection does not repeat it to a watcher that joins later.
A turn the linked computer's harness started is a quiet note, and an empty
finished reply after a turn nobody typed, in an agent chat, is the server's
one line.
The chat's position: reading the chat again keeps the older pages a person
loaded; only the person's own scroll can end the following; a reply's foot
is as tall while it is written as once it has finished.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
1. One gate (InstanceGate) before every request that carries the account's
files: uploads, downloads, the copies for Share and Open with, the share
sheet's sends, a viewer's and a player's copy. The request under way
finishes; the next waits until the app is in front of an unlocked phone,
and the dialog says it is waiting.
2. The share target takes only content: addresses of other apps' providers,
and refuses one that opens onto this app's own files; each file is shown
with its provider's name and size; the instance is asked nothing before
the person has chosen.
3. New file reads the directory first and never asks for a name it holds,
besides create: true.
4. A PDF's renderer is closed off the main thread, and one made while the
viewer was closing is closed too; at most 100 MB and 2000 pages.
5. Shared cache copies go by their age (an hour), not at every start; a
name is capped by UTF-8 bytes and keeps its extension.
6. A model name the server said as a model_ref is looked up as a ref alone
in the picker, the assistant's sheet and the schedule form.
7. A second "Save to Files" goes on from the file that failed.
8. A notebook is parsed off the main thread; a download given up cancels
its call.
Also: "Open in Files" asks where the node is now (GET /files/node), and an
archive's entries are listed in the viewer.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A tool call's `media` is a card in the reply: a picture drawn (from its
attachment where the call has one, else from the file by its node id), a video
or a track with Play, a 3D model or an unknown kind as what it is; each with
Open in Files, Download (the system's "Save to" page), Share and Open with. The
player is the platform's, over RemoteMedia: `/files/raw?node=` is read a piece
at a time with the token in the header, as a file by its path is.
A `media_job` is a card with what is made, its state, the time it has taken and
Cancel. There is no stream frame for a job: the chat's jobs are read once when
the chat comes to the front and the ones under way every three seconds while
it stays there. A job that says the chat was told has left a reply this app did
not start, so the transcript is read again and that reply followed. The cards
are drawn only where a chat's own screen provides for them: the assistant's
sheet, which may be over the lock screen, draws a picture as before and no card.
Smaller: a new file is made with `create: true` and a taken name is said in the
instance's sentence; attached sound and video are played (from a copy in the
private cache: an attachment is answered whole); a version of a file can be
saved to the phone; the folder picker makes a folder; a table can be shown as
its text.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
contract/ from the server's dev head d726573 (104 files; six new: tool_media,
media_job, media_job_done, media_job_failed, media_jobs, file_create_exists;
`capability` on the four lists of models). Strings regenerated from the same
commit: no sentence moved.
The shapes and the calls for them: a tool call's `media` and `media_job`, a
job read and cancelled, bytes by a file's node id or one version of a path,
`create: true` on a save (409 `exists` is FileExists with the server's
sentence), `GET /mcp`, and `capability` -- the lists every model picker and the
assistant's setting are filled from keep only models a chat can be on.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Files listed and showed text. It now does what the web's explorer does,
through the server's /api/v2/files routes: upload (the system picker,
several at once, each streamed from where it is with its progress, one
request a file so a 413 for one does not take the others), new folder, new
text file (never over one that is there), rename, move and copy through a
folder picker that is walked rather than typed into, delete to the trash,
a long press to choose and a bar that moves, copies, downloads, shares or
deletes all that is chosen through /files/batch -- which answers path by
path, and what it refused is said in its own sentences. The trash: list,
restore, remove for good, empty. A file's versions: list, restore.
Leaving the instance: a download goes into a document the person chose
(ACTION_CREATE_DOCUMENT), streamed, several things or a folder as the
server's zip. Open with and Share hand another app a copy in the private
cache through the FileProvider the camera already uses (one more
cache-path, read-only, per grant); the copies go when Files is left, when
the app starts and at sign-out. No permission is added.
The viewer goes by file_kind. Text kinds as before, now editable up to the
server's 1 MB: a save says the sha it opened, a 409 shows the server's
sentence with Reload and Save anyway, and leaving with unsaved text asks.
The text being edited lives in a ViewModel: a megabyte does not fit a saved
instance state. A picture is copied to the cache, decoded with its edge and
pixel count capped whatever the file claims, and zooms and pans. A PDF is
drawn page by page by the platform's PdfRenderer from a cache copy. Sound
and video are played by the platform's MediaPlayer through a
MediaDataSource that asks the app's own HTTP client for each piece with a
Range request: the token stays in the Authorization header and the player
is never given an address, so no player library is added. CSV and TSV are a
grid with a row and column cap; a notebook is its cells' text, outputs as
plain text only. Archives, 3D models and binaries are their details with
Download, Open with and Share. An SVG is its source: the app has no WebView
and draws nothing a file could script. Nothing is rendered as HTML.
The share sheet has a third place to send to: Save to Files, into a folder
chosen with the same picker; shared text is kept as a note.
Strings: 61 new keys, 49 worded as the server's explorer words them and
translated from its catalogues at the pinned commit, 12 the app's own in
all eight languages.
An instance without these routes still lists and shows text; what it
cannot do says so.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Two connections may serve one model id, and the bare id names only the
first of them. Where the server says model_ref, the chat's title, picture,
level control and the picker's tick are that model's and no other's; a ref
the list does not have is no model, never the first with that id. The line
under a reply and a schedule's and a run's model say the connection where
two share the id. A schedule's form starts from the ref, so it ticks the
right twin and an untouched save still says no model. The assistant's
continued chat takes the chat's ref.
Without a ref (an older server) everything is as before.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The composer's dictation kept a refused or unreachable transcription to
itself: the field stayed as it was. It is now said as any failure is.
And /v1 refuses in OpenAI's shape (error.message), which the client did
not read: a refusal about speech was "The server answered 502." in the
chat, in Read aloud and in the assistant. Both shapes are read now.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The instance may give a connection speech models of its own, used for the
chats whose model is on it. A transcription and a speech request now carry
chat_id for a chat that exists, else chat_model with the model a new chat
(or the assistant's next one) starts on; another app's dictation names
neither and stays on the default. A server before this reads only the
fields it knows.
When the answer says the default answered for the chat's own
(X-Lembas-Fallback), the chat screen says so once per kind, with the
server's sentence. The assistant's sheet does not: it may be over the lock.
No request was added on a locked path.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Contract and strings pinned at the server's dev (6778143); the release re-pins at its tag.
- ModelInfo, SchedulingModel, StartModel and a directory's model carry
`ref`; `key` (ref, else id) is what is chosen, kept and sent as `model`
on create, chat update and schedules. `named()` finds a row by ref, else
the first with that id, so an assistant model saved as an id, a chat's
`model` and a schedule's still find theirs.
- Pickers show "Name · Connection" where two rows share an id, and key
their rows by ref.
- An open chat says its model's id only: the ref picked here says which
twin while the id still fits (ChatState.picked).
- A run's `error.reason` is read.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- Schedule form: `runs_on`, `model` and the watched command are sent only
where they differ from what was read (whereToSend, modelToSend,
watchToSend). The type is not choosable until an edited schedule was
read. A Chat schedule's model is shown when it is made Agentic. Modes by
the computer's `max_mode`. The Agentic form has the watched command and
its timeout; Agentic to Chat takes the command off and says so.
- Picker: each path once and at most 500 entries, the device's words cut
and ellipsised, Back closes after a question that got no listing, what
was typed while the device answered stays, a listing's own sentence shown.
- @: at most 50 entries; a device path with control characters or over 512
characters is not offered; asked again when the computer or folder
changes; attaching no longer ends another upload's "uploading".
- Followers: a scroll a finger interrupts no longer ends the collector
(yielding), and nothing is scrolled while a scroll is under way. Only a
message this app sent counts as Sent.
- /events: one shared connection for the drawer and the Scheduled list
(EventsHub); a route that closes without a frame backs off; a slow list
read no longer overwrites a newer `reports` count.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Contract and strings pinned at the server's dev (a6288a2); the release re-pins at its tag.
- DirectoryPicker: GET /devices/{id}/directories walked down and up, a
refused directory not choosable, the model last used beside a folder, the
typed path kept where the device lists nothing (PickerState, took, up).
Used by a new agent chat and by the schedule form.
- A new agent chat shows `start.model` for its device and folder, read again
when either changes; a picked model wins; `model` is sent only when picked.
- The schedule form asks the type first: Chat, or Agentic with computer,
folder, mode, approval wait and model (empty: the folder's usual model).
A save says `runs_on` only for what the form knows (whereToSend). The
task page shows type and model; a run its `ran_on` and `model.reason`.
- `@word` at the end of the composer's text: the server's mentions attach,
an agent chat's device files complete as `@path`.
- Models: `interactive_only`, a device's `scheduled`, `max_mode`,
`directory_model`.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- Older: one read at a time, and a page is put above the transcript only
while its anchor is still the first row, each row once (withOlder).
- A stream that closes without `done` reads the transcript again; where it
cannot, the steps the stream had shown stay on the row (closedUnfinished).
- Edit, regenerate, continue and plan/execute declare `client`, as create
and send do.
- The system recogniser sends nothing to the instance from a locked phone:
the on-device recogniser where there is one, else ERROR_RECOGNIZER_BUSY;
a phone that locks mid-recording sends nothing (recogniseWith).
- A thinking chip the person opened stays open when its step closes and at
`done`: keyed by its place, one call site for the live and finished reply.
- The drawer's Reports badge follows the events route's `reports` frame.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- A closed step and a report are drawn from the server's text, where a page
is the one line "[page: Title]" (the card). An `html-view` fence the
server does not list -- written while pages were not offered -- is the
code block it is. Only the open step of a reply as it streams takes the
fence for a page, so that a page being written is not source scrolling by.
- The events' reports frame carries latest_created; a report its pages.
- FEATURE_VOICE_RECOGNIZERS is not in the SDK for apps: the feature is
asked for by its name (CI run 88 failed to compile on it).
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Contract at server dev 40813d1 (84 files): a chat's `controls` and `report`,
a text step's `pages` and `text`, a report's `schedule_title`.
- B1 (must): a `user` row the server wrote (`machine`) is never the person's
bubble -- a quiet note; in a report's conversation the first such line is
left out. A report chat's bar takes its title from the chat's own `report`
(so it survives the app being closed), and its menu offers only what
`controls` allows.
- A1: ids from a push payload or an intent extra pass `safeId`
(^[A-Za-z0-9_-]{1,64}$) before they become a route: chat, schedule, run,
report.
- C1-C3: an empty "When..." is sent empty (the server's default) and the
field shows the default as a placeholder; editing sends `notify` only once
the schedule was read or the person chose, and a failed read says so and
disables Save.
- B2: Reports is in the drawer only where the instance has the route.
- A text step with pages is drawn from the server's `text`; a report from
its `text`. A fence with a space before `html-view` is a code block, as
the spec has it.
- A push of a kind the app does not know shows nothing. An important report
uses a channel of high importance. A report read or deleted in the app
cancels its notification.
- stop() and compact() post an empty body again: a search-and-replace in
adc1c4f had changed them to "{}" by mistake.
One commit: the model, the screens and the push share these files.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
79 files; the provisional shapes held, with these taken from the fixtures:
- GET /reports carries `unread`, the count the drawer's badge shows
(ApiClient.unreadReports); GET /reports/{id} answers {report: ...} with
`text` (the body with each page as its one line), which Share uses.
- A schedule carries `notify_default`, the default condition in the
account's language: what "When..." starts from and what the task's page
says while the person wrote none.
- The events' `reports` frame (unread, newest) has its model; nothing
follows it yet.
- push_schedule.json is gone (a finished run sends a report's push now);
the test of an older server's payload keeps it written out.
- ReportsContractTest reads reports, report, report_reply, push_report and
event_reports; ScheduleContractTest follows the new values (notify
"when", the run's note and report, the frame's version).
Tokens and strings are unchanged at this ref.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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>
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>
- 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>
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>
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>
- 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>
- 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>
`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>
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>
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>
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>
+ › 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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
- 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>
- 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>
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>