docs: refresh history sanitization tag mirrors

This commit is contained in:
Peter Steinberger
2026-04-04 22:21:26 +01:00
parent eee868452f
commit bc910942e2
11 changed files with 48 additions and 32 deletions

View File

@@ -139,10 +139,11 @@ The Android Chat tab supports session selection (default `main`, plus other exis
- History: `chat.history` (display-normalized; inline directive tags are
stripped from visible text, plain-text tool-call XML payloads (including
`<tool_calls>` and truncated tool-call blocks) and leaked ASCII/full-width
model control tokens are stripped, pure silent-token assistant rows such as
exact `NO_REPLY` / `no_reply` are omitted, and oversized rows can be
replaced with placeholders)
`<tool_call>...</tool_call>`, `<function_call>...</function_call>`,
`<tool_calls>...</tool_calls>`, `<function_calls>...</function_calls>`, and
truncated tool-call blocks) and leaked ASCII/full-width model control tokens
are stripped, pure silent-token assistant rows such as exact `NO_REPLY` /
`no_reply` are omitted, and oversized rows can be replaced with placeholders)
- Send: `chat.send`
- Push updates (best-effort): `chat.subscribe` → `event:"chat"`

View File

@@ -32,10 +32,12 @@ agent (with a session switcher for other sessions).
`chat.inject` and events `chat`, `agent`, `presence`, `tick`, `health`.
- `chat.history` returns display-normalized transcript rows: inline directive
tags are stripped from visible text, plain-text tool-call XML payloads
(including `<tool_calls>` and truncated tool-call blocks) and leaked
ASCII/full-width model control tokens are stripped, pure silent-token
assistant rows such as exact `NO_REPLY` / `no_reply` are omitted, and
oversized rows can be replaced with placeholders.
(including `<tool_call>...</tool_call>`,
`<function_call>...</function_call>`, `<tool_calls>...</tool_calls>`,
`<function_calls>...</function_calls>`, and truncated tool-call blocks) and
leaked ASCII/full-width model control tokens are stripped, pure
silent-token assistant rows such as exact `NO_REPLY` / `no_reply` are
omitted, and oversized rows can be replaced with placeholders.
- Session: defaults to the primary session (`main`, or `global` when scope is
global). The UI can switch between sessions.
- Onboarding uses a dedicated session to keep firstrun setup separate.