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
{{ message }}
Repository navigation
Commit d038867
Browse filesBrowse the repository at this point in the historyBrowse files
fix(cli): align empty DM window hints with follow-up queries (#239)
Align empty DM date-window diagnostics with the follow-up command's actual row set. Restrict counts to catalogued conversations only when all date bounds are removed; retain uncatalogued message counts when another bound remains. Preserve archive data, stdout/JSON contracts and retrieval behavior.
Verified the original failure and corrected native CLI in an isolated Linux fixture, including one-bound, remaining-bound and both-bound cases. Focused race tests, full exact-head CI and independent review pass.
Co-authored-by: Robert Navarro <crshman@gmail.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
## Unreleased
4
4
5
+
- Keep empty DM date-window hints consistent with the suggested follow-up command, excluding uncatalogued conversations only when removing the final date filter. Thanks @rnavarro.
6
+
5
7
## 0.15.4 - 2026-09-20
6
8
7
9
- Update Crawlkit to v0.16.4 so normal snapshot updates accept equivalent attachment schemas with reordered columns, preserving locally retained history without requiring forced replacement.
`dms` reads the same tables as [`messages`](messages.html) and [`search`](search.html) and prints the same stderr notes when a run returns nothing: the window notes for a `--hours`/`--days`/`--since`/`--before` listing, and the multi-term note for `--search`. They go to stderr, `--json` suppresses them, and stdout and the exit code are unchanged.
39
39
40
+
When a window note recommends removing all date filters, it counts only messages in catalogued conversations that the default `dms` listing can show. Uncatalogued DMs remain available through message queries, including `dms` with a matching date window. If the recommendation leaves another date filter in place, the note continues to count those messages.
41
+
40
42
A run that sets `--with` gets no note. `--with` names a person and the query matches it against channel id and channel name alike, which the counts behind a note cannot reproduce, so a `--with` run stays silent rather than reporting numbers taken from every conversation.
followup: []string{"--before", "2030-01-01T00:00:00Z"}, want: "note: 2 messages in scope but none since 2021-01-01T00:00:00Z (newest: 2020-07-01T00:00:00Z); try without --since",
0 commit comments