@leemour/cli-messaging 0.154.0 → 0.156.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 (140) hide show
  1. package/README.md +19 -1
  2. package/dist/analysis/provider.d.ts +1 -1
  3. package/dist/analysis/provider.d.ts.map +1 -1
  4. package/dist/analysis/provider.js +2 -1
  5. package/dist/analysis/provider.js.map +1 -1
  6. package/dist/cli/analysis-choice.js +2 -2
  7. package/dist/cli/analysis-choice.js.map +1 -1
  8. package/dist/cli/embedding-choice.js +2 -2
  9. package/dist/cli/embedding-choice.js.map +1 -1
  10. package/dist/cli/embedding-keys.d.ts +1 -0
  11. package/dist/cli/embedding-keys.d.ts.map +1 -1
  12. package/dist/cli/embedding-keys.js +4 -0
  13. package/dist/cli/embedding-keys.js.map +1 -1
  14. package/dist/cli/index.d.ts +2 -0
  15. package/dist/cli/index.d.ts.map +1 -1
  16. package/dist/cli/index.js +2 -0
  17. package/dist/cli/index.js.map +1 -1
  18. package/dist/cli/messenger/chats-command.d.ts.map +1 -1
  19. package/dist/cli/messenger/chats-command.js +0 -2
  20. package/dist/cli/messenger/chats-command.js.map +1 -1
  21. package/dist/cli/messenger/chats-stats-command.js +1 -1
  22. package/dist/cli/messenger/chats-stats-command.js.map +1 -1
  23. package/dist/cli/messenger/context.d.ts.map +1 -1
  24. package/dist/cli/messenger/context.js +9 -9
  25. package/dist/cli/messenger/context.js.map +1 -1
  26. package/dist/cli/messenger/conversations-command.d.ts.map +1 -1
  27. package/dist/cli/messenger/conversations-command.js +3 -1
  28. package/dist/cli/messenger/conversations-command.js.map +1 -1
  29. package/dist/cli/messenger/mcp-command.d.ts +2 -0
  30. package/dist/cli/messenger/mcp-command.d.ts.map +1 -1
  31. package/dist/cli/messenger/mcp-command.js +13 -2
  32. package/dist/cli/messenger/mcp-command.js.map +1 -1
  33. package/dist/cli/messenger/messages-command.d.ts.map +1 -1
  34. package/dist/cli/messenger/messages-command.js +0 -2
  35. package/dist/cli/messenger/messages-command.js.map +1 -1
  36. package/dist/cli/messenger/messages-stats-command.js +2 -2
  37. package/dist/cli/messenger/messages-stats-command.js.map +1 -1
  38. package/dist/cli/messenger/replies-command.d.ts.map +1 -1
  39. package/dist/cli/messenger/replies-command.js +15 -1
  40. package/dist/cli/messenger/replies-command.js.map +1 -1
  41. package/dist/cli/messenger/replies-consents-command.d.ts +4 -0
  42. package/dist/cli/messenger/replies-consents-command.d.ts.map +1 -0
  43. package/dist/cli/messenger/replies-consents-command.js +57 -0
  44. package/dist/cli/messenger/replies-consents-command.js.map +1 -0
  45. package/dist/cli/messenger/replies-edit-command.d.ts +1 -1
  46. package/dist/cli/messenger/replies-edit-command.d.ts.map +1 -1
  47. package/dist/cli/messenger/replies-edit-command.js +1 -1
  48. package/dist/cli/messenger/replies-edit-command.js.map +1 -1
  49. package/dist/cli/messenger/search-sync-options.d.ts.map +1 -1
  50. package/dist/cli/messenger/search-sync-options.js +2 -0
  51. package/dist/cli/messenger/search-sync-options.js.map +1 -1
  52. package/dist/cli/messenger/searches-command.d.ts +1 -1
  53. package/dist/cli/messenger/searches-command.d.ts.map +1 -1
  54. package/dist/cli/messenger/searches-command.js +3 -3
  55. package/dist/cli/messenger/searches-command.js.map +1 -1
  56. package/dist/cli/messenger/serve-command.d.ts.map +1 -1
  57. package/dist/cli/messenger/serve-command.js +10 -2
  58. package/dist/cli/messenger/serve-command.js.map +1 -1
  59. package/dist/cli/messenger/stats-command.d.ts.map +1 -1
  60. package/dist/cli/messenger/stats-command.js +20 -1
  61. package/dist/cli/messenger/stats-command.js.map +1 -1
  62. package/dist/cli/messenger/tasks-command.d.ts +1 -0
  63. package/dist/cli/messenger/tasks-command.d.ts.map +1 -1
  64. package/dist/cli/messenger/tasks-command.js +4 -3
  65. package/dist/cli/messenger/tasks-command.js.map +1 -1
  66. package/dist/cli/permission-migration.d.ts +0 -1
  67. package/dist/cli/permission-migration.d.ts.map +1 -1
  68. package/dist/cli/permission-migration.js +33 -1
  69. package/dist/cli/permission-migration.js.map +1 -1
  70. package/dist/cli/program.d.ts.map +1 -1
  71. package/dist/cli/program.js +26 -14
  72. package/dist/cli/program.js.map +1 -1
  73. package/dist/cli/settings.d.ts +1 -0
  74. package/dist/cli/settings.d.ts.map +1 -1
  75. package/dist/cli/settings.js +8 -5
  76. package/dist/cli/settings.js.map +1 -1
  77. package/dist/mcp/http/policy.d.ts +13 -0
  78. package/dist/mcp/http/policy.d.ts.map +1 -0
  79. package/dist/mcp/http/policy.js +18 -0
  80. package/dist/mcp/http/policy.js.map +1 -0
  81. package/dist/mcp/prompts.d.ts.map +1 -1
  82. package/dist/mcp/prompts.js +15 -0
  83. package/dist/mcp/prompts.js.map +1 -1
  84. package/dist/mcp/server.d.ts +5 -2
  85. package/dist/mcp/server.d.ts.map +1 -1
  86. package/dist/mcp/server.js +10 -4
  87. package/dist/mcp/server.js.map +1 -1
  88. package/dist/mcp/tool.d.ts.map +1 -1
  89. package/dist/mcp/tool.js +10 -2
  90. package/dist/mcp/tool.js.map +1 -1
  91. package/dist/mcp/tools/chats.js +1 -1
  92. package/dist/mcp/tools/chats.js.map +1 -1
  93. package/dist/mcp/tools/messages.js +1 -1
  94. package/dist/mcp/tools/messages.js.map +1 -1
  95. package/dist/mcp/tools/search.d.ts.map +1 -1
  96. package/dist/mcp/tools/search.js +1 -1
  97. package/dist/mcp/tools/search.js.map +1 -1
  98. package/dist/mcp/tools/searches.js +2 -2
  99. package/dist/mcp/tools/searches.js.map +1 -1
  100. package/dist/mcp/tools/tasks.js +1 -1
  101. package/dist/mcp/tools/tasks.js.map +1 -1
  102. package/dist/models/index.d.ts +1 -0
  103. package/dist/models/index.d.ts.map +1 -1
  104. package/dist/models/index.js +15 -1
  105. package/dist/models/index.js.map +1 -1
  106. package/dist/replies/consents.d.ts +14 -0
  107. package/dist/replies/consents.d.ts.map +1 -0
  108. package/dist/replies/consents.js +26 -0
  109. package/dist/replies/consents.js.map +1 -0
  110. package/dist/replies/dry-run.d.ts +6 -1
  111. package/dist/replies/dry-run.d.ts.map +1 -1
  112. package/dist/replies/dry-run.js +19 -3
  113. package/dist/replies/dry-run.js.map +1 -1
  114. package/dist/replies/rendering.d.ts +17 -0
  115. package/dist/replies/rendering.d.ts.map +1 -0
  116. package/dist/replies/rendering.js +52 -0
  117. package/dist/replies/rendering.js.map +1 -0
  118. package/dist/replies/rules.d.ts +1 -1
  119. package/dist/replies/rules.js +3 -3
  120. package/dist/replies/rules.js.map +1 -1
  121. package/dist/replies/serve.d.ts +5 -2
  122. package/dist/replies/serve.d.ts.map +1 -1
  123. package/dist/replies/serve.js +24 -1
  124. package/dist/replies/serve.js.map +1 -1
  125. package/dist/replies/template.d.ts +38 -0
  126. package/dist/replies/template.d.ts.map +1 -0
  127. package/dist/replies/template.js +167 -0
  128. package/dist/replies/template.js.map +1 -0
  129. package/dist/sends/index.d.ts +1 -1
  130. package/dist/sends/index.d.ts.map +1 -1
  131. package/dist/sends/index.js +1 -1
  132. package/dist/sends/index.js.map +1 -1
  133. package/dist/sends/permissions.d.ts +5 -1
  134. package/dist/sends/permissions.d.ts.map +1 -1
  135. package/dist/sends/permissions.js +43 -1
  136. package/dist/sends/permissions.js.map +1 -1
  137. package/dist/store/sqlite/schema.d.ts +1 -1
  138. package/dist/store/sqlite/schema.js +1 -1
  139. package/package.json +2 -1
  140. package/parity.json +229 -135
