@wirecat/cli-core 0.284.0 → 0.285.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 (232) hide show
  1. package/dist/attachments/markup.d.ts.map +1 -1
  2. package/dist/attachments/markup.js +54 -19
  3. package/dist/attachments/markup.js.map +1 -1
  4. package/dist/background/units.d.ts.map +1 -1
  5. package/dist/background/units.js +1 -0
  6. package/dist/background/units.js.map +1 -1
  7. package/dist/cli/index.d.ts +3 -1
  8. package/dist/cli/index.d.ts.map +1 -1
  9. package/dist/cli/index.js +3 -1
  10. package/dist/cli/index.js.map +1 -1
  11. package/dist/cli/list-query.d.ts +9 -2
  12. package/dist/cli/list-query.d.ts.map +1 -1
  13. package/dist/cli/list-query.js +39 -13
  14. package/dist/cli/list-query.js.map +1 -1
  15. package/dist/cli/messenger/mention-points.d.ts.map +1 -1
  16. package/dist/cli/messenger/mention-points.js +1 -1
  17. package/dist/cli/messenger/mention-points.js.map +1 -1
  18. package/dist/cli/messenger/mentions-command.d.ts.map +1 -1
  19. package/dist/cli/messenger/mentions-command.js +33 -3
  20. package/dist/cli/messenger/mentions-command.js.map +1 -1
  21. package/dist/cli/messenger/messages-search-command.d.ts +2 -3
  22. package/dist/cli/messenger/messages-search-command.d.ts.map +1 -1
  23. package/dist/cli/messenger/messages-search-command.js +24 -54
  24. package/dist/cli/messenger/messages-search-command.js.map +1 -1
  25. package/dist/cli/messenger/review.js +2 -1
  26. package/dist/cli/messenger/review.js.map +1 -1
  27. package/dist/cli/messenger/search-answers.d.ts +3 -0
  28. package/dist/cli/messenger/search-answers.d.ts.map +1 -1
  29. package/dist/cli/messenger/search-answers.js +2 -0
  30. package/dist/cli/messenger/search-answers.js.map +1 -1
  31. package/dist/cli/messenger/search-command.d.ts.map +1 -1
  32. package/dist/cli/messenger/search-command.js +15 -15
  33. package/dist/cli/messenger/search-command.js.map +1 -1
  34. package/dist/cli/messenger/serve-command.js +3 -2
  35. package/dist/cli/messenger/serve-command.js.map +1 -1
  36. package/dist/cli/messenger/store-maintenance-command.d.ts +1 -1
  37. package/dist/cli/messenger/tasks-command.d.ts.map +1 -1
  38. package/dist/cli/messenger/tasks-command.js +83 -8
  39. package/dist/cli/messenger/tasks-command.js.map +1 -1
  40. package/dist/cli/moved.d.ts +13 -0
  41. package/dist/cli/moved.d.ts.map +1 -0
  42. package/dist/cli/moved.js +18 -0
  43. package/dist/cli/moved.js.map +1 -0
  44. package/dist/cli/program.d.ts.map +1 -1
  45. package/dist/cli/program.js +16 -0
  46. package/dist/cli/program.js.map +1 -1
  47. package/dist/cli/reasons.d.ts.map +1 -1
  48. package/dist/cli/reasons.js +3 -0
  49. package/dist/cli/reasons.js.map +1 -1
  50. package/dist/cli/store-settings.d.ts +1 -2
  51. package/dist/cli/store-settings.d.ts.map +1 -1
  52. package/dist/cli/store-settings.js +53 -3
  53. package/dist/cli/store-settings.js.map +1 -1
  54. package/dist/domain/mentions.d.ts +14 -0
  55. package/dist/domain/mentions.d.ts.map +1 -1
  56. package/dist/domain/mentions.js +25 -0
  57. package/dist/domain/mentions.js.map +1 -1
  58. package/dist/domain/models.d.ts +1 -0
  59. package/dist/domain/models.d.ts.map +1 -1
  60. package/dist/domain/task-categories.d.ts +25 -0
  61. package/dist/domain/task-categories.d.ts.map +1 -0
  62. package/dist/domain/task-categories.js +155 -0
  63. package/dist/domain/task-categories.js.map +1 -0
  64. package/dist/entities/fact.d.ts +5 -0
  65. package/dist/entities/fact.d.ts.map +1 -1
  66. package/dist/entities/fact.js +2 -0
  67. package/dist/entities/fact.js.map +1 -1
  68. package/dist/entities/index.d.ts +18 -1
  69. package/dist/entities/index.d.ts.map +1 -1
  70. package/dist/entities/index.js +3 -1
  71. package/dist/entities/index.js.map +1 -1
  72. package/dist/entities/relationship.d.ts +16 -0
  73. package/dist/entities/relationship.d.ts.map +1 -0
  74. package/dist/entities/relationship.js +18 -0
  75. package/dist/entities/relationship.js.map +1 -0
  76. package/dist/mcp/http/oauth.d.ts.map +1 -1
  77. package/dist/mcp/http/oauth.js +1 -0
  78. package/dist/mcp/http/oauth.js.map +1 -1
  79. package/dist/mcp/instructions.d.ts.map +1 -1
  80. package/dist/mcp/instructions.js +3 -2
  81. package/dist/mcp/instructions.js.map +1 -1
  82. package/dist/mcp/meeting-preparation.d.ts +7 -3
  83. package/dist/mcp/meeting-preparation.d.ts.map +1 -1
  84. package/dist/mcp/meeting-preparation.js +7 -3
  85. package/dist/mcp/meeting-preparation.js.map +1 -1
  86. package/dist/mcp/surface.d.ts.map +1 -1
  87. package/dist/mcp/surface.js +4 -0
  88. package/dist/mcp/surface.js.map +1 -1
  89. package/dist/mcp/text.d.ts +1 -2
  90. package/dist/mcp/text.d.ts.map +1 -1
  91. package/dist/mcp/text.js +2 -9
  92. package/dist/mcp/text.js.map +1 -1
  93. package/dist/mcp/tool.d.ts +1 -3
  94. package/dist/mcp/tool.d.ts.map +1 -1
  95. package/dist/mcp/tool.js +2 -3
  96. package/dist/mcp/tool.js.map +1 -1
  97. package/dist/mcp/tools/search-tools.d.ts.map +1 -1
  98. package/dist/mcp/tools/search-tools.js +21 -36
  99. package/dist/mcp/tools/search-tools.js.map +1 -1
  100. package/dist/mcp/tools/search.d.ts +0 -12
  101. package/dist/mcp/tools/search.d.ts.map +1 -1
  102. package/dist/mcp/tools/search.js +0 -12
  103. package/dist/mcp/tools/search.js.map +1 -1
  104. package/dist/mcp/tools/tasks.d.ts.map +1 -1
  105. package/dist/mcp/tools/tasks.js +121 -7
  106. package/dist/mcp/tools/tasks.js.map +1 -1
  107. package/dist/meetings/mcp/agent-text.d.ts +23 -0
  108. package/dist/meetings/mcp/agent-text.d.ts.map +1 -0
  109. package/dist/meetings/mcp/agent-text.js +43 -0
  110. package/dist/meetings/mcp/agent-text.js.map +1 -0
  111. package/dist/meetings/mcp/index.d.ts +3 -38
  112. package/dist/meetings/mcp/index.d.ts.map +1 -1
  113. package/dist/meetings/mcp/index.js +9 -3
  114. package/dist/meetings/mcp/index.js.map +1 -1
  115. package/dist/meetings/mcp/passage.d.ts +7 -3
  116. package/dist/meetings/mcp/passage.d.ts.map +1 -1
  117. package/dist/meetings/mcp/passage.js +4 -3
  118. package/dist/meetings/mcp/passage.js.map +1 -1
  119. package/dist/meetings/mcp/project-evidence.d.ts +7 -3
  120. package/dist/meetings/mcp/project-evidence.d.ts.map +1 -1
  121. package/dist/meetings/mcp/project-evidence.js +7 -3
  122. package/dist/meetings/mcp/project-evidence.js.map +1 -1
  123. package/dist/meetings/mcp/search.d.ts +7 -3
  124. package/dist/meetings/mcp/search.d.ts.map +1 -1
  125. package/dist/meetings/mcp/search.js +7 -3
  126. package/dist/meetings/mcp/search.js.map +1 -1
  127. package/dist/parity/manifest.d.ts.map +1 -1
  128. package/dist/parity/manifest.js +4 -0
  129. package/dist/parity/manifest.js.map +1 -1
  130. package/dist/readers/doc/index.d.ts.map +1 -1
  131. package/dist/readers/doc/index.js +1 -0
  132. package/dist/readers/doc/index.js.map +1 -1
  133. package/dist/readers/html/index.d.ts.map +1 -1
  134. package/dist/readers/html/index.js +16 -1
  135. package/dist/readers/html/index.js.map +1 -1
  136. package/dist/search/account-list.js +1 -1
  137. package/dist/search/account-list.js.map +1 -1
  138. package/dist/sends/permissions.d.ts.map +1 -1
  139. package/dist/sends/permissions.js +4 -0
  140. package/dist/sends/permissions.js.map +1 -1
  141. package/dist/services/agenda.d.ts +4 -0
  142. package/dist/services/agenda.d.ts.map +1 -1
  143. package/dist/services/agenda.js +6 -1
  144. package/dist/services/agenda.js.map +1 -1
  145. package/dist/services/inbox.d.ts.map +1 -1
  146. package/dist/services/inbox.js +5 -1
  147. package/dist/services/inbox.js.map +1 -1
  148. package/dist/services/mentions.d.ts +16 -2
  149. package/dist/services/mentions.d.ts.map +1 -1
  150. package/dist/services/mentions.js +33 -3
  151. package/dist/services/mentions.js.map +1 -1
  152. package/dist/services/messages-search.d.ts.map +1 -1
  153. package/dist/services/messages-search.js +1 -1
  154. package/dist/services/messages-search.js.map +1 -1
  155. package/dist/services/search-kind.js +2 -2
  156. package/dist/services/search-kind.js.map +1 -1
  157. package/dist/services/task-categories.d.ts +2 -12
  158. package/dist/services/task-categories.d.ts.map +1 -1
  159. package/dist/services/task-categories.js +2 -74
  160. package/dist/services/task-categories.js.map +1 -1
  161. package/dist/services/task-rules.d.ts +5 -1
  162. package/dist/services/task-rules.d.ts.map +1 -1
  163. package/dist/services/task-rules.js +13 -13
  164. package/dist/services/task-rules.js.map +1 -1
  165. package/dist/services/tasks.d.ts +38 -3
  166. package/dist/services/tasks.d.ts.map +1 -1
  167. package/dist/services/tasks.js +83 -8
  168. package/dist/services/tasks.js.map +1 -1
  169. package/dist/store/index.d.ts +2 -0
  170. package/dist/store/index.d.ts.map +1 -1
  171. package/dist/store/index.js +1 -0
  172. package/dist/store/index.js.map +1 -1
  173. package/dist/store/sqlite/lucene.d.ts.map +1 -1
  174. package/dist/store/sqlite/lucene.js +13 -22
  175. package/dist/store/sqlite/lucene.js.map +1 -1
  176. package/dist/store/sqlite/manifest.d.ts.map +1 -1
  177. package/dist/store/sqlite/manifest.js +2 -0
  178. package/dist/store/sqlite/manifest.js.map +1 -1
  179. package/dist/store/sqlite/mention-drain.d.ts +24 -1
  180. package/dist/store/sqlite/mention-drain.d.ts.map +1 -1
  181. package/dist/store/sqlite/mention-drain.js +40 -3
  182. package/dist/store/sqlite/mention-drain.js.map +1 -1
  183. package/dist/store/sqlite/mentions.d.ts +6 -3
  184. package/dist/store/sqlite/mentions.d.ts.map +1 -1
  185. package/dist/store/sqlite/mentions.js +29 -12
  186. package/dist/store/sqlite/mentions.js.map +1 -1
  187. package/dist/store/sqlite/migrations.generated.d.ts.map +1 -1
  188. package/dist/store/sqlite/migrations.generated.js +23 -0
  189. package/dist/store/sqlite/migrations.generated.js.map +1 -1
  190. package/dist/store/sqlite/note-search.d.ts.map +1 -1
  191. package/dist/store/sqlite/note-search.js +11 -2
  192. package/dist/store/sqlite/note-search.js.map +1 -1
  193. package/dist/store/sqlite/schema.d.ts +231 -0
  194. package/dist/store/sqlite/schema.d.ts.map +1 -1
  195. package/dist/store/sqlite/schema.js +23 -0
  196. package/dist/store/sqlite/schema.js.map +1 -1
  197. package/dist/store/sqlite/task-candidates.d.ts +2 -0
  198. package/dist/store/sqlite/task-candidates.d.ts.map +1 -1
  199. package/dist/store/sqlite/task-candidates.js +14 -1
  200. package/dist/store/sqlite/task-candidates.js.map +1 -1
  201. package/dist/store/sqlite/task-category-settings.d.ts +9 -0
  202. package/dist/store/sqlite/task-category-settings.d.ts.map +1 -0
  203. package/dist/store/sqlite/task-category-settings.js +21 -0
  204. package/dist/store/sqlite/task-category-settings.js.map +1 -0
  205. package/dist/store/sqlite/task-pairs.d.ts +69 -0
  206. package/dist/store/sqlite/task-pairs.d.ts.map +1 -0
  207. package/dist/store/sqlite/task-pairs.js +262 -0
  208. package/dist/store/sqlite/task-pairs.js.map +1 -0
  209. package/dist/store/sqlite/task-relations.d.ts.map +1 -1
  210. package/dist/store/sqlite/task-relations.js +20 -8
  211. package/dist/store/sqlite/task-relations.js.map +1 -1
  212. package/dist/store/sqlite/tasks.d.ts +7 -1
  213. package/dist/store/sqlite/tasks.d.ts.map +1 -1
  214. package/dist/store/sqlite/tasks.js +23 -3
  215. package/dist/store/sqlite/tasks.js.map +1 -1
  216. package/dist/store/store.d.ts +4 -3
  217. package/dist/store/store.d.ts.map +1 -1
  218. package/dist/store/store.js +1 -0
  219. package/dist/store/store.js.map +1 -1
  220. package/dist/store/ulid.d.ts.map +1 -1
  221. package/dist/store/ulid.js +1 -0
  222. package/dist/store/ulid.js.map +1 -1
  223. package/dist/tasks/service.d.ts +3 -1
  224. package/dist/tasks/service.d.ts.map +1 -1
  225. package/dist/tasks/service.js +8 -4
  226. package/dist/tasks/service.js.map +1 -1
  227. package/dist/tasks/store.d.ts +9 -1
  228. package/dist/tasks/store.d.ts.map +1 -1
  229. package/dist/tasks/store.js.map +1 -1
  230. package/package.json +1 -1
  231. package/parity.json +84 -20
  232. package/skills/follow-ups/SKILL.md +2 -0
