@wirecat/cli-core 0.391.0 → 0.392.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 (39) hide show
  1. package/CHANGELOG.md +29 -1
  2. package/dist/cli/bot/command.js +33 -4
  3. package/dist/cli/bot/port.d.ts +35 -1
  4. package/dist/cli/bot/token.d.ts +8 -1
  5. package/dist/cli/bot/token.js +16 -3
  6. package/dist/cli/bot/watch.d.ts +2 -0
  7. package/dist/cli/bot/watch.js +54 -12
  8. package/dist/cli/bot/webhook-receiver.d.ts +22 -0
  9. package/dist/cli/bot/webhook-receiver.js +68 -0
  10. package/dist/cli/index.d.ts +1 -1
  11. package/dist/cli/messenger/backfill-command.js +5 -1
  12. package/dist/cli/messenger/conversations-command.js +4 -1
  13. package/dist/cli/messenger/download-command.js +4 -1
  14. package/dist/cli/messenger/lacks.d.ts +1 -0
  15. package/dist/cli/messenger/lacks.js +6 -1
  16. package/dist/cli/messenger/mcp-command.js +6 -28
  17. package/dist/cli/messenger/messages-command.js +12 -3
  18. package/dist/cli/messenger/messages-comments-command.js +4 -1
  19. package/dist/cli/messenger/messages-delete-command.js +4 -1
  20. package/dist/cli/messenger/messages-edit-command.js +4 -1
  21. package/dist/cli/messenger/messages-evidence-command.js +4 -1
  22. package/dist/cli/messenger/messages-forward-command.js +4 -1
  23. package/dist/cli/messenger/messages-link-command.js +4 -1
  24. package/dist/cli/messenger/messages-scheduled-command.js +4 -1
  25. package/dist/cli/messenger/messages-send-command.js +4 -1
  26. package/dist/cli/messenger/store-maintenance-command.d.ts +1 -1
  27. package/dist/cli/messenger/transcribe-command.js +4 -1
  28. package/dist/domain/providers.js +2 -0
  29. package/dist/{mcp/http/node.d.ts → http/listen.d.ts} +3 -2
  30. package/dist/{mcp/http/node.js → http/listen.js} +5 -5
  31. package/dist/http/public-url.d.ts +10 -0
  32. package/dist/http/public-url.js +32 -0
  33. package/dist/mcp/http/serve.d.ts +1 -1
  34. package/dist/mcp/http/serve.js +1 -1
  35. package/dist/store/sqlite/lucene-fields.d.ts +7 -2
  36. package/dist/store/sqlite/lucene-fields.js +7 -2
  37. package/dist/store/sqlite/mention-drain.js +3 -2
  38. package/package.json +1 -1
  39. package/parity.json +339 -107
package/parity.json CHANGED
@@ -783,7 +783,7 @@
783
783
  },
784
784
  "--port": {
785
785
  "value": "<port>",
786
- "meaning": "the local port for --http"
786
+ "meaning": "the local port behind the tunnel, for mcp --http or bot watch --public-url"
787
787
  },
788
788
  "--problems": {
789
789
  "meaning": "only failed responses, warnings and crashes"
@@ -802,7 +802,7 @@
802
802
  },
803
803
  "--public-url": {
804
804
  "value": "<url>",
805
- "meaning": "the tunnel's https address the browser apps use"
805
+ "meaning": "the tunnel's https address: the browser apps reach mcp --http through it, a messenger delivers to bot watch"
806
806
  },
807
807
  "--question": {
808
808
  "meaning": "match only questions"
@@ -881,6 +881,10 @@
881
881
  "value": "<helpful|active|engaging>",
882
882
  "meaning": "the named ranking score preset; not with an explicit --measure"
883
883
  },
884
+ "--secret": {
885
+ "value": "<name>",
886
+ "meaning": "keep this secret beside the bot token instead of the token, at a hidden prompt; never from the command line"
887
+ },
884
888
  "--secret-stdin": {
885
889
  "meaning": "a secret MAX sends back in X-Max-Bot-Api-Secret — asked for, or read from a pipe"
886
890
  },
@@ -1362,104 +1366,158 @@
1362
1366
  },
1363
1367
  "bot": {
1364
1368
  "in": ["max", "tg"],
1365
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1369
+ "planned": {
1370
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1371
+ }
1366
1372
  },
