@wirecat/cli-core 0.287.0 → 0.289.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 (112) hide show
  1. package/dist/cli/index.d.ts +1 -1
  2. package/dist/cli/index.d.ts.map +1 -1
  3. package/dist/cli/index.js +1 -1
  4. package/dist/cli/index.js.map +1 -1
  5. package/dist/cli/meeting-preparation-answer.d.ts +19 -0
  6. package/dist/cli/meeting-preparation-answer.d.ts.map +1 -1
  7. package/dist/cli/meeting-preparation-answer.js +16 -0
  8. package/dist/cli/meeting-preparation-answer.js.map +1 -1
  9. package/dist/cli/meeting-preparation-read.d.ts +19 -0
  10. package/dist/cli/meeting-preparation-read.d.ts.map +1 -1
  11. package/dist/cli/messenger/chats-bots-command.js +2 -2
  12. package/dist/cli/messenger/chats-bots-command.js.map +1 -1
  13. package/dist/cli/messenger/contacts-command.js +1 -1
  14. package/dist/cli/messenger/contacts-command.js.map +1 -1
  15. package/dist/cli/messenger/images-command.d.ts.map +1 -1
  16. package/dist/cli/messenger/images-command.js +5 -1
  17. package/dist/cli/messenger/images-command.js.map +1 -1
  18. package/dist/cli/messenger/mentions-command.d.ts.map +1 -1
  19. package/dist/cli/messenger/mentions-command.js +2 -0
  20. package/dist/cli/messenger/mentions-command.js.map +1 -1
  21. package/dist/cli/messenger/private-people-command.js +1 -1
  22. package/dist/cli/messenger/private-people-command.js.map +1 -1
  23. package/dist/cli/messenger/search-command.js +1 -1
  24. package/dist/cli/messenger/search-command.js.map +1 -1
  25. package/dist/cli/messenger/server-command.js +2 -2
  26. package/dist/cli/messenger/server-command.js.map +1 -1
  27. package/dist/cli/messenger/tags-command.js +1 -1
  28. package/dist/cli/messenger/tags-command.js.map +1 -1
  29. package/dist/cli/messenger/tasks-command.d.ts.map +1 -1
  30. package/dist/cli/messenger/tasks-command.js +52 -42
  31. package/dist/cli/messenger/tasks-command.js.map +1 -1
  32. package/dist/entities/agenda.d.ts +1 -1
  33. package/dist/entities/agenda.d.ts.map +1 -1
  34. package/dist/entities/agenda.js +1 -1
  35. package/dist/entities/agenda.js.map +1 -1
  36. package/dist/entities/index.d.ts +19 -0
  37. package/dist/entities/index.d.ts.map +1 -1
  38. package/dist/entities/meeting-preparation.d.ts +19 -0
  39. package/dist/entities/meeting-preparation.d.ts.map +1 -1
  40. package/dist/entities/meeting-preparation.js +19 -0
  41. package/dist/entities/meeting-preparation.js.map +1 -1
  42. package/dist/mcp/meeting-preparation.d.ts +19 -0
  43. package/dist/mcp/meeting-preparation.d.ts.map +1 -1
  44. package/dist/mcp/tools/tasks.d.ts.map +1 -1
  45. package/dist/mcp/tools/tasks.js +26 -27
  46. package/dist/mcp/tools/tasks.js.map +1 -1
  47. package/dist/meetings/index.d.ts +1 -0
  48. package/dist/meetings/index.d.ts.map +1 -1
  49. package/dist/meetings/index.js.map +1 -1
  50. package/dist/meetings/preparation-notes.d.ts +18 -0
  51. package/dist/meetings/preparation-notes.d.ts.map +1 -0
  52. package/dist/meetings/preparation-notes.js +2 -0
  53. package/dist/meetings/preparation-notes.js.map +1 -0
  54. package/dist/sends/permissions.js +1 -1
  55. package/dist/sends/permissions.js.map +1 -1
  56. package/dist/services/agenda.d.ts +3 -9
  57. package/dist/services/agenda.d.ts.map +1 -1
  58. package/dist/services/agenda.js +76 -14
  59. package/dist/services/agenda.js.map +1 -1
  60. package/dist/services/meeting-notes-preparation.d.ts +4 -0
  61. package/dist/services/meeting-notes-preparation.d.ts.map +1 -0
  62. package/dist/services/meeting-notes-preparation.js +82 -0
  63. package/dist/services/meeting-notes-preparation.js.map +1 -0
  64. package/dist/services/meeting-preparation-types.d.ts +13 -2
  65. package/dist/services/meeting-preparation-types.d.ts.map +1 -1
  66. package/dist/services/meeting-preparation.d.ts.map +1 -1
  67. package/dist/services/meeting-preparation.js +4 -1
  68. package/dist/services/meeting-preparation.js.map +1 -1
  69. package/dist/services/tasks.d.ts +17 -1
  70. package/dist/services/tasks.d.ts.map +1 -1
  71. package/dist/services/tasks.js +20 -3
  72. package/dist/services/tasks.js.map +1 -1
  73. package/dist/store/index.d.ts +1 -0
  74. package/dist/store/index.d.ts.map +1 -1
  75. package/dist/store/index.js +1 -0
  76. package/dist/store/index.js.map +1 -1
  77. package/dist/store/sqlite/imported-documents.d.ts +22 -0
  78. package/dist/store/sqlite/imported-documents.d.ts.map +1 -0
  79. package/dist/store/sqlite/imported-documents.js +55 -0
  80. package/dist/store/sqlite/imported-documents.js.map +1 -0
  81. package/dist/store/sqlite/meeting-preparation-knowledge.d.ts.map +1 -1
  82. package/dist/store/sqlite/meeting-preparation-knowledge.js +2 -13
  83. package/dist/store/sqlite/meeting-preparation-knowledge.js.map +1 -1
  84. package/dist/store/sqlite/meeting-preparation-notes.d.ts +4 -0
  85. package/dist/store/sqlite/meeting-preparation-notes.d.ts.map +1 -0
  86. package/dist/store/sqlite/meeting-preparation-notes.js +51 -0
  87. package/dist/store/sqlite/meeting-preparation-notes.js.map +1 -0
  88. package/dist/store/sqlite/meetings.d.ts +2 -2
  89. package/dist/store/sqlite/meetings.d.ts.map +1 -1
  90. package/dist/store/sqlite/meetings.js +2 -0
  91. package/dist/store/sqlite/meetings.js.map +1 -1
  92. package/dist/store/sqlite/memories.d.ts +1 -0
  93. package/dist/store/sqlite/memories.d.ts.map +1 -1
  94. package/dist/store/sqlite/memories.js +5 -3
  95. package/dist/store/sqlite/memories.js.map +1 -1
  96. package/dist/store/sqlite/notes.d.ts +2 -1
  97. package/dist/store/sqlite/notes.d.ts.map +1 -1
  98. package/dist/store/sqlite/notes.js +13 -0
  99. package/dist/store/sqlite/notes.js.map +1 -1
  100. package/dist/store/sqlite/preparation-subjects.d.ts +3 -0
  101. package/dist/store/sqlite/preparation-subjects.d.ts.map +1 -0
  102. package/dist/store/sqlite/preparation-subjects.js +15 -0
  103. package/dist/store/sqlite/preparation-subjects.js.map +1 -0
  104. package/dist/store/sqlite/task-pairs.d.ts +2 -2
  105. package/dist/store/sqlite/task-pairs.d.ts.map +1 -1
  106. package/dist/store/sqlite/work-tasks.d.ts +3 -0
  107. package/dist/store/sqlite/work-tasks.d.ts.map +1 -1
  108. package/dist/store/sqlite/work-tasks.js +3 -3
  109. package/dist/store/sqlite/work-tasks.js.map +1 -1
  110. package/package.json +3 -3
  111. package/parity.json +38 -57
  112. package/skills/follow-ups/SKILL.md +5 -5
