@wirecat/cli-core 0.399.0 → 0.401.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.
Files changed (259) hide show
  1. package/CHANGELOG.md +111 -0
  2. package/README.md +1 -1
  3. package/dist/analysis/consents.d.ts +11 -6
  4. package/dist/analysis/consents.js +5 -2
  5. package/dist/cli/bot/mcp.js +2 -1
  6. package/dist/cli/bot/store.js +1 -1
  7. package/dist/cli/config-command.js +20 -1
  8. package/dist/cli/context.d.ts +2 -0
  9. package/dist/cli/context.js +1 -1
  10. package/dist/cli/effects.d.ts +4 -1
  11. package/dist/cli/effects.js +10 -2
  12. package/dist/cli/index.d.ts +3 -2
  13. package/dist/cli/index.js +3 -2
  14. package/dist/cli/json-fields.js +12 -1
  15. package/dist/cli/meeting-evidence-answer.d.ts +46 -0
  16. package/dist/cli/meeting-evidence-answer.js +22 -0
  17. package/dist/cli/meeting-preparation-answer.js +1 -13
  18. package/dist/cli/messenger/account-command.js +15 -6
  19. package/dist/cli/messenger/account-profile-query.d.ts +2 -0
  20. package/dist/cli/messenger/account-profile-query.js +13 -0
  21. package/dist/cli/messenger/account-sessions-command.js +1 -2
  22. package/dist/cli/messenger/admin-commands.js +12 -12
  23. package/dist/cli/messenger/admin-contacts-command.js +6 -3
  24. package/dist/cli/messenger/admin-folders-command.js +5 -5
  25. package/dist/cli/messenger/admin-moderation-command.js +4 -4
  26. package/dist/cli/messenger/admin-statistics-command.js +6 -14
  27. package/dist/cli/messenger/analysis-consents-query.d.ts +5 -0
  28. package/dist/cli/messenger/analysis-consents-query.js +20 -0
  29. package/dist/cli/messenger/archive-commands.js +3 -3
  30. package/dist/cli/messenger/attachments-command.js +3 -0
  31. package/dist/cli/messenger/backfill-command.js +5 -4
  32. package/dist/cli/messenger/chat-queries.d.ts +1 -0
  33. package/dist/cli/messenger/chat-queries.js +12 -2
  34. package/dist/cli/messenger/chats-command.js +2 -2
  35. package/dist/cli/messenger/chats-documents-command.js +7 -5
  36. package/dist/cli/messenger/chats-members-command.js +7 -3
  37. package/dist/cli/messenger/chats-read-command.js +1 -1
  38. package/dist/cli/messenger/chats-tracking-command.js +14 -6
  39. package/dist/cli/messenger/contacts-command.js +9 -5
  40. package/dist/cli/messenger/conversations-command.js +20 -16
  41. package/dist/cli/messenger/doctor-command.js +4 -1
  42. package/dist/cli/messenger/document-links-query.d.ts +2 -0
  43. package/dist/cli/messenger/document-links-query.js +9 -0
  44. package/dist/cli/messenger/download-command.js +1 -0
  45. package/dist/cli/messenger/flood-command.d.ts +2 -2
  46. package/dist/cli/messenger/flood-command.js +3 -3
  47. package/dist/cli/messenger/gaps-command.js +2 -2
  48. package/dist/cli/messenger/guard-commands.js +35 -13
  49. package/dist/cli/messenger/images-command.js +1 -0
  50. package/dist/cli/messenger/media-archive-command.js +2 -0
  51. package/dist/cli/messenger/media-archive-move-command.js +1 -0
  52. package/dist/cli/messenger/media-archive-timer-command.js +1 -1
  53. package/dist/cli/messenger/mentions-command.js +15 -2
  54. package/dist/cli/messenger/message-writes.d.ts +192 -2
  55. package/dist/cli/messenger/message-writes.js +6 -2
  56. package/dist/cli/messenger/messages-command.js +2 -0
  57. package/dist/cli/messenger/messages-delete-command.js +1 -0
  58. package/dist/cli/messenger/messages-edit-command.js +1 -0
  59. package/dist/cli/messenger/messages-evidence-command.js +3 -1
  60. package/dist/cli/messenger/messages-forward-command.js +1 -0
  61. package/dist/cli/messenger/messages-pin-command.js +3 -0
  62. package/dist/cli/messenger/messages-send-command.js +10 -6
  63. package/dist/cli/messenger/metadata-command.js +6 -1
  64. package/dist/cli/messenger/models-command.js +10 -5
  65. package/dist/cli/messenger/polls-command.js +4 -0
  66. package/dist/cli/messenger/private-people-command.js +3 -3
  67. package/dist/cli/messenger/rankings-command.js +6 -11
  68. package/dist/cli/messenger/reactions-command.js +2 -0
  69. package/dist/cli/messenger/recipients-query.d.ts +5 -0
  70. package/dist/cli/messenger/recipients-query.js +18 -0
  71. package/dist/cli/messenger/records-command.js +13 -8
  72. package/dist/cli/messenger/review.js +1 -1
  73. package/dist/cli/messenger/schedule-command.js +2 -2
  74. package/dist/cli/messenger/search-answers.js +2 -0
  75. package/dist/cli/messenger/search-command.js +3 -1
  76. package/dist/cli/messenger/searches-command.js +5 -1
  77. package/dist/cli/messenger/sends-query.d.ts +5 -0
  78. package/dist/cli/messenger/sends-query.js +33 -0
  79. package/dist/cli/messenger/serve-command.js +1 -0
  80. package/dist/cli/messenger/server-command.js +0 -3
  81. package/dist/cli/messenger/statistics-query.d.ts +14 -0
  82. package/dist/cli/messenger/statistics-query.js +143 -0
  83. package/dist/cli/messenger/stats-command.js +5 -5
  84. package/dist/cli/messenger/store-maintenance-command.js +10 -10
  85. package/dist/cli/messenger/stored.js +4 -1
  86. package/dist/cli/messenger/tags-command.js +7 -1
  87. package/dist/cli/messenger/tasks-command.js +57 -14
  88. package/dist/cli/messenger/transcribe-command.js +1 -0
  89. package/dist/cli/messenger/watch-answers.d.ts +6 -0
  90. package/dist/cli/messenger/watch-answers.js +69 -0
  91. package/dist/cli/messenger/watch-command.d.ts +1 -1
  92. package/dist/cli/messenger/watch-command.js +56 -7
  93. package/dist/cli/program.js +5 -1
  94. package/dist/cli/runs/command.js +25 -38
  95. package/dist/cli/runs/query.d.ts +5 -0
  96. package/dist/cli/runs/query.js +32 -0
  97. package/dist/cli/runs/search-command.d.ts +4 -0
  98. package/dist/cli/runs/search-command.js +27 -0
  99. package/dist/cli/runs/search-query.d.ts +4 -0
  100. package/dist/cli/runs/search-query.js +50 -0
  101. package/dist/cli/runs/search.d.ts +2 -1
  102. package/dist/cli/runs/search.js +6 -6
  103. package/dist/documents/index.d.ts +1 -0
  104. package/dist/documents/index.js +1 -0
  105. package/dist/domain/attachments.js +9 -1
  106. package/dist/domain/rankings-options.js +3 -3
  107. package/dist/entities/account-change.d.ts +89 -0
  108. package/dist/entities/account-change.js +20 -0
  109. package/dist/entities/account-profile.d.ts +7 -0
  110. package/dist/entities/account-profile.js +8 -0
  111. package/dist/entities/analysis-consent.d.ts +9 -0
  112. package/dist/entities/analysis-consent.js +4 -0
  113. package/dist/entities/attachment-results.d.ts +96 -0
  114. package/dist/entities/attachment-results.js +31 -0
  115. package/dist/entities/batch-result.d.ts +27 -0
  116. package/dist/entities/batch-result.js +18 -0
  117. package/dist/entities/chat-admin.d.ts +234 -0
  118. package/dist/entities/chat-admin.js +84 -0
  119. package/dist/entities/chat-change.d.ts +25 -0
  120. package/dist/entities/chat-change.js +11 -0
  121. package/dist/entities/chat-metadata.d.ts +34 -0
  122. package/dist/entities/chat-metadata.js +15 -0
  123. package/dist/entities/chat-moderation.d.ts +44 -0
  124. package/dist/entities/chat-moderation.js +37 -0
  125. package/dist/entities/chat-tracking.d.ts +26 -0
  126. package/dist/entities/chat-tracking.js +23 -0
  127. package/dist/entities/contact-activity.d.ts +52 -0
  128. package/dist/entities/contact-activity.js +42 -0
  129. package/dist/entities/contact-context.d.ts +1568 -0
  130. package/dist/entities/contact-context.js +191 -0
  131. package/dist/entities/contact-write.d.ts +22 -0
  132. package/dist/entities/contact-write.js +6 -0
  133. package/dist/entities/conversation-preparation.d.ts +63 -0
  134. package/dist/entities/conversation-preparation.js +23 -0
  135. package/dist/entities/conversation-results.d.ts +567 -0
  136. package/dist/entities/conversation-results.js +94 -0
  137. package/dist/entities/document-link.d.ts +13 -0
  138. package/dist/entities/document-link.js +11 -0
  139. package/dist/entities/extraction-report.d.ts +95 -0
  140. package/dist/entities/extraction-report.js +34 -0
  141. package/dist/entities/hit.d.ts +4 -0
  142. package/dist/entities/hit.js +4 -0
  143. package/dist/entities/image-embedding.d.ts +9 -0
  144. package/dist/entities/image-embedding.js +10 -0
  145. package/dist/entities/index.d.ts +8284 -1921
  146. package/dist/entities/index.js +178 -3
  147. package/dist/entities/listener.d.ts +2150 -0
  148. package/dist/entities/listener.js +46 -0
  149. package/dist/entities/media-archive.d.ts +43 -0
  150. package/dist/entities/media-archive.js +32 -0
  151. package/dist/entities/meeting-evidence.d.ts +86 -0
  152. package/dist/entities/meeting-evidence.js +25 -0
  153. package/dist/entities/meeting-preparation-parts.d.ts +14 -0
  154. package/dist/entities/meeting-preparation-parts.js +15 -13
  155. package/dist/entities/meeting-task-proposal.d.ts +14 -0
  156. package/dist/entities/meeting-task-proposal.js +19 -0
  157. package/dist/entities/meeting.d.ts +1 -1
  158. package/dist/entities/meeting.js +1 -1
  159. package/dist/entities/mention.d.ts +63 -0
  160. package/dist/entities/mention.js +44 -0
  161. package/dist/entities/message-change.d.ts +19 -0
  162. package/dist/entities/message-change.js +6 -0
  163. package/dist/entities/message-context.d.ts +617 -0
  164. package/dist/entities/message-context.js +20 -0
  165. package/dist/entities/message-read.d.ts +73 -0
  166. package/dist/entities/message-read.js +58 -0
  167. package/dist/entities/message-transfer.d.ts +379 -0
  168. package/dist/entities/message-transfer.js +83 -0
  169. package/dist/entities/message-write.d.ts +378 -0
  170. package/dist/entities/message-write.js +10 -0
  171. package/dist/entities/model-key.d.ts +14 -0
  172. package/dist/entities/model-key.js +10 -0
  173. package/dist/entities/poll.d.ts +40 -0
  174. package/dist/entities/poll.js +16 -0
  175. package/dist/entities/private-contact.d.ts +10 -0
  176. package/dist/entities/private-contact.js +4 -0
  177. package/dist/entities/reaction-change.d.ts +7 -0
  178. package/dist/entities/reaction-change.js +8 -0
  179. package/dist/entities/recipient.d.ts +29 -0
  180. package/dist/entities/recipient.js +11 -0
  181. package/dist/entities/recorded-run.d.ts +103 -0
  182. package/dist/entities/recorded-run.js +44 -0
  183. package/dist/entities/saved-search.d.ts +4 -0
  184. package/dist/entities/saved-search.js +2 -0
  185. package/dist/entities/send-attempt.d.ts +31 -0
  186. package/dist/entities/send-attempt.js +29 -0
  187. package/dist/entities/store-maintenance.d.ts +319 -0
  188. package/dist/entities/store-maintenance.js +145 -0
  189. package/dist/entities/store-records.d.ts +442 -0
  190. package/dist/entities/store-records.js +99 -0
  191. package/dist/entities/tag-change.d.ts +74 -0
  192. package/dist/entities/tag-change.js +31 -0
  193. package/dist/entities/task-pair.d.ts +31 -0
  194. package/dist/entities/task-pair.js +23 -0
  195. package/dist/entities/task-results.d.ts +524 -0
  196. package/dist/entities/task-results.js +142 -0
  197. package/dist/errors/reasons.js +3 -0
  198. package/dist/mcp/agent.d.ts +3 -1
  199. package/dist/mcp/agent.js +17 -10
  200. package/dist/mcp/bot/server.d.ts +2 -0
  201. package/dist/mcp/bot/server.js +1 -0
  202. package/dist/mcp/server.js +3 -1
  203. package/dist/mcp/tools/attachments.js +1 -0
  204. package/dist/meetings/cli/index.js +4 -2
  205. package/dist/meetings/cli/passage.js +1 -0
  206. package/dist/meetings/index.d.ts +2 -1
  207. package/dist/meetings/index.js +1 -0
  208. package/dist/meetings/links.d.ts +16 -0
  209. package/dist/meetings/read-answers.d.ts +185 -0
  210. package/dist/meetings/read-answers.js +213 -0
  211. package/dist/ports/messenger.d.ts +10 -1
  212. package/dist/runs/run.d.ts +10 -2
  213. package/dist/runs/run.js +11 -3
  214. package/dist/sends/guard.d.ts +1 -1
  215. package/dist/sends/guard.js +9 -5
  216. package/dist/sends/journal.d.ts +9 -2
  217. package/dist/sends/journal.js +9 -2
  218. package/dist/sends/permissions.d.ts +5 -1
  219. package/dist/sends/permissions.js +42 -2
  220. package/dist/sends/recipients.d.ts +8 -0
  221. package/dist/sends/recipients.js +9 -0
  222. package/dist/sends/upload.d.ts +4 -4
  223. package/dist/sends/upload.js +24 -20
  224. package/dist/services/admin-statistics.js +3 -3
  225. package/dist/services/chat-documents.d.ts +1 -0
  226. package/dist/services/chat-documents.js +9 -3
  227. package/dist/services/chats.d.ts +1 -1
  228. package/dist/services/chats.js +5 -2
  229. package/dist/services/documents/mirrors.d.ts +98 -0
  230. package/dist/services/documents/mirrors.js +144 -0
  231. package/dist/services/meeting-links.d.ts +2 -17
  232. package/dist/services/messages.js +1 -0
  233. package/dist/services/search-all-meetings.js +21 -8
  234. package/dist/services/task-rules.d.ts +1 -1
  235. package/dist/services/tasks.d.ts +2 -2
  236. package/dist/services/tasks.js +1 -1
  237. package/dist/store/exports.d.ts +1 -1
  238. package/dist/store/exports.js +1 -1
  239. package/dist/store/messages.d.ts +3 -1
  240. package/dist/store/messages.js +2 -2
  241. package/dist/store/roster.d.ts +4 -1
  242. package/dist/store/roster.js +2 -2
  243. package/dist/store/sqlite/chats.d.ts +12 -0
  244. package/dist/store/sqlite/chats.js +1 -0
  245. package/dist/store/sqlite/document-links.d.ts +1 -1
  246. package/dist/store/sqlite/document-links.js +5 -5
  247. package/dist/store/sqlite/drizzle/bun.js +3 -3
  248. package/dist/store/sqlite/drizzle/bun.js.map +1 -1
  249. package/dist/store/sqlite/drizzle/core.js +2 -2
  250. package/dist/store/sqlite/drizzle/core.js.map +1 -1
  251. package/dist/store/sqlite/drizzle/node.js +3 -3
  252. package/dist/store/sqlite/drizzle/node.js.map +1 -1
  253. package/dist/store/sqlite/drizzle/{shared-O7CTKP45.js → shared-HKXF6HKX.js} +57 -57
  254. package/dist/store/sqlite/drizzle/{shared-O7CTKP45.js.map → shared-HKXF6HKX.js.map} +1 -1
  255. package/dist/store/sqlite/involvements.js +2 -1
  256. package/dist/store/sqlite/roster.d.ts +2 -1
  257. package/dist/store/sqlite/roster.js +3 -2
  258. package/package.json +2 -2
  259. package/parity.json +14 -69