1367
1373
  "bot api": {
1368
1374
  "in": ["max", "tg"],
1369
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account",
1370
1375
  "options": {
1371
1376
  "--allow-any-file": {
1372
1377
  "in": [],
1373
1378
  "planned": {
1374
- "tg": "tg's next cli-core bump: one flag on bot api for every @path field, not one per file-carrying operation"
1379
+ "tg": "tg's next cli-core bump: one flag on bot api for every @path field, not one per file-carrying operation",
1380
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1375
1381
  },
1376
- "reason": "max's bot api reads no @path files; max uploads bot files through bot uploads put, which has the flag; WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1382
+ "reason": "max's bot api reads no @path files; max uploads bot files through bot uploads put, which has the flag"
1377
1383
  },
1378
1384
  "--store-token": {
1379
1385
  "in": ["max", "tg"],
1380
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1386
+ "planned": {
1387
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1388
+ }
1381
1389
  }
1390
+ },
1391
+ "planned": {
1392
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1382
1393
  }
1383
1394
  },
1384
1395
  "bot auth": {
1385
1396
  "in": ["max", "tg"],
1386
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1397
+ "planned": {
1398
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1399
+ }
1387
1400
  },
1388
1401
  "bot auth remove": {
1389
1402
  "in": ["max", "tg"],
1390
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1403
+ "planned": {
1404
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1405
+ }
1391
1406
  },
1392
1407
  "bot auth set": {
1393
1408
  "in": ["max", "tg"],
1394
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1409
+ "planned": {
1410
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1411
+ },
1412
+ "options": {
1413
+ "--secret": {
1414
+ "in": [],
1415
+ "reason": "only a messenger with a secret beside the token has one: max and tg have none",
1416
+ "planned": {
1417
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1418
+ }
1419
+ }
1420
+ }
1395
1421
  },
1396
1422
  "bot auth show": {
1397
1423
  "in": ["max", "tg"],
1398
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1424
+ "planned": {
1425
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1426
+ }
1399
1427
  },
1400
1428
  "bot callbacks": {
1401
1429
  "in": ["max", "tg"],
1402
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1430
+ "planned": {
1431
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1432
+ }
1403
1433
  },
1404
1434
  "bot callbacks answer": {
1405
1435
  "in": ["max", "tg"],
1406
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account",
1407
1436
  "options": {
1408
1437
  "--notification": {
1409
1438
  "in": ["max", "tg"],
1410
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1439
+ "planned": {
1440
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1441
+ }
1411
1442
  },
1412
1443
  "--text": {
1413
1444
  "in": ["max", "tg"],
1414
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1445
+ "planned": {
1446
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1447
+ }
1415
1448
  }
1449
+ },
1450
+ "planned": {
1451
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1416
1452
  }
1417
1453
  },
1418
1454
  "bot chats": {
1419
1455
  "in": ["max", "tg"],
1420
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1456
+ "planned": {
1457
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1458
+ }
1421
1459
  },
1422
1460
  "bot chats action": {
1423
1461
  "in": ["max", "tg"],
1424
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1462
+ "planned": {
1463
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1464
+ }
1425
1465
  },
1426
1466
  "bot chats admins": {
1427
1467
  "in": ["max", "tg"],
1428
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1468
+ "planned": {
1469
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1470
+ }
1429
1471
  },
1430
1472
  "bot chats admins add": {
1431
1473
  "in": ["max", "tg"],
1432
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account",
1433
1474
  "options": {
1434
1475
  "--can": {
1435
1476
  "in": ["max", "tg"],
1436
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1477
+ "planned": {
1478
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1479
+ }
1437
1480
  },
1438
1481
  "--title": {
1439
1482
  "in": ["max", "tg"],
1440
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1483
+ "planned": {
1484
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1485
+ }
1441
1486
  }
1487
+ },
1488
+ "planned": {
1489
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1442
1490
  }
1443
1491
  },
1444
1492
  "bot chats admins list": {
1445
1493
  "in": ["max", "tg"],
1446
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1494
+ "planned": {
1495
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1496
+ }
1447
1497
  },
1448
1498
  "bot chats admins remove": {
1449
1499
  "in": ["max", "tg"],
1450
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1500
+ "planned": {
1501
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1502
+ }
1451
1503
  },
