Problem
Current examples do not define a consistent result format. For agent use, search output should be predictable and include enough metadata to read the correct note later.
Desired behavior
Standardize search output fields:
NAME CREATED MODIFIED ID MATCHED_TERMS PREVIEW
Example:
📅 #timeline / Kia Cerato Koup 2019-10-22 13:26 2026-01-09 19:07 x-coredata://057.../ICNote/p101 Kia,Cerato 2017-08-09 - 81857 - замена тормозных колодок...
Implementation notes
- Include
id so follow-up reads can use read-by-id.
- Include a short
PREVIEW, e.g. first 160-240 characters of plaintext with line breaks collapsed.
- Keep output TSV-friendly.
- Avoid dumping full note bodies in search results.
Acceptance criteria
- Search command prints stable columns in a documented order.
- Preview is short and does not include the full note body.
- Output remains usable when note title or body contains line breaks.
Problem
Current examples do not define a consistent result format. For agent use, search output should be predictable and include enough metadata to read the correct note later.
Desired behavior
Standardize search output fields:
Example:
Implementation notes
idso follow-up reads can useread-by-id.PREVIEW, e.g. first 160-240 characters of plaintext with line breaks collapsed.Acceptance criteria