package/parity.json CHANGED
@@ -24,6 +24,9 @@
24
24
  "value": "<agent>",
25
25
  "meaning": "install the skill for this agent; asks at a terminal, otherwise none"
26
26
  },
27
+ "--ai": {
28
+ "meaning": "call the configured reply model with stored message data; requires reply consent, otherwise uses fallback"
29
+ },
27
30
  "--all": {
28
31
  "meaning": "every row, no paging"
29
32
  },
@@ -53,7 +56,7 @@
53
56
  "note": "retired access flag: accepted with a warning, grants no permissions in either CLI"
54
57
  },
55
58
  "--allow-moderate": {
56
- "meaning": "offer the tool that applies a group's rules — delete others' messages, remove people",
59
+ "meaning": "offer the tool that applies a group's rules \u2014 delete others' messages, remove people",
57
60
  "note": "retired access flag: accepted with a warning, grants no permissions in either CLI"
58
61
  },
59
62
  "--allow-people": {
@@ -80,7 +83,7 @@
80
83
  },
81
84
  "--as": {
82
85
  "value": "<state>",
83
- "meaning": "how a task is closed: done, or dismissed — it needs no answer"
86
+ "meaning": "how a task is closed: done, or dismissed \u2014 it needs no answer"
84
87
  },
85
88
  "--as-file": {
86
89
  "meaning": "send every --file as a plain file to download, a video included"
@@ -128,7 +131,7 @@
128
131
  },