1452
1504
  "bot chats leave": {
1453
1505
  "in": ["max", "tg"],
1454
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1506
+ "planned": {
1507
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1508
+ }
1455
1509
  },
1456
1510
  "bot chats list": {
1457
1511
  "in": ["max", "tg"],
1458
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1512
+ "planned": {
1513
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1514
+ }
1459
1515
  },
1460
1516
  "bot chats members": {
1461
1517
  "in": ["max", "tg"],
1462
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1518
+ "planned": {
1519
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1520
+ }
1463
1521
  },
1464
1522
  "bot chats members add": {
1465
1523
  "in": ["max"],
@@ -1481,75 +1539,109 @@
1481
1539
  },
1482
1540
  "bot chats members remove": {
1483
1541
  "in": ["max", "tg"],
1484
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account",
1485
1542
  "options": {
1486
1543
  "--block": {
1487
1544
  "in": ["max", "tg"],
1488
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1545
+ "planned": {
1546
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1547
+ }
1489
1548
  }
1549
+ },
1550
+ "planned": {
1551
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1490
1552
  }
1491
1553
  },
1492
1554
  "bot chats moderate": {
1493
1555
  "in": ["max", "tg"],
1494
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account",
1495
1556
  "options": {
1496
1557
  "--allow-dangerous": {
1497
1558
  "in": ["max", "tg"],
1498
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1559
+ "planned": {
1560
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1561
+ }
1499
1562
  },
1500
1563
  "--dry-run": {
1501
1564
  "in": ["max", "tg"],
1502
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1565
+ "planned": {
1566
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1567
+ }
1503
1568
  },
1504
1569
  "--max-actions": {
1505
1570
  "in": ["max", "tg"],
1506
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1571
+ "planned": {
1572
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1573
+ }
1507
1574
  },
1508
1575
  "--no-block": {
1509
1576
  "in": ["max", "tg"],
1510
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1577
+ "planned": {
1578
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1579
+ }
1511
1580
  },
1512
1581
  "--since-time": {
1513
1582
  "in": ["max", "tg"],
1514
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1583
+ "planned": {
1584
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1585
+ }
1515
1586
  }
1587
+ },
1588
+ "planned": {
1589
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1516
1590
  }
1517
1591
  },
1518
1592
  "bot chats rules": {
1519
1593
  "in": ["max", "tg"],
1520
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1594
+ "planned": {
1595
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1596
+ }
1521
1597
  },
1522
1598
  "bot chats rules set": {
1523
1599
  "in": ["max", "tg"],
1524
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1600
+ "planned": {
1601
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1602
+ }
1525
1603
  },
1526
1604
  "bot chats rules show": {
1527
1605
  "in": ["max", "tg"],
1528
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1606
+ "planned": {
1607
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1608
+ }
1529
1609
  },
1530
1610
  "bot chats rules unset": {
1531
1611
  "in": ["max", "tg"],
1532
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1612
+ "planned": {
1613
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1614
+ }
1533
1615
  },
1534
1616
  "bot chats show": {
1535
1617
  "in": ["max", "tg"],
1536
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1618
+ "planned": {
1619
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1620
+ }
1537
1621
  },
1538
1622
  "bot commands": {
1539
1623
  "in": ["max", "tg"],
1540
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1624
+ "planned": {
1625
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1626
+ }
1541
1627
  },
1542
1628
  "bot commands clear": {
1543
1629
  "in": ["max", "tg"],
1544
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1630
+ "planned": {
1631
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1632
+ }
1545
1633
  },
1546
1634
  "bot commands list": {
1547
1635
  "in": ["max", "tg"],
1548
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1636
+ "planned": {
1637
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1638
+ }
1549
1639
  },
1550
1640
  "bot commands set": {
1551
1641
  "in": ["max", "tg"],
1552
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1642
+ "planned": {
1643
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1644
+ }
1553
1645
  },
1554
1646
  "bot comments": {
1555
1647
  "in": ["max"],
@@ -1557,235 +1649,347 @@
1557
1649
  },
1558
1650
  "bot contacts": {
1559
1651
  "in": ["max", "tg"],
1560
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1652
+ "planned": {
1653
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1654
+ }
1561
1655
  },