package/parity.json CHANGED
@@ -30,6 +30,9 @@
30
30
  "value": "<on|off>",
31
31
  "meaning": "every member may pin messages"
32
32
  },
33
+ "--all-in-chat": {
34
+ "meaning": "decide a name in every undecided place of it in the same chat too"
35
+ },
33
36
  "--allow-any-file": {
34
37
  "meaning": "send a --file even from credential folders or the tool's own folders"
35
38
  },
@@ -102,6 +105,10 @@
102
105
  "value": "<time>",
103
106
  "meaning": "let the messenger send it later, even with this machine off: a local time like 2026-09-25T09:00, or 30m"
104
107
  },
108
+ "--attach": {
109
+ "value": "<task>",
110
+ "meaning": "link the message to this task, one that may be the same job, instead of opening a new one"
111
+ },
105
112
  "--attachment": {
106
113
  "value": "<n>",
107
114
  "meaning": "which file of the message, from 1; needed when it has more than one"
@@ -443,6 +450,10 @@
443
450
  "value": "<kinds>",
444
451
  "meaning": "a folder takes every chat of these kinds: contacts, non-contacts, groups, channels, bots"
445
452
  },
453
+ "--into": {
454
+ "value": "<task>",
455
+ "meaning": "the task that stays when another is merged into it"
456
+ },
446
457
  "--join-approval": {
447
458
  "value": "<on|off>",
448
459
  "meaning": "people ask to join, and an admin lets them in"
@@ -609,7 +620,8 @@
609
620
  "meaning": "people may pick several answers"
610
621
  },