129
132
  "--bots": {
130
133
  "value": "<profiles>",
131
- "meaning": "also read these bots' copies, comma separated — each allowed by readOtherBots"
134
+ "meaning": "also read these bots' copies, comma separated \u2014 each allowed by readOtherBots"
132
135
  },
133
136
  "--budget": {
134
137
  "value": "<pages>",
@@ -137,12 +140,12 @@
137
140
  "--by": {
138
141
  "value": "<grouping>",
139
142
  "meaning": "what to count by",
140
- "note": "each command names its own groupings — messages stats chat, sender, day or hour, and searches create the same for messages stats --saved; chats stats day or week, as a series beside its totals — so it differs on purpose (Help text rule 4)"
143
+ "note": "each command names its own groupings \u2014 stats messages show chat, sender, day or hour, and searches create the same for stats messages show --saved; stats chats show day or week, as a series beside its totals \u2014 so it differs on purpose (Help text rule 4)"
141
144
  },
142
145
  "--can": {
143
146
  "value": "<rights>",
144
147
  "meaning": "what they may do, comma-separated: read, members, admins, info, pin, link, post, edit, delete",
145
- "note": "lists the rights each messenger has — MAX has `read`, Telegram does not — so it differs on purpose (Help text rule 4)"
148
+ "note": "lists the rights each messenger has \u2014 MAX has `read`, Telegram does not \u2014 so it differs on purpose (Help text rule 4)"
146
149
  },
147
150
  "--channel": {
148
151
  "meaning": "a private channel instead of a group; people join it by its link"
@@ -189,7 +192,8 @@
189
192
  },
190
193
  "--deep": {
191
194
  "value": "<n>",
192
- "meaning": "also check the top n in full — profile, photos, everything they wrote, and the public ban lists, which are sent their ids — one person a second"
195
+ "meaning": "also check the top n in full \u2014 profile, photos, everything they wrote, and the public ban lists, which are sent their ids \u2014 one person a second",
196
+ "note": "TG specializes the SDK help with the bounded Telegram audit; MAX retains the generic SDK wording. Align the shared help with provider capabilities separately; SDK adoption alone does not remove the difference."
193
197
  },
194
198
  "--defaults": {
195
199
  "meaning": "change what every profile gets, rather than this profile"
@@ -204,11 +208,11 @@
204
208
  },
205
209
  "--description": {
206
210
  "value": "<text>",
207
- "meaning": "the new about text — of a chat or of your account"
211
+ "meaning": "the new about text \u2014 of a chat or of your account"
208
212
  },
209
213
  "--dims": {
210
214
  "value": "<n>",
211
- "meaning": "remote: the vector size — needed with --base-url; shortens an OpenAI model's"
215
+ "meaning": "remote: the vector size \u2014 needed with --base-url; shortens an OpenAI model's"
212
216
  },
213
217
  "--do": {
214
218
  "meaning": "actions: reply, task, or both, comma-separated",
@@ -218,7 +222,8 @@
218
222
  "meaning": "first save, from the messenger, the files no download saved yet"
219
223
  },
220
224
  "--dry-run": {
221
- "meaning": "judge and plan; do nothing"
225
+ "meaning": "judge and plan; do nothing",
226
+ "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."
222
227
  },
223
228
  "--encrypt": {
224
229
  "meaning": "compress and encrypt with a password, typed at a hidden prompt or piped on stdin; never kept"
@@ -231,6 +236,10 @@
231
236
  "meaning": "also print edits, deletions and reactions; every line then names its event",
232
237
  "note": "watch updates use this flag independently of the group event --type filter"
233
238
  },
239
+ "--fields": {
240
+ "value": "<paths>",
241
+ "meaning": "only these comma-separated fields of machine result items; preserves list metadata"
242
+ },
234
243
  "--file": {
235
244
  "value": "<file>",
236
245
  "meaning": "attach a file; images go as a photo, videos as a video. Repeat it for more"
@@ -249,7 +258,7 @@
249
258
  "default": "all"
250
259
  },
251
260
  "--for-everyone": {
252
- "meaning": "delete for everyone in the chat, not only for you — they cannot get it back"
261
+ "meaning": "delete for everyone in the chat, not only for you \u2014 they cannot get it back"
253
262
  },
254
263
  "--format": {
255
264
  "value": "<format>",
@@ -267,11 +276,16 @@
267
276
  "meaning": "the text is HTML: <b>, <i>, <a href>, <code>"
268
277
  },
269
278
  "--http": {
270
- "meaning": "serve MCP over HTTP on 127.0.0.1 behind the owner's tunnel, with a one-owner login; every write asks first"
279
+ "meaning": "serve MCP over HTTP on 127.0.0.1 behind the owner's tunnel, with a one-owner login; every write asks first by default",
280
+ "note": "MAX wording catches up with Telegram\u2019s explicit \u201cby default\u201d at the next shared SDK adoption; both HTTP servers confirm writes by default"
281
+ },
282
+ "--http-confirmation": {
283
+ "value": "<mode>",
284
+ "meaning": "required (default): every write needs a server form; permissions: follow the effective profile levels"
271
285
  },
272
286
  "--idle": {
273
287
  "value": "<duration>",
274
- "meaning": "stop after this long with nobody using it — 15m, 1h"
288
+ "meaning": "stop after this long with nobody using it \u2014 15m, 1h"
275
289
  },
276
290
  "--json": {
277
291
  "meaning": "machine-readable output: one JSON value on stdout, nothing else"
@@ -340,10 +354,20 @@
340
354
  "meaning": "at most this many chunks embedded in one run",
341
355
  "default": "2000"
342
356
  },
357
+ "--max-input-bytes": {
358
+ "value": "<bytes>",
359
+ "meaning": "at most this many bytes of buffered stdin",
360
+ "default": "16777216"
361
+ },
343
362
  "--max-messages": {
344
363
  "value": "<n>",
345
364
  "meaning": "fetch at most this many messages total (default: 500)"
346
365
  },
366
+ "--max-output-bytes": {
367
+ "value": "<bytes>",
368
+ "meaning": "at most this many serialized bytes of machine data; 0 disables the bound",
369
+ "default": "4194304"
370
+ },
347
371
  "--max-tokens": {
348
372
  "value": "<n>",
349
373
  "meaning": "remote embeddings: bound input tokens; analysis: reserve input and output tokens across this run"
@@ -373,7 +397,7 @@
373
397
  "--model": {
374
398
  "value": "<id>",
375
399
  "meaning": "which downloaded speech model hears them; `models audio list` shows them",
376
- "note": "max's own copy is worded differently until T6 moves the command onto the shared one (e13); replies edit uses this option for template model mode: fill-only or may-reword; rewording is not yet available"
400
+ "note": "max's own copy is worded differently until T6 moves the command onto the shared one (e13); replies edit uses this option for legacy template mode: fill-only or may-reword; use ai blocks instead"
377
401
  },
378
402
  "--multiple": {
379
403
  "meaning": "people may pick several answers"
@@ -382,7 +406,7 @@
382
406
  "meaning": "only files saved here whose text nobody has yet: what an agent reads and writes back"
383
407
  },
384
408
  "--new": {
385
- "meaning": "what arrived since the last check, each message once — for scheduled runs"
409
+ "meaning": "what arrived since the last check, each message once \u2014 for scheduled runs"
386
410
  },
387
411
  "--newest": {
388
412
  "meaning": "newest first instead of best first"
@@ -399,6 +423,9 @@
399
423
  "--no-hours": {
400
424
  "meaning": "clear the working window"
401
425
  },
426
+ "--no-input": {
427
+ "meaning": "never prompt or open an interactive login; piped input remains available"
428
+ },
402
429
  "--no-mark-read": {
403
430
  "meaning": "do not mark read, whatever the catchUpMarksRead setting says"
404
431
  },
@@ -415,7 +442,8 @@
415
442
  "meaning": "do not keep it, whatever the configuration says"
416
443
  },
417
444
  "--no-registries": {
418
- "meaning": "do not ask the public ban lists; nothing about them leaves this machine"
445
+ "meaning": "do not ask the public ban lists; nothing about them leaves this machine",
446
+ "note": "TG clarifies that profile and photo reads still use Telegram when public registries are disabled; MAX retains the generic SDK wording. Public registry queries apply to Telegram only."
419
447
  },
420
448
  "--no-serve": {
421
449
  "meaning": "do not start it; log in on this command's own connection unless one is running"
@@ -465,7 +493,7 @@
465
493
  "--output": {
466
494
  "meaning": "where to write: a directory for `messages download`, a file for `store export`",
467
495
  "default": ".",
468
- "note": "MAX `messages download --output <dir>` remains a compatibility alias for `--output-dir`; other commands use --output for a file — e10"
496
+ "note": "MAX `messages download --output <dir>` remains a compatibility alias for `--output-dir`; other commands use --output for a file \u2014 e10"
469
497
  },
470
498
  "--output-dir": {
471
499
  "value": "<dir>",
@@ -504,12 +532,16 @@
504
532
  "meaning": "at most this many per person, such as 1/1d",
505
533
  "value": "<limit>"
506
534
  },
535
+ "--permission": {
536
+ "value": "<key=level>",
537
+ "meaning": "override a permission for this MCP server only; repeat for more keys"
538
+ },
507
539
  "--personal": {
508
540
  "meaning": "the personal account's section of the profile's settings"
509
541
  },
510
542
  "--photo": {
511
543
  "value": "<file>",
512
- "meaning": "an image file — a profile photo in `account update`, a photo to send in `messages send`"
544
+ "meaning": "an image file \u2014 a profile photo in `account update`, a photo to send in `messages send`"
513
545
  },
514
546
  "--port": {
515
547
  "value": "<port>",
@@ -536,14 +568,14 @@
536
568
  },
537
569
  "--reason": {
538
570
  "value": "<text>",
539
- "meaning": "why a task was closed, kept with it — no-reply-needed, for example"
571
+ "meaning": "why a task was closed, kept with it \u2014 no-reply-needed, for example"
540
572
  },
541
573
  "--record": {
542
- "meaning": "keep this run under `runs` — ids and timings, never message content",
574
+ "meaning": "keep this run under `runs` \u2014 ids and timings, never message content",
543
575
  "note": "max's own copy is worded differently until T6 moves the command onto the shared one (e13)"
544
576
  },
545
577
  "--refresh": {
546
- "meaning": "read the private chat with them from MAX first — one request",
578
+ "meaning": "read the private chat with them from MAX first \u2014 one request",
547
579
  "note": "one idea, two sources: bring what the answer is read from up to date first. `bot contacts show` reads the private chat again from the messenger; `conversations search` builds and embeds, on this machine, the chats that changed (NEED-551 A, awaiting the owner's wording)"
548
580
  },
549
581
  "--regex": {
@@ -586,7 +618,7 @@
586
618
  "meaning": "only chats whose name contains this; at least 3 characters"
587
619
  },
588
620
  "--secret-stdin": {
589
- "meaning": "a secret MAX sends back in X-Max-Bot-Api-Secret — asked for, or read from a pipe"
621
+ "meaning": "a secret MAX sends back in X-Max-Bot-Api-Secret \u2014 asked for, or read from a pipe"
590
622
  },
591
623
  "--send-id": {
592
624
  "value": "<id>",
@@ -604,7 +636,7 @@
604
636
  "--since": {
605
637
  "value": "<id-or-time>",
606
638
  "meaning": "from this message id, an ISO 8601 time, or 2h / 1d ago; each command says its default",
607
- "note": "becomes `--since-time` everywhere — NEED-485"
639
+ "note": "becomes `--since-time` everywhere \u2014 NEED-485"
608
640
  },
609
641
  "--since-time": {
610
642
  "value": "<time>",
@@ -612,11 +644,11 @@
612
644
  },
613
645
  "--size": {
614
646
  "value": "<n>",
615
- "meaning": "messages to answer per batch, 10–200; 50 by default"
647
+ "meaning": "messages to answer per batch, 10\u2013200; 50 by default"
616
648
  },
617
649
  "--source": {
618
650
  "value": "<messenger>",
619
- "meaning": "every account of this messenger held in the store; personal, bots or all — the same as in: in the query"
651
+ "meaning": "every account of this messenger held in the store; personal, bots or all \u2014 the same as in: in the query"
620
652
  },
621
653
  "--state": {
622
654
  "value": "<state>",
@@ -675,7 +707,7 @@
675
707
  },
676
708
  "--timeout": {
677
709
  "value": "<duration>",
678
- "meaning": "give up on the whole command after this — 30s, 2m, 500ms"
710
+ "meaning": "give up on the whole command after this \u2014 30s, 2m, 500ms"
679
711
  },
680
712
  "--timezone": {
681
713
  "value": "<zone>",
@@ -685,7 +717,7 @@
685
717
  },
686
718
  "--title": {
687
719
  "value": "<title>",
688
- "meaning": "the new name — of a chat or a folder"
720
+ "meaning": "the new name \u2014 of a chat or a folder"
689
721
  },
690
722
  "--to": {
691
723
  "value": "<chat>",
@@ -711,7 +743,7 @@
711
743
  "--type": {
712
744
  "value": "<names>",
713
745
  "meaning": "only these types",
714
- "note": "each command names its own types — chats events the messenger's event types, comma-separated, as it names them; tags list chat, contact or message; tasks list question, request, mention or promise, and tasks add gives the new task one of them — so it differs on purpose (Help text rule 4)"
746
+ "note": "each command names its own types \u2014 chats events the messenger's event types, comma-separated, as it names them; tags list chat, contact or message; tasks list question, request, mention or promise, and tasks add gives the new task one of them \u2014 so it differs on purpose (Help text rule 4)"
715
747
  },
716
748
  "--types": {
717
749
  "value": "<value>",
@@ -719,7 +751,7 @@
719
751
  },
720
752
  "--unanswered": {
721
753
  "value": "[duration]",
722
- "meaning": "only questions to you or a group's admins that nobody answered, asked at least this long ago — 4h, 1d",
754
+ "meaning": "only questions to you or a group's admins that nobody answered, asked at least this long ago \u2014 4h, 1d",
723
755
  "note": "max's own `review` still takes bare hours until T6 moves it (e2)",
724
756
  "default": "24h"
725
757
  },
@@ -757,8 +789,43 @@
757
789
  }
758
790
  },
759
791
  "globalOptions": {
792
+ "--dry-run": {
793
+ "in": [],
794
+ "planned": {
795
+ "max": "full CLI audit remediation",
796
+ "tg": "full CLI audit remediation"
797
+ }
798
+ },
799
+ "--fields": {
800
+ "in": [],
801
+ "planned": {
802
+ "max": "full CLI audit remediation",
803
+ "tg": "full CLI audit remediation"
804
+ }
805
+ },
760
806
  "--json": "all",
761
807
  "--jsonl": "all",
808
+ "--max-input-bytes": {
809
+ "in": [],
810
+ "planned": {
811
+ "max": "full CLI audit remediation",
812
+ "tg": "full CLI audit remediation"
813
+ }
814
+ },
815
+ "--max-output-bytes": {
816
+ "in": [],
817
+ "planned": {
818
+ "max": "full CLI audit remediation",
819
+ "tg": "full CLI audit remediation"
820
+ }
821
+ },
822
+ "--no-input": {
823
+ "in": [],
824
+ "planned": {
825
+ "max": "full CLI audit remediation",
826
+ "tg": "full CLI audit remediation"
827
+ }
828
+ },
762
829
  "--no-record": "all",
763
830
  "--no-serve": {
764
831
  "in": [],
@@ -1418,32 +1485,10 @@
1418
1485
  "chats stats": {
1419
1486
  "in": [],
1420
1487
  "planned": {
1421
- "max": "each CLI's next cli-messaging bump",
1422
- "tg": "each CLI's next cli-messaging bump"
1488
+ "max": "retire this path at exact shared SDK adoption; no runtime alias",
1489
+ "tg": "retire this path at exact shared SDK adoption; no runtime alias"
1423
1490
  },
1424
- "options": {
1425
- "--by": {
1426
- "in": [],
1427
- "planned": {
1428
- "max": "each CLI's next cli-messaging bump",
1429
- "tg": "each CLI's next cli-messaging bump"
1430
- }
1431
- },
1432
- "--since-time": {
1433
- "in": [],
1434
- "planned": {
1435
- "max": "each CLI's next cli-messaging bump",
1436
- "tg": "each CLI's next cli-messaging bump"
1437
- }
1438
- },
1439
- "--timezone": {
1440
- "in": [],
1441
- "planned": {
1442
- "max": "each CLI's next cli-messaging bump",
1443
- "tg": "each CLI's next cli-messaging bump"
1444
- }
1445
- }
1446
- }
1491
+ "subtree": true
1447
1492
  },
1448
1493
  "chats tracking": {
1449
1494
  "in": [],
@@ -1504,6 +1549,13 @@
1504
1549
  "commands": {
1505
1550
  "in": "all"
1506
1551
  },
1552
+ "commands schema": {
1553
+ "in": [],
1554
+ "planned": {
1555
+ "max": "full CLI audit remediation",
1556
+ "tg": "full CLI audit remediation"
1557
+ }
1558
+ },
1507
1559
  "complete": {
1508
1560
  "in": "all"
1509
1561
  },
@@ -1938,6 +1990,8 @@
1938
1990
  "--allow-send": "all",
1939
1991
  "--confirm-send": "all",
1940
1992
  "--http": "all",
1993
+ "--http-confirmation": "all",
1994
+ "--permission": "all",
1941
1995
  "--port": "all",
1942
1996
  "--public-url": "all",
1943
1997
  "--revoke": "all",
@@ -1971,6 +2025,7 @@
1971
2025
  },
1972
2026
  "--allow-send": "all",
1973
2027
  "--confirm-send": "all",
2028
+ "--permission": "all",
1974
2029
  "--yes": {
1975
2030
  "in": [],
1976
2031
  "planned": {
@@ -2028,7 +2083,8 @@
2028
2083
  "max": "local MCP setup",
2029
2084
  "tg": "local MCP setup"
2030
2085
  }
2031
- }
2086
+ },
2087
+ "--permission": "all"
2032
2088
  }
2033
2089
  },
2034
2090
  "mcp setup": {
@@ -2086,7 +2142,8 @@
2086
2142
  "max": "local MCP setup",
2087
2143
  "tg": "local MCP setup"
2088
2144
  }
2089
- }
2145
+ },
2146
+ "--permission": "all"
2090
2147
  }