1562
1656
  "bot contacts show": {
1563
1657
  "in": ["max", "tg"],
1564
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account",
1565
1658
  "options": {
1566
1659
  "--all-bots": {
1567
1660
  "in": ["max", "tg"],
1568
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1661
+ "planned": {
1662
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1663
+ }
1569
1664
  },
1570
1665
  "--bots": {
1571
1666
  "in": ["max", "tg"],
1572
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1667
+ "planned": {
1668
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1669
+ }
1573
1670
  },
1574
1671
  "--limit": {
1575
1672
  "in": ["max", "tg"],
1576
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1673
+ "planned": {
1674
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1675
+ }
1577
1676
  },
1578
1677
  "--sync-first": {
1579
1678
  "in": ["max", "tg"],
1580
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1679
+ "planned": {
1680
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1681
+ }
1581
1682
  }
1683
+ },
1684
+ "planned": {
1685
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1582
1686
  }
1583
1687
  },
1584
1688
  "bot list": {
1585
1689
  "in": ["max", "tg"],
1586
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account",
1587
1690
  "options": {
1588
1691
  "--check": {
1589
1692
  "in": ["max", "tg"],
1590
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1693
+ "planned": {
1694
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1695
+ }
1591
1696
  }
1697
+ },
1698
+ "planned": {
1699
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1592
1700
  }
1593
1701
  },
1594
1702
  "bot mcp": {
1595
1703
  "in": ["max", "tg"],
1596
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account",
1597
- "options": {}
1704
+ "options": {},
1705
+ "planned": {
1706
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1707
+ }
1598
1708
  },
1599
1709
  "bot mcp config": {
1600
1710
  "in": ["max", "tg"],
1601
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account",
1602
- "options": {}
1711
+ "options": {},
1712
+ "planned": {
1713
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1714
+ }
1603
1715
  },
1604
1716
  "bot me": {
1605
1717
  "in": ["max", "tg"],
1606
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1718
+ "planned": {
1719
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1720
+ }
1721
+ },
1722
+ "bot media": {
1723
+ "in": [],
1724
+ "reason": "MAX and Telegram bots read a file from the message itself; Meta hands a media id whose address lives five minutes",
1725
+ "planned": {
1726
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1727
+ },
1728
+ "subtree": true
1607
1729
  },
1608
1730
  "bot messages": {
1609
1731
  "in": ["max", "tg"],
1610
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1732
+ "planned": {
1733
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1734
+ }
1611
1735
  },
1612
1736
  "bot messages between": {
1613
1737
  "in": ["max", "tg"],
1614
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account",
1615
1738
  "options": {
1616
1739
  "--all-bots": {
1617
1740
  "in": ["max", "tg"],
1618
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1741
+ "planned": {
1742
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1743
+ }
1619
1744
  },
1620
1745
  "--bots": {
1621
1746
  "in": ["max", "tg"],
1622
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1747
+ "planned": {
1748
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1749
+ }
1623
1750
  },
1624
1751
  "--limit": {
1625
1752
  "in": ["max", "tg"],
1626
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1753
+ "planned": {
1754
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1755
+ }
1627
1756
  }
1757
+ },
1758
+ "planned": {
1759
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1628
1760
  }
1629
1761
  },
1630
1762
  "bot messages delete": {
1631
1763
  "in": ["max", "tg"],
1632
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account",
1633
1764
  "options": {
1634
1765
  "--allow-dangerous": {
1635
1766
  "in": ["max", "tg"],
1636
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1767
+ "planned": {
1768
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1769
+ }
1637
1770
  }
1771
+ },
1772
+ "planned": {
1773
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1638
1774
  }
1639
1775
  },
1640
1776
  "bot messages edit": {
1641
1777
  "in": ["max", "tg"],
1642
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account",
1643
1778
  "options": {
1644
1779
  "--html": {
1645
1780
  "in": ["max", "tg"],
1646
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1781
+ "planned": {
1782
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1783
+ }
1647
1784
  },
1648
1785
  "--md": {
1649
1786
  "in": ["max", "tg"],
1650
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1787
+ "planned": {
1788
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1789
+ }
1651
1790
  }
1791
+ },
1792
+ "planned": {
1793
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1652
1794
  }
1653
1795
  },
1654
1796
  "bot messages list": {
1655
1797
  "in": ["max", "tg"],
1656
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account",
1657
1798
  "options": {
1658
1799
  "--limit": {
1659
1800
  "in": ["max", "tg"],
1660
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1801
+ "planned": {
1802
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1803
+ }
1661
1804
  }
1805
+ },
1806
+ "planned": {
1807
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1662
1808
  }
1663
1809
  },