package/parity.json CHANGED
@@ -106,10 +106,6 @@
106
106
  "meaning": "let the messenger send it later, even with this machine off: a local time like 2026-09-25T09:00, or 30m",
107
107
  "note": "schedule agent and schedule command take it for their one run: a duration from now or an ISO 8601 time"
108
108
  },
109
- "--attach": {
110
- "value": "<task>",
111
- "meaning": "link the message to this task, one that may be the same job, instead of opening a new one"
112
- },
113
109
  "--attachment": {
114
110
  "value": "<n>",
115
111
  "meaning": "which file of the message, from 1; needed when it has more than one"
@@ -212,9 +208,6 @@
212
208
  "meaning": "maximum source bytes returned from a retained attachment; 1–1048576",
213
209
  "default": "524288"
214
210
  },
215
- "--claimed": {
216
- "meaning": "also list tasks someone else holds"
217
- },
218
211
  "--close-time": {
219
212
  "value": "<delay>",
220
213
  "meaning": "it closes by itself this long after sending, like 90s or 5m"
@@ -309,9 +302,13 @@
309
302
  "note": "A command-specific dry run keeps its richer plan; otherwise the shared shell previews arguments and permissions without running the action. Targets remain unresolved unless that command provides a preview."
310
303
  },
311
304
  "--due": {
312
- "value": "<when>",
313
- "meaning": "when a task must be done: an ISO 8601 time or a duration from now; none clears it",
314
- "note": "tasks agenda instead takes a duration such as 1d to select tasks due within that interval"
305
+ "value": "<time>",
306
+ "meaning": "when a task must be done: an ISO 8601 time or a duration from now; none clears it"
307
+ },
308
+ "--due-within": {
309
+ "value": "<duration>",
310
+ "meaning": "list tasks due within this: 30m, 2h, 1d",
311
+ "default": "1d"
315
312
  },
