Files
HomerandClaude Opus 5.5 4f09bc41bb
CI / check (push) Canceled after 0s
LLeMbas for Android 0.1.0 (alpha, unreleased): the first commit
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

88 lines
1.7 KiB
JSON

{
"id": "msg2",
"role": "assistant",
"created_at": "2026-01-02T03:04:05+00:00",
"complete": true,
"stopped": false,
"error": null,
"queued": false,
"machine": false,
"origin": "",
"model": "qwen",
"attachments": [],
"steps": [
{
"index": 0,
"kind": "thinking",
"open": false,
"text": "The reader wants a recipe.",
"label": "for 1 second · 6 tokens"
},
{
"index": 0,
"kind": "text",
"open": false,
"markdown": "Here is how it is made:\n\n```sh\nbake --slow\n```\n"
},
{
"index": 0,
"kind": "tools",
"open": false,
"calls": [
{
"id": "call1",
"name": "bash",
"kind": "shell",
"status": "ok",
"args": {
"command": "bake --slow"
},
"purpose": "Bake one loaf",
"text": "baked\n",
"exit": 0,
"block": {
"kind": "shell",
"title": "bake --slow",
"chips": [
"exit 0"
],
"added": 0,
"removed": 0
}
}
]
},
{
"index": 0,
"kind": "steer",
"open": false,
"messages": [
{
"id": "msg9",
"text": "and add honey"
}
]
},
{
"index": 1,
"kind": "text",
"open": false,
"markdown": "Done. *Wrap it in a leaf.*"
}
],
"plan": null,
"metrics": {
"prompt_tokens": 120,
"completion_tokens": 40,
"total_tokens": 160,
"context_tokens": 160,
"context_limit": 8192,
"estimated": false,
"elapsed_ms": 4000,
"rounds": 2,
"thinking_ms": 1200,
"percent": 2,
"tok_s": 10.0
}
}