611
622
  "--new": {
612
- "meaning": "what arrived since the last check, each message once — for scheduled runs"
623
+ "meaning": "what arrived since the last check, each message once — for scheduled runs",
624
+ "note": "tasks add instead opens the task although tasks that may be the same job were listed"
613
625
  },
614
626
  "--newest": {
615
627
  "meaning": "newest first instead of best first"
@@ -700,7 +712,7 @@
700
712
  },
701
713
  "--only": {
702
714
  "value": "<resources>",
703
- "meaning": "only these resources, separated by commas: messages, mail, notes; meetings when --source names a meeting account"
715
+ "meaning": "only these resources, separated by commas: messages, notes; meetings when --source names a meeting account"
704
716
  },
705
717
  "--only-admins-add": {
706
718
  "value": "<on|off>",
@@ -981,6 +993,10 @@
981
993
  "value": "<duration>",
982
994
  "meaning": "stop fetching after this long (default: 30s)"
983
995
  },
996
+ "--tag": {
997
+ "value": "<name>",
998
+ "meaning": "only what carries this tag"
999
+ },
984
1000
  "--task": {
985
1001
  "value": "<task>",
986
1002
  "meaning": "a task, by its id or key as tasks list shows it"
@@ -1072,6 +1088,9 @@
1072
1088
  "note": "max's own `review` still takes bare hours until T6 moves it (e2)",
1073
1089
  "default": "24h"
1074
1090
  },
