Working notes: show cards come with app API 2

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
HomerandClaude Opus 5.5 committed 2026-11-03 14:49:33 +00:00
1 parent 0e947d6c4e
commit aba1ee7a39
1 file changed
+5 -5
+5 -5
@@ -65,8 +65,8 @@ layout on a real phone at its narrowest; the emulator's default is not a phone.
- **A server is told apart by its device-link protocol, not its version.** The app needs
protocol 3 (LLeMbas 2.0; `api/Compat.kt`). The version string is no good for this: the
server's `dev` says 1.7.x until its first beta.
- **The app cannot see a `show` card until the server publishes it.** `/api/v2` copies only the
tool-event fields in `serialise.py`'s `TOOL_FIELDS`, and `show` was not among them when 1.0
was written; nor did a token have a route to the file (the web viewer's routes are the
cookie's). The app reads `GET /api/v2/chats/{chat}/show?node=&version=` or `?shown=` as plain
text, and says so when the route is missing.
- **`show` cards come with app API 2.** `/api/v2` copies only the tool-event fields in
`serialise.py`'s `TOOL_FIELDS`; `show` is one of them from app API 2, and the contract carries
`tool_show.json`. The file's text is `GET /api/v2/chats/{chat}/show?node=&version=` or
`?shown=` (plain text, at most 1 MB; 413 too large, 415 not text, 404 out of reach). The app
refuses a server whose app API is not 2.