You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed — may break callers
The first screen (drive --help) lists gcal under "Works with", and setup offers to install @wirecat/gcal-cli. This comes with cli-core 0.481.0.
Searching a document's notes (notes list <document> text:review) finds part of a word, in any letter case, and
looks in the title too. A mixed-case Cyrillic word is no longer missed, and the answer comes in milliseconds. A
search of one or two characters is refused with "search needs at least three characters"; an empty one still
filters nothing. This comes with cli-core 0.491.0 (store version 40). Notes already saved are indexed in batches,
and matched as before until then. Every WireCat CLI that shares the store must run cli-core 0.490.0 or later, or it
does not index the notes it writes: update them together. A caller that searched notes by one or two characters
must send three or more.
Added
drive <profile> documents check <document> asks Google whether one stored document changed. It makes one
live read of the document's modifiedTime and compares it with the modified time the store kept when the document
was synced. The answer has changed, remote_modified_at and local_modified_at (null when the copy kept none,
which counts as changed). When changed is true it also has missing (modified_at), next
(drive <profile> sync) and meta.complete: false; exit code stays 0. Unlike synced_at on documents show, this
is per document, not the profile's last sync. It needs the network, so --offline refuses it, and a document that
is not imported fails with document.not-imported.
Fixed
Every next[].line starts with the profile the command ran with.drive personal documents list --limit 1
gave drive documents list --page 2 --limit 1 and drive sync, and running such a line failed with profile.required. Now the lines read drive personal documents list --page 2 --limit 1 and drive personal sync,
for every step, in answers and in errors.