@@ -33,7 +33,8 @@ export const involvementStoreOver = ({ database, now }) => ({
33
33
  const account = only === undefined ? [] : [only.provider, only.account];
34
34
  return database
35
35
  .prepare(`SELECT i.*, a.provider, a.external_id AS account, c.external_id AS chat, m.external_id AS message
36
- FROM involvements i LEFT JOIN accounts a ON a.id=i.account_id
36
+ FROM involvements i LEFT JOIN projects pr ON pr.id=i.project_id
37
+ LEFT JOIN accounts a ON a.id=coalesce(i.account_id,pr.account_id)
37
38
  LEFT JOIN messages m ON i.subject_type='message' AND m.id=i.subject_id
38
39
  LEFT JOIN chats c ON c.id=CASE WHEN i.subject_type='chat' THEN i.subject_id ELSE m.chat_id END
39
40
  WHERE i.person_id=? ${filters.map(([sql]) => sql).join(" ")}
@@ -1,5 +1,6 @@
1
1
  import type { GroupMember, Id, Provider } from "../../domain/models.js";
2
2
  import type { StoreContext } from "./open.js";
3
+ import { type Where } from "./query-filter.js";
3
4
  export interface RosterRead {
4
5
  observation?: {
5
6
  observedAt: string;
@@ -58,4 +59,4 @@ export declare const memberCountsOf: ({ orm }: StoreContext, chatKey: number, si
58
59
  /** Profiles of the chat's members, every revision, oldest first. */
59
60
  export declare const profileRevisionsOf: ({ orm }: StoreContext, chatKey: number, since?: number) => ProfileRevision[];
60
61
  export declare const setTracked: ({ orm, now }: StoreContext, chatKey: number, tracked: boolean) => void;
61
- export declare const trackedChats: (context: StoreContext, accountKey: number) => TrackedChat[];
62
+ export declare const trackedChats: (context: StoreContext, accountKey: number, where?: Where) => TrackedChat[];
@@ -1,6 +1,7 @@
1
1
  import { CliError } from "@wirecat/cli-base";
2
2
  import { and, asc, eq, gte, inArray, isNotNull, isNull, or, sql } from "./drizzle/core.js";
3
3
  import { identityPk, seenIdentity } from "./identities.js";
4
+ import { bound } from "./query-filter.js";
4
5
  import { chatMembers, chats, identities, identityRevisions, memberCounts, memberStays } from "./schema.js";
5
6
  const iso = (ms) => (ms === null ? null : new Date(ms).toISOString());
6
7
  const marksOf = ({ isBot, flagged, deleted, hasPhoto }) => ({
@@ -191,10 +192,10 @@ export const setTracked = ({ orm, now }, chatKey, tracked) => {
191
192
  .where(eq(chats.id, chatKey))
192
193
  .run();
193
194
  };
194
- export const trackedChats = (context, accountKey) => context.orm
195
+ export const trackedChats = (context, accountKey, where) => context.orm
195
196
  .select({ pk: chats.id, chatId: chats.externalId, title: chats.title, trackedAt: chats.membersTrackedAt })
196
197
  .from(chats)
197
- .where(and(eq(chats.accountId, accountKey), isNotNull(chats.membersTrackedAt)))
198
+ .where(and(eq(chats.accountId, accountKey), isNotNull(chats.membersTrackedAt), where ? bound(where) : undefined))
198
199
  .orderBy(asc(chats.membersTrackedAt))
199
200
  .all()
200
201
  .map(({ pk, chatId, title, trackedAt }) => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wirecat/cli-core",
3
- "version": "0.399.0",
3
+ "version": "0.401.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",
@@ -201,7 +201,7 @@
201
201
  "@cspell/dict-en-gb": "5.0.34",
202
202
  "@cspell/dict-es-es": "3.0.9",
203
203
  "@cspell/dict-ru_ru": "2.3.3",
204
- "@modelcontextprotocol/client": "2.2.0",
204
+ "@modelcontextprotocol/client": "2.3.0",
205
205
  "@napi-rs/canvas": "1.0.10",
206
206
  "@types/mdast": "4.0.4",
207
207
  "@types/node": "^22.20.4",
package/parity.json CHANGED
@@ -337,10 +337,6 @@
337
337
  "--encrypt": {
338
338
  "meaning": "compress and encrypt with a password, typed at a hidden prompt or piped on stdin; never kept"
339
339
  },
340
- "--error-code": {
341
- "value": "<code>",
342
- "meaning": "filter diagnostic runs by a stable error code"
343
- },
344
340
  "--events": {
345
341
  "meaning": "also print edits, deletions and reactions; every line then names its event",
346
342
  "note": "watch updates use this flag independently of the group event --type filter"
@@ -561,10 +557,6 @@
561
557
  "value": "<pages>",
562
558
  "meaning": "at most this many pages of a list, with a pause between them"
563
559
  },
564
- "--max-replies": {
565
- "value": "<n>",
566
- "meaning": "maximum observed discussion replies"
567
- },
568
560
  "--max-subscriber-buffer-bytes": {
569
561
  "value": "<bytes>",
570
562
  "meaning": "buffer per watcher before disconnecting it; 0 is unlimited"
@@ -599,24 +591,10 @@
599
591
  "value": "<message>",
600
592
  "meaning": "the message to tag or untag: its id in --chat, or a msg: locator alone"
601
593
  },
602
- "--message-kind": {
603
- "value": "<all|posts|comments>",
604
- "meaning": "the proven kind of messages selected before ranking",
605
- "default": "all"
606
- },
607
594
  "--method": {
608
595
  "value": "<method>",
609
596
  "meaning": "how to log in when there is no session"
610
597
  },
611
- "--min-messages": {
612
- "value": "<n>",
613
- "meaning": "minimum selected messages for a ranked author",
614
- "default": "1; 5 for engaging unless explicitly set"
615
- },
616
- "--min-views": {
617
- "value": "<n>",
618
- "meaning": "minimum known cumulative views"
619
- },
620
598
  "--model": {
621
599
  "value": "<model>",
622
600
  "meaning": "which model runs analysis, embedding or local speech recognition; the command identifies the applicable model family"
@@ -692,10 +670,6 @@
692
670
  "meaning": "start byte offset in a retained attachment",
693
671
  "default": "0"
694
672
  },
695
- "--older-than": {
696
- "value": "<duration>",
697
- "meaning": "minimum age of a question without an observed qualifying answer"
698
- },
699
673
  "--online": {
700
674
  "meaning": "also log in once, read one chat and start the MCP server; sends nothing",
701
675
  "note": "max's own copy is worded differently until T6 moves the command onto the shared one (e13)"
@@ -727,10 +701,6 @@
727
701
  "value": "<on|off>",
728
702
  "meaning": "only the owner may change the name and photo"
729
703
  },
730
- "--operation": {
731
- "value": "<name>",
732
- "meaning": "filter diagnostic events by operation"
733
- },
734
704
  "--operation-id": {
735
705
  "value": "<id>",
736
706
  "meaning": "identify a send or creation attempt; message/poll retries reuse it, while an unknown topic creation must never be repeated"
@@ -811,10 +781,6 @@
811
781
  "--problems": {
812
782
  "meaning": "only failed responses, warnings and crashes"
813
783
  },
814
- "--profile": {
815
- "value": "<name>",
816
- "meaning": "filter diagnostic runs by recorded profile"
817
- },
818
784
  "--profile-photo": {
819
785
  "value": "<who>",
820
786
  "meaning": "who sees the profile photo: everyone, contacts or nobody"
@@ -968,10 +934,6 @@
968
934
  "value": "<param>",
969
935
  "meaning": "the start parameter the bot or app reads; for chats start, a link's own ?start= when not given"
970
936
  },
971
- "--status": {
972
- "value": "<status>",
973
- "meaning": "filter diagnostic runs by outcome"
974
- },
975
937
  "--sticker": {
976
938
  "value": "<id>",
977
939
  "meaning": "send this sticker, alone; stickers list finds its id"
@@ -3829,18 +3791,6 @@
3829
3791
  "runs path": {
3830
3792
  "in": "all"
3831
3793
  },
3832
- "runs search": {
3833
- "in": "all",
3834
- "options": {
3835
- "--error-code": "all",
3836
- "--limit": "all",
3837
- "--operation": "all",
3838
- "--page": "all",
3839
- "--profile": "all",
3840
- "--since-time": "all",
3841
- "--status": "all"
3842
- }
3843
- },
3844
3794
  "runs show": {
3845
3795
  "in": "all",
3846
3796
  "options": {
@@ -4092,6 +4042,14 @@
4092
4042
  "--timezone": "all"
4093
4043
  }
4094
4044
  },
4045
+ "search runs": {
4046
+ "in": "all",
4047
+ "options": {
4048
+ "--limit": "all",
4049
+ "--page": "all",
4050
+ "--since-time": "all"
4051
+ }
4052
+ },
4095
4053
  "search topics": {
4096
4054
  "in": ["tg"],
4097
4055
  "reason": "MAX has no forum topics; WhatsApp has no forum topics"
@@ -4349,8 +4307,6 @@
4349
4307
  "in": "all",
4350
4308
  "options": {
4351
4309
  "--answerer": "all",
4352
- "--chat": "all",
4353
- "--exact": "all",
4354
4310
  "--limit": "all",
4355
4311
  "--saved": "all",
4356
4312
  "--source": "all",
@@ -4360,8 +4316,6 @@
4360
4316
  "stats contacts top": {
4361
4317
  "in": "all",
4362
4318
  "options": {
4363
- "--chat": "all",
4364
- "--exact": "all",
4365
4319
  "--limit": "all",
4366
4320
  "--max-chats": {
4367
4321
  "in": ["max", "tg"],
@@ -4372,8 +4326,6 @@
4372
4326
  "reason": "a messenger that pushes its history has nothing to sync first: wa reads the local store, which serve keeps filled"
4373
4327
  },
4374
4328
  "--measure": "all",
4375
- "--message-kind": "all",
4376
- "--min-messages": "all",
4377
4329
  "--saved": "all",
4378
4330
  "--score": "all",
4379
4331
  "--source": "all",
@@ -4426,11 +4378,7 @@
4426
4378
  "stats messages discussion": {
4427
4379
  "in": "all",
4428
4380
  "options": {
4429
- "--chat": "all",
4430
- "--exact": "all",
4431
4381
  "--limit": "all",
4432
- "--max-replies": "all",
4433
- "--min-views": "all",
4434
4382
  "--saved": "all",
4435
4383
  "--source": "all",
4436
4384
  "--timezone": "all"
@@ -4488,8 +4436,6 @@
4488
4436
  "stats messages top": {
4489
4437
  "in": "all",
4490
4438
  "options": {
4491
- "--chat": "all",
4492
- "--exact": "all",
4493
4439
  "--limit": "all",
4494
4440
  "--max-chats": {
4495
4441
  "in": ["max", "tg"],
@@ -4500,7 +4446,6 @@
4500
4446
  "reason": "a messenger that pushes its history has nothing to sync first: wa reads the local store, which serve keeps filled"
4501
4447
  },
4502
4448
  "--measure": "all",
4503
- "--message-kind": "all",
4504
4449
  "--saved": "all",
4505
4450
  "--score": "all",
4506
4451
  "--source": "all",
@@ -4520,10 +4465,7 @@
4520
4465
  "in": "all",
4521
4466
  "options": {
4522
4467
  "--answerer": "all",
4523
- "--chat": "all",
4524
- "--exact": "all",
4525
4468
  "--limit": "all",
4526
- "--older-than": "all",
4527
4469
  "--saved": "all",
4528
4470
  "--source": "all",
4529
4471
  "--timezone": "all"
@@ -4803,14 +4745,17 @@
4803
4745
  }
4804
4746
  },
4805
4747
  "tasks duplicates": {
4748
+ "in": "all"
4749
+ },
4750
+ "tasks duplicates defer": {
4751
+ "in": "all"
4752
+ },
4753
+ "tasks duplicates list": {
4806
4754
  "in": "all",
4807
4755
  "options": {
4808
4756
  "--limit": "all"
4809
4757
  }
4810
4758
  },
4811
- "tasks duplicates defer": {
4812
- "in": "all"
4813
- },
4814
4759
  "tasks duplicates reject": {
4815
4760
  "in": "all"
4816
4761
  },