2091
2148
  },
2092
2149
  "messages": {
@@ -2252,38 +2309,11 @@
2252
2309
  "in": "all"
2253
2310
  },
2254
2311
  "messages stats": {
2255
- "in": "all",
2256
- "options": {
2257
- "--by": {
2258
- "in": "all"
2259
- },
2260
- "--chat": {
2261
- "in": "all"
2262
- },
2263
- "--limit": {
2264
- "in": "all"
2265
- },
2266
- "--max-chats": {
2267
- "in": "all"
2268
- },
2269
- "--max-messages": {
2270
- "in": "all"
2271
- },
2272
- "--saved": {
2273
- "in": "all"
2274
- },
2275
- "--source": {
2276
- "in": "all"
2277
- },
2278
- "--sync-first": {
2279
- "in": "all"
2280
- },
2281
- "--sync-time": {
2282
- "in": "all"
2283
- },
2284
- "--timezone": {
2285
- "in": "all"
2286
- }
2312
+ "in": [],
2313
+ "subtree": true,
2314
+ "planned": {
2315
+ "max": "retire this path at exact shared SDK adoption; no runtime alias",
2316
+ "tg": "retire this path at exact shared SDK adoption; no runtime alias"
2287
2317
  }
2288
2318
  },
2289
2319
  "messages transcribe": {
@@ -2436,6 +2466,48 @@
2436
2466
  }
2437
2467
  }