1664
1810
  "bot messages pin": {
1665
1811
  "in": ["max", "tg"],
1666
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account",
1667
1812
  "options": {
1668
1813
  "--notify": {
1669
1814
  "in": ["max", "tg"],
1670
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1815
+ "planned": {
1816
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1817
+ }
1671
1818
  }
1819
+ },
1820
+ "planned": {
1821
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1672
1822
  }
1673
1823
  },
1674
1824
  "bot messages send": {
1675
1825
  "in": ["max", "tg"],
1676
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account",
1677
1826
  "options": {
1678
1827
  "--allow-any-file": {
1679
1828
  "in": ["max", "tg"],
1680
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1829
+ "planned": {
1830
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1831
+ }
1681
1832
  },
1682
1833
  "--as-file": {
1683
1834
  "in": ["max", "tg"],
1684
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1835
+ "planned": {
1836
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1837
+ }
1685
1838
  },
1686
1839
  "--file": {
1687
1840
  "in": ["max", "tg"],
1688
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1841
+ "planned": {
1842
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1843
+ }
1689
1844
  },
1690
1845
  "--html": {
1691
1846
  "in": ["max", "tg"],
1692
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1847
+ "planned": {
1848
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1849
+ }
1693
1850
  },
1694
1851
  "--md": {
1695
1852
  "in": ["max", "tg"],
1696
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1853
+ "planned": {
1854
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1855
+ }
1697
1856
  },
1698
1857
  "--photo": {
1699
1858
  "in": ["max", "tg"],
1700
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1859
+ "planned": {
1860
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1861
+ }
1701
1862
  },
1702
1863
  "--reply-to": {
1703
1864
  "in": ["max", "tg"],
1704
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1865
+ "planned": {
1866
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1867
+ }
1705
1868
  },
1706
1869
  "--silent": {
1707
1870
  "in": ["max", "tg"],
1708
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1871
+ "planned": {
1872
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1873
+ }
1709
1874
  },
1710
1875
  "--voice": {
1711
1876
  "in": ["max", "tg"],
1712
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1877
+ "planned": {
1878
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1879
+ }
1713
1880
  }
1881
+ },
1882
+ "planned": {
1883
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1714
1884
  }
1715
1885
  },
1716
1886
  "bot messages show": {
1717
1887
  "in": ["max", "tg"],
1718
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1888
+ "planned": {
1889
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1890
+ }
1719
1891
  },
1720
1892
  "bot messages unpin": {
1721
1893
  "in": ["max", "tg"],
1722
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1894
+ "planned": {
1895
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1896
+ }
1723
1897
  },
1724
1898
  "bot recipients": {
1725
1899
  "in": ["max", "tg"],
1726
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1900
+ "planned": {
1901
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1902
+ }
1727
1903
  },
1728
1904
  "bot recipients add": {
1729
1905
  "in": ["max", "tg"],
1730
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1906
+ "planned": {
1907
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1908
+ }
1731
1909
  },
1732
1910
  "bot recipients clear": {
1733
1911
  "in": ["max", "tg"],
1734
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1912
+ "planned": {
1913
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1914
+ }
1735
1915
  },
1736
1916
  "bot recipients list": {
1737
1917
  "in": ["max", "tg"],
1738
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1918
+ "planned": {
1919
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1920
+ }
1739
1921
  },
1740
1922
  "bot recipients remove": {
1741
1923
  "in": ["max", "tg"],
1742
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1924
+ "planned": {
1925
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1926
+ }
1743
1927
  },
1744
1928
  "bot search": {
1745
1929
  "in": ["max", "tg"],
1746
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1930
+ "planned": {
1931
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1932
+ }
1747
1933
  },
