From a939df261ff7d97ab5cce561f473de3f6cac2eef Mon Sep 17 00:00:00 2001 From: leemour Date: Fri, 16 Oct 2026 19:25:48 +0200 Subject: [PATCH] docs(search): search notes filters by source:, not type: cli-core 0.303.0 renames the search notes query field type: to source:, the name of the note's own field, which --json projects and memo's notes list already filters by. The --source option, which chooses the notes accounts read, is unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) --- docs/search.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/search.md b/docs/search.md index d0facd3..3603c4b 100644 --- a/docs/search.md +++ b/docs/search.md @@ -71,7 +71,7 @@ tg personal search messages 'lease chat:"Book club"' # Telegram messages only, ``` ```sh -tg personal search notes 'budget type:internal' # only notes written in memo +tg personal search notes 'budget source:internal' # only notes written in memo ``` ```sh @@ -85,8 +85,8 @@ tg personal search topics "Hiking" "gear" # topic titles in one forum gr `search all` says what each hit is — a message (`msg:…`) or a note (`note:…`). tg never searches mail: `tg personal search mail` answers "mail is memo's: install @wirecat/cli-memo, then `memo search mail …`", and `search all --only mail` is refused the same way. In `search messages`, `NOT has:attachment`, `has:voice` and -`has:file` in the query keep only text, voice or files; in `search notes`, `type:internal` and `type:file` keep the -notes written in memo or imported from a folder. +`has:file` in the query keep only text, voice or files; in `search notes`, `source:internal` and `source:file` keep +the notes written in memo or imported from a folder. When a field does not apply — `chat:`/`from:` for notes — `search all` skips that resource and explains why. Mail and notes reach the store through memo: `memo sync --mail` and `memo import`. Without them,