316
313
  "--emoji": {
317
314
  "value": "<emoji>",
@@ -381,8 +378,7 @@
381
378
  "--for": {
382
379
  "value": "<agents>",
383
380
  "meaning": "which agents a skill is installed for: claude, agents or all",
384
- "default": "all",
385
- "note": "tasks claim instead takes how long the claim lasts, such as 30m or 2h"
381
+ "default": "all"
386
382
  },
387
383
  "--for-everyone": {
388
384
  "meaning": "delete for everyone in the chat, not only for you — they cannot get it back"
@@ -440,8 +436,8 @@
440
436
  "note": "a folder (`chats folders`) or an export folder (`store export`) takes these chats"
441
437
  },
442
438
  "--into": {
443
- "value": "<task>",
444
- "meaning": "the task that stays when another is merged into it"
439
+ "value": "<id>",
440
+ "meaning": "the task that stays: a duplicate is merged into it, or a message is linked to it instead of opening a task"
445
441
  },
446
442
  "--join-approval": {
447
443
  "value": "<on|off>",
@@ -470,6 +466,11 @@
470
466
  "value": "<name>",
471
467
  "meaning": "your last name"
472
468
  },
469
+ "--lease": {
470
+ "value": "<duration>",
471
+ "meaning": "how long a task claim lasts, such as 30m or 2h; claiming again extends it",
472
+ "default": "30m"
473
+ },
473
474
  "--left": {
474
475
  "meaning": "only the chats this account has left"
475
476
  },
@@ -478,11 +479,6 @@
478
479
  "meaning": "how many: rows to show, or messages one run fetches",
479
480
  "note": "max's own copy is worded differently until T6 moves the command onto the shared one (e13)"
480
481
  },
481
- "--lines": {
482
- "value": "<n>",
483
- "meaning": "how many lines",
484
- "default": "50"
485
- },
486
482
  "--link": {
487
483
  "value": "<link>",
488
484
  "meaning": "an invite link: only the requests made through it",
@@ -532,8 +528,8 @@
532
528
  "default": "16777216"
533
529
  },
534
530
  "--max-meetings": {
535
- "value": "<n|all>",
536
- "meaning": "how many of the meeting account's meetings to look through, newest first; all looks through every one (default 100)"
531
+ "value": "<n>",
532
+ "meaning": "how many of the meeting account's meetings to look through, newest first, or all for every one (default 100)"
537
533
  },
538
534
  "--max-messages": {
539
535
  "value": "<n>",
@@ -756,10 +752,6 @@
756
752
  "default": "5s",
757
753
  "note": "max's own copy is worded differently until T6 moves the command onto the shared one (e13)"
758
754
  },
759
- "--payload": {
760
- "value": "<text>",
761
- "meaning": "the start parameter the bot reads; a link's own ?start= when not given"
762
- },
763
755
  "--per-chat": {
764
756
  "meaning": "at most this many per chat, such as 1/12h",
765
757
  "value": "<limit>"
@@ -859,7 +851,7 @@
859
851
  "meaning": "take your vote back, where the poll allows it"
860
852
  },