2438
2468
  },
2469
+ "replies consents": {
2470
+ "in": [],
2471
+ "planned": {
2472
+ "max": "next cli-messaging bump",
2473
+ "tg": "next cli-messaging bump"
2474
+ }
2475
+ },
2476
+ "replies consents allow": {
2477
+ "in": [],
2478
+ "planned": {
2479
+ "max": "next cli-messaging bump",
2480
+ "tg": "next cli-messaging bump"
2481
+ }
2482
+ },
2483
+ "replies consents deny": {
2484
+ "in": [],
2485
+ "planned": {
2486
+ "max": "next cli-messaging bump",
2487
+ "tg": "next cli-messaging bump"
2488
+ }
2489
+ },
2490
+ "replies consents grant": {
2491
+ "in": [],
2492
+ "planned": {
2493
+ "max": "next cli-messaging bump",
2494
+ "tg": "next cli-messaging bump"
2495
+ }
2496
+ },
2497
+ "replies consents revoke": {
2498
+ "in": [],
2499
+ "planned": {
2500
+ "max": "next cli-messaging bump",
2501
+ "tg": "next cli-messaging bump"
2502
+ }
2503
+ },
2504
+ "replies consents show": {
2505
+ "in": [],
2506
+ "planned": {
2507
+ "max": "next cli-messaging bump",
2508
+ "tg": "next cli-messaging bump"
2509
+ }
2510
+ },
2439
2511
  "replies edit": {
2440
2512
  "in": [],
2441
2513
  "planned": {
@@ -2632,6 +2704,13 @@
2632
2704
  "replies test": {
2633
2705
  "in": "all",
2634
2706
  "options": {
2707
+ "--ai": {
2708
+ "in": [],
2709
+ "planned": {
2710
+ "max": "next cli-messaging bump",
2711
+ "tg": "next cli-messaging bump"
2712
+ }
2713
+ },
2635
2714
  "--since-time": "all"
2636
2715
  }
2637
2716
  },
@@ -2937,29 +3016,29 @@
2937
3016
  "stats chats show": {
2938
3017
  "in": [],
2939
3018
  "planned": {
2940
- "max": "stats hierarchy migration and rankings after naming approval",
2941
- "tg": "stats hierarchy migration and rankings after naming approval"
3019
+ "max": "statistics relocation in the next shared adoption",
3020
+ "tg": "statistics relocation in the next shared adoption"
2942
3021
  },
2943
3022
  "options": {
2944
3023
  "--by": {
2945
3024
  "in": [],
2946
3025
  "planned": {
2947
- "max": "stats hierarchy migration and rankings after naming approval",
2948
- "tg": "stats hierarchy migration and rankings after naming approval"
3026
+ "max": "statistics relocation in the next shared adoption",
3027
+ "tg": "statistics relocation in the next shared adoption"
2949
3028
  }
2950
3029
  },
2951
3030
  "--since-time": {
2952
3031
  "in": [],
2953
3032
  "planned": {
2954
- "max": "stats hierarchy migration and rankings after naming approval",
2955
- "tg": "stats hierarchy migration and rankings after naming approval"
3033
+ "max": "statistics relocation in the next shared adoption",
3034
+ "tg": "statistics relocation in the next shared adoption"
2956
3035
  }
2957
3036
  },
2958
3037
  "--timezone": {
2959
3038
  "in": [],
2960
3039
  "planned": {
2961
- "max": "stats hierarchy migration and rankings after naming approval",
2962
- "tg": "stats hierarchy migration and rankings after naming approval"
3040
+ "max": "statistics relocation in the next shared adoption",
3041
+ "tg": "statistics relocation in the next shared adoption"
2963
3042
  }
2964
3043
  }
2965
3044
  }
@@ -2988,78 +3067,78 @@
2988
3067
  "stats messages show": {
2989
3068
  "in": [],
2990
3069
  "planned": {
2991
- "max": "stats hierarchy migration and rankings after naming approval",
2992
- "tg": "stats hierarchy migration and rankings after naming approval"
3070
+ "max": "statistics relocation in the next shared adoption",
3071
+ "tg": "statistics relocation in the next shared adoption"
2993
3072
  },
2994
3073
  "options": {
2995
3074
  "--by": {
2996
3075
  "in": [],
2997
3076
  "planned": {
2998
- "max": "stats hierarchy migration and rankings after naming approval",
2999
- "tg": "stats hierarchy migration and rankings after naming approval"
3077
+ "max": "statistics relocation in the next shared adoption",
3078
+ "tg": "statistics relocation in the next shared adoption"
3000
3079
  }
3001
3080
  },
3002
3081
  "--chat": {
3003
3082
  "in": [],
3004
3083
  "planned": {
3005
- "max": "stats hierarchy migration and rankings after naming approval",
3006
- "tg": "stats hierarchy migration and rankings after naming approval"
3084
+ "max": "statistics relocation in the next shared adoption",
3085
+ "tg": "statistics relocation in the next shared adoption"
3007
3086
  }
3008
3087
  },
3009
3088
  "--limit": {
3010
3089
  "in": [],
3011
3090
  "planned": {
3012
- "max": "stats hierarchy migration and rankings after naming approval",
3013
- "tg": "stats hierarchy migration and rankings after naming approval"
3091
+ "max": "statistics relocation in the next shared adoption",
3092
+ "tg": "statistics relocation in the next shared adoption"
3014
3093
  }
3015
3094
  },
3016
3095
  "--max-chats": {
3017
3096
  "in": [],
3018
3097
  "planned": {
3019
- "max": "stats hierarchy migration and rankings after naming approval",
3020
- "tg": "stats hierarchy migration and rankings after naming approval"
3098
+ "max": "statistics relocation in the next shared adoption",
3099
+ "tg": "statistics relocation in the next shared adoption"
3021
3100
  }
3022
3101
  },
3023
3102
  "--max-messages": {
3024
3103
  "in": [],
3025
3104
  "planned": {
3026
- "max": "stats hierarchy migration and rankings after naming approval",
3027
- "tg": "stats hierarchy migration and rankings after naming approval"
3105
+ "max": "statistics relocation in the next shared adoption",
3106
+ "tg": "statistics relocation in the next shared adoption"
3028
3107
  }
3029
3108
  },
3030
3109
  "--saved": {
3031
3110
  "in": [],
3032
3111
  "planned": {
3033
- "max": "stats hierarchy migration and rankings after naming approval",
3034
- "tg": "stats hierarchy migration and rankings after naming approval"
3112
+ "max": "statistics relocation in the next shared adoption",
3113
+ "tg": "statistics relocation in the next shared adoption"
3035
3114
  }
3036
3115
  },
3037
3116
  "--source": {
3038
3117
  "in": [],
3039
3118
  "planned": {
3040
- "max": "stats hierarchy migration and rankings after naming approval",
3041
- "tg": "stats hierarchy migration and rankings after naming approval"
3119
+ "max": "statistics relocation in the next shared adoption",
3120
+ "tg": "statistics relocation in the next shared adoption"
3042
3121
  }
3043
3122
  },
3044
3123
  "--sync-first": {
3045
3124
  "in": [],
3046
3125
  "planned": {
3047
- "max": "stats hierarchy migration and rankings after naming approval",
3048
- "tg": "stats hierarchy migration and rankings after naming approval"
3126
+ "max": "statistics relocation in the next shared adoption",
3127
+ "tg": "statistics relocation in the next shared adoption"
3049
3128
  }
3050
3129
  },
3051
3130
  "--sync-time": {
3052
3131
  "in": [],
3053
3132
  "planned": {
3054
- "max": "stats hierarchy migration and rankings after naming approval",
3055
- "tg": "stats hierarchy migration and rankings after naming approval"
3133
+ "max": "statistics relocation in the next shared adoption",
3134
+ "tg": "statistics relocation in the next shared adoption"
3056
3135
  }
3057
3136
  },
3058
3137
  "--timezone": {
3059
3138
  "in": [],
3060
3139
  "planned": {
3061
- "max": "stats hierarchy migration and rankings after naming approval",
3062
- "tg": "stats hierarchy migration and rankings after naming approval"
3140
+ "max": "statistics relocation in the next shared adoption",
3141
+ "tg": "statistics relocation in the next shared adoption"
3063
3142
  }
3064
3143
  }
3065
3144
  }
@@ -3071,6 +3150,36 @@
3071
3150
  "tg": "stats hierarchy migration and rankings after naming approval"
3072
3151
  }
3073
3152
  },
3153
+ "stats tasks": {
3154
+ "in": [],
3155
+ "planned": {
3156
+ "max": "statistics relocation in the next shared adoption",
3157
+ "tg": "statistics relocation in the next shared adoption"
3158
+ }
3159
+ },
3160
+ "stats tasks show": {
3161
+ "in": [],
3162
+ "planned": {
3163
+ "max": "statistics relocation in the next shared adoption",
3164
+ "tg": "statistics relocation in the next shared adoption"
3165
+ },
3166
+ "options": {
3167
+ "--chat": {
3168
+ "in": [],
3169
+ "planned": {
3170
+ "max": "statistics relocation in the next shared adoption",
3171
+ "tg": "statistics relocation in the next shared adoption"
3172
+ }
3173
+ },
3174
+ "--type": {
3175
+ "in": [],
3176
+ "planned": {
3177
+ "max": "statistics relocation in the next shared adoption",
3178
+ "tg": "statistics relocation in the next shared adoption"
3179
+ }
3180
+ }
3181
+ }
3182
+ },
3074
3183
  "store": {
3075
3184
  "in": "all"
3076
3185
  },
@@ -3301,25 +3410,10 @@
3301
3410
  "tasks stats": {
3302
3411
  "in": [],
3303
3412
  "planned": {
3304
- "max": "each CLI's next cli-messaging bump",
3305
- "tg": "each CLI's next cli-messaging bump"
3413
+ "max": "retire this path at exact shared SDK adoption; no runtime alias",
3414
+ "tg": "retire this path at exact shared SDK adoption; no runtime alias"
3306
3415
  },
3307
- "options": {
3308
- "--chat": {
3309
- "in": [],
3310
- "planned": {
3311
- "max": "each CLI's next cli-messaging bump",
3312
- "tg": "each CLI's next cli-messaging bump"
3313
- }
3314
- },
3315
- "--type": {
3316
- "in": [],
3317
- "planned": {
3318
- "max": "each CLI's next cli-messaging bump",
3319
- "tg": "each CLI's next cli-messaging bump"
3320
- }
3321
- }
3322
- }
3416
+ "subtree": true
3323
3417
  },
3324
3418
  "topics": {
3325
3419
  "in": ["tg"],