@wirecat/cli-core 0.386.0 → 0.387.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,13 @@ shape of this file.
7
7
 
8
8
  ## Unreleased
9
9
 
10
+ ## 0.387.0 — 22.10.2026
11
+
12
+ ### Added
13
+
14
+ - `dateWindow` and `DateWindow` from `./cli`: `--since-time` and `--until-time` read together, with the
15
+ `meta.timezone` and `meta.window` an answer reports them by (WC-TIME-3, WC-TIME-5).
16
+
10
17
  ## 0.386.0 — 22.10.2026
11
18
 
12
19
  ### Added
@@ -27,7 +27,7 @@ export { guardedApp, guardedPress, guardedStart, type Pressed } from "../sends/b
27
27
  export { guardedClose, guardedCreatePoll, guardedVote } from "../sends/polls.js";
28
28
  export type { InboxReader } from "../services/inbox.js";
29
29
  export { INBOX_CHATS, newIn, REVIEW_CHATS, reviewIn, unreadIn } from "../services/inbox.js";
30
- export { momentOf } from "../services/moment.js";
30
+ export { type DateWindow, dateWindow, momentOf } from "../services/moment.js";
31
31
  export { maskedAccount } from "../services/people.js";
32
32
  export { unanswered } from "../services/questions.js";
33
33
  export { openRequestTask } from "../services/task-rules.js";
package/dist/cli/index.js CHANGED
@@ -22,7 +22,7 @@ export { currentRun, inRun, useAsProcessRun } from "../runs/scope.js";
22
22
  export { guardedApp, guardedPress, guardedStart } from "../sends/buttons.js";
23
23
  export { guardedClose, guardedCreatePoll, guardedVote } from "../sends/polls.js";
24
24
  export { INBOX_CHATS, newIn, REVIEW_CHATS, reviewIn, unreadIn } from "../services/inbox.js";
25
- export { momentOf } from "../services/moment.js";
25
+ export { dateWindow, momentOf } from "../services/moment.js";
26
26
  export { maskedAccount } from "../services/people.js";
27
27
  export { unanswered } from "../services/questions.js";
28
28
  export { openRequestTask } from "../services/task-rules.js";
@@ -151,7 +151,7 @@ export interface EmailFilter extends MailFilter {
151
151
  mailbox?: string;
152
152
  /** On the received time, or the sent time when that is unknown: IMAP's SINCE counts by the received day. */
153
153
  since?: number;
154
- /** Exclusive. */
154
+ /** Exclusive. `momentOf` and `dateWindow` with `end` give the last millisecond of a day, an inclusive end: add 1. */
155
155
  until?: number;
156
156
  /** Only emails with an attachment whose text extraction failed with one of these errors. */
157
157
  attachmentErrors?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wirecat/cli-core",
3
- "version": "0.386.0",
3
+ "version": "0.387.0",
4
4
  "description": "The messenger-neutral half of a messaging CLI: domain model, message locators, rendering, name resolution, the SQLite seam, the command skeleton and shared read commands, the send guard, run records and the message store",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Viacheslav Ptsarev",