861
853
  "--revision": {
862
- "value": "<number>",
854
+ "value": "<n>",
863
855
  "meaning": "the revision you read before editing"
864
856
  },
865
857
  "--revoke": {
@@ -877,8 +869,8 @@
877
869
  "meaning": "run a saved search, or an earlier run by its id; options typed with it replace its own, more words are AND-ed"
878
870
  },
879
871
  "--scope": {
880
- "value": "<personal|work>",
881
- "meaning": "only what belongs to personal or to work accounts"
872
+ "value": "<scope>",
873
+ "meaning": "only what belongs to personal or to work accounts: personal or work"
882
874
  },
883
875
  "--score": {
884
876
  "value": "<helpful|active|engaging>",
@@ -946,7 +938,7 @@
946
938
  },
947
939
  "--start": {
948
940
  "value": "<param>",
949
- "meaning": "the start parameter the app reads"
941
+ "meaning": "the start parameter the bot or app reads; for chats start, a link's own ?start= when not given"
950
942
  },
951
943
  "--status": {
952
944
  "value": "<status>",
@@ -967,12 +959,8 @@
967
959
  "value": "<duration>",
968
960
  "meaning": "stop fetching after this long (default: 30s)"
969
961
  },
970
- "--tag": {
971
- "value": "<name>",
972
- "meaning": "only what carries this tag"
973
- },
974
962
  "--task": {
975
- "value": "<task>",
963
+ "value": "<id>",
976
964
  "meaning": "a task, by its id or key as tasks list shows it"
977
965
  },
978
966
  "--template": {
@@ -1062,9 +1050,6 @@
1062
1050
  "note": "max's own `review` still takes bare hours until T6 moves it (e2)",
1063
1051
  "default": "24h"
1064
1052
  },
1065
- "--unsure": {
1066
- "meaning": "only the pairs the reviewing agent left to the owner"
1067
- },
1068
1053
  "--until": {
1069
1054
  "value": "<time>",
1070
1055
  "meaning": "only until then: a local time, or a duration from now"
@@ -1093,7 +1078,7 @@
1093
1078
  "meaning": "send an Ogg Opus file as a voice message, alone, with no text"
1094
1079
  },
1095
1080
  "--waiting": {
1096
- "value": "<span>",
1081
+ "value": "<duration>",
1097
1082
  "meaning": "only chats where the owner wrote last at least this long ago",
1098
1083
  "default": "7d"
1099
1084
  },
@@ -2057,7 +2042,7 @@
2057
2042
  "tg": "tg-cli backlog: start a bot, open its mini app"
2058
2043
  },