1748
1934
  "bot search messages": {
1749
1935
  "in": ["max", "tg"],
1750
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account",
1751
1936
  "options": {
1752
1937
  "--all-bots": {
1753
1938
  "in": ["max", "tg"],
1754
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1939
+ "planned": {
1940
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1941
+ }
1755
1942
  },
1756
1943
  "--bots": {
1757
1944
  "in": ["max", "tg"],
1758
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1945
+ "planned": {
1946
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1947
+ }
1759
1948
  },
1760
1949
  "--from": {
1761
1950
  "in": ["max", "tg"],
1762
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1951
+ "planned": {
1952
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1953
+ }
1763
1954
  },
1764
1955
  "--limit": {
1765
1956
  "in": ["max", "tg"],
1766
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1957
+ "planned": {
1958
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1959
+ }
1767
1960
  },
1768
1961
  "--newest": {
1769
1962
  "in": ["max", "tg"],
1770
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1963
+ "planned": {
1964
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1965
+ }
1771
1966
  },
1772
1967
  "--page": {
1773
1968
  "in": ["max", "tg"],
1774
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1969
+ "planned": {
1970
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1971
+ }
1775
1972
  }
1973
+ },
1974
+ "planned": {
1975
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1776
1976
  }
1777
1977
  },
1778
1978
  "bot sends": {
1779
1979
  "in": ["max", "tg"],
1780
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1980
+ "planned": {
1981
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1982
+ }
1781
1983
  },
1782
1984
  "bot sends list": {
1783
1985
  "in": ["max", "tg"],
1784
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1986
+ "planned": {
1987
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1988
+ }
1785
1989
  },
1786
1990
  "bot store": {
1787
1991
  "in": ["max", "tg"],
1788
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1992
+ "reason": "Meta's Cloud API keeps no history a bot can fetch; WhatsApp bots get only what arrives by webhook"
1789
1993
  },
1790
1994
  "bot store fetch": {
1791
1995
  "in": ["max", "tg"],
@@ -1817,39 +2021,60 @@
1817
2021
  }
1818
2022
  }
1819
2023
  },
2024
+ "bot templates": {
2025
+ "in": [],
2026
+ "reason": "message templates are WhatsApp Business's; MAX and Telegram bots write freely",
2027
+ "planned": {
2028
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
2029
+ },
2030
+ "subtree": true
2031
+ },
1820
2032
  "bot uploads": {
1821
2033
  "in": ["max"],
1822
2034
  "reason": "Telegram has no upload-only step: a file goes up with the message that carries it; WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
1823
2035
  },
1824
2036
  "bot watch": {
1825
2037
  "in": ["max", "tg"],
1826
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account",
1827
2038
  "options": {
1828
2039
  "--events": {
1829
2040
  "in": ["max", "tg"],
1830
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
2041
+ "planned": {
2042
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
2043
+ }
1831
2044
  },
2045
+ "--port": "all",
2046
+ "--public-url": "all",
1832
2047
  "--types": {
1833
2048
  "in": ["max", "tg"],
1834
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
2049
+ "planned": {
2050
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
2051
+ }
1835
2052
  }
2053
+ },
2054
+ "planned": {
2055
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1836
2056
  }
1837
2057
  },
1838
2058
  "bot webhooks": {
1839
2059
  "in": ["max", "tg"],
1840
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
2060
+ "planned": {
2061
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
2062
+ }
1841
2063
  },
1842
2064
  "bot webhooks delete": {
1843
2065
  "in": ["max", "tg"],
1844
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
2066
+ "planned": {
2067
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
2068
+ }
1845
2069
  },
1846
2070
  "bot webhooks list": {
1847
2071
  "in": ["max", "tg"],
1848
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
2072
+ "planned": {
2073
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
2074
+ }
1849
2075
  },
1850
2076
  "bot webhooks set": {
1851
2077
  "in": ["max", "tg"],
1852
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account",
1853
2078
  "options": {
1854
2079
  "--add": {
1855
2080
  "in": ["max"],
@@ -1857,12 +2082,19 @@
1857
2082
  },
1858
2083
  "--secret-stdin": {
1859
2084
  "in": ["max", "tg"],
1860
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
2085
+ "planned": {
2086
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
2087
+ }
1861
2088
  },
1862
2089
  "--types": {
1863
2090
  "in": ["max", "tg"],
1864
- "reason": "WhatsApp's bots are the Business Platform's, on a business number; wa links a personal account"
2091
+ "planned": {
2092
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
2093
+ }
1865
2094
  }
2095
+ },
2096
+ "planned": {
2097
+ "wa": "whatsapp-cli: wa bot API, plans/2026-10-22-wa-bot-api"
1866
2098
  }
1867
2099
  },
1868
2100
  "calls": {