1091
+ "--unsure": {
1092
+ "meaning": "only the pairs the reviewing agent left to the owner"
1093
+ },
1075
1094
  "--until": {
1076
1095
  "value": "<message>",
1077
1096
  "meaning": "only up to this message id, inclusive; the newest by default"
@@ -2644,6 +2663,13 @@
2644
2663
  "tg": "mentions (docs/dev/mentions-plan.md)"
2645
2664
  },
2646
2665
  "options": {
2666
+ "--all-in-chat": {
2667
+ "in": [],
2668
+ "planned": {
2669
+ "max": "mentions (docs/dev/mentions-plan.md)",
2670
+ "tg": "mentions (docs/dev/mentions-plan.md)"
2671
+ }
2672
+ },
2647
2673
  "--as-owner": {
2648
2674
  "in": [],
2649
2675
  "planned": {
@@ -2653,6 +2679,29 @@
2653
2679
  }
2654
2680
  }
2655
2681
  },
2682
+ "mentions domains": {
2683
+ "in": [],
2684
+ "planned": {
2685
+ "max": "mentions (docs/dev/mentions-plan.md)",
2686
+ "tg": "mentions (docs/dev/mentions-plan.md)"
2687
+ },
2688
+ "options": {
2689
+ "--limit": {
2690
+ "in": [],
2691
+ "planned": {
2692
+ "max": "mentions (docs/dev/mentions-plan.md)",
2693
+ "tg": "mentions (docs/dev/mentions-plan.md)"
2694
+ }
2695
+ },
2696
+ "--page": {
2697
+ "in": [],
2698
+ "planned": {
2699
+ "max": "mentions (docs/dev/mentions-plan.md)",
2700
+ "tg": "mentions (docs/dev/mentions-plan.md)"
2701
+ }
2702
+ }
2703
+ }
2704
+ },
2656
2705
  "mentions list": {
2657
2706
  "in": [],
2658
2707
  "planned": {
@@ -2697,6 +2746,13 @@
2697
2746
  "tg": "mentions (docs/dev/mentions-plan.md)"
2698
2747
  },
2699
2748
  "options": {
2749
+ "--all-in-chat": {
2750
+ "in": [],
2751
+ "planned": {
2752
+ "max": "mentions (docs/dev/mentions-plan.md)",
2753
+ "tg": "mentions (docs/dev/mentions-plan.md)"
2754
+ }
2755
+ },
2700
2756
  "--as-owner": {
2701
2757
  "in": [],
2702
2758
  "planned": {
@@ -3293,24 +3349,6 @@
3293
3349
  }
3294
3350
  }
3295
3351
  },
3296
- "search mail": {
3297
- "in": "all",
3298
- "options": {
3299
- "--context": "all",
3300
- "--exact": "all",
3301
- "--limit": "all",
3302
- "--newest": "all",
3303
- "--page": "all",
3304
- "--source": {
3305
- "in": [],
3306
- "planned": {
3307
- "max": "each CLI’s next cli-core bump",
3308
- "tg": "each CLI’s next cli-core bump"
3309
- }
3310
- },
3311
- "--timezone": "all"
3312
- }
3313
- },
3314
3352
  "search messages": {
3315
3353
  "in": "all",
3316
3354
  "options": {
@@ -4006,10 +4044,12 @@
4006
4044
  "tasks add": {
4007
4045
  "in": "all",
4008
4046
  "options": {
4047
+ "--attach": "all",
4009
4048
  "--category": "all",
4010
4049
  "--check": "all",
4011
4050
  "--description": "all",
4012
4051
  "--due": "all",
4052
+ "--new": "all",
4013
4053
  "--title": "all",
4014
4054
  "--type": {
4015
4055
  "in": "all"
@@ -4019,9 +4059,11 @@
4019
4059
  "tasks agenda": {
4020
4060
  "in": "all",
4021
4061
  "options": {
4062
+ "--category": "all",
4022
4063
  "--claimed": "all",
4023
4064
  "--due": "all",
4024
4065
  "--holder": "all",
4066
+ "--tag": "all",
4025
4067
  "--unanswered": "all",
4026
4068
  "--waiting": "all",
4027
4069
  "--within": "all"
@@ -4048,6 +4090,19 @@
4048
4090
  }
4049
4091
  }
4050
4092
  },
4093
+ "tasks duplicates": {
4094
+ "in": "all",
4095
+ "options": {
4096
+ "--limit": "all",
4097
+ "--unsure": "all"
4098
+ }
4099
+ },
4100
+ "tasks duplicates reject": {
4101
+ "in": "all"
4102
+ },
4103
+ "tasks duplicates unsure": {
4104
+ "in": "all"
4105
+ },
4051
4106
  "tasks link": {
4052
4107
  "in": "all",
4053
4108
  "options": {
@@ -4063,6 +4118,12 @@
4063
4118
  }
4064
4119
  }
4065
4120
  },
4121
+ "tasks merge": {
4122
+ "in": "all",
4123
+ "options": {
4124
+ "--into": "all"
4125
+ }
4126
+ },
4066
4127
  "tasks plan": {
4067
4128
  "in": "all",
4068
4129
  "options": {
@@ -4088,6 +4149,9 @@
4088
4149
  "--limit": "all"
4089
4150
  }
4090
4151
  },
4152
+ "tasks unmerge": {
4153
+ "in": "all"
4154
+ },
4091
4155
  "topics": {
4092
4156
  "in": ["tg"],
4093
4157
  "reason": "MAX has no forum topics"
@@ -54,6 +54,8 @@ For a chat in `owed` or `waiting`: read around its `lastMessage` the same way.
54
54
  |---|---|
55
55
  | A promise, a request, a question someone waits on | `tasks add <msg> --type promise\|request\|question --category <name>` with a plan; `tasks categories` lists the names |
56
56
  | `tasks add` answers `created: false` | the message already has that task (a rule made it): `tasks plan` that one |
57
+ | `tasks add` refuses with `task.duplicate-candidates` | read the listed tasks: the same job → repeat with `--attach <key>`; a different one → repeat with `--new` |
58
+ | `tasks duplicates` lists pairs a rule opened | one job → `tasks merge <task> --into <other>`; two jobs → `tasks duplicates reject <task> <other>`; the meaning cannot tell (mum's gift or dad's) → `tasks duplicates unsure <task> <other>` for the owner. A wrong merge: `tasks unmerge <task>` |
57
59
  | A task that is done (the reply came, the file was sent) | `tasks close <key> --as done --reason "<one line>"` |
58
60
  | A task still open, nothing new | `tasks plan <key> --check <when>` — 1d if hot, 3d–7d if not |
59
61
  | A task with the wrong category | `tasks plan <key> --category <name>` |