2059
2044
  "options": {
2060
- "--payload": {
2045
+ "--start": {
2061
2046
  "in": ["max"],
2062
2047
  "planned": {
2063
2048
  "tg": "tg-cli backlog: start a bot, open its mini app"
@@ -3496,7 +3481,7 @@
3496
3481
  "server logs": {
3497
3482
  "in": "all",
3498
3483
  "options": {
3499
- "--lines": "all"
3484
+ "--limit": "all"
3500
3485
  }
3501
3486
  },
3502
3487
  "server restart": {
@@ -4023,10 +4008,10 @@
4023
4008
  "tasks add": {
4024
4009
  "in": "all",
4025
4010
  "options": {
4026
- "--attach": "all",
4027
4011
  "--category": "all",
4028
4012
  "--description": "all",
4029
4013
  "--due": "all",
4014
+ "--into": "all",
4030
4015
  "--new": "all",
4031
4016
  "--remind-time": "all",
4032
4017
  "--title": "all",
@@ -4038,11 +4023,8 @@
4038
4023
  "tasks agenda": {
4039
4024
  "in": "all",
4040
4025
  "options": {
4041
- "--category": "all",
4042
- "--claimed": "all",
4043
- "--due": "all",
4026
+ "--due-within": "all",
4044
4027
  "--holder": "all",
4045
- "--tag": "all",
4046
4028
  "--unanswered": "all",
4047
4029
  "--waiting": "all",
4048
4030
  "--within": "all"
@@ -4054,8 +4036,8 @@
4054
4036
  "tasks claim": {
4055
4037
  "in": "all",
4056
4038
  "options": {
4057
- "--for": "all",
4058
- "--holder": "all"
4039
+ "--holder": "all",
4040
+ "--lease": "all"
4059
4041
  }
4060
4042
  },
4061
4043
  "tasks close": {
@@ -4072,14 +4054,13 @@
4072
4054
  "tasks duplicates": {
4073
4055
  "in": "all",
4074
4056
  "options": {
4075
- "--limit": "all",
4076
- "--unsure": "all"
4057
+ "--limit": "all"
4077
4058
  }
4078
4059
  },
4079
- "tasks duplicates reject": {
4060
+ "tasks duplicates defer": {
4080
4061
  "in": "all"
4081
4062
  },
4082
- "tasks duplicates unsure": {
4063
+ "tasks duplicates reject": {
4083
4064
  "in": "all"
4084
4065
  },
4085
4066
  "tasks link": {
@@ -4113,6 +4094,12 @@
4113
4094
  "--title": "all"
4114
4095
  }
4115
4096
  },
4097
+ "tasks related": {
4098
+ "in": "all",
4099
+ "options": {
4100
+ "--limit": "all"
4101
+ }
4102
+ },
4116
4103
  "tasks release": {
4117
4104
  "in": "all",
4118
4105
  "options": {
@@ -4122,12 +4109,6 @@
4122
4109
  "tasks show": {
4123
4110
  "in": "all"
4124
4111
  },
4125
- "tasks similar": {
4126
- "in": "all",
4127
- "options": {
4128
- "--limit": "all"
4129
- }
4130
- },
4131
4112
  "tasks unmerge": {
4132
4113
  "in": "all"
4133
4114
  },
@@ -19,14 +19,14 @@ forwards, deletes or marks read. A draft is text in your answer to the owner, no
19
19
 
20
20
  ```sh
21
21
  {{command}} review --new --json # every message since the last run, both sides: the day's only full read
22
- {{command}} tasks agenda --json # defaults: --due 1d --unanswered 1d --waiting 7d --within 30d
22
+ {{command}} tasks agenda --json # defaults: --due-within 1d --unanswered 1d --waiting 7d --within 30d
23
23
  ```
24
24
 
25
25
  `review --new` also saves what it reads, so the agenda after it knows who wrote last. The agenda holds
26
26
  no message text — read all of it:
27
27
 
28
28
  - `stale: true` — the store saved nothing for a day. Say so first: quiet chats may only be unsynced.
29
- - `tasks` — open tasks with `reasons`: `overdue`, `due` (within `--due`), `check` (their next check
29
+ - `tasks` — open tasks with `reasons`: `overdue`, `due` (within `--due-within`), `check` (their next check
30
30
  passed), `unplanned` (no due date and no next check: plan it now).
31
31
  - `owed` — someone else wrote last and the owner has not answered for `--unanswered`.
32
32
  - `waiting` — the owner wrote last and nobody answered for `--waiting`.
@@ -54,8 +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
+ | `tasks add` refuses with `task.duplicate-candidates` | read the listed tasks: the same job → repeat with `--into <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 defer <task> <other>` for the owner. A wrong merge: `tasks unmerge <task>` |
59
59
  | A task that is done (the reply came, the file was sent) | `tasks close <key> --as done --reason "<one line>"` |
60
60
  | A task still open, nothing new | `tasks plan <key> --remind-time <when>` — 1d if hot, 3d–7d if not |
61
61
  | A task with the wrong category | `tasks plan <key> --category <name>` |
@@ -99,7 +99,7 @@ A recipe is a set of flags, not a new command:
99
99
  |---|---|
100
100
  | Morning sweep | `review --new --json`, then `tasks agenda --json` |
101
101
  | Weekly quiet-chat pass | `tasks agenda --waiting 3d --within 90d --json` |
102
- | Groups too, not only people | `tasks agenda --kind dialog,group,channel --json` |
102
+ | Groups too, not only people | `tasks agenda "chat_kind:(dialog OR group OR channel)" --json` |
103
103
  | Before a call with someone | `tasks list 'chat:"<chat>" state:open' --json`, then `tasks show` each |
104
104
 
105
105
  ## Boundaries