From f897aba69a481cf3ba86e14cb2a7c9ebabaf7b8c Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Sun, 29 Mar 2026 17:04:33 +0900 Subject: [PATCH] docs: add missing feature docs for Matrix E2EE thumbnails, LINE media, and CJK memory - Matrix: note encrypted thumbnail behavior in E2EE rooms (#54711) - LINE: add outbound media section for image/video/audio sends (#45826) - Memory: document CJK trigram tokenization and chunk sizing --- docs/channels/line.md | 10 ++++++++++ docs/channels/matrix.md | 2 ++ docs/reference/memory-config.md | 1 + 3 files changed, 13 insertions(+) diff --git a/docs/channels/line.md b/docs/channels/line.md index 7bd56b4a9f1..c8aaa9389fa 100644 --- a/docs/channels/line.md +++ b/docs/channels/line.md @@ -184,6 +184,16 @@ The LINE plugin also ships a `/card` command for Flex message presets: /card info "Welcome" "Thanks for joining!" ``` +## Outbound media + +The LINE plugin supports sending images, videos, and audio files through the agent message tool. Media is sent via the LINE-specific delivery path with appropriate preview and tracking handling: + +- **Images**: sent as LINE image messages with automatic preview generation. +- **Videos**: sent with explicit preview and content-type handling. +- **Audio**: sent as LINE audio messages. + +Generic media sends fall back to the existing image-only route when a LINE-specific path is not available. + ## Troubleshooting - **Webhook verification fails:** ensure the webhook URL is HTTPS and the diff --git a/docs/channels/matrix.md b/docs/channels/matrix.md index 7d2cb4e0e8f..a688e86ddf6 100644 --- a/docs/channels/matrix.md +++ b/docs/channels/matrix.md @@ -189,6 +189,8 @@ done: ## Encryption and verification +In encrypted (E2EE) rooms, outbound image events use `thumbnail_file` so image previews are encrypted alongside the full attachment. Unencrypted rooms still use plain `thumbnail_url`. No configuration is needed — the plugin detects E2EE state automatically. + ### Bot to bot rooms By default, Matrix messages from other configured OpenClaw Matrix accounts are ignored. diff --git a/docs/reference/memory-config.md b/docs/reference/memory-config.md index 0d441b0ef1f..3d58421124f 100644 --- a/docs/reference/memory-config.md +++ b/docs/reference/memory-config.md @@ -422,6 +422,7 @@ Notes: - `vectorWeight` + `textWeight` is normalized to 1.0 in config resolution, so weights behave as percentages. - If embeddings are unavailable (or the provider returns a zero-vector), we still run BM25 and return keyword matches. - If FTS5 can't be created, we keep vector-only search (no hard failure). +- **CJK support**: FTS5 uses configurable trigram tokenization with a short-substring fallback so Chinese, Japanese, and Korean text is searchable without breaking mixed-length queries. CJK-heavy text is also weighted correctly during chunk size estimation, and surrogate-pair characters are preserved during fine splits. This isn't "IR-theory perfect", but it's simple, fast, and tends to improve recall/precision on real notes. If we want to get fancier later, common next steps are Reciprocal Rank Fusion (RRF) or score normalization